File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
" @spectrum-css/accordion " : major
3
3
---
4
4
5
- #### Spectrum 2 migration
5
+ ### Spectrum 2 migration
6
6
7
7
Accordion now uses Spectrum 2 tokens and specifications.
8
8
9
9
New sized tokens are used for corner rounding, the spacing around the disclosure icon, and
10
10
the spacing around the content area.
11
11
12
- ##### New features
12
+ #### New features
13
13
14
14
- Adds the optional "quiet" style, which does not show dividers between accordion items.
15
15
- Adds CSS transition to animate the rotation of the disclosure indicator when expanding and
16
16
collapsing the accordion item.
17
17
18
- ##### Markup changes
18
+ #### Markup changes
19
19
20
20
The HTML markup has changed slightly for the accordion header. The disclosure icon has been moved
21
21
from outside the the button (` spectrum-Accordion-itemHeader ` ), to within the button. The extra
22
22
element with class ` spectrum-Accordion-itemIconContainer ` , previously wrapping the icon, has
23
23
been removed. A span with class ` spectrum-Accordion-itemTitle ` has been added around the heading
24
24
text.
25
25
26
- ###### Mod changes
26
+ #### Mod changes
27
27
28
28
The following ` --mod ` custom properties have been renamed to better reflect how they are used:
29
29
You can’t perform that action at this time.
0 commit comments