NathanLao
1d76fe94fa
feat: focus on the first field with error in form validation ( #51231 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2024-10-15 16:24:27 +08:00
Amumu
c55a675c69
chore: update slider patch to fix warning ( #51150 )
...
* chore: update slider patch
* update snap
2024-10-08 15:32:17 +08:00
ice
696c9dde02
fix(button): type=link error token & add prefix cls (color/variant) & specificity too high ( #50962 )
2024-09-24 23:52:50 +08:00
thinkasany
9b7adc1859
demo(form): improve layout demo ( #50933 )
2024-09-20 11:51:25 +08:00
renovate[bot]
863f61d908
chore(deps): update dependency eslint to v9 ( #50690 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-19 03:30:19 +08:00
curry
436aa9ad2d
feat: Segmented adds vertical prop ( #50708 )
...
Co-authored-by: 梁朝飞 <liangchaofei@guokechuzhi.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com>
2024-09-18 23:22:51 +08:00
𝑾𝒖𝒙𝒉
b6edef3af8
fix(Upload): should support name
prop drilling ( #50652 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-14 14:38:51 +08:00
ice
badfbe3cfe
feat(Button): support variant and color ( #50051 )
...
* feat(button): variant & color types
* feat: type -> color/variant
* feat: type -> color/variant
* feat: add variant filled
* test: snap
* refactor(button): rename type -> variant
* docs: add demo
* feat: add danger ghost style
* refactor: remove deprecated
* refactor: eslint
* docs: change color&variant
* test: updated snap
* docs: color-variant
* docs: add debug color&variant
* feat: global token
* refactor: remove comment
* docs: add color&variant docs
* docs: remove default
* docs: add space
* docs: code
* test: update snap
* test: fix snap
* test: btn querySelect
* feat: change filled hoverStyle
* test: fix
* feat: support grey wave
* refactor: enhance
* docs: color/variant -> v 5.21
* test: snap
* feat: add token
* test: to do
* test: fix test
* ci: rebuild
* style: remove
* style: space
* docs: add note & FQA
* feat: add componentsToken
* refactor: remove isNotGrey
* test: add case
* docs: tile button
* test: snap
* docs: site & snap
* Update components/button/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* fix: token color & undef
* docs: site
* docs: responsive
* docs: enhance FAQ
* docs: gap middle
* test: snap
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/button/style/token.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/button/style/token.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* refactor: rename
* docs: prettier
* chore: eslint
* refactor: cls
* test: add solidTextColor case
* refactor: genVariantButtonStyle
* refactor: genVariantButtonStyle
* refactor: genVariantButtonStyle
* fix: rename
* docs: text
* fix: remove border
* feat: add token colorErrorBgFilledHover
* chore: add size-limit
* refactor: rename
---------
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2024-09-03 17:39:02 +08:00
Nicolò Zandarin
1cd79e3b0a
fix: Disable the Rate component within Form.Item when the form is disabled ( #50594 )
...
Co-authored-by: Nicolò Zandarin <nicolo.zandarin@atroos.com>
2024-08-27 18:56:54 +08:00
thinkasany
78a65ef072
demo: improve variant demo ( #50495 )
...
* demo(form): improve variant demo
* chore: replace semented
2024-08-20 16:04:11 +08:00
二货爱吃白萝卜
832cffcdf9
feat: ColorPicker support gradient color ( #50050 )
...
* refactor: support type update
* chore: update clear style
* chore: bump color picker
* chore: use slider
* chore: bump color picker
* chore: range slider
* chore: layout
* chore: useModeColor
* chore: simplify
* chore: bump color picker
* refactor: event
* chore: tmp lock check
* chore: of it
* chore: update ts def
* chore: update ts def
* chore: remove useless ts
* chore: linear
* chore: adjust style
* chore: rm useless code
* chore: fill color
* chore: basic linear
* chore: support toStr
* chore: limit minCount
* chore: use cache
* chore: drag support:
* chore: yes
* chore: update demo
* chore: useLayoutEffect instead
* chore: fix click to add point
* chore: add smmoth
* chore: support of locale
* chore: add locale
* chore: fix lint
* chore: adjust style
* chore: fix lint
* chore: fix style
* test: fix test case
* chore: fix popover
* test: fix test case
* chore: fix test
* test: clean up
* chore: fix lint
* chore: fix lint
* chore: fix lint
* test: coverage
* test: coverage
* test: coverage
* test: coverage
* test: coverage
* test: coverage
* chore: fix docs
* docs: update demo desc
* chore: enhance hover range
* fix: delete not working
* chore: fix lint
* test: coverage
* test: coverage
* chore: clean up
* chore: adjust
* chore: highlight
* chore: adjust style
* chore: fix lint
* chore: update demo
* chore: memo perf
* refactor: up to down colors
* test: update snapshot
2024-07-29 16:38:50 +08:00
lijianan
e8fa5938ab
site: rewrite with CSS logical properties ( #50109 )
...
* site: use CSS logical properties
* Update components/anchor/demo/targetOffset.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
* fix: fix
* chore: fix
* fix: add more
* fix: add more
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-28 10:43:45 +08:00
afc163
43dca4875d
demo: refactor form login demo ( #50010 )
...
* demo: refactor form login demo
* demo: refactor form login demo
* remove site-form-item-icon
2024-07-22 20:45:30 +08:00
github-actions[bot]
05d107ce4d
chore: auto merge branches ( #49556 )
...
chore: sync master to feature
2024-06-22 15:30:17 +00:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors ( #49536 )
...
* chore: add boime lint
* fix lint
* use files ignore
* revert change
* ignore clarity.js
* fix some errors
* fix some errors
* fix some errors
* fix some errors
* add yml file
* Update clarity.js
Signed-off-by: afc163 <afc163@gmail.com>
* add npm run lint:biome
* add npm run lint:biome
* fix test case
* fix ts errors
* fix ts errors
* fix lint and add .lintstagedrc
* shorten prop name
* chore: update package.json
* update biome.json
* chore: remove stylelint
* chore: useOptionalChain
* fix lint
* biome format
* prettier all code
* prettier all code
* fix site test
---------
Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +08:00
afc163
fad1497ef7
fix: RangePicker missing arrow ( #49333 )
...
* bump rc-picker
* chore: update snapshot
* chore: update snapshot
* fix: arrow style
* fix: arrow transition style
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* fix: rtl style
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* fix rtl style
* chore: update snapshot
* fix rtl style
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* Update package.json
Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
2024-06-18 23:59:23 +08:00
Kazuhiro Kumagai
6ea55a19dc
Remove unnecessary act() calls ( #49326 )
...
* refactor(tests): remove unnecessary act() calls
* chore: do npm test -- -u
2024-06-10 10:48:21 +08:00
希亚的西红柿
053dfcc8b0
fix: fix the ellipsis bug for pre element ( #49168 )
...
* fix: fix the ellipsis bug for pre element
* fix: remove the white-space property
* test: update snapshot
* chore: clean up
* test: update snapshot
* test: update snapshot
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-06-04 10:53:34 +08:00
叶枫
2119e2d560
feat: Form.Item support layout 3 ( #49152 )
...
* feat: Form.Item support layout 3
* feat: test
* feat: antCls
* feat: CSSObject
2024-05-31 14:46:22 +08:00
afc163
38050d6ada
Merge pull request #49145 from ant-design/master
...
chore: feature merge master
2024-05-31 12:20:03 +08:00
叶枫
5932005ce4
Form.Item support layout ( #49119 )
...
* feat: FormItem support layout
* feat: doc
* feat: test
* feat: test
* feat: test
* feat: test
* feat: itemPrefixCls
2024-05-31 10:50:47 +08:00
二货爱吃白萝卜
20fa082785
test: Update test of demo ( #49140 )
...
* chore: rollback ci
* test: one day
2024-05-30 19:49:07 +08:00
github-actions[bot]
d4c5cb66de
chore: auto merge branches ( #49137 )
...
chore: feature merge master
2024-05-30 10:45:03 +00:00
叶枫
54286673de
docs: add getValueProps demo ( #49072 )
...
* docs: add getValueProps demo
* feat: normalize
* feat: normalize
* feat: name
* feat: name
* feat: doc
* feat: date
* feat: tz
* feat: tz
2024-05-28 22:54:54 +08:00
github-actions[bot]
95ba19f9d0
chore: auto merge branches ( #48984 )
...
chore: feature merge master
2024-05-21 08:16:54 +00:00
红
baef247630
refactor: improve the acquisition of dom logic ( #48989 )
...
* deps: bump rc-util to 5.41.0
* refactor: improve the acquisition of dom logic
* test: add unit test
2024-05-20 19:41:30 +08:00
二货爱吃白萝卜
bf265c0efe
docs: fix some doc and lint issue ( #48982 )
...
* chore: fix dumi lint
* test: update snapshot
2024-05-20 14:26:51 +08:00
Wanpan
1d138e999c
feat: Form ref adding nativeElement ( #48841 )
...
* feat: ref adding nativeForm
* feat: optimized code
* feat: optimized code
* fix: update type
* feat: optimized code
* feat: update rc-field-form
* feat: update
* feat: update
* feat: update
---------
Signed-off-by: Wanpan <wanpan96@163.com>
2024-05-15 15:19:27 +08:00
lijianan
ba5f9fe2f8
Merge pull request #48677 from ant-design/master
...
chore: merge master into feature
2024-04-28 14:02:49 +08:00
lijianan
029cb1dff0
test: rm legacy react-dom/test-utils
for compatible React-18.3.1 ( #48667 )
...
* test: rm legacy react-dom/test-utils for compatible React-18.3.0
* fix: fix
* chore: cls
* chore: update
* fix: fix
2024-04-28 09:52:54 +08:00
tanghui
d70de6c6e6
Merge branch 'master' into feature-merge-master
2024-04-26 17:20:46 +08:00
vagusX
7c23e51400
docs: fix wrong anchor for form#dependencies ( #48570 )
...
* docs: fix wrong anchor for form#dependencies
* test: update snapshot
* scripts: add new badcases to reporter
* scripts: added one
* scripts: copy new added imgs
* scripts: fix filename
* scripts: fix path
* scripts: fix src and dest
2024-04-23 15:50:48 +08:00
lijianan
5c2e6e3651
Merge pull request #48573 from ant-design/master
...
chore: merge master into feature
2024-04-22 17:09:35 +08:00
二货爱吃白萝卜
ae155b97d5
chore: add bug version & fix test case ( #48571 )
...
* chore: add bug version
* test: clean up
* test: fix test case
* chore: fix lint
* test: fix test case
* test: fix test case
2024-04-21 23:56:41 +08:00
lijianan
27c942a00b
Merge pull request #48524 from ant-design/master
...
chore: merge master into feature
2024-04-18 10:11:58 +08:00
红
9965d96259
feat(form): improve scrollToField logic ( #48211 )
...
* feat(form): improve scrollToField logic
* docs: update form faq
* test: add unit test
* fix: boundary error
* style: update code
ref: https://github.com/ant-design/ant-design/pull/48211#discussion_r1547535631
ref: https://github.com/ant-design/ant-design/pull/48211#issuecomment-2031635922
* docs: add scrolltofield demo
* chore: update snapshot
* Update components/form/demo/validate-scroll2field.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 红 <wxh16144@qq.com>
* chore: update demo
* chore: update logic
* chore: update snapshot
* Update components/form/demo/validate-scroll-to-field.tsx
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 红 <wxh16144@qq.com>
* chore: update demo
* chore: update snap
* chore: update
* chore: update demo
* chore: update
* chore: update docs
* chore: update
* chore: update snap
* Update components/form/demo/validate-scroll-to-field.tsx
Co-authored-by: crazyair <crazyair@users.noreply.github.com>
Signed-off-by: 红 <wxh16144@qq.com>
* chore:update logic
* test: add unit test
ref: https://github.com/ant-design/ant-design/issues/28869
* chore: update demo
* test: update snap
* chore: update demo
* chore: update
* chore: update
* chore: fix TS type
* chore: update demo fix layout
* chore: update demo
---------
Signed-off-by: 红 <wxh16144@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-17 17:56:29 +08:00
叶枫
0d34e0b9d8
feat: noStyle no warning ( #48508 )
2024-04-17 14:38:15 +08:00
叶枫
502dac12aa
docs: format code ( #48309 )
...
* docs: fix code
* feat: lint
* feat: prettier
* feat: test
* feat: review
* feat: format html
* feat: format html
2024-04-08 14:04:08 +08:00
afc163
c0d2282db4
chore: update mocky.io to mockapi.io ( #48252 )
2024-04-03 23:37:22 +08:00
二货爱吃白萝卜
7e6678aa51
enhance: ssr ellipsis effect ( #48205 )
...
* enhance: ssr ellipsis effect
* test: update snapshot
* chore: fix lint
2024-04-02 14:50:46 +08:00
二货爱吃白萝卜
100fa29bef
feat: Input.OTP component support ( #48076 )
...
* chore: basic control
* chore: input instad
* docs: update demo
* chore: adjust operation interactive
* chore: lock selection
* chore: fix patch logic
* chore: merge logic
* chore: patch autoFocus
* test: update snapshot
* test: add test case
* test: coverage
* chore: update size limit
* docs: update docs
* test: fix test case
* chore: update comment
* refactor: change to length
* chore: blur all
* chore: size limit
2024-03-28 14:05:58 +08:00
叶枫
e17cd4ae27
test: keep spaces ( #47024 )
...
* feat: snap
* feat: up snap
2024-03-22 20:49:55 +08:00
afc163
7abae5e973
demo: a better Form usage inside Modal ( #47574 )
...
* demo: a better Form usage inside Modal
* chore: drop ref usage
* fix: useForm
* show values after submit
* chore: update snapshot
* chore: remove form preserve
2024-03-02 01:11:00 +08:00
二货爱吃白萝卜
72ee4517f0
refactor: Use native css for measure css line ellipsis ( #47597 )
...
* chore: init
* chore: ellpsis check with native css
* docs: all the lines
* chore: move copied btn out
* chore: add dpes
* fix: logic order
* fix: ellipsis event
* test: update testcase
* chore: use native way
* chore: destructure
* chore: fix lint
* chore: fix lint
* chore: fix lint
2024-02-27 16:56:24 +08:00
lijianan
dccdb377b0
demo: demo update ( #47551 )
...
* demo: update demo code
* fix: fix
2024-02-23 11:01:56 +08:00
二货爱吃白萝卜
18e85a7b81
feat: New Picker ( #46982 )
...
* chore: init
* chore: link picker
* chore: move files
* chore: update style
* chore: update types
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix test case
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: clesn up useless types
* chore: update types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: update style
* chore: clean up
* chore: update types
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* fix: format
* chore: update deps
* chore: feature merge master (#46794 )
* fix: Fix typo s/Notificaiton/Notification/ (#46775 )
* docs: supplement form preserve field description (#46788 )
close https://github.com/ant-design/ant-design/issues/46773
* docs: tweak changelog drawer width in small screen (#46791 )
* docs: Update compatible-style.zh-CN.md (#46790 )
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
* chore: update locale size
* chore: lock dumi
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: bump version
* test: update snapshot
* test: update snapshot
* chore: bump version
* chore: update limit
* test: update snapshot
* docs: update 7 days sample
* chore: rm useless style
* chore: clean up style
* docs: add buddihist era demo
* refactor: interface
* chore: add multiple types
* docs: add demo
* chore: init style
* chore: init style
* chore: fill style
* chore: fill style
* chore: style
* chore: size of it
* chore: size style
* docs: add align demo
* docs: needConfirm
* chore: fix showWeek style
* test: update snapshot
* chore: fix ts
* chore: fix ts
* chore: fix ts
* chore: fix ts
* fix: week style
* docs: update dayjs note
* fix: style missing
* chore: fix footer extra style missing
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: demo update
* docs: update demo
* docs: min & max date
* test: update snapshot
* docs: add order
* chore: update deps
* test: update snapshot
* test: update snapshot
* chore: adjust style
* chore: clean up style
* test: update snapshot
* chore: fix comment
* chore: update align
* chore: bump rc-picker
* test: update snapshot
* test: update snapshot
* test: update snapshot
---------
Signed-off-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-29 15:34:48 +08:00
二货爱吃白萝卜
19fd98978d
Revert "refactor: New Picker interactive" ( #46981 )
2024-01-15 16:28:45 +08:00
二货爱吃白萝卜
fe314589ed
refactor: New Picker interactive ( #46685 )
...
* chore: init
* chore: link picker
* chore: move files
* chore: update style
* chore: update types
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix test case
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: clesn up useless types
* chore: update types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: update style
* chore: clean up
* chore: update types
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* fix: format
* chore: update deps
* chore: feature merge master (#46794 )
* fix: Fix typo s/Notificaiton/Notification/ (#46775 )
* docs: supplement form preserve field description (#46788 )
close https://github.com/ant-design/ant-design/issues/46773
* docs: tweak changelog drawer width in small screen (#46791 )
* docs: Update compatible-style.zh-CN.md (#46790 )
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
* chore: update locale size
* chore: lock dumi
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: bump version
* test: update snapshot
* test: update snapshot
* chore: bump version
* chore: update limit
* test: update snapshot
* docs: update 7 days sample
* chore: rm useless style
* chore: clean up style
* docs: add buddihist era demo
* refactor: interface
* chore: add multiple types
* docs: add demo
* chore: init style
* chore: init style
* chore: fill style
* chore: fill style
* chore: style
* chore: size of it
* chore: size style
* docs: add align demo
* docs: needConfirm
* chore: fix showWeek style
* test: update snapshot
* chore: fix ts
* chore: fix ts
* chore: fix ts
* chore: fix ts
* fix: week style
* docs: update dayjs note
* fix: style missing
* chore: fix footer extra style missing
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
---------
Signed-off-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-15 15:41:40 +08:00
lijianan
1b2362a425
type: rm useless type ( #46920 )
...
* type: rm useless type"
* update size-limit
2024-01-11 15:11:55 +08:00
lijianan
276e66cdaa
Merge pull request #46710 from ant-design/master
...
chore: merge master into feature
2023-12-31 06:57:55 +08:00