Commit Graph

344 Commits

Author SHA1 Message Date
二货机器人
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
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
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
陈帅
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
偏右
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
偏右
39e37bf1b4
fix: Input[allowClear] className (#27462)
* fix: Input[allowClear] className missing

close #27444

* fix snapshot
2020-10-30 15:27:37 +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
偏右
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
偏右
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
zombiej
40c8fb8363 chore: merge master 2020-09-24 15:26:37 +08:00
Dmytro Gorelik
efc304c55a
style: fix RadioGroup validation error highlight (#26849) 2020-09-22 17:04:48 +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
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
二货机器人
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
二货机器人
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
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
偏右
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
偏右
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
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
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
二货机器人
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
偏右
8eb4e83535
test: increase test covarage (#25857)
* test:  increase test covarage

* fix test case
2020-07-28 17:54:46 +08:00
07akioni
21e5fff467
chore: update rc-input-number 6.0.0 (#25843) 2020-07-27 22:32:21 +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
二货机器人
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
二货机器人
24abadd994
fix: preserve warning in Gorm.Item (#25518) 2020-07-08 23:43:26 +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
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