米老朱
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
2019-02-15 10:48:07 +08:00
Gabe Medrash
dfc9b24c98
Properly type onMouseEnter and onMouseLeave events
2019-02-06 12:23:07 +08:00
sylvanasGone
05df3aa552
fix: add missing typing for style prop
2019-01-31 17:42:35 +08:00
zombieJ
8838bd602d
update ( #14591 )
2019-01-28 13:29:20 +08:00
zombiej
b835110f79
merge master
2019-01-26 12:02:56 +08:00
iojichervo
e5a1e30055
Add MenuItem style type
2019-01-24 15:39:16 +08:00
MaoYiWei
5ec4383b3f
Add definition for Menu.SubMenu ( #14488 )
...
Fix Menu.SubMenu props from any to real def
2019-01-23 10:32:35 +08:00
afc163
d3d5a3e18d
Merge branch 'master' into feature-for-resolve-conflict
...
* master: (45 commits)
Add type definitions for Steps.Step (#14468 )
add select check to fix edge wave issue (#14469 )
Fix for Pagination ellipsis misalignment (#14473 )
change sentry id
✅ Add sentry in ant.design
💄 New Sketch resources!
fix transfer ref (#14441 )
Add onMouseEnter and onMouseLeave for Menu Item (#14454 )
update snapshot (#14467 )
📝 beautify code style in documentation (#14457 )
Updating type: TreeSelectProps.getPopupContainer (#14443 )
change error version
3.12.4 changelog (#14436 )
Format
Fix the bug that radio onchange will be ovrride by radioGroup onchange (#14364 )
docs: updated doc for create-react-app
fix prefixCls of empty go to div (#14404 )
update snapshot (#14406 )
add radius on table-placeholder to fix table small size border clip (#14398 )
fix style of Input.Search with enterButton (#14397 )
...
2019-01-22 17:34:10 +08:00
ztplz
8cce556309
Add onMouseEnter and onMouseLeave for Menu Item ( #14454 )
...
fix #14357
2019-01-22 11:25:20 +08:00
zombiej
0a67272ae4
add locale update
2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca
icon add aria-label support
2019-01-10 21:55:21 +08:00
afc163
879784c665
Merge branch "master" into "feature"
2018-12-20 17:43:00 +08:00
ztplz
1f730faf2d
Set menu mode to vertical by default
2018-12-20 17:17:50 +08:00
陈帅
30d65ef46e
Merge branch 'master' into feature
2018-12-13 22:48:08 +08:00
陈帅
daca08b6f1
merge master
2018-12-13 22:03:12 +08:00
ztplz
05cf557ee1
Format menu
2018-12-13 09:38:55 +08:00
afc163
56665144ae
💄 fix MenuItem code style
2018-12-07 20:07:17 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
df356a586c
Merge branch 'master' into feature
2018-12-07 18:52:13 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
sylvanasGone
210aab8d51
fix: add onClick prop
2018-12-07 17:51:17 +08:00
amedora
0aeb9a356b
use color definitions insted of numbers
2018-12-05 19:45:22 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
Yury Kozyrev
c9fb5e6ea8
add missing classname prop
2018-12-03 00:37:31 +08:00
zombiej
9f5d421cd6
merge master
2018-11-30 14:48:37 +08:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +08:00
zombieJ
9b49fb60d9
Config provider ( #12991 )
...
close #12985
2018-11-26 12:06:42 +08:00
zombieJ
d366886dcb
add title support in menu item ( #12952 )
...
* add title support in menu item
* hide title when inlineCollapsed
* fix typo
2018-11-20 23:26:40 +08:00
afc163
67dc9b914c
🐛 Fixed bug of collapsed menu wrong mode responsively
...
close #13104
2018-11-14 15:25:17 +08:00
afc163
03d3b08315
🐛 Fix popup menu background transparent bug
2018-11-12 15:34:10 +08:00
afc163
a616f89a1b
🔥 update less code style
2018-11-12 12:02:30 +08:00
afc163
9b9c4c7dec
fix typescript errors
2018-11-09 17:38:19 +08:00
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
2018-11-07 11:40:34 +08:00
afc163
00c65b046b
site: update icon doc translation
2018-11-05 19:04:28 +08:00
afc163
213693e333
🌐 site: transition component category, close #11629
2018-11-04 16:20:35 +08:00
afc163
5e12b0a5ca
Fix Menu Submenu animation when switch inlineCollapsed, close #12864
2018-10-30 15:09:40 +08:00
afc163
af653a8b69
revert f7fa8e0
2018-10-30 14:23:45 +08:00
afc163
f7fa8e0eb6
Fix menu submenu animation, close #12864
2018-10-30 12:00:27 +08:00
afc163
bd0ba8ce92
update menu snapshot
2018-10-25 10:42:11 +08:00
afc163
d4b51af29c
docs: remove useless vertical-right mode
2018-10-23 19:55:18 +08:00
Wei Zhu
4ce3800de7
Merge branch 'master' into feature
2018-09-29 16:27:07 +08:00
Wei Zhu
79d3a926ef
Update snapshot
2018-09-28 16:19:08 +08:00
zombiej
176a8dfcda
update test snapshot
2018-09-25 19:45:41 +08:00
ycjcl868
4d1e46e03d
Merge master into feature
2018-09-23 01:43:35 +08:00
tangjinzhou
9630dc48a0
fix: openKeys should have higher priority ( #12361 )
...
* fix: openKeys should have higher priority
* Update index.tsx
2018-09-22 13:32:21 +08:00
zombiej
2b22d6b19c
bump rc-switch & update test case
2018-09-13 19:47:28 +08:00
afc163
298fc0f426
Fix extra scrollbar when popup menu, close #12152
2018-09-10 11:39:03 +08:00
afc163
bdcf4342fe
tweak icon size and design
2018-09-08 15:46:26 +08:00
HeskeyBaozi
976f6969f4
update test snapshot
2018-09-07 14:14:23 +08:00
picodoth
054d249f13
fix : #12019
2018-09-03 14:54:12 +08:00
afc163
4c1ca1b3cd
tweak menu icon size
2018-09-03 13:15:22 +08:00
HeskeyBaozi
24568f61ff
use the whole svg icons
2018-09-02 23:39:58 +08:00
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911
upgdate test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d
update test snapshot
2018-09-02 20:59:37 +08:00
picodoth
f0bedb2176
fix: tests
2018-09-02 19:21:03 +08:00
picodoth
6237511c04
feat: use menu with 7.4.0-beta, supporting menu overflow collapsing. Currently React >= 16.0 only
2018-09-02 19:21:03 +08:00
陈帅
c73ad8021d
Merge pull request #11894 from ant-design/feature/svg-icon
...
Hotfix(Icon) fix SVG element style
2018-08-29 18:40:04 +08:00
Chandler Moisen
ce4a4bacaa
add @menu-item-active-border-width to Menu.Item ( #11934 )
2018-08-29 11:20:13 +08:00
HeskeyBaozi
0c9465aaf9
upgrade icons library
2018-08-27 20:40:11 +08:00
HeskeyBaozi
d9b38aee4b
Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
...
# Conflicts:
# package.json
2018-08-25 13:24:44 +08:00
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
2018-08-24 18:36:08 +08:00
HeskeyBaozi
9893fec5f1
fix rc-menu test case
2018-08-24 12:28:51 +08:00
afc163
e3aa2aaa84
fix submenu cannot hover
2018-08-23 21:14:16 +08:00
ohhoney1
a523706625
fix bug: If ItemGroup wraps the first menu, an error is displayed when the menu is collapsed
2018-08-22 11:26:07 +08:00
afc163
90b401e97b
Fix submenu lap between menu, close #11725
2018-08-22 00:49:53 +08:00
HeskeyBaozi
796de6390b
update test snapshot
2018-08-14 15:32:29 +08:00
HeskeyBaozi
35974d67b2
update test snap shot
2018-08-13 20:51:01 +08:00
HeskeyBaozi
3baec95628
Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
2018-08-13 09:26:33 +08:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
HeskeyBaozi
768af40c4c
Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
...
# Conflicts:
# components/drawer/__tests__/__snapshots__/Drawer.test.js.snap
# components/drawer/__tests__/__snapshots__/DrawerEvent.test.js.snap
# components/drawer/index.tsx
2018-07-25 12:03:00 +08:00
HeskeyBaozi
bab50e6bed
Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
...
# Conflicts:
# components/locale-provider/__tests__/__snapshots__/demo.test.js.snap
# components/locale-provider/__tests__/__snapshots__/index.test.js.snap
# components/transfer/__tests__/__snapshots__/demo.test.js.snap
# components/transfer/__tests__/__snapshots__/index.test.js.snap
2018-07-23 09:58:55 +08:00
hongxuWei
f796618a15
Fix the style of horizontal menu on dark theme
2018-07-22 11:58:33 +08:00
HeskeyBaozi
4a553a2006
upgrade test cases
2018-07-19 20:37:47 +08:00
HeskeyBaozi
8df086f022
update test cases
2018-07-18 13:39:02 +08:00
HeskeyBaozi
9338f33c1c
update test cases
2018-07-18 10:33:54 +08:00
Wei Zhu
c696757793
Revert "fix test"
...
This reverts commit f1570c01ea
.
Follow f1570c01ea
2018-07-17 22:22:16 +08:00
Wei Zhu
e6c4c6667d
Revert rc-menu upgrade
...
Revert "use default hover trigger for horizontal menu demo"
This reverts commit 159b09342d
.
Revert "upgrade menu@7.2.0"
This reverts commit d4c9a1deea
.
Revert "feat: prevent horizontal menu items wrapping"
This reverts commit 5c7f9feecb
.
2018-07-17 21:59:16 +08:00
afc163
57c072d1b8
Fix dark menu small style issue, close #11299
2018-07-17 15:29:23 +08:00
picodoth
159b09342d
use default hover trigger for horizontal menu demo
2018-07-15 08:41:06 +08:00
picodoth
f1570c01ea
fix test
2018-07-14 13:05:36 +08:00
picodoth
5c7f9feecb
feat: prevent horizontal menu items wrapping
2018-07-14 13:05:36 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
zombiej
b524e1fe7e
adjust defaultProps def
2018-06-07 00:33:52 +08:00
hank
5be1b9c33c
Fix issue #8666 ( #10739 )
...
* fix issue #8666
* add issue #8666 test
2018-06-01 18:09:11 +08:00
afc163
09d5e36cfa
style: fix hightlight link color in menu item
2018-05-17 21:17:20 +08:00
afc163
6e6b1ccdec
chore: code style
2018-05-10 10:59:33 +08:00
Wei Zhu
56e3384c6b
Revert "MenuItem: avoid rendering Tooltip unless necessary ( #9636 )"
...
This reverts commit 0754845aff
.
Conditional rendering will break the transition animation,
since React will create new DOM node when inlineCollapsed changges.
Fix https://github.com/react-component/menu/issues/139
2018-05-02 14:49:20 +08:00
afc163
b5a52d26f2
fix snapshot
2018-05-02 14:28:16 +08:00
afc163
726f0466bc
menu should be unfocusable defaultly
2018-05-01 18:53:44 +08:00
Junbin Huang
3a3d550b54
chore: upgrade menu ( #10305 )
...
* chore: upgrade menu and select
* Add test case for coverage percent
2018-04-29 23:01:58 +08:00
Jiabin Peng
bb720aaab9
Fix menu item's clickable region in dark theme ( #10187 )
...
* remove redundant style for submenu
* Fix menu item's clickable region in dark theme
2018-04-23 00:31:36 +08:00
Dmitry Gladkikh
0d0632b2f3
Add getPopupContainer method decl to MenuProps interface ( #10158 )
...
* add getPopupContainer to MenuProps
see https://github.com/ant-design/ant-design/issues/10145
* Update getPopupContainer signature of MenuProps
* getPopupContainer prop is optional
2018-04-19 20:33:12 +08:00
afc163
649d733048
fix snapshot ci
2018-04-19 11:54:44 +08:00
afc163
f0660836b7
fix snapshot ci
2018-04-19 11:34:19 +08:00
afc163
04b3aad451
Fix menu arrow style of disabled, close #10113
2018-04-18 13:47:40 +08:00
Wei Zhu
2a5479a524
Fix type errors
...
Close #9988
2018-04-11 12:01:28 +08:00
Wei Zhu
921361313a
Add explicit types for default props
...
Fix #8796
Close #8820
2018-04-10 10:50:59 +08:00
Zach Guo
280f907297
Fix Layout.Sider typos ( #9885 )
2018-04-01 01:15:42 +08:00
Jiabin Peng
6c77d336d9
Fix menu item clickable region ( #9666 )
2018-03-22 15:14:53 +08:00