Commit Graph

105 Commits

Author SHA1 Message Date
Zheeeng
c3326a5bff Add missing prop signature destroyInactivePanel 2018-08-07 17:31:35 +08:00
Aditya Padhi
fcc055b390 Update index.en-US.md
Updated to document by adding  a property "destroyInactivePanel" which lets the user know about it behavior.
2018-06-30 18:51:32 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
byzyk
1850699588 docs(collapse): add accordion, add bordered 2018-06-25 21:32:07 +08:00
Wei Zhu
aa580beb8b docs: sort api table 2018-06-24 17:09:18 +08:00
afc163
5e99a93930 Fix collapse focused style 2018-05-07 17:57:49 +08:00
愚指导
9368e2df87
Bump 3.5.0 (#10297) 2018-05-04 18:15:28 +08:00
davidhatten
74d1c5e6b6 Add collapse styles to default.less (#9943)
* push collapse styling into overridable defaults

* Changes to ensure backwards compatibiliy, switch bg-color to be based on default style

* change background-color to bg in style names

* simplify and consolodate content-padding

* I figured out why the styling is split across content and box like that

The collapse/show animation doesn't work right without the padding set up across the two elements like this. From an end-user point of view, I think this is the easiest thing.

* pushing all padding styling on to the box instead of the content, keeping var name the same because the end user doesn't need to know the difference

* Pushing header-bg-color back up to the top of the component heirarchy

* shorten content padding
2018-04-19 11:36:53 +08:00
Pyroboomka
99469bd1b1 Syncing forceRender prop with rc-collapse. (#9192) 2018-01-30 20:44:33 -06:00
愚指导
1eff817b9a
release 3.1.0 (#8787)
add change log for 3.1.0 and update rc-pagination and rc-calendar.
2017-12-29 20:53:21 +08:00
nikogu
7814502fcf update snapshots 2017-12-22 17:31:09 +08:00
nikogu
5252de9209 Merge branch 'master' into feature-3.1 2017-12-22 11:43:54 +08:00
Wei Zhu
45a9e300ed Update snapshot
https://github.com/react-component/collapse/pull/81
2017-12-20 15:11:14 +08:00
Bartek
28e9d1ee88 Add option for disabling arrow icon in collapse panel (#8536) 2017-12-13 23:23:38 +08:00
afc163
c0b7bdb9f3 Tweak components style detail 2017-11-27 14:51:46 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +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
偏右
ffffd0f4c5 Fix styles (#7924)
* update demo

* Fix styles

* fix snap

* Fix back-top ci
2017-10-18 17:16:14 +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
afc163
4eb9d5ef56 Merge branch 'master' into antd-3.0 2017-10-09 13:33:59 +08:00
afc163
942ea41b02 update snapshot for new jest 2017-10-09 13:32:11 +08:00
afc163
475e4ff23d upgrade eslint-config-airbnb 2017-10-09 13:27:35 +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
ChaXinyu
14e2a56b75 export components interface (#7654)
* export components interface

* export specific props

* fix formItem missed import
2017-09-25 22:14: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
Khalifa Lame
eb663f0084 Update Collapse English doc (#7632)
Fixed typos.
2017-09-16 11:27:15 +08:00
afc163
eb62c44564 Fix #7587 2017-09-15 09:55:00 +08:00
Wei Zhu
35229e55b1 Update snapshot for 9423609 2017-09-03 22:38:21 +08:00
afc163
9423609243 Tweak collapse style 2017-09-03 18:24:22 +08:00
afc163
af9dc73eef Fix collapse arrow position in IE9/10/11 2017-08-11 10:32:16 +08:00
Tengjiao Cai
6e2ace3ba8 Update CollapsePanelProps -> onChange function (#7084)
parameter key should be either an array of string(general) or string(accordion mode), right?
2017-08-04 17:00:36 +08:00
afc163
abb2763a66 chore: collapse style 2017-07-27 19:43:40 +08:00
Benjy Cui
9d39a55604 css: make collapse.panel's header more flexible, close: #6832 2017-07-14 15:44:36 +08:00
afc163
65adb9984e remove style important 2017-06-26 20:58:03 +08:00
Jordan Hornblow
c832975663 refactor: Collapse import in TS (#6536) 2017-06-21 15:39:08 +08:00
Benjy Cui
863b777361 feat: Collapse.Panel supports disabled, close: #6119 2017-05-17 14:01:58 +08:00
Graeme Yeates
0bc8284c46 [#5964] add @background-color-active rule 2017-05-02 11:06:01 -04:00
Graeme Yeates
4eb2855871 Add @active-item-bg to control hover and active states 2017-05-02 11:05:28 -04:00
偏右
5fde1e7550 Merge branch 'master' into background-color-base 2017-05-01 13:51:11 +08:00
afc163
d7d18be1f5 revert collapse active background, ref #5881 2017-05-01 13:42:07 +08:00
Graeme Yeates
5841746ec9 Decompose @background-color-base into several variables 2017-04-28 16:04:41 -04:00
Graeme Yeates
fb4bafba6f Change collapse-hover-bg to collapse-active-bg 2017-04-26 22:08:44 -04:00
Graeme Yeates
5cba6317b5 Add variable for collapse hover background 2017-04-26 10:16:04 -04:00
Graeme Yeates
8250cb21f4 Use @primary-1 for collapse active state 2017-04-24 15:58:27 -04:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
afc163
0b62f77630 Tweak title color 2017-03-07 14:29:02 +08:00
afc163
38c8360d1f Improve Menu[inline] and Collapse animation, ref #4898 2017-02-20 15:34:16 +08:00
afc163
d22ce9cd50 Improve menu and collapse style details 2017-02-16 15:38:24 +08:00