Commit Graph

13139 Commits

Author SHA1 Message Date
Fog3211
0e4f870453
fix: input disabled verification style(#30294) (#30302)
* fix(Input):input verification failed style when mouse hover

* fix: input disabled verification style
2021-04-25 18:04:04 +08:00
afc163
a592dd897e chore: fix table demo
close #30284
2021-04-23 16:59:16 +08:00
afc163
87df777b1b
chore: improve Select custom tag demo (#30249)
close #30224
2021-04-23 14:05:53 +08:00
叶枫
d50a8e66fb
fix: Upload drag demo (#30259) 2021-04-23 10:25:58 +08:00
afc163
2e8a129eb4
fix: Badge spin style (#30275)
close #30274
2021-04-23 10:24:06 +08:00
afc163
eec7eca5b3
Revert "fix(Badge): update cached isDotRef when isHidden (#30090)" (#30277)
This reverts commit d87901e9a5.
2021-04-23 10:23:57 +08:00
二货机器人
2140e8105b
Revert "chore: Upload BugContext (#30250)" (#30273)
This reverts commit c82eea7114.
2021-04-22 22:34:58 +08:00
二货机器人
7c2c49316b
fix: checkbox & radio in flex align (#30260)
* fix: checkbox & radio in flex align

* rm only md

* docs: Update doc

* test: Update snapshot
2021-04-22 20:15:23 +08:00
二货机器人
37c1c302b1
test: Update snapshot (#30267)
* test: Update snapshot

* test: fix open test case
2021-04-22 17:15:37 +08:00
二货机器人
c82eea7114
chore: Upload BugContext (#30250)
* chore: BugContext

* update comment

* only inject uploading fileList
2021-04-21 18:55:52 +08:00
xiejiahe
c2e0cf5154
style(typography): remove null check (#30248) 2021-04-21 16:43:01 +08:00
叶枫
662c7bbf17
fix: Table drag demo (#30246) 2021-04-21 16:22:04 +08:00
wadezhan
d9c67cec59
fix(Table): Add warning when Table current is negative number 2021-04-21 13:47:05 +08:00
Seba Kerckhof
67377f2735
fix(menu): Fix submenu padding inside an itemgroup (#30218)
* fix(menu): Fix submenu padding inside an itemgroup

* Use prefix variable

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

Co-authored-by: afc163 <afc163@gmail.com>
2021-04-21 13:14:03 +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
afc163
edb59bd2e8
fix: Button with disabled and type="link" should not clickable (#30209)
close #30207
2021-04-19 17:19:22 +08:00
xiejiahe
ca31a75d1b
style(Badge): remove null check (#30204) 2021-04-19 14:05:00 +08:00
afc163
bf350d6519
fix: link Button cursor style (#30197)
close #30043
2021-04-18 21:31:14 +08:00
hello-chinese
7be721b663
fix(types): Update Typescript definition Upload (#30188) 2021-04-18 20:28:01 +08:00
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