Commit Graph

167 Commits

Author SHA1 Message Date
Dan Minshew
8e2d65298a Escape "|" character 2017-07-24 22:12:46 -05:00
Dan Minshew
e0ab15907f Escape pipe operator in function signature 2017-07-24 22:03:11 -05:00
afc163
25a60322e5 Add Pagination[itemRender] 2017-07-06 19:17:36 +08:00
afc163
24364e5bf9 update pagination snapshot 2017-06-23 14:35:38 +08:00
afc163
8e8f19e2b5 update snapshot 2017-06-02 21:55:04 +08:00
afc163
c209c45660 fix #6339 2017-06-02 16:33:11 +08:00
afc163
f40be3d7ac Tweak pagination style for vertical align and focused state 2017-06-02 16:32:42 +08:00
Benjy Cui
4e75347d35 deps: upgrade rc-pagination 2017-06-01 10:44:00 +08:00
Benjy Cui
0e5431d21b deps: upgrade antd-tools and code style 2017-05-25 16:54:15 +08:00
Benjy Cui
0b332f0fb8 test: update snapshot for pagination 2017-05-17 11:11:01 +08:00
Albert 理斯特
3f44c55689 fix: indent size 2017-05-15 14:35:19 +08:00
afc163
d50085a407 tweak pagination alignment, close #5632 2017-04-05 17:10:42 +08:00
afc163
58e521de71 Optimize pagination item block style, close #5557 2017-04-01 18:03:57 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
Benjy Cui
8f81594f91 Refactor: introduce injectLocale (#5289)
* refactor: extract injectLocale and refactor Pagination, ref: #5103

* refactor: use injectLocale in Popconfirm, ref: #5103

* refactor: use injectLocale in TimePicker

* refactor: use injectLocale in Transfer

* refactor: use injectLocale in TreeSelect

* refactor: remove useless code in AutoComplete

* test: update snapshot
2017-03-17 15:23:25 +08:00
ddcat1115
7ab95b7eae - fix ts error (#5145)
- typescript upgrade to 2.2.1
2017-03-06 15:48:03 +08:00
afc163
0f46eed370 fix lint 2017-02-23 11:45:48 +08:00
afc163
6455bdf6e1 rewrite Pagination demos to es6 component, #4878 2017-02-20 22:14:47 +08:00
afc163
e71807b732 Improve pagination demo 2017-02-18 18:12:38 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
乐仪
ff658c17f6 - update CHANGLOG
- update Pagination docs
2017-02-10 22:59:46 +08:00
Benjy Cui
d2b8d65c87 style: update code style to please lint, close: #2179 2017-02-06 12:09:58 +08:00
Graeme Yeates
1006015ef0 Add border customization variables (#4734)
* Add border customization variables (#4712)

* Make border styles customizable (fixes #4712)
2017-01-31 16:05:10 +08:00
afc163
30b2fa2c37 Move locale files 2017-01-30 18:20:57 +08:00
afc163
f2bb4afd4d Merge from master 2017-01-27 17:23:51 +08:00
Simon Waloschek
fd233cf430 Added German locale (#4686)
* Added German locale

* Added German locale for pagination
2017-01-25 21:12:27 +08:00
偏右
273c089aad Add test case for LocalProvider (#4693) 2017-01-23 21:08:16 +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
afc163
b978937af8 fix jest snapshot 2017-01-08 16:59:34 +08:00
偏右
d811ebee5c New color system (#4426)
* Add new color patterns algorithm

* Add color palettes

* update other colors

* fix gray color

* update more tint/shade to colorPalette

* new font color

* Update doc for new color system

* improve doc style
2017-01-01 22:20:06 +08:00
afc163
d81c425588 fix snapshot 2016-12-26 18:24:00 +08:00
afc163
0d0d63a741 Improve responsive layout of Pagination, close #4349 2016-12-25 19:55:12 +08:00
Wei Zhu
c547569d05 docs: Document callback parameters for Pagination 2016-12-15 16:07:04 +08:00
Pierre
827aa2f94c style: remove hardcoded inputs height (#4175)
* remove hardcoded inputs height

* revert pagination input height

* revert pagination input heights bis
2016-12-15 11:17:09 +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
Benjy Cui
932443099a css: use @component-background, ref: #4040 2016-11-29 11:56:10 +08:00
cathayandy
addb6e44dc Fix #4039. Replace background-color: #fff with background: @body-background (#4040) 2016-11-29 09:54:54 +08:00
Nathan Tavares Nascimento
c97e687edd feature: add pt_BR locale support (#4004) 2016-11-25 09:44:28 +08:00
Wei Zhu
ccbebe60cc style: Fix jsx alignment, #3966 (#3967) 2016-11-23 17:53:10 +08:00
偏右
7748471fa0 feat: Add range into showTotal (#2240#issuecomment-234766623) (#3863) 2016-11-22 10:12:14 +08:00
Benjy Cui
1c26bca8fe docs: update demo for Pagination, close: #3944 2016-11-22 09:49:25 +08:00
afc163
36003d03ac improve demo code style 2016-11-15 16:44:00 +08:00
afc163
0a48c62dcb use @text-color 2016-11-08 20:50:59 +08:00
kvetoslavnovak
cc6946b714 Pagination - Total - English correction (#3286)
* Pagination - Total - English correction

* Update total.md
2016-10-08 11:45:39 +08:00
kvetoslavnovak
73bf9fc327 docs: Pagination - Mini size - English correction (#3287)
* Pagination - Mini size - English correction

* Update mini.md
2016-10-08 08:49:08 +08:00
feng zhi hao
c0527f8b66 chore: complete declaration in Tabs and Select (#3183) 2016-09-28 16:58:14 +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
偏右
354759cb17 Redesigned icons (#3041)
* redesigned icons

* change iconfont content

* use same icons

* fix missing icons

* improve icon size
2016-09-18 09:54:47 +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
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
afc163
363f610d8b Fix tsc errors beside DatePicker 2016-08-24 16:09:55 +08:00
Benjy Cui
5dcce12c2c fix: some tsc errors (#2804) 2016-08-22 17:26:14 +08:00
ddcat1115
3bdd8212ec refactor: Ts rewrite patination notification modal menu (#2699) 2016-08-15 12:00:05 +08:00
ddcat1115
a242a4bdf3 docs: pagination translation (#2533) 2016-07-29 10:15:31 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
afc163
cc4cab5b1e Merge 1.x-stable 2016-06-23 23:11:14 +08:00
ddcat1115
57052d49c0 fix #2126 (#2147) 2016-06-23 11:15:12 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
03cb74ead5 upgrade eslint-config-airbnb version and fix some problems 2016-04-29 12:13:27 +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
be700df612 update pagination demo 2016-04-11 15:07:14 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
Benjy Cui
794783d1c2 style: enable react/no-multi-comp 2016-03-31 17:46:35 +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
273e527201 Use static class members for propTypes and friends. 2016-03-29 13:01:10 +07:00
Bruce Mitchener
11c0a6a203 Name classes without Ant* prefix.
Where necessary, prefix the classes imported from react-component
with 'Rc' rather than prefixing the Ant classes with 'Ant'.

The prefixing of Ant classes wasn't consistent and isn't necessary
in many cases.
2016-03-21 20:16:38 +07:00
afc163
2482140d2f Change context locale name 2016-03-10 10:32:50 +08:00
afc163
99b58e67ec Add other component for locale 2016-03-10 10:32:49 +08:00
afc163
d8f599fd3a Add LocalProvider, ref #1055 2016-03-10 10:32:49 +08:00
afc163
e8ce54f864 update doc for defaultPageSize 2016-03-02 12:16:58 +08:00
Benjy Cui
cdbac65dbc feat: add showTotal for Pagination 2016-02-25 10:36:58 +08:00
afc163
cf92a79529 merge master 2016-01-12 11:44:02 +08:00
Benjy Cui
b72d18fd44 style: update code style to please the fucking lint 2016-01-11 09:49:30 +08:00
Benjy Cui
711d2d7413 style: update code style to please lint 2016-01-11 09:49:30 +08:00
Yuwei Ba
fd65f75d71 更新 Pagination 文档 2016-01-07 17:46:36 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
afc163
36e234de97 update small examples 2015-12-05 13:34:55 +08:00
Yuwei Ba
9582855255 use object-assign 2015-12-04 17:48:01 +08:00
Yuwei Ba
948120e224 update simple pagination style 2015-12-04 17:47:58 +08:00
afc163
beaa01d4ef upgrade rc-pagination to 1.3.5 2015-11-27 01:00:27 +08:00
afc163
5b4aa4cd55 update API 2015-11-26 19:52:25 +08:00
afc163
2802643c12 fix demo 2015-11-26 19:51:03 +08:00
Yuwei Ba
83f176f2f6 Update demo. 2015-11-26 17:15:18 +08:00
Yuwei Ba
4cc69cdd3f Upgrade rc-pagination to 1.3.0. 2015-11-26 12:17:19 +08:00
afc163
d1d3329674 fix boolean attribute lint errors 2015-11-25 18:10:35 +08:00
yiminghe
697fb5d8f9 add locale for calendar 2015-11-16 20:24:37 +08:00
yiminghe
7be9844877 add note 2015-11-16 14:13:58 +08:00
yiminghe
4aafe71030 upgrade deps 2015-11-16 14:10:42 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
afc163
415fa383e3 unify all size prop to: large default small 2015-10-22 21:01:52 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00