Commit Graph

13524 Commits

Author SHA1 Message Date
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
诸岳
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
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
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
元凛
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
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
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
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
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