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
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
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
栗嘉男
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
二货爱吃白萝卜
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
二货爱吃白萝卜
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
Fly me to the moon
a998569adb
test: optimization type in test case ( #43449 )
...
* test: optimization type in test case
* fix lint
---------
Co-authored-by: 我们去月球漫步 <13105694+flymetothemoon-wj@user.noreply.gitee.com>
2023-07-08 15:45:28 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
...
This reverts commit 6759887c44
.
2023-06-07 21:59:21 +08:00
Dunqing
6759887c44
chore: migrate to vitest ( #42506 )
...
* chore: migrate to vitest
* chore: update ci
* fix: test correctly
* test: support puppeteer
* chore: update coverage
* chore: update include/exclude
* chore: update config
* test: update incorrect tests
* chore: update script
* chore: update
* fix: should close browser at the ended
* chore: improve
* fix: test cause tsc error
* fix: eslint error
* chore: exclude correctly
* test: update snap and fix some tests
* chore: update test config
* fix: countup.js
* fix: incorrect test
* chore: update reference
* test: update
* fix: countup.js
* fix: timeout
* chore: update site test
* fix: fixed countup version
* chore: remove unsed code
* test: update
* test: update demo timeout
* test: update timeout
* chore: update image test
* chore: update threads
* fix: image/svg+xml test failed
* chore: limits threads
* test: update test coverage include
* chore: remove jest files
* chore: rename jest to vi
* chore: update document
* chore: fix missing @types/jsdom
* chore: update coverage
* chore: update snap
* fix:watermark test cases are incorrect
* feat: update ignore comment
* test: fix test case
* test: reset body scrollTop
* test: clean up
* test: use vi
* test: update snapshot
* test: update snapshot
* test: fix dropdown test failed
* fix: toHaveStyle cause test fail
* test: improve test case
* test: fix
* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560
* test: fix
* test: fix
* test: fix circular import
* test: revert
* ci: coverage failed
* test: fix c8 ignore comment
* chore: incorrect config
* chore: fix ignore ci
* test: revert svg+xml
* test: fix realTimers
* feat: rc-trigger should be remove
* test: fix some failed test
* chore: remove unused deps and configure eslint-plugin-vitest
* test: update snap
* chore: remove jest
* test: fix lint error
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 11:54:50 +08:00
MadCcc
e18400a554
chore: bump rc-dropdown ( #42013 )
...
* chore: update snapshot
* chore: update placement
* chore: postProps
* chore: update snapshot
* test: update table test case
* chore: update pure-panel style
* chore: update snap
2023-04-29 11:13:53 +08:00
二货爱吃白萝卜
86b5c50cb4
refactor: Tooltip support auto arrow & auto shift ( #40632 )
...
* chore: adjust doc
* chore: simplify arrow offset
* chore: auto adjust shift
* docs: adjust demo
* chore: update snapshot
* chore: provide ref
* test: prepare
* chore: update deps
* test: fix part test
* test: fix part test
* test: fix part test
* test: fix part test
* test: fix part test
* test: update snapshot
* fix: missing pure render
* fix: Popover pure panel
* test: update snapshot
* test: update tour snapshot
* chore: bump trigger ver
* test: fix render ssr logic
* test: skip unnecessary case
* test: fix test case
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix test case
* test: fix test case
* chore: clean up useless warning
* test: add check for placement
* chore: ignore default
2023-02-15 10:21:28 +08:00
lijianan
4efa3b2896
test: console.error
should nullable in Console ( #39050 )
2022-11-28 14:19:25 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
二货机器人
3bc6bbd6d9
chore: fix ts def
2022-11-07 23:51:56 +08:00
二货机器人
d5cfd195dd
chore: merge master
2022-11-07 23:32:46 +08:00
MadCcc
242b1713f5
Merge branch 'master' into next-merge-master
2022-10-26 14:56:44 +08:00
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender ( #37885 )
2022-10-23 00:33:45 +08:00
hms181231
30d2a24898
test: Update Dropdown test case ( #38144 )
2022-10-21 15:07:44 +08:00
二货爱吃白萝卜
44d8076304
chore: support deprecated visible in v5 but warning with this ( #37422 )
...
* chore: tags deprecated support
* chore: Slider Tooltip test
* chore: Table dropdown visible legacy
* chore: drawer warning of legacy
* chore: Modal legacy prop
* chore: dropdown open legacy prop
* chore: Tooltiop visible legacy info
* fix: format logic
* test: Update test for 18
* chore: fix lint
2022-09-06 21:46:49 +08:00
MadCcc
5174024561
test: fix test
2022-09-05 22:02:23 +08:00
yykoypj
bcb0b4dff1
feat: switch visible to open for Dropdown ( #37232 )
...
* feat: switch visible to open for Dropdown
* fix: merge state
* fix: props pass
* test: fix coverage
2022-09-02 17:22:23 +08:00
Yuki Zhang
969925653c
test: move test cases to testing-library for DropDown ( #37003 )
...
* temp
* fix: mock esmodule default for Dropdown
* test: move test cases to testing-library for DropDown
* chore: remove console
* fix: snapshot test
* refactor: jest mock improvement
2022-08-15 17:47:10 +08:00