Commit Graph

1446 Commits

Author SHA1 Message Date
seaSuper
9bc148abcc
feat: ConfigProvider add form colon (#32818)
* feat: ConfigProvider add form colon

* add: test for ant-design#32799

* fix: Modify FormItemLabel get ConfigColon from From

* refactor: Simplify the code
2021-11-11 17:51:33 +08:00
Austaras
d1f87ccc80
feat: input number support prefix (#32600) 2021-10-30 22:25:12 +08:00
二货机器人
184402a9bc
feat: Form.Item no longer need fieldKey anymore (#32689)
* chore:Update Form to remove fieldKey

* fix: fieldKey cache logic

* test: Update snapshot

* chore: clean up
2021-10-29 18:24:50 +08:00
WeijieChen
4d9b6dc74e
docs: form register demo add textarea item (#32669)
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-28 12:26:18 +08:00
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 (#32609)
* chore(deps): update dependency stylelint to v14

* Update package.json

* fix some stylelint

* fix some stylelint

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-22 13:35:36 +08:00
叶枫
7d68eca271
docs: add doc (#32570)
* feat: add doc
2021-10-20 12:23:56 +08:00
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 (#32451)
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2

Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases)
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2)

---
updated-dependencies:
- dependency-name: stylelint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: autofix stylelint errors

* chore: autofix stylelint errors

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-13 15:38:59 +08:00
afc163
d361537748
fix: Mentions error style in Form (#32385) 2021-10-05 15:56:31 +08:00
zombiej
dd46fbbf42 docs: Update Form doc. close #31265 2021-09-15 18:09:02 +08:00
二货机器人
bc9c2734dd
test: Raise coverage (#32182)
* chore: rm useless code

* test: Coverage of warningOnly

* test: 100% coverage
2021-09-15 17:13:51 +08:00
二货机器人
e13c4d4131
fix: Less Maximum call stack size exceeded error (#32063)
* chore: create additional entry

* fix: rm recv call

* chore: Add default.less as index.less

* chore: update entry

* fix: row should also translate

* chore: rename index-default to index and add index-pure instead

* fix: missing transfer customize styl
2021-09-07 16:14:20 +08:00
二货机器人
36bcaaef85
Add variable.less to support css variable (#31496)
* chore: use varaible.less

* chore: basic primary varaible

* chore: Move to variable

* chore: align active color

* chore: global fix of css variable

* chore: primary colors

* chore: button danger

* chore: btn default error color

* chore: button series

* chore: More examples

* chore: More components

* chore: Form demo

* chore: form style

* fix: Tag & Alert variable

* chore: update footer

* chore: rm tmp code

* chore: transfer

* fix: picker column active color

* chore: Adjust active bg color

* chore: table hover color

* chore: all css variables

* chore: Global using variables

* chore: Test case

* chore: Update test logic

* chore: back of default less

* chore: entry of site use proxy style

* chore: update entry

* chore: split of variables

* refactor: quick dist speed

* fix: site use variable version

* chore: Update less config

* chore: add mv script

* chore: Update repalcement script

* chore: Add inject variables

* chore: Update script

* fix: script path

* chore: Move to component instead

* chore: fix condition

* chore: update config

* chore: Update in less transform

* chore: Modify logic

* chore: change to variables

* chore: Update name

* fix: script name

* chore: do inject

* revert: back of path

* chore: 2 way of generate

* bump tools

* chore: Add auto replacement script

* chore: auto genrate less file

* chore: fix test

* test: More test case

* chore: Update limit config

* test: coverage

* docs: Update doc
2021-09-01 10:56:50 +08:00
二货机器人
282b7c8575
feat: Cascader support multiple mode (#31936)
* chore: Update cascader version

* chore: replace cascader

* chore: default allowClear

* chore: Update docs

* test: Back of part

* test: More snapshot

* test: more and more

* test: Failed of defaultValue

* test: all basic test case

* test: All snapshot

* chore: Update cascader

* chore: disable react/jsx-no-bind

* chore: fix lint

* chore: fix less order

* chore: fix deps

* docs: Update multiple demo

* docs: Add multiple example

* test: Update snapshot

* test: update snapshot
2021-08-31 15:51:02 +08:00
Austaras
d86e1b5153
feat: InputNumber support addon (#31432)
* feat: InputNumber support addon

* docs: Update InputNumber doc

* chore: Update snapshot and fix lint

* chore: Add release version

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>
2021-08-31 13:09:03 +08:00
afc163
8416e31821 chore: resolve conflict between master and feature 2021-08-23 17:48:23 +08:00
xrkffgg
9aa9495fb1
test: up snap (#31875) 2021-08-23 15:19:44 +08:00
Han Han
c9bf113b39
chore: fix form demo (#31871)
子节点的值的属性,如 Switch 的是 'checked'。
2021-08-22 21:34:32 +08:00
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