Commit Graph

97 Commits

Author SHA1 Message Date
Guo Yunhe
015740d1eb
feat(Select): Select supports prefix prop (#51186) 2024-10-16 18:04:38 +08:00
BKou
3e4135b0c0
docs: the default value of textAlign in watermark-cn (#51212)
Co-authored-by: aojunhao123 <aojunhao123@users.noreply.github.com>
2024-10-12 15:45: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
afc163
66222a296b
chore: import rc-util from path (#51087) 2024-10-02 10:43:35 +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
栗嘉男
78c1fca2f0 chore: merge master into feature 2024-09-14 11:50:34 +08:00
二货爱吃白萝卜
3b8ea07a8a
fix: Typography copyable support array children (#50813)
* test: test driven

* test: test driven

* fix: test case
2024-09-11 20:01:10 +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
Bruce Mitchener
d1a0fb862e
chore: reduce typo count (#50439) 2024-08-15 22:51:41 +08:00
二货爱吃白萝卜
dd3bfae425
docs: add watermark faq (#50307) 2024-08-08 17:03: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
二货爱吃白萝卜
5dd072d3a0
refactor: Use @ant-design/fast-color instead (#49846)
* chore: use fast

* chore: tmp of it

* test: update snapshot

* fix: demo

* chore: fix warning

* fix: test

* chore: fix ts

* chore: fix lint

* test: update snapshot

* chore: use proxy

* test: coverage
2024-07-15 17:33:47 +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
二货爱吃白萝卜
b4a98273fb
refactor: Watermark add overflow hidden style to avoid visible show (#49130)
* refactor: add overflow style

* test: add test case
2024-05-30 19:53:02 +08:00
lijianan
ddf70283ed
site: update site type { children: React.ReactNode } => React.PropsWithChildren (#48770)
* site: update site type React.ReactNode => React.PropsWithChildren

* fix: fix

* fix: fix
2024-05-06 15:28:52 +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
lijianan
570c1be492
site: add component version to meta (#48226)
* site: add component version to meta

* Update .dumi/theme/builtins/ComponentMeta/index.tsx

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-02 16:33:57 +08:00
lijianan
0a79a79bc7
docs: update sidebar style of website (#48224)
* docs: update GetRef/GetProp/GetProps docs

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix
2024-04-02 14:05:03 +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
二货爱吃白萝卜
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
二货爱吃白萝卜
de8657bf3b
fix: WaterMark blink when scale of window (#47895)
* fix: WaterMark blink when scale of window

* chore: fix mutation

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-03-18 15:39:06 +08:00
lijianan
c157a3f9ea
demo: update Watermark demo (#46899)
* feat: CP support Table expandIcon

* revert

* demo: update demo
2024-01-13 14:27:42 +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
afc163
f2b89da945
refactor: Drawer styles properties (#46858)
* refactor: Drawer styles props

* chore: add type test case

* chore: update snapshot

* test: add style jest snapshot

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: add deprecated warning

* fix: scroll area of drawer

* chore: fix demo style

* chore: update snapshot

* chore: update snapshot

* refactor: remove unused style code

* test: fix test case

* test: fix Drawer PurePanel image diff

* test: fix Drawer PurePanel image diff

* chore: fix demo
2024-01-09 10:20:40 +08:00
lijianan
bc5752eb6f
chore: merge master into feature 2024-01-03 08:54:15 +08:00
lijianan
0b6356d984
chore: rename file .tsx => .ts (#46759)
* chore: rename file .tsx => .ts

* fix: fix

* test: add test case
2024-01-03 08:45:11 +08:00
lijianan
bfda8cea90
Merge pull request #46740 from ant-design/master
chore: merge master into feature
2024-01-02 16:16:45 +08:00
lijianan
235fb6576c
type: update type any => node (#46716)
* docs: update publish Date

* type: update type any => node
2023-12-31 23:51:31 +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
ce7da2ef41
refactor: color-picker panel dom logic (#46327)
* refactor: refactoring custom panel logic

* chore: update test case & update snapshot

* chore: update un-stable snap???

* docs: update demo

* chore: update snapshots

* fix: table filterDropdown should accept cssvar (#46314)

* chore: revert files

* chore: update demo

* chore: update snap

---------

Co-authored-by: MadCcc <madccc@foxmail.com>
2023-12-18 13:56:01 +08:00
二货爱吃白萝卜
dc25579c20
fix: zIndex miss of message (#45911)
* fix: zIndex miss of message

* fix: modal static index

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: fix zIndex test

* test: update test case

* chore: clean up

* test: coverage
2023-11-17 10:54:19 +08:00
栗嘉男
661f3e8323 Merge branch 'master' into feature-merge-master 2023-10-29 14:04:47 +08:00
MadCcc
62bb2faae9
fix: add default value for gap (#45537) 2023-10-26 15:49:15 +08:00
kiner-tang(文辉)
bceb2e2504 Merge branch 'feature' into refactor-z-index-context 2023-10-24 22:28:30 +08:00
kiner-tang(文辉)
e7402691c1
feat: z-index container opt (#45490)
* feat: container opt

* feat: container opt

* feat: container opt

* feat: container opt
2023-10-23 04:16:41 -05:00
yoyo837
77846177bc Merge branch 'master' into feature-merge-master 2023-10-21 09:16:54 +08:00
cheng87126
1203a12567
fix: ColorPicker does not support arbitrary data-* attributes (#45413)
* fix #44341

* update snapshot
2023-10-20 17:10:00 +08:00
kiner-tang(文辉)
8c49b38e94
feat: Popover support z-index manager (#45420)
* feat: Popover support z-index manager

* feat: update snap

* Update components/popover/__tests__/index.test.tsx

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-20 01:53:36 -05:00
kiner-tang(文辉)
442e175194 feat: update snap 2023-10-15 13:09:40 +08:00
lijianan
8b486f3d7f Merge branch master into master-merge-feature 2023-10-15 11:33:10 +08:00
afc163
e587a5ff68
chore: update select snapshot (#45333) 2023-10-13 20:56:06 +08:00
二货爱吃白萝卜
44e1493db6
feat: Watermark support inherit to disable passing (#45319)
* docs: init

* feat: support inherit

* test: update snapshot
2023-10-13 15:16:08 +08:00
JiaQi
7f134954b9
fix(watermark): can be hidden through the Hide Element feature in the browser (#45290)
* fix(watermark): can be hidden through the Hide Element feature in the browser

* chore: add emphasized style

* chore: update snapshot
2023-10-12 13:50:06 +08:00
JiaQi
042a2a4681
feat(watermark): support for setting text alignment direction through textAlign (#44888)
* feat(watermark): support for setting text alignment direction

* chore: update snapshot

* chore: change type & update demo

* chore: update font type
2023-09-18 09:56:32 +08:00
期贤
a873471f5a merge 2023-09-07 12:05:16 +08:00
lijianan
7344f5e275
chore: replace useToken with useInternalToken (#44670) 2023-09-07 10:15:58 +08:00
lijianan
6a5e7ded43
refactor: remove Space & Grid IE compatible logic (#44620)
* refactor: remove IE compatible logic

* fix: fix

* fix: fix

* fix: fix
2023-09-05 10:17:56 +08:00
yoyo837
ad46da1697 Merge branch 'master' into feature-merge-master 2023-09-03 00:22:34 +08:00
Amumu
edf907bf11
fix: slider track draggale range height/width error (#44503)
* fix: slider track draggale range height/width error

* chore: style
2023-09-02 00:16:01 +08:00