Commit Graph

330 Commits

Author SHA1 Message Date
afc163
942ea41b02 update snapshot for new jest 2017-10-09 13:32:11 +08:00
afc163
7a8a1a8ee3 Merge branch 'master' into antd-3.0 2017-09-30 21:31:29 +08:00
Jeffrey Carl Faden
9ab9e62308 Add inputPrefixCls for Search component () 2017-09-30 00:04:19 +08:00
偏右
2bced36f0c New component styles ()
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
delesseps
a8cab96c13 Add maxLength attribute to Input () 2017-09-27 09:57:23 +08:00
delesseps
2730344ff7 Add maxLength attribute to Input () 2017-09-27 09:56:30 +08:00
Benjy Cui
829b5f87bf feat: make default locale to enUS ()
* feat: make default locale to enUS

* test: fix CI

* docs: update getting started
2017-09-26 23:12:47 +08:00
ChaXinyu
14e2a56b75 export components interface ()
* export components interface

* export specific props

* fix formItem missed import
2017-09-25 22:14:49 +08:00
afc163
af7f0c3777 Merge branch 'master' into antd-3.0 2017-09-22 20:36:13 +08:00
afc163
c66062edb4 Fix input compact style 2017-09-22 20:35:30 +08:00
偏右
759b0bb821 seperate reset styles ()
* seperate reset styles

* not reset ul/ol/p/heading

* revert reset.less idea

* move label style into ant-form-item, 

* revert reset.less idea

* update base.less

* Better typography from bootstrap@4

use reboot replace normalize

ref:
b4d84b9cdf/scss/_reboot.scss

close 
2017-09-22 18:33:29 +08:00
delesseps
c419a1ddef Remove autoComplete restriction to allow more complex auto-filling behaviour () 2017-09-22 13:35:26 +08:00
delesseps
bb411517cf Remove autoComplete restriction to allow more complex auto-filling behaviour () 2017-09-22 13:31:48 +08:00
afc163
2f7b75562c Merge branch 'master' into antd-3.0 2017-09-20 17:13:32 +08:00
afc163
635a0548de Tweak input compact layout, close 2017-09-20 16:46:37 +08:00
nikogu
abf18b9ec4 merge master 2017-09-18 10:13:48 +08:00
Wei Zhu
047f62e9b4 Mark refs to private () 2017-09-17 15:48:44 +08:00
afc163
c5f56b9db3 optimize TextArea autosize animation 2017-09-17 13:48:16 +08:00
偏右
dab6f43c02 Feat search enter button ()
* Add enterButton for Input.Search

close 

* update snapshot
2017-09-15 17:03:43 +08:00
Wei Zhu
250c7a9c68 Revert "Mock rc-trigger"
This reverts commit 9d2c91598b.
2017-09-15 16:42:25 +08:00
Wei Zhu
9d2c91598b Mock rc-trigger
Ref 
2017-09-15 16:14:26 +08:00
Wei Zhu
4664e36fa4 refactor: input string refs to callback () 2017-09-08 09:43:21 +08:00
Khalifa Lame
5510d12ce8 docs: update Input English doc ()
Fixed some typos
2017-09-04 15:24:08 +08:00
afc163
a204c0afa2 restore default cursor, close 2017-09-01 10:04:25 +08:00
Ricardo Raphael Joson
bedfb180a8 Update index.en-US.md () 2017-08-31 17:13:28 +08:00
afc163
f77c38bddf fix snap 2017-08-18 12:17:07 +08:00
afc163
e00bfdc150 Make Input with addons same default width 100% with Input 2017-08-18 12:09:17 +08:00
afc163
b687a32044 Fix safari input text align, close 2017-08-08 20:27:05 +08:00
afc163
b3979885e4 fix demo snapshot 2017-08-04 21:29:30 +08:00
D & R
4bfd076cb8 fix: InputGroup demo () 2017-08-04 21:23:34 +08:00
afc163
0f63c7186e Fix input outline covered by addon again 2017-08-03 21:48:26 +08:00
afc163
483491d0d8 treak input style for text align 2017-08-03 21:45:56 +08:00
afc163
50b9839bb3 Fix input outline covered by addon 2017-08-02 21:37:15 +08:00
afc163
eb69e0a0f8 Fix scroll bar flash in TextArea[autosize] 2017-08-01 16:37:57 +08:00
Benjy Cui
d2aca99190 refactor: simplify TextArea's code 2017-07-24 09:36:27 +08:00
afc163
f505ebd188 Add snapshot test for textarea disabled 2017-07-21 20:23:50 +08:00
infeng
d19bfcbf74 fix onChange ts definition of Input 2017-07-19 13:52:55 +08:00
偏右
09c8addae1 Merge pull request from lyz810/master
fix: TextArea disabled style
2017-07-17 15:58:07 +08:00
neekey
7e522291c8 add unit px to all less value, make them explicit 2017-07-17 17:44:40 +10:00
liuyanzhe
bbfdc46aa2 Fix TextArea disabled style 2017-07-17 15:10:53 +08:00
afc163
b112948130 TextArea should be resetable in form, close 2017-07-16 15:39:21 +08:00
newraina
e94b110a46 fix SearchProps 2017-07-14 17:47:11 +08:00
afc163
ab41503343 doc: update input demo description 2017-07-14 15:47:07 +08:00
afc163
ca89227568 test: fix snapshot 2017-07-12 21:44:46 +08:00
afc163
81a8d71ec3 Fix Input className to wrapper, close 2017-07-12 21:43:06 +08:00
Benjy Cui
9c7cec3e39 refactor: remove span[disabled] 2017-07-12 14:23:47 +08:00
afc163
69b5acb45f More test cases 2017-07-07 20:26:08 +08:00
偏右
b653a2c055 Merge branch 'master' into feature-2.12 2017-07-07 19:41:37 +08:00
团结
625673486e I guess nextFrameActionId should be reset after textarea resized. 2017-07-06 20:42:54 +08:00
Benjy Cui
fe33e76479 refactor: extract Input.TextArea 2017-07-03 17:26:29 +08:00
paranoidjk
ba168b826f refactor: use spread operator replace object-assign () 2017-07-03 16:57:11 +08:00
Benjy Cui
00932da89b test: update snapshot for rc-calendar and rc-input-number 2017-06-28 16:29:26 +08:00
afc163
48e75e0436 fix hiddenTextarea typo 2017-06-27 14:32:12 +08:00
afc163
726541ae08 Improve autosize textarea scrollbar style, close 2017-06-27 12:03:10 +08:00
afc163
0efd941346 Fix input group extra padding 2017-06-26 21:37:46 +08:00
afc163
2ba8e6fec6 Fix wrap="off" autosize error
close 
2017-06-23 16:40:07 +08:00
afc163
d7a29f682b upgrade Col span format in demo 2017-06-15 15:34:47 +08:00
afc163
1c736c38b3 tweak Input[addon] vertical align, close 2017-06-08 11:32:47 +08:00
afc163
d086ee253e update snapshots for 2017-06-03 01:38:26 +08:00
afc163
920adb9a8a props.style in wrapper for input with addons 2017-06-03 00:55:30 +08:00
afc163
2cde334cd5 update snapshot 2017-05-28 15:30:43 +08:00
afc163
14844eb0e0 Fix AutoComplete and Input Group vertical align issue 2017-05-28 15:27:55 +08:00
clinyong
2202648d6e Input add autoFocus prop (for ts checking) 2017-05-27 16:37:15 +08:00
Panjie Setiawan Wicaksono
1abbc1c31b chore: add name props to input-related interfaces () 2017-05-27 09:31:06 +08:00
Benjy Cui
0e5431d21b deps: upgrade antd-tools and code style 2017-05-25 16:54:15 +08:00
Benjy Cui
4b8a291684 fix: broken style of Cascader in Input.Group ()
* fix: broken hover style of Cascader, close: 

* test: update snapshot
2017-05-22 10:09:17 +08:00
afc163
7cde9c8ffe fix affix input height, ref 2017-05-18 15:08:30 +08:00
afc163
8703145d70 Fix prop-types and createClass warning, 2017-05-18 14:22:47 +08:00
Benjy Cui
a86a3339fc revert: 2017-05-16 12:02:52 +08:00
afc163
1165200dcc remove unused className, 2017-05-15 18:20:31 +08:00
afc163
010860ae0f Fix style.height issue of Input with addon and prefix, close 2017-05-15 18:15:58 +08:00
偏右
0fdc3799b6 refactor: Extend Input types from HTMLInputProps, () 2017-05-15 10:28:13 +08:00
Graeme Yeates
e65dd692d2 Add a variable to control input addon's background () 2017-05-08 13:55:34 +08:00
Brook Shi
315f760ce2 Input component support spellCheck for TypeScript 2017-04-30 23:31:45 +08:00
乐仪
09e66db264 fix Input.Group style bug 2017-04-26 15:18:19 +08:00
乐仪
5dfe86e891 fix snap 2017-04-24 17:08:56 +08:00
ddcat1115
70b89e9316 fix AutoComplete style in Input.Group[compact] () 2017-04-22 09:28:44 +08:00
Graeme Yeates
89c37552a3 Set the color on input suffix 2017-04-19 14:22:06 -04:00
afc163
4310eb3b80 update input demo snapshot 2017-04-19 11:31:28 +08:00
afc163
1b42fbc728 Add Input range demo 2017-04-19 11:22:17 +08:00
afc163
9497a1f546 Fix InputGroup large and small size bug, close 2017-04-14 11:43:56 +08:00
afc163
5be7dc6b90 Fix InputGroup style, close 2017-04-13 10:56:19 +08:00
afc163
9daccc468a update input number snapshots 2017-04-10 13:21:15 +08:00
Benjy Cui
07e2c5e9c5 docs: update docs for InputNumber, close: 2017-04-10 11:16:41 +08:00
偏右
674255bd14 [WIP] upgrade deps ()
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
Qingrong Ke
8afc2e9e95 Fix 5322 ()
* Input: fix 

* Refactor preSuffix to affix

* Update tests and demos

* Refactor preSuffix to affix
2017-03-18 21:26:42 +08:00
Wei Zhu
f6b1e942e3 Jest 19 ()
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
afc163
c537030dee optimize for b7621c9 2017-03-10 17:04:52 +08:00
afc163
070ca82bc2 Fix hasFeedback of Input[addonBefore], close 2017-03-09 15:20:10 +08:00
ddcat1115
7ab95b7eae - fix ts error ()
- typescript upgrade to 2.2.1
2017-03-06 15:48:03 +08:00
afc163
ab2376e8ed Fix input prefix and suffix vertical alignment 2017-03-05 20:13:54 +08:00
afc163
b12d8e3d38 revert 5b20a5f and fix 2017-02-28 18:10:11 +08:00
afc163
27717483a7 should be only working on input ref, 2017-02-22 21:28:53 +08:00
afc163
5b20a5fc3e Fix slight vertical position difference in chrome, close 2017-02-22 17:48:58 +08:00
afc163
7181e3c9e8 revert d9ec4bf and ef0b708, close 2017-02-22 16:50:24 +08:00
afc163
ef0b7087f6 Fix slight difference placeholder between Input and Select
close 
2017-02-21 23:34:23 +08:00
afc163
9bb7e3d10c site: improve responsive layout 2017-02-21 23:26:10 +08:00
afc163
173b8c46ad Fix input demo tooltip 2017-02-19 15:21:46 +08:00
afc163
f5b0536d42 improve demo code style 2017-02-19 15:06:37 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
偏右
75a4b06e44 Unified border radius, close () 2017-02-08 14:21:29 +08:00
Graeme Yeates
1006015ef0 Add border customization variables ()
* Add border customization variables ()

* Make border styles customizable (fixes )
2017-01-31 16:05:10 +08:00
afc163
7381cc95fe update input test case 2017-01-31 16:03:14 +08:00
afc163
3a3efc3e5a test input auto calculate height 2017-01-30 20:05:47 +08:00
afc163
7518fde405 Fix align issue inside InputGroup, close 2017-01-22 18:50:12 +08:00
Wei Zhu
77b78a9389 docs: Unify type naming ()
* 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
4654db312f Fix some lesshint problems 2017-01-11 21:45:09 +08:00
afc163
dc00b9ee96 Fix Search block again, close 2017-01-10 15:11:43 +08:00
afc163
01859fc581 update input doc 2017-01-09 22:03:10 +08:00
afc163
37541e3bfe Fix Search block style 2017-01-09 14:24:08 +08:00
afc163
e2b8aee202 fix snapshot 2017-01-05 17:24:14 +08:00
afc163
41ff783868 Add name type for Input, close 2017-01-05 17:19:50 +08:00
afc163
a53bb4bfe4 simplify Input.Search code 2017-01-05 15:53:04 +08:00
afc163
ec35121bae update demo title 2017-01-05 15:35:43 +08:00
afc163
c4ac4d1eca fix Input prefix and suffix vertical align style 2017-01-05 15:34:30 +08:00
ddcat1115
c5b154294e add attribute compact for InputGroup ()
* add attribute `compact` for InputGroup

* improve
2017-01-02 00:12:41 +08:00
偏右
d811ebee5c New color system ()
* 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
Rex
1b8a280614 support suffix ()
* support suffix

* optimize prefix and suffix

* 1. Optimize prefix and suffix implementation
2. Improve the api document
3. Optimize `Input.Search` implementation

* update snapshots
2017-01-01 01:06:19 +08:00
afc163
2d19ea8344 Add comment 2016-12-22 11:54:03 +08:00
afc163
489d7cf997 Keep Search same default width as Input, close 2016-12-22 11:53:53 +08:00
Benjy Cui
1351b5da5d refactor: remove splitObject 2016-12-19 15:19:15 +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
Jieraaa
abba1558c4 style:fix the bug of pseudo class () 2016-12-11 23:55:30 +08:00
Rex
bc937aceb8 <Input /> addon have spacing when in table () 2016-12-10 01:03:16 +08:00
Benjy Cui
d94f0ab09a docs: update EditableTagGroup demo 2016-12-07 11:08:30 +08:00
afc163
03d6bdc942 update input API doc 2016-12-05 13:05:58 +08:00
afc163
f9bad27469 Fix DatePicker input style 2016-12-05 00:27:03 +08:00
afc163
ad911d8dfa Change way to fix 2016-12-04 16:42:49 +08:00
afc163
0bb71e6a6f Fix Input[type=textarea] popover misalign bug, close 2016-12-03 15:31:41 +08:00
afc163
2270598f2e update doc 2016-12-02 15:12:01 +08:00
afc163
5370df346c Add transition to input addon 2016-12-02 14:04:44 +08:00
Andrey G
a307a7acf7 refactor: remove unnecessary computed props for classNames ()
* remove unnecessary computed props for classNames

* rollback autocomplete optimization for possible css style order issue

* update snapshots

* remove more unnecessary computed props at Input
2016-11-30 10:20:23 +08:00
afc163
2034126e00 keep old style for compatibility 2016-11-26 14:39:30 +08:00
afc163
13020b7737 fix style 2016-11-26 14:39:30 +08:00
afc163
87f230f57b refactor Input.Search 2016-11-26 14:39:30 +08:00
ddcat1115
73c776e73d feat: Input add NumericInput demo & update searchInput demo ()
* Input
add NumericInput demo
update searchInput

* Input

- add Input.Search
- update NumericInput

* snap update
2016-11-24 14:03:57 +08:00
afc163
34b4200220 adjust search input style for combobox change () 2016-11-15 21:59:29 +08:00
Benjy Cui
e2b6054cc4 style: update code style 2016-11-15 15:18:40 +08:00
afc163
88d470220b Fix wrong error style for Form Validation 2016-11-09 22:25:39 +08:00
ddcat1115
0baef0627e docs: 调整组件导航结构 ()
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
0ec4276eab @font-size-lg () 2016-11-08 21:07:01 +08:00
afc163
9b81fe86d9 clear less variables and add @text-color-secondary 2016-11-08 20:48:03 +08:00
afc163
e6dd9a93d0 expand Input addon icon click area, close 2016-11-08 11:46:41 +08:00
Benjy Cui
d70ff98f9f fix: large size should be set by JS, not CSS, close: 2016-10-28 14:25:09 +08:00
Benjy Cui
4878258f6c refactor: ref: 2016-10-24 12:04:26 +08:00
Benjy Cui
1ed434a695 fix: should support Input[addon] in Form[inline], close: 2016-10-21 15:04:55 +08:00
yiminghe
8afe3965c1 upgrade ts 2.0 2016-10-19 17:52:23 +08:00
偏右
62a53e75b8 refactor: Downsize some style code ()
* remove fieldset disabled style

* improve button style mixins
2016-10-14 09:12:10 +08:00