二货机器人
bc9c2734dd
test: Raise coverage ( #32182 )
* chore: rm useless code
* test: Coverage of warningOnly
* test: 100% coverage
3 years ago
二货机器人
e13c4d4131
fix: Less Maximum call stack size exceeded error ( #32063 )
* chore: create additional entry
* fix: rm recv call
* chore: Add default.less as index.less
* chore: update entry
* fix: row should also translate
* chore: rename index-default to index and add index-pure instead
* fix: missing transfer customize styl
3 years ago
二货机器人
36bcaaef85
Add `variable.less` to support css variable ( #31496 )
* chore: use varaible.less
* chore: basic primary varaible
* chore: Move to variable
* chore: align active color
* chore: global fix of css variable
* chore: primary colors
* chore: button danger
* chore: btn default error color
* chore: button series
* chore: More examples
* chore: More components
* chore: Form demo
* chore: form style
* fix: Tag & Alert variable
* chore: update footer
* chore: rm tmp code
* chore: transfer
* fix: picker column active color
* chore: Adjust active bg color
* chore: table hover color
* chore: all css variables
* chore: Global using variables
* chore: Test case
* chore: Update test logic
* chore: back of default less
* chore: entry of site use proxy style
* chore: update entry
* chore: split of variables
* refactor: quick dist speed
* fix: site use variable version
* chore: Update less config
* chore: add mv script
* chore: Update repalcement script
* chore: Add inject variables
* chore: Update script
* fix: script path
* chore: Move to component instead
* chore: fix condition
* chore: update config
* chore: Update in less transform
* chore: Modify logic
* chore: change to variables
* chore: Update name
* fix: script name
* chore: do inject
* revert: back of path
* chore: 2 way of generate
* bump tools
* chore: Add auto replacement script
* chore: auto genrate less file
* chore: fix test
* test: More test case
* chore: Update limit config
* test: coverage
* docs: Update doc
3 years ago
二货机器人
282b7c8575
feat: Cascader support multiple mode ( #31936 )
* chore: Update cascader version
* chore: replace cascader
* chore: default allowClear
* chore: Update docs
* test: Back of part
* test: More snapshot
* test: more and more
* test: Failed of defaultValue
* test: all basic test case
* test: All snapshot
* chore: Update cascader
* chore: disable react/jsx-no-bind
* chore: fix lint
* chore: fix less order
* chore: fix deps
* docs: Update multiple demo
* docs: Add multiple example
* test: Update snapshot
* test: update snapshot
3 years ago
Austaras
d86e1b5153
feat: InputNumber support addon ( #31432 )
* feat: InputNumber support addon
* docs: Update InputNumber doc
* chore: Update snapshot and fix lint
* chore: Add release version
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
afc163
af805c098b
test: fix eslint errors ( #31961 )
* test: fix eslint errors
* test: fix eslint errors
3 years ago
xrkffgg
9aa9495fb1
test: up snap ( #31875 )
3 years ago
Han Han
c9bf113b39
chore: fix form demo ( #31871 )
子节点的值的属性,如 Switch 的是 'checked'。
3 years ago
afc163
5306d5b614
fix: Form label ellipsis should work ( #31838 )
3 years ago
afc163
f0163aa337
fix: Form label hide title on help icon and optional text ( #31785 )
close #31769
3 years ago
afc163
59c63737c7
fix: Form Input bordered={false} outline style again ( #31754 )
close #31752
3 years ago
afc163
576da9d0ef
fix: Input clear icon margin lost ( #31745 )
close #31741
3 years ago
zombiej
f8dc2231d5
docs: Fix Form.List operation doc table
3 years ago
afc163
a145336687
fix: BackTop should disappear when fade out ( #31357 )
* fix: BackTop should disappear when fade out
close #31253
* remove default value of removeOnLeave and motionAppear
* fix snapshot
3 years ago
afc163
7b16310699
docs: add instruction about form rule `whitespace` ( #31329 )
close #31325
close #31287
3 years ago
afc163
f93a137fab
fix: Form Input error outline color ( #31240 )
close #31236
3 years ago
Pengsha Ying
846577b694
feat(Cascader): title attributes are added to the selected content text by default ( #31237 )
* update cascader snapshot
* feat(cascader): Add a friendlier title prompt to the label
3 years ago
wangao
7a10ed1e12
fix(FormItem): add name as default variables.label value ( #30179 )
* fix(FormItem): add name as default variables.label value
* test(Form.Item): add name as default test
3 years ago
Jiehui
92f573e2ee
docs: Update the instance description of FormInstance ( #31106 )
3 years ago
afc163
c671b4e3f1
fix: Input.Password border color ( #30999 )
* chore: form demo style
* fix: Input.Password hover border color in Form
3 years ago
二货机器人
93c33fbf93
fix: patch more style of errorList ( #30887 )
* fix: patch more style of errorList
* chore: Use className instead
* test: Update snapshot
* test: Update snapshot
4 years ago
afc163
2142180090
fix: form control-ref.md typescript error ( #30885 )
https://github.com/ant-design/ant-design/pull/30829#issuecomment-855211477
4 years ago
二货机器人
7a3bf8287f
feat: Form `rule` support `warningOnly` that not block form submit ( #30829 )
* chore: bump rc-field-form
* docs: Demo driven
* refactor: Use event instead
* chore: collection logic update
* chore: clean up
* chore: show warning
* chore: warning no need required mark
* feat: warning example
* docs: mix error
* chore: tmp list
* chore: magic code
* chore: fix motion
* chore: fix style
* chore: clean up useless code
* chore: RM useless import
* chore: RM useless file
* test: Update snapshot
* chore: Should reset
* fix: Memo logic
* fix: Form basic test case
* fix: lint
* chore: back of ref
* test: Update snapshot
* test: RM ueseless test case
* chore: RM useless code
4 years ago
qqabcv520
47dfa1f2ca
fix: fix type declaration ( #30776 )
4 years ago
二货机器人
9153a732e6
docs: Update FAQ ( #30771 )
4 years ago
afc163
25549cd388
fix: Form Input prefix style in error status ( #30640 )
close https://github.com/ant-design/ant-design/issues/30629
4 years ago
afc163
8a599a099f
style: fix calendar style inside Form.Item ( #30442 )
* style: fix calendar style inside Form.Item
* fix: Calendar set null/undefined throws error
close #30392
4 years ago
Fog3211
0e4f870453
fix: input disabled verification style( #30294 ) ( #30302 )
* fix(Input):input verification failed style when mouse hover
* fix: input disabled verification style
4 years ago
einq7
4b376d0171
docs: perfect validateTrigger description ( #30182 )
4 years ago
琚致远
2c68352367
docs: fix typo on the normal-login page ( #30132 )
* fix: fix typo on the normal-login page
* Update advanced-search.md
* Update form-in-modal.md
4 years ago
itibbers
c95e72cb3c
docs: add version of Form.Item hidden ( #30134 )
4 years ago
zombiej
bbbb7f573c
docs: Update from faq
4 years ago
afc163
13a829d20c
fix: classNames typing errors ( #30018 )
4 years ago
afc163
077443696b
docs: fix Form requiredMark demo
close #29921
4 years ago
yaoweiprc
ed37b80d11
docs: Update dynamic-form-items.md ( #29807 )
* Update dynamic-form-items.md
原来的代码只有在使用Space包裹多个Form.Item的时候可以跑起来,如果把Space换成div或者其它组件,点击Add Field之后,因为多个Form.Item 通过 {...restField} 指定了相同的key,浏览器会报 Encountered two children with the same key, `0`. Keys should be unique so that components maintain their identity across updates.
换成这种restField的写法可以避免这个问题,让不使用Space包裹多个Form.Item的场景也能跑通不报错。
* Update components/form/demo/dynamic-form-items.md
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
afc163
165477175d
chore: update Form and TreeSelect demo ( #29656 )
* chore: update Form and TreeSelect demo
* fix eslint
4 years ago
xrkffgg
deb50b4780
style: optimize form tooltip cursor style ( #29650 )
4 years ago
Zack Amiton
d65141d79c
docs: Minor grammar/spelling tweaks to Form english docs ( #29636 )
* Minor grammar/spelling tweaks to Form english docs
* Update components/form/index.en-US.md
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
4 years ago
Tom Xu
e5d908a078
docs: format api ( #29537 )
4 years ago
limingxin
d719f16487
docs: update link ( #29558 )
4 years ago
mumiao
4ad6a55474
fix: form.item is not type safe due to not forwarding their type para… ( #29397 )
* fix: form.item is not type safe due to not forwarding their type parameters to the rcForm components
* test: add test cases
4 years ago
afc163
76434a15df
chore( 🆙 ): upgrade devDeps ( #29418 )
* chore(🆙 ): upgrade devDeps
* prettier code
* fix dnd demo
* fix react-dnd demo
* fix npm start and demo tsx compile
* fix snapshot
4 years ago
二货机器人
bec5a08368
feat: InputNumber support stringMode ( #29373 )
* add input-number demo
* update snapshot
* update demo
* docs: Update desc
* update doc
* clean up React useLayoutEffect warning
* fix ts definition
* re-trigger
* update rc-uitl version
* bump rc-input-number
* update
* update
* fix ts
* update demo snapshot
* update doc
* update demo
4 years ago
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
* refactor: use optional chaining instead of if
* revert some code
4 years ago
叶枫
6e89866694
feat: 动画样式添加 prefix ( #29268 )
* feat: add prefix
* fix: 剩余
* fix: test
* fix: test
* fix: test
* fix: test
* fix: 传了 name 则使用传的
* fix: pop 添加 prefix
* fix: Ok OK ?
* fix: modal confirm
* fix: select
* fix: test
4 years ago
afc163
a64056eb8a
fix: TextArea showCount should not be interactive ( #29245 )
close #29240
4 years ago
zj9495
f77a9ac402
docs: add missing docs for array rule ( #28437 )
* docs: add missing docs for array rule
* update docs
* update docs
4 years ago
陈帅
a4f0957576
docs: add 4.12.0 changelog ( #29131 )
* docs: add 4.11.3 changelog
* update docs
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* update docs
* add 4.12.0 changelog
* update docs
* fix typo
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* fix changelog
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* update docs
* Update CHANGELOG.zh-CN.md
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
* Update CHANGELOG.zh-CN.md
Co-authored-by: einq7 <50612752+AlanCutFlim@users.noreply.github.com>
* fix typo
* fix typo
* Update CHANGELOG.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: einq7 <50612752+AlanCutFlim@users.noreply.github.com>
4 years ago
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
* style: prettier code
* update
* Update index.less
4 years ago
二货机器人
15a9947f87
docs: Improve fields value ( #29075 )
4 years ago