MadCcc
833ff22728
refactor: form cssinjs ( #34679 )
* refactor: form cssinjs
* fix: use rootPrefixCls
* feat: enhance
* test: update snapshot
* chore: code clean
* refactor: code enhance
* chore: code clean
* feat: add feedback icon style
* fix: padding
* feat: add motion easeout
* fix: explain padding
* fix: style
* chore: code clean
* test: update snapshot
3 years ago
MadCcc
0d4cc5ed33
refactor: adjust TextArea in form ( #34714 )
3 years ago
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
* refactor: feedbackIcon migration
* test: update snapshot
3 years ago
MadCcc
0de1e66ff1
refactor: move override code in form ( #34694 )
* refactor: move override code in form
* refactor: radio and checkbox
* chore: code clean
* test: fix lint
* test: fix lint
3 years ago
MadCcc
ed651f450d
fix: missing status style for RangePicker ( #34509 )
* fix: range picker should has status style
* chore: code clean
* chore: code clean
* chore: code clean
3 years ago
MadCcc
4c666f5775
fix: clear status in input addon ( #34412 )
3 years ago
二货机器人
3d7ed0815b
fix: not warning if Form.Item unmount ( #34405 )
3 years ago
afc163
0acb9901ea
fix: Form.Item "React does not recognize the requiredMark prop on a DOM element" ( #34323 )
close #34310
3 years ago
Zach Bird
1042829e49
fix: Form doc "resetFields" args type ( #34262 )
3 years ago
二货机器人
811fed2fc2
refactor: Update rc-slider ( #34234 )
* chore: Update rc-slider version
* chore: bump
* chore: update sty;e
* fix: style
* test: update snapshot
* test: all fixed
* fix lint
3 years ago
MadCcc
bfebb88bdb
feat: introduce rc-input ( #34206 )
* feat: introduce rc-input
* fix: export InputRef alias
* docs: fix demo
* chore: code clean
* test: fix lint
* test: test coverage
* chore: code clean
* chore: code clean
* test: update snapshot
3 years ago
afc163
386ede9297
fix: Form layout when Select has long text ( #34117 )
* fix: Form layout when Select has long text
close #33773
* chore: update snapshot
3 years ago
二货机器人
912ffb15d0
refactor: Button with cssinjs ( #33890 )
* init
* chore: cssinjs base button
* chore: more style
* chore: mix style
* chore: size
* chore: more style
* misc
* chore: re-structrue
* chore: icon onlt
* chore: back of disabled
* chore: loading status
* chore: loading motion
* chore: add active style
* docs: site prepare dynamic theme
* chore: bump antd cssinjs
* chore: color type check
* chore: bump cssinjs version
* chore: clean up useless ts def
* chore: ignore button style
* chore: rename ci
* chore: update cssinjs ver
* chore: ssr default wrapper
* chore: bump cssinjs version
* chore: ssr support
* chore: fix script
* test: fix node snapshot
* chore: move cssinjs pkg size from css to js
* test: coverage
3 years ago
MadCcc
fb1955573e
feat: TreeSelect support status ( #34093 )
* feat: TreeSelect support status
* chore: code clean
* docs: add demo version
3 years ago
MadCcc
533bc8740a
feat: cascader support status ( #34086 )
* feat: cascader support status
* chore: code clean
* chore: raise bundle size limitation
* chore: code clean
3 years ago
MadCcc
2258335e6c
feat: select support status ( #34084 )
* feat: select support status
* test: fix lint
3 years ago
MadCcc
8054abe81f
feat: DatePicker and TimePicker support status ( #34073 )
* feat: DatePicker and TimePicker support status
* docs: demo add version
* chore: code clean
3 years ago
MadCcc
65bf6550b1
feat: mentions support status ( #34071 )
* test: skip form deps-lint
* perf: remove useless has-feedback classname
* test: raise test coverage
* style: recover import arrangement
3 years ago
MadCcc
6a7acfbf6e
feat: inputNumber support status ( #34042 )
* feat: inputNumber support status
* test: fix test
* feat: custom status first
* refactor: getMergedStatus pass status in params
3 years ago
MadCcc
37e042358d
feat: Input support status ( #33995 )
* feat: remove form status style && input support status
* test: update snapshot
* feat: update status prop in config provider
* fix: form item validateStatus support
* chore: code clean
* feat: status classname change
* test: update snapshot
* refactor: move formItemStatusContext to form folder
* refactor: merge utils
* refactor: rename statusUtils
* chore: code clean
* test: fix coverage
* chore: remove status prop of Form.Item
* chore: code clean
* docs: update demo
* test: fix lint
* feat: status only success and warning
* test: fix lint
* docs: update deamo
3 years ago
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
3 years ago
二货机器人
fe185dcbce
fix: typography ellipsis check in transform ( #34007 )
* fix: typography ellipsis check in transform
* test: Update snapshot
3 years ago
二货机器人
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
3 years ago
afc163
2d484bbe47
fix: Form validateMessages in nested ConfigProvider ( #33705 )
close #33691
3 years ago
二货机器人
ec5b33e949
fix: Form.Item shaking when `help` is empty string ( #33644 )
* fix: empty help takes the line
* test: test case
3 years ago
afc163
a926aa52c6
fix: Form should have default validateMessages in en locale ( #33511 )
3 years ago
zombiej
7ae451729f
test: update snapshot
3 years ago
二货机器人
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
3 years ago
二货机器人
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
3 years ago
afc163
b1642233e8
fix: Revert "fix: TextArea missing maxLength attr." ( #33312 )
* Revert "fix: TextArea missing maxLength attribute (#32448 )"
This reverts commit ee703c187e
.
* fix: snapshot
3 years ago
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
3 years ago
zhichenshaw
eb3cf792cf
docs: Update index.zh-CN.md ( #33184 )
修复文档中 FormInstance 的 scrollToField方法 第二个参数 options 错误的类型
3 years ago
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
3 years ago
afc163
264b3514d8
fix: TextArea height bug ( #33055 )
* fix: TextArea height bug when has `showCount`
close #33049
* fix snapshot
* revert form demo
3 years ago
afc163
e7f23592bc
feat: support Form labelWrap ( #33048 )
* feat: form label can be wrap
* fix api doc
* fix ts
3 years ago
zombiej
122fd8b9b9
test: Update snapshot
3 years ago
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>
3 years ago
afc163
37442ae0d5
fix: Form layout span 24 usage ( #32981 )
close #32980
3 years ago
二货机器人
ce006bd44e
docs: Version Robin ( #32830 )
3 years ago
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
3 years ago
afc163
8a3b5d9f3c
fix: Form horizontal broken style when select item is too long ( #32778 )
close #32777
3 years ago
afc163
5360722e5c
chore: update form demo
3 years ago
Austaras
d1f87ccc80
feat: input number support prefix ( #32600 )
3 years ago
二货机器人
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
3 years ago
WeijieChen
4d9b6dc74e
docs: form register demo add textarea item ( #32669 )
Co-authored-by: machixian <machixian@myweimai.com>
3 years ago
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>
3 years ago
叶枫
7d68eca271
docs: add doc ( #32570 )
* feat: add doc
3 years ago
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>
3 years ago
afc163
d361537748
fix: Mentions error style in Form ( #32385 )
3 years ago
zombiej
dd46fbbf42
docs: Update Form doc. close #31265
3 years ago