github-actions[bot]
5a93cc024d
chore: auto merge branchs ( #33745 )
...
chore: sync master into feature
2022-01-18 03:16:08 +00:00
VIREAK KEOSOKVIBOL
121937186b
fix: some incorrect translation for km_KH ( #33738 )
...
* Add km_KH locale to component
* Add test and docs
* Fix typo
* Add test snapshot
* Fix translation
* Add test
2022-01-17 15:13:59 +08:00
zhenfan.yu
0092253460
fix Input及相关组件设置 hidden 时展示问题 ( #33735 )
...
* fix: Image 图片底部空白 #30825
* feat: Input、Input.search、Input.Textarea、Input.password 设置 hidden 时 所有 prefix or suffix or showCount or allowClear or addonBefore or addonAfter 都应该隐藏
* fix: lint
* fix: test
* fix: test ui
2022-01-15 22:08:19 +08:00
yanm1ng
54ef44be97
docs(table): upgrade react-sortable-hoc usage ( #33729 )
...
Co-authored-by: 亦逊 <eason.ym@alibaba-inc.com>
2022-01-14 18:50:02 +08:00
Di Wu
f53e615518
fix: Invalid memoized context value in LocaleProvider ( #33723 )
...
* fix: Invalid memoized context value in LocaleProvider
* Add button type in test case.
* fix: Invalid memoized context value in Anchor
2022-01-14 18:34:27 +08:00
MadCcc
f81e392d7e
docs: add controlled preview demo for Image ( #33727 )
...
* docs: add controlled preview demo for Image
* test: update snapshot
* test: fix lint error
2022-01-14 18:24:08 +08:00
PlayerWho
e38c9c5106
fix: <Icon component={SyncOutlined} spin /> shake issue. ( #33726 )
2022-01-14 15:57:24 +08:00
toSayNothing
5f9e3a8415
fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical ( fix #33681 ) ( #33716 )
...
* Steps tail shouldn't show when type is navigation and labelPlacement is vertical (fix #33681 )
* fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical
close #33681
* fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical
close #33681
2022-01-14 13:53:08 +08:00
github-actions[bot]
7d0806ba32
chore: auto merge branchs ( #33707 )
...
branch: merge master into feature
2022-01-14 03:53:35 +00:00
afc163
80e7cc0afd
fix: <Icon component={HomeOutlined} /> align issue ( #33709 )
...
* fix: <Icon component={HomeOutlined} /> align issue
close #33703
* update snapshot
2022-01-13 20:32:09 +08:00
hydraZty
aecf52e4b0
fix: Input can not be hidden when prefix is set ( #33706 )
...
* fix: Input can not be hidden when prefix is set
* test: jest case for #33692
Co-authored-by: hydraZty <hydra_zty@163.com>
2022-01-13 16:23:27 +08:00
afc163
2d484bbe47
fix: Form validateMessages in nested ConfigProvider ( #33705 )
...
close #33691
2022-01-13 13:50:18 +08:00
MadCcc
e5451a95cb
feat: dropdown support arrow pointing at center ( #33658 )
...
* feat: add pointAtCenter prop for dropdown
* feat: dropdown support arrow pointing at center
* chore: code clean
* chore: use getPlacements in tooltip
* feat: dropdown support 'top' and 'bottom'
* chore: update snapshot
* chore: move placements to util folder
* feat: make 'topCenter' and 'bottomCenter' in Dropdown deprecated
* test: update snapshot
* test: add test for topCenter and bottomCenter
2022-01-13 13:34:34 +08:00
whwangms
1c38ef941d
fix: remove input showCount attribute from parent component ( #33686 )
2022-01-12 23:03:23 +08:00
zhenfan.yu
319d8f02ec
fix: Image 图片底部空白 #30825 ( #33631 )
2022-01-12 23:01:56 +08:00
MadCcc
29f68f9e28
fix: checkbox group support options other than string ( #33678 )
...
* fix: checkbox group support options other than string
* docs: update checkbox docs
* fix: radio group support value other than string
* fix: only support number and string
* docs: update group options type
2022-01-12 22:57:43 +08:00
afc163
7a3f7ba58c
test: improve layout demo ( #33653 )
...
* test: improve layout demo
* test: improve layout demo
* update snapshot
2022-01-12 10:40:24 +08:00
uchanlee
5fb13e9681
feat: add skeleton input block ( #33672 )
...
* feat: add skeleton input block
* update: skeleton shapshot
2022-01-11 15:12:03 +08:00
Dan Greene
a39ddcf798
feat: resolves issue 33572 re aria-sort on tables ( #33603 )
...
* feat: resolves issue 33572 re aria-sort on tables
* fixing snapshots
* removing code that can't be hit anyway
2022-01-11 13:18:42 +08:00
dimbslmh
10c3ec6b5c
fix: Warning: Encountered two children with the same key, 'seperator' ( #33649 )
...
* fix: Warning: Encountered two children with the same key, 'seperator' #33183
* eslint-disable-next-line react/no-array-index-key
Co-authored-by: dimbslmh <dimsbslmh@gmail.com>
2022-01-11 13:18:17 +08:00
二货机器人
18296d1c46
refactor: opt for typography Tooltip perf ( #33669 )
2022-01-11 12:04:50 +08:00
github-actions[bot]
44d8e382ba
chore: auto merge branchs ( #33652 )
...
branch: merge master into feature
2022-01-11 03:31:21 +00:00
qin20
fe57135e35
feat: support custom Space children key ( #33607 )
...
close #33331
Co-authored-by: 秦缘斌 <qinyuanbin@corp.netease.com>
2022-01-10 18:11:06 +08:00
二货机器人
ec5b33e949
fix: Form.Item shaking when help
is empty string ( #33644 )
...
* fix: empty help takes the line
* test: test case
2022-01-10 15:58:53 +08:00
Shanjie Chen
6e17649e48
docs(TreeSelect): add one missing field ( #33619 )
2022-01-10 09:41:57 +08:00
github-actions[bot]
172dfc9aeb
chore: auto merge branchs ( #33611 )
...
chore: merge master to feature
2022-01-07 08:16:31 +00:00
afc163
7d0193e945
style: remove svg reset styles ( #33579 )
...
see reason: 004d58b2f2
close #33573
2022-01-06 15:01:16 +08:00
Long Hao (龙濠)
5ba83cd2ec
fix: CardGridProps should expose Div Properties like onClick #33264 ( #33563 )
...
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-01-05 19:53:58 +08:00
uchanlee
8ebb4a3d23
fix: Upload types for pass generic ( #33543 )
...
* fix: Upload types for pass generic
* fix: Upload type
* refactor: Upload type
* feat: add Upload type test case
2022-01-05 19:15:28 +08:00
Jason Miller
36a5485870
fix: Avoid mutating Event properties that are supposed to be getters ( #33536 )
...
* Avoid mutating Event properties that are supposed to be getters
React's synthetic Event objects have mutable `target` and `currentTarget` properties. These are an incorrect emulation of the corresponding DOM Event properties, which are _getters_ and cannot be assigned-to. AntD's input handling attempts to assign to these getters, which fails in Preact because it uses native Event objects. The solution is to replace the simple property assignments with property definitions, which is likely smaller anyway due to the existing use of `Object.create()` to construct a prototypal facade of Event objects.
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: afc163 <afc163@gmail.com>
2022-01-04 22:41:12 +08:00
Wuif
cf5eac1a8c
fix: PageHeader state update error ( #33546 )
2022-01-04 22:28:09 +08:00
Peach
970dd8cc6c
docs: correct react-router usage for breadcrumb ( #33551 )
2022-01-04 21:45:05 +08:00
afc163
7caa03e2ef
docs: fix update demo
2022-01-04 21:44:08 +08:00
Ryan Lee
a29154e67a
docs: update upload-png-only demo ( #33544 )
...
[[English Template / 英文模板](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE.md )]
### 🤔 这个变动的性质是?
- [ ] 新特性提交
- [ ] 日常 bug 修复
- [ ] 站点、文档改进
- [x] 演示代码改进
- [ ] 组件样式/交互改进
- [ ] TypeScript 定义更新
- [ ] 包体积优化
- [ ] 性能优化
- [ ] 功能增强
- [ ] 国际化改进
- [ ] 重构
- [ ] 代码风格优化
- [ ] 测试用例
- [ ] 分支合并
- [ ] 其他改动(是关于什么的改动?)
### 🔗 相关 Issue
无
### 💡 需求背景和解决方案
无
### 📝 更新日志
| 语言 | 更新描述 |
| ------- | -------- |
| 🇺🇸 英文 | |
| 🇨🇳 中文 | |
### ☑️ 请求合并前的自查清单
⚠️ 请自检并全部**勾选全部选项**。⚠️
- [x] 文档已补充或无须补充
- [x] 代码演示已提供或无须提供
- [x] TypeScript 定义已补充或无须补充
- [x] Changelog 已提供或无须提供
2022-01-04 19:52:16 +08:00
afc163
a801933196
fix: Select tag margin issue when using tagRender ( #33539 )
...
close #33531
2022-01-04 15:11:04 +08:00
afc163
a4d139687a
fix: image demo test in argo-ci ( #33523 )
...
close #33512
2022-01-02 15:16:21 +08:00
Xi Ming
659571edae
fix missing words in commets ( #33514 )
...
Lol
2022-01-02 12:59:40 +08:00
afc163
a926aa52c6
fix: Form should have default validateMessages in en locale ( #33511 )
2021-12-31 16:56:21 +08:00
afc163
c0d2c7e8a4
chore: remove whitespace
2021-12-31 16:54:15 +08:00
二货机器人
be231f9fb5
feat: Merge TimePicker disabledXXX into disabledTime ( #33503 )
...
* feat: merge disabledXXX into disabledTime
* chore: fix ts
2021-12-31 11:28:02 +08:00
afc163
0976e9e6a4
test: add test case for #33487 ( #33492 )
2021-12-31 10:44:16 +08:00
afc163
9ec2709b16
Revert "fix: The current change of pagination triggers onChange ( #33411 )" ( #33489 )
...
This reverts commit 629caccaae
.
2021-12-30 15:15:00 +08:00
afc163
fb59bd2a47
docs: improve Cascader API documentation ( #33484 )
...
close #33477
2021-12-30 11:38:48 +08:00
MadCcc
7df1d52dee
Merge pull request #33432 from MadCcc/dev
...
fix: not allow setState in Popconfirm if unmounted
2021-12-29 17:49:15 +08:00
MadCcc
3effa51572
refactor: refactor useMounted to useDestroyed
2021-12-29 17:10:16 +08:00
MadCcc
285e2bd9ea
refactor: refactor useMountedRef to useMounted
2021-12-29 14:42:00 +08:00
Garrick Crouch
d53e16fe76
docs: Update index.en-US.md ( #33464 )
...
provide correct hash link for row selection docs to selection config anchor tag
2021-12-29 11:44:59 +08:00
二货机器人
0c621c4832
fix: input not support number value ( #33462 )
2021-12-29 11:32:49 +08:00
MadCcc
6d098783fc
test: add test for react memory leak warning in Popconfirm
2021-12-29 11:31:50 +08:00
chen-jingjie
c6188fd388
fix(Divider): with text dashed border color error ( #33452 )
2021-12-28 19:40:33 +08:00
MadCcc
19e4b578d9
chore: revert import order change
2021-12-28 17:23:43 +08:00
MadCcc
727e394d75
feat: add useMountedRef hook
2021-12-28 17:21:00 +08:00
zombiej
a90ad063af
test: Update snapshot
2021-12-28 16:17:37 +08:00
guhao.zeng
56c675cd52
fix: Dropdown button destroyPopupOnHide prop not working #33433 ( #33442 )
...
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2021-12-28 13:48:23 +08:00
WeijieChen
3324bb2f59
docs: fix version error ( #33443 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-12-28 13:29:43 +08:00
2724635499
629caccaae
fix: The current change of pagination triggers onChange ( #33411 )
...
* fix: table pagination onChange error (#33374 )
* test: add test case for this (#33374 )
2021-12-27 21:59:16 +08:00
dengqing
4f4e2f800a
Docs: fix fieldNames options typo ( #33241 )
...
* docs: tree-select fieldNames error
* docs: fix docs error
* fix: docs typo
* docs: fix fieldNames
2021-12-27 19:05:22 +08:00
MadCcc
1d738d1902
fix: not allow setState in Popconfirm if unmounted
2021-12-27 18:06:46 +08:00
zombiej
7ae451729f
test: update snapshot
2021-12-27 10:58:29 +08:00
zombiej
6ed4d855b1
Merge remote-tracking branch 'origin/master' into feature-merge-master
2021-12-27 10:45:42 +08:00
二货机器人
9c086c5328
fix: Skeleton missing style ( #33405 )
2021-12-24 14:23:32 +08:00
二货机器人
f1e0c9c1d2
chore: Internal Menu interface for ProLayout usage ( #33399 )
...
* test: Update snapshot
* chore: disable tooltip
* chore: rename
2021-12-24 10:57:35 +08:00
afc163
0edf04253e
fix: Descriptions default overflow value ( #33392 )
...
close #33316
2021-12-23 16:40:36 +08:00
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
...
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
2021-12-23 11:51:10 +08:00
binyellow
5c3e483217
docs: fixing document issues ( #33259 )
2021-12-22 17:22:15 +08:00
guhao.zeng
f1c6d37f6a
fix: Missing Catalan (ca_ES) translation key: Form.optional #33280 ( #33377 )
...
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2021-12-22 14:51:38 +08:00
二货机器人
ff88851c4c
chore: Bump Select related deps ( #33364 )
...
* chore: bump select related version
* test: Fix test case
* chore: bump rc-select version
* test: Update snapshot
* chore: Update Select ts
* test: Update snapshot
* test: Update snapshot
* test: Update snapshot
* chore: Update ts definition
* chore: fix internal ts def
* test: update auto complete snapshot
* chore: update snapshot
* chore: bump version
* chore: fix demo ts
* chore: Move ValueType to the first place
* test: Update test case
2021-12-21 21:38:11 +08:00
Sami Mäkinen
fb286612d5
chore: add sorting translations for fi_FI ( #33372 )
2021-12-21 20:02:12 +08:00
Michał Podeszwa
0f8fc6f2d2
Add Capture prop to Upload Component Typescript Definition ( #33370 )
...
Co-authored-by: Michał Podeszwa <178679-michalpodeszwa@users.noreply.gitlab.com>
2021-12-21 18:15:58 +08:00
chen-jingjie
aa64c8bf99
fix(slider): disabled rail background-color error ( #33369 )
...
Co-authored-by: chenjingjie <chenjingjie@coding.net>
2021-12-21 17:32:29 +08:00
zombiej
396cfab983
test: Update snapshot
2021-12-16 10:51:32 +08:00
zombiej
42bc6dcdef
Merge remote-tracking branch 'origin/master' into feature-merge-master
2021-12-16 10:40:55 +08:00
二货机器人
d91ebe9acf
test: fix initial test case ( #33313 )
...
* test: fix initial test case
* chore: replace with exist fn
* chore: rm dep conflict
* chore: fix dev jest env
2021-12-16 00:57:03 +08:00
afc163
b1642233e8
fix: Revert "fix: TextArea missing maxLength attr." ( #33312 )
...
* Revert "fix: TextArea missing maxLength attribute (#32448 )"
This reverts commit ee703c187e
.
* fix: snapshot
2021-12-15 21:36:36 +08:00
James
34dbf5f0a2
fix: Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug ( #31846 )
...
* Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug
* Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug
* fixed lint issues.
* change: add black list for form item name
* keep the definition the same as before
* update snapshot
* change formItemNameBlackList type to array
* add test case for form item is in black list
* add test condition
* prettier it
* change: add black list for form item name
* keep the definition the same as before
* merege from upstream
* rebase this branch
* change formItemNameBlackList type to array
* add test case for form item is in black list
* add test condition
* prettier it
* fix test case that casing by rebase
2021-12-12 14:58:49 +08:00
afc163
28855c23d9
fix: Button loading style missing in Firefox ( #33199 )
2021-12-08 18:17:01 +08:00
github-actions[bot]
d7b307926a
chore: auto merge branchs ( #33206 )
...
branch: merge master into feature
2021-12-08 10:03:11 +00:00
诸岳
602726dd63
fix(locale): Add missing zh-TW translation for Transfer ( #33209 )
...
Co-authored-by: 诸岳 <fuping.dfp@antgroup.com>
2021-12-08 17:32:26 +08:00
afc163
1db4ac2040
fix: Drawer title position ( #33205 )
2021-12-08 13:53:04 +08:00
github-actions[bot]
1f22ebb9d9
chore: auto merge branchs ( #33200 )
...
chore: sync master into feature
2021-12-08 03:35:46 +00:00
tangjinzhou
ad3ba274cd
fix: radio cursor style ( #33198 )
...
* fix: radio cursor style
* [CodeFactor] Apply fixes to commit 38721bb
[ci skip] [skip ci]
Co-authored-by: codefactor-io <support@codefactor.io>
2021-12-08 10:38:06 +08:00
afc163
2df7cc6f30
fix: Upload data
type ( #33193 )
...
* fix: Upload `data` type
* fix eslint errors
2021-12-07 21:45:11 +08:00
zhichenshaw
eb3cf792cf
docs: Update index.zh-CN.md ( #33184 )
...
修复文档中 FormInstance 的 scrollToField方法 第二个参数 options 错误的类型
2021-12-07 18:27:47 +08:00
xrkffgg
499ee6c691
test: fix Alert test ( #33167 )
...
* text: fix Alert test
* test: style
* test: up snap
* test: up
2021-12-06 11:39:37 +08:00
songlinn
d4b4edf8ef
fix: fix badge animation end not trigger when parent is display:none ( #33083 )
...
Co-authored-by: songlin.chen <songlin.chen@leyantech.com>
2021-12-06 11:23:34 +08:00
xrkffgg
a04a4efc8b
Merge pull request #33163 from ant-design/master
...
chore: merge master into feature
2021-12-05 15:22:48 +08:00
元凛
97fd6d5b03
Revert "test: fix test error"
...
This reverts commit 3881e5d787
.
2021-12-05 14:25:10 +08:00
xrkffgg
3881e5d787
test: fix test error
2021-12-05 11:49:08 +08:00
tangjinzhou
ea7c41b90a
fix: anchor add prefixCls ( #33085 )
...
Co-authored-by: undefined <undefined>
2021-12-04 17:13:00 +08:00
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
2021-12-04 17:06:36 +08:00
afc163
46e700fd87
Merge branch 'accessibility-tests' of https://github.com/StefSchenkelaars/ant-design into StefSchenkelaars-accessibility-tests
2021-12-04 00:11:41 +08:00
Tom And Jerry
e0c777d5b4
refactor: replace let with const ( #33134 )
...
* refactor: replace let with const
* refactor: replace let with const
* refactor: replace let with const
* refactor: replace let with const new
* Update components/affix/index.tsx
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: afc163 <afc163@gmail.com>
2021-12-04 00:10:59 +08:00
afc163
ef8179e6b5
chore: remove react-virtualized from demo
2021-12-04 00:01:20 +08:00
Stef Schenkelaars
98e36aa036
test: add test helper for accessibility
...
As proposed in #22343 , the components can be automatically validated
for accessibility. This adds a test helper that runs Axe to check
for accessibility violations.
2021-12-02 13:43:24 +01:00
afc163
e49a451650
fix: Select width bug when searching ( #32988 )
...
* fix: select placeholder should take place when searching
close #27688
* fix snapshot
2021-12-02 14:40:03 +08:00
hydraZty
b4b44da5d1
fix: Radio dot offset when zooming ( #33086 )
...
Co-authored-by: hydraZty <hydra_zty@163.com>
2021-12-02 11:47:13 +08:00
二货机器人
4cc055749d
refactor: Move Table rowSpan
& colSpan
demo to onCell
instead ( #33114 )
...
* docs: change doc of span demo
* docs: clear render props
2021-12-02 10:35:18 +08:00
zombiej
1698426161
test: Update snapshot
2021-12-01 22:52:49 +08:00
Frank Fang
de33041bb0
chore: refactor some code ( #33034 )
...
* Refactor some code
* Apply suggestions from code review
Co-authored-by: afc163 <afc163@gmail.com>
* [CodeFactor] Apply fixes
[ci skip] [skip ci]
* rename abbr to sizeClassNameMap
* refactor: Button size class name
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: codefactor-io <support@codefactor.io>
2021-12-01 17:53:05 +08:00
Qiuxu
9b46aa5133
fix: carousel type declaration ( #33109 )
...
fix: CarouselRef["autoPlay"] is a method instead of a boolean value
2021-12-01 16:52:22 +08:00
诸岳
69da0de845
fix(locale): Add missing zh-TW translation for Form.optional, fix #30361 ( #33108 )
...
Co-authored-by: 诸岳 <fuping.dfp@antgroup.com>
2021-12-01 16:33:41 +08:00
afc163
80a05f9d35
docs: clarify select option title doc
...
close https://github.com/ant-design/ant-design/issues/33105
2021-12-01 14:54:23 +08:00
afc163
aae945d2d6
docs: update demo
2021-12-01 13:25:35 +08:00
二货机器人
c6c0662b97
docs: Cascader displayRender data ( #33087 )
...
* docs: Cascader displayRender data
* ts: clean up
* test: Update rc-resize-observer version
* test: fix resize related test case
* chore: fix ts error
* test: Fix resize logic
2021-11-30 17:26:51 +08:00
二货机器人
97ee6df47d
fix: Back of relative ( #33070 )
2021-11-29 11:32:30 +08:00
afc163
264b3514d8
fix: TextArea height bug ( #33055 )
...
* fix: TextArea height bug when has `showCount`
close #33049
* fix snapshot
* revert form demo
2021-11-27 15:35:42 +08:00
afc163
e7f23592bc
feat: support Form labelWrap ( #33048 )
...
* feat: form label can be wrap
* fix api doc
* fix ts
2021-11-26 18:15:59 +08:00
二货机器人
2b152b0c22
feat: Support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN ( #33026 )
...
* feat: Table support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN
* docs: Update docs
2021-11-26 17:50:41 +08:00
zombiej
78a67d6615
chore: fix lint
2021-11-26 15:59:17 +08:00
zombiej
122fd8b9b9
test: Update snapshot
2021-11-26 15:49:09 +08:00
zombiej
dd1670a3b4
chore: merge master
2021-11-26 15:19:31 +08:00
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
...
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-26 12:18:21 +08:00
zombiej
24ec3ba662
chore: merge master
2021-11-26 10:15:39 +08:00
Gabriel Mendez Reyes
106679346e
fix: en-US#docs-fix Drawer closable description ( #33035 )
...
* Update index.en-US.md
* Update index.en-US.md
* Update index.en-US.md
2021-11-26 08:35:07 +08:00
shuchang
4dcc85edef
docs: fix Drawer onClose description ( #33031 )
...
Drawer 抽屉现在关闭按钮都在左上角了,描述不对
2021-11-26 08:33:23 +08:00
afc163
285fa6e407
fix: Modal centered not centered ( #33022 )
...
close #33021
2021-11-25 18:06:40 +08:00
GannonSun
d9ce96af3b
docs: fix Drawer closable description ( #33018 )
...
关闭按钮移至左上角了
2021-11-25 14:35:40 +08:00
afc163
c1b1d8c3c4
chore: fix eslint
2021-11-25 10:05:17 +08:00
wedeso
5f9ed372f4
fix: Updated translations in et_EE.tsx ( #33005 )
...
* Updated translations in et_EE.tsx
Added missing Estonian translations.
* Updated et_EE.tsx
Defined typeTemplate
2021-11-25 09:54:48 +08:00
二货机器人
e7ac69edeb
fix: Cascader typescript ( #33008 )
...
* chore: Cascsader add missing suffixIcon
* chore: export CascaderRef
* chore: Casacer type
2021-11-24 17:45:13 +08:00
zombiej
c1d17fcc82
test: Update snapshot
2021-11-24 16:53:58 +08:00
afc163
34d23c8850
fix: Input.Search enterButton don't trigger click event ( #32999 )
...
close #32993
2021-11-24 13:23:51 +08:00
二货机器人
3886ad6462
refactor: Tree support generic ( #32992 )
...
* chore: bump rc-tree
* test: add test case
* test: Add ts check
2021-11-23 23:05:49 +08:00
afc163
37442ae0d5
fix: Form layout span 24 usage ( #32981 )
...
close #32980
2021-11-23 13:15:06 +08:00
WeijieChen
38ecbd7573
fix: remove space ( #32974 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-11-22 18:40:02 +08:00
afc163
0c66aeee15
style: fix menu link color in collapsed tooltip ( #32956 )
...
close #32950
2021-11-20 18:41:57 +08:00
VIREAK KEOSOKVIBOL
f0c8402d65
feat: Add km_KH locale to component ( #32853 )
...
* Add km_KH locale to component
* Add test and docs
* Fix typo
* Add test snapshot
2021-11-20 15:02:28 +08:00
ppbl
9166e9940b
refactor: Remove unnecessary div containers ( #31492 )
2021-11-19 22:43:44 +08:00
benben
30844793a2
fix: Modal.method bodyStyle not working ( #32934 )
...
* fix: Modal.method bodyStyle失效
* test: Modal.method bodyStyle失效
* Apply suggestions from code review
Co-authored-by: 晋文涛 <jinwentao@zhaojiafang.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-18 18:29:29 +08:00
afc163
4ca697611f
chore: remove unused css code
2021-11-18 14:56:48 +08:00
huangkairan
b03fae3f70
chore: fix types declaration ( #32935 )
2021-11-18 14:39:22 +08:00
JounQin
077ff7cab1
fix: inherit itemRender
typing from rc-pagination
( #32931 )
...
fix #32878
2021-11-18 14:10:52 +08:00
JounQin
3fafb7f8d5
fix: Submit
typo ( #32933 )
...
close #32928
2021-11-18 14:03:26 +08:00
二货机器人
b0e7dd5883
refatcor: Move mixins back ( #32920 )
2021-11-17 22:36:51 +08:00
二货机器人
39f7ec5fdb
fix: Tabs editable missing remove icon style in dropdown ( #32919 )
2021-11-17 22:35:27 +08:00
afc163
2424a1abf1
style: fix placholder color missing ( #32915 )
2021-11-17 18:46:50 +08:00
Michał Podeszwa
892bf99321
feat: Expand pl_PL translations to latest translation spec ( #32896 )
...
Co-authored-by: Michał Podeszwa <178679-michalpodeszwa@users.noreply.gitlab.com>
2021-11-17 11:49:21 +08:00
zombiej
a008ebb118
docs: Update Cascader changeOnSelect desc
...
close #32886
2021-11-17 11:06:30 +08:00
二货机器人
899af6761e
fix: Move variable related code to theme file ( #32887 )
2021-11-16 14:44:33 +08:00
afc163
c92138d5d2
style: use @height-base in PageHeader ( #32883 )
...
close #32871
2021-11-16 13:11:51 +08:00
二货机器人
870b72af88
docs: 4.17.0 changelog ( #32859 )
...
* docs: 4.17.0 changelog
* test: Update snapshot
* docs: Update desc
* docs: merge changelog
2021-11-15 19:35:25 +08:00
Karott Schu
491cc4f7ae
fix: borderLeftRadius error for Input.Search #32808 ( #32812 )
...
close #32808
2021-11-13 15:37:27 +08:00
github-actions[bot]
bac876a14d
chore: auto merge branchs ( #32839 )
...
chore: sync master to feature
2021-11-12 07:15:31 +00:00
afc163
958df3dd07
docs: add demo for Input.Group ( #32837 )
...
https://weibo.com/2259174311/L0gtIjb3Z
2021-11-12 14:47:53 +08:00
二货机器人
ce006bd44e
docs: Version Robin ( #32830 )
2021-11-12 11:46:42 +08:00
afc163
3f495bb56d
chore: Upgrade react router v6 ( #32821 )
...
* chore: upgrade react-router to v6
close #32809
close #32774
* fix test
* fix test
* fix test
* fix test
2021-11-11 21:34:07 +08:00
afc163
7ed7c60aa6
style: fix Tree icon align bug ( #32822 )
2021-11-11 19:18:18 +08:00
seaSuper
9bc148abcc
feat: ConfigProvider add form colon ( #32818 )
...
* feat: ConfigProvider add form colon
* add: test for ant-design#32799
* fix: Modify FormItemLabel get ConfigColon from From
* refactor: Simplify the code
2021-11-11 17:51:33 +08:00
陈帅
01887b4779
fix: if breadcrumbRender return false, breadcrumb will hidden ( #32738 )
...
* fix: if breadcrumbRender return false, breadcrumb will hidden
* add testd
2021-11-10 15:15:02 +08:00
jiang
5f642cbc9e
fix: tag animation demo ( #32804 )
2021-11-10 13:12:57 +08:00
jiang
852a451477
chore(Tag): update tween-one ( #32800 )
...
close #32731
2021-11-10 09:56:16 +08:00
九思⚡⚡⚡
90aff3a517
docs: fix Spin API ts description ( #32786 )
...
Co-authored-by: DanielLeefu <you@2228429150@qq.com>
2021-11-08 21:18:17 +08:00
afc163
8a3b5d9f3c
fix: Form horizontal broken style when select item is too long ( #32778 )
...
close #32777
2021-11-08 17:27:03 +08:00
Pob Ch
a73f4a324f
docs: Fix the link in Table's API doc ( #32779 )
...
- Fix FilterDropdownProps link in table/index.en-US.md
- Fix FilterDropdownProps link in table/index.zh-CN.md
2021-11-08 16:28:16 +08:00
solitia7125
b1ea2e4c55
fix: opening animation of the bottom drawer ( #32761 )
...
Co-authored-by: Korra <1178115756@qq.com>
close #32621
2021-11-05 18:45:46 +08:00
Jiajun Chen
10a8578bf9
fix: Spin tip can be react node ( #32733 )
...
Though this may be opposed to the design. It may be useful to people who want to have complicated tip content.
2021-11-05 18:44:49 +08:00
二货机器人
f88bd4d2af
refactor: Move part mixins less to theme instead ( #32763 )
...
* refactor: Move theme related variables
* chore: move rest motion
* chore: trigger CI
* chore: steps by steps
* chore: back order
* docs: Update docs
2021-11-05 17:22:41 +08:00
afc163
5360722e5c
chore: update form demo
2021-11-05 15:51:50 +08:00
afc163
0224151484
fix: tweak Steps vertical progressDot style ( #32742 )
...
close #32737
2021-11-04 19:06:31 +08:00
二货机器人
9fa79dc09d
fix: Input disabled should not keep focus style ( #32739 )
2021-11-04 16:49:57 +08:00
hydraZty
c179c39a3b
fix: Typography ellipsis with 1 row doesn't wrap ( #32735 )
...
Co-authored-by: ext.zhangtianyi3 <ext.zhangtianyi3@360buyad.local>
2021-11-04 15:38:33 +08:00
Miloud Belaabed
884c8ef5a3
fix: table loading css error when sticky is true ( #32703 )
...
* Table loading css error when sticky is true
* [CodeFactor] Apply fixes to commit dc1a930
[ci skip] [skip ci]
* fix Table loading css error when sticky is true
* Fix table loading css error when sticky is true bug
* Update index.less
Co-authored-by: Miloud Belaabed <m.belabed@itihad.me>
Co-authored-by: codefactor-io <support@codefactor.io>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-31 17:43:34 +08:00
github-actions[bot]
439598c136
chore: auto merge branchs ( #32704 )
...
chore: sync master into feature
2021-10-31 07:25:06 +00:00
Austaras
d1f87ccc80
feat: input number support prefix ( #32600 )
2021-10-30 22:25:12 +08:00
afc163
a0982081fa
style: fix Card tabs of left position ( #32695 )
...
close #32673
2021-10-30 14:46:34 +08:00
二货机器人
184402a9bc
feat: Form.Item no longer need fieldKey
anymore ( #32689 )
...
* chore:Update Form to remove fieldKey
* fix: fieldKey cache logic
* test: Update snapshot
* chore: clean up
2021-10-29 18:24:50 +08:00
afc163
e40b02b544
docs: fix List demo
...
close #32685
2021-10-29 15:56:41 +08:00
github-actions[bot]
5a1d8159b1
chore: auto merge branchs ( #32686 )
...
chore: feature merge master
2021-10-29 07:32:58 +00:00
WeijieChen
b4d16125dd
docs: add Version ( #32678 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-29 08:50:01 +08:00
WeijieChen
70e1d6a1d0
feat: Modal.xxx support wrapClassName prop ( #32676 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-28 18:41:30 +08:00
WeijieChen
4d9b6dc74e
docs: form register demo add textarea item ( #32669 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-28 12:26:18 +08:00
afc163
7065e03493
style: fix Upload picture loading style ( #32664 )
2021-10-27 18:32:40 +08:00
hydraZty
a35b567135
fix: Collapse style issue when expandIconPosition is right ( #32648 )
...
Co-authored-by: ext.zhangtianyi3 <ext.zhangtianyi3@360buyad.local>
2021-10-27 12:02:18 +08:00
WeijieChen
16bb5489e6
feat: add showCancel prop for popconfirm ( #32620 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-26 19:12:08 +08:00
Chang Wei
a09e1ad921
fix: Avoid selecting the placeholder of input control on Chrome browser, keep consistent of selection behavior with Firefox browser ( #32639 )
2021-10-26 13:33:21 +08:00
Jtree03
0e7d82bdb4
refactor: Use getKeyThenIncreaseKey in message notice function ( #32642 )
2021-10-26 13:17:21 +08:00
Steven.zhong
abc689b796
chore: document and typescript definition update ( #32625 )
2021-10-25 19:43:17 +08:00
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 ( #32609 )
...
* chore(deps): update dependency stylelint to v14
* Update package.json
* fix some stylelint
* fix some stylelint
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-22 13:35:36 +08:00
Kayson Wu
2769f44536
feat: add loading
prop for Dropdown.Button ( #32467 )
...
close #24017
2021-10-21 21:07:55 +08:00
github-actions[bot]
c8150f872d
chore: auto merge branchs ( #32585 )
...
chore: sync feature into master
2021-10-21 05:42:17 +00:00
hydraZty
9fe5820cf0
fix: Typography ellipsis height error ( #32496 )
2021-10-21 13:22:13 +08:00
afc163
38b94e5aeb
fix: Transfer menu item key warning ( #32578 )
...
* fix: Transfer menu item key warning
close #32574
* chore: skip tree demo in UI test
2021-10-20 18:19:20 +08:00
叶枫
7d68eca271
docs: add doc ( #32570 )
...
* feat: add doc
2021-10-20 12:23:56 +08:00
github-actions[bot]
ce8454f369
chore: auto merge branchs ( #32562 )
...
chore: sync master into feature
2021-10-19 12:02:26 +00:00
二货机器人
2bb9407f5f
chore: table support rowSpan hover ( #32557 )
2021-10-19 15:27:37 +08:00
D-to-the-K
0a8065e5bd
fix: DirectoryTree keyboard error ( #32551 )
...
* Fix bug in keyboard navigation
When selecting a node using the keyboard (spacebar), the event received by onSelect has an undefined MouseEvent. Keyboard navigation was not possible because an error was thrown when trying to access properties from the undefined nativeEvent. We are now testing if nativeEvent is defined before accessing its properties.
* fix: DirectoryTree throws error during keyboard navigation
2021-10-19 13:05:17 +08:00
chen-jingjie
413d979731
fix(pagination): simple-pager input
no box-shadow ( #32528 )
...
Co-authored-by: chenjingjie <chenjingjie@coding.net>
2021-10-18 21:52:59 +08:00
chen-jingjie
204af50bff
fix(Message): typescript type error ( #32524 )
...
Co-authored-by: chenjingjie <chenjingjie@coding.net>
2021-10-18 10:22:27 +08:00
WeijieChen
e0de0249b2
feat: input support show count ( #32522 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-15 16:23:47 +08:00
renovate[bot]
14fa342da3
chore(deps): update dependency eslint to v8 ( #32501 )
...
* chore(deps): update dependency eslint to v8
* fix eslint errors
* fix eslint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-15 11:19:14 +08:00
renovate[bot]
94b21979e0
chore(deps): update dependency @typescript-eslint/parser to v5 ( #32500 )
...
* chore(deps): update dependency @typescript-eslint/parser to v5
* fix md lint
* fix eslint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-15 09:30:56 +08:00
二货机器人
7c330b77d1
chore: Adjust Collapse header style ( #32492 )
...
* chore: Adjust collapse header style for align
* chore: replace variable
* test: Update snapshot
2021-10-14 17:16:38 +08:00
afc163
21d6d10af6
docs: improve alert loop demo ( #32488 )
...
* docs: improve alert loop demo
- react-text-loop => react-text-loop-next
- adding demo of react-fast-marquee
* update snapshot
2021-10-14 15:48:33 +08:00
liuxulian
b8f8e995ec
fix: selected text weight depend hx tag ( #32486 )
...
* fix: selected text weight depend hx tag
* fix: selected text weight depend hx tag
* fix: selected text weight depend hx tag
* fix: selected text weight depend hx tag
* fix: selected text weight depend hx tag
Co-authored-by: liuxulian.lxl <liuxulian.lxl@antgroup.com>
2021-10-14 15:04:32 +08:00
afc163
827225b895
chore: replace demo image to public avatar resources ( #32479 )
...
* docs: replace avatar image to joeschmoe placeholder
* docs: usage randomme avatar url
2021-10-14 12:09:07 +08:00
afc163
ec625a00db
chore: fix divider stylelint errors ( #32473 )
2021-10-13 19:45:49 +08:00
afc163
be064df13b
Merge pull request #32472 from ant-design/master
...
chore: sync master into feature
2021-10-13 19:17:48 +08:00
afc163
8cafb114a7
docs: react-infinite-scroller => react-infinite-scroll-component ( #32469 )
...
* docs: react-infinite-scroller => react-infinite-scroll-component
close #32388
* update
* replace recommendataion
* update snapshot
2021-10-13 18:59:17 +08:00
chen-jingjie
1ca290eb27
feat(Alert): Custom closeIcon ( #32345 )
...
Co-authored-by: chenjingjie <chenjingjie@coding.net>
2021-10-13 18:58:30 +08:00
afc163
0313871c16
fix: Radio type cannot be override ( #32463 )
...
close #32459
2021-10-13 17:13:07 +08:00