Commit Graph

1573 Commits

Author SHA1 Message Date
二货机器人
395c549049
fix: Typography error on context ellipsis (#33725)
* chore: init measure

* chore: out of space

* refactor: Multiple render

* chore: auto cut

* feat: render split

* fix: ellipsis logic of suffix

* fix: ref missing

* fix: Tooltip missing

* test: snapshot

* chore: opt for textarea

* test: back part of ellipsis

* chore: back of ellipsis logic

* ellipsis logic

* fix: init ellipsis measure

* fix: ellipsis event

* chore: clean up

* test: Update snapshot

* fix: test

* test: Update snapshot

* chore: lazy ellipsis

* fix: check css ellipsis logic

* test: Update snapshot

* test: back of coverage

* chore: clean up

* test: ignore else

* test: clean up
2022-01-18 14:13:41 +08:00
afc163
2d484bbe47
fix: Form validateMessages in nested ConfigProvider (#33705)
close #33691
2022-01-13 13:50:18 +08:00
二货机器人
ec5b33e949
fix: Form.Item shaking when help is empty string (#33644)
* fix: empty help takes the line

* test: test case
2022-01-10 15:58:53 +08:00
afc163
a926aa52c6
fix: Form should have default validateMessages in en locale (#33511) 2021-12-31 16:56:21 +08:00
zombiej
7ae451729f test: update snapshot 2021-12-27 10:58:29 +08:00
zombiej
6ed4d855b1 Merge remote-tracking branch 'origin/master' into feature-merge-master 2021-12-27 10:45:42 +08:00
二货机器人
2df11184f4
test: Demo check popup content (#33378)
* auto demo

* chore: update demo snapshot

* fix: trigger mock ref logic

* chore: try 2 test case

* chore: more snapshot

* chore: update snapshot

* chore: fix ts

* chore: split test

* test: Update test case

* chore: fix test order
2021-12-23 11:51:10 +08:00
二货机器人
ff88851c4c
chore: Bump Select related deps (#33364)
* chore: bump select related version

* test: Fix test case

* chore: bump rc-select version

* test: Update snapshot

* chore: Update Select ts

* test: Update snapshot

* test: Update snapshot

* test: Update snapshot

* chore: Update ts definition

* chore: fix internal ts def

* test: update auto complete snapshot

* chore: update snapshot

* chore: bump version

* chore: fix demo ts

* chore: Move ValueType to the first place

* test: Update test case
2021-12-21 21:38:11 +08:00
zombiej
42bc6dcdef Merge remote-tracking branch 'origin/master' into feature-merge-master 2021-12-16 10:40:55 +08:00
afc163
b1642233e8
fix: Revert "fix: TextArea missing maxLength attr." (#33312)
* Revert "fix: TextArea missing maxLength attribute (#32448)"

This reverts commit ee703c187e.

* fix: snapshot
2021-12-15 21:36:36 +08:00
James
34dbf5f0a2
fix: Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug (#31846)
* Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug

* Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug

* fixed lint issues.

* change: add black list for form item name

* keep the definition the same as before

* update snapshot

* change formItemNameBlackList type to array

* add test case for form item is in black list

* add test condition

* prettier it

* change: add black list for form item name

* keep the definition the same as before

* merege from upstream

* rebase this branch

* change formItemNameBlackList type to array

* add test case for form item is in black list

* add test condition

* prettier it

* fix test case that casing by rebase
2021-12-12 14:58:49 +08:00
github-actions[bot]
1f22ebb9d9
chore: auto merge branchs (#33200)
chore: sync master into feature
2021-12-08 03:35:46 +00:00
zhichenshaw
eb3cf792cf
docs: Update index.zh-CN.md (#33184)
修复文档中 FormInstance 的 scrollToField方法 第二个参数 options 错误的类型
2021-12-07 18:27:47 +08:00
xrkffgg
a04a4efc8b
Merge pull request #33163 from ant-design/master
chore: merge master into feature
2021-12-05 15:22:48 +08:00
afc163
b34f72b1b6
test: fix ci warnings (#33160) 2021-12-04 17:06:36 +08:00
zombiej
1698426161 test: Update snapshot 2021-12-01 22:52:49 +08:00
afc163
264b3514d8
fix: TextArea height bug (#33055)
* fix: TextArea height bug when has `showCount`

close #33049

* fix snapshot

* revert form demo
2021-11-27 15:35:42 +08:00
afc163
e7f23592bc
feat: support Form labelWrap (#33048)
* feat: form label can be wrap

* fix api doc

* fix ts
2021-11-26 18:15:59 +08:00
zombiej
122fd8b9b9 test: Update snapshot 2021-11-26 15:49:09 +08:00
zombiej
dd1670a3b4 chore: merge master 2021-11-26 15:19:31 +08:00
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 (#32824)
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0

Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases)
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0)

---
updated-dependencies:
- dependency-name: eslint-config-airbnb
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* chore: code style

* memoize-one

* add comment

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* improve useMemo deps

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-26 12:18:21 +08:00
zombiej
24ec3ba662 chore: merge master 2021-11-26 10:15:39 +08:00
afc163
37442ae0d5
fix: Form layout span 24 usage (#32981)
close #32980
2021-11-23 13:15:06 +08:00
github-actions[bot]
bac876a14d
chore: auto merge branchs (#32839)
chore: sync master to feature
2021-11-12 07:15:31 +00:00
二货机器人
ce006bd44e
docs: Version Robin (#32830) 2021-11-12 11:46:42 +08:00
seaSuper
9bc148abcc
feat: ConfigProvider add form colon (#32818)
* feat: ConfigProvider add form colon

* add: test for ant-design#32799

* fix: Modify FormItemLabel get ConfigColon from From

* refactor: Simplify the code
2021-11-11 17:51:33 +08:00
afc163
8a3b5d9f3c
fix: Form horizontal broken style when select item is too long (#32778)
close #32777
2021-11-08 17:27:03 +08:00
afc163
5360722e5c chore: update form demo 2021-11-05 15:51:50 +08:00
Austaras
d1f87ccc80
feat: input number support prefix (#32600) 2021-10-30 22:25:12 +08:00
二货机器人
184402a9bc
feat: Form.Item no longer need fieldKey anymore (#32689)
* chore:Update Form to remove fieldKey

* fix: fieldKey cache logic

* test: Update snapshot

* chore: clean up
2021-10-29 18:24:50 +08:00
WeijieChen
4d9b6dc74e
docs: form register demo add textarea item (#32669)
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-28 12:26:18 +08:00
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
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