Commit Graph

21332 Commits

Author SHA1 Message Date
二货机器人
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
谭真
678cf4948b
docs: update customize-theme-variable.md (#33272) 2021-12-12 21:37:14 +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
xrkffgg
3977881a6b
ci: fix footer click (#33214) 2021-12-09 10:44:32 +08:00
afc163
6ea37b560c
docs(): release 4.17.3 (#33213) 2021-12-08 18:35:01 +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
xrkffgg
90f062e339
ci: fix checkout version (#33164)
* ci: fix checkout version

* chore: add more
2021-12-05 11:37:54 +08:00
元凛
830d3a50c1 docs: update badge 2021-12-05 10:28:17 +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
dependabot[bot]
b9a381e51d
chore(deps-dev): bump jsdom from 18.1.1 to 19.0.0 (#33156)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 18.1.1 to 19.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/18.1.1...19.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-04 00:36:24 +08:00
afc163
9f78bf2159 Merge branch 'StefSchenkelaars-accessibility-tests' 2021-12-04 00:16:40 +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
afc163
bcb5002f08 chore: fix ci in npm 8 2021-12-04 00:01:20 +08:00
dependabot[bot]
f0fb377d14
chore(deps-dev): bump react-helmet-async from 1.1.2 to 1.2.0 (#33133)
Bumps [react-helmet-async](https://github.com/staylor/react-helmet-async) from 1.1.2 to 1.2.0.
- [Release notes](https://github.com/staylor/react-helmet-async/releases)
- [Commits](https://github.com/staylor/react-helmet-async/commits)

---
updated-dependencies:
- dependency-name: react-helmet-async
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-03 15:05:04 +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
二货机器人
441eb649bd
chore: bump version (#33124) 2021-12-02 13:59:22 +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
xrkffgg
a95030c641
ci: fix site deploy 2021-11-27 22:51:11 +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
2ab4e565d6
docs(): release 4.17.2 (#33051)
* docs(): release 4.17.2

* docs(): release 4.17.2
2021-11-26 17:50:25 +08:00
二货机器人
90bfbe2a62
Merge pull request #33045 from ant-design/opt-theme
chore: Speed up site build preview speed
2021-11-26 15:07:02 +08:00
zombiej
ea5bb0fa65 chore: speed up site build mode 2021-11-26 14:42:27 +08:00
zombiej
142bda852f chore: opt of theme gen 2021-11-26 14:13:47 +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
afc163
6f837e0f46 chore: upgrade @ant-design/bisheng-plugin 2021-11-26 09:22:40 +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
ededd9a1b3
chore: use https://new-issue.ant.design back (#33029)
* Rename template-1-bug-report.yml to template-1-bug-report.yml.close

* Update config.yml

* Rename template-2-feature-request.yml to template-2-feature-request.yml.close
2021-11-25 20:03:07 +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