ztplz
6ad23c370e
Fix CI
2018-11-10 22:09:29 +08:00
afc163
213693e333
🌐 site: transition component category, close #11629
2018-11-04 16:20:35 +08:00
ztplz
8dc98dd690
Improve Affix
2018-11-01 14:55:41 +08:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
2018-06-22 21:05:13 +08:00
愚道
5903fdb19f
fix: Affix does not refix on offset prop changes
2018-06-19 10:04:15 +08:00
afc163
5fd4139661
Fix Affix offsetBottom not working, close #10674
2018-05-28 17:49:11 +08:00
afc163
6d8df2ac25
test: improve affix test case
2018-05-23 21:03:32 +08:00
qhxin
7404b7f36c
fix Affix/index.tsx while offsetTop === 0 and offsetBottom is numberic ( #10566 )
...
* Update index.tsx
Fix: if offsetTop === 0, it will get undefined, if offsetBottom is type of number, offsetMode will be { top: false, ... }
* Update index.tsx
2018-05-18 10:18:19 +08:00
afc163
37506b238f
sync placeholder node size when node is sticky by Affix, close #9536
2018-03-14 16:22:45 +08:00
afc163
8fb285fce9
Move maxHeight code into anchor, close #8606
2017-12-28 13:20:12 +08:00
afc163
31a0654ef9
Avoid affix element is higher than view port
2017-12-10 16:50:39 +08:00
Wei Zhu
d2b59938b8
Fix code style
2017-11-22 12:16:19 +08:00
Wei Zhu
b8a08f6e1d
Fix implicit any error for Affix
2017-11-22 11:49:35 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
afc163
bf36ebdf5e
Merge branch 'master' into antd-3.0
2017-11-13 21:24:32 +08:00
Wei Zhu
645be586f3
Run jest.useFakeTimers in beforeAll
2017-11-13 10:46:54 +08:00
afc163
b53e76cbd5
Merge branch 'master' into antd-3.0
2017-11-09 20:37:30 +08:00
afc163
54188b8e97
Reset timer in test
2017-11-09 20:33:25 +08:00
Wei Zhu
bbb1a3a828
Merge branch 'master' into antd-3.0
2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db
docs: sort api table
2017-10-25 10:25:44 +08:00
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
2017-10-09 19:18:04 +08:00
afc163
4eb9d5ef56
Merge branch 'master' into antd-3.0
2017-10-09 13:33:59 +08:00
afc163
475e4ff23d
upgrade eslint-config-airbnb
2017-10-09 13:27:35 +08:00
afc163
2f7b75562c
Merge branch 'master' into antd-3.0
2017-09-20 17:13:32 +08:00
Benjy Cui
f46a87d3e0
fix: should use fixedNode's height to reset placeholder, close : #2349
2017-09-19 16:31:37 +08:00
Wei Zhu
047f62e9b4
Mark refs to private ( #7600 )
2017-09-17 15:48:44 +08:00
afc163
7bee69a9df
Merge from master
2017-09-08 16:49:58 +08:00
Khalifa Lame
0a583afc5c
docs: update Affix English doc ( #7488 )
...
Fixed minor typos.
2017-09-08 09:40:40 +08:00
Wei Zhu
581ddb2b49
refactor: affix string refs to callback ( #7482 )
2017-09-08 09:31:07 +08:00
afc163
01d4acb7a9
Attach more events for Affix display
2017-08-17 11:45:46 +08:00
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
2017-05-25 16:54:15 +08:00
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
2017-04-12 02:22:05 +05:30
afc163
9414a9cbea
docs: fix target API of Affix and Badge
2017-03-30 14:23:25 +08:00
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00
ddcat1115
7ab95b7eae
- fix ts error ( #5145 )
...
- typescript upgrade to 2.2.1
2017-03-06 15:48:03 +08:00
陆离
7d982ddfd4
Calc width of Affix
using getBoundingClientRect ( #4989 )
...
+ close #4986
2017-02-21 22:17:48 +08:00
乔奕轩
030127e93c
fix: Affix should not pass onChange to div ( #4982 )
2017-02-21 18:07:58 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
陆离
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()
2017-02-08 14:44:43 +08:00
陆离
340385d34d
pass style props to Affix
( #4715 )
...
+ close #4701
2017-01-26 12:08:40 +08:00
陆离
5cd111d486
recalculate width while resize ( #4676 )
...
+ close #4645
+ throttleByAnimationFrameDecorator as a function decorator
2017-01-26 11:23:54 +08:00
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
2017-01-20 20:10:50 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
Wei Zhu
07103b9fb6
Don't ignore test files.
2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283
Restructure tests.
2016-12-14 14:41:39 +08:00
afc163
c7c886fda6
Improve Affix target demo code style, close #4037
2016-12-03 16:20:53 +08:00
Will Chen
6b774a1343
docs: improve docs' detail ( #4050 )
2016-11-29 17:13:24 +08:00