github-actions[bot]
73d0a9bc30
chore: auto merge branches ( #40086 )
...
chore: feature merge master
2023-01-08 04:41:22 +00:00
lijianan
80498afea6
test: refactor test case CC => FC ( #40068 )
2023-01-06 16:48:44 +08:00
github-actions[bot]
e847dddd9e
chore: auto merge branches ( #40005 )
...
chore: feature merge master
2023-01-04 10:26:20 +00:00
linxianxi
532da4c77a
feat(ConfigProvider): add form scrollToFirstError ( #39509 )
...
* feat(ConfigProvider): add form scrollToFirstError
* modify
* format code
* 修改 md
* 解决文件名大小写问题
* 解决文件名大小写问题
2023-01-03 09:56:47 +08:00
lijianan
59a332bf47
chore: use React.useContext() replace <Context.Provider /> ( #39950 )
...
* chore: use React.useContext() replace <Context.Provider />
* fix
* fix
* fix
* fix
* fix
2023-01-01 21:17:05 +08:00
lijianan
3ed7ec906e
chore: remove useless tsx support ( #39890 )
...
* chore: remove useless tsx support
* add
* add
* style
* fix lint
* fix lint
* fix lint
* update locale entry
* update locale entry
* update locale entry
* delete useless style
2022-12-31 22:24:55 +08:00
lijianan
9aec72c395
chore: remove useless tsx support ( #39890 )
...
* chore: remove useless tsx support
* add
* add
* style
* fix lint
* fix lint
* fix lint
* update locale entry
* update locale entry
* update locale entry
* delete useless style
2022-12-29 18:33:13 +08:00
MadCcc
386588dd2b
chore: update test ( #39824 )
...
* chore: update test
* chore: code clean
2022-12-27 11:49:09 +08:00
MadCcc
663d1454f2
chore: fix ci ( #39811 )
...
* chore: fix ci
* chore: code clean
* chore: update form test
* chore: test
2022-12-26 15:48:50 +08:00
Peach
6236e356b5
docs: update all site anchors ( #39687 )
...
* docs: update all site anchors
* docs: handle hash change from Link component
2022-12-22 14:12:26 +08:00
MadCcc
bd15aaedd6
Merge branch 'master' into feature-merge-master
2022-12-18 14:28:58 +08:00
二货爱吃白萝卜
b04b759597
docs: Add Form prefix demo ( #39580 )
...
* docs: Add prefix demo
* test: update snapshot
2022-12-15 16:01:52 +08:00
Amumu
ca5b9a6ae0
docs: CN
it. ( #39519 )
2022-12-13 15:49:05 +08:00
lijianan
12543277b7
type: remove tuple、tupleNum、ElementOf ( #39478 )
...
* type: remove tuple
* type: remove tuple
* type: remove tuple
* fix
* fix
* fix type
* fix type
* fix type
* fix type
* fix type
* Update ColorPicker.tsx
* Update components/badge/utils.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* fix type
* fix type
* fix type
* fix
* fix
* fix type
* fix type
* fix type
* update snap
* update snap
Co-authored-by: MadCcc <1075746765@qq.com>
2022-12-13 14:57:40 +08:00
Amumu
d689c7b855
feat: Remove locale-provider ( #39373 )
...
* feat: remove locale-provider
* chore: fix lint
* Empty-Commit
* test: remove test
* Revert "test: remove test"
This reverts commit 4f6b59883f6bf078f21a10898ef913c9e2adb913.
* chore: 阶段性兼容
* fix lint
* fix: fix lint
* fix: add index
* docs: update docs
* docs: update
* docs: update
* docs: update
2022-12-09 15:04:08 +08:00
renovate[bot]
a2305aa291
chore(deps): update dependency scroll-into-view-if-needed to v3 ( #39230 )
...
* chore(deps): update dependency scroll-into-view-if-needed to v3
* fix: ts error
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-12-07 13:56:18 +08:00
wangxingkang
2ad7a98368
chore: unify useContext usage ( #39314 )
...
* feat: replace useContext to React.useContext
* docs(checkbox): update defaultValue、value type
2022-12-06 21:09:59 +08:00
huangkairan
8cb46243fd
docs: remove v3 to v4 migration docs ( #39290 )
...
* docs: remove v3 to v4 migration docs
* update
Co-authored-by: huangkairan <wb-hkr877030@alibaba-inc.com>
2022-12-06 20:11:22 +08:00
afc163
e975e5d41d
chore: update tree snapshot ( #39242 )
...
* chore: update tree snapshot
* chore: bump rc-util
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-12-05 11:35:37 +08:00
Dave
337703d550
refactor(type): replace interface with type for export component ( #39060 )
2022-12-01 14:33:51 +08:00
二货爱吃白萝卜
134647d12f
fix: form responsive logic ( #39130 )
2022-12-01 10:37:52 +08:00
MadCcc
e7edfa42d7
docs: update overview img ( #38946 )
...
* docs: update overview img
* chore: code clean
* chore: code clean
* chore: update
* chore: code clean
2022-11-30 20:14:41 +08:00
二货爱吃白萝卜
50377083ba
fix: form missing motion validate ( #38962 )
...
* fix: form missing motion validate
* test: Update snapshot
2022-11-24 21:43:35 +08:00
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs ( #38902 )
...
* refactor: Optimize theme export and add docs
* chore: fix lint
* chore: fix lint
* chore: fix lint
2022-11-23 20:22:38 +08:00
二货机器人
b9cab0fa2e
chore: add FormItemInputContext for v3 compatible usage
2022-11-22 11:40:17 +08:00
Sonu Sharma
7728eec447
docs: spelling and grammar fix ( #38743 )
2022-11-19 22:56:58 +08:00
二货爱吃白萝卜
c511557e76
fix: style parse error ( #38742 )
2022-11-19 21:49:11 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
lijianan
c39e1223f8
chore: type optimization ( #38698 )
...
* chore: type optimization
* fix: rename direction
* Update index.tsx
2022-11-18 23:11:03 +08:00
afc163
ac143ffb4d
docs: fix component demo column number ( #38631 )
...
* docs: fix component demo column number
* test: skip test case
2022-11-17 18:28:13 +08:00
afc163
e027cbec1c
docs: format all markdown ( #38629 )
...
* chore: add prettier-ignore in markdown demo
* docs: format markdown api table
* docs: format markdown api table
2022-11-17 17:31:26 +08:00
MadCcc
ab4bcc4463
Merge branch 'master' into next-merge-master
2022-11-17 14:04:31 +08:00
Wuxh
4bc23b3ca6
chore: fix the wrong link address ( #38543 )
...
* chore: fix the wrong link address
repo: https://github.com/ant-design/u.ant.design
* Revert "chore: fix the wrong link address"
This reverts commit 63e50f426a
.
* one more time
2022-11-14 16:32:34 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade ( #38328 )
...
* build: try to use dumi as doc tool
* docs: migrate demo structure to dumi way
* refactor: use type export & import
* docs: migrate demo previewer to dumi
* docs: create empty layout & components
* docs: apply custom rehype plugin
* docs: create empty extra pages
* docs: Add Banner component
* chore: move theme tsconfig.json
* docs: home page init
* docs: migrate header (#37896 )
* docs: header
* docs: update
* docs: home init
* clean up
* test: fix site lint
* chore: tsc ignore demo
* chore: dumi demo migrate script
* chore: cards
* docs: home layout
* docs: Update locale logic
* docs: fix getLink logic
* chore: fix ci (#37899 )
* chore: fix ci
* ci: remove check-ts-demo
* ci: preview build
* test: ignore demo.tsx
* chore: update script
* test: update snapshot
* test: update node and image test
* chore: add .surgeignore
* docs: layout providers (#37908 )
* docs: add components sidebar (#37923 )
* docs: sidebar
* docs: update docs title
* docs: update design doc
* chore: code clean
* docs: handle changelog page
* docs: add title
* docs: add subtitle
* docs: active header nav
* chore: code clean
* docs: overview
* chore: code clean
* docs: update intl (#37918 )
* docs: update intl
* chore: code clean
* docs: update favicons
* chore: update testPathIgnorePatterns
* chore: code clean
* chore: code clean
* chore: copy 404.html (#37996 )
* docs: Home page theme picker
* chore: Update migrate script
* docs: home page update
* docs: theme editor style
* docs: theme lang
* chore: update migrate.js
* docs: fix demo (#38094 )
* chore: update migrate.js
* docs: update md
* docs: update demo
* test: fix snapshot
* chore: move debug to code attr in migrate script
* chore: update md
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
* feat: overview page
* feat: Migrate `404` page (#38118 )
* feat: migrate IconSearch component (#37916 )
* feat<site/IconSearch>: copy IconDisplay from site to .dumi
* feat<site/IconSearch>: change docs of icon
* feat<site/IconSearch>: tweak
* feat<site/IconSearch>: use useIntl instead of injectIntl
* feat<site/IconSearch>: fix ts type error
* feat<site/IconSearch>: use intl.formatMessage to render text
* docs: Adjust home btn sizw
* docs: Update doc
* feat: v5 site overview page (#38131 )
* feat: site
* fix: fix
* feat: v5 site overview page
* fix: fix path
* fix: fix
* fix: fix
* docs: fix margin logic
* feat: v5 site change-log page (#38137 )
* feat: v5 site change-log page (#38162 )
* docs: site redirect to home pag
* docs: theme picker
* docs: use react-intl from dumi (#38183 )
* docs: Theme Picker
* docs: update dumi config
* docs: home back fix
* docs: picker colorful
* docs: locale of it
* docs: update components desc
* docs: site of links
* docs: update components list
* docs: update desc
* feat: Migrate `DemoWrapper` component (#38166 )
* feat: Migrate `DemoWrapper` component
* feat: remove invalid comments and add comment for `key` prop
* docs: FloatButton pure panel
* chore: update demo
* chore: update dumi config
* Revert "chore: update demo"
This reverts commit 028265d3ba
.
* chore: test logic adjust to support cnpm modules
* chore: add locale alias
* docs: /index to /
* docs: add locale redirect head script
* chore: adjust compact
* docs: fix missing token
* feat: compact switch
* chore: code clean
* docs: update home
* docs: fix radius token
* docs: hash of it
* chore: adjust home page
* docs: Add background map
* docs: site theme bac logic
* docs: avatar
* docs: update logo color
* docs: home banner
* docs: adjust tour size
* docs: purepanl update
* docs: transfooter
* docs: update banner gif
* docs: content (#38361 )
* docs: title & EditButton
* docs: content
* chore: fix toc
* docs: resource page
* docs: transform resource data from hast
* docs: filename & Resource Card
* chore: enable prerender
* chore: remove less
* docs: toc style
* chore: fix lint
* docs: fix Layout page
* docs: fix CP page
* chore: update demos
* docs: workaround for export dynamic html
* chore: enable demo eslint
* docs: table style
* fix: header shadow
* chore: update snapshot
* fix: toc style
* docs: add title
* docs: Adjust site
* feat: helmet
* docs: site css
* fix: description
* feat: toc debug
* docs: update config-provider
* feat: use colorPanel
* fix: colorPanel value
* feat: anchor ink ball style
* feat: apply theme editor
* fix: code block style
* chore: update demo
* chore: fix lint
* chore: code clean
* chore: update snapshot
* feat: ts2js
* chore: description
* docs: site ready for ssr
includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion
* chore: bump testing lib
* docs: font size of title
* chore: remove react-sortable-hoc
* chore: update snapshot
* chore: update script
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00
二货机器人
d5cfd195dd
chore: merge master
2022-11-07 23:32:46 +08:00
Ell Bradshaw
5a61762681
chore: clarify error about children of Form.Item with name
( #38038 )
...
* Clarify error about children of Form.Item with `name`
This is a common error and the message as written was not very clear.
This should be more helpful pointing people in the right direction
* Update error message in test
* Clarify more error messages
Referring to "render props" is confusing because the docs don't explain what that is, and it's not really a prop.
* Update tests for new error messages
Also improve the test names for some
* Further test message updates
Missed a couple messages
* Add short URLs
* Update test error messages
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Ell Bradshaw <joelbr@tailormed.co>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-07 17:32:58 +08:00
二货爱吃白萝卜
4a1622cd66
docs: unique id ( #38422 )
...
* docs: unique id
* test: Update snapshot
2022-11-07 16:45:16 +08:00
叶枫
b36ddace4c
docs: add doc ( #38345 )
...
* feat: done
* feat: done
2022-11-02 17:50:50 +08:00
MadCcc
9f88c1238a
feat: token update ( #38314 )
...
* feat: token update
* chore: update test
* chore: lint
* chore: code clean
* test: update test case
* feat: radius token update
* fix: form size
* chore: fix steps style
* chore: code clean
* chore: update test case
2022-11-01 15:06:38 +08:00
二货爱吃白萝卜
ea2d5b4482
test: trigger form test ( #38305 )
2022-10-31 21:23:59 +08:00
afc163
59b97b98bf
Merge branch 'master' into master-merge-feature
2022-10-30 16:15:08 +08:00
afc163
9893efeb51
test: fix form test case ( #38276 )
2022-10-30 15:20:39 +08:00
二货爱吃白萝卜
752d671acb
feat: DatePicker support presets
( #38249 )
...
* chore: basic style
* chore: all of token spread
* chore: default presets style
* docs: update presets
* chore: fix style
* chore: fix ts
* test: Update snapshot
* test: Update snapshot
* test: Update snapshot
* test: update snapshot
* chore: bump bundle size
* test: update snapshot
* chore: update picker style
* chore: rm useless content
2022-10-28 16:44:19 +08:00
MadCcc
242b1713f5
Merge branch 'master' into next-merge-master
2022-10-26 14:56:44 +08:00
Chuns Chen
cc5c4fed51
refactor: locale files reference path ( #38194 )
...
* chore: add locale files to npm pkg
* docs: locale files reference path
* docs: fix locale path
* chore: bump @ant-design/tools
* refactor: default locale file
* chore: add site wepack alias
* chore: bump @ant-design/tools
* fix: site theme locale reference path
* chore: add locale files to eslint ignore
* fix: markdown demo unable to resolve path to module antd/locale
2022-10-26 14:38:54 +08:00
二货机器人
94b688ff8c
chore: feature merge master
2022-10-22 22:53:41 +08:00
hms181231
be1a51e5fc
test: Update form test case ( #38143 )
2022-10-21 15:06:11 +08:00
lijianan
3d33c34010
chore: use includes instead indexOf ( #38139 )
...
* chore: use includes instead indexOf
* fix: fix
2022-10-21 11:45:55 +08:00
MadCcc
5c72d04b10
Merge branch 'feature' into next-merge-feature
2022-10-19 17:46:21 +08:00
github-actions[bot]
f71ee5384f
chore: auto merge branches ( #38111 )
...
chore: sync master to feature
2022-10-19 09:28:49 +00:00
二货爱吃白萝卜
d30618ca5d
test: Update Form related test case with fake timer ( #38109 )
...
* test: Part test case
* test: Part test case
* test: More and More
* test: More and More
* test: all of index
2022-10-19 16:34:24 +08:00
github-actions[bot]
f8629ac588
chore: auto merge branches ( #38093 )
...
chore: sync master into feature
2022-10-18 14:32:45 +00:00
MadCcc
7a38804f95
Merge branch 'master' into next-merge-master
2022-10-18 21:33:51 +08:00
二货爱吃白萝卜
67d86a2e50
test: try to fix test timer break ( #38071 )
...
* test: try to fix test timer break
* test: update more
* test: compare more
* test: compare more
2022-10-17 23:14:44 +08:00
MadCcc
0a0f96798d
chore: snapshot
2022-10-14 12:11:43 +08:00
MadCcc
2471bf88aa
test: fix test
2022-10-11 21:33:29 +08:00
MadCcc
03a1ae427d
Merge branch 'feature' into next-merge-feature
2022-10-11 20:29:55 +08:00
二货机器人
20404ae03c
test: Update snapshot
2022-10-11 15:44:49 +08:00
二货机器人
5f28b2e5a4
chore: merge maaster
2022-10-11 14:54:30 +08:00
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
...
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2022-10-08 16:17:20 +08:00
lijianan
09570f511f
refactor: delete defaultprops ( #37853 )
...
* refactor: delete defaultprops
* fix: update snap
* fix: update snap
* fix: fix
* fix: fix
* fix: fix
* fix: fix
2022-10-05 00:04:29 +08:00
lijianan
480cb3cbc3
fix: remove defaultProps ( #37815 )
...
* fix: remove defaultProps
* fix: remove defaultProps
* fix: update snap
* fix: fix
* fix: fix
2022-09-30 15:58:34 +08:00
Zheeeng
49206a53c5
chore: prefer using @internal annotation over other markups ( #37816 )
2022-09-30 14:26:41 +08:00
MadCcc
150da4a2cb
Merge branch 'master' into next-merge-master
2022-09-29 10:59:03 +08:00
二货机器人
7dbc5b735a
test: Update snapshot
2022-09-28 17:29:47 +08:00
二货机器人
940bff85d1
chore: fix lint
2022-09-28 15:00:27 +08:00
二货机器人
069e44bcc3
chore: merge master
2022-09-28 12:01:20 +08:00
lijianan
1885860e30
test: migrate part of form tests ( #37727 )
...
* test: migrate part of form tests
* test: migrate part of form tests
* test: migrate part of form tests
* test: migrate part of form tests
* test: migrate part of form tests
* test: migrate part of form tests
* test: migrate part of form tests
* test: migrate part of form tests
* test: migrate part of form tests
* test: migrate part of form tests
* test: migrate part of form tests
* test: migrate part of form tests
* test: Fix Form test case
* test: clean up
* test: add className describe
* test: add className describe
* test: add className describe
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-26 09:54:52 +08:00
二货机器人
2a754bd5ca
chore: merge maste
2022-09-23 14:15:19 +08:00
二货爱吃白萝卜
f90296b2b3
test: Refactor Affix related test case ( #37715 )
...
* test: refactor
* test: Refactor Affix test case
* test: refactor more test case
* test: fix lint
2022-09-23 13:59:21 +08:00
二货机器人
ba26b4c196
chore: next merge master
2022-09-23 10:49:38 +08:00
二货机器人
9ff3ba2bd8
test: Clean up useless debug code
2022-09-23 10:48:47 +08:00
二货爱吃白萝卜
35f2234fc3
test: Refactor Form part test with jest fakeTimer to avoid CI failed ( #37705 )
...
* test: rename form test file to tsx
* test: All in ts
* test: Use fake timer instead
* test: for react 18
2022-09-22 21:24:28 +08:00
MadCcc
c61f283487
feat: switch motion ( #37658 )
...
* feat: switch motion
* chore: code clean
* feat: active text offset
* chore: update snapshot
2022-09-20 21:51:28 +08:00
kiner-tang(文辉)
92a3c719dc
feat: Components under Form support custom disabled to override disabled of Form ( #37628 )
...
* feat: 当表单组件处于一个禁用的表单时, 该表单组件的禁用状态应该优先取决于表单组件本身的禁用状态
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: reset mergedSize change
* feat: reset mergedSize change
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: 优化 Checkbox 组件 disabled 逻辑判断
* Update components/switch/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: remove upload default value
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-09-20 16:48:59 +08:00
MadCcc
7a73035f82
chore: fix snapshot
2022-09-14 14:29:05 +08:00
MadCcc
d1be33f224
Merge branch 'master' into next-merge-master
2022-09-14 10:31:17 +08:00
黑雨
01ca7c7821
test: convert demo to testing-lib ( #37381 )
...
* test: replace testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: update snap
* test: replace testing-lib
* test: replace testing-lib
* test: update for lint
* merge: merge
* test: testing-lib
* test: replace testing-lib
* test: testing-lib
* test: testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: Replace test aria replacment logic
* test: Update snapshot
* chore: hack for id
* test: clean up
* test: clean demo
* chore: update
* test: snapshot update
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* chore: update demo
* test: fix snapshot rep logic
* test: Update snapshot
* test: rest snapshot
* test: update snapshot
* test: Update test case
* test: config env
* chore: clean up
* chore: Use renderServer instead
* test: adjust testing logic
* test: modify test logic
* test: split ssr test
* test: skip if need skip
* chore: ignore test file covv
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-09 15:51:35 +08:00
MadCcc
d5c17a9a7c
Merge branch 'master' into next-merge-master
2022-09-05 21:26:04 +08:00
lijianan
c34caad24c
test: js => ts ( #37392 )
...
* test: js => ts
* test: add test
* fix: fix eslint error
* test: add test case
* fix: fix test error
* fix: fix eslint error
* fix: fix eslint error
* fix: eslint error fix
* fix: fallback eslint config & add test case
* test: add all test case
* fix: bugfix
* fix: bugFix
* fix: bugFix
* fix: bugFix
* fix: lint
* fix: add React.createRef
* fix: add breadcrumbName in Routes
* fix: any commit for restart ci/cd
* fix: remove type
* fix: test fix
* fix: test fix
* fix: add ts-ignore for id
* test: add Icon test case
* test: remove ts-ignore
* test: add Icon test case
2022-09-05 19:41:32 +08:00
Uladzimir Atroshchanka
c9fd7fb8f1
feat: Input fields in error are missing multiple ARIA attributes ( #36762 )
...
* feat: add implementation and update snapshots
* test: update snapshot
* test: update snapshots
* test: update snapshots
* test: update snapshots
2022-08-24 17:07:50 +08:00
二货机器人
d9a9fdc509
chore: merge next
2022-08-23 17:48:00 +08:00
yykoypj
3d8cd0b451
feat: switch visible to open for Modal ( #37084 )
...
* feat: switch visible to open for Modal
* test: depcated check
* docs: site api update
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-23 16:55:57 +08:00
yykoypj
766748a501
feat: change visible to open for drawer ( #36750 )
...
* feat: change visible to open for Drawer
* refactor: use open internal either
* feat: add warning when use visible
* test: Fix test
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-23 16:22:00 +08:00
yykoypj
1919b5f7d9
feat: switch visible to open for Drawer ( #37047 )
...
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-23 14:52:37 +08:00
MadCcc
e6335e233c
Merge branch 'master' into next-merge-master
2022-08-15 15:20:39 +08:00
ZhiHao Li
9c01aff437
docs: fix useWatch type error ( #37013 )
2022-08-12 18:06:26 +08:00
Qiuhang817385
fdaa946f24
do'c's):add onChange props for useFormItemStatus description code ( #36929 )
...
* fix(docs):fix useFormItemStatus description code
* fix():修复CR意见
2022-08-08 22:08:28 +08:00
MadCcc
dbff63666a
Merge branch 'master' into next-merge-master
2022-08-08 15:12:31 +08:00
clean99
1239910f66
test: change act import from utils use act wrap timer and not wrap fireEvent ( #36921 )
...
Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2022-08-08 13:31:55 +08:00
MadCcc
ec3444a407
refactor: token udpate ( #36892 )
2022-08-04 16:16:50 +08:00
二货机器人
468e2dea19
chore: (merge master) cleanup less style
2022-08-01 17:30:14 +08:00
二货机器人
fa4f7f089d
chore: merge master
2022-08-01 17:12:27 +08:00
二货机器人
ffb3a4da90
fix: Form vertical with span row ( #36800 )
...
* fix: form vertical with span
* test: update snapshot
2022-07-30 21:00:00 +08:00
MadCcc
c5668a7e34
docs: Form disabled version ( #36760 )
...
* docs: Form disabled version
* test: update snapshot
2022-07-29 15:54:36 +08:00
MadCcc
1ad0553249
refactor: token update ( #36637 )
...
* refactor: token update
* refactor: token
* chore: error color
* fix: menu danger
2022-07-21 17:00:42 +08:00
MadCcc
357750e081
refactor: collapse motion ( #36597 )
...
* chore: v5.0.0-experimental.5
* refactor: collapse motion
2022-07-19 22:53:38 +08:00
zombiej
c71ce67e14
chore: next merge feature
2022-07-19 17:51:35 +08:00
二货机器人
03ea767cad
fix: Form validate message shaking ( #36575 )
...
* refactor: move component out
* refactor: clean up code
* chore: stable it
* chore: back of container
* chore: adjust leave motion
* test: update snapshot
* chore: update motion logic
* fix: list start motion
* test: update snapshot
* test: update snapshot
* test: test for marginBottom
2022-07-19 16:01:31 +08:00
二货机器人
3301b4d6fc
Merge pull request #36576 from ant-design/master
...
chore: feature merge master
2022-07-18 20:59:32 +08:00
fairyland
8c9ad9b1b6
fix: form disabeld support Upload ( #36573 )
...
Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>
2022-07-18 14:21:52 +08:00
MadCcc
aca2c3d4e7
feat: add Form.Item.useStatus ( #36486 )
...
* feat: add useFormItemStatus
* chore: code clean
* docs: update example
* refactor: api change
* docs: fix typo
* docs: update docs
* docs: udpate
* chore: add warning
* test: add test case
* chore: update warning
* chore: code clean
* test: fix test case
2022-07-14 11:01:39 +08:00
zombiej
17f020f0a7
chore: merge master
2022-07-13 17:52:42 +08:00
二货机器人
6599c2780e
fix: Select with percent width leaves unexpected height in Form ( #36484 )
2022-07-12 18:01:05 +08:00
zombiej
5bd221ad39
chore: merge master
2022-07-12 17:09:43 +08:00
github-actions[bot]
e46dedd90c
chore: auto merge branches ( #36478 )
...
chore: feature merge master
2022-07-12 08:21:41 +00:00
bobo
7dfc80504a
docs: update index.zh-CN.md ( #36471 )
...
去掉文案描述中多的标点
2022-07-12 11:35:13 +08:00
MadCcc
cdbfe45df1
feat: generate anchor style for all components ( #36460 )
...
* test: fix lint
* chore: code clean
* doc: anchor color
* chore: style order
2022-07-11 15:35:58 +08:00
Sg
6ada28cce2
docs: fix typo ( #36457 )
...
fix typo in useWatch.md
2022-07-11 14:40:35 +08:00
NinJa
4e03961b91
feat: Update Doc ( #36437 )
...
Co-authored-by: meng.jia <meng.jia@ly.com>
2022-07-08 19:12:03 +08:00
zombiej
3f9dfb4781
chore: next merge master
2022-07-08 11:24:57 +08:00
Kirill Barsukov
2e04982882
Update index.en-US.md ( #36400 )
...
Fixed a typo
2022-07-06 23:28:27 +08:00
MadCcc
f65c73fa2a
Merge branch 'master' into next-merge-master
2022-07-05 22:24:39 +08:00
MadCcc
8e27cf986f
chore: rm component less file ( #36244 )
...
* chore: rm component less file
* refactor: less file
* refactor: rm less
* refactor: rm page-header and comment
* chore: rm less in components
* chore: update dist config
* chore: update image test
* chore: update dekko
* chore: rm lib dekko
* chore: update dist dekko
* chore: udpate bundle size
* test: update snapshot
* test: rm theme test
* test: update snapshot
* test: update snapshot
* chore: copy reset.css
* test: update image test
* chore: copy reset.css to es
* chore: update site script
2022-07-05 21:55:21 +08:00
afc163
80e7f7087d
chore: merge feature to master, resolve conflict
2022-07-05 11:23:35 +08:00
二货机器人
9bc30d1ed1
fix: ErrorList shaking ( #36358 )
...
* fix: ErrorList shaking
* fix: React 18 test case
2022-07-04 13:32:48 +08:00
MadCcc
9d7c11f391
Merge branch 'master' into next-merge-master
2022-07-03 09:42:26 +08:00
MadCcc
0a7b4d331d
fix: checkbox should be disabled by form ( #36345 )
...
* fix: checkbox should be disabled by form
* chore: code clean
* test: update snapshot
* chore: snapshot
2022-07-01 21:29:31 +08:00
二货机器人
de2992f96f
chore: move path ( #36243 )
...
* chore: base move
* chore: all path
* chore: fix script
2022-06-27 14:25:59 +08:00
zombiej
8749c1ae04
chore: merge master
2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
zombiej
91245c16ad
chore: merge master
2022-06-21 19:40:22 +08:00
MadCcc
1bcfe0cce3
refactor: motion ( #36136 )
...
* fix: modal motion
* fix: image motion
* refactor: popover & tooltip motion
* chore: code clean
* refactor: move motion
* refactor
* chore: code clean
* refactor: dropdown support move motion
2022-06-21 00:34:51 +08:00
C. T. Lin
853a04ddce
fix: exporting Rule, FormListFieldData, FormListOperation from form ( #34735 )
2022-06-17 09:51:36 +08:00
MadCcc
9dd5e9b5e9
Merge branch 'master' into next-merge-master
2022-06-16 10:46:55 +08:00
二货机器人
34dfb808ad
feat: Form support setFieldValue
( #36058 )
2022-06-15 17:30:10 +08:00
MadCcc
147468a69c
fix: fix incorrect form status with noStyle ( #36054 )
...
* fix: form status
* test: update test case
2022-06-15 00:09:31 +08:00
iamkun
9cab0f3322
docs: update Day.js doc ( #35935 )
...
* docs: update dayjs doc
* docs: update dayjs doc
* chore: update doc
* chore: update doc
* chore: update doc
* chore: update doc
2022-06-13 14:03:43 +08:00
dingkang
52b049d170
test: replace Table part test with test lib ( #35989 )
...
* test: replace Table part test with test lib
* test: replace table test with test library
* test: update snapshot
* test: replace last mount
* test: fix 18 testing
Co-authored-by: zombiej <smith3816@gmail.com>
2022-06-13 11:26:16 +08:00
zombiej
cffc4f05aa
chore: merge master
2022-06-07 21:13:52 +08:00
MadCcc
1f080c299e
fix: Form.Item noStyle should not be affected by parent Form.Item ( #35849 )
...
* fix: Form.Item noStyle should not be affected by parent Form.Item
* test: update snapshot
* fix: status
* chore: code clean
* fix: modal and drawer
* test: fix lint
* chore: code clean
* refactor: noFormStyle
* chore: code clean
* revert: revert change in Form.Item
* chore: code clean
2022-06-06 23:39:00 +08:00
chenxiang
c9145d7051
fix: 类型“FormListFieldData”上不存在属性“fieldKey”。( #35883 ) ( #35884 )
...
* fix: 类型“FormListFieldData”上不存在属性“fieldKey”。(#35883 )
* add deprecated tag to fieldKey
* add changelog
* Revert "add changelog"
This reverts commit 2cc174f633
.
2022-06-06 14:26:16 +08:00
zombiej
ef1ff477b9
chore: clean up form token
2022-06-02 22:21:21 +08:00
zombiej
23c4e1cff5
test: Update snapshot
2022-05-23 14:53:04 +08:00
zombiej
f58efe9b32
chore: merge master
2022-05-23 14:37:16 +08:00
zombiej
409eee2254
test: Update snapshot
2022-05-21 22:32:35 +08:00
zombiej
cd0ace3d40
chore: merge master
2022-05-21 22:14:15 +08:00
Bart Piotrowski
4bccb9985a
fix: Remove Grid row and cell aria roles ( #35616 )
...
close https://github.com/ant-design/ant-design/issues/35549
2022-05-19 10:05:40 +08:00
章鱼
7fd093bd0a
docs: feat components TS demo ( #34742 )
...
* docs: add general components TS demo
* docs: add layout components TS demo
* docs: add navigation components TS demo
* docs: add data entry components TS demo
* chore(deps): add types for qs
* docs: add data display TS demo
* docs: add feedback components TS demo
* docs: add other components TS demo
* chore(deps): add types
* docs: unified demo code style
* docs: fix lint error
* docs: add demo TS type
* docs: fix demo TS type
* test: update snapshot
* docs: fix TS demo
* feat: update Rate character type
* docs: fix lint error
* feat: update Rate character type
* feat: update Rate character type
2022-05-19 09:46:26 +08:00
MadCcc
2d70027f45
Merge branch 'master' into feature-merge-master
2022-05-12 15:56:18 +08:00
afc163
84a969e5e0
chore: sync master into next branch
2022-05-11 15:36:22 +08:00
Karott
338ec7dad7
perf: refactor devWarning for production code size ( #35411 )
...
* pref: better code style for production
* refactor `devWarning`
* don't use `useEffect` only wrap `devWarning`
* chore: add 'noop' to coverage
* chore: add test cases for devWarning
* chore: add test case
* chore: update test cases for devWarning
* chore: restore test script command
* fix: remove 'throw new Error'
* should not use `throw` for browser
* chore: update test case for AutoComplete
* perf: add prefix for `devWarning`
* update RegExp for UMD
* add prefix for ES and CJS
* chore: better code style
* perf:
* upgrade antd-tools
* remove `injectWarningCondition`
* rename `devWarning` to `warning`
* chore: better code style
* chore: better code style
* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
MadCcc
1f5e271eb6
Merge branch 'master' into next-merge-master
2022-05-09 21:26:25 +08:00
MadCcc
01ebb6a563
test: update snapshot ( #35452 )
2022-05-09 20:25:55 +08:00
afc163
594f138760
resolve conflict between feature and master
2022-05-08 17:01:54 +08:00
MadCcc
83ed62aa0e
Merge branch 'feature' into next-merge-feature
2022-05-07 15:19:54 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
MadCcc
130b146590
chore: update snapshot
2022-05-07 12:27:03 +08:00
MadCcc
4184cc782c
Merge branch 'master' into feature-merge-master
2022-05-07 12:24:25 +08:00
Karott Schu
d07dcd46b7
fix(<Row/>): wipe out unnecessary prop ( #35409 )
...
* fix: wipe out unnecessary prop
* wipe out unnecessary prop(`row-gap: 0px`) on <Row />
* add test case
* chore: remove unnecessary import
* chore: add prop to Row and Col
* chore: update snapshot (Form/Grid/Card)
* chore: update snapshot
* chore: move location
2022-05-07 11:44:48 +08:00
zombiej
84662ce774
chore: next merge feature
2022-05-06 18:46:16 +08:00
github-actions[bot]
85707ff36f
chore: auto merge branchs ( #35347 )
...
chore: Feature merge master
2022-05-01 10:16:06 +00:00
zombiej
3e69660e52
chore: merge master
2022-05-01 16:32:08 +08:00
黑雨
b0a652580a
feat: Form disabled ( #35210 )
...
* feat: add form disabled
* feat: add form disabled
* feat: add radio disabled
* feat: update snap
* feat: add test case
2022-04-29 20:48:10 +08:00
Dunqing
d7ba815f81
docs: fix form instance type error ( #35320 )
2022-04-29 14:35:23 +08:00
github-actions[bot]
ebd86abdd3
chore: auto merge branchs ( #35230 )
...
chore: merge master into next
2022-04-25 14:09:05 +00:00
afc163
08d1a71ff4
refactor: Move Upload from less to css in js ( #34528 )
...
* refactor: Upload to CSS-in-JS
* chore: clean up outdated code
* chore: add FIXME
* revert useless change of UploadList
* fix: upload animation
2022-04-25 18:46:53 +08:00
zombiej
c85d9889ab
chore: add useWatch test placeholder
2022-04-25 11:20:56 +08:00
MadCcc
a106459dd1
feat: add zoom animation ( #35148 )
...
* feat: support Keyframes as 'animationName' value
* feat: add zoom animation
* chore: code clean
* test: fix anim
* chore: move file
* chore: dep clean
2022-04-21 17:28:02 +08:00
afc163
756f06c2fe
chore: sync master into next branch
2022-04-20 11:30:55 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
2022-04-20 00:16:39 +08:00
二货机器人
b8eaecb898
fix: Form in React 18 StrictMode ( #35096 )
...
* test: fix with react 18
* fix: Form in StrictMode
* test: clean up
* test: clean up
* chore: bump rc-motion version
* chore: fix test case logic
* test: back of it
* test: back missing test case
2022-04-19 20:06:32 +08:00
MadCcc
617449ddd2
test: add cssinjs test ( #35077 )
...
* test: add cssinjs test
* test: demoTest test cssinjs
* test: update snapshot
* test: adjust text
2022-04-19 11:27:09 +08:00
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases ( #35026 )
...
* test: React StrictMode
* test: fix Spin test
* chore: wrapper enzyme
* test: fix setState
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: disable part of it
* test: fix test & add placeholder
* test: Use orign enzyme mount
Co-authored-by: zombiej <smith3816@gmail.com>
2022-04-18 21:02:11 +08:00
zombiej
61a6083adf
docs: Update useWatch docs
2022-04-18 10:37:12 +08:00
github-actions[bot]
e3d8689643
chore: auto merge branchs ( #35053 )
...
chore: sync master into feature
2022-04-17 15:03:29 +00:00
github-actions[bot]
16fb0e88a3
chore: auto merge branchs ( #35054 )
...
chore: sync master into next
2022-04-17 15:03:21 +00:00
MadCcc
e4a87750ac
test: update test cases to testing-lib ( #35056 )
2022-04-15 23:33:10 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
2022-04-15 16:20:56 +08:00
github-actions[bot]
4291c1d121
chore: auto merge branchs ( #35049 )
...
chore: merge master into feature
2022-04-15 08:03:26 +00:00
zombiej
c86e8fa0a2
chore: next merge feature
2022-04-15 15:54:13 +08:00
二货机器人
beeaf2d221
docs: More info about useWatch ( #35039 )
...
* docs: more about useWatch
* test: Update test case
* docs: more info
* docs: more & more
* feat: add useFormInstance
* chore: add version info
2022-04-15 15:51:09 +08:00
zombiej
a8010d5422
chore: next merge master
2022-04-15 15:44:02 +08:00
二货机器人
b62e409ad5
feat: Form support useWatch ( #35036 )
...
* feat: Support useWatch
* test: update test case
* chore: update snapshot
2022-04-14 20:46:57 +08:00
二货机器人
67ccf39bd3
fix: Notification & message throw createRoot
warning in React 18 ( #35030 )
...
* chore: bump notification version
* test: notification test case
* test: more test case
* test: part message test
* test: rest message test
* test: notification config test
2022-04-14 18:09:19 +08:00
afc163
9ed31930e7
chore: remove unused Upload in form styles ( #35033 )
...
* chore: remove unused Upload in form styles
* Update Upload.tsx
* Update Upload.tsx
* test: update snapshot
2022-04-14 16:45:00 +08:00
zombiej
d907338d79
chore: merge feature
2022-04-12 15:59:36 +08:00
zombiej
a0d1440050
chore: merge conflict
2022-04-11 17:41:54 +08:00
MadCcc
101865cf7e
fix: statistic token ( #34962 )
...
* fix: statistic token
* fix: all components token
* test: fix lint
* chore: code clean
* Revert "chore: code clean"
This reverts commit 2c0e7d6ba3
.
2022-04-11 16:04:00 +08:00
afc163
77b6a86656
fix: Form layout span 24 usage in responsive mode ( #34907 )
...
close #34903
2022-04-11 12:30:47 +08:00
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
...
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
2022-04-08 22:55:42 +08:00
MadCcc
b7c7abfdd4
refactor: form use genHook ( #34888 )
2022-04-06 22:14:16 +08:00
二货机器人
a67c0d28d3
fix: react 18 test fixing ( #34787 )
...
* fix: try fix
* chore: ci
* test: recover
* test: more test case
* test: more and mote
* test: btn test
* fix: react 18 compitable
* chore: more test
* test: all confirm test
* chore: tmp
* chore: test lib
* chore: tmp
* chore: tmp
* test: back of part
* test: back of menu index test
* test: more test
* test: form test
* test: rm IE11 test case
* chore: fix compatible
* chore: clean up
* chore: back of all test case
* test: ignore 18 lines
* chore: remove render test of enzyme in upload
* test: back of IE11 test case to fit 100% coverage
* chore: fix pkg deps
2022-04-06 11:07:15 +08:00
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
...
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
MadCcc
833ff22728
refactor: form cssinjs ( #34679 )
...
* refactor: form cssinjs
* fix: use rootPrefixCls
* feat: enhance
* test: update snapshot
* chore: code clean
* refactor: code enhance
* chore: code clean
* feat: add feedback icon style
* fix: padding
* feat: add motion easeout
* fix: explain padding
* fix: style
* chore: code clean
* test: update snapshot
2022-03-30 14:13:36 +08:00
MadCcc
cf18b1443b
Merge branch 'feature' into next-merge-feature
2022-03-25 20:08:05 +08:00
MadCcc
0d4cc5ed33
refactor: adjust TextArea in form ( #34714 )
2022-03-25 19:31:42 +08:00
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
...
* refactor: feedbackIcon migration
* test: update snapshot
2022-03-25 17:48:12 +08:00
MadCcc
8da22ae59c
Merge branch 'feature' into next-merge-feature
2022-03-24 22:58:40 +08:00
MadCcc
0de1e66ff1
refactor: move override code in form ( #34694 )
...
* refactor: move override code in form
* refactor: radio and checkbox
* chore: code clean
* test: fix lint
* test: fix lint
2022-03-24 21:54:20 +08:00
github-actions[bot]
499c2fb3e9
chore: auto merge branchs ( #34519 )
...
chore: sync master into next
2022-03-15 13:24:33 +00:00
MadCcc
ed651f450d
fix: missing status style for RangePicker ( #34509 )
...
* fix: range picker should has status style
* chore: code clean
* chore: code clean
* chore: code clean
2022-03-15 18:38:22 +08:00
github-actions[bot]
15112c0653
chore: auto merge branchs ( #34432 )
...
chore: sync master into next
2022-03-11 07:27:50 +00:00
MadCcc
4c666f5775
fix: clear status in input addon ( #34412 )
2022-03-10 19:04:51 +08:00
二货机器人
3d7ed0815b
fix: not warning if Form.Item unmount ( #34405 )
2022-03-10 15:21:10 +08:00
github-actions[bot]
465c30f8fc
chore: auto merge branchs ( #34334 )
...
chore: sync master into next
2022-03-07 14:42:19 +00:00
afc163
0acb9901ea
fix: Form.Item "React does not recognize the requiredMark prop on a DOM element" ( #34323 )
...
close #34310
2022-03-07 12:22:33 +08:00
github-actions[bot]
6b08487afc
chore: auto merge branchs ( #34284 )
...
chore: merge master into next
2022-03-03 09:52:51 +00:00
github-actions[bot]
9bcd45fac2
chore: auto merge branchs ( #34266 )
...
chore: sync master into feature
2022-03-03 02:23:48 +00:00
Zach Bird
1042829e49
fix: Form doc "resetFields" args type ( #34262 )
2022-03-02 17:39:42 +08:00