Commit Graph

13119 Commits

Author SHA1 Message Date
i3web
6407eac688
docs: update onChange description of Pagination component (#30166)
* docs: update onChange description of Pagination component

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

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

Co-authored-by: 楼航飞 <hangfei.lou@datayes.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-04-18 13:43:59 +08:00
einq7
4b376d0171
docs: perfect validateTrigger description (#30182) 2021-04-17 09:50:21 +08:00
serializedowen
b8193cf97d
fix: typo fix in <Table /> doc (#30167)
fix: typo fix in <Table /> doc
2021-04-16 14:40:29 +08:00
xiejiahe
65c71769ca
style(BreadcrumbItem): Condition check (#30148) 2021-04-15 11:55:35 +08:00
xiejiahe
1d5613ebc4
style(useSelection): Consider using '!==' instead of negating '===' result (#30140) 2021-04-14 22:28:48 +08:00
琚致远
2c68352367
docs: fix typo on the normal-login page (#30132)
* fix: fix typo on the normal-login page

* Update advanced-search.md

* Update form-in-modal.md
2021-04-14 19:00:01 +08:00
骗你是小猫咪
96c7ecbe77
test: fix loading cause visual test fail (#30135) 2021-04-14 10:08:20 +08:00
itibbers
c95e72cb3c
docs: add version of Form.Item hidden (#30134) 2021-04-14 09:34:05 +08:00
Themi Tsiotas von Pfaler
3d40656aed
fix: add da_DK locale TimePicker range placeholder (#30128) 2021-04-13 20:50:33 +08:00
二货机器人
3cfda1042e
fix: TextArea onChange event obj (#30124) 2021-04-13 15:42:43 +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
zombiej
bbbb7f573c docs: Update from faq 2021-04-12 17:48:28 +08:00
Kermit
1542820bc3
fix(tabs): centered prop is not working (#30106) 2021-04-12 16:22:45 +08:00
wangao
fbb89242f4
fix(local): add preview in zh_HK and zh_TW (#30100) 2021-04-12 11:39:49 +08:00
xrkffgg
e8b4d03265
test: add more space test (#30099) 2021-04-12 11:20:57 +08:00
wangao
d87901e9a5
fix(Badge): update cached isDotRef when isHidden (#30090) 2021-04-11 13:37:46 +08:00
xiejiahe
eca9767ba0
docs(Avatar): add draggable api (#30073)
* docs(Avatar): add draggable api

* docs(Avatar): add draggable api
2021-04-10 13:37:02 +08:00
Gamote
a7130187ed
fix: undefined was added to the SelectValue type (#30068)
* Fix: `undefined` was added to the SelectValue type

* fix: `undefined` was added to the SelectValue type
2021-04-10 13:35:08 +08:00
二货机器人
793abf4284
fix: TextArea control with maxLenght (#30070)
* fix: Textarea control missing maxLength

* docs: Clean up
2021-04-09 13:11:18 +08:00
二货机器人
33dbd3f4f1
fix: Table flex pagination (#30065)
* fix: Table flex pagination

* update style
2021-04-08 20:47:19 +08:00
大猫
05127d564a
fix: PageHeader tabs remove padding setting (#29819)
* fix: PageHeader tabs remove padding setting

* fix: only change padding top and bottom
2021-04-08 20:08:29 +08:00
wangao
bee77c3362
fix: add forwardRef to CheckBoxGroup for v3 compatibility (#30039)
* fix: add forwardRef to CheckBoxGroup for v3 compatibility

* tests: add CheckboxGroup forwardRef test
2021-04-08 14:36:50 +08:00
jinchaofs
aa9fac49f7
fix: [Transfer] The box-shadow of the bottom button is not visible (#30030)
Co-authored-by: jinchao.li <jinchao.li@cyclone-robotics.com>
2021-04-06 14:25:16 +08:00
云剪者
f5d6756d77
docs: fix the align - items (#30022) 2021-04-06 10:17:45 +08:00
undefined
2ca113afd5
fix: Cannot read property 'removeChild' of null (#29961)
* fix: undefined error

fix: undefined error

* fix: exec order
2021-04-03 22:31:13 +08:00
afc163
87c8b5a180
fix: Button align issue (#30006)
close #29978
2021-04-03 22:27:46 +08:00
afc163
13a829d20c
fix: classNames typing errors (#30018) 2021-04-02 22:37:36 +08:00
Kermit
dda9f61458
fix(tabs): can't scroll when vertical mode in safari (#29983)
* fix(tabs): can't scroll when vertical mode in safari

* fix: typo

* fix: operation button
2021-04-01 11:33:13 +08:00
lijianqiang0502
d05ff8e777
docs: Update Tag index.zh-CN.md (#29982)
* Update index.zh-CN.md

增加文档api可读性,避免因tag closable的默认行为给用户造成预期之外的错误

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
2021-04-01 11:26:39 +08:00
einq7
04fa4fce39
docs: fix treeDataSimpleMode type (#29984) 2021-04-01 09:34:47 +08:00
zombiej
3d7f077539 docs: Fix doc typo 2021-03-31 16:07:24 +08:00
Caspian Chen
453d278a5c
fix: @table-border-radius-base没有被应用到.ant-table节点上 (#29966) 2021-03-31 15:36:30 +08:00
Ignatius Aggrey
e32c881cd0
fix: Change type of Popconfirm props: okButtonProps to ButtonProps (#29928)
* Change type of Popconfirm props: okButtonProps to ButtonProps

According to the Popconfirm API docs the type of the type of the props okButtonProps and cancelButtonProps is ButtonProps In the actual code however it is was typed as NativeButtonProps causing type errors when using ButtonProps like 'href'

* fix: Remove unused NativeButtonProps
2021-03-31 09:42:13 +08:00
MaoXiangming
b5c8bcd409
fix: add es_Es locale Table 'selectNone' field (#29962) 2021-03-31 09:25:30 +08:00
xrkffgg
7f15e7f38e
fix: Descriptions labelStyle unsuccessful (#29942)
* fix: Descriptions labelStyle unsuccessful

* use hook

* Update components/descriptions/demo/style.md

* fix lint

* fix ts
2021-03-30 17:38:50 +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
二货机器人
1a3c8f2272
Merge pull request #29929 from ant-design/master
chore: feature merge master
2021-03-29 11:28:43 +08:00
二货机器人
7fe8f0469c
refactor: Remove useless code (#29931)
* refactor: Remove useless code

* rm useless code
2021-03-29 11:02:58 +08:00
afc163
077443696b docs: fix Form requiredMark demo
close #29921
2021-03-28 16:22:00 +08:00
einq7
4f52d7f964
docs: fix typography mistake in Upload section (#29912) 2021-03-26 11:51:39 +08:00
Guru Mahendran
7e6bfa4a8c
chore: fix typo initTreeDate -> initTreeData (#29911) 2021-03-26 10:44:54 +08:00
undefined
ba9323decb
Fix Button Wave Effect in shadow root (#29897)
* fix wave effect for shadow dom

fix

* fix: wave tests

components are inside shadow dom, test fail because they are looking for a style element outside of the shadow dom, they fail because style is now placed (as expected) inside the shadow dom

* fix: typeguard

* fix: use updateCSS api
2021-03-25 11:57:49 +08:00
isakol
d9885c7be0
feat: improve sv_SE locale (#29896) 2021-03-25 09:24:04 +08:00
kily zhou
59c3c71b72
feat: Table adds rowSelection.defaultSelectedRowKeys (#29879) 2021-03-25 09:11:39 +08:00
afc163
afbbeb5337
fix: Pagination focus style stay after interaction (#29891)
close https://github.com/react-component/pagination/pull/329
close #29882
2021-03-24 17:54:54 +08:00
afc163
603c0c1733
fix: Steps progress item cut at edge (#29893)
close #29824
2021-03-24 17:51:15 +08:00
SyMind
a142969986
fix(pagination): Unexpected input height (#29886)
When use modifyVars to override the `input-height-base`, the quick jumper input height expected `input-height-base`, but not really.
2021-03-24 17:28:51 +08:00
yaoweiprc
ed37b80d11
docs: Update dynamic-form-items.md (#29807)
* Update dynamic-form-items.md

原来的代码只有在使用Space包裹多个Form.Item的时候可以跑起来,如果把Space换成div或者其它组件,点击Add Field之后,因为多个Form.Item 通过 {...restField} 指定了相同的key,浏览器会报 Encountered two children with the same key, `0`. Keys should be unique so that components maintain their identity across updates.
换成这种restField的写法可以避免这个问题,让不使用Space包裹多个Form.Item的场景也能跑通不报错。

* Update components/form/demo/dynamic-form-items.md

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

Co-authored-by: afc163 <afc163@gmail.com>
2021-03-24 12:24:22 +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
Bernard Niset
e49281c7f5
feat: Apply ConfigProvider componentSize on Tabs component (#29844) 2021-03-24 12:23:24 +08:00
二货机器人
462386a9ab
chore: Rm tag hover style (#29874) 2021-03-23 15:22:39 +08:00
二货机器人
5f38753f6c
fix: align TextArea maxLength logic (#29867)
* fix composition

* fix input

* update doc

* fix tst

* more test case

* more test case
2021-03-23 15:03:47 +08:00
CodingYingYingYing
a21c1a88c1
fix: Typography.Paragraph\Text\Title ts (#29787)
* fix: Typography.Paragraph\Text\Title ts

* feat: add doc

* feat: title ts

* feat: cr

* chore: revert

* chore: ts

* feat: doc/sort & drop onChange
2021-03-23 13:32:37 +08:00
github-actions[bot]
a87ae51460
chore: auto merge branchs (#29865)
chore: merge master into feature
2021-03-22 12:49:22 +00:00
Bernard Niset
76a96965ee
feat: Add form translations to fr_FR i18n (#29839) 2021-03-20 23:02:14 +08:00
MaoXiangming
8ff10277e1
fix: table demo drag-sorting drag error (#29825)
close #29800
2021-03-19 17:06:33 +08:00
二货机器人
2e35b4ee05
refactor: use rc-util for csp (#29804)
* refactor: use rc-util for csp

* update icons version

* add csp support

* update deps
2021-03-19 16:23:25 +08:00
afc163
99289a0856
style: better Checkbox/Radio label text layout (#29788)
* style: optimize checkbox label text layout

* style: optimize radio label text layout

* fix transfer checkbox position

* fix checkbox align issue in Transfer

* fix snapshot
2021-03-17 14:56:32 +08:00
afc163
92bc5dfdcd
fix: Tabs active item width changes (#29781)
close #29532
2021-03-16 14:44:06 +08:00
xrkffgg
b5ac892ada docs: perf website 2021-03-16 09:33:16 +08:00
杨兴洲
d775fb830d
docs: fix ConfigProvider doc typo (#29776) 2021-03-15 22:40:40 +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
陈帅
45b9731df0
Merge pull request #29762 from ant-design/feature
chore: merge feature into master
2021-03-14 17:10:37 +08:00
Amumu
e2eb810ed3
feat: add fr_CA locale (#29748) 2021-03-14 16:47:32 +08:00
陈帅
ecf4bbe15d
Merge pull request #29761 from ant-design/feature
Feature
2021-03-14 16:38:43 +08:00
xrkffgg
8622c39f29 docs: update typography api show 2021-03-14 16:35:09 +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
Tianyuan Zhang
691e5b6956
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>
2021-03-13 22:00:42 +08:00
二货机器人
37bff5d5fd
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
2021-03-12 18:58:57 +08:00
afc163
462c7fcdf8 fix snapshot 2021-03-12 17:23:27 +08:00
jinchaofs
2c262dd3ec
fix: Tabs centered property invalid (#29495)
close https://github.com/ant-design/ant-design/issues/29482

Co-authored-by: jinchao.li <jinchao.li@cyclone-robotics.com>
2021-03-12 15:36:46 +08:00
github-actions[bot]
34e7dca02f
chore: auto merge branchs (#29733)
chore: merge master into feature
2021-03-11 15:40:26 +00:00
afc163
fbe02ceed3
fix: AutoComplete custom input element className (#29725)
* test: add test case

* upgrade select version

* fix test case

* fix snapshot
2021-03-11 23:11:51 +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
xrkffgg
52152ed384
fix: row warning when set margin (#29688)
* fix: row warning when set margin

* fix
2021-03-11 10:44:18 +08:00
einq7
1fa02cba7d
docs: add editable in column api (#29708)
* docs: add editable in column api

* Remove extra column
2021-03-10 23:20:11 +08:00
二货机器人
ca52defcbf
fix: Internal upload list should always keep (#29702) 2021-03-10 17:32:32 +08:00
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