This repository was archived by the owner on Feb 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +15
-13
lines changed Expand file tree Collapse file tree 3 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 4
4
</div >
5
5
6
6
@button ([
7
- ' type ' => ' basic ' ,
7
+ ' text ' => ' ' ,
8
8
' icon' => ' chevron_left' ,
9
- ' size ' => ' md ' ,
10
- ' color ' => ' primary ' ,
9
+ ' color ' => ' default ' ,
10
+ ' style ' => ' basic ' ,
11
11
' attributeList' => [' js-slider-btn' => ' prev' ],
12
12
' classList' => [
13
13
' c-slider__button' ,
14
14
' c-slider__button--prev'
15
- ]
15
+ ],
16
+ ' label' => ' Slide to previous'
16
17
] )
17
18
@endbutton
18
19
19
20
@button ([
20
- ' type ' => ' basic ' ,
21
+ ' text ' => ' ' ,
21
22
' icon' => ' chevron_right' ,
22
- ' size ' => ' md ' ,
23
- ' color ' => ' primary ' ,
23
+ ' color ' => ' default ' ,
24
+ ' style ' => ' basic ' ,
24
25
' attributeList' => [' js-slider-btn' => ' next' ],
25
26
' classList' => [
26
27
' c-slider__button' ,
27
28
' c-slider__button--next'
28
- ]
29
+ ],
30
+ ' label' => ' Slide to previous'
29
31
] )
30
32
@endbutton
31
33
Original file line number Diff line number Diff line change 1
1
2
- @buttonGroup ([' attributeList' => [' js-split' => ' ' ]] )
2
+ @buttonGroup ([
3
+ ' borderColor' => ' default' ,
4
+ ' attributeList' => [' js-split' => ' ' ],
5
+ ' classList' => [$class ]
6
+ ] )
3
7
@button ([' text' => $buttonText ] )
4
8
@endbutton
5
9
@dropdown ([
Original file line number Diff line number Diff line change 1
1
{
2
2
"slug" : " splitbutton" ,
3
3
"default" : {
4
- "background" : " primary" ,
5
- "borderColor" : " primary" ,
6
4
"buttonText" : " Pick an item" ,
7
5
"icon" : " arrow-drop-down" ,
8
6
"dropdownDirection" : " bottom"
9
7
},
10
8
"description" : {
11
- "background" : " Background of the splitbutton." ,
12
- "borderColor" : " Color of the border around the splitbutton" ,
13
9
"buttonText" : " The text on the actionbutton" ,
14
10
"icon" : " The icon for the dropdown" ,
15
11
"dropdownDirection" : " In which direction the dropdown opens"
You can’t perform that action at this time.
0 commit comments