二货机器人
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
偏右
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
偏右
7139493258
refactor menu code ( #23793 )
2020-04-30 21:29:16 +08:00
Amumu
0ef326bff3
add MenuItemGroupProps export ( #21356 )
2020-02-12 20:45:57 +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
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
zombiej
9051c7baee
merge master
2019-09-23 10:08:32 +08:00
afc163
54ffa2cea6
🐛 Fix Menu lost state when collapsed to 0px
...
close #18825
2019-09-20 00:07:59 +08:00
zombiej
b30dc1c3bc
merge master
2019-08-06 17:46:53 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
zombiej
514ee9bef9
Merge remote-tracking branch 'origin/master' into 4.0-prepare
2019-07-29 14:35:15 +08:00
Hieu Pham
53ce81690e
Fix circular dependency in Menu
...
https://github.com/ant-design/ant-design/issues/17803
Co-authored-by: Hau Dao <hau.vdao@gmail.com>
2019-07-22 20:15:48 +07: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
afc163
57c28def68
revert unknown to any
2019-06-24 11:29:58 +08:00
Zzzen
f1ee189bd2
eliminate any
type in exported interfaces.#14044
2019-06-16 20:51:47 +08:00
afc163
14dc252b04
🆙 fix for typescript@3.5
2019-06-05 14:41:36 +08:00
picodoth
620755d893
typescript: adding forceSubmenuRender as MenuProps
2019-05-27 21:30:43 +08:00
zombieJ
93887e1380
chore: Add warning if use inlineCollapsed
under Sider ( #16826 )
2019-05-27 20:53:43 +08:00
陈帅
30508b0124
fix error types ( #16043 )
2019-04-28 11:47:22 +08:00
afc163
0a8f33385d
🆙 use @ant-design/create-react-context of MIT
2019-04-16 12:18:39 +08:00
jljsj33
278fcfdf41
menu openAnimation use object
2019-04-10 17:17:53 +08:00
jljsj33
1bc8ec5e0f
recover openAnimation
2019-04-10 16:32:17 +08:00
jljsj33
c8a58396c5
update tween and scroll version, fix menu openTransitionName warning
2019-04-10 15:53:55 +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
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
zombiej
b83a80c99c
Merge branch 'master' into merge-master
2019-03-30 16:05:49 +08:00
wangxing
1f60f37907
check SVGAnimatedString
2019-03-29 08:37:25 +08:00
wangxing
44ad6b0c07
fix-15699
2019-03-28 17:04:26 +08:00
偏右
e752ec3414
Merge pull request #15638 from ant-design/master
...
Merge master to feature
2019-03-26 14:34:17 +08:00
zy410419243
ad54d23a44
fix(Menu): remove unexpected re-render, which causes flash and shake when collapsed
2019-03-25 13:58:57 +08:00
诸岳
6ae2ee4e31
Merge branch 'master' into feature
2019-03-24 08:41:22 +08:00
杨小事er
68c6982d89
feat(Menu): add overflowedIndicator prop ( #15459 )
2019-03-17 14:21:03 +08:00
zy410419243
198c01d454
fix: bad position of collapsible submenu in sider when collapsed
2019-03-14 16:35:05 +08:00
ztplz
97880a9b47
Formate ( #15347 )
2019-03-12 19:52:43 +08:00
zy410419243
7642cbf18d
refactor: update lifecycle method for Menu
2019-03-07 16:58:53 +08:00
zombieJ
4d1a998246
add component param in warning ( #15078 )
...
* add component param in warning
* update snapshot
2019-02-27 15:32:29 +08:00
afc163
879784c665
Merge branch "master" into "feature"
2018-12-20 17:43:00 +08:00
ztplz
1f730faf2d
Set menu mode to vertical by default
2018-12-20 17:17:50 +08:00
陈帅
30d65ef46e
Merge branch 'master' into feature
2018-12-13 22:48:08 +08:00
ztplz
05cf557ee1
Format menu
2018-12-13 09:38:55 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
zombieJ
9b49fb60d9
Config provider ( #12991 )
...
close #12985
2018-11-26 12:06:42 +08:00
afc163
67dc9b914c
🐛 Fixed bug of collapsed menu wrong mode responsively
...
close #13104
2018-11-14 15:25:17 +08:00
afc163
9b9c4c7dec
fix typescript errors
2018-11-09 17:38:19 +08:00
afc163
85a758c7ec
Fix inlineCollpased Menu remains inline mode instead of vertical
...
close ant-design/ant-design-pro#2783
close ant-design/ant-design-pro#2782
close ant-design/ant-design-pro#2786
2018-11-07 11:40:34 +08:00
afc163
5e12b0a5ca
Fix Menu Submenu animation when switch inlineCollapsed, close #12864
2018-10-30 15:09:40 +08:00
afc163
af653a8b69
revert f7fa8e0
2018-10-30 14:23:45 +08:00
afc163
f7fa8e0eb6
Fix menu submenu animation, close #12864
2018-10-30 12:00:27 +08:00
tangjinzhou
9630dc48a0
fix: openKeys should have higher priority ( #12361 )
...
* fix: openKeys should have higher priority
* Update index.tsx
2018-09-22 13:32:21 +08:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
zombiej
b524e1fe7e
adjust defaultProps def
2018-06-07 00:33:52 +08:00
afc163
726f0466bc
menu should be unfocusable defaultly
2018-05-01 18:53:44 +08:00
Dmitry Gladkikh
0d0632b2f3
Add getPopupContainer method decl to MenuProps interface ( #10158 )
...
* add getPopupContainer to MenuProps
see https://github.com/ant-design/ant-design/issues/10145
* Update getPopupContainer signature of MenuProps
* getPopupContainer prop is optional
2018-04-19 20:33:12 +08:00
Wei Zhu
2a5479a524
Fix type errors
...
Close #9988
2018-04-11 12:01:28 +08:00
Wei Zhu
921361313a
Add explicit types for default props
...
Fix #8796
Close #8820
2018-04-10 10:50:59 +08:00
Zach Guo
280f907297
Fix Layout.Sider typos ( #9885 )
2018-04-01 01:15:42 +08:00
रोहन मल्होत्रा
ec16d97086
added subMenuCloseDelay & subMenuOpenDelay props to menu interface ( #9049 )
2018-01-21 01:13:23 +08:00
afc163
6afb853161
Fix menu collapse animation broken by #8475
...
change another way to fix #8475
2017-12-27 16:46:00 +08:00
afc163
7d082c1dc5
Fix submenu popup issue when specified unexisted defaultOpenKeys
...
close #8475
2017-12-17 19:11:56 +08:00
afc163
754d330bae
Hide menu when collapsedWidth is 0, close #8587
2017-12-15 15:15:30 +08:00
Wei Zhu
b6c6ee8f3e
Fix implicit any error for Modal and Menu
2017-11-21 17:38:51 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +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
afc163
35fc427630
Fix inlineCollapsed menu when submenu is opened
...
close #7524
close #7514
ref #7063
2017-09-09 00:58:15 +08:00
afc163
e9a592a9c8
Fix inlineCollpasd and openKeys issue
2017-09-06 14:14:34 +08:00
afc163
3ceda311b6
menu cannot be selectable in dropdown defaultly
2017-08-29 19:55:09 +08:00
John Nguyen
6c509f9712
adds selectable prop to typescript file ( #7384 )
2017-08-29 19:42:55 +08:00
afc163
5da1403bc0
Fix inlineCollapsed in controlled mode
...
ref #7063
2017-08-04 16:23:52 +08:00
jiang
1a93536a26
fix #7048 ( #7050 )
2017-08-01 17:41:03 +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
Benjy Cui
119d498935
chore: replace http with https, close : #6893
2017-07-19 14:00:11 +08:00
afc163
50e37796b8
Add test case
2017-06-30 23:08:11 +08:00
afc163
0b67dc4e12
update warning message
2017-06-30 22:05:53 +08:00
afc163
82afb368c0
Fix context change logic
2017-06-30 22:00:04 +08:00
afc163
89a37da77f
Menu will get collapsed status from Layout.Sider
2017-06-30 21:36:23 +08:00
afc163
6e145bfad3
Add tooltip for collapsed menu item
2017-06-30 21:07:01 +08:00
afc163
115749e06f
inline menu should not trigger handleClick
2017-06-30 20:27:39 +08:00
afc163
63daf8d0a3
Add Menu[inlineCollapsed] prop
2017-06-30 18:08:30 +08:00
Brook Shi
286fc964e6
fix: support inlineIndent property of Menu for TypeScript ( #5903 )
2017-04-26 10:11:03 +08:00
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
afc163
c1cb365eca
Fix missing API document of Menu[multiple]
2017-03-02 17:48:11 +08:00
afc163
d8403718f9
Add test case for #4876
2017-02-15 18:00:20 +08:00
afc163
4cbcc05b02
Fix openKeys is not working when mode is switched, close #4876
2017-02-15 16:24:56 +08:00
kacjay
1ed890c095
fix Menu selected change error ( #4677 )
...
protect none parameter[openKeys, defaultOpenKeys] Menu
2017-01-23 13:55:39 +08:00
偏右
0a68959207
Fix openKeys and defaultOpenKeys of Menu, close #3783 ( #4609 )
2017-01-16 21:13:59 +08:00
Benjy Cui
c4d8c4770c
Add upgrade warning ( #4028 )
...
* chore: add upgrade warning for time related value
* chore: update warning
* chore: update demo url
2016-12-02 15:07:33 +08:00
Benjy Cui
60ecb3c628
refactor: each message should warn just once
2016-11-01 11:10:11 +08:00
Benjy Cui
4878258f6c
refactor: ref: #3490
2016-10-24 12:04:26 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
Benjy Cui
c754a3d3d4
chore: add warning for breaking changes
2016-09-14 11:42:06 +08:00
Benjy Cui
8db2b79505
chore: fix compile errors
2016-09-13 15:31:29 +08:00
Benjy Cui
6030e6abef
fix: upgrade rc-menu to close : #2701 ( #2836 )
2016-09-01 11:26:07 +08:00
ddcat1115
3bdd8212ec
refactor: Ts rewrite patination notification modal menu ( #2699 )
2016-08-15 12:00:05 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00