Commit Graph

1991 Commits

Author SHA1 Message Date
lijianan
cbfe7fb454
refactor: inline-style to cssinjs (#51843)
Some checks are pending
Publish Any Commit / build (push) Waiting to run
🔀 Sync mirror to Gitee / mirror (push) Waiting to run
✅ test / lint (push) Waiting to run
✅ test / test-react-legacy (16, 1/2) (push) Waiting to run
✅ test / test-react-legacy (16, 2/2) (push) Waiting to run
✅ test / test-react-legacy (17, 1/2) (push) Waiting to run
✅ test / test-react-legacy (17, 2/2) (push) Waiting to run
✅ test / test-node (push) Waiting to run
✅ test / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test / test-coverage (push) Blocked by required conditions
✅ test / build (push) Waiting to run
✅ test / test lib/es module (es, 1/2) (push) Waiting to run
✅ test / test lib/es module (es, 2/2) (push) Waiting to run
✅ test / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
* refactor: inline-style to cssinjs

* fix: fix test case

* fix: fix

* Update components/upload/Upload.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* rename

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-12-02 23:16:00 +08:00
jynxio
360bf8ab2a
docs: Rule.message type definition in Form Comp (#51709)
Some checks failed
Publish Any Commit / build (push) Has been cancelled
🔀 Sync mirror to Gitee / mirror (push) Has been cancelled
✅ test / lint (push) Has been cancelled
✅ test / test-react-legacy (16, 1/2) (push) Has been cancelled
✅ test / test-react-legacy (16, 2/2) (push) Has been cancelled
✅ test / test-react-legacy (17, 1/2) (push) Has been cancelled
✅ test / test-react-legacy (17, 2/2) (push) Has been cancelled
✅ test / test-node (push) Has been cancelled
✅ test / test-react-latest (dom, 1/2) (push) Has been cancelled
✅ test / test-react-latest (dom, 2/2) (push) Has been cancelled
✅ test / build (push) Has been cancelled
✅ test / test lib/es module (es, 1/2) (push) Has been cancelled
✅ test / test lib/es module (es, 2/2) (push) Has been cancelled
✅ test / test lib/es module (lib, 1/2) (push) Has been cancelled
✅ test / test lib/es module (lib, 2/2) (push) Has been cancelled
👁️ Visual Regression Persist Start / test image (push) Has been cancelled
✅ test / test-react-latest-dist (dist, 1/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist, 2/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Has been cancelled
✅ test / test-coverage (push) Has been cancelled
2024-11-22 21:45:52 +08:00
二货爱吃白萝卜
e61211c06b
fix: Form with multiple same error render error (#51636)
* fix: key warning

* test: add test case
2024-11-14 17:09:23 +08:00
afc163
c83f3ca411
demo: fix Form variant demo (#51587) 2024-11-12 15:23:44 +08:00
叶枫
54fb6bd831
Form.Item support noLabel (#51524)
* feat: Form.Item support noLabel

* feat: doc

* feat: test

* feat: test

* feat: test

* feat: review

* feat: review

* feat: 仅支持 span

* feat: review

* feat: review

* feat: review

* feat: review

* feat: review

* feat: test

* feat: test

* feat: test

* feat: test

* feat: test

* feat: test

* feat: add test

* feat: demo

* feat: test

* feat: test

* feat: test

* feat: 代码优化

* feat: add labelCol

* feat: 代码优化

* feat: 代码优化

* feat: reset

* feat: test

* feat: test

* feat: review

* feat: doc
2024-11-08 18:32:20 +08:00
hongzzz
868d344d90
fix: The form item margin should appear below extraDom. (#51254)
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-11-07 18:26:24 +08:00
afc163
8a64ec6a9e chore: merge branch 2024-11-07 16:51:58 +08:00
Jony J
f73825ba74
feat(cascader): add disabled api for panel (#51272)
* feat: add disabled api for panel

* feat: improve demo

* test: update snapshot

* test: update snapshot

* test: update snapshot
2024-11-01 15:29:48 +08:00
二货爱吃白萝卜
1c7613b27f
fix: use locale of empty img title (#51368) 2024-10-24 20:48:36 +08:00
afc163
f724fcdc01
chore: upgrade rc-tree and rc-tree-select and rc-cascader (#51251) 2024-10-16 21:17:56 +08:00
Guo Yunhe
015740d1eb
feat(Select): Select supports prefix prop (#51186) 2024-10-16 18:04:38 +08:00
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
二货爱吃白萝卜
3b9a1b1123
docs: update form escape (#50412) 2024-08-14 13:47:49 +08:00
cnjs
533d621950
docs(form): update link (#50401) 2024-08-13 20:47:49 +08:00
Arvin Xu
51d6a9bf38
chore: Add comments to Token related interfaces (#50392) 2024-08-13 18:18:59 +08:00
Ashun
d1151f3b9a
docs: fix typo (#50256) 2024-08-05 22:13:33 +08:00
renovate[bot]
7fdfb299eb
chore(deps): update dependency @typescript-eslint/parser to v8 (#50228)
* chore(deps): update dependency @typescript-eslint/parser to v8

* Update package.json

Signed-off-by: afc163 <afc163@gmail.com>

* fix eslint errors

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-04 12:24:35 +08:00
Fane
2e2d766d95
docs(Form): supplement the documentation of Form (#50223)
* docs: 对Form组件的文档做补充

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Fane <141594291+FanetheDivine@users.noreply.github.com>

---------

Signed-off-by: Fane <141594291+FanetheDivine@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-04 00:54:07 +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
栗嘉男
049915566d Merge branch 'master' into master-merge-feature 2024-07-29 01:39:20 +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
栗嘉男
d5207c1e23 Merge branch 'master' into feature-merge-master 2024-07-26 10:18:06 +08:00
🏎️ Yumo
b71752ffb0 Merge branch 'master' into refactor/cssinjs-utils 2024-07-24 12:44:44 +08:00
vagusX
38cf5e8a75
docs: unify component export file as index.tsx (#50013)
* docs: unify component export file as index.tsx

* docs: compatible with old anchors

* chore: clean

* test: update snapshot

* fix: window env

---------

Co-authored-by: Peach <scdzwyxst@gmail.com>
2024-07-23 22:22:24 +08:00
🏎️ Yumo
3ec77d32b0 refactor(theme): migrate and refactor type GenStyleFn by @ant-design/cssinjs-utils 2024-07-23 17:15:39 +08:00
Wanpan
8a0fc4c22e
Revert "fix: Form.Item input-content no horizontal alignment (#49635)" (#50020)
This reverts commit 5b184d4709.
2024-07-23 17:02: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
栗嘉男
7e74c4fa64 chore: merge master into feature 2024-07-19 20:53:26 +08:00
ice
f1699d3788
docs: dead anchor (#49897) 2024-07-16 13:51:45 +08:00
thinkasany
da1d8df417
type: support string | number (#49810) (#49855)
* type(token): height / width support string | number

* rever
2024-07-14 00:36:43 +08:00
lijianan
8a090c951c
Revert "type(token): height / width support string | number" (#49836)
This reverts commit e4c31231ee.
2024-07-12 10:12:56 +08:00
thinkasany
e4c31231ee
type(token): height / width support string | number (#49810)
* type(token): height / width support string | number

* rever
2024-07-10 23:15:06 +08:00
thinkasany
4c18036774
type(formItemLabel): remove unnecessary assert (#49797)
* type(formItemLabel): remove unnecessary assert

* Update components/form/FormItemLabel.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: thinkasany <480968828@qq.com>

---------

Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-07-10 11:56:27 +08:00
Wanpan
5b184d4709
fix: Form.Item input-content no horizontal alignment (#49635)
* fix: Form.Item input-content no horizontal alignment

* fix: update

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-07-01 14:45:07 +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
MadCcc
010f82bd1a
feat: ConfigProvider support variant (#49535)
* feat: ConfigProvider support variant

* docs: add docs for variant

* feat: support config all components variant

* chore: fix lint

* chore: add test

* test: add test
2024-06-21 17:47:09 +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
DerianRambo
b29c314b4c
docs: improved grammar on certain documentation pages (#49374)
* button documentation grammar fixes

* english float button documentation changes

* english documentation grammar changes for icons

* english typography documentation grammar changes

* english divider documenation changes

* english layout documentation fixes

* english cascader documentation improvements

* english color-picker documentation changes

* english date-picker documentation changes

* english form documentation changes

* English documentation changes for select

* English documentation changes for slider

* English documentation changes for time-picker

* English documenation changes for transfer
2024-06-12 14:27:15 +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
thinkasany
a29054923a
docs(form): Modify the interface title level (#49273) 2024-06-06 12:27:09 +08:00