lijianan
6a8f5b5765
refactor(Menu): rewrite CC => FC ( #38751 )
2 years ago
afc163
85b171a6e2
style: fix SubMenu offset ( #38645 )
2 years ago
MadCcc
bcaf197b31
fix: menu margin ( #38495 )
* fix: menu margin
* chore: code clean
2 years ago
MadCcc
415c22bc8c
refactor: menu theme style ( #37640 )
2 years ago
MadCcc
d7c2f5f5d3
feat: menu theme implemented by design token ( #36738 )
* feat: menu theme implemented by design token
* test: fix test
* fix: lint
* fix: menu motion
* 偷偷加了几个token
Co-authored-by: 期贤 <qixian.cs@antgroup.com>
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
David
2843bd32dd
feat: Add ability to overwrite Menu theme at Menu.SubMenu level. ( #33971 )
* Add theme support to Menu.SubMenu
* Tidy up docs
* Tidy up docs
* Update components/menu/index.en-US.md
* Update components/menu/index.en-US.md
Co-authored-by: Amumu <yoyo837@hotmail.com>
* Add Chinese lang docs
* Extend menu theme demo to additionally demonstrate Sub-menu theming
* Add submenu theme demo
* Revert "Extend menu theme demo to additionally demonstrate Sub-menu theming"
This reverts commit 642a2b5b72
.
* Add tests
* Correct typo
* Make demo vertical so absolutely positioned popover doesn't overflow
* Make demo functional component
* Update components/menu/index.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/menu/index.zh-CN.md
Co-authored-by: Amumu <yoyo837@hotmail.com>
* Update components/menu/demo/submenu-theme.md
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
3 years ago
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
二货机器人
0a0fa61cb5
fix: Long text of menu ellipsis issue ( #30682 )
* fix: menu item long text ellipsis
* test: Update snapshot
* test: Update snapshot
4 years ago
二货机器人
c542aad9d6
fix: Menu collection error message ( #30678 )
4 years ago
afc163
414192436c
fix: Menu.SubMenu icon margin with other icon libs ( #30642 )
close #30605
4 years ago
二货机器人
47efa3e4a4
fix: Menu SubMenu ( #30638 )
* chore: fix level issue
* test: coverage
* chore: clean up
* chore: miss children defition
4 years ago
陈帅
0d1b1c40a6
merge featrue into master ( #30636 )
* feat: add Table expandable fixed (#29959 )
* fix: Use flex gap of space (#30023 )
* fix: use flex gap when supported
* test: update snapshot
* refactor: Use single hooks
* feat: Allow breadcrumb component in PageHeader (#30019 )
* Allow breadcrumb component in PageHeader
* Allow breadcrumb component in PageHeader
* Allow breadcrumb component in PageHeader
* Rename variable
rename var from _breadcrumbRender to breadcrumbRenderDomFromProps
* feat: add onChange for Statistic.Countdown (#30265 )
* feat: add onChange for countdown
* update the demo
* feat(upload): add onDrop (#30319 )
* feat(upload): Add onDrop
* Replace "if prop" logic with existential operator
* Remove redundant conditional
* feat(upload): itemRender add actions params (#30236 )
* feat(upload): itemRender add actions params
* chore: optimize type definition
* chore: update doc
* chore: rename actions
* chore: trigger ci
* chore: rename method name of actions
* feat: Add missing dutch translations (#30389 )
* feat: Add missing dutch translations
* fix: Translate remaining english values
* fix: Update snapshot for ui tests
* test: increase code coverage to 100% (#30415 )
* test: fix Space code coverage
* test: should use nl_BE locale for DatePicker
* fix: Switch tabIndex type (#30416 )
* feat: updated Romanian internationalization (#30419 )
* feat: updated Romanian internationalization
* fixed lint error
* feat: Menu support accessibility & keyboard access (#30382 )
* chore: Use focus style
* fix: prefixCls
* fix: prefixCls
* fix: inline tooltip
* fix: inlineCollapse logic
* fix: ts definition
* test: Update snapshot
* test: Update snapshot
* fix: dropdown logic
* test: Update snapshot
* test: Fix some test case
* bump rc-menu
* test: More test case
* fix test finder
* test: fix test case
* test: Update snapshot
* test: Update snapshot
* chore: Update ssr effect
* test: Update ConfigProvider snapshot
* test: Fix Table Filter test case
* test: Fix table test case
* chore: Update style
* chore: beauti css
* bump rc-menu
* test: update snapshot
* test: update snapshot
* test: Fix menu test
* test: Fix test case
* test: Coverage
* chore: clean up
* bump rc-menu
* ehance accessibility style
* feat(radioGroup): support data-* and aria-* props (#30507 )
close #30501
* feat: Typography add italic type (#30458 )
* Typography增加斜体字支持
* update snapshot
* 文档添加版本号
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
* chore: alpha Menu fix merge (#30546 )
* chore: Update script
* bump alpha version
* chore: Update script desc
* chore: bump rc-tabs & rc-mentions
* chore: Adjust style
* chore: 4.16.0-alpha.1
* test: Fix mention test case
* fix: sider of layout width style
* chore: bump 4.16.0-alpha.2
* fix: Tabs tabBarGutter should work as expected (#30545 )
close #30526
* feat: Table summary support sticky mode (#30631 )
* chore: Bump rc-table
* feat: Patch summary fixed color
* fix: style className
* test: Update snapshot
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: gepd <guillermoepd@hotmail.com>
Co-authored-by: appleshell <appleshell@outlook.com>
Co-authored-by: Eric Bonow <ebonow@hotmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: Lewis <lewisfidlers@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Ștefan Filip <stefy.filip@gmail.com>
Co-authored-by: vldh <alwaysloseall@sina.com>
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
4 years ago
二货机器人
4ff17e3e0c
feat: Menu support accessibility & keyboard access ( #30382 )
* chore: Use focus style
* fix: prefixCls
* fix: prefixCls
* fix: inline tooltip
* fix: inlineCollapse logic
* fix: ts definition
* test: Update snapshot
* test: Update snapshot
* fix: dropdown logic
* test: Update snapshot
* test: Fix some test case
* bump rc-menu
* test: More test case
* fix test finder
* test: fix test case
* test: Update snapshot
* test: Update snapshot
* chore: Update ssr effect
* test: Update ConfigProvider snapshot
* test: Fix Table Filter test case
* test: Fix table test case
* chore: Update style
* chore: beauti css
* bump rc-menu
* test: update snapshot
* test: update snapshot
* test: Fix menu test
* test: Fix test case
* test: Coverage
* chore: clean up
* bump rc-menu
* ehance accessibility style
4 years ago
二货机器人
4315ac567c
chore: replace omit ( #28846 )
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
4 years ago
偏右
d5eda4f87e
test: ✅ add more test cases ( #26350 )
* test: add more test to Layout
* test: add more test to DatePicker
* refactor: remove unused code in Menu
4 years ago
偏右
c7e1b050ab
🗑️ remove PropTypes ( #24577 )
5 years ago
xrkffgg
9b54bd728d
fix: menu inline collapsed show without icon ( #24330 )
close #24311
5 years ago
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
* update config
* replace react function
* fix alert
5 years ago
偏右
8934bbfffa
feat: Menu.Item support icon ( #23629 )
* feat: Menu.Item support icon
* docs: update menu item usage
* docs: remove span wrap,when use icon
* fix: Collapsed depends on the span
* ✅ fix demo snapshot
* do not wrap children when it is span
* Menu.SubMenu support icon prop
* fix sub menu title
* fix eslint
* update dropdown demo
* fix extra icon attribute on li
Co-authored-by: MengZhaoFly <1424254461@qq.com>
5 years ago
zefeng
4bfc2790cb
fix(menu): fix submenu style in dark mode ( #22981 )
fix #22949
5 years ago
jiang
ced96b954c
fix: submenu popupClassName and className chaos ( #18290 )
* Update SubMenu.tsx
* add popupClassName to api
* fix typo
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
Hieu Pham
53ce81690e
Fix circular dependency in Menu
https://github.com/ant-design/ant-design/issues/17803
Co-authored-by: Hau Dao <hau.vdao@gmail.com>
5 years ago
Ankit Babbar
0bb7f60708
Update SubMenu.tsx
popupOffset prop is missing in SubMenu
6 years ago
zombieJ
89dd827b7f
fix: Refactor Menu related components life cycle methods ( #15868 )
* use state instead
* rollback demo markdown
* clean test
* sider context should be clean
* update test case
* fix test
* update debug desc
* add siderCollapsed into omit
* rm useless code
6 years ago
ztplz
97880a9b47
Formate ( #15347 )
6 years ago
Gabe Medrash
6dce9aff3a
Add onTitleMouseEnter and onTitleMouseLeave to public interface
6 years ago
sylvanasGone
05df3aa552
fix: add missing typing for style prop
6 years ago
zombieJ
8838bd602d
update ( #14591 )
6 years ago
MaoYiWei
5ec4383b3f
Add definition for Menu.SubMenu ( #14488 )
Fix Menu.SubMenu props from any to real def
6 years ago
陈帅
daca08b6f1
merge master
6 years ago
ztplz
05cf557ee1
Format menu
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
afc163
9b9c4c7dec
fix typescript errors
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
hank
5be1b9c33c
Fix issue #8666 ( #10739 )
* fix issue #8666
* add issue #8666 test
7 years ago
Wei Zhu
b6c6ee8f3e
Fix implicit any error for Modal and Menu
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Benjy Cui
06a1b6ed23
fix: should not throw error when keydown in menu, close : #8089 ( #8211 )
7 years ago
Wei Zhu
55c85f77a1
Update dependendies ( #8150 )
* deps: upgrade rc-menu, and close : #2837
* test: update snapshots
* Update rc-calendar
* Update rc-cascader
* Update rc-dialog
* Update dropdown
* Update rc-select@7.1.0
* Update rc-slider
* Update rc-time-picker
* Update rc-tooltip
* Update rc-tree-select
* Mock rc-trigger and Portal
* Fix animation warning when inlineCollapsed changes
* fix: should use SubMenu[popupClassName]
* Fix typescript error
* Fix lint
* fix: style for menu
* Mock rc-trigger for React 15
* Remvoe allow_failures
7 years ago