偏右
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
偏右
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
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
偏右
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
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
偏右
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
zombiej
c75bbbd13d
merge master
2019-10-16 10:44:56 +08:00
二货机器人
e75fa039ef
refactor: Use CSSMotion ( #19205 )
...
* refactor: Use CSSMotion
* fix lint
* update rc-menu deps
* fix test case
* clean up
* more test case
* fix lint
2019-10-14 15:01:16 +08:00
sosohime
9f78fd093a
feat: Breadcrumb support data-* and aria-* attributes ( #18941 )
...
* add tree-select async demo
* breadcrumb support data against
* lint fix
* add ui test
* update ui test
* update ui test
2019-09-23 11:52:29 +08:00
zombiej
9051c7baee
merge master
2019-09-23 10:08:32 +08:00
afc163
974fb1b96c
✅ add test case for #18825
2019-09-20 00:07:59 +08:00
愚道
2f5537a65b
Merge branch 'master' into chore/mergemaster
2019-09-02 10:47:32 +08:00
zombiej
3d8a4f3612
merge master
2019-08-29 23:41:46 +08:00
afc163
a51f7a0508
✅ test unmount
2019-08-27 18:31:01 +08:00
zombiej
ef66edd0c2
merge master
2019-07-19 11:54:08 +08:00
afc163
67e027a41c
🐛 Fix Cannot update during an existing state transition
...
close #17147
2019-07-16 11:25:35 +08:00
vagusX
eac30ec8e4
Feat/remove deprecated ( #17510 )
...
* feat: remove warnings for linkRender, nameRender in Breadcrumb
* feat: remove warnings for onOpen, onClose in Menu
* feat: remove warnings for overlay in Popover
* feat: remove warnings for columnsPageRange, columnsPageSize in Table
* feat: remove warnings for afterClose in Tag
* feat: remove warnings for notFoundContent, searchPlaceholder, body, onSearchChange in Transfer
* fix: types in Transfer
* feat: update test cases in Transfer
* feat: add additional test cases for removed deprecated apis
2019-07-09 11:46:21 +08:00
zombieJ
bef491ecc9
fix: Menu defaultOpenKeys not work as expect ( #15970 )
...
* Remove animation on first render
* update test cas
2019-04-09 16:39:33 +08:00
zombiej
9f3c357053
add test case
2019-04-08 22:20:18 +08:00
zombieJ
89dd827b7f
fix: Refactor Menu related components life cycle methods ( #15868 )
...
* use state instead
* rollback demo markdown
* clean test
* sider context should be clean
* update test case
* fix test
* update debug desc
* add siderCollapsed into omit
* rm useless code
2019-04-05 16:15:01 +08:00
zy410419243
ae8b52c290
fix: MenuItem should not render Tooltip when inlineCollapsed is false
2019-03-28 10:55:26 +08:00
zy410419243
2aca6fc51a
pref(Menu): instance() => simulate
2019-03-25 21:48:18 +08:00
zy410419243
5e1531e50d
test: update cases for Menu
2019-03-25 21:48:17 +08:00
zy410419243
5362d57265
test: update case
2019-03-25 19:07:22 +08:00
zy410419243
f9d01eeb99
test: update cases for using Menu with Layout.Sider
2019-03-14 21:04:13 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
zombieJ
d366886dcb
add title support in menu item ( #12952 )
...
* add title support in menu item
* hide title when inlineCollapsed
* fix typo
2018-11-20 23:26:40 +08:00
afc163
5e12b0a5ca
Fix Menu Submenu animation when switch inlineCollapsed, close #12864
2018-10-30 15:09:40 +08:00
picodoth
f0bedb2176
fix: tests
2018-09-02 19:21:03 +08:00
HeskeyBaozi
9893fec5f1
fix rc-menu test case
2018-08-24 12:28:51 +08:00
Wei Zhu
c696757793
Revert "fix test"
...
This reverts commit f1570c01ea
.
Follow f1570c01ea
2018-07-17 22:22:16 +08:00
picodoth
f1570c01ea
fix test
2018-07-14 13:05:36 +08:00
hank
5be1b9c33c
Fix issue #8666 ( #10739 )
...
* fix issue #8666
* add issue #8666 test
2018-06-01 18:09:11 +08:00
Junbin Huang
3a3d550b54
chore: upgrade menu ( #10305 )
...
* chore: upgrade menu and select
* Add test case for coverage percent
2018-04-29 23:01:58 +08:00
afc163
7d082c1dc5
Fix submenu popup issue when specified unexisted defaultOpenKeys
...
close #8475
2017-12-17 19:11:56 +08:00
afc163
1e1c6d1c72
Merge branch 'master' into antd-3.0
2017-11-16 19:58:20 +08:00
afc163
46d1296045
Fix async test cases
2017-11-16 17:12:36 +08:00
Wei Zhu
55c85f77a1
Update dependendies ( #8150 )
...
* deps: upgrade rc-menu, and close : #2837
* test: update snapshots
* Update rc-calendar
* Update rc-cascader
* Update rc-dialog
* Update dropdown
* Update rc-select@7.1.0
* Update rc-slider
* Update rc-time-picker
* Update rc-tooltip
* Update rc-tree-select
* Mock rc-trigger and Portal
* Fix animation warning when inlineCollapsed changes
* fix: should use SubMenu[popupClassName]
* Fix typescript error
* Fix lint
* fix: style for menu
* Mock rc-trigger for React 15
* Remvoe allow_failures
2017-11-11 00:07:03 +08:00
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
2017-10-09 19:18:04 +08:00
afc163
475e4ff23d
upgrade eslint-config-airbnb
2017-10-09 13:27:35 +08:00
jiang
24f58c20e1
fix menu-anim ( #6955 )
...
* fix menu-anim
* fix menu-anim
* update
* remove space
* fix test
* Improve code style
* submeu-title use color transition
* sync motion-collapse time
* snyc padding
2017-07-27 19:43:45 +08:00
afc163
fda881cc7a
trailing spaces
2017-07-07 19:45:59 +08:00
偏右
b653a2c055
Merge branch 'master' into feature-2.12
2017-07-07 19:41:37 +08:00
afc163
f2268c2877
Fix test case for menu
2017-07-07 17:15:29 +08:00
afc163
8945bb5da6
Add test case for menu
2017-07-07 16:51:06 +08:00
afc163
b6011d7a39
typo
2017-07-01 14:04:26 +08:00
afc163
50e37796b8
Add test case
2017-06-30 23:08:11 +08:00
Wei Zhu
675e037e7a
Remove only...
2017-03-28 17:16:15 +08:00
afc163
d8403718f9
Add test case for #4876
2017-02-15 18:00:20 +08:00