orzyyyy
718a86d56b
chore: rename prop specialTriggerStyle to zeroWidthTriggerStyle
5 years ago
orzyyyy
5e4697e38b
test: update cases
5 years ago
afc163
a51f7a0508
✅ test unmount
5 years ago
zombieJ
93887e1380
chore: Add warning if use `inlineCollapsed` under Sider ( #16826 )
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
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
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
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
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
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
afc163
0eca38ba2f
Add has sider test case, ref #8077
7 years ago