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
偏右
ac39baf4f1
Update index.en-US.md
6 years ago
zy410419243
a2eee8843d
revert: remove dev code
6 years ago
zy410419243
198c01d454
fix: bad position of collapsible submenu in sider when collapsed
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
ngolin
cb5fe6cbf8
Fix: TypeScript <Layout> requires a `tagName` property ( #15181 )
* fix #15162
* force safe type casting
* get rid of non-null assertion
* get rid of non-null assertion
6 years ago
ztplz
b0ca03cba3
Update
6 years ago
ztplz
025bad6981
Update
6 years ago
ztplz
c24d737546
Fix incorrect collapse icon position when sider in the right
6 years ago
米老朱
6936599aef
Enhance stylelint rules ( #14803 )
* rename .stylelintrc to .stylelintrc.json for explicit file type
* add new npm script lint-fix:style
* fix pseudo-element with double colon
* function name should be lower except ignored functions
* support stylelint declaration-block-no-ignored-properties rule
* support sorted CSS properties order for readability and consistency
* autofix order of all styles by lint-fix:style script
* remove double slash comments after selector
* replace .stylelintignore with ignoreFiles in .stylelintrc.json
6 years ago
偏右
2bacd0614c
⚡ Use semantic tag names in Layout ( #14806 )
close #14801
6 years ago
zy410419243
bf4560cf37
docs: fix wrong usage of comma
6 years ago
zombiej
0a67272ae4
add locale update
6 years ago
zombiej
12af9a9dca
icon add aria-label support
6 years ago
zombieJ
bf087e29bd
Add remark lint ( #13906 )
support remark-lint check
6 years ago
Sam Lanning
8f830ec366
fix inconsistent component state updates
React component state updates using setState may
asynchronously update this.props and this.state, thus it is
not safe to use either of the two when calculating the new
state passed to setState, and instead the callback-based
variant should be used instead.
6 years ago
huishiyi
dd30678033
doc: update form & layout docs ( #13701 )
* doc: remove duplicate setFields in form doc-US
* doc: fix layout doc collapsedWidth default
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
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
zombieJ
9b49fb60d9
Config provider ( #12991 )
close #12985
6 years ago
afc163
9b9c4c7dec
fix typescript errors
6 years ago
afc163
213693e333
🌐 site: transition component category, close #11629
6 years ago
Charlie Guan
f4f0c34bc3
Update index.en-US.md
Fix typos, and provide minor grammar improvements.
6 years ago
Wei Zhu
9cfaf1750d
fix: type error
6 years ago
Wei Zhu
40001d8220
Revert "fix: more types"
This reverts commit e063e1916d
.
6 years ago
Wei Zhu
e063e1916d
fix: more types
6 years ago
Wei Zhu
ee84f4ce0a
fix: some type definitions
6 years ago
zombiej
176a8dfcda
update test snapshot
6 years ago
Sepehr Mohammadi
e8c2e7ce72
fix firefox can't set height smaller than content on flex item ( #12295 )
https://stackoverflow.com/questions/28636832/firefox-overflow-y-not-working-with-nested-flexbox/28639686#28639686
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
Cang Ta
044982ddb7
Remove duplicate `theme` property
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
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
Ilan Hasanov
8ee70e84b6
💬 update layout copyrights year and fix typos
6 years ago
jljsj33
881cef5abf
update drawer
6 years ago
Fred-Shan
c045b79e62
Update index.zh-CN.md
there are two "theme" in the table
6 years ago
HeskeyBaozi
4a553a2006
upgrade test cases
6 years ago