Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
dingkang
52b049d170
test: replace Table part test with test lib ( #35989 )
* test: replace Table part test with test lib
* test: replace table test with test library
* test: update snapshot
* test: replace last mount
* test: fix 18 testing
Co-authored-by: zombiej <smith3816@gmail.com>
2 years ago
chenxiang
c9145d7051
fix: 类型“FormListFieldData”上不存在属性“fieldKey”。( #35883 ) ( #35884 )
* fix: 类型“FormListFieldData”上不存在属性“fieldKey”。(#35883 )
* add deprecated tag to fieldKey
* add changelog
* Revert "add changelog"
This reverts commit 2cc174f633
.
3 years ago
Karott
338ec7dad7
perf: refactor devWarning for production code size ( #35411 )
* pref: better code style for production
* refactor `devWarning`
* don't use `useEffect` only wrap `devWarning`
* chore: add 'noop' to coverage
* chore: add test cases for devWarning
* chore: add test case
* chore: update test cases for devWarning
* chore: restore test script command
* fix: remove 'throw new Error'
* should not use `throw` for browser
* chore: update test case for AutoComplete
* perf: add prefix for `devWarning`
* update RegExp for UMD
* add prefix for ES and CJS
* chore: better code style
* perf:
* upgrade antd-tools
* remove `injectWarningCondition`
* rename `devWarning` to `warning`
* chore: better code style
* chore: better code style
* chore: restore hasValidName
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
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
二货机器人
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
二货机器人
7a3bf8287f
feat: Form `rule` support `warningOnly` that not block form submit ( #30829 )
* chore: bump rc-field-form
* docs: Demo driven
* refactor: Use event instead
* chore: collection logic update
* chore: clean up
* chore: show warning
* chore: warning no need required mark
* feat: warning example
* docs: mix error
* chore: tmp list
* chore: magic code
* chore: fix motion
* chore: fix style
* chore: clean up useless code
* chore: RM useless import
* chore: RM useless file
* test: Update snapshot
* chore: Should reset
* fix: Memo logic
* fix: Form basic test case
* fix: lint
* chore: back of ref
* test: Update snapshot
* test: RM ueseless test case
* chore: RM useless code
4 years ago
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>
4 years ago
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
4 years ago
Yu Mao
acc2e03ddf
fix: add optional rules property ( #27164 )
* fix: add optional rules property
* fix: replace interface
4 years ago
二货机器人
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
4 years ago
zoomdong
39f1126315
feat: Form.List add() support index param ( #26081 )
* feat: Form.List add() support index param
* update test case
* update
4 years ago
偏右
cffa9af09b
feat: export FormList interface ( #25849 )
close #24487
close #25835
4 years ago
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
4 years ago
二货机器人
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>
5 years ago
Jingsong Gao
639cedeac2
fix: fix FormList Operation type definitions ( #22058 )
5 years ago
叶枫
fd98901a9c
feat: Form list add move typescript ( #20406 )
* Update Form.tsx
* Update Form.tsx
* feat: add-typescript
5 years ago
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
5 years ago
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
5 years ago