Commit Graph

933 Commits

Author SHA1 Message Date
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
afc163
850e713e7f Improve text overflow for MenuItem and AnchorLink, close #3712 2016-11-10 11:35:12 +08:00
afc163
e4974ac72a use @font-size-base (#1752) 2016-11-08 20:57:07 +08:00
afc163
9b81fe86d9 clear less variables and add @text-color-secondary 2016-11-08 20:48:03 +08:00
Benjy Cui
d8ea555ee8 docs: update menu demo 2016-11-07 11:55:58 +08:00
Benjy Cui
60ecb3c628 refactor: each message should warn just once 2016-11-01 11:10:11 +08:00
Benjy Cui
4878258f6c refactor: ref: #3490 2016-10-24 12:04:26 +08:00
ddcat1115
23331e8594 Menu 样式调整 (#3533) 2016-10-22 13:30:59 +08:00
afc163
af3c1aac96 update switch animation ease 2016-10-21 13:09:29 +08:00
kvetoslavnovak
4ade308737 Menu theme demo switch style, closes #3327 (#3341) 2016-10-10 22:38:20 +08:00
Benjy Cui
e4ed800b61 docs: should not jump to other website 2016-09-30 18:13:22 +08:00
Benjy Cui
87753482bf style: update code style to please lint, close: #2811 2016-09-27 10:06:34 +08:00
Benjy Cui
28d5b49f9e site: update details 2016-09-23 10:14:57 +08:00
kvetoslavnovak
ff42c08ebe docs: Switch the menu type - English Translation (#3132) 2016-09-23 09:38:57 +08:00
kvetoslavnovak
892b815c4a docs: Menu Themes - English Translation (#3131) 2016-09-23 09:38:40 +08:00
kvetoslavnovak
533ae0393b docs: Vertical menu - English translation (#3130) 2016-09-23 09:38:12 +08:00
kvetoslavnovak
9c2b346950 docs: Open current submenu only - English translation (#3129) 2016-09-23 09:37:53 +08:00
kvetoslavnovak
5753f14b85 docs: Vertical menu with children - English translation (#3128) 2016-09-23 09:37:31 +08:00
kvetoslavnovak
1fa710a911 docs: Top Navigation Example - English translation (#3116) 2016-09-22 10:40:42 +08:00
Benjy Cui
bd7e9f00c0 style: update code style 2016-09-21 11:54:53 +08:00
Benjy Cui
2dce9e67fb docs: fix docs of Menu 2016-09-18 15:59:43 +08:00
偏右
354759cb17 Redesigned icons (#3041)
* redesigned icons

* change iconfont content

* use same icons

* fix missing icons

* improve icon size
2016-09-18 09:54:47 +08:00
马斯特
a25ec29fb8 refactor: 保证所有的tsx和less都正确使用prefix (#3024)
* refactor: extract prefix cls as less variable

* refactor: apply ant icon prefix cls in less files

* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
Benjy Cui
c754a3d3d4 chore: add warning for breaking changes 2016-09-14 11:42:06 +08:00
Benjy Cui
8db2b79505 chore: fix compile errors 2016-09-13 15:31:29 +08:00
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
tianli.zhao
9be6901794 fix issue 2929:Menu 设置成 theme=dark 后,链接点击无效 (#2931) 2016-09-03 00:43:33 +08:00
Benjy Cui
6030e6abef fix: upgrade rc-menu to close: #2701 (#2836) 2016-09-01 11:26:07 +08:00
Benjy Cui
cc92f36c3d docs: update title 2016-08-26 15:19:40 +08:00
Benjy Cui
b2349facab docs: fix docs' format 2016-08-26 15:07:46 +08:00
Winsky
6e94e7b7a4 [docs] translate menu,popover,popconfirm (#2713) 2016-08-26 14:42:41 +08:00
afc163
77949bb9e3 upgrade eslint-config, close #2811 2016-08-23 21:00:35 +08:00
Benjy Cui
e6280a7ea6 Merge branch '1.x-stable' 2016-08-22 17:05:37 +08:00
afc163
9ec6cc90a5 Fix menu z-index
maybe it can close #2762 😄
2016-08-20 19:29:59 +08:00
ddcat1115
3bdd8212ec refactor: Ts rewrite patination notification modal menu (#2699) 2016-08-15 12:00:05 +08:00
afc163
1b001c7672 Merge 1.x-stable 2016-07-24 15:07:50 +08:00
afc163
5c52c21435 inline menu does not highlight selected sub-menu 2016-07-24 14:23:41 +08:00
ddcat1115
79ef6a0664 fix #2414 2016-07-22 18:42:47 +08:00
afc163
42d34a5db3 Merge branch '1.x-stable' 2016-07-21 14:34:37 +08:00
afc163
44b8f38a3c fix disabled menu item background 2016-07-21 14:30:37 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
afc163
487b40815f Merge 1.x-stable 2016-07-07 15:13:01 +08:00
afc163
3af5f18f29 Fix menu z-index 2016-07-06 12:20:16 +08:00
afc163
d280cba481 Merge 1.x-stable 2016-07-04 15:19:35 +08:00
afc163
332ba6edc9 Fix dark Menu selected item link color, close #2213 2016-06-29 15:14:53 +08:00
afc163
f3ce68853e Fix dark Menu selected item hover style, close #2213 2016-06-29 19:49:51 +08:00
afc163
a24634f3ec Merge 1.x-stable 2016-06-27 14:36:19 +08:00
afc163
2928930f5f Improve MenuItem styles 2016-06-25 15:09:23 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
Leon Shi
5e89806520 color fix for anchor inside selected menu item in vertical mode, close #1935 (#1962) 2016-06-06 09:53:20 +08:00
yiminghe
777692a207 fix index 2016-06-01 12:09:32 +08:00
yiminghe
56f4f0688d clean deps 2016-05-26 12:52:07 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
afc163
c277637af5 fix some menu detail 2016-05-16 14:35:24 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
001cf94e45 Fix some detail style 2016-05-10 15:44:24 +08:00
afc163
bf89d7e1b8 fix menu item z-index 2016-05-09 19:49:39 +08:00
afc163
8b417b511c improve Menu API document, close #1586 2016-05-08 16:05:07 +08:00
afc163
4da4144355 Menu setOpenKeys 2016-05-07 16:06:02 +08:00
afc163
df8b7323e4 Add onTitleClick to doc 2016-05-07 16:03:51 +08:00
afc163
7b54c49235 fix link 2016-05-06 18:08:40 +08:00
afc163
3d3cc5f7a3 Add control openKeys in Popup Menu 2016-05-06 18:07:23 +08:00
afc163
0ca6a1c24a css modularize (#1448)
* css modularize

* Add alert style

* Move more component style

* Move iconfont to common style

* Move layout style

* Move more component style

* Move all components

* Fix lots of mixin deps

* remove css-prefix from less

* fix a button icon style bug

* restructure

* fix index

* add dist

* fix jest

* fix some components style

* clean webpack config

* check more components style

* update tabs

* update scripts

* update scripts

* fix form style

* fix more style

* Fix select width

* Fix form and tabs style
2016-04-27 20:44:36 +08:00
afc163
ba2ef54900 Merge branch master into develop-1.0.0 2016-04-27 17:44:25 +08:00
afc163
1d72c8abcc update menu doc 2016-04-27 17:01:55 +08:00
afc163
85ec9a8743 Fix Menu switch mode behavious
切换菜单模式时,子菜单有异常的表现
2016-04-27 15:29:27 +08:00
afc163
91e690282d update site markdown style 2016-04-18 13:43:33 +08:00
Benjy Cui
9d95313d03 chore: suppress warning 2016-04-14 11:22:53 +08:00
afc163
bb1c6b862c Merge branch master into develop-1.0.0 2016-04-11 11:31:35 +08:00
afc163
e3834829e4 update menu doc 2016-04-11 10:57:58 +08:00
afc163
e46d60cc2a Merge branch master into develop-1.0.0 2016-04-06 23:58:14 +08:00
afc163
6f1bbfb30d fix menu style, close #1347 2016-04-06 23:50:51 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
Benjy Cui
d5a6932c15 docs: update documentation format 2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
Bruce Mitchener
ba965dc746 Convert several React.createClass usages to classes. 2016-03-29 11:13:04 +07:00
Bruce Mitchener
11c0a6a203 Name classes without Ant* prefix.
Where necessary, prefix the classes imported from react-component
with 'Rc' rather than prefixing the Ant classes with 'Ant'.

The prefixing of Ant classes wasn't consistent and isn't necessary
in many cases.
2016-03-21 20:16:38 +07:00
观通
a867231253 fix doc. replace MenuItem with Menu.Item. 2016-03-10 11:39:10 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
afc163
c1f68f13f1 upgrade some deps and devDeps 2016-02-01 16:34:26 +08:00
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +08:00
afc163
69935c5bbf Add size for RadioButton, close #904 2016-01-21 22:45:21 +08:00
afc163
3eb57c1888 merge master 2016-01-20 15:14:49 +08:00
afc163
3337e6072b Fix indent 2016-01-19 16:32:12 +08:00
afc163
f4a7ed76f5 resolve package.json conflicat 2016-01-19 11:44:17 +08:00
afc163
11353c7a60 reset menu link color, fix #872 2016-01-14 11:54:46 +08:00
Benjy Cui
aa5c4f9595 style: update code style to please lint 2016-01-11 09:49:31 +08:00
Benjy Cui
b72d18fd44 style: update code style to please the fucking lint 2016-01-11 09:49:30 +08:00
Benjy Cui
209170e813 style: update demo code style to please lint 2016-01-11 09:49:30 +08:00
afc163
92c56889a3 Fix inline menu click problem in 0.11.1 2016-01-02 01:29:46 +08:00
afc163
c1ef10da49 Fix inline menu click problem in 0.11.1 2016-01-02 01:26:40 +08:00
afc163
ba51e65c3d Add animation for dropdown submenu, ref #797 2015-12-31 17:55:45 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
afc163
a277669aba Add comment for menu openKeys 2015-12-27 13:37:27 +08:00
Benjy Cui
5121a5d634 deps: upgrade rc-menu 2015-12-26 17:23:41 +08:00
Benjy Cui
6e95c29a1d feat: add Menu.ItemGroup #654 2015-12-11 17:01:21 +08:00
Benjy Cui
7bbe2dee7c chore: cursor should be not-allowed if disabled 2015-12-04 11:22:16 +08:00
afc163
16abf46071 Fix markdown eslint errors, update .eslintrc 2015-11-25 18:10:34 +08:00
afc163
0e13be7500 update document 2015-11-17 16:33:47 +08:00
afc163
3cf2aa86bb Add dark theme demo 2015-11-14 17:38:55 +08:00
afc163
1124f746f7 add back dark theme style 2015-11-14 17:29:48 +08:00
afc163
ed1bb1b97b fix menu click 2015-11-14 16:00:56 +08:00
afc163
62243ab38b default theme 2015-11-14 14:39:32 +08:00
yuntao.qyt
358ce21266 menu theme dark 2015-11-13 21:09:21 +08:00
yuntao.qyt
29f07d0972 border && theme dark 2015-11-12 23:09:35 +08:00
yuntao.qyt
9a3cfc096f theme dark 2015-11-12 14:57:54 +08:00
afc163
516c9e1f51 Fix menu click arg 2015-11-05 19:09:33 +08:00
afc163
f2ce959d33 hide submenu on click 2015-11-05 14:18:46 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
elrrrrrrr
ae5ae396ef chore: 迁移 menu iconfont 2015-10-02 15:26:18 +08:00
afc163
bd1f13efba show current father menu only 2015-09-16 12:18:17 +08:00
jljsj
c7fd8285c1 updata slide scale(.8). add zoomBig 2015-09-11 14:02:00 +08:00
afc163
691b0147b1 update eslintrc and fix code 2015-09-01 16:19:39 +08:00
afc163
4e89f5002b Fix eslint problems 2015-08-28 00:11:56 +08:00
yiminghe
70d04d9d31 add open anim 2015-08-25 11:11:21 +08:00
afc163
f48dc8d086 fix safari flash bug 2015-08-24 19:34:31 +08:00
afc163
583cd739ef refractor code 2015-08-24 19:21:14 +08:00
jljsj
6b66ad7dbf 去除行效果了 2015-08-24 18:32:06 +08:00
jljsj
c2be1cbf81 Add menu animation 2015-08-24 18:18:46 +08:00
afc163
fdf19520d6 Add component type 2015-08-22 20:16:24 +08:00
afc163
568a23930c anticon-large => anticon-appstore 2015-08-19 11:31:14 +08:00
afc163
662f8889bf fix menu-item link, #139 2015-08-17 17:28:48 +08:00
afc163
906b30b796 update menu props 2015-08-17 13:58:21 +08:00
yiminghe
fea0870a41 update menu 2015-08-15 00:07:40 +08:00
afc163
de38390271 改进 menu 的样式
参照 ant-design 的视觉稿微调
2015-08-14 18:16:41 +08:00
yiminghe
b3af79ab24 upgrade. Fixes #127 2015-08-13 16:39:51 +08:00
yiminghe
79e54f03f5 upgrade menu 2015-08-11 23:32:49 +08:00
yiminghe
eef1da7ed6 upgrade menu 2015-08-10 17:57:28 +08:00
afc163
0d41181c1b update component text 2015-08-07 12:20:30 +08:00
yiminghe
4d203b6e67 add menu 2015-08-06 16:49:54 +08:00
afc163
f62aa38ee8 Add components index.md 2015-08-01 14:08:04 +08:00
yiminghe
19e2c2700a stable 2015-07-30 21:55:16 +08:00
afc163
27353ca9b9 三期组件挖坑 2015-07-22 11:06:55 +08:00
afc163
e278f63d2b update dropdown 2015-06-09 14:46:51 +08:00
yiminghe
ac2899efbb add dropdown 2015-06-08 19:10:47 +08:00