偏右
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
5 years ago
二货机器人
e75fa039ef
refactor: Use CSSMotion ( #19205 )
* refactor: Use CSSMotion
* fix lint
* update rc-menu deps
* fix test case
* clean up
* more test case
* fix lint
5 years ago
afc163
54ffa2cea6
🐛 Fix Menu lost state when collapsed to 0px
close #18825
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
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>
5 years ago
afc163
67e027a41c
🐛 Fix Cannot update during an existing state transition
close #17147
5 years ago
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
5 years ago
afc163
57c28def68
revert unknown to any
5 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
6 years ago
afc163
14dc252b04
🆙 fix for typescript@3.5
6 years ago
picodoth
620755d893
typescript: adding forceSubmenuRender as MenuProps
6 years ago
zombieJ
93887e1380
chore: Add warning if use `inlineCollapsed` under Sider ( #16826 )
6 years ago
陈帅
30508b0124
fix error types ( #16043 )
6 years ago
afc163
0a8f33385d
🆙 use @ant-design/create-react-context of MIT
6 years ago
jljsj33
278fcfdf41
menu openAnimation use object
6 years ago
jljsj33
1bc8ec5e0f
recover openAnimation
6 years ago
jljsj33
c8a58396c5
update tween and scroll version, fix menu openTransitionName warning
6 years ago
zombieJ
bef491ecc9
fix: Menu defaultOpenKeys not work as expect ( #15970 )
* Remove animation on first render
* update test cas
6 years ago
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
6 years ago
wangxing
1f60f37907
check SVGAnimatedString
6 years ago
wangxing
44ad6b0c07
fix-15699
6 years ago
zy410419243
ad54d23a44
fix(Menu): remove unexpected re-render, which causes flash and shake when collapsed
6 years ago
杨小事er
68c6982d89
feat(Menu): add overflowedIndicator prop ( #15459 )
6 years ago
zy410419243
198c01d454
fix: bad position of collapsible submenu in sider when collapsed
6 years ago
ztplz
97880a9b47
Formate ( #15347 )
6 years ago
zy410419243
7642cbf18d
refactor: update lifecycle method for Menu
6 years ago
zombieJ
4d1a998246
add component param in warning ( #15078 )
* add component param in warning
* update snapshot
6 years ago
ztplz
1f730faf2d
Set menu mode to vertical by default
6 years ago
ztplz
05cf557ee1
Format menu
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
zombieJ
9b49fb60d9
Config provider ( #12991 )
close #12985
6 years ago
afc163
67dc9b914c
🐛 Fixed bug of collapsed menu wrong mode responsively
close #13104
6 years ago
afc163
9b9c4c7dec
fix typescript errors
6 years ago
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
6 years ago
afc163
5e12b0a5ca
Fix Menu Submenu animation when switch inlineCollapsed, close #12864
6 years ago
afc163
af653a8b69
revert f7fa8e0
6 years ago
afc163
f7fa8e0eb6
Fix menu submenu animation, close #12864
6 years ago
tangjinzhou
9630dc48a0
fix: openKeys should have higher priority ( #12361 )
* fix: openKeys should have higher priority
* Update index.tsx
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
zombiej
b524e1fe7e
adjust defaultProps def
7 years ago
afc163
726f0466bc
menu should be unfocusable defaultly
7 years ago
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
7 years ago
Wei Zhu
2a5479a524
Fix type errors
Close #9988
7 years ago
Wei Zhu
921361313a
Add explicit types for default props
Fix #8796
Close #8820
7 years ago
Zach Guo
280f907297
Fix Layout.Sider typos ( #9885 )
7 years ago
रोहन मल्होत्रा
ec16d97086
added subMenuCloseDelay & subMenuOpenDelay props to menu interface ( #9049 )
7 years ago
afc163
6afb853161
Fix menu collapse animation broken by #8475
change another way to fix #8475
7 years ago
afc163
7d082c1dc5
Fix submenu popup issue when specified unexisted defaultOpenKeys
close #8475
7 years ago