MadCcc
473130fe32
fix: menu style ( #43656 )
1 year ago
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>
1 year ago
lijianan
38474628fd
feat: prepend use-client directive for with Next.js App Router ( #43573 )
* fix: prepend use-client directive for with Next.js App Router
* Update components/affix/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/badge/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/divider/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/cascader/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/list/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/qrcode/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/steps/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/time-picker/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/transfer/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/tree-select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
1 year ago
MadCcc
5094710a2e
fix: add deprecated token warning ( #43461 )
1 year ago
JiaQi
3aedb2f4e8
feat: ConfigProvider support Menu className and style properties ( #43382 )
1 year ago
MadCcc
b64a57d5d0
docs: component token meta ( #43337 )
* docs: component token meta
* docs: more
* docs: complete
1 year ago
JiaQi
8cdb76bad6
fix(dropdown): Dropdown menu support transmit ref ( #43002 )
* fix(dropdown): Dropdown menu support transmit ref
* chore: add test case
1 year ago
Vetin
87ee19e698
type(menu): replace component interface with type #42907 ( #42908 )
Co-authored-by: Egor Miasniankin <egormyasnyankin@gmail.com>
1 year ago
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
This reverts commit 6759887c44
.
1 year ago
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>
1 year ago
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
1 year ago
MadCcc
d3ff73a94f
fix: overflowed submenu should have classes with customized class ( #42692 )
2 years ago
MadCcc
61924699ab
fix: submenu align ( #42648 )
2 years ago
MadCcc
f09e9cb0c9
refactor: Menu migrate to @rc-component/trigger ( #42554 )
* refactor: Menu migrate to @rc-component/trigger
* chore: remove rc-trigger
* chore: bump version
* chore: bump version
* chore: update size limit
* chore: update snapshot
2 years ago
afc163
d90c1c62c0
fix: upgrade @ant-design/icons to 5.1.0 ( #42443 )
* Update package.json
* Update package.json
* chore: update snapshot
* style: #1890ff => #1677ff
* style: fix Upload icon color
* style: fix Upload icon color
* revert menu v4 demo
2 years ago
ZHAO Zhiwei
ad4dded3f5
fix: Menu item icon not centered when itemMarginInline is 0 ( #42426 )
2 years ago
Denys Halenok
2be6c47f1b
fix: style not applied to overflowed Menu ( #42294 )
* fix: style not applied to overflowed Menu
* test: update snapshot
2 years ago
afc163
f3fa3f961b
docs: improve Layout demo code ( #42283 )
* docs: improve Layout demo code
* chore: fix css rule order
2 years ago
yangyuanxx
a60d55ef10
chore: improved support for generics MenuItemType and MenuItemProps in the Menu component ( #42240 )
* chore: improved support for generics MenuItemType and MenuItemProps in the Menu component
* docs: update codesandbox link (#42238 )
* chore: improved support for generics MenuItemType and MenuItemProps in the Menu component
* chore: add typing test to Menu
---------
Co-authored-by: yangyuan <yangyuan@yangyuandeMacBook-Pro.local>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
二货爱吃白萝卜
f4858ff581
chore: align motion follow popup point ( #42225 )
* chore: align motion follow popup point
* test: update snapshot
2 years ago
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
This reverts commit ea8ed28209
.
2 years ago
lijianan
ea8ed28209
chore: unified import method ( #42149 )
* chore: unified import method
* fix lint
2 years ago
afc163
1401541813
fix: margin between menu item and submenu title ( #42160 )
close https://github.com/ant-design/ant-design/issues/42159
2 years ago
Wuxh
f6c661ef5a
chore(typo): improve typescript declaration ( #41907 )
* chore(typo): improve typescript declaration
* Revert "chore(typo): improve typescript declaration"
This reverts commit d340911992
.
* chore(typo): improve typescript declaration
* Update components/theme/interface/components.ts
* Update components/theme/index.ts
* Update components.ts
2 years ago
afc163
709e910fd0
style: fix Layout.Sider and Menu transition style ( #41993 )
close #41911
close #41987
2 years ago
二货爱吃白萝卜
a5d420b941
chore: bump motion ( #41873 )
* chore: bump motion
* test: update snapshot
* test: update snapshot
2 years ago
二货爱吃白萝卜
2a9f5ea1ab
docs: more token info ( #41475 )
2 years ago
JiaQi
87c436cccc
fix: render correct theme ( #41465 )
2 years ago
JiaQi
5d514fe1ab
docs: Optimize demo ( #41423 )
2 years ago
二货爱吃白萝卜
6770b7fb22
test: Use render for demo-extends test ( #41242 )
* test: update snapshot
* test: use render
* test: fix skip
* test: fix skip
2 years ago
dependabot[bot]
1df1034f20
chore(deps-dev): bump glob from 8.1.0 to 9.2.1 ( #41109 )
* chore(deps-dev): bump glob from 8.1.0 to 9.2.1
Bumps [glob](https://github.com/isaacs/node-glob ) from 8.1.0 to 9.2.1.
- [Release notes](https://github.com/isaacs/node-glob/releases )
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v8.1.0...v9.2.1 )
---
updated-dependencies:
- dependency-name: glob
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: update api
* fix
* fix
* fix path
* fix path
* update snap
* update snap
* update snap
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2 years ago
二货爱吃白萝卜
9d546ed51a
chore: bump select tree-select cascader version ( #41013 )
* chore: bump select tree-select cascader version
* chore: adjust align prepare style
* chore: bump trigger version
* test: update snapshot
2 years ago
Lioness100
fd0d8b6031
docs: fix typos ( #40791 )
* docs: fix typos
* Update index.zh-CN.md
* test: update snapshot
* docs: fix demo ref
* chore: force trigger ci
* chore: force trigger ci
* chore: bump dumi ver
---------
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
lijianan
be25ee2a0b
test: simplify rtlTest test case ( #40878 )
2 years ago
二货爱吃白萝卜
5c1162a140
docs: update demo ( #40732 )
* docs: update demo
* test: update snapshot
* test: update snapshot
* chore: fix lint
2 years ago
二货爱吃白萝卜
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
2 years ago
MadCcc
40e77c40d3
docs: overview dark cover ( #40666 )
* docs: add dark overview
* docs: show dark cover in dark theme
* docs: update cover
2 years ago
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2 years ago
二货爱吃白萝卜
1bcb25166b
test: update snapshot ( #40328 )
2 years ago
Wuxh
64eb840be2
chore: fix Menu split line style error ( #40268 )
* chore: fix Menu split line style error
* docs: update demo
* test: update snapshot
2 years ago
MadCcc
d24c55a0bb
fix: horizontal Menu style with ( #40105 )
* fix: horizontal Menu style with
* chore: update snapshot
* chore: code clean
2 years ago
lijianan
8501adbd84
fix: add displayName ( #40092 )
* fix: add displayName
* rerun ci
* rerun ci
2 years ago
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
2 years ago
lijianan
59a332bf47
chore: use React.useContext() replace <Context.Provider /> ( #39950 )
* chore: use React.useContext() replace <Context.Provider />
* fix
* fix
* fix
* fix
* fix
2 years ago
JarvisArt
2f623fe553
fix: submenu arrow transition ( #39945 )
2 years ago
MadCcc
3a03c7abde
fix: menu slide bar style ( #39819 )
2 years ago
JarvisArt
a16e2a7bb2
fix: menu inline transition ( #39800 )
2 years ago
Peach
6236e356b5
docs: update all site anchors ( #39687 )
* docs: update all site anchors
* docs: handle hash change from Link component
2 years ago
MadCcc
3aec05c607
style: change active menu item background and font color ( #39439 )
2 years ago
huangkairan
8cb46243fd
docs: remove v3 to v4 migration docs ( #39290 )
* docs: remove v3 to v4 migration docs
* update
Co-authored-by: huangkairan <wb-hkr877030@alibaba-inc.com>
2 years ago