Commit Graph

732 Commits

Author SHA1 Message Date
afc163
7065e03493
style: fix Upload picture loading style (#32664) 2021-10-27 18:32:40 +08:00
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 (#32451)
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2

Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases)
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2)

---
updated-dependencies:
- dependency-name: stylelint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: autofix stylelint errors

* chore: autofix stylelint errors

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-13 15:38:59 +08:00
xrkffgg
4af66fbc9f
fix: Upload icon error background (#32051) 2021-09-07 09:50:27 +08:00
FJHou
7eb9c89933
docs: 修复upload-sorting.md在jsx语法中使用了ts类型 (#31906)
修复upload-sorting.md在jsx语法中使用了ts类型
2021-08-26 13:47:14 +08:00
afc163
9f0dbf2b4d
chore: upgrade to jest 27 (#30783)
* chore: upgrade devDeps

* upgrade @ant-design/tools

* support  CSS Minification

* test: jsdom as testEnvironment

* fix setImmediate

* update snapshot

* fix test

* fix test

* fix test

* fix test
2021-06-01 10:11:24 +08:00
陈帅
0d1b1c40a6
merge featrue into master (#30636)
* feat: add Table expandable fixed (#29959)

* fix: Use flex gap of space (#30023)

* fix: use flex gap when supported

* test: update snapshot

* refactor: Use single hooks

* feat: Allow breadcrumb component in PageHeader (#30019)

* Allow breadcrumb component in PageHeader

* Allow breadcrumb component in PageHeader

* Allow breadcrumb component in PageHeader

* Rename variable

rename var from _breadcrumbRender to breadcrumbRenderDomFromProps

* feat: add onChange for Statistic.Countdown (#30265)

* feat: add onChange for countdown

* update the demo

* feat(upload): add onDrop (#30319)

* feat(upload): Add onDrop

* Replace "if prop" logic with existential operator

* Remove redundant conditional

* feat(upload): itemRender add actions params (#30236)

* feat(upload): itemRender add actions params

* chore: optimize type definition

* chore: update doc

* chore: rename actions

* chore: trigger ci

* chore: rename method name of actions

* feat: Add missing dutch translations (#30389)

* feat: Add missing dutch translations

* fix: Translate remaining english values

* fix: Update snapshot for ui tests

* test: increase code coverage to 100% (#30415)

* test: fix Space code coverage

* test: should use nl_BE locale for DatePicker

* fix: Switch tabIndex type (#30416)

* feat: updated Romanian internationalization (#30419)

* feat: updated Romanian internationalization

* fixed lint error

* feat: Menu support accessibility & keyboard access (#30382)

* chore: Use focus style

* fix: prefixCls

* fix: prefixCls

* fix: inline tooltip

* fix: inlineCollapse logic

* fix: ts definition

* test: Update snapshot

* test: Update snapshot

* fix: dropdown logic

* test: Update snapshot

* test: Fix some test  case

* bump rc-menu

* test: More test case

* fix test finder

* test: fix test case

* test: Update snapshot

* test: Update snapshot

* chore: Update ssr effect

* test: Update ConfigProvider snapshot

* test: Fix Table Filter test case

* test: Fix table test case

* chore: Update style

* chore: beauti css

* bump rc-menu

* test: update snapshot

* test: update snapshot

* test: Fix menu test

* test: Fix test case

* test: Coverage

* chore: clean up

* bump rc-menu

* ehance accessibility style

* feat(radioGroup): support data-* and aria-* props (#30507)

close #30501

* feat: Typography add italic type (#30458)

* Typography增加斜体字支持

* update snapshot

* 文档添加版本号

Co-authored-by: lidahao <lidahao@sisyphe.com.cn>

* chore: alpha Menu fix merge (#30546)

* chore: Update script

* bump alpha version

* chore: Update script desc

* chore: bump rc-tabs & rc-mentions

* chore: Adjust style

* chore: 4.16.0-alpha.1

* test: Fix mention test case

* fix: sider of layout width style

* chore: bump 4.16.0-alpha.2

* fix: Tabs tabBarGutter should work as expected (#30545)

close #30526

* feat: Table summary support sticky mode (#30631)

* chore: Bump rc-table

* feat: Patch summary fixed color

* fix: style className

* test: Update snapshot

Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: gepd <guillermoepd@hotmail.com>
Co-authored-by: appleshell <appleshell@outlook.com>
Co-authored-by: Eric Bonow <ebonow@hotmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: Lewis <lewisfidlers@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Ștefan Filip <stefy.filip@gmail.com>
Co-authored-by: vldh <alwaysloseall@sina.com>
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
2021-05-24 16:24:00 +08:00
OleksandrAntonenko1
e433c5fdeb
fix: File constructor in Upload component. (#30391)
Co-authored-by: ansun <oanteneko@fishfacts.com>
2021-05-08 18:14:57 +08:00
Kermit
dd88e30586
fix(upload): beforeUpload type definition (#30351)
* fix(upload): beforeUpload type definition

* chore: optimize test case

* chore: update test
2021-04-30 08:59:18 +08:00
afc163
ab83346a5a
Update avatar.md 2021-04-29 11:54:40 +08:00
Kermit
4ccbf1fd0f
fix(upload): UploadFile type definition (#30343) 2021-04-28 22:52:31 +08:00
叶枫
d50a8e66fb
fix: Upload drag demo (#30259) 2021-04-23 10:25:58 +08:00
二货机器人
2140e8105b
Revert "chore: Upload BugContext (#30250)" (#30273)
This reverts commit c82eea7114.
2021-04-22 22:34:58 +08:00
二货机器人
c82eea7114
chore: Upload BugContext (#30250)
* chore: BugContext

* update comment

* only inject uploading fileList
2021-04-21 18:55:52 +08:00
hello-chinese
a836b582ab
fix(upload): type definition of beforeUpload (#30213) 2021-04-20 19:31:28 +08:00
Kermit
1f1aa86441
fix(upload): should work correctly when url of file is null (#30215)
* fix(upload): should work correctly when url of file is null

* fix: lint
2021-04-20 09:58:02 +08:00
hello-chinese
7be721b663
fix(types): Update Typescript definition Upload (#30188) 2021-04-18 20:28:01 +08:00
wangao
e4e5cc66e9
fix(upload): file in fileList should get uid at first (#30087)
* docs: delete info log in tree examples

* fix: make check-ts-demo work

* fix(upload): fileList should add uid at first

* revert(docs): revert delete log(info)

* style: delete unused test utils
2021-04-13 09:49:58 +08:00
二货机器人
8e885a7e08
fix: Not try to modify lock file (#29944) 2021-03-30 11:59:30 +08:00
zombiej
a1baecbd2f test: Always wait for motion ended 2021-03-29 15:49:28 +08:00
einq7
4f52d7f964
docs: fix typography mistake in Upload section (#29912) 2021-03-26 11:51:39 +08:00
Jojo Narte
a98e4fc907
fix: (Upload) stopPropagation on file drop (#29832)
Call e.stopPropagation on file drop to support nested drag and drop upload use-cases
2021-03-24 12:23:47 +08:00
Kermit
7fdfa4e64d
fix(upload): beforeUpload type declaration (#29766)
* fix(upload): beforeUpload type declaration

* chore: update doc
2021-03-15 18:20:36 +08:00
xrkffgg
328f297e99
docs: update upload docs (#29759)
* docs: Update Upload Docs

* code review

* Update components/upload/index.en-US.md

Co-authored-by: Eric Lee <ericfly33@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2021-03-14 00:11:13 +08:00
xrkffgg
135f39ddd4
Update components/upload/index.zh-CN.md 2021-03-14 00:11:00 +08:00
xrkffgg
d05112427a
Update components/upload/index.en-US.md 2021-03-14 00:10:54 +08:00
Eric Lee
55aa0f457b code review 2021-03-14 00:06:29 +08:00
陈帅
c673cde7de
merge Feature into master (#29758)
* feat: add onCancel and onEnd option for editable (#29615)

* feature: add onCancel and onEnd option for editable

* doc: editable

* doc: add EN doc

* optimize: code

Co-authored-by: chenliang <chenliang9@xiaomi.com>

* feat: add parent class for different notification types (#29634)

close #29417

* refactor: Upload use origin behavior (#29737)

* refactor: Fallback of events

* test: Fix test case

* fix: Start file update logic

* fix: remove status update

* test: Remove wrapTest

* test: Fix test case

* chore: bump rc-upload

* docs: About desc

* feat: tab support moreIcon (#29744)

* feat: Tabs support moreIcon

* docs: Tabs support moreIcon

* style: lint

* docs: add english document

* Update components/tabs/index.zh-CN.md

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

* Update components/tabs/index.en-US.md

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

* Update components/tabs/index.zh-CN.md

* Update components/tabs/index.en-US.md

Co-authored-by: zty <zty.dev@outlook.com>
Co-authored-by: zty <zty.dev@icloud.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: jueinin <1014397160@qq.com>
Co-authored-by: chenliang <chenliang9@xiaomi.com>
Co-authored-by: 不吃猫的鱼 <michael2ib1989@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: Tianyuan Zhang <tianyuan233.zhang@gmail.com>
Co-authored-by: zty <zty.dev@outlook.com>
Co-authored-by: zty <zty.dev@icloud.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2021-03-13 23:46:32 +08:00
Eric Lee
02e0611412 docs: Update Upload Docs 2021-03-13 23:37:10 +08:00
二货机器人
a4a009cb62
fix: Lodash can clone FileProxy (#29718)
* fix: Lodash can clone FileProxy

* fix: Proxy content

* clean up

* fix lint

* test: get keys

* test: Update coverage

* back of demo
2021-03-11 19:29:20 +08:00
afc163
547f87ebfe
chore(🆙): upgrade react-dnd in table and upload demo (#29724) 2021-03-11 17:53:32 +08:00
二货机器人
ca52defcbf
fix: Internal upload list should always keep (#29702) 2021-03-10 17:32:32 +08:00
二货机器人
6169ecdf86
chore: Upload add deadline (#29686) 2021-03-09 23:14:52 +08:00
zombiej
1c461ecab4 docs: Update upload faq 2021-03-09 14:22:03 +08:00
afc163
9973228fe1 chore: remove console.log 2021-03-06 15:51:09 +08:00
二货机器人
ef4b67d4c4
fix: onChange should always return proxy file (#29627) 2021-03-05 16:57:21 +08:00
二货机器人
3c7030acb9
fix: Upload originFileObj not correct (#29614)
* fix: Upload should always return new file proxy

* test: Test case
2021-03-04 16:59:06 +08:00
Tom Xu
e5d908a078
docs: format api (#29537) 2021-03-01 19:20:48 +08:00
二货机器人
dc9535acdc
test: Back of Upload test coverage (#29524) 2021-02-26 22:38:11 +08:00
二货机器人
79f8fece4b
refactor: Upload use batch start (#29474)
* chore: Update Upload version

* useMergedStatus

* fix file list parser

* fix list replacement

* bump rc-upload

* add Upload.LIST_IGNORE

* support LIST_IGNORE

* fix uploadList batch test

* test: fix batch case test case changed

* test: Finish test case

* fix: Not change uid if exist

* use proxy

* fix proxy

* fix ts

* part test case check

* more test back

* back of test all

* update test case

* more unmount

* adjust test cae

* add unmount
2021-02-26 15:18:37 +08:00
afc163
76434a15df
chore(🆙): upgrade devDeps (#29418)
* chore(🆙): upgrade devDeps

* prettier code

* fix dnd demo

* fix react-dnd demo

* fix npm start and demo tsx compile

* fix snapshot
2021-02-23 10:45:11 +08:00
afc163
99c2c2ff0b
refactor: use optional chaining instead of if (#29368)
* refactor: use optional chaining instead of if

* revert some code
2021-02-19 18:26:53 +08:00
叶枫
6e89866694
feat: 动画样式添加 prefix (#29268)
* feat: add prefix

* fix: 剩余

* fix: test

* fix: test

* fix: test

* fix: test

* fix: 传了 name 则使用传的

* fix: pop 添加 prefix

* fix: Ok OK ?

* fix: modal confirm

* fix: select

* fix: test
2021-02-08 17:09:13 +08:00
偏右
9daf50f3a9
test: fix codecov 100% (#28892) 2021-01-16 18:06:26 +08:00
Dave
97796a45b6
feat(upload): support Error obj (message) (#28716) 2021-01-15 23:24:09 +08:00
二货机器人
38bead8724
chore: Auto fill uid (#28832)
* chore: Auto fill uid

* docs: More desc
2021-01-13 14:31:49 +08:00
mumiao
2f5d3f0418
fix: upload fileList with immuable data (#28636)
* fix: upload fileList with immuable data

* perf: optimize code

* ci: fix lint error

* feat: reduce cycles counts

* feat: reduce cycles counts

* ci: fix lint error

* ci: fix lint error
2021-01-01 21:40:42 +08:00
zombiej
99d5451dba chore: merge master 2020-12-26 23:11:46 +08:00
偏右
0223e2ed5a
chore(🆙): upgrade less to 4.0.0 (#28466)
* chore(🆙): upgrade less to 4.0.0

* chore(🆙): upgrade bisheng to 3.0.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix progress font size
2020-12-25 14:31:44 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 (#28465) 2020-12-22 11:08:12 +08:00
YanYuan
0721ef3cfb
fix: fix warning of transformFile prop for upload (#28455) 2020-12-21 15:29:19 +08:00