Commit Graph

12544 Commits

Author SHA1 Message Date
Tom Xu
b969bb4df5
feat: Modal method add bodyStyle (#27292) 2020-10-22 11:24:49 +08:00
Tom Xu
a91b451881 docs(button): improve size default value 2020-10-22 08:33:20 +08:00
Robin Pokorny
aa00cee500
docs: Document default for button size (#27283) 2020-10-21 23:17:08 +08:00
Tom Xu
4cd2cfa14f update snap 2020-10-21 14:48:24 +08:00
Tom Xu
605bb2ffdf fix conflict 2020-10-21 14:42:10 +08:00
Tom Xu
1f1956ccd9 Merge branch 'feature' into merge-into-feature 2020-10-21 14:31:16 +08:00
xrkffgg
cb23875ab7 docs: fix Space size type 2020-10-21 12:24:03 +08:00
afc163
b383c14114 docs: improve button dropdown demo 2020-10-21 11:50:18 +08:00
zombiej
07506792fc docs: Add DatePicker panelRender FAQ
close #27263
2020-10-21 11:38:18 +08:00
Tom Xu
0822ac618f
chore: add prettier ignore and format demo (#27270) 2020-10-21 11:06:07 +08:00
Tom Xu
b5dc079228
chore: improve code style (#27266) 2020-10-21 10:35:06 +08:00
Tom Xu
d44f404eae
docs: sort api (#27251)
* chore: improve sort api table scripts

* sort api

* add ignore

* Revert "sort api"

This reverts commit 343505d5f0.

* sort api

* Update package.json

* sort api

* Delete sort-api.js

* sort api

* sort api

* sort api

* fix

* Update index.zh-CN.md

* fix input-number

* fix input-number

* sort func

* fix

* Method moved to the end

* carousel method
2020-10-21 10:33:43 +08:00
JuniorTour
87dba05e2a
docs: fix invalid disabledDate of RangePicker demo (#27112)
* docs: fix invalid disabledDate of RangePicker demo

Close https://github.com/ant-design/ant-design/issues/26885

* Update select-in-range.md

Co-authored-by: 偏右 <afc163@gmail.com>
2020-10-20 22:03:02 +08:00
偏右
27e9926438
fix: duplicated className on Search[allowClear] (#27261)
* fix: duplicated className on Search[allowClear]

close #27258

* fix snapshot
2020-10-20 21:44:37 +08:00
Michał Jasikowski
96c665a0bb
fix: changed sorting and validation labels to proper English (#27259)
* fix: sorting and validation labels in English

* fix: changed labels for ga_IE to proper English

* fix: changed labels for ga_IE to proper English

* Update en_GB.tsx
2020-10-20 18:20:06 +08:00
afc163
f80828bfd6 docs: 🎬 refactor Form demo code 2020-10-20 13:29:04 +08:00
偏右
35fb8ee91d
fix: horizontal Menu in flex layout (#27253)
close #27240
2020-10-20 11:42:44 +08:00
Tom Xu
0db9842419
fix: Editable Typography in Card title style problems (#27221)
* fix: Editable Typography in Card title style problems

* Update index.less
2020-10-20 11:18:33 +08:00
Tom Xu
3493b4f7da
docs(input): add showCount version (#27246) 2020-10-20 09:47:21 +08:00
handy
fd0a513718
fix: Tag component close icon display bug (#27226)
* fix: tag component close icon display bug

* update tag component demo.test.snap
2020-10-19 18:27:20 +08:00
afc163
ef8ea979b4 docs: 📝 fix doc 2020-10-19 16:45:17 +08:00
Tom Xu
322098487f
fix: Checkbox Group TS typo (#27231)
* fix: Checkbox Group TS typo

* Revert "fix: Checkbox Group TS typo"

This reverts commit 0898f84ff7.

* Update Group.tsx

* Create type.test.tsx
2020-10-19 16:42:07 +08:00
lingjieee
8d9d86c433
style: fix Sider light theme (#27227)
* fixd:Sider组件light模式下样式丢失

* Update light.less

Co-authored-by: jie.ling <jie.ling@tongdun.net>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-10-19 15:11:36 +08:00
二货机器人
8ea1e52d4d
fix: TextArea wrapper with div when !showCount (#27216)
* fix: TextArea layout

* test: Update snapshot

* fix: value logic

* fix: className & style logic

* chore: rm uesless code

* chore: Clean up
2020-10-19 14:03:19 +08:00
Tom Xu
09f8df94b4
docs(dropdown): improve api path and function type (#27213) 2020-10-19 11:14:04 +08:00
Tom Xu
c28d0f85ad
docs(dropdown): improve type (#27212) 2020-10-19 01:06:01 +08:00
Tom Xu
261018053f
refactor(checkbox-group): rewrite with hook (#27147) 2020-10-18 23:31:20 +08:00
Tom Xu
e234a71ecd
refactor(typography): remove deprecated (#27158) 2020-10-17 17:23:22 +08:00
Michał Jasikowski
ea251a50fa
docs: ✍️ Corrected "onFilter" definition for Table Column in docs 2020-10-16 22:29:00 +08:00
KingxBeta
d4fd8f2698
style(descriptions): fix content overflow (#27195)
* fix: .ant-descriptions-item-content add word-break:break-word; style

* Update index.less

修改顺序

Co-authored-by: wangyk <wangyikan@mchz.com.cn>
2020-10-16 22:28:02 +08:00
Yulia Maximova
1113867378
fix: form customizing mixin (#26422)
* fix: add styling form input background-color

* fix: conflict resolution

Co-authored-by: Maksimova, Yuliya <Yuliya.Maksimova@nexign.com>
2020-10-16 22:25:36 +08:00
偏右
c72ee71d6f
fix: clear Password value attribute in controlled mode (#27191)
close #27171
2020-10-16 18:05:13 +08:00
偏右
fb9d2e6738
fix: notification width in small screen (#27189)
close #27188
2020-10-16 16:07:56 +08:00
Tom Xu
274871b50c
docs(button): improve docs and shape remove undeclared doc type (#27159)
* docs(button): improve docs

* Update index.less
2020-10-16 15:50:19 +08:00
Yu Mao
b4e748c28a
fix: Cascader duplicated className (#27187)
close #27168
2020-10-16 15:48:23 +08:00
Tom Xu
179ee276c9
refactor: improve useCombinedRefs code (#27181)
* improve: useCombinedRefs code

* change location
2020-10-16 10:21:21 +08:00
Richard Freling
7d59890c5c
feat: 🖼 Image support preview.getContainer (#26713) 2020-10-15 22:56:32 +08:00
Yu Mao
acc2e03ddf
fix: add optional rules property (#27164)
* fix: add optional rules property

* fix: replace interface
2020-10-15 22:31:51 +08:00
陈帅
3770b3f423
fix: if form warp drawer, close button will trigger submit (#27175)
* fix:  if form warp drawer, close button will trigger submit

* update snapshot
2020-10-15 18:54:24 +08:00
zombiej
0b592203b2 docs: Update Modal faq
close #27169
2020-10-15 18:32:48 +08:00
偏右
1c38e68a0f
fix: Dropdown icon margin style (#27165)
close #22274
2020-10-15 14:13:17 +08:00
afc163
771352c5ca docs: fix remark lint 2020-10-15 13:33:14 +08:00
偏右
0a3af0b2e2
fix: 💄 Layout.Sider collapsedWidth cannot work without @menu-collapsed-width (#27154)
* fix: collapsedWidth do not work on Sider

* fix test case

* fix test case

* fix extra trigger div

* fix lint
2020-10-15 10:42:15 +08:00
Kermit Xuan
e883e4ba40
fix(date-picker): showTime should work correctly when format is function (#27156) 2020-10-14 23:00:18 +08:00
二货机器人
43e2651b9c
fix:Typography miss block & pre style (#27150)
* feat: Add block & pre style

* fix lint
2020-10-14 19:56:31 +08:00
偏右
2788140d1a
Merge pull request #27137 from ant-design/master
chore: merge master into feature
2020-10-14 16:35:29 +08:00
偏右
50d8c38f2c
fix: 🐛 Tabs animated={true} should works (#27145)
close #27135
2020-10-14 16:34:15 +08:00
Tom Xu
2beb594b71
refactor(result): useContext and improve code (#27128)
* refactor(result): useContext and improve code

* Update index.tsx

* Update index.tsx
2020-10-14 15:24:26 +08:00
Tom Xu
f6769e3e94
refactor(grid): useContext and improve code (#27127) 2020-10-14 15:19:07 +08:00
偏右
c7e51aba13
test: fix modal test cases (#27143)
* test:  fix modal test cases

* 🆙 upgrade remark-lint
2020-10-14 14:52:26 +08:00
偏右
ea48827e06
docs: fix API description 2020-10-14 14:42:57 +08:00
偏右
3ef6ea3ead
refactor: 📦 some styles to reduce css bundle size (#27129)
* refactor: some styles to reduce css bundle size

* test: update snapshot

* fix snapshot

* fix test case

* fix addonAfter

* fix firefox style

* reduce riddon css size

* fix Input.Group border radius

* remove unused css selectors

* fix test cov

* fix search button hover border

* fix rtl textarea clear icon style

* update demos

* fix search rtl style

* fix input search style
2020-10-13 21:16:20 +08:00
偏右
4bcac2d986
fix: Divider color with text (#27134)
* chore: use @border-width-base

* fix: Divider color with text

close #27132
2020-10-13 20:22:17 +08:00
xrk
6288f0a86e
fix: radio checked cursor style when disabled (#27125) 2020-10-13 18:32:18 +08:00
Tom Xu
b896556823
style: fix Typography Link color (#27119)
* style: fix Typography Link color

* Update index.less
2020-10-13 18:31:48 +08:00
afc163
288f0caf48 merge feature 2020-10-13 11:47:11 +08:00
zoomdong
e6cc0009c3
feat: Input.Textarea support size props (#27110)
* feat: Input.Textarea add size props

* update snapshot

* update snapshot

* add case

* fix code
2020-10-12 20:39:51 +08:00
偏右
88fde9f9f7
style: fix Typography Link color (#27104)
close #27088
2020-10-12 16:24:26 +08:00
偏右
18c4b085ba
style: 💄 fix Pickers wrong animation direction (#27101)
* style: fix Pickers wrong animation direction

* style: reduce css bundle size
2020-10-12 15:50:02 +08:00
Tom Xu
f487d8dba8
refactor(checkable-tag): improve code (#27097) 2020-10-12 15:07:47 +08:00
xrk
f0f39895b5
style: optimize Input.TextArea count style in rtl (#27098) 2020-10-12 12:43:04 +08:00
xrk
852b28c235
docs: update menu api (#27096)
* docs: update menu api

* perf
2020-10-12 12:00:00 +08:00
Tom Xu
b64d02fda9
refactor(input-number): useContext (#27086) 2020-10-12 10:59:40 +08:00
Tom Xu
1f0d074caa
refactor(image): improve code (#27087) 2020-10-12 10:59:09 +08:00
Liu Ya
41d520ab82
docs: update Typography.Text (#27093) 2020-10-12 10:49:17 +08:00
lich-yoo
1a4f5f7909
docs: update modal version column (#27094) 2020-10-12 10:47:09 +08:00
Gerson Garrido
02fc6b1646
Updating es_ES locale docs (#27079) 2020-10-11 02:56:12 +08:00
afc163
de447ea758 Merge branch 'master' of github.com:ant-design/ant-design 2020-10-10 23:13:36 +08:00
afc163
679f0529fa docs: 📝 fix Form API table, close #27078 2020-10-10 23:12:34 +08:00
Arnaud Benhamdine
3a7273b5da
docs: fix behaviour of modal draggable zone (#27077)
The behaviour of the draggable zone in the modal was incorrect : the header was supposed to be the only draggable zone, but because of an inverted logic of state change, all the modal was draggable
2020-10-10 23:02:38 +08:00
偏右
94cab40b04
feat: InputNumber support onStep (#27075)
* feat: InputNumber support onStep

* fix test case

* fix dep
2020-10-10 17:49:50 +08:00
偏右
5db8813c64
docs: Update Image index.zh-CN.md (#27073) 2020-10-10 15:28:24 +08:00
偏右
2d676fb528
docs: update Image API (#27071)
* Update index.en-US.md

* Update index.zh-CN.md
2020-10-10 15:26:05 +08:00
偏右
0fec3aa602
Merge pull request #27064 from ant-design/feature
chore: merge feature into master
2020-10-10 14:13:11 +08:00
zombiej
5909a4dae5 docs: Update form rule enum desc 2020-10-10 14:01:39 +08:00
偏右
4bf062c2a8
test: fix test cov (#27065)
* test:  upload and form

* refactor: tooltip always evaluates to true
2020-10-10 13:32:27 +08:00
afc163
68a1b18232 merge feature into master-to-merge-feature 2020-10-10 11:36:02 +08:00
zhangchen
138b953afd
feat: TextArea showCount (#26952)
* feat: TextArea showCount

* update: TextArea showCount test

* update: TextArea showCount test

* update: test

* update: test

* update: test

* update: interface

* revert: interface change
2020-10-10 11:30:58 +08:00
Tom Xu
dfbe4b701c
fix: locale by_BY lint (#27061)
* fix: locale lint

* Update index.test.js.snap
2020-10-10 09:13:31 +08:00
StIvan8
4107c83234
feat: add Belarusian translation (#27028)
* add Belarusian language translation

* add Belarusian locale, fix bugs

* fix: slider and select version
2020-10-09 21:37:07 +08:00
iorikingdom
a711a4172d
fix: add Japanese localization for Table (#27043)
* Update ja_JP.tsx

增加了几处日语翻译,希望下个版本能用上

* Update ja_JP.tsx

补全Table的日语翻译

* Update ja_JP.tsx

稍微修改了一下

* Update ja_JP.tsx
2020-10-09 21:32:41 +08:00
偏右
7662160880
fix: Radio cannot use Tooltip (#27050)
resolve #26921
resolve #25222

close #26929
2020-10-09 18:01:04 +08:00
二货机器人
dcd97ca46e
Merge pull request #27055 from ant-design/master
chore: Feature merge master
2020-10-09 17:28:17 +08:00
Tom Xu
f812855122
refactor: Remove layout deprecated (#27039)
* Update Sider.tsx

* Update Sider.tsx

* Update Sider.tsx

* Update Sider.tsx
2020-10-09 11:04:38 +08:00
Tom Xu
5f2588ffd1
docs: improve api type docs (#27038) 2020-10-09 10:08:52 +08:00
xrk
b173b5b8f5
fix: sliderProps typeScript define (#27033)
* fix: sliderProps typeScript define

* update rc-slider

* update

* update
2020-10-09 09:37:26 +08:00
zombiej
b651178685 chore: Update snapshot 2020-10-08 21:28:51 +08:00
Tom Xu
2eec689d74
feat: Space add split (#26948)
* feat: Space add split

* Update index.en-US.md

* changed

* improve

* improve

* Update demo.test.js.snap

* Update vertical-split.md

* Update demo.test.js.snap

* remove vertical-split

* Update demo.test.js.snap
2020-10-08 18:41:40 +08:00
Amumu
a2a4fa302d
docs: update form migrate docs title (#27029) 2020-10-08 13:15:13 +08:00
Rain120
820aa04a96
fix: words spell error at the file of wave.tsx (#27013) 2020-10-07 02:09:08 +08:00
Alper TUNCA
f1c75c5ef6
fix: Update tr_TR.tsx (#27017)
Adding Turkish mean for the optional tag from 4.6.0 antd
2020-10-07 02:03:53 +08:00
xrk
20efc58a8a
style: optimize loading icon in rtl (#27010) 2020-10-05 16:20:14 +08:00
Lim Shang Yi
fa3c00ce1a
fix: undefined in filterDropdown in Table should not render dropdown filter icon. (#27002)
close #26988
2020-10-04 21:56:29 +08:00
Tom Xu
514cc062be
chore: fix timeline TimelineItemProps typo (#27001)
* chore: fix timeline TimelineItemProps typo

* Update Timeline.tsx

* Update TimelineItem.tsx

* Update TimelineItem.tsx

* Update TimelineItem.tsx

* Update TimelineItem.tsx

Co-authored-by: Olivier Louvignes <olivier@mgcrea.io>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-10-03 22:03:09 +08:00
xrk
1a594a467e
chore: merge master into feature (#26998) 2020-10-03 12:18:19 +08:00
Lim Shang Yi
08ca032550
fix: missing autoFocus prop in Slider. Fixes #26982 (#26995) 2020-10-02 22:16:18 +08:00
Lim Shang Yi
ef3aabdf7d
fix: Slider step prop not accepting null value (#26984)
* Fixes #26976 since rc-slider allows step to be null

* Fixes #26976 since rc-slider allows step to be null

* test: Slider step prop should not crash with undefined value
2020-10-02 22:15:12 +08:00
Anawin W
88fc56fde8
fix: Update th-TH locale for new date-pickers (#26993) 2020-10-02 20:05:58 +08:00
Amour1688
9cd432e52e
chore: useContext in Empty (#26991)
* chore: `useContext` in Empty

* chore: update empty/index.tsx
2020-10-02 14:00:02 +08:00
Niyaz Akhmetov
1aee1670cf
docs: ✏️ replace is with are (#26983) 2020-10-02 13:15:41 +08:00
骗你是小猫咪
bd62870258
chore: upgrade rc-table (#26973)
* chore: upgrade rc-table

* improve doc
2020-09-30 20:41:34 +08:00
xrk
4f177ddc96
docs: update tag status demo (#26971) 2020-09-30 20:00:21 +08:00
xrk
76a85ca14e
fix: List action rtl style (#26964) 2020-09-30 17:30:25 +08:00
xrk
0ddd367b51
docs: update tabs extra demo (#26968) 2020-09-30 17:08:39 +08:00
xrk
39cf26f4fb
docs: update image demo (#26962) 2020-09-30 16:46:44 +08:00
xrk
26c5c6e533
style: optimize transfer pagination rtl style (#26960) 2020-09-30 15:23:02 +08:00
xrk
cf717225d1
fix: upload rtl style (#26961) 2020-09-30 15:22:30 +08:00
xrk
93a8605236
style: optimize tag style in rtl & dark (#26955) 2020-09-30 11:14:03 +08:00
二货机器人
442c146e3c
refator: update rc-dialog to remove rc-animate (#26940)
* chore: bump rc-dialog

* fix 1 test case

* test case

* more test

* fix confirm test case

* clean up

* fix snapshot

* update local-provider snapshot

* update Modal snapshot

* fix test of dialog hook

* fix lint
2020-09-29 19:33:37 +08:00
forl
f6c2ffcc8f
docs: update the Chinese doc of the Search component (#26937) 2020-09-29 13:37:04 +08:00
xrk
e5eb7de417
style: optimize tag typescript define (#26932) 2020-09-29 11:06:12 +08:00
偏右
01d757b660
Merge pull request #26923 from ant-design/master
chore: merge master into feature
2020-09-28 15:35:33 +08:00
daczczcz1
493d1b148d
feat: add several translations for pl_PL locale (#26913)
* feat: add several translations for pl_PL locale

* add dangling comma
2020-09-28 14:47:42 +08:00
骗你是小猫咪
20f04e428f
docs: add Image Preview doc (#26915) 2020-09-28 14:15:23 +08:00
二货机器人
3d5f9b0ac5
chore: bump rc-notification (#26919)
* chore: bump rc-notification

* test: fix on test

* test: Fix config.test

* fix test

* fix message test case
2020-09-28 00:41:16 +08:00
Anawin W
46bbad77c4
feat: add missing translations in th_TH locale (#26906) 2020-09-26 23:07:25 +08:00
偏右
c7d376001a
fix(🐛): Steps item shifts in vertical mode (#26894)
close #26874
2020-09-25 15:43:01 +08:00
lihqi
cc37f7d189
fix: fix message.destroy parameter (#26864)
* fix: fix message.destroy parameter

* chore: use React.Key
2020-09-25 11:01:41 +08:00
Kermit Xuan
006abe5e92
chore(slider): optimize type definition (#26884) 2020-09-24 18:14:22 +08:00
zombiej
40c8fb8363 chore: merge master 2020-09-24 15:26:37 +08:00
二货机器人
80d36fb0ae
docs: Add Form.List deps faq (#26873) 2020-09-23 22:24:09 +08:00
二货机器人
2775049345
docs: Update TreeNode isLeaf desc (#26872) 2020-09-23 22:14:28 +08:00
二货机器人
1e176ed841
fix: Divider border style not work on text mode (#26863) 2020-09-23 13:33:35 +08:00
afc163
5e0352200b test: fix snapshot 2020-09-22 17:58:21 +08:00
Dmytro Gorelik
efc304c55a
style: fix RadioGroup validation error highlight (#26849) 2020-09-22 17:04:48 +08:00
zombiej
8e14a9ce9c docs: Update Form labelCol & wrapCol desc
close #26770
2020-09-22 16:58:41 +08:00
Vineet Srivastav
f2766df2e1
style: fix @link-decoration in Typography.Link (#26854) 2020-09-22 16:57:37 +08:00
Kermit Xuan
a733885b50
feat(date-picker): support custom format (#26845)
* feat(upload):  support custom format

* test: update demo snapshot
2020-09-22 15:43:11 +08:00
zombiej
b696579cd4 fix test case 2020-09-22 11:36:15 +08:00
zombiej
358c7fa4c4 chore: feature merge master 2020-09-22 10:56:04 +08:00
偏右
fc5e0a9155
test: 100% coverage (#26839)
* test: isStyleSupport

* test: 100% test coverage
2020-09-21 18:32:24 +08:00
zombiej
7f2bdb7569 test: fix test case 2020-09-21 16:39:12 +08:00
二货机器人
8315262804
docs: Add AutoComplete migrate demo (#26838) 2020-09-21 16:24:48 +08:00
Olivier Louvignes
93f2988585
chore: add FormListProps export in form/index.tsx (#26831) 2020-09-21 08:40:38 +08:00
偏右
c979850a5b
test: Motion for Collpase and Menu (#26828)
* test:  test menu and collapse motion

* chore: move openAnimation into collapse

* add test case

* rm extra openAnimation.tsx

* remove unused code
2020-09-20 21:13:43 +08:00
Tom Xu
dcdb8f5587
docs: improve from list (#26813) 2020-09-19 23:21:25 +08:00
Tom Xu
3ab71222ef
style: fix description item long text (#26820)
* style: fix description item long text

* Update index.less
2020-09-19 23:17:42 +08:00
偏右
b04d97cde2
fix: 🐛 SubMenu unexpected scrollbar (#26817)
close #26812
2020-09-18 19:44:56 +08:00
偏右
40cee55141
test: add test case for switch click effect (#26815) 2020-09-18 17:53:37 +08:00
二货机器人
ea3629deed docs: Update Tree height desc
close #26769
2020-09-18 08:58:03 +00:00
偏右
83ddfb807e
test: Enable transition and animation in jest (#26571)
* test:  add test cases to increase coverage

* test: fix snapshot

* fix: test node envioronment

* fix: test node envioronment

* fix test case

* test: refactor menu test cases

* test: update test code style

* test: add more menu test cases

* add comment

* test: update snapshot

* fix: alert test case

* fix: form onLeaveEnd test cov

* test: fix button click wave test cases

* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
偏右
2e4cbba8d7
fix: @layout-sider-background cannot set to linear-gradient (#26810)
close #26755
2020-09-18 14:29:42 +08:00
二货机器人
e5e3be6dda chore: Update rc-trigger related version (#26803)
* bump rc-select version

* bump rc-dropdown version

* bump rc-mentions version

* bump rc-picker version

* bump rc-cascader & rc-menu version

* bump rc-slider version

* update rc-motion

* update rc-select version

* rm sleep in test case

* 📦 reduce bundlesize limit to 280kb

Co-authored-by: 偏右 <afc163@gmail.com>
2020-09-18 13:06:58 +08:00
afc163
a48e2a474f test: recover test case expect 2020-09-18 13:06:20 +08:00
afc163
a8f9572944 test: ignore code which never run into 2020-09-18 13:06:20 +08:00
偏右
ae466b9eea fix: 🐛 Select search bug when input chinese (#26796)
* fix: Select search bug when input chinese

close #26790

* fix: test snapshot
2020-09-18 13:06:20 +08:00
afc163
87059cd795 docs: 📝 remove deparecated button type 2020-09-18 13:06:20 +08:00
John Bear
f0cefa57cd fix: table sticky zindex calculation (#26800) 2020-09-18 13:06:20 +08:00
二货机器人
4d098e7803 docs: Update virtual list demo (#26786) 2020-09-18 13:06:20 +08:00
偏右
f2a8712139 style: tweak button icon only align (#26785)
close #26679
2020-09-18 13:06:19 +08:00