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
afc163
9414a9cbea
docs: fix target API of Affix and Badge
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
* Upgeade to jest 19
* Use jest.spyOn
8 years ago
ddcat1115
7ab95b7eae
- fix ts error ( #5145 )
- typescript upgrade to 2.2.1
8 years ago
陆离
7d982ddfd4
Calc width of `Affix` using getBoundingClientRect ( #4989 )
+ close #4986
8 years ago
乔奕轩
030127e93c
fix: Affix should not pass onChange to div ( #4982 )
8 years ago
Benjy Cui
200b88246f
docs: update docs format
8 years ago
陆离
3789e0cbbb
Affix listener bug fix ( #4756 )
* Affix listener bug fix
+ close #4755
+ close #4760
+ clearScrollEventListeners before setTargetEventListeners
+ add tests for throttle
+ append affix test case
* genMockFn -> fn()
8 years ago
陆离
340385d34d
pass style props to `Affix` ( #4715 )
+ close #4701
8 years ago
陆离
5cd111d486
recalculate width while resize ( #4676 )
+ close #4645
+ throttleByAnimationFrameDecorator as a function decorator
8 years ago
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
8 years ago
Benjy Cui
3e17551b7e
site: improve build speed
8 years ago
Wei Zhu
07103b9fb6
Don't ignore test files.
8 years ago
Wei Zhu
17a0a33283
Restructure tests.
8 years ago
afc163
c7c886fda6
Improve Affix target demo code style, close #4037
8 years ago
Will Chen
6b774a1343
docs: improve docs' detail ( #4050 )
8 years ago
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
- Layout 更名为 Grid
8 years ago
RaoHai
0a0e14d610
Anchor Component
+ close #3557
8 years ago
RaoHai
ef720db420
anchor
8 years ago
Benjy Cui
746790a44e
docs: update Affix demos
8 years ago
Benjy Cui
8268bfdd9e
refactor: udpate Affix to work with strictNullCheck
8 years ago
Benjy Cui
61910bc2cb
fix: SSR for Affix and BackTop, close : #3283
8 years ago
Benjy Cui
9685d06f45
fix: should test if window exist, close : #3216
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
Benjy Cui
3f67fd3f9f
docs: update docs details
8 years ago
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
8 years ago
Benjy Cui
59093a6586
fix: should pass prefixCls correctly
8 years ago
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
8 years ago
afc163
0e6f677ff9
Fix doc headings
8 years ago
Benjy Cui
17cadbb3fa
docs: update docs of Affix
8 years ago
Benjy Cui
14fb2c78ba
chore: remove deprecated code ( #2920 )
* chore: remove deprecated code
* chore: add warning for Breadcrumb
8 years ago
Benjy Cui
5a4ebe535f
deps: update rc-form and form's docs ( #2873 )
8 years ago
Shawn Sit
04e8f062c7
translated doc of affix target demo ( #2817 )
* translated doc of affix target demo
* fixs: misspell
* enhancement
8 years ago
afc163
363f610d8b
Fix tsc errors beside DatePicker
8 years ago
afc163
77949bb9e3
upgrade eslint-config, close #2811
8 years ago
Benjy Cui
5d39bd9c54
fix: resolve merge conflict
8 years ago
Benjy Cui
d28e193382
feat: support Affix[target], ref: #2718 ( #2734 )
8 years ago
afc163
4f18cf0658
fix types
8 years ago
afc163
2e41e35cc6
Fix more tslint problems
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
afc163
ce7e7c77f0
Fix ts error in Affix ( #1846 )
8 years ago
afc163
1f82c573bf
Add placeholder for Affix, close #1987
8 years ago
偏右
1cf55c2b16
docs: translate affix to english ( #1471 ) ( #2219 )
9 years ago
afc163
4ac775212f
Improve code for #2247
9 years ago
djorkaeff
f687c95bd9
change offset when window resize
9 years ago
afc163
4e0956f3e3
should use assign in ts
9 years ago
afc163
09d00f1f30
Fix props warning, close #2253
https://fb.me/react-unknown-prop
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago