Commit Graph

13135 Commits

Author SHA1 Message Date
James Yeung
2d3c3a18e0
docs(alert): The title is reversed (#29692) 2021-03-10 13:27:49 +08:00
二货机器人
6169ecdf86
chore: Upload add deadline (#29686) 2021-03-09 23:14:52 +08:00
不吃猫的鱼
f465589bd6
fix: Modal footer buttons not spaced when using href in button (#29681)
* fix: Modal footer buttons not spaced when using href in button

* fix: resolve comments
2021-03-09 20:51:43 +08:00
github-actions[bot]
6a25330832
chore: auto merge branchs (#29672)
chore: merge master into feature
2021-03-09 09:41:32 +00:00
xrkffgg
f9a542b5c1
fix: affix Input disabled hover style (#29670) 2021-03-09 16:57:01 +08:00
Jan Václavík
1efc4cf86e
Fix typo in cs-CZ locale (#29675) 2021-03-09 16:51:11 +08:00
xrkffgg
4b26b3710d
chore: fix build (#29671)
* docs: test demo

* fix: site build error

https://github.com/react-component/footer/releases/tag/v0.6.6

Co-authored-by: afc163 <afc163@gmail.com>
2021-03-09 14:45:54 +08:00
zombiej
1c461ecab4 docs: Update upload faq 2021-03-09 14:22:03 +08:00
不吃猫的鱼
1f3a64a5d1
refactor: remove redundant less variable (#29668) 2021-03-09 13:32:22 +08:00
不吃猫的鱼
be299cbe70
docs: fix typo in demo (#29661) 2021-03-09 09:07:37 +08:00
afc163
165477175d
chore: update Form and TreeSelect demo (#29656)
* chore: update Form and TreeSelect demo

* fix eslint
2021-03-08 18:06:49 +08:00
xrkffgg
deb50b4780
style: optimize form tooltip cursor style (#29650) 2021-03-08 14:43:35 +08:00
不吃猫的鱼
e97fe61c71
feat: add parent class for different notification types (#29634)
close #29417
2021-03-07 20:48:00 +08:00
github-actions[bot]
e40fd9fb6d
chore: auto merge branchs (#29639)
chore: merge master into feature
2021-03-06 08:12:43 +00:00
afc163
9973228fe1 chore: remove console.log 2021-03-06 15:51:09 +08:00
einq7
74fd93b068
docs: Update procomponents link (#29638) 2021-03-06 15:50:14 +08:00
jueinin
24d1b3c39c
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>
2021-03-06 13:06:32 +08:00
Zack Amiton
d65141d79c
docs: Minor grammar/spelling tweaks to Form english docs (#29636)
* Minor grammar/spelling tweaks to Form english docs

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

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2021-03-06 11:48:05 +08:00
二货机器人
55a63a67da
fix: Description full width (#29630) 2021-03-05 17:25:27 +08:00
二货机器人
ef4b67d4c4
fix: onChange should always return proxy file (#29627) 2021-03-05 16:57:21 +08:00
Christopher Yates
9b82fafb7e
docs: Remove 'keyboard' property from Tabs (#29606)
* Remove 'keyboard' property from Tabs

Remove 'keyboard' property from the docs for Tabs API. When trying to use the property, user receives a TS error since it doesn't exist in rc-tabs props.

Rc-tabs no longer supports this property - 8165c76331 (diff-cfb7f317623ff62d6162485566e9281d9eedc574d6bd0d9a8dbf20e1cb324fc6)

* Removing keyboard prop from docs
2021-03-05 16:27:28 +08:00
zombiej
a1e02acbfb docs: Update input number prescion 2021-03-05 12:04:39 +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
afc163
1e9b28d787
fix: Steps responsive warning (#29599)
close #29596
2021-03-03 11:28:38 +08:00
Andre Zyczkowski
3c6e1ca877
docs: fixed List itemLayout prop definition (#29592) 2021-03-03 10:50:57 +08:00
afc163
79ae103069
fix: TimePicker.RangePicker popupClassName not working (#29589)
* fix: TimePicker.RangePicker popupClassName not working

close #29583

* fix ci
2021-03-02 22:09:21 +08:00
gzq
51ae3aebef
fix: dotPosition make pauseOnHover not working (#29587) 2021-03-02 20:43:33 +08:00
二货机器人
6aaa7be029
fix: Grid should support ssr for flex gap (#29586)
* fix: SSR not break Grid

* test: Add hydrate test

* fix lint
2021-03-02 20:29:00 +08:00
二货机器人
992b99c011
fix: Modal hooks update & destroy (#29584)
* fix: Modal update before render

* test: Add test case

* test: More test
2021-03-02 18:52:47 +08:00
叶枫
e7938cad1c
fix: 修复切换页面 changeConfirmLocale 被清空问题 (#29570)
* fix: 修复切换页面 changeConfirmLocale 被清空问题

* feat: 恢复 constructor

* feat: test
2021-03-02 18:05:20 +08:00
zombiej
79224cab83 docs: Update demo desc about closure
close #29573
2021-03-02 14:52:11 +08:00
Kermit
4e429714bb
fix(drawer): add contentWrapperStyle type declaration (#29571)
* fix(drawer): add contentWrapperStyle type declaration

* chore: add test case
2021-03-02 13:13:51 +08:00
二货机器人
2e5c848799
fix: message with prefixCls should not break (#29574)
* fix: compitable for legacy usage

* chore: Add modal warning

* fix lint

* test: ConfigProvider.config
2021-03-02 11:53:12 +08:00
afc163
3fa2b48667
fix: Select tags caret position (#29561)
close #29559
2021-03-02 08:21:19 +08:00
Tom Xu
e5d908a078
docs: format api (#29537) 2021-03-01 19:20:48 +08:00
limingxin
d719f16487
docs: update link (#29558) 2021-03-01 18:22:03 +08:00
二货机器人
53142ef237
refactor: rc-tooltip use motion config (#29555)
* refactor: internal add deadline & fix defaultVisible logic

* back of demo
2021-03-01 17:25:30 +08:00
Ted Shin
1f1c57cb1c
fix: incorrect locale in Korean for TimePicker #29536 (#29540)
* fix: incorrect locale in Korean for TimePicker #29536

* fix: incorrect locale in Korean for TimePicker #29536
2021-02-28 14:03:07 +08:00
二货机器人
317c6469a2
Revert "feat: add api for transfer (#29288)" (#29541)
This reverts commit 15580483ce.
2021-02-28 11:00:44 +08:00
Tom Xu
90f1dfa58c
docs: improve spin en api title (#29534) 2021-02-28 09:35:34 +08:00
zkwolf
96964cc443
docs: fix badge english doc (#29531) 2021-02-28 09:09:48 +08:00
mumiao
4ad6a55474
fix: form.item is not type safe due to not forwarding their type para… (#29397)
* fix: form.item is not type safe due to not forwarding their type parameters to the rcForm components

* test: add test cases
2021-02-27 23:51:35 +08:00
github-actions[bot]
581262b0aa
chore: auto merge branchs (#29530)
chore: Feature merge master
2021-02-27 14:45:17 +00:00
二货机器人
dc9535acdc
test: Back of Upload test coverage (#29524) 2021-02-26 22:38:11 +08:00
jinchaofs
cc38c07c6e
fix(table): pagination.current display error when result of filter is empty (#29386)
Co-authored-by: jinchao.li <jinchao.li@cyclone-robotics.com>
2021-02-26 21:51:35 +08:00
bcd337
290aa1adf3
fix: error when target not an html element (#29523)
fix error when target is object but not an html element
2021-02-26 18:43:15 +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
7f7dd1470d
fix: small Steps icon 1px bug (#29484) 2021-02-25 16:44:21 +08:00
github-actions[bot]
5d22b0ef7a
chore: auto merge branchs (#29450)
branch: merge master into feature
2021-02-24 13:31:32 +00:00
dependabot[bot]
6697e96789
chore(deps-dev): bump typescript from 4.1.5 to 4.2.2 (#29448)
* chore(deps-dev): bump typescript from 4.1.5 to 4.2.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.5 to 4.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

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

* fix tsc errors

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-02-24 20:46:12 +08:00
afc163
f7a36de698
fix: Select mode="tags" large size (41px => 40px) (#29437)
close #29374
2021-02-23 19:03:54 +08:00
afc163
b077913697
fix: Dropdown menu item disable style with icon (#29433)
close #29430
2021-02-23 16:48:10 +08:00
afc163
ba7fa15058 merge feature into master 2021-02-23 13:20:07 +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
二货机器人
bec5a08368
feat: InputNumber support stringMode (#29373)
* add input-number demo

* update snapshot

* update demo

* docs: Update desc

* update doc

* clean up React useLayoutEffect warning

* fix ts definition

* re-trigger

* update rc-uitl version

* bump rc-input-number

* update

* update

* fix ts

* update demo snapshot

* update doc

* update demo
2021-02-22 22:07:19 +08:00
Eating-Eating
15580483ce
feat: add api for transfer (#29288)
* feat: add api for transfer

* feat: Transfer new feature

* Update components/transfer/__tests__/index.test.js

Co-authored-by: afc163 <afc163@gmail.com>

* Update components/transfer/demo/advanced.md

Co-authored-by: afc163 <afc163@gmail.com>

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

Co-authored-by: afc163 <afc163@gmail.com>

* Update components/transfer/index.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* fix: change another way

* fix: add test

* fix: defaultFooterRender test failed

* fix: comment in English

* fix: delete unnecessary blank line

* fix: fix describe error

* fix: add version and Type Guard

* fix: transfer docs

* fix: docs

* fix: docs grammar err

Co-authored-by: SimpleZhang <simplezhang@yeahka.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-02-22 18:41:02 +08:00
叶枫
31ea9c3c1d
fix: image-test (#29410)
* fix: image-test

* chore: text
2021-02-22 16:03:04 +08:00
二货机器人
7f68a8e347
docs: Update Select debounce demo (#29414)
* docs: Update debounce demo

* fix: ts definition
2021-02-22 15:55:17 +08:00
叶枫
19c8c426e5
fix: image prefix (#29394)
* fix: image

* fix: image group

* fix: image package

* chore: test
2021-02-20 22:24:44 +08:00
Tom Xu
0c7d955734
docs: improve table api (#29393) 2021-02-20 17:56:03 +08:00
Tom Xu
4c3898ebf3
docs: improve table api (#29391) 2021-02-20 17:10:12 +08:00
mumiao
dc100b17c5
fix(table): optimize type declaration about filter (#29385) 2021-02-20 16:32:59 +08:00
二货机器人
9e5e4c8743
chore: Fix ts (#29383) 2021-02-20 14:08:49 +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
afc163
a428ea1b72
fix: Dropdown menu should support expandIcon (#29338)
close #29332
2021-02-17 17:09:13 +08:00
诸岳
9a44a7e915 Merge branch 'master' of github.com:ant-design/ant-design into feature-merge-master-branch 2021-02-11 00:00:25 +08:00
Kermit
a93767562a
chore(slider): optimize tooltip align (#29308) 2021-02-10 15:53:07 +08:00
Kermit
7368b05b05
fix: update snapshot (#29309) 2021-02-10 15:10:39 +08:00
叶枫
10c326ee94
feat: 添加全局静态配置 (#29285)
* feat: 添加全局静态配置

* chore: change globalConfig

* chore: change globalPrefixCls

* chore: review

* feat: 恢复 message 静态 prefix

* feat: modal

* feat: notification

* fix: prefix

* fix: prefix

* fix: 添加 test

* chore: review

* docs: doc

* chore: en

* chore: test

* fix: notification config set empty

* chore: link

* chore: change name

* chore: doc

* chore: doc
2021-02-09 21:49:15 +08:00
afc163
1d437534a0
docs: fix broken links
close #29294
2021-02-09 19:25:55 +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
xrkffgg
b9a7317c28 test: update snap 2021-02-08 10:04:27 +08:00
雷玮杰
ac022b1d15
docs: add rowKey prop into doc (#29269)
update index.zh-CN.md
2021-02-07 20:57:18 +08:00
mumiao
d83e5fdd0a
fix: pagination componnet is not displayed at the position is none of… (#29256)
* fix: pagination componnet is not displayed at the position is none of array

* docs: update table/pagination position column typeValue

* fix: named invalid column

* fix: delete unless code

* refactor: refactor pagination position logic

* ci: fix lint error

* ci: fix lint error

* test: update snapshot
2021-02-07 20:23:40 +08:00
mumiao
bcd58bdc12
fix: image ru_RU locale (#29271) 2021-02-07 14:22:40 +08:00
afc163
a64056eb8a
fix: TextArea showCount should not be interactive (#29245)
close #29240
2021-02-05 20:34:28 +08:00
Seyed Amirali Taheri
0fc27299d5
fix: Locale fa (#29232)
* fix: Fix typo in fa_IR.tsx

Signed-off-by: amiralitaheri <amiralitaheri64@gmail.com>

* feat: Add missing values for fa_IR.tsx

Signed-off-by: amiralitaheri <amiralitaheri64@gmail.com>

* feat: Add missing locale values for date-picker/locale/fa_IR.tsx

Signed-off-by: amiralitaheri <amiralitaheri64@gmail.com>

* feat: Add missing locale value for time-picker/locale/fa_IR.tsx

Signed-off-by: amiralitaheri <amiralitaheri64@gmail.com>

* test: Update snapshot

Signed-off-by: amiralitaheri <amiralitaheri64@gmail.com>
2021-02-05 20:34:10 +08:00
xrkffgg
cb2fc79a5f
fix: multiple Select disabled background in dark (#29242) 2021-02-05 14:43:22 +08:00
mumiao
b5d7670391
fix: fix confirm paramter ts type error (#29241) 2021-02-05 11:19:57 +08:00
afc163
2d79052805
Merge pull request #29226 from ant-design/master
chore: merge master into feature
2021-02-05 11:19:36 +08:00
afc163
4ee9253467
refactor(drawer): rewrite with hook from @hosseinmd (#29229)
* refactor: drawer to functional component and  hooks

* chore: clean code default value

* perf: remove doesn't necessary useCallback

* chore: useContext instead of Consumer

* fix ref

* Add Drawer displayName

* fix tsc

* fix tsc

Co-authored-by: Hossein Mohammadi <hosseinm.developer@gmail.com>
2021-02-05 10:47:17 +08:00
Renny Ren
d7d2cefe21
docs: Update index.en-US.md (#29234)
Fix grammar
2021-02-05 10:03:01 +08:00
zj9495
f77a9ac402
docs: add missing docs for array rule (#28437)
* docs: add missing docs for array rule

* update docs

* update docs
2021-02-04 22:04:34 +08:00
Kermit
b94eb2aa44
feat(drawer): support contentWrapperStyle (#29219) 2021-02-03 22:37:24 +08:00
afc163
f6683ebfc3
style: make Table expand icon same size as checkbox (#29214)
close #29207
2021-02-03 22:36:44 +08:00
二货机器人
a26e5036e6
fix: only row gutter use gap (#29211)
* fix: only row gutter use gap

* test: Update test case
2021-02-03 18:06:51 +08:00
二货机器人
9914ceb6be
fix: Grid flexGap lazy check (#29202)
* fix: get flex gap support before render

* chore: patch unit

* chore: rename

* test: fix test case
2021-02-03 15:39:51 +08:00
afc163
b69c3351b1
fix: Table pagination current change logic (#29184)
* refactor: code style

* fix: Table pagination current when pageSize changed

close #29175

* fix current when have pagination.total
2021-02-03 11:42:11 +08:00
陈帅
a4f0957576
docs: add 4.12.0 changelog (#29131)
* docs: add 4.11.3 changelog

* update docs

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* update docs

* add 4.12.0 changelog

* update docs

* fix typo

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

* fix changelog

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* update docs

* Update CHANGELOG.zh-CN.md

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: einq7 <50612752+AlanCutFlim@users.noreply.github.com>

* fix typo

* fix typo

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: einq7 <50612752+AlanCutFlim@users.noreply.github.com>
2021-02-02 22:05:31 +08:00
qramilq
9f0e5e5e2f
feat: added ref support to Sider component (#29169)
* feat: added ref support to Sider component

* test: updated Layout tests (check for ref)

Co-authored-by: Аюпов Рамиль Ильдарович <RAyupov@stream.ru>
2021-02-02 19:58:41 +08:00
二货机器人
74a030355f
fix: row style (#29182) 2021-02-02 16:04:23 +08:00
骗你是小猫咪
7344bbc7e5
docs: add Image onError doc (#29180) 2021-02-02 13:35:37 +08:00
Yuxuan Huo
dce3ce7fb2
style: add @progress-info-text-color (#28981)
* fix(Progress): progress text color uses @progress-text-color

* change variables name

* no breaking change variable name

* Update components/style/themes/default.less

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: 陈帅 <qixian.cs@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-02-02 12:07:31 +08:00
陈帅
4ec23c50c9
Merge pull request #29159 from ant-design/feature
Feature
2021-02-01 18:57:51 +08:00
afc163
039e2927b7
fix: Collapse header disappers with delay (#29158)
close #29146
2021-02-01 18:50:02 +08:00
xrkffgg
40663fb928
feat: InputNumber support bordered prop (#29105)
* feat: InputNumber support bordered prop

* update style
2021-02-01 17:06:20 +08:00
骗你是小猫咪
b1e910a5ec
chore: upgrade rc-image (#29153) 2021-02-01 15:37:01 +08:00
huangkairan
6a48823002
docs(Slider): fix syle documentation (#29150)
Co-authored-by: huangkairan <wb-hkr877030@alibaba-inc.com>
2021-02-01 14:24:47 +08:00
二货机器人
2b49bd4757
chore: Darken tag color (#29144)
* chore: Adjust tag color

* test: Update snapshot
2021-02-01 11:58:24 +08:00
陈帅
40f9be9417
megre Feature into master (#29141)
* feat: Allow user to configure the Tooltip in the Table header (#29002)

* feat: Table header supports tooltipPlacement

* docs: add Table tooltipPlacement

* feat: Allow user to configure the Tooltip in the Table header

* fix: fix jsx and use old code style

* fix: replace if blocks with ternary operator

* docs: fix url

Co-authored-by: 偏右 <afc163@gmail.com>

* docs: fix url

Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>

* fix: Row with gutter has additional gap (#29059)

* chore: init gutter

* feat: col support gap

* chore: Update playground

* fix: Safari padding

* test: fix test case

* test: More test case

* docs: Update demo

* test: Update coverage

* test: Update test hack

* feat(input-number): add keyboard prop to support disable keyboard (#29110)

Co-authored-by: Ant Design GitHub Bot <yesmeck+ant-design-bot@gmail.com>
Co-authored-by: Harrison <stlebea@foxmail.com>
Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
2021-02-01 10:15:39 +08:00
Igor Andriushchenko
be08d23bad
Add new comments below older instead of the reverse (#29136)
In the example with the editor, the new comments are added on top of the older ones which is not following the way it is usually done in discussions.
2021-01-31 13:42:52 +08:00
Eber Rodrigues
6c0e0bb335
fix: add en-GB missing translations for table (#29122) 2021-01-30 20:36:48 +08:00
xrkffgg
dcc0ffa016
chore : prettier code (#29123)
* style: prettier code

* update

* Update index.less
2021-01-30 19:39:02 +08:00
zombiej
6f028b595b docs: Update tag doc desc
close #27186
2021-01-29 18:01:16 +08:00
Kermit
53797cf058
feat(input-number): add keyboard prop to support disable keyboard (#29110) 2021-01-29 14:35:05 +08:00
二货机器人
f1568a656a
Badge number (#29100)
* init number component

* use single nodes

* clean up

* add current class

* clean up

* fallback

* fix: Safari render issue

* test: fix test case

* test: fix test case

* test: fix test case

* test: fix test case

* test: fix test case

* test: fix test case

* test : Update snaposhot

* test : Update cp snaposhot
2021-01-29 14:27:36 +08:00
Kermit
47732b8a14
refactor: optimize calling sequence of onChange and onSelectAll in rowSelection of Table (#29079)
* chore: optimize order of onChange and onSelect in rowSelection of Table

* chore: add test case

* chore: trigger ci

* ci: trigger
2021-01-29 13:22:42 +08:00
Ant Design GitHub Bot
074f2228cb
Merge pull request #29104 from ant-design/master 2021-01-29 10:16:25 +08:00
Benjamin Schuch
45f4f46483
docs: fix onHeaderRow documentation (#29103) 2021-01-29 09:50:49 +08:00
Kermit
86b149bdbd
chore: update badge snapshot (#29098) 2021-01-28 21:13:40 +08:00
二货机器人
45013ef472
update demo (#29089) 2021-01-28 18:16:05 +08:00
二货机器人
08f25f0c8f
chore: Update Table ts definition (#29084)
* chore: bump rc-table ver

* chore: Fix ts definition

* docs: fix doc
2021-01-28 01:21:58 +08:00
二货机器人
15a9947f87
docs: Improve fields value (#29075) 2021-01-27 17:48:43 +08:00
cnjs
1ea1ec7876
docs: update Typography doc (#29033)
* doc: update Typography doc

* doc: update Typography doc

* docs: update symbol doc
2021-01-27 17:26:38 +08:00
Renny Ren
2961906265
Update index.en-US.md (#29069)
fix grammar
2021-01-27 16:45:25 +08:00
二货机器人
f45bb9f8e2
fix: Row with gutter has additional gap (#29059)
* chore: init gutter

* feat: col support gap

* chore: Update playground

* fix: Safari padding

* test: fix test case

* test: More test case

* docs: Update demo

* test: Update coverage

* test: Update test hack
2021-01-27 14:03:05 +08:00
Homyee King
dd2cbe0336
fix: showCount (#29057)
* fix: showCount

* Update components/input/__tests__/textarea.test.js

Co-authored-by: 偏右 <afc163@gmail.com>

Co-authored-by: 偏右 <afc163@gmail.com>
2021-01-27 09:54:38 +08:00
Ant Design GitHub Bot
bab859d50c
Merge pull request #29058 from ant-design/master 2021-01-26 19:35:15 +08:00
二货机器人
cbbffe4a98
chore: Import IconContext directly (#29045) 2021-01-26 16:18:13 +08:00
Homyee King
20c49b7bbb
docs: fix demo-focus layout (#29028)
* fix: demo-focus layout

* fix: update snap

* fix: form noStyle test case

* fix: update snap

Co-authored-by: wanghongye <wanghongye@kuaishou.com>
2021-01-26 09:36:20 +08:00
Harrison
755669a68b
feat: Allow user to configure the Tooltip in the Table header (#29002)
* feat: Table header supports tooltipPlacement

* docs: add Table tooltipPlacement

* feat: Allow user to configure the Tooltip in the Table header

* fix: fix jsx and use old code style

* fix: replace if blocks with ternary operator

* docs: fix url

Co-authored-by: 偏右 <afc163@gmail.com>

* docs: fix url

Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>
2021-01-26 09:33:29 +08:00
Kian
da0f6519f0
fix: import BuildInPlacements type (#29029)
close #29015
2021-01-25 18:45:16 +08:00
zombiej
47792085b0 docs: Update showCheckedStrategy desc 2021-01-25 14:32:06 +08:00
陈帅
0afdbe4d4a
fix: exporting common types (#28963)
* exporting common types

* no use importype

* fix test

* try fix test

* Update components/index.tsx

Co-authored-by: 偏右 <afc163@gmail.com>

* remove typo

* fix test

Co-authored-by: 偏右 <afc163@gmail.com>
2021-01-24 23:24:06 +08:00
afc163
e6b4708f04 resolve merge confilct 2021-01-24 17:55:57 +08:00
陈帅
91c22a1e64
feat: Breadcrumb support breadcrumbRender (#28999)
* feat: Breadcrumb support breadcrumbRender

* add version info
2021-01-24 17:44:20 +08:00
Rick Zhou
986c709161
fix: styleForPseudo of wave should be added to ownerDocument instead of document (#28995)
* fix: styleForPseudo of wave should be added to ownerDocument instead of document

* fix lint error, reuse node from function parameter in wave.tsx

close #28934
2021-01-24 17:41:06 +08:00
cnjs
a5925e0ef1
refactor: improve Modal type definition (#28997) 2021-01-24 17:40:30 +08:00
偏右
914fe4c3f6
Revert "feat: PageHeader support breadcrumbRender props (#28723)" (#28994)
This reverts commit 2d476f7fb2.
2021-01-23 12:45:13 +08:00
cnjs
fb21552c8b
doc: update Typography doc (#28991) 2021-01-22 23:27:37 +08:00
陈帅
2d476f7fb2
feat: PageHeader support breadcrumbRender props (#28723)
* feat: PageHeader support breadcrumbRender props

* add doc

* less code

* breadcrumb support jsx.element

* add new test
2021-01-22 22:13:30 +08:00
偏右
924a3303c0
Revert "fix: Typography ellipsis.suffix type (#28959)" (#28988)
This reverts commit 934f1b78dd.
2021-01-22 18:49:13 +08:00
偏右
b006a662fe
style: tweak TreeSelect filter node color (#28984)
close #28977
2021-01-22 18:45:14 +08:00
cnjs
934f1b78dd
fix: Typography ellipsis.suffix type (#28959)
* fix: Typography: update EllipsisConfig interface

* docs: update Typography doc
2021-01-22 15:38:51 +08:00
Yuxuan Huo
7f50e3fe3e
fix(drawer): footer horizontal padding use theme variable (#28975) 2021-01-21 23:13:14 +08:00
Pengsha Ying
a2b5d47e1a
fix(typescript): adjust style type declearation (#28966) 2021-01-21 17:16:51 +08:00
zhuguibiao
8d5a1fe449
docs: Table scroll properties X and Y are missing type string (#28964) 2021-01-21 15:55:41 +08:00
偏右
997c015f1e
style: fix Select custom tag align (#28962)
close #28955
2021-01-21 15:54:19 +08:00
二货机器人
f01066467e
feat: ConfigProvider support iconPrefixCls (#28924)
* add iconPrefixCls support

* test: Update test case

* update less variable
2021-01-19 17:33:05 +08:00
Hossein Alimadad
d943b85a52
fix: Card actions divider on rtl (#28915)
* fix: Card actions divider on rtl

* style: Remove border variable
2021-01-19 15:44:00 +08:00
Ant Design GitHub Bot
d2c1cb5b5c
Merge pull request #28919 from ant-design/master 2021-01-19 15:34:37 +08:00
二货机器人
aea8c34958
Merge pull request #28792 from zxc0328/config-provider-fix
fix: add memorization for ConfigProvider (#27617)
2021-01-19 15:33:05 +08:00
zombiej
9a01c9ea0b fix: name connect 2021-01-19 11:53:44 +08:00
zombiej
687b68b256 test: test driven 2021-01-19 11:51:13 +08:00
xinhui.zxh
ccc56546ad feat: rm Consumer usage in test case 2021-01-18 16:51:34 +08:00
偏右
16ecb15be1
Merge pull request #28894 from ant-design/master
chore: merge master into feature
2021-01-18 09:55:46 +08:00
xrkffgg
dd62098beb
style: add @table-border-color (#28903) 2021-01-18 09:34:22 +08:00
susiwen8
19f3e6cdae
refactor: rewrite Transfer search with hooks (#28895)
* Refac: rewrite transfer search with hook

* [CodeFactor] Apply fixes to commit 3ad857f

[ci skip] [skip ci]

* chore: minor change in search

Co-authored-by: codefactor-io <support@codefactor.io>
2021-01-16 23:52:03 +08:00
偏右
9daf50f3a9
test: fix codecov 100% (#28892) 2021-01-16 18:06:26 +08:00
Janneke Janssen
005627e4a4
fix: Button loading state not respecting the border-width (#28886) 2021-01-16 17:50:56 +08:00
Dave
97796a45b6
feat(upload): support Error obj (message) (#28716) 2021-01-15 23:24:09 +08:00
xinhui.zxh
6029b18056 fix: remove reduant getConfig call 2021-01-15 23:11:11 +08:00
Meowu
0f0dc1577f
fix: custom table filterDropdown (#28850)
* fix: get origin keys from nested filters.

* fix: unexpected transformed filteredKyes with custom filterDropdown.

* fix: simplify code.
2021-01-15 22:51:03 +08:00
二货机器人
1ca28baa5c
chore: Add light menu background color (#28842)
* chore: Add light menu background color

* fix lint

* rename
2021-01-15 17:29:33 +08:00
Rick Zhou
f931158674
fix: dont use document.body as slider's popup container (#28865)
* dont use document.body as slider's popup container

when getPopupContainer  is not defined, it should rely on rc-tooltip's default behavior instead of forcing it to use document.body

* fix: dont use document.body as slider's popup container
2021-01-15 10:26:20 +08:00
偏右
9dd39120b3
style: Fix Tree/TreeSelect filterTreeNode missing style (#28866)
close #28864
2021-01-14 18:39:21 +08:00
偏右
ec6f198b0d
fix: Empty description validateDOMNesting warning (#28862)
* fix: Empty description validateDOMNesting warning

close #28860

* update snapshot
2021-01-14 16:29:48 +08:00
afc163
a5bdf5aedd chore: fix tsc error 2021-01-14 14:42:01 +08:00
afc163
b22f1ec306 chore: fix tsc error 2021-01-14 14:32:42 +08:00
afc163
ea9c71a94e Merge branch 'feature' into master-to-merge-feature 2021-01-14 14:26:09 +08:00
偏右
9fad797fd3
style: fix Badge dot small width (#28854)
close #28853
2021-01-14 14:17:12 +08:00
二货机器人
4315ac567c
chore: replace omit (#28846)
* chore: Replace omit.js with rc-util omit

* chore: Replace omit.js with rc-util omit

* fix ts

* fix ts

* fix ts
2021-01-13 21:00:30 +08:00
xinhui.zxh
0418448571 fix: undo change for configConsumerProps 2021-01-13 17:52:01 +08:00
afc163
68f594e9d6 docs: fix Table rowSelection.columnWidth default value
close #28837

ref #28073
2021-01-13 17:15:21 +08:00
xinhui.zxh
6292e8b53c feat: use rc-util's useMemo for config provider 2021-01-13 17:05:05 +08:00
偏右
b913b26374
Update index.en-US.md 2021-01-13 16:14:51 +08:00
limingxin
3f30db32f7
Update index.zh-CN.md (#28835)
update  expandable markdown
2021-01-13 16:13:11 +08:00
二货机器人
38bead8724
chore: Auto fill uid (#28832)
* chore: Auto fill uid

* docs: More desc
2021-01-13 14:31:49 +08:00
xinhui.zxh
749f03e424 feat: use useCallback for getPrefixCls 2021-01-13 13:02:56 +08:00
xinhui.zxh
2dd4d9b0d4 feat: use useMemo for config-provider 2021-01-12 21:02:53 +08:00
Flo
6bcb9ba7c4
fix: add german localization for Transfer (#28826)
Co-authored-by: Florian Wojtenek <florian.wojtenek@quanos-solutions.com>
2021-01-12 17:34:01 +08:00
二货机器人
a9bd80916d
feat: Typography ellipsis support tooltip (#28821)
* feat: ellipsis support tooltip

* chore: Update test snapshot

* test: Coverage

* chore: fix ts definition

* clean up
2021-01-12 16:46:59 +08:00
xinhui.zxh
1d00ec2876 fix: config-provider ts error 2021-01-12 11:18:27 +08:00
xinhui.zxh
69295c5e1a feat: fix useDeepMemo 2021-01-12 11:13:01 +08:00
xinhui.zxh
81129554ce feat: use hooks to memo config-provider config 2021-01-12 10:40:15 +08:00
hugorezende
93ef44945a
Fix import statement (#28819) 2021-01-12 09:59:05 +08:00
Alek Ye
9d334e776e
chore: remove console log (#28816)
Co-authored-by: alek.ye <alek.ye@meehealth.com>
2021-01-11 17:56:26 +08:00
07akioni
2549e8176b
docs: Input, use Space to refactor search-input demo (#28799)
* docs: Input, use Space to refactor search-input demo

* fix

* test: update snap
2021-01-10 21:42:44 +08:00
xinhui.zxh
91c4cb2793 fix: add memorization for ConfigProvider (#27617) 2021-01-09 15:23:28 +08:00
afc163
38b020644e merge feature into master 2021-01-08 21:41:59 +08:00
afc163
675411c3b2 test: update snapshot 2021-01-08 21:24:53 +08:00
冷方冰
a4194baa25
fix: InputNumber的onChange的value的类型增加null (#28769)
Co-authored-by: 冷方冰 <lengfangbing@bytedance.com>
2021-01-08 20:15:37 +08:00
偏右
a0eb9d31de
chore: merge master into feature (#28751)
* fix: Transfer dataSource cannot be immutable (#28675)

close #28662

* docs: fix errors in example code (#28677)

* ci: expand ie check (#28673)

* ci: expand ie check

* Update issue-open-check.yml

* perf(📦): reduce @babel/runtime package size (#28678)

* perf(📦): reduce @babel/runtime package size

04cd73dea1

* chore(🆙): upgrade @ant-design/react-slick to esm support version

* upgrade @ant-design/tools

* ci: add open condition (#28682)

* fix(Slider): forcePopupAlign null when unmounted (#28699)

* docs: Update overview.zh-CN.md (#28703)

* docs: Update resources.en-US.md (#28701)

* chore: bump rc-select to 12.1.0 (#28715)

* fix: stylelint plugin (#28730)

* Update package.json

* perf(📦): upgrade rc-image to 5.x (#28727)

* refactor: upgrade rc-image to 5.x

reduce bundle size

* upgrade rc-image

* upgrade @ant-design/tools

https://github.com/ant-design/antd-tools/pull/226

* rc-image 5.0.0

* fix image preview icon missing

* refactor code

* docs: example of synchronous rc-tree (#28648)

* ci: fix outputs type

过程中的使用 string。奇怪啊,之前测试过的,今天点的时候发现不行了

* Update package.json

* fix: site overflow cause sticky invalid (#28741)

* fix: site overflow cause sticky invalid

* disable auto scroll

* chore: upgrade rc-dialog and rc-drawer (#28749)

* chore: upgrade rc-dialog and rc-drawer (#28687)

* chore: upgrade rc-dialog and rc-drawer

* upgrade rc-util

* update snapshots

* upgrade rc-util

* upgrade rc-util

* update snapshots

* upgrade rc-dialog

* perf: remove duplicated rc-dialog

Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>

Co-authored-by: bigbigbo <zxb141242@163.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Yann Pringault <yann.pringault@gmail.com>
Co-authored-by: godfather <greenday.wj@foxmail.com>
Co-authored-by: Mateusz Wierzbicki <22788841+mateusz-wierzbicki@users.noreply.github.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: AkiJoey <akijoey1010635951@gmail.com>
Co-authored-by: qqabcv520 <605655316@qq.com>
Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>
2021-01-08 10:14:01 +08:00
偏右
f235f721ce
chore: upgrade rc-dialog and rc-drawer (#28749)
* chore: upgrade rc-dialog and rc-drawer (#28687)

* chore: upgrade rc-dialog and rc-drawer

* upgrade rc-util

* update snapshots

* upgrade rc-util

* upgrade rc-util

* update snapshots

* upgrade rc-dialog

* perf: remove duplicated rc-dialog

Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>
2021-01-07 17:17:38 +08:00
骗你是小猫咪
194699292a
chore: upgrade rc-dialog and rc-drawer (#28687)
* chore: upgrade rc-dialog and rc-drawer

* upgrade rc-util

* update snapshots

* upgrade rc-util

* upgrade rc-util

* update snapshots

* upgrade rc-dialog
2021-01-07 16:20:09 +08:00
骗你是小猫咪
d0de9aa92c
fix: site overflow cause sticky invalid (#28741)
* fix: site overflow cause sticky invalid

* disable auto scroll
2021-01-07 16:16:54 +08:00
qqabcv520
3fbe13ae86
docs: example of synchronous rc-tree (#28648) 2021-01-07 11:24:33 +08:00
偏右
de1364ab09
perf(📦): upgrade rc-image to 5.x (#28727)
* refactor: upgrade rc-image to 5.x

reduce bundle size

* upgrade rc-image

* upgrade @ant-design/tools

https://github.com/ant-design/antd-tools/pull/226

* rc-image 5.0.0

* fix image preview icon missing

* refactor code
2021-01-06 22:23:49 +08:00
Yann Pringault
1409db1923
fix(Slider): forcePopupAlign null when unmounted (#28699) 2021-01-05 21:50:07 +08:00
Alek Ye
168db12e3f
feat: filter without close dropdown (#28652) (#28688)
* feat: filter without close dropdown (#28652)

* Change confirm parameter type

* Update components/table/demo/custom-filter-panel.md

Co-authored-by: 偏右 <afc163@gmail.com>

Co-authored-by: alek.ye <alek.ye@meehealth.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2021-01-05 15:54:36 +08:00
二货机器人
d8c617d7c3
feat: Image support preview.maskClassName (#28681)
* feat: support maskClassName

* test: Add snapshot

* docs: Update doc
2021-01-04 20:39:20 +08:00
bigbigbo
b53a4b51ce
docs: fix errors in example code (#28677) 2021-01-04 18:43:59 +08:00
偏右
7def9de31d
fix: Transfer dataSource cannot be immutable (#28675)
close #28662
2021-01-04 18:33:31 +08:00
偏右
9946e6c56f
style: fix notification closing style of hooks (#28660)
close #28143
2021-01-04 16:19:32 +08:00
Meowu
3ed44114ac
fix: no need to filter filterdKeys for custom filterDropdown. (#28627)
* fix: no need to filter filterdKeys for custom filterDropdown.

* fix: only transform array of filterdValue to string.
2021-01-04 11:17:27 +08:00
Ant Design GitHub Bot
c9fb082e4f
Merge pull request #28651 from ant-design/feature 2021-01-04 10:43:59 +08:00
骗你是小猫咪
9689e3e8eb
feat: Image support preview src (#28643)
* feat: Image support preview src

* add demo

* add en doc
2021-01-03 19:45:14 +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
pasinter
dba559034a
docs: use correct link for the list of input props (#28641) 2021-01-01 21:40:00 +08:00
Ant Design GitHub Bot
c47f81ed58
Merge pull request #28619 from ant-design/feature 2020-12-31 17:41:15 +08:00