Graeme Yeates
d8d17a6401
Seperate @active-item-bg into 2 variables
2017-05-03 10:57:14 -04:00
Graeme Yeates
4eb2855871
Add @active-item-bg to control hover and active states
2017-05-02 11:05:28 -04:00
Brook Shi
286fc964e6
fix: support inlineIndent property of Menu for TypeScript ( #5903 )
2017-04-26 10:11:03 +08:00
pinggod
01f0e07835
fix issue 5707: override the default a:focus style when it nested in the menu component
2017-04-12 14:42:07 +08:00
Kenneth Truong
31ec5b7ad3
Add selectable option into Menu documentation
...
I had to read the source code to figure out that there was a property called selectable. So hopefully this will help save someone time. (Though this is an option in the rc-menu I made a PR there to add it in the doc also https://github.com/react-component/menu/pull/79 )
(I was trying to make a contextmenu out of this menu component which is why I needed to turn selectable off)
2017-04-02 23:42:28 -07:00
afc163
6864fea0cb
Improve inline menu active style
2017-04-02 14:43:34 +08:00
Wei Zhu
675e037e7a
Remove only...
2017-03-28 17:16:15 +08:00
afc163
0cb3259570
tweak menu style code
2017-03-25 20:31:53 +08:00
afc163
85a32c79f4
Fix menu icon transition delay in Chrome, close #5495
2017-03-25 20:30:35 +08:00
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00
afc163
c1cb365eca
Fix missing API document of Menu[multiple]
2017-03-02 17:48:11 +08:00
afc163
1c4407b60c
fix popup menu z-index problem
2017-02-22 18:30:50 +08:00
afc163
fbeccb7be5
fix inline submenu open style
2017-02-22 14:47:01 +08:00
afc163
176b9f9083
fix typo
2017-02-20 22:11:39 +08:00
afc163
c440a4d2b2
rewrite Menu demos to es6 component, #4878
2017-02-20 21:51:23 +08:00
afc163
989792ed9b
simplify less code
2017-02-16 21:24:17 +08:00
afc163
74028f6e48
Fix pop menu padding
2017-02-16 17:56:27 +08:00
afc163
477e150075
Fix some SubMenu style bug, close #4906
2017-02-16 17:31:08 +08:00
Benjy Cui
c4ac919067
fix: Menu.Item border width should not show animation
2017-02-16 16:32:03 +08:00
afc163
d22ce9cd50
Improve menu and collapse style details
2017-02-16 15:38:24 +08:00
afc163
144393c48a
demo: update menu sider demo
2017-02-16 15:38:24 +08:00
afc163
d8403718f9
Add test case for #4876
2017-02-15 18:00:20 +08:00
afc163
32e10784e1
Fix submenu active style in controlled mode
2017-02-15 17:14:40 +08:00
afc163
4cbcc05b02
Fix openKeys is not working when mode is switched, close #4876
2017-02-15 16:24:56 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
Benjy Cui
d2b8d65c87
style: update code style to please lint, close : #2179
2017-02-06 12:09:58 +08:00
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
...
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
2017-01-31 16:05:10 +08:00
afc163
bb54dce712
Add test case for Menu openKeys undefined bug
...
ref #4677 and #4692
2017-01-23 19:10:50 +08:00
kacjay
1ed890c095
fix Menu selected change error ( #4677 )
...
protect none parameter[openKeys, defaultOpenKeys] Menu
2017-01-23 13:55:39 +08:00
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
...
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
2017-01-20 20:10:50 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
偏右
0a68959207
Fix openKeys and defaultOpenKeys of Menu, close #3783 ( #4609 )
2017-01-16 21:13:59 +08:00
afc163
0d38fefb00
Fix Menu[theme=dark] selected and disabled style, #4440
2017-01-06 11:36:54 +08:00
afc163
d0df37ed42
Fix Menu[theme="dark"] text color, close #4440
2017-01-03 00:12:23 +08:00
偏右
d811ebee5c
New color system ( #4426 )
...
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
2017-01-01 22:20:06 +08:00
偏右
0062867274
Feature 2.6 ( #4429 )
...
* new Layout Component (#4087 )
* change Anchor type
* new Layout
* Component update && add snap
* Revert "new Layout Component" (#4131 )
* add Layout (#4169 )
* add Layout
* update
* fix snapshot
* Improve layout component
1. update demo code
2. drop `position` of Sider
3. improve demo style
2016-12-30 21:41:28 +08:00
afc163
20cd35abe3
fix demo
2016-12-30 14:05:27 +08:00
afc163
662b213137
Fix Menu[dark] item background, close #4414 again
2016-12-30 13:16:30 +08:00
afc163
35d91d8dee
Fix Menu[dark] item background, close #4414
2016-12-30 12:16:29 +08:00
afc163
25f8095b67
Add Menu[inlineIndent] documentation
2016-12-22 15:06:37 +08:00
afc163
5b48656b82
Fix Menu[vertical] selected item background, close #4253
2016-12-15 12:12:35 +08:00
Wei Zhu
07103b9fb6
Don't ignore test files.
2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283
Restructure tests.
2016-12-14 14:41:39 +08:00
afc163
03eff769be
Fix menu item hover color
2016-12-05 16:15:22 +08:00
afc163
99df18139b
Improve Menu selected design
2016-12-04 19:26:11 +08:00
Benjy Cui
c4d8c4770c
Add upgrade warning ( #4028 )
...
* chore: add upgrade warning for time related value
* chore: update warning
* chore: update demo url
2016-12-02 15:07:33 +08:00
Benjy Cui
932443099a
css: use @component-background, ref: #4040
2016-11-29 11:56:10 +08:00
cathayandy
addb6e44dc
Fix #4039 . Replace background-color: #fff with background: @body-background ( #4040 )
2016-11-29 09:54:54 +08:00
afc163
bc45f43042
Fix Menu Devider style and document, close #3813
2016-11-15 14:12:25 +08:00