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
zombiej
d4ea3b6b23
Merge remote-tracking branch 'origin/master' into next
2022-03-01 18:46:33 +08:00
二货机器人
811fed2fc2
refactor: Update rc-slider ( #34234 )
...
* chore: Update rc-slider version
* chore: bump
* chore: update sty;e
* fix: style
* test: update snapshot
* test: all fixed
* fix lint
2022-03-01 14:48:41 +08:00
MadCcc
bfebb88bdb
feat: introduce rc-input ( #34206 )
...
* feat: introduce rc-input
* fix: export InputRef alias
* docs: fix demo
* chore: code clean
* test: fix lint
* test: test coverage
* chore: code clean
* chore: code clean
* test: update snapshot
2022-03-01 14:17:48 +08:00
afc163
34a63e6892
chore: merge feature into master
2022-02-23 17:11:11 +08:00
afc163
386ede9297
fix: Form layout when Select has long text ( #34117 )
...
* fix: Form layout when Select has long text
close #33773
* chore: update snapshot
2022-02-18 15:46:59 +08:00
二货机器人
912ffb15d0
refactor: Button with cssinjs ( #33890 )
...
* init
* chore: cssinjs base button
* chore: more style
* chore: mix style
* chore: size
* chore: more style
* misc
* chore: re-structrue
* chore: icon onlt
* chore: back of disabled
* chore: loading status
* chore: loading motion
* chore: add active style
* docs: site prepare dynamic theme
* chore: bump antd cssinjs
* chore: color type check
* chore: bump cssinjs version
* chore: clean up useless ts def
* chore: ignore button style
* chore: rename ci
* chore: update cssinjs ver
* chore: ssr default wrapper
* chore: bump cssinjs version
* chore: ssr support
* chore: fix script
* test: fix node snapshot
* chore: move cssinjs pkg size from css to js
* test: coverage
2022-02-18 14:17:32 +08:00
MadCcc
fb1955573e
feat: TreeSelect support status ( #34093 )
...
* feat: TreeSelect support status
* chore: code clean
* docs: add demo version
2022-02-17 16:41:12 +08:00
MadCcc
533bc8740a
feat: cascader support status ( #34086 )
...
* feat: cascader support status
* chore: code clean
* chore: raise bundle size limitation
* chore: code clean
2022-02-17 15:08:13 +08:00
MadCcc
2258335e6c
feat: select support status ( #34084 )
...
* feat: select support status
* test: fix lint
2022-02-16 21:39:48 +08:00
MadCcc
8054abe81f
feat: DatePicker and TimePicker support status ( #34073 )
...
* feat: DatePicker and TimePicker support status
* docs: demo add version
* chore: code clean
2022-02-16 21:14:51 +08:00
MadCcc
65bf6550b1
feat: mentions support status ( #34071 )
...
* test: skip form deps-lint
* perf: remove useless has-feedback classname
* test: raise test coverage
* style: recover import arrangement
2022-02-16 21:14:05 +08:00
MadCcc
6a7acfbf6e
feat: inputNumber support status ( #34042 )
...
* feat: inputNumber support status
* test: fix test
* feat: custom status first
* refactor: getMergedStatus pass status in params
2022-02-16 11:48:24 +08:00
MadCcc
76ad890deb
Merge branch 'master' into feature-merge-master
2022-02-15 14:05:33 +08:00
MadCcc
37e042358d
feat: Input support status ( #33995 )
...
* feat: remove form status style && input support status
* test: update snapshot
* feat: update status prop in config provider
* fix: form item validateStatus support
* chore: code clean
* feat: status classname change
* test: update snapshot
* refactor: move formItemStatusContext to form folder
* refactor: merge utils
* refactor: rename statusUtils
* chore: code clean
* test: fix coverage
* chore: remove status prop of Form.Item
* chore: code clean
* docs: update demo
* test: fix lint
* feat: status only success and warning
* test: fix lint
* docs: update deamo
2022-02-14 17:09:35 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
2022-02-11 15:02:59 +08:00
二货机器人
fe185dcbce
fix: typography ellipsis check in transform ( #34007 )
...
* fix: typography ellipsis check in transform
* test: Update snapshot
2022-02-11 14:06:06 +08:00
二货机器人
395c549049
fix: Typography error on context ellipsis ( #33725 )
...
* chore: init measure
* chore: out of space
* refactor: Multiple render
* chore: auto cut
* feat: render split
* fix: ellipsis logic of suffix
* fix: ref missing
* fix: Tooltip missing
* test: snapshot
* chore: opt for textarea
* test: back part of ellipsis
* chore: back of ellipsis logic
* ellipsis logic
* fix: init ellipsis measure
* fix: ellipsis event
* chore: clean up
* test: Update snapshot
* fix: test
* test: Update snapshot
* chore: lazy ellipsis
* fix: check css ellipsis logic
* test: Update snapshot
* test: back of coverage
* chore: clean up
* test: ignore else
* test: clean up
2022-01-18 14:13:41 +08:00
afc163
2d484bbe47
fix: Form validateMessages in nested ConfigProvider ( #33705 )
...
close #33691
2022-01-13 13:50:18 +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
afc163
a926aa52c6
fix: Form should have default validateMessages in en locale ( #33511 )
2021-12-31 16:56:21 +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
二货机器人
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
二货机器人
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
zombiej
42bc6dcdef
Merge remote-tracking branch 'origin/master' into feature-merge-master
2021-12-16 10:40:55 +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
github-actions[bot]
1f22ebb9d9
chore: auto merge branchs ( #33200 )
...
chore: sync master into feature
2021-12-08 03:35:46 +00:00
zhichenshaw
eb3cf792cf
docs: Update index.zh-CN.md ( #33184 )
...
修复文档中 FormInstance 的 scrollToField方法 第二个参数 options 错误的类型
2021-12-07 18:27:47 +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
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
2021-12-04 17:06:36 +08:00
zombiej
1698426161
test: Update snapshot
2021-12-01 22:52:49 +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
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
afc163
37442ae0d5
fix: Form layout span 24 usage ( #32981 )
...
close #32980
2021-11-23 13:15:06 +08:00
github-actions[bot]
bac876a14d
chore: auto merge branchs ( #32839 )
...
chore: sync master to feature
2021-11-12 07:15:31 +00:00
二货机器人
ce006bd44e
docs: Version Robin ( #32830 )
2021-11-12 11:46:42 +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
afc163
8a3b5d9f3c
fix: Form horizontal broken style when select item is too long ( #32778 )
...
close #32777
2021-11-08 17:27:03 +08:00
afc163
5360722e5c
chore: update form demo
2021-11-05 15:51:50 +08:00
Austaras
d1f87ccc80
feat: input number support prefix ( #32600 )
2021-10-30 22:25:12 +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
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