Commit Graph

138 Commits

Author SHA1 Message Date
二货机器人
98232382f1
feat: MenuItem support danger (#23785)
* feat: Basic danger color

* dark of it

* danger dark style

* invers of dropdown

* update less

* update snapshot
2020-04-30 21:14:10 +08:00
偏右
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>
2020-04-26 23:16:15 +08:00
偏右
0716d1498f
fix: Dropdown submenu background (#23296)
* 🐛 Fix Dropdown submenu background

close #23293

* remove unused code
2020-04-15 23:00:51 +08:00
二货机器人
698d358af9
docs: Update Demo icon (#22100) 2020-03-11 12:31:53 +08:00
偏右
17e7a3d57f
📝 fix codeopen demo (#21801) 2020-03-03 12:09:02 +08:00
信鑫-King
cb528da8ed
fix: dark theme in 4.0 (#20642)
* fix: rtl direction bug

* 📝 dark theme usage docs

* fix: sketch download

* fix: theme dark

* 📝 empty image

* fix: dark form with mixture components like picker, input

* 📝 update sketch release download

* fix: remove inline-menu sub shadow
2020-01-03 19:00:01 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons deps (#19979)
* update icons deps

* update all icon ref

* fix lint

* update snapshot
2019-11-28 12:34:33 +08:00
zombiej
28a6358439 merge master 2019-10-11 11:51:55 +08:00
vaytsel
d8526f43f6 Update theme.md 2019-10-10 10:58:45 +08:00
vagusX
149729e524
use ant design icons 4.0 (#18217)
* feat: use @ant-design/icons@4.0

* feat: use createFromIconfontCN to make site works

* feat: update doc for Icon

* feat: use icon in component Alert

* feat: use icon in component Avatar

* feat: use icon in component Breadcrumb

* feat: use icon in component Button

* feat: use icon in component Cascader

* feat: use icon in component Collapse

* feat: use icon in component Datepicker

* feat: use icon in component Dropdown

* feat: use icon in component Form

* feat: use icon in component Input

* feat: use icon in component InputNumber

* feat: use icon in component Layout

* feat: use icon in component Mention

* feat: use icon in component Message

* feat: use icon in component Modal

* feat: use icon in component Notification

* feat: use icon in component PageHeader

* feat: use icon in component Pagination

* feat: use icon in component Popconfirm

* feat: use icon in component Progress

* feat: use icon in component Rate

* feat: use icon in component Result

* feat: use icon in component Select

* feat: use icon in component Step

* feat: use icon in component Switch

* feat: use icon in component Table

* feat: use icon in component Tab

* feat: use icon in component Tag

* feat: handle rest component which using Icon

* fix: remove unused vars

* feat: use latest alpha ant design icons

* fix: failed test in uploadlist.test.js

* test: update snapshot for icons

* doc: add Icon for site

* doc: use @ant-design/icons in site

* chore: use latest icons

* fix: tslint issue

* fix: test cases

* fix: types for react

* fix: lint rules for import orders

* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render

* fix: eslint error in demo/**.md

* inject antd icons

* update snapshot

* fix site

* doc: update docs

* fix: code snippets icon in site

* feat: use latest @ant-design/icons

* fix: icon props in message
2019-08-13 14:07:17 +08:00
陈帅
82b85709be style: run lint-fix (#17172) 2019-06-19 19:09:08 +08:00
afc163
13379aa0d8
💄 Optimize examples code style 2019-05-27 22:04:17 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +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
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
picodoth
159b09342d use default hover trigger for horizontal menu demo 2018-07-15 08:41:06 +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
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
偏右
bdceb5f083
Review fix (#8125)
* Fix style

* Fix style

* fix lint

* Fix more styles

* Fix more styles

* update snap
2017-11-06 21:28:51 +08:00
nikogu
c664d843fb fixed: https://github.com/ant-design/ant-design/issues/8040 2017-10-27 17:40:31 +08:00
afc163
641f1ddeeb Add link 2017-09-15 21:37:17 +08:00
Benjy Cui
30745da52e docs: update typo, close: #7427 2017-09-08 10:12:34 +08:00
afc163
786f5cd7e0 improve side current menu demo 2017-09-06 13:59:44 +08:00
afc163
63daf8d0a3 Add Menu[inlineCollapsed] prop 2017-06-30 18:08:30 +08:00
afc163
3a2f6bea18 update menu demo 2017-06-19 16:07:48 +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
144393c48a demo: update menu sider demo 2017-02-16 15:38:24 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +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
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
99df18139b Improve Menu selected design 2016-12-04 19:26:11 +08:00
Benjy Cui
d8ea555ee8 docs: update menu demo 2016-11-07 11:55:58 +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
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
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
3d3cc5f7a3 Add control openKeys in Popup Menu 2016-05-06 18:07:23 +08:00
afc163
ba2ef54900 Merge branch master into develop-1.0.0 2016-04-27 17:44:25 +08:00
afc163
85ec9a8743 Fix Menu switch mode behavious
切换菜单模式时,子菜单有异常的表现
2016-04-27 15:29:27 +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
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +08:00
Benjy Cui
aa5c4f9595 style: update code style to please lint 2016-01-11 09:49:31 +08:00
Benjy Cui
209170e813 style: update demo code style to please lint 2016-01-11 09:49:30 +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
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
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
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
yiminghe
4d203b6e67 add menu 2015-08-06 16:49:54 +08:00