Commit Graph

94 Commits

Author SHA1 Message Date
偏右
39b40b573d
fix: Menu not support React.Fragment (#26656)
* fix: Menu support React.Fragment

* chore: tweak menu demo

* fix: React key warning
2020-09-09 16:52:04 +08:00
07akioni
f498ae0344
fix: menu horizontal dark style & site (#25850)
* fix: menu horizontal dark style & site

* fix: lint

* fix: update snapshot

* chore: revert

* chore

* fix: padding transition glitch
2020-07-28 17:09:09 +08:00
偏右
87d32a7a3d
fix: Menu SubMenu background in dark theme (#25205)
close #25202
2020-06-24 18:58:27 +08:00
偏右
cfff7967b3
fix: Dropdown menu item link color when has icon (#24702)
* 🐛 fix Dropdown menu item link color when has icon

close #24700

* fix snapshot
2020-06-03 13:33:37 +08:00
二货机器人
6668d48c54
Merge pull request #23845 from ant-design/master
chore: Feature merge master
2020-05-04 11:49:37 +08:00
二货机器人
e4a1a45b09
fix: Menu a color (#23832)
* fix: Menu a color

* update snapshot

* fix menu item
2020-05-03 11:28:15 +08:00
二货机器人
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