Commit Graph

129 Commits

Author SHA1 Message Date
gennadiipel
7d296090db
type: Remove unused className from Tour props (#51059) 2024-09-28 19:43:04 +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
kiner-tang
aa70d29d30
fix(Tour): solve the Tour title will cover the close button at a certain length issue (#50942) 2024-09-22 22:03:33 +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
二货机器人
d6d7b7ff00 test: update snapshot 2024-09-04 14:21:55 +08:00
二货机器人
9d0e67de28 chore: merge master 2024-09-04 14:11:23 +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
IsKaros
612d5c0702
docs: Tour gap prop (#50574)
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: KAROS\81948 <chenwenfan@harmonycloud.cn>
2024-08-31 14:44:24 +08:00
二货爱吃白萝卜
3f3999cd1b
fix: tour default zIndex (#50300) 2024-08-08 13:59:35 +08:00
lijianan
65496b5845
Merge pull request #50103 from ant-design/master
chore: merge master into feature
2024-07-26 23:21:05 +08:00
afc163
11b81ff1ca
fix: Tour mobile view (#50082)
* fix: Tour mobile view

* Update .husky/pre-commit

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-07-26 11:50:32 +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
afc163
3464fafe15
fix: Tour onClose wrong current argument (#49124)
* fix: Tour onClose wrong current argument

* test: add test case

* Update components/tour/panelRender.tsx

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-05-30 18:07:39 +08:00
二货爱吃白萝卜
b62b81958b
test: Fix React 18.3 findDOMNode warning (#48958)
* fix: try to fix React 18.3 warning

* chore: back of ci

* chore: fix type

* chore: fix lint

* chore: update deps

* fix: component error

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: update deps

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: update deps

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: bump version
2024-05-18 15:07:26 +08:00
lijianan
854cdb4352
type: optimize CompoundedComponent type (#48346)
* type: optimize CompoundedComponent type

* chore: fix

* type: fix type

* chore: fix

* type: fix type

* type: add ts-ignore

* fix: fix

* chore: revert
2024-04-09 16:49:47 +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
kiner-tang
506753c3ef
feat: Tag support aria-* in closable (#47678)
* feat: Tag support aria-* in closable

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* refactor: useClosable

* chore: modal

* fix: check logic

* chore: clean up

* feat: optimize code

* feat: optimize code

---------

Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-03-31 11:56:55 +08:00
lijianan
87debac578
chore: rename variables merge => merged (#48048) 2024-03-24 10:56:28 +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
afc163
e8839ae48b
style: unify Modal and Drawer close icon style (#47909)
* style: unify Modal and Drawer close icon style

* style: fix Drawer close icon style

* style: add focus style

* style: unify close btn style

* test: update snapshots

* style: tweak drawer close icon size
2024-03-16 23:21:09 +08:00
二货爱吃白萝卜
54c5721f48
chore: bump trigger to move click to mouseDown (#47775)
* chore: bump trigger

* chore: bump trigger

* chore: bump trigger

* chore: bump trigger

* chore: fix logic

* fix: context tour config

* test: coverage
2024-03-08 21:31:27 +08:00
kiner-tang
15216614ed
feat: Drawer support aria in closable (#47543)
* feat: drawer support aria in closable prop

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2024-02-28 14:11:15 +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
MadCcc
4ecc0d7f95
docs: optimize overview svg (#47203)
* docs: optimize overview svg

* docs: update

* docs: dark
2024-01-29 14:50:36 +08:00
lijianan
095b846cad
feat: CP support Tour closeIcon (#47200)
* feat: CP support Tour closeIcon

* fix: fix
2024-01-29 11:01:30 +08:00
MadCcc
23ce317ee3
chore: update snapshot (#46996) 2024-01-16 16:42:45 +08:00
lijianan
5b97bcccfe
test: update Tour snap (#46787) 2024-01-04 13:39:55 +08:00
github-actions[bot]
5f9e52a5a8
chore: auto merge branches (#46446)
chore: merge master into feature
2023-12-14 07:32:07 +00: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
47337c9436
feat: support disabledInteraction (#46304) 2023-12-07 14:29:38 +08:00
MadCcc
a4286e170a
fix: tour arrow pointAtCenter (#46301) 2023-12-07 13:57:26 +08:00
github-actions[bot]
d0cc4087dd
chore: upgrade deps (#46255)
* chore: upgrade deps

* upgrade and fix snapshot

---------

Co-authored-by: afc163 <afc163@users.noreply.github.com>
Co-authored-by: tanghui <yoyo837@hotmail.com>
2023-12-06 20:22:42 +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
MadCcc
4236abb28c
refactor: wireframe token for Notification and Tour (#45915) 2023-11-16 15:34:24 +08:00
lijianan
9aac9415a5
chore(deps): bump @rc-component/tour from 1.10.0 to 1.11.0 (#45751)
* docs: update Tour docs

* chore(deps-dev): bump @rc-component/tour to 1.11.0
2023-11-09 14:50:01 +08:00
MadCcc
96fa23ea7c
refactor: Tooltip, Popover, Dropdown, Tour support css var (#45705)
* feat: Tooltip, Popover, Dropdown, Tour support css var

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: add test
2023-11-08 14:56:15 +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
kiner-tang(文辉)
193c3b467e
feat: Tour support z-index manager (#45425) 2023-10-20 02:33:38 -05:00
Rinku Chaudhari
c4040ec81b
chore: fix docs comments (#45156)
* refactor: convertLegacyProps function moved to buttonHelpers

* docs: spelling and grammar fixes

* docs: fix comments grammar
2023-10-03 05:44:09 +08:00
MadCcc
29be72bc38
fix: Tour step.type should work (#45086)
* fix: Tour step.type should work

* chore: code clean

* chore: update memo deps

* chore: code clean
2023-09-26 13:42:43 +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
MadCcc
114ff39f8c Merge branch 'master' into feature-merge-master 2023-09-05 13:41:06 +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
Dunqing
f0c105d262
feat: insert use client automatically at compilations instead of hardcode (#44608)
* feat: remove the hardcode of `use client`

* chore: update `@ant-design/tools`

* test: update

* fix: incorrect dictionary

* chore: update dep

* ci: check use client

* chore: update ci

* fix: should be LIB_DIR

* ci: should only run in dist

* chore: update check tsx files
2023-09-04 19:27:20 +08:00