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
二货机器人
94eefa371c
fix: Only menu icon ( #22021 )
2020-03-09 16:54:19 +08:00
偏右
9db875f9a5
💄 vertical menu should has max height ( #21930 )
...
close #21928
2020-03-06 12:49:38 +08:00
二货机器人
e8876d5817
fix: MenuItem with icon only will still have additional margin ( #21925 )
...
* fix: MenuItem with icon only will still have additional margin
* update snapshot
* fix snapshot
2020-03-06 11:53:09 +08:00
偏右
17e7a3d57f
📝 fix codeopen demo ( #21801 )
2020-03-03 12:09:02 +08:00
骗你是小猫咪
99e6fb9981
fix: Menu.Item inline a tag display not correct ( #21699 )
...
* fix: Menu.item inline a tag display not correct
* add :only-child
2020-03-02 16:54:29 +08:00
二货机器人
8ce475b78d
Update index.less ( #21365 )
2020-02-13 16:13:06 +08:00
Amumu
0ef326bff3
add MenuItemGroupProps export ( #21356 )
2020-02-12 20:45:57 +08:00
afc163
e03209c7d4
✅ update snapshot
...
close #20779
2020-02-04 17:42:18 +08:00
xrkffgg
4388a96c32
docs: Format string notation of all components ( #20970 )
2020-01-17 17:23:47 +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
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
...
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
ycjcl868
3a527c63fe
fix: docs Menu api
2019-12-26 15:10:15 +08:00
ycjcl868
a8579affd1
Merge origin/4.0-prepare into feat-dark-palette
2019-12-26 15:04:53 +08:00
Amumu
29b4b7004e
docs upgrade ( #20460 )
2019-12-26 14:37:39 +08:00
ycjcl868
45082873d6
fix: menu popup dark color
2019-12-26 14:06:32 +08:00
ycjcl868
057c4a6745
fix: menu pop submenu theme
2019-12-25 10:23:01 +08:00
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
...
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
2019-12-23 18:33:08 +08:00
骗你是小猫咪
114fdd9333
fix: upgrade rc-tooltip lint fail ( #19408 )
...
* fix: upgrade rc-tooltip lint fail
* fix tooltip typescript type
* rebase and update snapshots
* update tests
* change trigger mock export
* upgrade rc-trigger
* fix type error
* upgrade dependencies
* update snapshots
* upgrade rc-calendar and test use sleep
* update snapshots
* fix test fail
* update snapshots
2019-12-05 16:15:10 +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
b37b317b69
chore: merge master
2019-11-25 15:16:59 +08:00
Ms. Wang
84c4e1e10f
Removed version cloumn in 4.0 ( #19872 )
2019-11-22 10:33:34 +08:00
偏右
69549a8648
🐛 fix menu link color inside badge ( #19810 )
...
close #19809
2019-11-19 20:30:44 +08:00
Radomir Skrzepij
d744df5974
Fix Documentation for Menu API ( #19757 )
2019-11-16 02:00:56 +08:00