二货机器人
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
2 years ago
fairyland
8c9ad9b1b6
fix: form disabeld support Upload ( #36573 )
Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>
2 years ago
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
2 years ago
二货机器人
6599c2780e
fix: Select with percent width leaves unexpected height in Form ( #36484 )
2 years ago
bobo
7dfc80504a
docs: update index.zh-CN.md ( #36471 )
去掉文案描述中多的标点
2 years ago
Sg
6ada28cce2
docs: fix typo ( #36457 )
fix typo in useWatch.md
2 years ago
NinJa
4e03961b91
feat: Update Doc ( #36437 )
Co-authored-by: meng.jia <meng.jia@ly.com>
2 years ago
Kirill Barsukov
2e04982882
Update index.en-US.md ( #36400 )
Fixed a typo
2 years ago
二货机器人
9bc30d1ed1
fix: ErrorList shaking ( #36358 )
* fix: ErrorList shaking
* fix: React 18 test case
2 years ago
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
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
C. T. Lin
853a04ddce
fix: exporting Rule, FormListFieldData, FormListOperation from form ( #34735 )
2 years ago
二货机器人
34dfb808ad
feat: Form support `setFieldValue` ( #36058 )
2 years ago
MadCcc
147468a69c
fix: fix incorrect form status with noStyle ( #36054 )
* fix: form status
* test: update test case
2 years ago
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>
2 years ago
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
3 years ago
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
.
3 years ago
zombiej
23c4e1cff5
test: Update snapshot
3 years ago
Bart Piotrowski
4bccb9985a
fix: Remove Grid row and cell aria roles ( #35616 )
close https://github.com/ant-design/ant-design/issues/35549
3 years ago
章鱼
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
3 years ago
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
3 years ago
MadCcc
01ebb6a563
test: update snapshot ( #35452 )
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
MadCcc
130b146590
chore: update snapshot
3 years ago
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
3 years ago
黑雨
b0a652580a
feat: Form disabled ( #35210 )
* feat: add form disabled
* feat: add form disabled
* feat: add radio disabled
* feat: update snap
* feat: add test case
3 years ago
Dunqing
d7ba815f81
docs: fix form instance type error ( #35320 )
3 years ago
zombiej
c85d9889ab
chore: add useWatch test placeholder
3 years ago
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
3 years ago
二货机器人
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
3 years ago
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>
3 years ago
zombiej
61a6083adf
docs: Update useWatch docs
3 years ago
MadCcc
e4a87750ac
test: update test cases to testing-lib ( #35056 )
3 years ago
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
3 years ago
二货机器人
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
3 years ago
二货机器人
b62e409ad5
feat: Form support useWatch ( #35036 )
* feat: Support useWatch
* test: update test case
* chore: update snapshot
3 years ago
二货机器人
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
3 years ago
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
3 years ago
afc163
77b6a86656
fix: Form layout span 24 usage in responsive mode ( #34907 )
close #34903
3 years ago
二货机器人
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
3 years ago
二货机器人
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
3 years ago
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
3 years ago
MadCcc
0d4cc5ed33
refactor: adjust TextArea in form ( #34714 )
3 years ago
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
* refactor: feedbackIcon migration
* test: update snapshot
3 years ago
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
3 years ago
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
3 years ago
MadCcc
4c666f5775
fix: clear status in input addon ( #34412 )
3 years ago
二货机器人
3d7ed0815b
fix: not warning if Form.Item unmount ( #34405 )
3 years ago
afc163
0acb9901ea
fix: Form.Item "React does not recognize the requiredMark prop on a DOM element" ( #34323 )
close #34310
3 years ago
Zach Bird
1042829e49
fix: Form doc "resetFields" args type ( #34262 )
3 years ago