zy410419243
9dec5ecedc
chore: remove useless context from Menu.Item
6 years ago
zy410419243
ad54d23a44
fix(Menu): remove unexpected re-render, which causes flash and shake when collapsed
6 years ago
zy410419243
f9d01eeb99
test: update cases for using Menu with Layout.Sider
6 years ago
zy410419243
198c01d454
fix: bad position of collapsible submenu in sider when collapsed
6 years ago
Cemre Mengu
946ef767e6
Specify type for defaultOpenKeys
6 years ago
ztplz
97880a9b47
Formate ( #15347 )
6 years ago
Cemre Mengu
3f6f1c1f00
Specify type for defaultOpenKeys
6 years ago
zy410419243
7642cbf18d
refactor: update lifecycle method for Menu
6 years ago
Frezc
c5b98c27c7
add export to MenuItemProps
6 years ago
zombieJ
4d1a998246
add component param in warning ( #15078 )
* add component param in warning
* update snapshot
6 years ago
afc163
447a8df724
🐛 Fix horizontal submenu wider then menu title in most case
https://codesandbox.io/s/qvpwm6mk66
6 years ago
Gabe Medrash
6dce9aff3a
Add onTitleMouseEnter and onTitleMouseLeave to public interface
6 years ago
米老朱
6936599aef
Enhance stylelint rules ( #14803 )
* rename .stylelintrc to .stylelintrc.json for explicit file type
* add new npm script lint-fix:style
* fix pseudo-element with double colon
* function name should be lower except ignored functions
* support stylelint declaration-block-no-ignored-properties rule
* support sorted CSS properties order for readability and consistency
* autofix order of all styles by lint-fix:style script
* remove double slash comments after selector
* replace .stylelintignore with ignoreFiles in .stylelintrc.json
6 years ago
Gabe Medrash
dfc9b24c98
Properly type onMouseEnter and onMouseLeave events
6 years ago
sylvanasGone
05df3aa552
fix: add missing typing for style prop
6 years ago
zombieJ
8838bd602d
update ( #14591 )
6 years ago
iojichervo
e5a1e30055
Add MenuItem style type
6 years ago
MaoYiWei
5ec4383b3f
Add definition for Menu.SubMenu ( #14488 )
Fix Menu.SubMenu props from any to real def
6 years ago
ztplz
8cce556309
Add onMouseEnter and onMouseLeave for Menu Item ( #14454 )
fix #14357
6 years ago
zombiej
0a67272ae4
add locale update
6 years ago
zombiej
12af9a9dca
icon add aria-label support
6 years ago
ztplz
1f730faf2d
Set menu mode to vertical by default
6 years ago
陈帅
daca08b6f1
merge master
6 years ago
ztplz
05cf557ee1
Format menu
6 years ago
afc163
56665144ae
💄 fix MenuItem code style
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
sylvanasGone
210aab8d51
fix: add onClick prop
6 years ago
amedora
0aeb9a356b
use color definitions insted of numbers
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
Yury Kozyrev
c9fb5e6ea8
add missing classname prop
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
zombieJ
9b49fb60d9
Config provider ( #12991 )
close #12985
6 years ago
zombieJ
d366886dcb
add title support in menu item ( #12952 )
* add title support in menu item
* hide title when inlineCollapsed
* fix typo
6 years ago
afc163
67dc9b914c
🐛 Fixed bug of collapsed menu wrong mode responsively
close #13104
6 years ago
afc163
03d3b08315
🐛 Fix popup menu background transparent bug
6 years ago
afc163
a616f89a1b
🔥 update less code style
6 years ago
afc163
9b9c4c7dec
fix typescript errors
6 years ago
afc163
85a758c7ec
Fix inlineCollpased Menu remains inline mode instead of vertical
close ant-design/ant-design-pro#2783
close ant-design/ant-design-pro#2782
close ant-design/ant-design-pro#2786
6 years ago
afc163
00c65b046b
site: update icon doc translation
6 years ago
afc163
213693e333
🌐 site: transition component category, close #11629
6 years ago
afc163
5e12b0a5ca
Fix Menu Submenu animation when switch inlineCollapsed, close #12864
6 years ago
afc163
af653a8b69
revert f7fa8e0
6 years ago
afc163
f7fa8e0eb6
Fix menu submenu animation, close #12864
6 years ago
afc163
bd0ba8ce92
update menu snapshot
6 years ago
afc163
d4b51af29c
docs: remove useless vertical-right mode
6 years ago
Wei Zhu
79d3a926ef
Update snapshot
6 years ago
zombiej
176a8dfcda
update test snapshot
6 years ago
tangjinzhou
9630dc48a0
fix: openKeys should have higher priority ( #12361 )
* fix: openKeys should have higher priority
* Update index.tsx
6 years ago
zombiej
2b22d6b19c
bump rc-switch & update test case
6 years ago