Commit Graph

1165 Commits

Author SHA1 Message Date
Heap
fac392de60
fix: Repair missing inner spacing (#50917) 2024-09-19 17:56:39 +08:00
栗嘉男
78c1fca2f0 chore: merge master into feature 2024-09-14 11:50:34 +08:00
二货爱吃白萝卜
6dd89cd271
demo: use en instead of cn (#50804) 2024-09-11 13:51:00 +08:00
github-actions[bot]
33533ff22c
chore: auto merge branches (#50748)
chore: merge master into feature
2024-09-07 04:19:01 +00:00
DB维一(s.y)
e7bab783fd
docs: fix Select labelRender doc (#50720) 2024-09-06 10:15:14 +08:00
二货机器人
9d0e67de28 chore: merge master 2024-09-04 14:11:23 +08:00
二货爱吃白萝卜
e91244f893
enhance: tree perf of large data (#50689)
* enhance: tree perf of large data

* test: update test case

* test: update test case

* test: update test case

* test: update test case
2024-09-03 19:30:44 +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
afc163
7bd9d54a62
fix: Select arrow disappearing when hovering it (#50382) 2024-08-12 22:41:23 +08:00
lijianan
1421eccb04
chore: update componentCls key again (#50251)
* chore: update componentCls key again

* Update components/skeleton/style/index.ts

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-08-05 22:30:55 +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
🏎️ Imer
6fa9ee15fa
Merge pull request #50030 from ant-design/refactor/cssinjs-utils
refactor(theme): Migrate style utils to `@ant-design/cssinjs-utils`
2024-07-24 00:38:24 -07:00
Rin
9f733993f1
docs: replace the deprecated dropdownMatchSelectWidth (#50027)
* docs: replace the deprecated dropdownMatchSelectWidth

* docs: replace dropdownMatchSelectWidth in config-provider

* revert config-provider

* test: update snapshot

* test: update snapshot and revert config-provider test
2024-07-24 15:16:35 +08:00
🏎️ Yumo
5019af42b5 refactor(theme): migrate and refactor type TokenWithCommonCls by @ant-design/cssinjs-utils 2024-07-23 17:49:35 +08:00
🏎️ Yumo
1c6c625ba3 refactor(theme): migrate and refactor type FullToken by @ant-design/cssinjs-utils 2024-07-23 17:01:58 +08:00
github-actions[bot]
dccb38d747
chore: auto merge branches (#49639)
chore: sync master to feature
2024-06-28 08:17:32 +00:00
二货爱吃白萝卜
8890eff05e
ehance: borderless status (#49608)
* fix: borderless status

* test: update snapshot
2024-06-26 21:35:12 +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
MadCcc
a5d308b408
feat: select sort support search (#49352)
* feat: select filter support sort param

* docs: update demo to fix lint

---------

Co-authored-by: 闲夕 <shizexian.szx@antgroup.com>
2024-06-21 09:52:07 +08:00
github-actions[bot]
3d29c9e2a6
chore: auto merge branches (#49511)
chore: merge master into feature
2024-06-20 02:20:00 +00:00
叶枫
ee4aff6cb1
feat: add filterOption demo (#49441) 2024-06-17 10:40:36 +08:00
lijianan
9c91bdb9a8
Merge pull request #49425 from ant-design/master
chore: merge master into feature
2024-06-15 16:41:47 +08:00
Wanpan
4f1ca4c52b
docs: Select optimization demo (#49410)
* docs: Optimization demo

* test: update snap

* docs: update

* docs: update
2024-06-14 18:03:53 +08:00
mansion-sun
37c8db563f
docs: update Select optionRender demo description (#49376) 2024-06-12 18:22:44 +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
thinkasany
538cbdee4c
docs(select): add showArrowPaddingInlineEnd token description (#49212) 2024-06-04 11:35:59 +08:00
JeevaRamanathan
02cfbf1baa
docs: Updated typo of selected (#49104)
Signed-off-by: JeevaRamanathan <64531160+JeevaRamanathan@users.noreply.github.com>
2024-05-29 12:19:07 +08:00
afc163
b3fa2625f1
docs: update Select/TreeSelect types in documentation (#49020)
* docs: update Select/TreeSelect types in documentation

* Apply suggestions from code review

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

* Apply suggestions from code review

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-05-23 11:52:34 +08:00
二货爱吃白萝卜
4eebc0c142
fix: Select token with paddingXXS (#48574)
* fix: paddingXXS

* docs: update demo

* chore: adjust logic

* chore: fix lint

* fix: datePicker style
2024-04-22 13:50:24 +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
c5a02b2f83
docs: update info title (#48318) 2024-04-07 17:02:59 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict (#47998)
* feat: tsconfig enable strict

* feat: add no-explicit-any

* feat: strict

* feat: as THEME

* feat: 优化 keys 类型写法

* feat: demo remove any

* feat: as number

* feat: this any

* feat: add eslint

* feat: cascader

* feat: props any

* feat: remove any

* feat: remove any

* feat: any 提示错误

* feat: remove any

* feat: add eslint

* feat: 允许 T = any 存在

* feat: color funciton

* feat: 恢复 lint

* feat: merge master

* feat: as ReactElement

* feat: type
2024-04-01 15:49:45 +08:00
叶枫
ff231ab557
demo: remove optionLabelProp (#48186)
* feat: remove optioLabelProp

* feat: doc

* feat: doc

* feat: option-render

* feat: option-render

* feat: snap
2024-04-01 11:09:23 +08:00
叶枫
e17cd4ae27
test: keep spaces (#47024)
* feat: snap

* feat: up snap
2024-03-22 20:49:55 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage (#48004)
* docs: init ref

* docs all support

* docs: fix link show
2024-03-22 14:22:42 +08:00
David Dobryakov
ecc82589e3
docs: fix typo "fille" -> "filled" (#47950) 2024-03-18 22:52:01 +08:00
二货爱吃白萝卜
7884eba28e
fix: DatePicker itemHeight calculation (#47874)
* chore: init

* chore: clean up

* chore: clean up
2024-03-15 10:54:54 +08:00
xliez
1491b0c624
docs(Select): Update docs for Select new API: labelRender (#47811)
* docs: 添加 labelRender API 文档

Signed-off-by: xliez <xliez@foxmail.com>

* docs: supplement 5.15.0 changelog

* test: update snapshots

---------

Signed-off-by: xliez <xliez@foxmail.com>
2024-03-14 22:04:14 +08:00
二货爱吃白萝卜
7f87f912b0
fix: picker multiple selection lines collpase (#47821)
* fix: DatePicker multiple padding

* docs: update demo

* chore: clean up
2024-03-11 16:57:09 +08:00
lijianan
630f4d9cfb
demo: Tag demo update (#47751)
* demo: Tag demo update

* fix: fix

* fix: fix
2024-03-08 10:51:31 +08:00
MadCcc
0652c32830
fix: sibling Tags should have margin (#47736)
* fix: sibling Tag should have margin

* chore: update snapshot

* chore: revert

* chore: link issue

* docs: update demo

* Revert "demo: update Grid、Table、Select demo (#47709)"

This reverts commit c01c1b505b.

* chore: update snapshot

* chore: update demo
2024-03-06 21:51:17 +08:00
lijianan
c01c1b505b
demo: update Grid、Table、Select demo (#47709)
* demo: update demo

* fix: fix test

* feat: table snap

---------

Co-authored-by: 叶枫 <645381995@qq.com>
2024-03-05 17:23:47 +08:00
lijianan
a4077b6739
demo: update Select label type in demo and docs (#47694) 2024-03-04 13:55:24 +08:00
lqzhgood
9970fd3754
📃 docs(Select): add optGroups props (#47687)
https://github.com/react-component/select/pull/1020/
2024-03-03 14:42:04 +08:00
lijianan
231e873b3f
Merge pull request #47238 from ant-design/master
chore: merge master into feature
2024-01-30 20:00:58 +08:00
二货爱吃白萝卜
fff8a9396a
docs: update maxTag demo (#47210) 2024-01-30 17:24:04 +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
MadCcc
4ecc0d7f95
docs: optimize overview svg (#47203)
* docs: optimize overview svg

* docs: update

* docs: dark
2024-01-29 14:50:36 +08:00