zombieJ
41316e69e8
update snapshot ( #16017 )
6 years ago
zombiej
9f3c357053
add test case
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
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
6 years ago
SoraYama
2b7fce3ce2
fix(Layout): disable `hasSider` when specifically declared
In some situation `Sider` is deeply rendered in Children of `Layout`,
and if we don't want to judge whether `Layout` has sider, the attr `hasSider`
set to `false` should properly work. However `hasSider || this.state.siders.length > 0`
will ignore `hasSider` when it is `false`.
6 years ago
偏右
2bacd0614c
⚡ Use semantic tag names in Layout ( #14806 )
close #14801
6 years ago
zombiej
0a67272ae4
add locale update
6 years ago
zombiej
12af9a9dca
icon add aria-label support
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
zombiej
176a8dfcda
update test snapshot
6 years ago
HeskeyBaozi
976f6969f4
update test snapshot
6 years ago
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
6 years ago
HeskeyBaozi
74798b8911
upgdate test snapshot
6 years ago
HeskeyBaozi
d6131fe18d
update test snapshot
6 years ago
picodoth
f0bedb2176
fix: tests
6 years ago
HeskeyBaozi
0c9465aaf9
upgrade icons library
6 years ago
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
6 years ago
HeskeyBaozi
796de6390b
update test snapshot
6 years ago
HeskeyBaozi
35974d67b2
update test snap shot
6 years ago
张聪
8a9fbcb5e4
Migrate lifecycle method: Upload, CheckboxGroup, Layout.Sider, Tooltip, Popconfirm ( #11682 )
* Upload lifecycle method migrate
* CheckboxGroup lifecycle method migrate
* Layout.Sider lifecycle method migrate
* Tooltip lifecycle method migrate
* Popconfirm lifecycle method migrate
* test Spin as a controlled component
6 years ago
Ilan Hasanov
8ee70e84b6
💬 update layout copyrights year and fix typos
6 years ago
HeskeyBaozi
4a553a2006
upgrade test cases
6 years ago
HeskeyBaozi
8df086f022
update test cases
6 years ago
HeskeyBaozi
9338f33c1c
update test cases
6 years ago
Wei Zhu
435558b63e
fix: Layout.Sider string width
Close #11211
6 years ago
nuintun
ff24f1a978
Layout.Sider add onBreakpoint porp support ( #10750 )
* Layout.Sider add onBreakpoint porp support
* Add onBreakpoint zh-CN doc
* Add onBreakpoint en-US doc
* Add demo test for Layout.Sider onBreakpoint
* Add Layout.Sider onBreakpoint test cases
7 years ago
afc163
b5c5f0b5d4
update snapshot
7 years ago
Rongjian Zhang
f3869270ae
Fix #10142 : Add `theme` props to `Layout.Sider` ( #10631 )
* Fix #10142 : Add `theme` props to `Layout.Sider`
* Update documentation of Layout.Sider for new theme props
* Fix snapshot tests
* Add unit test for sider theme
7 years ago
Oleg Kuzava
71abb96de7
Allow to use any CSS units for layout width ( #10479 )
* Allow to use any CSS units for layout width
* Fix ts issues
* Fix parseFloat type check
* add tests for width in Sider
* clean up
7 years ago
afc163
b5a52d26f2
fix snapshot
7 years ago
Junbin Huang
3a3d550b54
chore: upgrade menu ( #10305 )
* chore: upgrade menu and select
* Add test case for coverage percent
7 years ago
MinJeong Kim
feaf238dfa
fix: set `-has-trigger` class in sider when `-trigger` div exists ( #9399 )
* fix: set `-has-trigger` class in sider when `-trigger` div exists
* fix: fix template expr lint error
7 years ago
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
7 years ago
afc163
0eca38ba2f
Add has sider test case, ref #8077
7 years ago
afc163
2a34866e83
update layout demo
7 years ago
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
7 years ago
Wei Zhu
250c7a9c68
Revert "Mock rc-trigger"
This reverts commit 9d2c91598b
.
7 years ago
Wei Zhu
9d2c91598b
Mock rc-trigger
Ref #5522
7 years ago
jiang
2570ba8fe6
Menu anim ( #7567 )
* update menu icon animate
* add padding !important, restore menu retraction animate
* update dropdown arrow
7 years ago
afc163
90c1dfc5c0
fix demo sanpshot
7 years ago
afc163
9547fe5bc4
fix demo sanpshot
7 years ago
afc163
ea92bbf371
fix snap
7 years ago
afc163
f689ede0fa
The collapse trigger of Sider should be fixed and upon menus
close #7161
7 years ago
afc163
b3979885e4
fix demo snapshot
7 years ago
afc163
91707b89d8
test: update snapshot
7 years ago
afc163
7d3bc4ebd4
update snapshots
8 years ago
afc163
a5cc8b33e3
fix menu border in demo
8 years ago
Benjy Cui
67c38fa3b4
fix: should hide collapsed children, close : #6131
8 years ago