米老朱
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
zombieJ
4668bf6ddd
update code ( #14700 )
close #12749
6 years ago
ycjcl868
22a4ca8594
feat: Anchor className should pass down.
6 years ago
gyh9457
c037e8dddd
fix anchor demo ( #14226 )
* fix anchor demo
* update anchor snapshot
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
afc163
bbb45e0659
let => const
6 years ago
afc163
213693e333
🌐 site: transition component category, close #11629
6 years ago
zombiej
5b6957d570
adjust anchor style
fix #12520
6 years ago
Wei Zhu
ee84f4ce0a
fix: some type definitions
6 years ago
mushan0x0
dd37457048
feat: Anchor onClick ( #11898 )
* update: 添加AntAnchor类型
* update: 完成代码逻辑
* update: 添加测试
* update: 点击锚点不记录历史
* update: 添加示例
* docs: 更新文档
* update: 更改onClick事件里的link为对象
* update: 优化代码
* update: 修改propClick为onClick
6 years ago
afc163
7b719ce457
simplicy Anchor test
6 years ago
afc163
fbab93fbd6
fix anchor test fails a lot again
6 years ago
Vitaliy Mazurenko
a14e476eeb
Anchor component with affix=true doesn't work inside inner scrollable… ( #11688 )
close #11687
6 years ago
afc163
c2319f0998
fix test fails a lot
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
tangjinzhou
14e0cc0161
fix: anchorLink href update
6 years ago
afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
Wei Zhu
aa580beb8b
docs: sort api table
7 years ago
afc163
50057739bf
Add test cases for Anchor
7 years ago
afc163
be13326a1b
Fix typo
7 years ago
afc163
93b14da4a6
improve test code
7 years ago
偏右
a2e0e40caa
[WIP] Use raf to replace getRequestAnimationFrame ( #10614 )
* use raf to replace getRequestAnimationFrame
* remove isCssAnimationSupported
7 years ago
Wei Zhu
2a5479a524
Fix type errors
Close #9988
7 years ago
Wei Zhu
da4062f9c1
Add Anchor[getContainer] ( #9694 )
7 years ago
yangwukang
16d7da31ad
Revision of Anchor Props document description,"affix" default value is true; 修正Anchor Props说明,"affix" 是true
7 years ago
junjing.zhang
0933201652
anchor scroll supports complete href link - test
anchor scroll supports complete href link, e.g. http://www.example.com/#id , not just #id
7 years ago
junjing.zhang
4bf675703d
anchor scroll supports complete href link
anchor scroll supports complete href link, e.g. http://www.example.com/#id , not just #id
7 years ago
afc163
8fb285fce9
Move maxHeight code into anchor, close #8606
7 years ago
Wei Zhu
c0a42480ae
Fix implicit any error for Anchor
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
偏右
bdceb5f083
Review fix ( #8125 )
* Fix style
* Fix style
* fix lint
* Fix more styles
* Fix more styles
* update snap
7 years ago
Wei Zhu
36227a10db
docs: sort api table
7 years ago
monkindey
0bc5936b23
resolve conflicted files
7 years ago
偏右
ffffd0f4c5
Fix styles ( #7924 )
* update demo
* Fix styles
* fix snap
* Fix back-top ci
7 years ago
偏右
9053192ae9
Fix component style ( #7848 )
* fix components style
* fix snapshot
* update travis node version
* change upload action in ci
7 years ago
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
7 years ago
ChaXinyu
14e2a56b75
export components interface ( #7654 )
* export components interface
* export specific props
* fix formItem missed import
7 years ago
afc163
91bbcd6f2c
Fix broken anchor, close #7712
7 years ago
偏右
759b0bb821
seperate reset styles ( #7682 )
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
7 years ago
afc163
afce275d25
refactor code style
7 years ago
Wei Zhu
047f62e9b4
Mark refs to private ( #7600 )
7 years ago
Wei Zhu
825a3d5e95
refactor: anchor string refs to callback ( #7483 )
7 years ago
Benjy Cui
2ba3a84331
fix: getDefaultTarget only be called in browser, close : #6926
7 years ago
Benjy Cui
f2d4d0a9e4
refactor: simplify Anchor, and fix #6473
7 years ago
邦
e7053c1b39
refactor: support noImplicitAny in Alert ( #5836 )
* refactor(alert): Enable noImplicitAny
* refactor(anchor): enable noImplicitAny #5627
* chore: coding style
8 years ago
Manjit Kumar
4e055ed5d0
use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
8 years ago
Mitchell Demler
65d62cd17c
Fix up which props are optional/required for Anchor and AnchorLink components ( #5539 )
8 years ago