Commit Graph

754 Commits

Author SHA1 Message Date
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
二货机器人
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
thinkasany
c2c161f2cd
demo(tree): improve type for virtual-scroll demo (#50518) 2024-08-21 17:56:58 +08:00
二货爱吃白萝卜
0cf4a27e96
fix: tree switch bg height (#50313)
* fix: tree switch bg height

* fix: use before instead
2024-08-08 20:21:23 +08:00
lijianan
ddcdb2a6a2
chore: update unit value (#50258) 2024-08-06 00:04:28 +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
github-actions[bot]
249c94fb50
chore: auto merge branches (#50198)
chore: merge master into feature
2024-08-02 03:58:13 +00:00
Wanpan
50f1172245
fix: Tree filter node style lost (#49773) 2024-07-30 23:05:27 +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
525e33737d
type: use DirectionType (#50117) 2024-07-29 01:30:35 +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
b3ddb0e498 fix(theme): DerivativeToken to AliasToken 2024-07-23 17:54:26 +08:00
🏎️ Yumo
9e8a550218 refactor(theme): migrate and refactor type CSSUtil by @ant-design/cssinjs-utils 2024-07-23 17:23:43 +08:00
ice
5a9a2d95ec
feat(tree): add switcherLoadingIcon prop (#49716)
* feat(tree): add switcherLoadingIcon prop

* refactor: lint

* Update components/tree/index.en-US.md

add version desc

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* docs: add version desc

---------

Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-07-22 19:49:29 +08:00
lijianan
d063f562eb
Revert "type: improve tree component assert" (#49835)
* Revert "type: improve tree component assert (#49784)"

This reverts commit 5f09772967.

* fix: fix
2024-07-12 10:18:17 +08:00
afc163
e97a27d384
type: fix Tree icon and switcherIcon type (#49821) 2024-07-12 10:13:27 +08:00
lijianan
34a2058e85
type: rm duplicate boolean type (#49816) 2024-07-11 10:02:24 +08:00
thinkasany
5f09772967
type: improve tree component assert (#49784) 2024-07-09 16:26:35 +08: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
Wanpan
86abdb9918
docs: update Tree docs (#49051)
* docs: update Tree docs

* docs: update

* docs: update

* Update components/tree/index.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Wanpan <wanpan96@163.com>

* docs: update

---------

Signed-off-by: Wanpan <wanpan96@163.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-05-24 12:04:34 +08:00
kiner-tang
d1df8e54cc
refactor: Use constant instead of enum to reduce package size (#48406)
* feat: optimize code

* feat: optimize code

* feat: optimize code
2024-04-12 16:28:06 +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
叶枫
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
叶枫
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
lijianan
9836a74086
chore: rm unnecessary export (#47568) 2024-02-24 14:50:03 +08:00
SuperYY
1b696510e5
bug fix : expand all leaf nodes in root level (#47567)
* fix table's scrollbar background color in dark mode

* docs : fix "fille" with "filled"

* expand all leaf nodes in root level

* Add type annotation

* code style format

* [CodeFactor] Apply fixes to commit 116efaf

[ci skip] [skip ci]

* simplify the code and add the corresponding testing module

---------

Co-authored-by: codefactor-io <support@codefactor.io>
2024-02-24 12:42:21 +08:00
lijianan
7cc45fd6d7
docs: rm useless type (#47272) 2024-02-01 10:36:21 +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
lijianan
aa137e96af
type: TS define optimal (#47153) 2024-01-26 13:53:52 +08:00
afc163
14af2a77ae
style: fix Tree cursor style (#46974)
* style: fix Tree cursor style

* fix lint
2024-01-16 12:28:25 +08:00
lijianan
943072704c
Merge branch master into master-merge-feature 2024-01-11 16:14:48 +08:00
二货爱吃白萝卜
e7aa014c31
chore: Add type util (#46923)
* docs: init

* chore: all types

* docs: faq

* chore: fix lint
2024-01-11 15:55:58 +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
928eaf411a
Merge pull request #46830 from ant-design/master
chore: merge master into feature
2024-01-07 23:18:42 +08:00
Shunze Chen
54e75516c0
docs: delete useless logic (#46833) 2024-01-05 22:59:06 +08:00
lijianan
1db0daffc1
Merge branch master into master-merge-feature 2023-12-30 02:40:22 +08:00
Yoga Lin
726e6180a0
fix: fix itemHeight of Tree (#46672)
* fix: Fix itemHeight of Tree

* fix: Fix itemHeight of Tree
2023-12-28 21:05:36 +08:00
叶枫
81ab20be35 feat: merge master 2023-12-27 14:42:51 +08:00
lijianan
5c52512467
type: update ref type from Ref to React.RefAttributes<T> 2023-12-27 11:53:19 +08:00
MadCcc
bcec44b05b
fix: optimize tree focus style (#46608) 2023-12-25 13:52:09 +08:00
MadCcc
5f395fbed3
feat: select/cascader/tree-select support variant filled (#46549)
* feat: Select filled style

* chore: update snapshot

* feat: Cascader and TreeSelect support variant

* feat: multiple style

* fix: import

* chore: fix lint

* chore: update auto-complete docs

* fix: clearIcon bg

* chore: code clean
2023-12-21 13:39:04 +08:00
MadCcc
3af521d422
feat: Input/InputNumber/Mentions support filled variant (#46435)
* feat: Input filled variant

* feat: InputNumber filled variant

* feat: mentions variant

* fix: TextArea status with affix

* chore: update snapshot

* chore: update snapshot

* feat: pagination input

* fix: fix diff

* feat: input-number disabled

* fixL InputNumber

* chore: update snapshot

* feat: better style

* chore: update

* chore: update snapshot

* feat: use variant classNames

* chore: update snapshot

* feat: mentions affix style

* chore
2023-12-18 17:53:31 +08:00
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId (#46424)
* refactor: cssVarCls

* refactor: update

* chore: update

* fix: cascader & tree-select

* fix: ribbon
2023-12-14 14:58:53 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks (#46038)
* refactor: genStyleHooks

* chore: update sciprt

* refactor: affix

* refactor: select

* chore: update

* refactor: update

* refactor: update

* refactor: done

* chore: code clean

* chore: code clean

* chore: fix lint

* chore: decrease size limit

* chore: code clean

* chore: code clean

* chore: remove export
2023-11-29 17:23:45 +08:00