Commit Graph

137 Commits

Author SHA1 Message Date
Wei Zhu
d2dc88c470 Add focus() and blur() document
Close #3790
2017-12-01 19:28:41 +08:00
Wei Zhu
25f51cdd64 Add focus() and blur() for Slider 2017-12-01 18:01:14 +08:00
Wei Zhu
b647078baa Fix implicit any for Select Slider Spin Switch 2017-11-21 14:58:08 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
偏右
bdceb5f083
Review fix (#8125)
* Fix style

* Fix style

* fix lint

* Fix more styles

* Fix more styles

* update snap
2017-11-06 21:28:51 +08:00
afc163
714b4ae06a Merge branch 'master' into antd-3.0 2017-11-06 10:35:41 +08:00
David Schneider
a5c3a6c930 In SliderProps type definition, replace void types with null. (#8102)
With TypeScript compiler option ‘strictNullChecks’ enabled, the value `null` cannot be assigned to type `void`. This means, for instance, that it’s impossible to pass a `null` value for prop `step`. I don’t expect that substituting `null` for `void` in these type definitions should cause anyone difficulty; because these are optional props, a consumer of this component should be able to pass `null` or `undefined` safely, whether or not the compiler is using strict null checks.
2017-11-03 09:40:56 +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
afc163
26e416c364 Tweak style 2017-10-16 19:56:04 +08:00
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +08:00
偏右
2bced36f0c New component styles (#7731)
* 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
偏右
759b0bb821 seperate reset styles (#7682)
* seperate reset styles

* not reset ul/ol/p/heading

* revert reset.less idea

* move label style into ant-form-item, #5851

* revert reset.less idea

* update base.less

* Better typography from bootstrap@4

use reboot replace normalize

ref:
b4d84b9cdf/scss/_reboot.scss

close #6162
2017-09-22 18:33:29 +08:00
afc163
43d14f8517 upgrade rc-slider, improve accessibility 2017-09-17 17:42:24 +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 #5522
2017-09-15 16:14:26 +08:00
afc163
b216a44b28 Fix Slider typings, close #7532 2017-09-10 02:32:00 +08:00
afc163
f77c38bddf fix snap 2017-08-18 12:17:07 +08:00
afc163
6a17efcbf1 upgrade some devDeps and fix stylelint 2017-08-04 18:01:40 +08:00
Wei Zhu
bef7db465e Revert "Revert "Revert "feat: upgrade rc-slider, support keyboard accessibility"""
This reverts commit 0b8b0d2deb.
2017-07-30 16:07:41 +08:00
Wei Zhu
0b8b0d2deb Revert "Revert "feat: upgrade rc-slider, support keyboard accessibility""
This reverts commit 551807cd91.
2017-07-30 16:06:53 +08:00
Wei Zhu
551807cd91 Revert "feat: upgrade rc-slider, support keyboard accessibility"
This reverts commit ef339a32ac.
2017-07-30 16:05:37 +08:00
paranoidjk
ef339a32ac feat: upgrade rc-slider, support keyboard accessibility
https://github.com/react-component/slider/pull/282
2017-07-28 14:02:45 +08:00
Benjy Cui
983609c009 css: fix disabled style of Slider, close: #6665 2017-07-20 10:39:22 +08:00
neekey
7e522291c8 add unit px to all less value, make them explicit 2017-07-17 17:44:40 +10:00
Benjy Cui
1f9b4a7981 refactor: make slider's style more flexible, close: #6665 2017-06-30 11:08:28 +08:00
slientcloud
e43c8012ad chore: support slider aira (#6301) 2017-06-01 12:08:39 +08:00
Benjy Cui
12a6060304 docs: fix code style 2017-05-15 14:37:22 +08:00
乐仪
5dfe86e891 fix snap 2017-04-24 17:08:56 +08:00
afc163
9daccc468a update input number snapshots 2017-04-10 13:21:15 +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
1f844c1048 fix: Slider's Tooltip should not blink, close: #5003 2017-02-23 17:03:18 +08:00
afc163
b839c624e8 fix slider demo 2017-02-20 22:31:43 +08:00
afc163
c30878d38f rewrite Slider demos to es6 component, #4878 2017-02-20 22:19:59 +08:00
Benjy Cui
56995e2089 test: update snapshot 2017-02-17 13:59:13 +08:00
Benjy Cui
89d77b2354 deps: upgrade rc-slider, ref: #4719 2017-02-17 13:59:13 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
afc163
f2bb4afd4d Merge from master 2017-01-27 17:23:51 +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
afc163
67da059874 fix demo language 2017-01-20 18:39:13 +08:00
afc163
35523be6e9 Merge from master 2017-01-20 18:28:09 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
Rex
93128d1481 feat: add slider vertical style (#4473) 2017-01-08 19:14:02 +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
b0a5601c98 fix less variables in slider 2016-12-27 17:04:10 +08:00
afc163
1ef76b40ec update Slider doc 2016-12-25 21:10:14 +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
75173dd7b0 Fix Slider[disabled] focus handler style, close #4045 2016-12-03 15:31:42 +08:00
afc163
3be71e41bf upgrade slider demo style 2016-11-29 13:17:08 +08:00