afc163
5306d5b614
fix: Form label ellipsis should work ( #31838 )
2021-08-18 19:17:47 +08:00
afc163
b56f6110fa
merge feature into master
2021-08-16 14:42:04 +08:00
afc163
f0163aa337
fix: Form label hide title on help icon and optional text ( #31785 )
...
close #31769
2021-08-13 17:06:30 +08:00
afc163
59c63737c7
fix: Form Input bordered={false} outline style again ( #31754 )
...
close #31752
2021-08-11 11:48:53 +08:00
afc163
576da9d0ef
fix: Input clear icon margin lost ( #31745 )
...
close #31741
2021-08-10 19:21:02 +08:00
zombiej
f8dc2231d5
docs: Fix Form.List operation doc table
2021-08-10 15:41:38 +08:00
afc163
c3eda10999
chore: sync feature into master
2021-07-12 19:28:42 +08:00
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
2021-07-12 19:25:45 +08:00
afc163
7b16310699
docs: add instruction about form rule whitespace
( #31329 )
...
close #31325
close #31287
2021-07-09 11:10:10 +08:00
xrkffgg
d3405a9add
Merge pull request #31243 from ant-design/master
...
chore: sync master to feature
2021-07-04 20:00:59 +08:00
afc163
f93a137fab
fix: Form Input error outline color ( #31240 )
...
close #31236
2021-07-02 19:07:11 +08:00
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
2021-07-02 14:55:04 +08:00
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
2021-06-30 11:32:34 +08:00
afc163
993b934c7f
merge feature into master
2021-06-29 17:09:39 +08:00
Jiehui
92f573e2ee
docs: Update the instance description of FormInstance ( #31106 )
2021-06-23 19:46:58 +08:00
github-actions[bot]
2cf0d23413
chore: auto merge branchs ( #31001 )
...
chore: merge master into feature
2021-06-16 05:29:20 +00:00
afc163
c671b4e3f1
fix: Input.Password border color ( #30999 )
...
* chore: form demo style
* fix: Input.Password hover border color in Form
2021-06-16 13:05:55 +08:00
afc163
2e65f276de
Merge pull request #30870 from ant-design/master-to-merge-feature
...
chore: merge master into feature
2021-06-07 16:31:23 +08:00
二货机器人
93c33fbf93
fix: patch more style of errorList ( #30887 )
...
* fix: patch more style of errorList
* chore: Use className instead
* test: Update snapshot
* test: Update snapshot
2021-06-07 14:32:07 +08:00
afc163
a034dce31d
Merge branch 'feature' into master-to-merge-feature
2021-06-07 12:41:31 +08:00
afc163
2142180090
fix: form control-ref.md typescript error ( #30885 )
...
https://github.com/ant-design/ant-design/pull/30829#issuecomment-855211477
2021-06-07 12:09:44 +08:00
afc163
8fe1cc9da5
merge feature into master
2021-06-05 13:30:36 +08:00
二货机器人
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
2021-06-04 14:44:41 +08:00
qqabcv520
47dfa1f2ca
fix: fix type declaration ( #30776 )
2021-06-03 09:36:04 +08:00
二货机器人
9153a732e6
docs: Update FAQ ( #30771 )
2021-05-30 09:43:48 +08:00
afc163
25549cd388
fix: Form Input prefix style in error status ( #30640 )
...
close https://github.com/ant-design/ant-design/issues/30629
2021-05-24 18:18:44 +08:00
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
2021-05-08 16:59:03 +08:00
Fog3211
0e4f870453
fix: input disabled verification style( #30294 ) ( #30302 )
...
* fix(Input):input verification failed style when mouse hover
* fix: input disabled verification style
2021-04-25 18:04:04 +08:00
einq7
4b376d0171
docs: perfect validateTrigger description ( #30182 )
2021-04-17 09:50:21 +08:00
琚致远
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
2021-04-14 19:00:01 +08:00
itibbers
c95e72cb3c
docs: add version of Form.Item hidden ( #30134 )
2021-04-14 09:34:05 +08:00
zombiej
bbbb7f573c
docs: Update from faq
2021-04-12 17:48:28 +08:00
afc163
13a829d20c
fix: classNames typing errors ( #30018 )
2021-04-02 22:37:36 +08:00
afc163
077443696b
docs: fix Form requiredMark demo
...
close #29921
2021-03-28 16:22:00 +08:00
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>
2021-03-24 12:24:22 +08:00
afc163
165477175d
chore: update Form and TreeSelect demo ( #29656 )
...
* chore: update Form and TreeSelect demo
* fix eslint
2021-03-08 18:06:49 +08:00
xrkffgg
deb50b4780
style: optimize form tooltip cursor style ( #29650 )
2021-03-08 14:43:35 +08:00
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>
2021-03-06 11:48:05 +08:00
Tom Xu
e5d908a078
docs: format api ( #29537 )
2021-03-01 19:20:48 +08:00
limingxin
d719f16487
docs: update link ( #29558 )
2021-03-01 18:22:03 +08:00
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
2021-02-27 23:51:35 +08:00
afc163
ba7fa15058
merge feature into master
2021-02-23 13:20:07 +08:00
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
2021-02-23 10:45:11 +08:00
二货机器人
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
2021-02-22 22:07:19 +08:00
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
...
* refactor: use optional chaining instead of if
* revert some code
2021-02-19 18:26:53 +08:00
诸岳
9a44a7e915
Merge branch 'master' of github.com:ant-design/ant-design into feature-merge-master-branch
2021-02-11 00:00:25 +08:00
叶枫
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
2021-02-08 17:09:13 +08:00
afc163
a64056eb8a
fix: TextArea showCount should not be interactive ( #29245 )
...
close #29240
2021-02-05 20:34:28 +08:00
zj9495
f77a9ac402
docs: add missing docs for array rule ( #28437 )
...
* docs: add missing docs for array rule
* update docs
* update docs
2021-02-04 22:04:34 +08:00
陈帅
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>
2021-02-02 22:05:31 +08:00
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
...
* style: prettier code
* update
* Update index.less
2021-01-30 19:39:02 +08:00
二货机器人
15a9947f87
docs: Improve fields value ( #29075 )
2021-01-27 17:48:43 +08:00
Homyee King
20c49b7bbb
docs: fix demo-focus layout ( #29028 )
...
* fix: demo-focus layout
* fix: update snap
* fix: form noStyle test case
* fix: update snap
Co-authored-by: wanghongye <wanghongye@kuaishou.com>
2021-01-26 09:36:20 +08:00
zombiej
9a01c9ea0b
fix: name connect
2021-01-19 11:53:44 +08:00
zombiej
687b68b256
test: test driven
2021-01-19 11:51:13 +08:00
二货机器人
4315ac567c
chore: replace omit ( #28846 )
...
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
2021-01-13 21:00:30 +08:00
bigbigbo
b53a4b51ce
docs: fix errors in example code ( #28677 )
2021-01-04 18:43:59 +08:00
afc163
f2188064b2
merge feature into master
2020-12-28 15:32:03 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
2020-12-28 15:30:18 +08:00
zombiej
99d5451dba
chore: merge master
2020-12-26 23:11:46 +08:00
二货机器人
6ecfa74e7d
feat: Select support responsive maxTagCount
( #28520 )
...
* feat: init select overflow
* chore: use inline-xxx instead of rtl
* docs: Add demo
* test: Update snapshot
* fix: style lint
* test: Update snapshot
* chore: Update rc-tree-select version
* test: Update snapshot
* test: Update snapshot
* chore: bump all rc-resize-observer version
* bump bundle size
2020-12-25 13:13:07 +08:00
偏右
6192403b2c
Update index.zh-CN.md
2020-12-24 17:30:03 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 ( #28465 )
2020-12-22 11:08:12 +08:00
Tom Xu
c00755f9ec
Merge branch 'feature' into merge
2020-12-17 15:27:42 +08:00
二货机器人
55e0d13234
chore: Add demo tsx check ( #28389 )
...
* chore: Add demo tsx check
* chore: Prettier
* chore: Fix lint
* fix: Upload ts definition
* chore: Demo onlt
* docs: Fix demo
* chore: Add CI action
* chore: Use real name
* chore: fix ts define
* chore: fix more ts
* chore: fix more ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: Update all rest TS demo
* fix test case
2020-12-17 15:09:18 +08:00
Tom Xu
db7c425663
Merge pull request #28381 from ant-design/master
...
chore: merge master into feature
2020-12-16 15:24:20 +08:00
afc163
9948d2f3e6
docs: add FAQ about custom form control
...
close #27994
close #24373
2020-12-15 20:14:09 +08:00
二货机器人
857cbe1b23
fix: Fixed columns z-index issue ( #28346 )
...
* fix: Fixed columns z-index issue
* fix lint
2020-12-14 16:04:23 +08:00
Kermit
b68ffc6068
docs: optimize trigger of Form.Item ( #28197 )
...
* docs: optimize trigger of Form.Item
* docs: update Form.Item
2020-12-14 11:54:06 +08:00
vouis
c4bb71c599
feat: change type from ScrollLogicalPosition to Options ( #28324 )
2020-12-11 23:25:21 +08:00
vouis
6426dbdfa4
feat: Form scrollToFirstError support ScrollLogicalPosition ( #28272 )
...
* feat: Form scrollToFirstError support ScrollOptions type
* feat: Form scrollToFirstError add boolean type
* Apply suggestions from code review
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-12-11 14:35:46 +08:00
arange
d372028476
docs: Update complex-form-control.md ( #28311 )
...
Fixing some typos and grammar issues.
2020-12-11 10:30:40 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
...
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
aLIEzsss4
6ef5eb1665
docs: fix Form errorFields name ( #28270 )
2020-12-09 14:41:25 +08:00
Tom Xu
03909941b8
docs: fix tree api and improve other api ( #28264 )
2020-12-09 09:54:44 +08:00
zombiej
97906a5ec3
docs: Add FAQ about normalize
...
close #28129
2020-12-07 11:09:01 +08:00
Johnny Lim
273ab186da
docs: fix typo ( #28164 )
2020-12-03 13:45:27 +08:00
Debiancc
ca5b47f674
fix: Add type of initialValue prop to Form.List ( #28153 )
...
* fix: Add type of initialValue prop to Form.List
* Update index.zh-CN.md
* Update index.en-US.md
2020-12-02 21:28:46 +08:00
einq7
6f0c65779c
fix: TextArea showCount style while using with Form ( #28130 )
2020-12-02 19:41:47 +08:00
Liming Jin
83e52a9555
docs: supplement Form.List errors ( #28117 )
2020-12-01 18:55:40 +08:00
二货机器人
6fcebabd8b
Merge pull request #27738 from ant-design/feature
...
chore: merge feature into master
2020-11-30 16:17:12 +08:00
陈帅
4f811cbe82
docs: add a little pro-compents advertising ( #28043 )
...
* docs: add a little pro-compents advertising
* docs: add a little pro-compents advertising
2020-11-27 18:29:21 +08:00
陈帅
ec9111ed8d
fix: fix _internalItemRender transparent transmission problem ( #27934 )
2020-11-23 10:10:28 +08:00
Tom Xu
0676f07266
Merge branch 'feature' into merge
2020-11-21 19:50:41 +08:00
陈帅
95ce54ca79
feat: FormItem support _internalItemRender ( #27881 )
...
* feat: formitem support _internalItemRender
* add mark
* up rc-field-form
* fix ts error
* Update components/form/FormItemInput.tsx
Co-authored-by: 二货机器人 <smith3816@gmail.com>
* update notes
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-20 21:43:43 +08:00
Amumu
9b7da8640d
chore: replace raf with rc-util/lib/raf ( #27864 )
2020-11-20 12:11:50 +08:00
Tom Xu
a9602b6d71
Merge branch 'feature' into merge-feature
2020-11-20 10:15:53 +08:00
二货机器人
8e3c828c9f
feat: Form.List support initialValue
( #27872 )
...
* feat: upport initialValue List
* docs: Update doc
2020-11-19 14:29:57 +08:00
Joseph Burton
e3a013f6cf
refactor: remove duplicate deconstruction in components/form/Form.tsx ( #27810 )
...
* refactor: make the code more concise
* Update Form.tsx
Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-11-18 15:29:26 +08:00
偏右
e0c26b4ac1
style( 💄 ): fix Button and Form loading spin animation ( #27794 )
2020-11-16 18:05:00 +08:00
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
...
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
Shivam Modi
3d04e5d3fb
docs: fixed nested ternary operator in Form ( #27724 )
2020-11-12 23:20:13 +08:00
Shivam Modi
5818fdb1a2
fix Specific Note for option other for Gender in Form ( #27704 )
2020-11-12 11:30:56 +08:00
偏右
ef2c494c12
fix: Select error outline style in Form ( #27607 )
...
* fix: Select error outline in Form
close #27378
close #27526
* fix: css priority
2020-11-08 15:26:28 +08:00
Muhammad Sameer
87dfa411bc
docs: Update nest-messages.md ( #27620 )
...
Fixed grammatical errors.
2020-11-07 02:49:30 +08:00
zombiej
0bf5a43e15
chore: feature merge master
2020-10-30 20:55:27 +08:00
偏右
39e37bf1b4
fix: Input[allowClear] className ( #27462 )
...
* fix: Input[allowClear] className missing
close #27444
* fix snapshot
2020-10-30 15:27:37 +08:00
偏右
6880bf7073
Merge pull request #27388 from ant-design/master
...
chore: merge master into featrue
2020-10-27 12:21:04 +08:00
xrk
88414b3b33
fix: select focus border in form when has error ( #27378 )
2020-10-26 18:36:39 +08:00
Tom Xu
7be4339806
Merge branch 'feature' into merge
2020-10-24 20:53:34 +08:00
Tom Xu
7e782daec0
feat: ConfigProvider add form requiredMark ( #27322 )
...
* feat: ConfigProvider add form requiredMark
* Update Form.tsx
2020-10-24 14:27:49 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
...
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
2020-10-23 18:50:46 +08:00
二货机器人
06b25b4d07
refactor: Update rc-field-form version ( #27319 )
...
* refactor: Update rc-field-form version
* update snapshot
2020-10-23 15:20:48 +08:00
Tom Xu
0822ac618f
chore: add prettier ignore and format demo ( #27270 )
2020-10-21 11:06:07 +08:00
Tom Xu
d44f404eae
docs: sort api ( #27251 )
...
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
2020-10-21 10:33:43 +08:00
偏右
27e9926438
fix: duplicated className on Search[allowClear] ( #27261 )
...
* fix: duplicated className on Search[allowClear]
close #27258
* fix snapshot
2020-10-20 21:44:37 +08:00
afc163
f80828bfd6
docs: 🎬 refactor Form demo code
2020-10-20 13:29:04 +08:00
二货机器人
8ea1e52d4d
fix: TextArea wrapper with div when !showCount
( #27216 )
...
* fix: TextArea layout
* test: Update snapshot
* fix: value logic
* fix: className & style logic
* chore: rm uesless code
* chore: Clean up
2020-10-19 14:03:19 +08:00
Yulia Maximova
1113867378
fix: form customizing mixin ( #26422 )
...
* fix: add styling form input background-color
* fix: conflict resolution
Co-authored-by: Maksimova, Yuliya <Yuliya.Maksimova@nexign.com>
2020-10-16 22:25:36 +08:00
Yu Mao
acc2e03ddf
fix: add optional rules property ( #27164 )
...
* fix: add optional rules property
* fix: replace interface
2020-10-15 22:31:51 +08:00
偏右
3ef6ea3ead
refactor: 📦 some styles to reduce css bundle size ( #27129 )
...
* refactor: some styles to reduce css bundle size
* test: update snapshot
* fix snapshot
* fix test case
* fix addonAfter
* fix firefox style
* reduce riddon css size
* fix Input.Group border radius
* remove unused css selectors
* fix test cov
* fix search button hover border
* fix rtl textarea clear icon style
* update demos
* fix search rtl style
* fix input search style
2020-10-13 21:16:20 +08:00
afc163
679f0529fa
docs: 📝 fix Form API table, close #27078
2020-10-10 23:12:34 +08:00
偏右
0fec3aa602
Merge pull request #27064 from ant-design/feature
...
chore: merge feature into master
2020-10-10 14:13:11 +08:00
zombiej
5909a4dae5
docs: Update form rule enum desc
2020-10-10 14:01:39 +08:00
偏右
4bf062c2a8
test: fix test cov ( #27065 )
...
* test: ✅ upload and form
* refactor: tooltip always evaluates to true
2020-10-10 13:32:27 +08:00
zhangchen
138b953afd
feat: TextArea showCount ( #26952 )
...
* feat: TextArea showCount
* update: TextArea showCount test
* update: TextArea showCount test
* update: test
* update: test
* update: test
* update: interface
* revert: interface change
2020-10-10 11:30:58 +08:00
二货机器人
dcd97ca46e
Merge pull request #27055 from ant-design/master
...
chore: Feature merge master
2020-10-09 17:28:17 +08:00
Tom Xu
5f2588ffd1
docs: improve api type docs ( #27038 )
2020-10-09 10:08:52 +08:00
Amumu
a2a4fa302d
docs: update form migrate docs title ( #27029 )
2020-10-08 13:15:13 +08:00
zombiej
40c8fb8363
chore: merge master
2020-09-24 15:26:37 +08:00
二货机器人
80d36fb0ae
docs: Add Form.List deps faq ( #26873 )
2020-09-23 22:24:09 +08:00
Dmytro Gorelik
efc304c55a
style: fix RadioGroup validation error highlight ( #26849 )
2020-09-22 17:04:48 +08:00
zombiej
8e14a9ce9c
docs: Update Form labelCol & wrapCol desc
...
close #26770
2020-09-22 16:58:41 +08:00
zombiej
b696579cd4
fix test case
2020-09-22 11:36:15 +08:00
zombiej
358c7fa4c4
chore: feature merge master
2020-09-22 10:56:04 +08:00
Olivier Louvignes
93f2988585
chore: add FormListProps export in form/index.tsx ( #26831 )
2020-09-21 08:40:38 +08:00
Tom Xu
dcdb8f5587
docs: improve from list ( #26813 )
2020-09-19 23:21:25 +08:00
偏右
83ddfb807e
test: ✅ Enable transition and animation in jest ( #26571 )
...
* test: ✅ add test cases to increase coverage
* test: fix snapshot
* fix: test node envioronment
* fix: test node envioronment
* fix test case
* test: refactor menu test cases
* test: update test code style
* test: add more menu test cases
* add comment
* test: update snapshot
* fix: alert test case
* fix: form onLeaveEnd test cov
* test: fix button click wave test cases
* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
Régis Foucault
e849c94b48
docs: 📝 fix typo in complex-form-control.md ( #26771 )
2020-09-18 13:06:19 +08:00
二货机器人
b08b759ff4
feat: Form.Item support tooltip
( #26780 )
...
* feat: Support tooltip
* update test case
* update snapshot
* update doc
* fix lint
* support icon
* tmp use @text-color-secondary
2020-09-17 17:11:45 +08:00
二货机器人
1da6016cc2
feat: FormItem support generate for renderProps ( #26791 )
2020-09-17 16:51:19 +08:00
Régis Foucault
bb11f82ed2
docs: 📝 fix typo in complex-form-control.md ( #26771 )
2020-09-17 11:57:52 +08:00
偏右
4a86b75c74
Merge pull request #26768 from ant-design/master
...
chore: merge master into feature
2020-09-16 14:49:19 +08:00
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint ( #26600 )
...
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* fix no use before define
* Update package.json
* fix lint
Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-09-16 11:43:55 +08:00
偏右
0067b923b9
Merge pull request #26738 from ant-design/master
...
chore: merge master into feature
2020-09-14 19:02:34 +08:00
二货机器人
1faabb219d
feat: Form.List support rules ( #26676 )
...
* Add ErrorList component
* move class to ErrorList
* support cache of status
* update doc
* update snapshot
* patch test case
* clean up
* docs: add faq
2020-09-11 21:27:51 +08:00
Sam Kah Chiin
4270fc7e12
[Chore] Fix typo in index.en-US.md ( #26703 )
2020-09-11 16:47:47 +08:00
Tom Xu
faa534c1c0
feat: form support messageVariables ( #26597 )
...
* feat: form support labelInMessage
* add doc
* change to messageVariables
* Update demo.test.js.snap
* feat: form support labelInMessage
* add doc
* change to messageVariables
* Update FormItem.tsx
* docs: add messageVariables use
2020-09-10 21:00:21 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
...
close #26594
2020-09-06 13:07:39 +08:00
Long Nguyen
7b55f112ce
docs: fix typos ( #26598 )
2020-09-05 12:40:38 +08:00
偏右
a8dea916b2
fix: Search autocomplele list in Chrome ( #26590 )
...
* fix: 🆙 upgrade rc-select to 11.2.x
* style: fix input search clear button
* test: update snapshot
2020-09-05 00:38:39 +08:00
zombiej
9663b24216
docs: Update requiredMark doc desc
2020-09-03 17:44:50 +08:00
zombiej
04d7a81ff7
docs: Update Form FAQ
2020-08-25 11:27:01 +08:00
偏右
24a86df257
style: 💄 fix Upload picture-card button style ( #26367 )
...
* style: fix Upload picture-card button style
close https://github.com/ant-design/ant-design/issues/26317
close #23339
* style: tweak Upload list animation
close #22386
* fix snapshot change
* docs: update Upload demos
* add test case
* update form demo
* fix test case
2020-08-24 16:33:24 +08:00
二货机器人
60771a0f61
feat: Support requiredMarkType ( #26309 )
...
* feat: support requreidMarkType
* docs: Update doc desc
* fix lint
* use requiredMark instead
* not change className
* fix ts
* update test case
* rtl style
* fix rtl
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-08-21 12:58:14 +08:00
zombiej
55c1dd02c2
chore: Merge master
2020-08-20 17:31:03 +08:00
yui
ab59023971
fix: typescript build in windows error from-item initialValue ( #26292 )
2020-08-20 14:42:09 +08:00
Kermit Xuan
f98e3eee25
refactor: optimize code stle ( #26270 )
2020-08-19 09:50:04 +08:00
xrkffgg
61e01e7c60
chore: merge master into feature
2020-08-13 09:06:53 +08:00
zoomdong
39f1126315
feat: Form.List add() support index param ( #26081 )
...
* feat: Form.List add() support index param
* update test case
* update
2020-08-12 19:13:44 +08:00
偏右
5a013478ef
fix: 🐛 Form.Item hidden not working in less ( #26152 )
...
close #26141
2020-08-12 13:08:50 +08:00
偏右
ae843df718
Merge pull request #26112 from ant-design/master
...
chore: merge master into feature
2020-08-10 14:53:46 +08:00
xrkffgg
e1f990e61a
chore: fix merge conflict
2020-08-10 09:43:21 +08:00
07akioni
504d51477a
docs: Form add debug true on dep-debug ( #26103 )
2020-08-10 09:41:45 +08:00
zefeng
73ce401ae8
fix: 修复紧凑模式下表单项 margin 计算错误 ( #26069 )
...
close #25989
2020-08-07 13:45:35 +08:00
Kermit Xuan
85e28791cb
chore: replace rc-animate/lib/CSSMotion
with rc-motion
( #26049 )
2020-08-05 23:05:25 +08:00
afc163
45cbbd6034
merge feature into master-to-merge-feature
2020-08-05 14:49:10 +08:00
二货机器人
c345580ea2
fix: hidden should higher than noStyle ( #26020 )
2020-08-05 10:08:57 +08:00
xrkffgg
c5a7f031e4
docs: format api ( #25973 )
2020-08-03 15:01:16 +08:00
PeakFish
a87c3a8997
docs: fix typo in demo
2020-08-01 21:35:19 +08:00
二货机器人
98050358f1
feat: Form support generic type ( #25937 )
...
* feat: Form support generic
* test: add test case of compile
* clean up
2020-07-31 16:53:39 +08:00
wa-ri
b9db9cd79f
docs: fix typo ( #25914 )
2020-07-30 15:44:30 +08:00
偏右
8eb4e83535
test: ✅ increase test covarage ( #25857 )
...
* test: ✅ increase test covarage
* fix test case
2020-07-28 17:54:46 +08:00
偏右
cffa9af09b
feat: export FormList interface ( #25849 )
...
close #24487
close #25835
2020-07-28 13:04:18 +08:00
07akioni
21e5fff467
chore: update rc-input-number 6.0.0 ( #25843 )
2020-07-27 22:32:21 +08:00
07akioni
9951e583b6
Merge branch 'master' into resolve-conflict-1
2020-07-26 20:14:11 +08:00
二货机器人
2803ccf658
docs: Update DatePicker docs and add legacy notice ( #25768 )
...
* docs: Update DatePicker docs and add legacy notice
* clean up
* only warning for QuarterPicker
* update docs
* fix lint
* note to warning
2020-07-23 11:25:17 +08:00
偏右
af27b029ad
Merge pull request #25743 from ant-design/master
...
chore: merge master into feature
2020-07-22 14:42:35 +08:00
Albert Zhang
26f1d201c0
feat: using alert role in form-item-explain ( #25735 )
2020-07-21 22:29:31 +08:00
二货机器人
356812627f
fix: Collect FormItem errors should be sync with state ( #25737 )
...
* passing error logic
* fix: Collect FormItem errors should be sync with stat
2020-07-21 20:51:36 +08:00
二货机器人
9728b9cc15
fix: FormItem with noStyle passing error logic ( #25734 )
2020-07-21 17:49:10 +08:00
afc163
508cecd0a7
merge feature into master-to-merge-feature
2020-07-21 16:23:13 +08:00
偏右
5ac3313b7f
fix: Form control clear icon position ( #25728 )
...
* fix: Form control clear icon position
close #23430
* 🆙 eslint-plugin-unicorn
2020-07-21 16:18:31 +08:00
zhangchen
51fa6fbdc4
fix: offset in FormItem's labelCol isn't work if layout is vertical ( #25713 )
2020-07-21 10:15:29 +08:00
zoomdong
b814270983
feat: update rc-field-form@1.8.0 and support remove use array in Form.List ( #25638 )
...
* feat: update rc-field-form@1.8.0 and support remove in Form.List use array
* feat: update readme
* feat: fix add function
* update
* update version
* update version
* update version
2020-07-15 22:17:17 +08:00
二货机器人
870138b088
Merge pull request #25604 from ant-design/master
...
chore: Feature merge master
2020-07-13 21:13:23 +08:00
zhangchen
fb869021aa
fix: Form.Item with help
should display error style when validate failed ( #25582 )
...
* fix: Form.Item does not display validation message when set help
* fix: Form.Item does not display validation message when set help
* update: code style
2020-07-13 12:02:15 +08:00
偏右
d5cb860347
Merge pull request #25541 from ant-design/master
...
chore: merge master into feature
2020-07-09 16:43:45 +08:00
偏右
9febbca3fe
docs: 📔 Update customize-theme.zh-CN.md ( #25540 )
...
* Update customize-theme.zh-CN.md
* test: ✅ update snapshot
2020-07-09 15:16:49 +08:00
07akioni
4c2acbda7d
Merge pull request #25528 from ant-design/master
...
chore: merge master into feature
2020-07-09 11:39:48 +08:00
Amumu
b3a7ed5575
fix typo ( #25525 )
2020-07-09 10:24:41 +08:00
二货机器人
24abadd994
fix: preserve warning in Gorm.Item ( #25518 )
2020-07-08 23:43:26 +08:00
zombiej
0b7271767e
docs: Add FAQ about Form.Item name array rule
...
close #25508
2020-07-08 23:00:35 +08:00
xrkffgg
22d4dbbe99
docs: reduce demo cascader/checkbox/form/inputno ( #25484 )
2020-07-07 22:06:00 +08:00
偏右
36d7985d85
Merge pull request #25470 from ant-design/master
...
chore: merge master into feature
2020-07-07 16:00:26 +08:00
07akioni
0ba2f830ac
test: update snapshots ( #25469 )
2020-07-07 15:38:09 +08:00
Kurt Furbush
20c2a6703f
Grammar ( #25436 )
2020-07-06 10:27:31 +08:00
07akioni
27b6ba6947
feat: form item dep ( #25408 )
...
* feat: warnings
* feat: deps work on FormItem with render props
* chore: add details warning info
* chore
* chore: rerun ci
* chore: revert
* docs
* docs
2020-07-03 16:25:29 +08:00
07akioni
a4712a8f67
docs: add debug on form/disabled-input-debug ( #25413 )
2020-07-03 16:23:52 +08:00
偏右
193c16d6f1
Merge pull request #25410 from ant-design/master
...
chore: merge feature into master
2020-07-03 14:13:01 +08:00
afc163
d2d8c67e5a
chore: update form demo
2020-07-03 11:25:34 +08:00
07akioni
7348baa6fb
fix: shouldn't set input-bg inside a error form item ( #25385 )
...
* fix: fix: shouldn't set input-bg inside a error form item
* chore
* test: update snapshots
* Update disabled-input-debug.md
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-07-02 22:16:15 +08:00
xrkffgg
42a9a0c1fe
Merge pull request #25397 from ant-design/master
...
chore: Feature merge master
2020-07-02 20:11:22 +08:00
afc163
7b9231afc0
revert #25336 mistake
2020-07-01 14:13:47 +08:00
偏右
5b7104cc9d
fix: Form.Item hidden no working ( #25336 )
...
close #25335
2020-07-01 14:12:35 +08:00
二货机器人
b46ea66a73
feat: validateFirst support parallel ( #25321 )
...
* feat: validateFirst support parallel
* Update components/form/index.en-US.md
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
* Update components/form/index.zh-CN.md
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
2020-07-01 10:11:39 +08:00
xrkffgg
04b728e6f5
docs: format api cascader/datepicker/form ( #25307 )
2020-06-30 16:36:58 +08:00
07akioni
53b232de29
fix: FormItem help message's animation has no deadline ( #25297 )
2020-06-30 13:37:39 +08:00
07akioni
5c72186899
fix: InputNumber max prop has no default value ( #25243 )
...
* fix: InputNumber max prop has no default value
* docs: enUS ref links
* docs: typo fix
* test: snapshots
2020-06-29 11:07:56 +08:00
07akioni
cefcaac37d
Merge branch 'feature' into resolved-master-for-feature
2020-06-28 20:06:37 +08:00
xrkffgg
a754d9f60a
docs: fix form context demo rtl ( #25249 )
...
* docs: fix form context demo rtl
* fix
2020-06-28 16:03:56 +08:00
二货机器人
67513cc71b
fix: Select icon interactive ( #25212 )
...
* fix: Select icon interactive
* updat snasphot
2020-06-24 23:28:54 +08:00
二货机器人
de2691247c
feat: support preserve ( #25186 )
2020-06-24 11:36:25 +08:00
偏右
da353e8199
docs: 📝 Add Form.Item hidden in doc ( #25108 )
...
close #25101
2020-06-19 14:03:16 +08:00
afc163
bbc95a12a4
merge feature into master-to-merge-feature
2020-06-19 13:22:11 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site ( #25058 )
...
* docs: unite boolean in site
* fix demo
* fix boolean
* add
* add
* add
2020-06-17 23:18:14 +08:00
骆也
8e9ca06924
chore: update Form.Item children
type ( #25045 )
...
`children` 为非必选 `props`,且 `React` 最佳实践推荐不要在 `props` 中传入 `children`,而是嵌套使用
2020-06-17 17:10:41 +08:00
偏右
b6cf00aded
Merge pull request #24985 from ant-design/master
...
chore: merge master into feature
2020-06-14 23:29:07 +08:00
二货机器人
0f46173410
fix: Form.validateTrigger not work ( #24979 )
...
* fix: Merged validateTrigger
* test case
2020-06-14 14:15:17 +08:00
二货机器人
ada59b9d37
fix: Field id ( #24929 )
2020-06-11 22:25:58 +08:00
zombiej
cbeecdc41f
merge master
2020-06-11 10:38:50 +08:00
二货机器人
a9a651ffd5
fix: Form List warning ( #24867 )
...
* fix: Form List warning
* clean reaf
2020-06-09 18:10:43 +08:00
偏右
25f19771ea
Merge pull request #24839 from ant-design/master
...
chore: merge master into feature
2020-06-08 18:33:02 +08:00
二货机器人
e46d414b11
feat: form instance support getFieldInstance ( #24711 )
...
* support getFieldInstance
* update doc
* fix lint
* move func
* move into hooks
* update ref logic
* fix lint
* rm only
* fix docs
2020-06-05 18:06:52 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover ( #24744 )
...
* docs: Update components cover
#24629
* docs: Update components cover
2020-06-05 13:50:09 +08:00
zombiej
f263102500
docs: Update Form add usage desc
2020-06-03 10:40:12 +08:00
Tom Xu
639ef9f570
docs: improve form validate rule ( #24641 )
...
* docs: improve form validate rule
* improve docs
2020-06-01 14:25:01 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page ( #24491 )
...
* docs: Add components overview page
* fix detail
* remove ContributorsList form overview page
* fix components url
* improve code style
* remove extra file
* fix detail
* fix lint
* fix lint
* docs: Finish components overview page
* fix lint
* docs: Update cover
* fix lint
* update cover
* update menu
* improve overview page
* refactor code
* fix order
* update title
* add components count
* fix overview page ssr bug
* move less file
* update title margin
Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
Artem
d8d48487b0
chore: export RuleObject and RuleRender types from Form ( #24541 )
...
* Fix Table type
* Add: export RuleObject and RuleRender
Co-authored-by: soroka_av <soroka_av@st.by>
2020-05-30 23:28:11 +08:00
afc163
d039e32e6b
merge feature into master-to-merge-feature
2020-05-28 15:30:36 +08:00
二货机器人
cf401f73c8
fix: Form flex inline style ( #24531 )
2020-05-28 12:47:37 +08:00
偏右
4b485d393b
Merge pull request #24436 from ant-design/master
...
chore: merge master into feature
2020-05-25 11:50:02 +08:00
cieldon32
b0b619c877
fix: solve the problem of overlapping elements ( #24128 )
...
* fix: solve the problem of overlapping elements
* fix: Expected flex to come before flex-grow in group Box Model
* fix: flex: none
* fix: modify the label's style
Co-authored-by: 夏芸 <xiayun@xiayundeMacBook-Pro.local>
2020-05-25 09:49:55 +08:00
偏右
ae8603838a
Merge pull request #24371 from ant-design/master
...
chore: merge master into feature
2020-05-21 23:41:37 +08:00
afc163
61378e4605
docs: 📖 update ScrollOptions link
2020-05-21 11:32:45 +08:00
afc163
d6d485b72d
merge feature into master-to-merge-feature
2020-05-19 18:25:51 +08:00
二货机器人
75b090aff3
fix: Switch trigger motion ( #24254 )
...
* init fix
* fix rtl
* clean up
* update snapshot
* fix style lint
* add motion of inner
* update un-checked focus style
2020-05-18 17:31:46 +08:00
偏右
02dccd9643
Merge pull request #24185 from ant-design/master
...
chore: merge master into feature
2020-05-15 17:40:05 +08:00
偏右
8497e54e39
docs: 📖 keep documentation up to date ( #24184 )
...
* docs: remove babel-plugin-import from docs
* docs: react-scripts-rewired + customize-cra => craco
* docs: remove babel-plugin-import
* fix remark link
2020-05-15 17:18:55 +08:00
zombiej
9f38c46039
merge master
2020-05-14 21:03:29 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
...
* update config
* replace react function
* fix alert
2020-05-14 20:54:49 +08:00
zombiej
e6b1b1a4e7
Merge remote-tracking branch 'origin/master' into feature-merge-master
2020-05-14 16:19:39 +08:00
二货机器人
2e284aa017
chore: small bundle size ( #24135 )
...
* update warning
* rm warning
* replace with dev warning
* fix test
* fix site
* Update webpack.config.js
Co-authored-by: 偏右 <afc163@gmail.com>
* Update webpack.config.js
* fix sytax
* adjust
* move into function
Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-14 15:57:04 +08:00
afc163
53d7a20939
merge feature into master-to-merge-feature
2020-05-13 16:16:16 +08:00
afc163
50e33768a9
✅ fix DatePicker snapshot
2020-05-13 16:10:48 +08:00
精武陈真
227233268d
docs: fix typo ( #24109 )
...
from改为form
2020-05-13 12:11:58 +08:00
afc163
fdcbfc909d
✅ fix snapshot
...
close #24070
2020-05-12 14:57:13 +08:00
Jinke Li
f250b2fa29
Feature: support custom cell ellipsis tooltip ( #24056 )
...
* feat: add transformFile optionfor transform file before request
* feat: bump rc-upload 2.7.0
* feat(Upload): optimize doc
* feat: support custom cell ellipsis tooltip
* tests: update snapshots
* docs: update table ellipsis demo
* tests: update snap
2020-05-12 12:44:49 +08:00
二货机器人
72a846681a
chore: Fix Form.List render logic ( #24009 )
...
* update snapshot
* update nest logic
* clean up
2020-05-10 10:39:30 +08:00
二货机器人
fafa3b7e51
feat: Form support validateTrigger ( #23972 )
2020-05-08 23:04:20 +08:00
二货机器人
c4b602e835
fix: FormItem with help ( #23945 )
...
* fix: Help status error
* update logic
* adjust ref
* fix ts
* adjust hidden logic
2020-05-07 23:26:07 +08:00
二货机器人
2a0df4f465
fix: FormItem getValueProps warning ( #23875 )
2020-05-05 16:15:36 +08:00
二货机器人
e15773e25b
fix: Form.Item warning for initialValue ( #23846 )
...
* fix: Form.Item warning for initialValue
* Update index.test.js
* Update index.test.js
2020-05-04 12:13:44 +08:00
二货机器人
34bf3fdb66
fix: DatePicker miss placeholder when it's undefined ( #23818 )
...
* fix placeholder
* add test case
* update snapshot
2020-05-02 21:55:23 +08:00
二货机器人
58fcee34c1
docs: Add FAQ of form onFieldsChange ( #23808 )
2020-05-01 16:20:37 +08:00
Zester Quinn Albano
9f2af262ef
docs: add a link to FieldData in setFields FormInstance ( #23790 )
2020-04-30 20:49:33 +08:00
偏右
0b61b13e56
docs: 🆙 Upgrade input number ( #23742 )
...
* 🆙 upgrade to rc-input-number@4.6.0
* 🆙 upgrade to rc-input-number@4.6.1
* ✅ update snapshot
* fix version
2020-04-29 14:18:19 +08:00
hengkx
9868a4dc59
Merge branch 'feature' into mergefeature
2020-04-27 21:02:16 +08:00
偏右
57d36f5b68
Delete tutorial.md
2020-04-27 15:29:51 +08:00
偏右
a4c07fc0af
Merge pull request #23465 from ant-design/master
...
chore: merge master into feature
2020-04-22 10:42:00 +08:00
Amumu
17c63e52bf
chore: improve less variable @form-item-margin-bottom ( #23436 )
...
* improve @formItemMarginBottom
* Revert "improve @formItemMarginBottom"
This reverts commit 6d8da5bdb9
.
* update style
2020-04-21 17:48:15 +08:00
偏右
4902c5a4f0
docs: 📖 update Form ts demo for createRef ( #23440 )
...
close #23417
2020-04-21 16:42:56 +08:00
偏右
fabec4831c
Merge pull request #23377 from ant-design/master
...
chore: Merge master into feature
2020-04-18 23:54:51 +08:00
kenve
edcd1b2609
docs(components): improve link ( #23355 )
2020-04-17 17:56:42 +08:00
二货机器人
02d7292576
fix: Input inline allowClear style ( #23259 )
...
* fix: Input allow clear icon
* update test case
* update snapshot
2020-04-14 23:04:23 +08:00
二货机器人
c338569cff
docs: Update Form required desc ( #23238 )
...
* Update index.zh-CN.md
* Update index.en-US.md
2020-04-14 15:41:15 +08:00
Eric Wang
436d4b1be5
improvement: Fix types in form item ( #22962 )
...
* Fix types in form item
* use jsx.element
2020-04-13 21:30:55 +08:00
afc163
3f4f5864fe
✅ fix test case which fails a lot
2020-04-13 20:38:31 +08:00
二货机器人
ca93757747
fix: vertial from label height ( #23192 )
2020-04-13 16:59:05 +08:00
afc163
78ec790311
resolve merge conflict
2020-04-12 14:44:29 +08:00
二货机器人
50d908662e
docs: Update Form FAQ ( #23138 )
...
* docs: Update Form FAQ
* Update index.en-US.md
2020-04-11 10:30:05 +08:00
afc163
b5dd56611b
test: fix form test case
2020-04-10 17:05:24 +08:00
二货机器人
9b9839d4d9
docs: Update Form normalize desc ( #23108 )
...
* docs: Update Form normalize desc
* Update index.en-US.md
2020-04-10 11:38:02 +08:00
二货机器人
ecf025548b
chore: adjust RangePicker style ( #23074 )
...
* adjust range color
* fix lint
* update color
* update dark logic
* adjust little of arrow
* use icon
* update font size
* update snashot
2020-04-09 13:18:13 +08:00
二货机器人
70eaea6978
clean up when field reset removed ( #23041 )
2020-04-08 18:47:59 +08:00
二货机器人
4e3c58f2ba
fix form status ( #23004 )
2020-04-07 22:51:54 +08:00
二货机器人
77d45690c0
feat: Form.Item support initialValue
& getValueProps
( #22993 )
...
* add getValueProps
* field initialValue
* add faq
2020-04-07 21:57:27 +08:00
zombiej
b0f0a32865
docs: Form doc add version column
2020-04-07 20:43:19 +08:00
骗你是小猫咪
c4fb9edfe0
chore: export form value type ( #22755 )
2020-04-06 11:32:59 +08:00
偏右
6fc0ca089e
Update index.en-US.md
2020-04-05 21:49:28 +08:00
Rohan Bagchi
d45d4bbd28
Updating document to correct few typos ( #22902 )
2020-04-03 22:45:39 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn ( #22883 )
...
* 🦄 Add eslint-plugin-unicorn
* fix eslint errors
* fix eslint errors
* fix lint demo
* fix lint demo
2020-04-03 15:02:11 +08:00
Hanjun Kim
de827d7eb7
fix typo ( #22856 )
...
`bellow` -> `below`
2020-04-02 17:47:39 +08:00
二货机器人
b174f98c6c
chore: Adjust range picker style ( #22847 )
...
* adjust rangepicker style
* update snapshot
* fix lint
* add aria label
2020-04-02 15:05:31 +08:00
二货机器人
8f34161db0
fix: Remove useless form textarea height ( #22793 )
2020-03-31 21:07:13 +08:00
xrkffgg
fd7e7d3695
style: optimization form rtl and demo ( #22621 )
2020-03-30 21:23:05 +08:00
zefeng
dda45e4796
feat: support compact theme ( #22126 )
...
* feat: support narrow theme mode
* chore: rename narrow to compact
* chore: height part
* chore: preview compact mode
* chore: to make site corrected
* chore: preview site
* docs: 📖 document compact theme usage
* docs: tweak theme doc
* docs: 📖 Add description about double css bundle size
* chore: preview
* chore: for preview
* chore: adjust pagination
* chore: compact mode done!
* chore: remove useless todo
* chore: fix review bug
* chore: fix review bug
* chore: fix card margin
* chore: fix review bug
* chore: fix review bug
* chore: improve i18n and transition
* Update site/theme/static/common.less
Co-Authored-By: 偏右 <afc163@gmail.com>
* chore: fix button size and description padding
* chore: update snapshots
* chore: add compact css bundlesize limit
* chore: compact dist support
Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
zombiej
913204282b
merge master
2020-03-28 16:31:17 +08:00
二货机器人
567e8a14c6
chore: adjust ts define ( #22662 )
...
* chore: adjust ts define
* Update FormItem.tsx
2020-03-27 15:08:55 +08:00
zombiej
73562d878c
merge master
2020-03-27 13:12:37 +08:00
afc163
43de6f3db9
✅ fix test case
2020-03-27 12:26:57 +08:00
Vyacheslav Kamenev
fbdfd4afc0
move @form-item-label-height from form styles to theme variables ( #22600 )
2020-03-25 21:19:48 +08:00
二货机器人
8514e0f71e
fix: Form.List nest warning ( #22575 )
2020-03-24 23:39:56 +08:00
二货机器人
d0e182ea70
chore: Warning with defaultValue ( #22571 )
...
* add faq
* chore: Warning if Field with defaultValue
2020-03-24 22:23:40 +08:00
二货机器人
f8a342f415
docs: Fix demo ( #22569 )
2020-03-24 21:46:09 +08:00
afc163
e12e2971d8
merge feature into master-to-merge-feature
2020-03-23 15:02:22 +08:00
二货机器人
3459bfc0be
docs: 4.0.4
changelog ( #22505 )
...
* docs: Init changelog
* order
* grouping
* clean up
2020-03-23 10:57:37 +08:00
偏右
41e378a914
docs: 📖 better form demo code naming style ( #22490 )
2020-03-22 18:31:05 +08:00
Simon Knott
3dd2332549
Address diverse users without gender assumption ( #22464 )
...
Not all diverse users don't want to be addressed as "lady" - if they wanted to, they'd have put in "lady".
This commit fixes this potential offense and replaces it using a less specific "hi there".
2020-03-22 17:58:59 +08:00
二货机器人
d33784b813
docs: Update form demo ( #22483 )
2020-03-22 11:48:56 +08:00
偏右
a399d05ace
Merge pull request #22435 from ant-design/master
...
chore: 🔀 merge master into feature
2020-03-20 16:04:26 +08:00
偏右
5bf2b0df8d
🐛 fix Form requestAnimationFrame is not defined ( #22429 )
2020-03-20 11:51:51 +08:00
偏右
36924dda25
docs: update Form documentation ( #22427 )
...
* Update index.en-US.md
* Update index.zh-CN.md
* Update index.en-US.md
2020-03-20 11:17:16 +08:00
二货机器人
9e3ddb22ff
opt of noStyle message ( #22410 )
2020-03-19 21:43:57 +08:00
xrkffgg
cdcd28860c
style: add rtl.less of Form ( #22389 )
2020-03-19 14:32:22 +08:00
偏右
b80788556d
Merge pull request #22381 from ant-design/master
...
chore: 🔀 merge master into feature
2020-03-19 12:10:07 +08:00
丶尘殇
3645bd4ecc
docs: 📝 fix array type field of Form.Item name ( #22304 )
...
* 嵌套字段定义数组形式文档错误修复
* Update v3.en-US.md
Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-18 11:03:33 +08:00
afc163
46a8cf7dc7
merge feature into master-to-merge-feature
2020-03-16 15:52:39 +08:00
二货机器人
6d9f010dc2
docs: Add dynamic multiple fields demo ( #22247 )
2020-03-16 15:00:27 +08:00
Saeed Rahimi
c52d25d2cf
style: fix form item with feedback in rtl ( #22222 )
2020-03-15 19:20:10 +08:00
xrkffgg
a50c42c08b
style: fix form item rtl style ( #22214 )
2020-03-14 23:05:49 +08:00
afc163
d03ac85f36
🔀 merge master into feature
2020-03-11 15:41:51 +08:00
骗你是小猫咪
9ccd5bcc33
fix: basic form style abnormal ( #21907 )
...
* fix: basic form style abnormal
* improve grid
* upgrade snapshots and improve priority
* resolve #22009
* fix wrap element
* increase priority
* revert grid basic demo
* fix snapshots
2020-03-10 22:15:27 +08:00
Jingsong Gao
639cedeac2
fix: fix FormList Operation type definitions ( #22058 )
2020-03-10 15:46:13 +08:00
Jingsong Gao
f21b4684c8
fix: fix FormItem hooks render error ( #22053 )
2020-03-10 13:19:35 +08:00
Jingsong Gao
6d48c131dc
docs: correct inline to noStyle ( #22029 )
2020-03-09 17:55:22 +08:00
afc163
77d3a993fa
🔨 Merge master into feature
2020-03-09 17:18:32 +08:00
qiqiboy
a476197405
perf(Form): FormContext use a memoized value( #21976 ) ( #21980 )
...
* perf(Form): FormContext use a memorized value(#21976 )
* fix #21976
* fix(Form): fix typo ‘useMemo’
Co-authored-by: qiqiboy <qiqiboy@tigerbrokers.com>
2020-03-08 17:41:45 +08:00
二货机器人
9fdb82b7df
refactor: Form.Item with pure children will only render once ( #21991 )
...
* refactor: Form.Item with pure children will only render once
* not skip for real render
2020-03-08 16:28:33 +08:00
zefeng
be990f9332
chore: remove unnecessary loop ( #21978 )
2020-03-08 00:54:45 +08:00
zombiej
bde335c761
merge master
2020-03-06 18:12:39 +08:00
二货机器人
5fcdbe152e
chore: Form.useForm return same instance now ( #21927 )
...
* add test case
* memo of useForm
2020-03-06 12:07:55 +08:00
二货机器人
e8876d5817
fix: MenuItem with icon only will still have additional margin ( #21925 )
...
* fix: MenuItem with icon only will still have additional margin
* update snapshot
* fix snapshot
2020-03-06 11:53:09 +08:00
偏右
afe0e3ddad
💄 Add less variable @form-item-label-height ( #21912 )
2020-03-05 23:04:27 +08:00
二货机器人
e6965c909f
chore: Form.Item renderProps define ( #21911 )
2020-03-05 22:05:22 +08:00
afc163
c5e5a8c895
✅ update snapshots
2020-03-05 20:32:38 +08:00
zombiej
3de412353f
chore: Remove duplicated css
...
close #21860
2020-03-05 17:23:28 +08:00
二货机器人
103385ecb5
fix: Nest FormItem warning ( #21896 )
2020-03-05 16:22:02 +08:00
偏右
e01abd2309
Merge pull request #21849 from ant-design/master
...
chore: Merge master to feature
2020-03-04 13:52:34 +08:00
偏右
3c292b9d62
docs: 📝 instruction about useForm
...
close https://github.com/ant-design/codemod-v4/issues/90
2020-03-04 11:26:37 +08:00
zombiej
55734400cc
docs: Fix v3 form mig doc
2020-03-04 10:26:55 +08:00
二货机器人
661ff7921d
feat: Form validateMessages
support ${label}
( #21835 )
...
* update form deps
* update demo
* update test case
2020-03-03 21:57:06 +08:00
afc163
c928952a89
🎬 improve form demo
2020-03-03 16:39:50 +08:00
二货机器人
228c978c7c
fix: help
change cause react warning ( #21800 )
2020-03-03 12:10:32 +08:00
Martin Cermak
a226c226bf
doc: added more info about nested fields to migration guide ( #21758 )
...
Added more examples to form nested fields.
2020-03-03 10:51:54 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
...
* alert
* more icons
* another grouping
* all done
2020-03-02 12:09:38 +08:00
二货机器人
1f108ee086
fix: Form.Item renderProps return type define ( #21716 )
2020-03-01 00:21:37 +08:00
二货机器人
105c3938b5
docs: Update migration guid ( #21705 )
2020-02-29 17:09:34 +08:00
二货机器人
20a6ba3b86
fix: React 16.13 warning ( #21702 )
2020-02-29 15:21:32 +08:00
二货机器人
ac94f96608
fix: Form.Item should not exceed of form width ( #21682 )
2020-02-28 16:45:25 +08:00
medayz
b617b41dcb
fix typos in messages ( #21594 )
2020-02-26 11:27:15 +08:00
偏右
2f91dd4925
🎬 fix Form demo warning ( #21576 )
...
close #21543
2020-02-25 16:21:24 +08:00
zombiej
3f8d6cd4f0
merge feature
2020-02-24 13:10:29 +08:00
mjfwebb
bdd79ec9f3
Update index.en-US.md ( #21536 )
2020-02-23 01:26:35 +08:00
偏右
db1383ca58
🐛 Fix Form forwardRef ts error ( #21483 )
...
https://github.com/ant-design/ant-design/pull/21482#issuecomment-588642994
2020-02-20 16:36:47 +08:00
zombiej
9a90c5b910
chore: Patch fix of #21476
2020-02-19 22:16:55 +08:00
二货机器人
9f26e7a85e
fix: Form item has default height align with form size ( #21476 )
...
* fix: Form item has default height align with form size
* fix lint
* update snapshot
2020-02-19 22:04:25 +08:00
二货机器人
aa6ccda4ba
feat: Form support scrollToFirstError ( #21462 )
...
* feat: add scrollToFirstError support
* add test case
* clean up
* coverage
* feat: add scrollToFirstError support
* add test case
* clean up
* coverage
* update docs
2020-02-19 17:38:46 +08:00
zombiej
9eab33e09b
merge master
2020-02-19 13:20:43 +08:00
偏右
4f2ef2a355
🐛 Fix Form throw error when using BraftEditor ( #21425 )
...
component.props.onChange should not run when it is falsy
close #21415
2020-02-18 15:38:00 +08:00
Amumu
e275895523
fix: 较小的@form-item-margin-bottom时表单验证信息切换时表单项抖动 ( #21302 )
...
* explainAndExtraDistance
* fix variable
2020-02-17 19:35:58 +08:00
二货机器人
a90aa25b1b
chore: Export Rule interface ( #21411 )
2020-02-17 15:28:23 +08:00
骗你是小猫咪
e01755cfed
fix(Form): label width not correct when screen less than xs ( #21222 )
...
* fix(Form): label width not correct when screen less than xs
* fix form item control width
* fix css selector priority
2020-02-12 10:50:33 +08:00
二货机器人
b35f30e17a
docs: Form onFinish & getFieldsValue only get validate Field values ( #21323 )
...
* update faq
* clean up
* update faq
2020-02-11 17:04:13 +08:00
二货机器人
68d5e2c8ef
omit validateFirst ( #21329 )
2020-02-10 21:55:55 +08:00
yoyo837
e2a1b30bd7
Revert "explainAndExtraDistance"
...
This reverts commit ead1ca5ce2
.
2020-02-09 19:15:50 +08:00
yoyo837
ead1ca5ce2
explainAndExtraDistance
2020-02-09 19:14:34 +08:00
二货机器人
3080611883
feat: Notification support hooks for context ( #21275 )
...
* use promise for getInstance
* passing hooks
* hooks support
* move hooks out of fiel
* adjust style
* update snapshot
* fix test & add test case
* update hooks test
* fix style lint
* update doc
* update demo desc & eslitn rules
* fix lint
* docs add faq
* fix less
2020-02-07 17:55:26 +08:00
偏右
a558dd8756
Merge pull request #21221 from ant-design/master
...
chore: Merge master into feature
2020-02-04 21:58:14 +08:00
偏右
93e6454488
🆕 Add less variable @form-item-label-font-size ( #21216 )
...
close #21205
2020-02-04 17:01:03 +08:00
二货机器人
ad51283a9d
fix: Form.Item init status should also check help ( #21211 )
...
* fix: Form.Item init status should also check help
* clean up
2020-02-04 14:43:12 +08:00
Belikov Ivan
3a7235679b
fix: Form.Item name 0
processing ( #21186 )
...
* fix Form.Item name `0` processing
* Test coverage for `null`
2020-02-03 17:54:33 +08:00
二货机器人
207fc03c91
fix: Form.Item with name 0
should be validate ( #21179 )
...
* fix FormItem missing name
* update test case
2020-02-02 22:28:05 +08:00
二货机器人
b36e96043f
feat: Form.Item support validateFirst ( #21178 )
2020-02-02 21:40:16 +08:00
二货机器人
074fa324b6
fix: FormItem required not work without name ( #21168 )
2020-02-01 20:09:29 +08:00
二货机器人
0f1629b244
fix: Input suffix form validate error style ( #21121 )
...
* fix: Input suffix form validate error style
* update style
* update snapshot
2020-01-28 12:38:30 +08:00
Chris Frisina
1db1e57792
Update register.md ( #21093 )
...
English Grammar
2020-01-24 09:40:09 +08:00
二货机器人
c4b9a02036
docs: Add FormItem FAQ with Modal ( #21077 )
...
* docs: Add faq
* Update index.en-US.md
2020-01-22 20:20:18 +08:00
二货机器人
58133bcabd
update demo ( #21069 )
2020-01-22 12:11:49 +08:00
二货机器人
ee6f63f2e1
chore: Fix TS define of FormItem ( #21067 )
2020-01-22 11:33:35 +08:00
二货机器人
77927cadd2
Merge pull request #21042 from ant-design/master
...
chore: merge master
2020-01-21 11:23:42 +08:00
二货机器人
bfcd00a67b
fix: Form.Item ignore help = '' ( #21026 )
...
* help should support empty text
* test case
2020-01-20 16:09:59 +08:00
xrkffgg
156c1dbe17
docs: translation API doc ( #20984 )
2020-01-17 18:23:58 +08:00
xrkffgg
4388a96c32
docs: Format string notation of all components ( #20970 )
2020-01-17 17:23:47 +08:00
二货机器人
b67a1bee7d
fix: Form.Item keep render even it's not a Field ( #20963 )
...
* Not use Field when Form.Item is pure
* Add test case
* clean up
* add delay update for test
2020-01-17 11:50:06 +08:00
Gabriel Le Breton
0937ee54fb
Fix wording of a FAQ entry in form documentation ( #20954 )
2020-01-17 10:04:42 +08:00
李子瀚(Hans Lee)
1fb7407085
4.0 Form scrollToField: Pass options to form scrollToField ( #20774 )
...
* fix: form.scrollToField should accept options from scrollIntoView
* doc: Fixed wrong doc content
* doc: Fix docs pointing to scroll-into-view-if-needed
2020-01-14 22:50:49 +08:00
二货机器人
7a3cf0b93e
fix: help will shake in Form ( #20886 )
2020-01-14 14:45:22 +08:00
骗你是小猫咪
5a81182678
fix(Form.Item): label text align not correct when media less than xs and span not 24 ( #20836 )
2020-01-13 10:32:32 +08:00
Jichao Zhong
b60eb4d20d
Fix Documentation for Form API ( #20830 )
2020-01-11 23:18:46 +08:00
zombiej
3a1c51010f
chore: Export form typescript interface
2020-01-10 11:55:42 +08:00
二货机器人
40d9627554
chore: Warning when FormItem use render props and name at same time ( #20733 )
2020-01-07 19:17:51 +08:00
二货机器人
5c8cec5512
fix: Form validate should keep refresh ( #20725 )
...
* fix: Form error should not keep cache when errors changed
* add test case
2020-01-07 16:20:18 +08:00
二货机器人
17dd0d2de8
fix: FormItem should not trigger feedback className without hasFeedback ( #20691 )
2020-01-06 15:02:04 +08:00
偏右
faa969206c
🐛 Fix Input.Group align in Form.Item ( #20681 )
...
https://codesandbox.io/s/antd-reproduction-template-3x2kv
2020-01-06 14:25:59 +08:00
信鑫-King
cb528da8ed
fix: dark theme in 4.0 ( #20642 )
...
* fix: rtl direction bug
* 📝 dark theme usage docs
* fix: sketch download
* fix: theme dark
* 📝 empty image
* fix: dark form with mixture components like picker, input
* 📝 update sketch release download
* fix: remove inline-menu sub shadow
2020-01-03 19:00:01 +08:00
二货机器人
d6cb50b4fd
revert: "refactor: Remove duplicated less loop" ( #20636 )
...
* Revert "refactor: Remove duplicated less loop (#20590 )"
This reverts commit af2d803829
.
* Update package.json
2020-01-03 15:20:28 +08:00
二货机器人
5ebac5f9d6
feat: Form & ConfigProvider support component size ( #20570 )
...
* feat: Support form & ConfigProvider set component size
* update snapshot
* fix lint
* rm only
* update doc
* Table & Card support sizing
* Update snapshot
* fix lint
* update snapshot
* flush rest snapshot
2020-01-03 13:38:16 +08:00
二货机器人
af2d803829
refactor: Remove duplicated less loop ( #20590 )
...
* refactor: Remove duplicated less loop
* update snapshot
* add more test case
2020-01-02 21:21:57 +08:00
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
...
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
叶枫
4adc4df3e6
fix: form item array children interface ( #20577 )
...
* Update Form.tsx
* Update Form.tsx
* fix: fix formItem array children interface
* fix: array
* feat: test
2020-01-01 20:07:09 +08:00
zombiej
36189b5787
docs: Add missing form List operation
2019-12-31 20:54:04 +08:00
capdiem
91e342355c
🐛 fix: Fix that types of property 'children' are incompatible ( #20554 )
2019-12-31 20:21:30 +08:00
Yash Joshi
8704569a30
fix(style): form field error border style for select ( #20517 )
...
* fix(style): form field error border style for select
* fix: add style for input-group-addon
* fix: remove invalid styles
2019-12-30 22:50:33 +08:00
二货机器人
5f7ca16ed5
docs: Update form demo to remove defaultValue ( #20524 )
...
* docs: Update form demo to remove defaultValue
* update demo
* update styl
* add missing content
* update snapshot
2019-12-30 14:53:47 +08:00
二货机器人
e3126ab20d
chore: Add warning when use remove function ( #20527 )
2019-12-30 12:13:58 +08:00
二货机器人
0189ba61bf
docs: Update demo error message ( #20521 )
2019-12-29 18:32:13 +08:00
二货机器人
1636f6107e
fix: FormItem errors should show in diff line ( #20512 )
2019-12-28 14:53:43 +08:00
偏右
31b1bf7272
Merge pull request #20492 from ant-design/add-form-demo
...
docs: Add form demo
2019-12-27 17:36:09 +08:00
二货机器人
dd86ae251c
fix: Should also set className with customize help
( #20489 )
...
* add test case
* update snapshot
* update snapshot
2019-12-27 16:50:44 +08:00
afc163
276a02dfe0
✅ fix test case
2019-12-27 16:13:13 +08:00
afc163
08ab82d17f
:clipper: Add complex form control demo for Form
...
https://github.com/ant-design/ant-design/issues/20481#issuecomment-569184410
2019-12-27 15:36:27 +08:00
zombiej
c5df5c1547
chore: Update test to fix useRealTimer
2019-12-26 17:07:59 +08:00
信鑫-King
1d9bb93625
Merge pull request #20281 from ant-design/feat-dark-palette
...
feat: dark palette preview
2019-12-26 16:13:09 +08:00
二货机器人
99aded6725
fix: IME should work in safari ( #20457 )
...
* update ts define
* delay to handle message update
* update snapshot
* fix test case
2019-12-26 15:48:52 +08:00
ycjcl868
0306096356
chore: update snapshot
2019-12-26 15:15:46 +08:00
ycjcl868
bd2633d303
Merge 4.0-prepare into feat-dark-palette
2019-12-25 21:13:07 +08:00
zombiej
6dc5a8c2f4
update snapshot
2019-12-25 20:07:10 +08:00
ycjcl868
4dc860decf
Merge origin/4.0-prepare into feat-dark-palette
2019-12-25 19:32:38 +08:00
zombiej
9e8ce489e9
merge master
2019-12-25 19:09:17 +08:00
ycjcl868
bd8564e53e
fix: form demo dark style
2019-12-25 17:12:36 +08:00
zombiej
4b5a3259c1
chore: Update rc-select deps & snapshot
2019-12-25 11:29:54 +08:00
ycjcl868
a70560ae19
Merge 4.0-prepare into feat-dark-palette
2019-12-24 23:40:25 +08:00
ycjcl868
c10a6f029c
fix: demo style
2019-12-24 20:58:42 +08:00
叶枫
fd98901a9c
feat: Form list add move typescript ( #20406 )
...
* Update Form.tsx
* Update Form.tsx
* feat: add-typescript
2019-12-24 20:36:27 +08:00
ycjcl868
52e9c20b10
Merge origin/4.0-prepare into feat-dark-palette
2019-12-24 10:42:07 +08:00
ycjcl868
3a38cfaa01
fix: card, form site dark theme
2019-12-23 20:07:56 +08:00
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
...
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
2019-12-23 18:33:08 +08:00
Hami Abdi
0a00c5e22a
Correct Grammar in Form Component's Documentation ( #20381 )
...
In a demo corresponding to the form component, a comment contains a grammatical mistake: an infinitive in this context requires the present instead of past tense.
2019-12-23 09:13:04 +08:00
二货机器人
2b309341cd
fix: Select empty style & default width ( #20232 )
...
* fix empty style
* update select deps
* fix arrow position & group style
* add missing hover color
* form style update
* fix form style
2019-12-20 18:29:39 +08:00
骗你是小猫咪
74082defe9
fix(Form): feedback icon with input suffix display not correct ( #20363 )
...
* fix(From): feedback icon with input suffix display not correct
* update snapshots
* review change
* revert register.md and improve feedback example
2019-12-20 16:24:55 +08:00
xrkffgg
38dab1f725
fix: cascader error color ( #20347 )
...
* [fix] cascader error color
* fix: cascader error/warning color
2019-12-19 17:14:12 +08:00
二货机器人
95e45044ee
fix: Form select error style ( #20345 )
2019-12-19 16:23:30 +08:00
afc163
15f75e1c55
✅ fix time picker test snapshots
2019-12-17 16:58:41 +08:00
Guichi Zhao
1958b78ecc
docs: copy state to props is a bad practice ( #20212 )
...
* Copy state to props is a bad practice
The original code copy the props the state which is not necessary at all, it will only confuse the reader!
Also, it considered being a bad practice: https://overreacted.io/writing-resilient-components/
* remove console
* fix indentation
* fix lint error
* improve js syntax
2019-12-13 20:00:35 +08:00
二货机器人
c35174e9e5
fix Form.Item align style ( #20216 )
2019-12-13 10:38:40 +08:00
二货机器人
92e5107ef8
fix: required support dynamic updated rules ( #20207 )
2019-12-12 12:05:59 +08:00
二货机器人
407a41a142
feat: New Picker ( #20023 )
...
* init generate
* basic style
* basic panel style
* update mode panel style
* update style
* generate More picker
* default clear icon
* chore: Update separator type
* feat: Add ranged start & end className
* update range style
* Add transition effect
* support size config
* adjust range style
* chore: Auto fill time by showTime
* auto set time by format
* update disabled style
* update seperator style
* ranges style
* support extra footer style
* remove useless test case
part is not usable anymore
part is already tested in rc-picker
* init calendar
* all demos
* fix calendar basic test
* fix time-picker test case
* update snapshot
* fix tooltip test case & lint
* fix locale & style lint
* fix compile
* fix style
* fix style lint
* fix calendar style
* update rc-picker version
* adjust style
* move picker placeholder into locale file
* update snapshot
* add hover style
* update picker version
* fix icon position & style
* update picker version
* update deps for pading
* fix: align of suffix
* feat: Year & Month support range effect
* adjust range style to support up-down placement
* update rc-picker
* update range picker style
* adjust extra footer line style
* update snapshot
* fix: Locale error
* fix: style lint
* fix: add missing button style deps
* update test case
* fix firefox additional white line style issue
* rollback demo
* fix ff additional blue color
* docs: Remove placeholder in demo
* rangepicker ranges is tag now
* connect start / end background color with picker range
* update deps
* update deps for fixing blur text issue
* hide start-end demo
* range hover style update
* hover range with ranged value
* black magic of inner hover style
* hover style of range adjust
* fix css select miss hit on DatePicker
* remove one eslint rule
* fade range hovered color
* week should alway not show the cell selection
* update style of selection
* update snapshot
* fix style
* add margin back
* update rc-picker deps
* update date & time picker & form style
* fix disabled demo & update form style
* update docs about allowEmpty
* hide arrow in time range picker
* add hover & focused style
* fix lint
* fix style & update snapshot
* raise disabled selector proirity
* fix disabled today border color
* extra footer provides an bottom line
* time picker hover support transition background
* add padding style
* fix Firefox not correct calculate inline-flex
* fix style
* fix week picker missing today border color
* rm useless padding
* Force padding to 0
* test coverage
* dedup eslint rule
* adjust logic to imporve coverage
* fix render cell logic
2019-12-11 23:32:19 +08:00
二货机器人
ae88fdeabd
feat: Warning invalidate element when using name
. ( #20191 )
2019-12-11 16:08:59 +08:00
Theo Satloff
b0d55c8861
fix icon spacing in forms
2019-12-10 13:14:23 +08:00
叶枫
6bb5e4ea3d
feat: export interface ( #20121 )
...
* Update Form.tsx
* Update Form.tsx
* feat: add export
2019-12-06 14:59:16 +08:00
叶枫
6a70d31f1c
feat: export FormItemProps ( #20089 )
2019-12-05 11:19:27 +08:00
偏右
62d7a2bbb0
✅ restore test coverage ( #20071 )
2019-12-04 14:09:39 +08:00
偏右
bca69b6e8c
🔧 remove antd/es/form/__tests__ from npm package ( #20069 )
2019-12-04 12:07:22 +08:00
zombiej
d76283f2b9
merge master
2019-12-01 21:46:17 +08:00
zombiej
1d516d7f7f
merge feature
2019-12-01 15:29:53 +08:00
偏右
329edc1ed0
🐛 Fix Input clear icon overclap with feedback icon ( #20017 )
...
close #19884
2019-11-30 17:34:06 +08:00
ycjcl868
e8dd412c84
fix: Avatar User icon
2019-11-29 16:36:33 +08:00
ycjcl868
6ca5628417
Merge 4.0-prepare into fix-button-demo
2019-11-29 14:27:47 +08:00
Amumu
c824569ea0
move className and style to ant-upload-drag ( #19987 )
2019-11-28 18:00:59 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons
deps ( #19979 )
...
* update icons deps
* update all icon ref
* fix lint
* update snapshot
2019-11-28 12:34:33 +08:00
damon.chen
2d82b59abf
docs(Form): How to use ref with Form HOC ( #19937 )
...
* 为Form新增如何在函数组件中使用的例子
* 在Form FAQ中增加在函数组件中怎么正确拿到Form实例的说明
* 更新英文文档
* 按照comment修改
* 更新英文标题
* 修改英文文档FAQ的标题
* 修改英文文档里的大小写问题
* 按照豆酱的comments进行修改
* 按照comments进行修改
2019-11-27 18:18:19 +08:00
ycjcl868
b01bed3f6f
upd: snapshot
2019-11-25 07:02:24 +00:00
ycjcl868
ec0dba9323
fix: button group
2019-11-25 07:02:24 +00:00
ycjcl868
55e34f6ac1
fix: icon error
2019-11-25 07:02:24 +00:00
Frank
3ac81f786e
docs: Fix default values for unclear types ( #19867 )
...
* Update index.zh-CN.md
* Update index.en-US.md
2019-11-21 17:09:26 +08:00
陈小聪
e71a4ef10f
docs: Removed version column in 4.0 ( #19832 )
2019-11-20 17:46:50 +08:00
二货机器人
6396ddb4e7
fix: Omit useless props & fix icon missing ( #19833 )
2019-11-20 17:31:11 +08:00
二货机器人
efd3b35830
feat: Col support flex
prop ( #16635 )
...
* feat: Col support `flex` prop
* update snapshot
* update doc
* row component use flex type by default
* revert grid flex layout doc
* remove float style
* remove doc old FAQ
* revert .make-row
* col style use flex and max-width
* remove useless Col style and imorove base doc for a single Col
* update snapshots
* fix flex mode pseudo
* update snapshots
* back to old flex mode demo gray background color
* set default col flex => 1 auto
* change grid about flex mode description
* update snapshots
* improve grid introduce and fix with gutter bug
* update snapshots
* remove version
2019-11-20 11:13:24 +08:00
zombiej
2ba81538d8
chore: Merge master
2019-11-13 11:48:20 +08:00
偏右
cedc956512
Update index.en-US.md
2019-11-13 10:54:36 +08:00
诸岳
8f52b8028b
chore: Merge master branch and fix conflicts
2019-11-11 10:10:53 +08:00
偏右
dd8f57247f
docs: 📝 fix doc of labelAlign
in Form.Item ( #19606 )
2019-11-06 23:32:08 +08:00
Amumu
f38c7bb239
form item passing anyother attrs ( #19599 )
2019-11-06 23:30:41 +08:00
yoyo837
715814291b
remove labelAlign: PropTypes.string,
2019-11-04 16:48:44 +08:00
yoyo837
c1d55addf1
Revert "remove labelAlign: PropTypes.string"
...
This reverts commit 764960875d
.
2019-11-04 13:05:02 +08:00
yoyo837
764960875d
remove labelAlign: PropTypes.string
2019-11-04 13:01:50 +08:00
Amumu
3402f656ad
tuple FormLabelAlign ( #19543 )
2019-11-04 11:24:23 +08:00
zombiej
c75bbbd13d
merge master
2019-10-16 10:44:56 +08:00
yoyo837
fb2bafbfdc
upgrade snapshot
2019-10-15 19:13:38 +08:00
yoyo837
a9d7178c2b
upgrade snapshot
2019-10-15 18:10:04 +08:00
yoyo837
cd3d9efd9f
Merge branches 'add-args-unsorting' and 'master' of github.com:ant-design/ant-design
2019-10-15 17:52:59 +08:00
afc163
8e2b2470b2
✅ update snapshots
2019-10-15 17:47:10 +08:00
yoyo837
0522d55f26
snapshot
2019-10-15 16:33:17 +08:00
Wei Zhu
a72f43b2c1
Merge pull request #19206 from ant-design/feature
...
Merge features
2019-10-15 14:36:41 +08:00
zombiej
218798cfb4
merge master
2019-10-14 17:21:22 +08:00
willc001
4e1bbccd54
refactor: add @form-item-label-colon-margin-{right,left} ( #15478 )
2019-10-14 14:52:23 +08:00
zombiej
04a27deb2b
merge master
2019-10-14 10:53:35 +08:00
shaodahong
78b1f90e51
docs: link related issue of form initialValue option
2019-10-10 22:51:25 +08:00
orzyyyy
3ab6c48640
chore: merge master to feature
2019-10-06 06:50:04 +08:00
afc163
47dee4c7d7
✅ fix eslint problems
2019-10-05 18:02:16 +08:00
zombiej
fa8ddb4104
merge master
2019-09-16 11:23:26 +08:00
偏右
1200f7fe00
Merge branch 'feature' into master-to-merge
2019-09-14 15:40:33 +08:00
二货机器人
2ea28af6ed
Virtual select component ( #18658 )
...
* init
* fix firefox
* add active style
* adjust arrow style
* update select
* update icon logic
* render empty
* init multiple
* fix ff display style
* sync font size
* adjust padding style
* add padding
* padding it
* hotfix of chrome
* single sm
* multiple size
* update option group style
* update snapshot
* clean up transition
* rm combobox in ts define
* auto complete init
* fix auto option def
* update demo
* update demo
* update uncertain demo
* update demo
* warning if user set `size` on AutoComplete
* add debug demo
* updat demo
* update demo of disabled
* update snapshot
* rm useless test
* fix pagination test
* fix Table test
* fix calendar test case
* fix calendar test case
* adjust style
* add big data demo
* support clean up
* fix ts define
* fix lint
* fix demo lint
* fix style lint fix
* rm useless deps
* update snapshot
* stop mock
* add space
2019-09-12 20:15:17 +08:00
Amumu
11a0ebef90
docs: update colon
for Form ( #18755 )
...
* chore(docs): update for #18719
* better expression
2019-09-10 19:26:09 +08:00
afc163
cf97324abd
✅ fix demo snapshot
2019-09-07 19:34:01 +08:00
afc163
4615c70d95
🎬 fix Dragger style in Form demo
2019-09-07 19:32:24 +08:00
afc163
c9a8f698b1
✅ fix slider snapshot
2019-09-06 17:40:20 +08:00
zombiej
1e359b0309
fix lint
2019-08-30 00:06:35 +08:00
zombiej
3d8a4f3612
merge master
2019-08-29 23:41:46 +08:00
afc163
a51f7a0508
✅ test unmount
2019-08-27 18:31:01 +08:00
+v
38b8d07e03
docs: link ( #18438 )
2019-08-23 16:36:46 +08:00
afc163
760853e239
💄 eslint for all
2019-08-14 18:21:24 +08:00
vagusX
149729e524
use ant design icons 4.0 ( #18217 )
...
* feat: use @ant-design/icons@4.0
* feat: use createFromIconfontCN to make site works
* feat: update doc for Icon
* feat: use icon in component Alert
* feat: use icon in component Avatar
* feat: use icon in component Breadcrumb
* feat: use icon in component Button
* feat: use icon in component Cascader
* feat: use icon in component Collapse
* feat: use icon in component Datepicker
* feat: use icon in component Dropdown
* feat: use icon in component Form
* feat: use icon in component Input
* feat: use icon in component InputNumber
* feat: use icon in component Layout
* feat: use icon in component Mention
* feat: use icon in component Message
* feat: use icon in component Modal
* feat: use icon in component Notification
* feat: use icon in component PageHeader
* feat: use icon in component Pagination
* feat: use icon in component Popconfirm
* feat: use icon in component Progress
* feat: use icon in component Rate
* feat: use icon in component Result
* feat: use icon in component Select
* feat: use icon in component Step
* feat: use icon in component Switch
* feat: use icon in component Table
* feat: use icon in component Tab
* feat: use icon in component Tag
* feat: handle rest component which using Icon
* fix: remove unused vars
* feat: use latest alpha ant design icons
* fix: failed test in uploadlist.test.js
* test: update snapshot for icons
* doc: add Icon for site
* doc: use @ant-design/icons in site
* chore: use latest icons
* fix: tslint issue
* fix: test cases
* fix: types for react
* fix: lint rules for import orders
* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render
* fix: eslint error in demo/**.md
* inject antd icons
* update snapshot
* fix site
* doc: update docs
* fix: code snippets icon in site
* feat: use latest @ant-design/icons
* fix: icon props in message
2019-08-13 14:07:17 +08:00
afc163
5e99ed7bbe
✅ Fix eslint warnings
2019-08-12 19:04:33 +08:00
afc163
d07b298ae4
✅ Fix eslint errors
2019-08-12 19:04:31 +08:00
zombiej
1cb346573c
merge master
2019-08-12 13:34:23 +08:00
zombieJ
8114516496
feat: Tree support virtual scroll ( #18172 )
...
* update tree deps
* add part of style
* flex grid
* update disabled
* update demo
* second demo
* add draggable style
* update demo
* update rc-tree version
* temp md
* update tree deps
* update icon demo
* update style
* update less
* update deps
* clean up
* update test case
* fix show line
* update snapshot
* fix lint
* update style
* update deps
2019-08-12 13:22:36 +08:00
afc163
88de53d5af
✅ fix snapshot
2019-08-08 18:01:15 +08:00
Wendell
49c81322b2
docs: fix form doc typo ( #18160 )
2019-08-08 14:12:04 +08:00
orzyyyy
47fd80c8ad
fix: disable next line instead of the whole file
2019-08-06 15:36:13 +08:00
orzyyyy
28f39739df
test: update snapshots
2019-08-06 15:36:13 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
orzyyyy
ac3f319ad2
fix: lint:es
2019-08-06 15:31:59 +08:00
afc163
6fe1e41ae9
📝 Improve API Table design
2019-08-05 16:14:32 +08:00
afc163
887aa4c347
📝 antd/lib/xxx => antd/es/xxx
2019-08-05 15:29:26 +08:00
Kieren
d7e0f70a4e
fix typo for form api documentation
2019-08-02 13:50:03 +01:00
shao
27e7e33d12
fix review change
2019-07-31 11:12:31 +08:00
shao
f0726014c3
fix(Form.Item): fix label replace regexp err replace
2019-07-30 20:57:39 +08:00
zombiej
f56955846c
merge master
2019-07-30 19:24:34 +08:00
zombieJ
b71f2ec4bd
docs: Add faq about form errors ( #17968 )
2019-07-30 11:50:47 +08:00
zombieJ
779bc5f56a
rename ( #17729 )
2019-07-19 14:07:39 +08:00
jeessy2
49973c8df2
Update FormItem typescript definition ( #17703 )
2019-07-18 12:29:23 +08:00
偏右
248a0b6d59
Merge pull request #17696 from JonathanLee-LX/master
...
docs: correct form documentation
2019-07-17 17:30:42 +08:00
Jonathan Lee
9e6cb56ef7
docs: correct form documentation
2019-07-17 17:23:42 +08:00
jeessy2
a57a2f754d
Update Form typescript definition ( #17652 )
2019-07-17 16:53:45 +08:00
lixiaoyang1992
4e804bd466
feat(Form): upgrade setFieldsValue function declaration
2019-07-16 18:04:52 +08:00
zombiej
7b2a8fdf03
update snapshot
2019-07-16 11:46:38 +08:00
zombiej
735996ce35
merge master
2019-07-16 11:42:55 +08:00
MuYu
fb0b4f0fc9
docs: show version Number features were added ( #17373 )
...
* docs: add api first appearance
* docs: fix auto-complete doc
* docs: replace Version Added with Version
* docs: date picker common method
* docs: date picker common method
* docs: tree
* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
偏右
189ad71d32
Revert "chore: use none-dist icons entry"
2019-07-09 11:33:03 +08:00
zombiej
85a499365d
merge master
2019-07-09 10:50:46 +08:00
afc163
390807605e
🔧 use none-dist icons entry
2019-07-08 20:46:19 +08:00
zombieJ
b3a76c14ca
feat: Form support scrollToField
( #17457 )
...
* support scroll & label htmlFor
* update snapshot
* add test case
* doc update
* add decleare
* adjust logic of label id
* clean ts error
2019-07-04 15:00:11 +08:00
zombiej
186f973e50
merge master
2019-07-03 20:29:44 +08:00
zombieJ
4cdf37bedb
feat: New Form ( #17327 )
...
* init form
* first demo
* add normal login
* add style
* webit
* support nest errors
* beauti form errors
* use onReset
* modal demo
* add list demo
* match key of errors logic
* date demo
* customize component
* moving style
* add status style
* without form create
* add demos
* add inline style
* clean up legacy
* fix drawer demo
* mention
* fix edit-row
* editable table cell
* update mentions demo
* fix some test case
* fix upload test
* fix lint
* part of doc
* fix ts
* doc update
* rm react 15
* rm config
* enhance test coverage
* clean up
* fix FormItem context pass logic
* add more demo
* en to build
* update demo
* update demo & snapshot
* more doc
* update list doc
* update doc
* update demo to display condition render
* update snapshot
* add provider doc
* support configProvider
* more doc about validateMessages
* more description
* more and more doc
* fix typo
* en doc
* Form.List doc
* m v3 -> v4
* add skip
2019-07-03 20:14:39 +08:00
afc163
32132c58cf
🐛 Fix Form onSubmit type
...
close #17400
2019-07-02 19:03:23 +08:00
zombiej
be33ebfa08
update test case
2019-06-30 20:31:14 +08:00
陈帅
722b39ec16
Merge branch 'master' into feature
2019-06-28 21:55:15 +08:00
zombieJ
6d0cf1de01
rm useless style ( #17319 )
2019-06-26 18:38:27 +08:00
afc163
d3db99f882
resolve conflict and merge feature branch
2019-06-26 14:30:42 +08:00
afc163
4c84c41da0
🐛 Revert Form type unknown
to any
...
close #17245
2019-06-23 15:27:06 +08:00
zombieJ
340ff711ab
chore: Support TypeScript & JavaScript with Demo ( #17247 )
...
* update bisheng
* support lang panel
* display tabs if multiple lang
* rm tmp file
2019-06-23 12:49:28 +08:00
偏右
a4d7593ef2
Merge pull request #17120 from Zzzen/master
...
refactor: eliminate `any` type in exported interfaces.#14044
2019-06-21 17:38:56 +08:00
陈帅
82b85709be
style: run lint-fix ( #17172 )
2019-06-19 19:09:08 +08:00
Zzzen
f1ee189bd2
eliminate any
type in exported interfaces.#14044
2019-06-16 20:51:47 +08:00
afc163
be3226b757
Merge master into feature
2019-06-14 16:20:29 +08:00
Alexander.Kosov
97f2b7b0d9
Add a variable to stylize the background of the input in the validation error state
2019-06-06 14:18:31 +03:00
afc163
14dc252b04
🆙 fix for typescript@3.5
2019-06-05 14:41:36 +08:00
afc163
13379aa0d8
💄 Optimize examples code style
2019-05-27 22:04:17 +08:00
诸岳
7a728daca9
Merge branch 'master' into feature
2019-05-20 13:29:34 +08:00
zombiej
a4054bffe7
prettier md files
2019-05-20 11:46:00 +08:00
zombieJ
ecb2eb6ede
feat: Add Mentions component ( #16532 )
...
* init
* first demo
* support empty
* add loading support
* add form sample
* update form sample
* omit value & defaultValue
* add 2 rest demo
* placement support
* update docs
* fix test
* update docs
* add test case
* fix lint
* follow textarea style
* update docs style
2019-05-17 12:05:03 +08:00
SylvanasGone
a19a500970
fix(Form): improve method onFieldsChange params type defs ( #16577 )
2019-05-15 12:24:33 +08:00
Sebastian Busch
8c9b6ec653
prevent negative margin-bottom for form-item-with-help
...
without this, value can become negative. this caused following fieldset to float
to the right of the field with validation errors
(cherry picked from commit 43da8a5a835904270a6ccf48859d7bd6d91e04cd)
2019-05-14 09:52:46 +02:00
Victor Repkow
611909514c
fix(forms): improve field error method type defs
...
Change `getFieldError` and `getFieldsError` to return actual types, instead of very restrictive `Object` type (which should be avoided in general, in favour of `unknown`, `object`, or `Record` depending on actual use).
2019-05-10 15:22:55 -04:00
ztplz
62f8924393
Fix hoist-non-react-statics compile error ( #16397 )
2019-05-09 19:28:50 +08:00
afc163
b780070351
💄 prittier all files
2019-05-07 14:57:32 +08:00
afc163
ce4add7a9a
✅ update snapshots
2019-05-07 11:21:01 +08:00
afc163
715f2f6ebc
🐛 Fix hasFeedback overlap issue with Input.Password
...
close #16443
2019-05-07 11:13:55 +08:00
陈帅
785c132262
meger feature to master ( #16421 )
...
* use ul in list
* update snapshot
* update comment
* feat: TreeSelect support `showSearch` in multiple mode (#15933 )
* update rc-tree-select
* typo
* update desc & snapshot
* update desc & snapshot
* check default showSearch
* feat: table customizing variable (#15971 )
* feat: added table selected row color variable
* fix: @table-selected-row-color default is inherit
* feat: Upload support customize previewFile (#15984 )
* support preview file
* use promise
* dealy load
* use canvas of render
* use domHook of test
* update demo
* add snapshot
* update types
* update testcase
* feat: form customizing variables (#15954 )
* fix: added styling form input background-color
* feat: added '@form-warning-input-bg' variable
* feat: added '@form-error-input-bg' variable
* use li wrap with comment
* feat: Support append theme less file with less-variable (#16118 )
* add override
* add override support
* update doc
* feat: dropdown support set right icon
* docs: update doc of dropdown component
* style: format dropdown-button.md
* test: update updateSnapshot
* style: format dropdown-button.md
* test: update updateSnapshot
* test: update updateSnapshot
* style: change style of dropdown-button demo
* fix: fix document table order
* feat: Support SkeletonAvatarProps.size accept number (#16078 ) (#16128 )
* chore:update style of demo
* feat: Notification functions accept top, bottom and getContainer as arguments
* drawer: add afterVisibleChange
* rm onVisibleChange
* update
* feat: 🇭🇷 hr_HR locale (#16258 )
* Added Croatian locale
* fixed lint error
* ✅ Add test cases for hr_HR
* 📝 update i18n documentation
* feat: add `htmlFor` in Form.Item (#16278 )
* add htmlFor in Form.Item
* update doc
* feat: Button support `link` type (#16289 )
close #15892
* feat: Add Timeline.Item.position (#16148 ) (#16193 )
* fix: Timeline.pendingDot interface documentation there is a small problem (#16177 )
* feat: Add Timeline.Item.position (#16148 )
* doc: add version infomation for Timeline.Item.position
* refactor: Update Tree & TreeSelect deps (#16330 )
* use CSSMotion
* update snapshot
* feat: Collapse support `expandIconPosition` (#16365 )
* update doc
* support expandIconPosition
* update snapshot
* feat: Breadcrumb support DropDown (#16315 )
* breadcrumbs support drop down menu
* update doc
* add require less
* fix test
* fix md doc
* less code
* fix style warning
* update snap
* add children render test
* feat: TreeNode support checkable
* feat: add optional to support top and left slick dots (#16186 ) (#16225 )
* add optional to support top and left slick dots
* update carousel snapshot
* Update doc, add placement demo
* update carousel placement demo snapshots
* rename dots placement to position
* update vertical as deprecated
* rename dotsPosition to dotPosition
* refine code
* add warning testcase for vertical
* remove unused warning
* update expression
* Additional test case for dotPosition
* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402 )
* upgrade `rc-tree-select`
* update snapshot
* 3.17.0 changelog
* fix warning
* fix review warning
2019-05-06 12:04:39 +08:00
HiddenMan
0350544de1
fix: username misspelling in the form. ( #16398 )
...
* fix normal-login spelling mistake
* fix horizontal-login spelling mistake
* fix index.zh-CN spelling mistake
* fix index.en-US spelling mistake
* update form demo.test.js.snap
2019-05-01 23:44:22 +08:00
Sebastian Busch
5ce2f89adc
Form onFieldsChange(): document third parameter "allFields", remove non-existent fourth parameter "add" from TypeScript definition ( #16343 )
...
* there is no fourth parameter, added by mistake in 619b0ed628
* Form onFieldsChange(): document third parameter 'allFields', introduced in 619b0ed628
2019-04-28 15:29:18 +08:00
zombieJ
da9cef91b8
fix: Form with forwardRef typescript ( #16242 )
...
* update form typescript define with forawardRef
* add ts test
2019-04-23 11:23:20 +08:00
zombieJ
a530be1eab
adjust hoist-non-react-statics ts import ( #16224 )
2019-04-22 15:47:07 +08:00
偏右
6e2c2baaae
Merge pull request #16114 from ant-design/create-react-context
...
chore: use @ant-design/create-react-context of MIT
2019-04-18 11:08:57 +08:00
zombieJ
fdcfabfa78
fix: form typescript definition ( #16126 )
...
* use redux-react ts define
* update doc
* follow origin rule
2019-04-17 13:51:52 +08:00
afc163
0a8f33385d
🆙 use @ant-design/create-react-context of MIT
2019-04-16 12:18:39 +08:00
偏右
76b3f76033
Merge pull request #16071 from ant-design/up-dev-deps
...
chore: 🆙 upgrade devDependencies
2019-04-15 13:15:44 +08:00
zombieJ
ae101a2056
fix: labelAlign should work in Form.Item ( #16072 )
...
* labelAlign should work in Form.Item
* add Form & Form.Item
* rename type
2019-04-15 12:10:04 +08:00
afc163
a2a9831abb
💄 Fix less code style
2019-04-15 11:05:06 +08:00
afc163
60f4930348
📝 Optimize table and form documentation
2019-04-14 14:32:16 +08:00
啸生
32bc6995d6
update snapshot ( #16059 )
...
<!--
First of all, thank you for your contribution! 😄
New feature please send pull request to feature branch, and rest to master branch.
Pull request will be merged after one of collaborators approve.
Please makes sure that these form are filled before submitting your pull request, thank you!
[[中文版模板 / Chinese template](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE/pr_cn.md )]
-->
### 🤔 This is a ...
- [ ] New feature
- [ ] Bug fix
- [ ] Site / document update
- [ ] Component style update
- [ ] TypeScript definition update
- [ ] Refactoring
- [ ] Code style optimization
- [ ] Branch merge
- [x] Other (about what?)
2019-04-13 21:48:05 +08:00
zombieJ
41316e69e8
update snapshot ( #16017 )
2019-04-11 12:48:36 +08:00
zombiej
b54157a395
update doc
2019-04-09 22:52:25 +08:00
afc163
69140e7d59
bug(Form): switch should be trigger by form label
...
close #15549
2019-04-08 11:11:34 +08:00
Minwei Xu
32f9458b54
docs: Add space between eng and chinese for #15876
2019-04-07 14:28:50 +08:00
Minwei Xu
98bc178a36
update mapPropsToFields demo
2019-04-04 12:51:14 -04:00
Minwei Xu
10196718e4
update doc for mapPropsToFields
2019-04-04 12:39:03 -04:00
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
2019-04-03 15:54:26 +08:00