Commit Graph

562 Commits

Author SHA1 Message Date
偏右
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
偏右
882cec62d6
docs: 🌈 Add Components overview page (#24491)
* docs: Add components overview page

* fix detail

* remove ContributorsList form overview page

* fix components url

* improve code style

* remove extra file

* fix detail

* fix lint

* fix lint

* docs: Finish components overview page

* fix lint

* docs: Update cover

* fix lint

* update cover

* update menu

* improve overview page

* refactor code

* fix order

* update title

* add components count

* fix overview page ssr bug

* move less file

* update title margin

Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
偏右
c7e1b050ab
🗑️ remove PropTypes (#24577) 2020-05-29 18:05:58 +08:00
afc163
d039e32e6b merge feature into master-to-merge-feature 2020-05-28 15:30:36 +08:00
xrkffgg
9b54bd728d
fix: menu inline collapsed show without icon (#24330)
close #24311
2020-05-27 22:19:07 +08:00
afc163
d6d485b72d merge feature into master-to-merge-feature 2020-05-19 18:25:51 +08:00
二货机器人
75b090aff3
fix: Switch trigger motion (#24254)
* init fix

* fix rtl

* clean up

* update snapshot

* fix style lint

* add motion of inner

* update un-checked focus style
2020-05-18 17:31:46 +08:00
xrkffgg
70c6e47cde
style: add menu default textalign (#24253) 2020-05-18 17:07:33 +08:00
zombiej
9f38c46039 merge master 2020-05-14 21:03:29 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up (#24164)
* update config

* replace react function

* fix alert
2020-05-14 20:54:49 +08:00
zombiej
e6b1b1a4e7 Merge remote-tracking branch 'origin/master' into feature-merge-master 2020-05-14 16:19:39 +08:00
二货机器人
2e284aa017
chore: small bundle size (#24135)
* update warning

* rm warning

* replace with dev warning

* fix test

* fix site

* Update webpack.config.js

Co-authored-by: 偏右 <afc163@gmail.com>

* Update webpack.config.js

* fix sytax

* adjust

* move into function

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-14 15:57:04 +08:00
afc163
53d7a20939 merge feature into master-to-merge-feature 2020-05-13 16:16:16 +08:00
偏右
31ba421268
fix: dark menu link color (#24110)
close #24107
2020-05-13 12:16:48 +08:00
zombiej
339246d316 chore: Merge master 2020-05-13 11:59:15 +08:00
xrkffgg
731505813a
style: fix menu border in rtl (#24101) 2020-05-13 11:09:28 +08:00
偏右
2ab7c3f182
fix @menu-item-font-size not working (#24052)
close #24051
2020-05-11 19:12:04 +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
偏右
33cb4c9bb4
fix: Menu inlineCollapsed behavior (#23822)
* fix: Menu should onOpenChange when collapse inline menu

close #23755

* fix snapshot
2020-05-03 00:10:21 +08:00
偏右
35e390018c
Merge pull request #23796 from ant-design/master
chore: Merge master into feature
2020-05-01 16:35:53 +08:00
偏右
7139493258
refactor menu code (#23793) 2020-04-30 21:29:16 +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
zombiej
2c531a827d merge master 2020-04-29 11:29:26 +08:00
Tom Xu
f5153ab950
docs: improve style type (#23700) 2020-04-28 14:09:54 +08:00
zefeng
14417f1614
feat(theme): adjust font-size in compact mode (#23135)
* feat(theme): adjust font-size in compact mode

With compact theme mode, we adjust default font-size from 14px to 12px.

Closes #23015

* patch: update docs min font-size

* patch

* patch

* patch

* patch

* patch

* patch
2020-04-28 11:16:01 +08:00
hengkx
9868a4dc59 Merge branch 'feature' into mergefeature 2020-04-27 21:02:16 +08:00
偏右
939660ec86
💄 Fix Menu duplicated shadow style (#23664)
close #23625
2020-04-27 16:39:41 +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
偏右
cd34b624b3
🐛 Fix Menu behavior when hover gap (#23511)
close #13955
2020-04-23 11:17:21 +08:00
xrkffgg
7d5910faf0
style: fix menu rtl style (#23319) 2020-04-16 17:40:13 +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
偏右
28c4f7f137
🐛 Fix menu dark theme not working in submenu (#23054)
close #23031
2020-04-08 22:44:26 +08:00
Jehu
de38c681cf
fix: long submenu title display (#23028)
* fix: long submenu title display

* fix: long submenu title display (rtl)
2020-04-08 16:18:18 +08:00
zefeng
4bfc2790cb
fix(menu): fix submenu style in dark mode (#22981)
fix #22949
2020-04-07 13:32:29 +08:00
zefeng
d0f81decbb
fix: fix menu and spin style in compact mode (#22908)
* fix: fix menu and spin style in compact mode

* patch
2020-04-05 12:04:22 +08:00
xrkffgg
c956de52ad
style: fix menu rtl (#22841) 2020-04-02 11:42:15 +08:00
zefeng
dda45e4796
feat: support compact theme (#22126)
* feat: support narrow theme mode

* chore: rename narrow to compact

* chore: height part

* chore: preview compact mode

* chore: to make site corrected

* chore: preview site

* docs: 📖 document compact theme usage

* docs: tweak theme doc

* docs: 📖 Add description about double css bundle size

* chore: preview

* chore: for preview

* chore: adjust pagination

* chore: compact mode done!

* chore: remove useless todo

* chore: fix review bug

* chore: fix review bug

* chore: fix card margin

* chore: fix review bug

* chore: fix review bug

* chore: improve i18n and transition

* Update site/theme/static/common.less

Co-Authored-By: 偏右 <afc163@gmail.com>

* chore: fix button size and description padding

* chore: update snapshots

* chore: add compact css bundlesize limit

* chore: compact dist support

Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
偏右
a399d05ace
Merge pull request #22435 from ant-design/master
chore: 🔀 merge master into feature
2020-03-20 16:04:26 +08:00
xrkffgg
7f4c7b5978
style: fix rtl.less place and name (#22384) 2020-03-19 12:13:24 +08:00
偏右
b80788556d
Merge pull request #22381 from ant-design/master
chore: 🔀 merge master into feature
2020-03-19 12:10:07 +08:00
Adam Stankiewicz
f69ff7eff5
Inherit menu line-height from header (#16142) 2020-03-17 20:26:53 +08:00
二货机器人
7c2e2af9a7
Merge pull request #22301 from ant-design/master
chore: Feature merge master
2020-03-17 17:07:38 +08:00
xrkffgg
5dde517836
style: add rtl.less of Menu\Pagination\PageHeader (#22271) 2020-03-16 21:56:05 +08:00
afc163
46a8cf7dc7 merge feature into master-to-merge-feature 2020-03-16 15:52:39 +08:00
偏右
1ec4656a75
🐛 Fix Menu unexpected scrollbar when click menu item (#22248)
close #22244
2020-03-16 14:16:39 +08:00
偏右
e9862c5bc3
feat: Menu.Item Tooltip could be hidden by title prop (#22202)
* feat: Menu.Item Tooltip could be hidden by title prop

close #11252

* handle title false situation
2020-03-13 19:43:10 +08:00
偏右
b1189097c7
🐛 fix Menu inlineCollpsed title (#22182)
when set getPopupContainer to trigger node

close #22180
2020-03-13 12:21:24 +08:00
二货机器人
698d358af9
docs: Update Demo icon (#22100) 2020-03-11 12:31:53 +08:00
Alex
f67e1833e9
changed display of anticon (#22090) 2020-03-11 11:07:14 +08:00