Commit Graph

150 Commits

Author SHA1 Message Date
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
ddcat1115
0baef0627e docs: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
Benjy Cui
746790a44e docs: update Affix demos 2016-10-30 15:11:22 +08:00
Benjy Cui
8268bfdd9e refactor: udpate Affix to work with strictNullCheck 2016-10-21 17:44:34 +08:00
Benjy Cui
61910bc2cb fix: SSR for Affix and BackTop, close: #3283 2016-10-02 08:21:10 +08:00
Benjy Cui
9685d06f45 fix: should test if window exist, close: #3216 2016-09-29 18:00:23 +08:00
Benjy Cui
bd7e9f00c0 style: update code style 2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +08:00
feng zhi hao
cad2d19be2 fix: complete loss declaration (#3068)
* complete loss declaration

* fix error in ts-lint

* fix Icon name error
2016-09-19 10:17:07 +08:00
Benjy Cui
59093a6586 fix: should pass prefixCls correctly 2016-09-14 16:59:45 +08:00
马斯特
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
2016-09-14 16:18:33 +08:00
afc163
0e1be22785 Merge branch 'master' of github.com:ant-design/ant-design 2016-09-10 14:11:10 +08:00
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
Benjy Cui
17cadbb3fa docs: update docs of Affix 2016-09-10 12:45:33 +08:00
Benjy Cui
14fb2c78ba chore: remove deprecated code (#2920)
* chore: remove deprecated code

* chore: add warning for Breadcrumb
2016-09-09 13:55:46 +08:00
Benjy Cui
5a4ebe535f deps: update rc-form and form's docs (#2873) 2016-09-01 11:48:38 +08:00
Shawn Sit
04e8f062c7 translated doc of affix target demo (#2817)
* translated doc of affix target demo

* fixs: misspell

* enhancement
2016-09-01 11:04:34 +08:00
afc163
363f610d8b Fix tsc errors beside DatePicker 2016-08-24 16:09:55 +08:00
afc163
77949bb9e3 upgrade eslint-config, close #2811 2016-08-23 21:00:35 +08:00
Benjy Cui
5d39bd9c54 fix: resolve merge conflict 2016-08-22 17:18:26 +08:00
Benjy Cui
e6280a7ea6 Merge branch '1.x-stable' 2016-08-22 17:05:37 +08:00
Benjy Cui
d28e193382 feat: support Affix[target], ref: #2718 (#2734) 2016-08-18 11:27:37 +08:00
afc163
4f18cf0658 fix types 2016-08-01 13:30:13 +08:00
afc163
2e41e35cc6 Fix more tslint problems 2016-07-13 17:22:23 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
afc163
ce7e7c77f0 Fix ts error in Affix (#1846) 2016-07-12 16:07:12 +08:00
afc163
6dad2b2987 Merge branch '1.x-stable' 2016-07-11 14:57:38 +08:00
afc163
1f82c573bf Add placeholder for Affix, close #1987 2016-07-11 14:52:21 +08:00
偏右
1cf55c2b16 docs: translate affix to english (#1471) (#2219) 2016-07-10 08:56:02 +08:00
afc163
28c470cb37 Merge 1.x-stable 2016-07-09 16:03:47 +08:00
afc163
4ac775212f Improve code for #2247 2016-07-09 16:00:05 +08:00
djorkaeff
f687c95bd9 change offset when window resize 2016-07-09 15:40:30 +08:00
afc163
4e0956f3e3 should use assign in ts 2016-07-05 10:46:00 +08:00
afc163
d280cba481 Merge 1.x-stable 2016-07-04 15:19:35 +08:00
afc163
09d00f1f30 Fix props warning, close #2253
https://fb.me/react-unknown-prop
2016-07-04 12:13:05 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
afc163
90c2d7ee12 downgrade rc-util 2016-06-16 22:34:54 +08:00
ddcat1115
37e376df11 fix #1777 2016-05-26 16:07:30 +08:00
RaoHai
b8e196f178 Restore width props in affixStyle of <Affix /> (#1854)
+ close #1820
2016-05-26 11:07:02 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
afc163
5e21853e8b Add deprecated warning for Affix offset 2016-05-09 21:49:31 +08:00
afc163
0ca6a1c24a css modularize (#1448)
* css modularize

* Add alert style

* Move more component style

* Move iconfont to common style

* Move layout style

* Move more component style

* Move all components

* Fix lots of mixin deps

* remove css-prefix from less

* fix a button icon style bug

* restructure

* fix index

* add dist

* fix jest

* fix some components style

* clean webpack config

* check more components style

* update tabs

* update scripts

* update scripts

* fix form style

* fix more style

* Fix select width

* Fix form and tabs style
2016-04-27 20:44:36 +08:00
afc163
91e690282d update site markdown style 2016-04-18 13:43:33 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
Benjy Cui
d5a6932c15 docs: update documentation format 2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
Bruce Mitchener
0acce38f08 Convert more createClass over to extending Component. 2016-03-29 16:33:37 +07:00
Bruce Mitchener
89561b0b3e Favor 'export default' over 'module.exports'. 2016-03-14 14:17:48 +07:00
Benjy Cui
cc0bad9ef9 chore: update UI 2016-03-10 10:50:39 +08:00
afc163
73fe5cc2c3 support affix bottom, close #1000 2016-02-29 16:44:38 +08:00
afc163
1705fd262a update code style 2016-02-29 12:18:26 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
Benjy Cui
711d2d7413 style: update code style to please lint 2016-01-11 09:49:30 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
afc163
ce76ebfe9b replace rcUtil.classSet by classnames, ref react-component/util#1 2015-11-24 20:03:57 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
Benjy Cui
f7a8b11243 chore: remove deprecated APIs 2015-10-21 17:59:57 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
偏右
88f6be5855 Merge pull request #368 from benjycui/feature-button
chore: replace `button` tag with `Button` component
2015-10-09 15:47:14 +08:00
Benjy Cui
26069c33e9 chore: upgrade react-slick in order to work with React@0.14.x 2015-10-09 11:35:44 +08:00
Benjy Cui
429a4ca382 refactor: joinClasses is removed in React@0.14.x 2015-10-09 10:55:52 +08:00
Benjy Cui
5b86a4be1d refactor: replace button tag with Button component 2015-10-08 15:13:04 +08:00
afc163
691b0147b1 update eslintrc and fix code 2015-09-01 16:19:39 +08:00
afc163
9b68103643 prefix className for affix 2015-08-07 10:50:52 +08:00
afc163
9a200ec782 update text 2015-08-05 21:18:34 +08:00
sorrycc
968b640fc2 add resize event for affix 2015-08-04 15:03:00 +08:00
sorrycc
e79150ed39 fix(affix): offset 2015-08-04 14:57:28 +08:00
sorrycc
eb4f468b49 add Affix 2015-08-03 17:12:50 +08:00
afc163
f62aa38ee8 Add components index.md 2015-08-01 14:08:04 +08:00
yiminghe
19e2c2700a stable 2015-07-30 21:55:16 +08:00
afc163
27353ca9b9 三期组件挖坑 2015-07-22 11:06:55 +08:00