willzhao
cd10dc0a7e
fix: use collapsedIconSize to calculate paddingInline for collapsed menu ( #51863 )
...
Publish Any Commit / build (push) Waiting to run
🔀 Sync mirror to Gitee / mirror (push) Waiting to run
✅ test / lint (push) Waiting to run
✅ test / test-react-legacy (16, 1/2) (push) Waiting to run
✅ test / test-react-legacy (16, 2/2) (push) Waiting to run
✅ test / test-react-legacy (17, 1/2) (push) Waiting to run
✅ test / test-react-legacy (17, 2/2) (push) Waiting to run
✅ test / test-node (push) Waiting to run
✅ test / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test / test-coverage (push) Blocked by required conditions
✅ test / build (push) Waiting to run
✅ test / test lib/es module (es, 1/2) (push) Waiting to run
✅ test / test lib/es module (es, 2/2) (push) Waiting to run
✅ test / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
Signed-off-by: willzhao <gnomeek@outlook.com>
2024-12-04 10:10:10 +08:00
ice
6a62d9e7ea
fix(menu): menu-title-content style ( #51425 )
...
* fix(dropdown): dropdown menu title content style
* chore: update rc-mentions to version 2.17.0 and rc-tabs to version 15.4.0
* test: add extra style debug
* test: snap
* test: snap
* Refactor menu demo: remove extra-style-debug component and rename extra-style-debug files to extra-style
* Refactor menu demo: remove extra-style-debug component and rename extra-style-debug files to extra-style
* Refactor dropdown and menu styles: Add width to extra-style elements
* test: snap
* fix: Add Space component to menu demo
The Space component was missing from the import statement in the menu demo file. This caused a compilation error. The fix adds the Space component to the import statement, resolving the issue.
Refactor the menu demo to use Space component for vertical spacing between menus. This improves the visual layout and readability of the menus.
Fixes #51492
* test: snap
* refactor: Update dropdown and menu title content class names
---------
Co-authored-by: afc163 <afc163@gmail.com>
2024-11-07 20:00:06 +08:00
栗嘉男
78c1fca2f0
chore: merge master into feature
2024-09-14 11:50:34 +08:00
afc163
61e365f313
fix(menu): Improve collapse animation smoothness ( #50751 )
2024-09-07 18:55:24 +08:00
二货机器人
9d0e67de28
chore: merge master
2024-09-04 14:11:23 +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
ice
33e98788d7
fix(menu): itemPaddingInline inoperative ( #50663 )
2024-08-30 21:55:09 +08:00
afc163
b27b06250f
style: fix Menu item background transition style ( #50624 )
2024-08-29 14:05:22 +08:00
Arvin Xu
51d6a9bf38
chore: Add comments to Token related interfaces ( #50392 )
2024-08-13 18:18:59 +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
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
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
curry
35015c7b4f
chore: biome config indentSize to indentWidth ( #48988 )
...
Co-authored-by: liangchaofei <liangchaofei@liangchaofeideMacBook-Pro.local>
2024-05-20 16:46:59 +08:00
metouch
25628528b8
fix: make the animation of Menu smoother while expanding the Sider which embedded with a Menu ( #48121 ) ( #48127 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-16 11:23:01 +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
Rajasekhar Gandavarapu
5272a2e859
fix: For the menu in dark horizontal mode, token: darkItemSelectedBg and darkItemSelectedColor is set, but does not take effect ( #47463 )
...
* fix: for For the menu in dark horizontal mode, token: darkItemSelectedBg and darkItemSelectedColor is set, but does not take effect
* use common tokens
2024-02-18 09:58:39 +08:00
MadCcc
9473ebf380
fix: Menu submenu hover style ( #47227 )
...
* fix: Menu submenu hover style
* chore: code clean
2024-01-30 17:55:55 +08:00
MadCcc
441ba5f5d1
fix: component style without hash ( #46609 )
...
* fix: Select style without hash
* fix: common style logic
* fix: lint
* fix: menu style
* chore: update checkbox demo
* chore: fix test
* chore: rm test
2024-01-30 11:08:02 +08:00
MadCcc
2fe9b46bc1
feat: Button support lineHeight token ( #46936 )
...
* feat: Button support lineHeight token
* refactor: rm format
* chore: code clean
* chore: fix test
2024-01-12 15:03:03 +08:00
栗嘉男
b241f68a33
chore: merge master into feature
2024-01-11 14:43:16 +08:00
MadCcc
c35e0982cb
fix: Button padding token should follow contentFontSize ( #46901 )
2024-01-11 11:18:21 +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
陈帅
968200d11e
feat: Menu support darkPopupBg token ( #46618 )
...
* feat: Menu support darkPopupBg token
* fix lint
* fix
2023-12-29 16:49:57 +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
80e46b7662
chore: enable cssVar in imageTest ( #45985 )
...
* chore: enable cssVar in imageTest
* fix: tree select style
* chore: fix avatar group style
* fix: cascader panel style
* fix: form style
* fix: slider disabled style
* fix: mentions style
* fix: tag style
* fix: tabs style
* fix: Rate style
* fix: table custom token
* chore: update snapshot
* fix: menu style
* fix: InputNumber style
* chore: recover image test
* chore: add css var image test
2023-11-22 20:53:48 +08:00
MadCcc
ff462adfa7
Merge branch 'master' into feature-merge-master
2023-11-17 14:21:30 +08:00
MadCcc
6cfbace3cd
revert: menu token ( #45939 )
...
* chore: migrate to webpack@5
* Revert "feat: support popupBg and darkPopupBg (#45826 )"
This reverts commit 496ac3326f
.
* chore: update
2023-11-17 14:09:58 +08:00
lijianan
4266517ddd
chore: merge master into feature
2023-11-14 02:59:19 +08:00
陈帅
496ac3326f
feat: support popupBg and darkPopupBg ( #45826 )
...
* feat: support popupBg and darkPopupBg
* fix test
2023-11-13 10:15:07 +08:00
kiner-tang(文辉)
3128539211
feat: menu support css variable theme ( #45750 )
...
* feat: layout support cssVar
* feat: menu support cssVar
* feat: menu support cssVar
* feat: menu support cssVar
* feat: menu support cssVar
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
2023-11-13 09:38:05 +08:00
JiaQi
b57dc7a4cc
fix(typography): menu item title cannot be centered vertically ( #41146 )
...
* fix(typography): menu item title cannot be centered vertically
* chore: add example
2023-10-08 09:57:58 +08:00
MadCcc
473130fe32
fix: menu style ( #43656 )
2023-07-19 18:52:07 +08:00
MadCcc
74c7d207c1
refactor: menu component token ( #43576 )
...
* docs: update examples link
* refacor: menu component token
* chore: update demo
* chore: update test case
* fix: token
* chore: fix
* Apply suggestions from code review
Signed-off-by: MadCcc <1075746765@qq.com>
* chore: fix lint
* refactor: more token
---------
Signed-off-by: MadCcc <1075746765@qq.com>
2023-07-17 10:13:22 +08:00
MadCcc
5094710a2e
fix: add deprecated token warning ( #43461 )
2023-07-10 10:36:35 +08:00
MadCcc
b64a57d5d0
docs: component token meta ( #43337 )
...
* docs: component token meta
* docs: more
* docs: complete
2023-07-05 17:49:59 +08:00
MadCcc
cdf9b4660f
refactor: menu token rename ( #42848 )
...
* refactor: menu token rename
* chore: update snapshot
* chore: UPDATE TEST CASE
* fix: fix gap as 4px
* fix: popup transform origin
2023-06-06 16:11:18 +08:00
MadCcc
61924699ab
fix: submenu align ( #42648 )
2023-05-26 17:15:03 +08:00
ZHAO Zhiwei
ad4dded3f5
fix: Menu item icon not centered when itemMarginInline is 0 ( #42426 )
2023-05-17 11:13:00 +08:00
afc163
1401541813
fix: margin between menu item and submenu title ( #42160 )
...
close https://github.com/ant-design/ant-design/issues/42159
2023-05-05 19:04:08 +08:00
afc163
709e910fd0
style: fix Layout.Sider and Menu transition style ( #41993 )
...
close #41911
close #41987
2023-04-25 22:53:14 +08:00
JiaQi
87c436cccc
fix: render correct theme ( #41465 )
2023-03-27 10:08:22 +08:00
Wuxh
64eb840be2
chore: fix Menu split line style error ( #40268 )
...
* chore: fix Menu split line style error
* docs: update demo
* test: update snapshot
2023-01-16 19:55:12 +08:00
MadCcc
d24c55a0bb
fix: horizontal Menu style with ( #40105 )
...
* fix: horizontal Menu style with
* chore: update snapshot
* chore: code clean
2023-01-09 16:50:08 +08:00
Wuxh
0086884179
fix(menu): fix custom expand icon cannot be hidden ( #40071 )
...
* test: add case
* fix: fix the error of missing custom icon className
* test: add case
* fix(menu): fix the bug that the custom expand icon is not hidden in collapse mode
* test: update snapshot
* Revert "fix: fix the error of missing custom icon className"
This reverts commit 71c79a3f75
.
* test: update case
* fix: fix the error of missing custom icon className
2023-01-07 21:50:09 +08:00
JarvisArt
2f623fe553
fix: submenu arrow transition ( #39945 )
2023-01-01 00:26:54 +08:00
MadCcc
3a03c7abde
fix: menu slide bar style ( #39819 )
2022-12-27 10:29:51 +08:00
JarvisArt
a16e2a7bb2
fix: menu inline transition ( #39800 )
2022-12-25 22:55:47 +08:00