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
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
栗嘉男
78c1fca2f0
chore: merge master into feature
2024-09-14 11:50:34 +08:00
afc163
ac5bb7cbeb
fix: Dropdown cannot wrap correctly when out of screen edge ( #50752 )
2024-09-07 21:48:09 +08:00
github-actions[bot]
33533ff22c
chore: auto merge branches ( #50748 )
...
chore: merge master into feature
2024-09-07 04:19:01 +00:00
afc163
01da79c25b
Revert "fix: Dropdown menu item get wrapped at edge" ( #50718 )
2024-09-05 11:54: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
ice
eac5b6893d
feat(menu): support extra prop ( #50431 )
...
* feat(dropdown): support extra prop
* text: fix items
* Update components/menu/style/index.ts
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update package.json
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* style: css
* chore: bump rc-menu from 9.15.1 to 9.15.0
* style: classname
* test: clsname
* chore: rc-menu to ^9.15.1
* chore: rc-menu version from ^ to ~
* chore: update deps
* feat: full width
* fix: children is array
* fix: default array
* fix: label
* test: update snap
* test: case
---------
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-09-03 07:15:18 +08:00
Arvin Xu
51d6a9bf38
chore: Add comments to Token related interfaces ( #50392 )
2024-08-13 18:18:59 +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
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
afc163
acf73c9af8
fix: Dropdown menu item get wrapped at edge ( #49899 )
2024-07-17 04:13:18 +08:00
afc163
1050541c0a
fix: Dropdown should respect trigger's disabled prop ( #47363 )
...
* fix: Dropdown should respect trigger's disabled prop
* chore: update code
* Update components/dropdown/dropdown.tsx
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: afc163 <afc163@gmail.com>
2024-06-29 12:46:03 +08:00
Wanpan
abe483d7d0
fix(dropdown): Modify the initialization style ( #49643 )
2024-06-28 20:34:51 +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
二货爱吃白萝卜
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
Wanpan
59de115d60
fix: fix button fontSize token ineffective ( #48893 )
...
* fix: fix button fontSize token ineffective
* fix: update
* fix: update
* feat: update
2024-05-16 16:13:53 +08:00
二货爱吃白萝卜
4cefa2fa64
doc: fix site render ( #48514 )
...
* docs: fix markdown
* docs: clean up
2024-04-17 17:27:16 +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
二货爱吃白萝卜
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
3d1c81db92
fix: Dropdown should not display when items is empty array ( #47375 )
...
* fix: Dropdown should not display when items is empty array
* Apply suggestions from code review
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: afc163 <afc163@gmail.com>
2024-02-07 20:22:31 +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
MadCcc
6fadbc8e05
fix: dropdown submenu ( #46888 )
...
* fix: dropdown submenu
* chore: add visual diff
2024-01-10 11:57:38 +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
lijianan
17dff7c630
chore: merge master into feature
2023-11-23 03:09:24 +08:00
二货爱吃白萝卜
e5a69664c3
docs: update demo ( #46006 )
2023-11-22 14:07:48 +08:00
MadCcc
ff462adfa7
Merge branch 'master' into feature-merge-master
2023-11-17 14:21:30 +08:00
MadCcc
2dda417e29
fix: disabled btn with link should not be focused ( #45910 )
...
* fix: disabled btn with link should not be focused
* chore: update snapshot
* chore: update snapshot
2023-11-16 11:36:51 +08:00
kiner-tang(文辉)
5386b6204e
Merge branch 'master' into feature-merge-master
2023-11-10 09:52:43 +08:00
二货爱吃白萝卜
c31fc76443
fix: Dropdown with nest menu zIndex error ( #45761 )
...
* chore: fix zIndex logic
* chore: detect if needed
* docs: update bug version
* test: update snapshot
* test: update snapshot
* test: update snapshot
2023-11-09 19:07:22 +08:00
MadCcc
53b4235796
refactor: useCSSVarCls in Dropdown ( #45746 )
...
* chore: update snapshot
* chore: update snapshot
* chore: code clean
* chore: update snapshot
2023-11-09 13:38:00 +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(文辉)
13ae715c7f
docs: solve error about dropdown ( #45662 )
2023-11-03 18:59:59 +08:00
lijianan
b14faf04bf
feat: CP support Dropdown className and style ( #45621 )
...
* feat: CP support Dropdown className and style
* test: fix test case
2023-11-02 00:48:26 +08:00
栗嘉男
661f3e8323
Merge branch 'master' into feature-merge-master
2023-10-29 14:04:47 +08:00
Vyacheslav Sedykh
f3cf13a466
fix(Dropdown): Prevented closing if menu is in multiple mode ( #45513 )
...
* fix(Dropdown): Prevented closing if menu is in multiple mode
* Update components/dropdown/dropdown.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Vyacheslav Sedykh <zlav24va@mail.ru>
* test: Added test for dropdown in multiple mode
---------
Signed-off-by: Vyacheslav Sedykh <zlav24va@mail.ru>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-26 10:21:54 +08:00
kiner-tang(文辉)
de442ca964
feat: menu support z-index manager ( #45498 )
...
* feat: dropdown support z-index manager
* feat: update snap
* feat: optimize code
* feat: SelectLike components support z-index manager
* feat: ColorPicker support z-index manager
* feat: ColorPicker support z-index manager
* feat: DatePicker & TimePicker support z-index manager
* feat: menu support z-index manager
* feat: update snap
* feat: update snap
* feat: update snap
---------
Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-24 22:25:32 +08:00
kiner-tang(文辉)
6d9db9fd99
feat: dropdown support z-index manager ( #45486 )
...
* feat: dropdown support z-index manager
* feat: update snap
* feat: optimize code
2023-10-23 06:46:08 -05:00
二货爱吃白萝卜
a337fee815
fix: dropdown not trigger onOpenChange when click menu item ( #45378 )
...
* fix: dropdown not trigger onOpenChange when click menu item
* chore: add source
* docs: update
* test: update test
2023-10-17 14:50:54 +08:00
Zong-Ke Zhang
3e70e3175b
docs(Dropdown): Add Docs the pop-up menu position will follow the right-click position ( #45076 )
...
* docs(Dropdown): Add Docs the pop-up menu position will follow the right-click position
* Update components/dropdown/demo/context-menu.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Zong-Ke Zhang <65376724+Zzongke@users.noreply.github.com>
---------
Signed-off-by: Zong-Ke Zhang <65376724+Zzongke@users.noreply.github.com>
Co-authored-by: Heising <heising@travelconnect.cn>
Co-authored-by: afc163 <afc163@gmail.com>
2023-09-25 20:12:08 +08:00
二货爱吃白萝卜
d03977b113
fix: dropdown should not block ref ( #44971 )
2023-09-20 16:30:13 +08:00
kiner-tang(文辉)
d5abbad8f1
refactor: deprecatedWarning ( #44791 )
...
* refactor: deprecatedWraning
* 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
2023-09-13 22:07:33 +08:00
二货爱吃白萝卜
5cc338e177
refactor: All the warning set the warning type for future filter ( #44613 )
...
* feat: add warningContext
* refactor: part refactor
* chore: fix compile
* chore: part of it
* chore: part of it
* chore: part of it
* chore: fix lint
* chore: fix test
* chore: clean uo
* chore: hide warning def tmp
* chore: comment test
* chore: fix lint
* chore: refactor select icons
* chore: fix warning message
* test: update test
* chore: rm dead code
2023-09-11 17:28:04 +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