11import Button from '../atoms/button/Button' ;
2- import JoinedButtons from './JoinedButtons ' ;
2+ import JoinedUI from '../organisms/joined-ui/JoinedUI ' ;
33import icons from '../../../assets/images/icons.svg' ;
44
55export default {
66 title : 'UI/Buttons/Joined' ,
7- component : JoinedButtons ,
7+ component : JoinedUI ,
88 subcomponents : Button ,
99} ;
1010
1111// ***** Default size, each shape & color ****************** //
1212
1313export const PlusMinusIconsOutline = ( ) =>
14- JoinedButtons ( {
14+ JoinedUI ( {
1515 children : [
1616 Button ( {
1717 children : `<svg width="20" height="20" class="a-icon a-icon--m" aria-hidden="true" focusable="false"><use xlink:href="${ icons } #icon-minus"></use></svg><span class="u-sr-only">Remove</span>` ,
@@ -31,7 +31,7 @@ PlusMinusIconsOutline.parameters = {
3131} ;
3232
3333export const PlusMinusIconsOutlinePressed = ( ) =>
34- JoinedButtons ( {
34+ JoinedUI ( {
3535 children : [
3636 Button ( {
3737 children : `<svg width="20" height="20" class="a-icon a-icon--m" aria-hidden="true" focusable="false"><use xlink:href="${ icons } #icon-minus"></use></svg><span class="u-sr-only">Remove</span>` ,
@@ -52,7 +52,7 @@ PlusMinusIconsOutlinePressed.parameters = {
5252} ;
5353
5454export const NextPreviousIconsOutline = ( ) =>
55- JoinedButtons ( {
55+ JoinedUI ( {
5656 children : [
5757 Button ( {
5858 children : `<svg width="20" height="20" class="a-icon a-icon--m" aria-hidden="true" focusable="false"><use xlink:href="${ icons } #icon-caret-left"></use></svg><span class="u-sr-only">Previous</span>` ,
@@ -68,7 +68,7 @@ export const NextPreviousIconsOutline = () =>
6868 } ) ;
6969
7070export const NextPreviousIconsOutlinePressed = ( ) =>
71- JoinedButtons ( {
71+ JoinedUI ( {
7272 children : [
7373 Button ( {
7474 children : `<svg width="20" height="20" class="a-icon a-icon--m" aria-hidden="true" focusable="false"><use xlink:href="${ icons } #icon-caret-left"></use></svg><span class="u-sr-only">Previous</span>` ,
@@ -85,7 +85,7 @@ export const NextPreviousIconsOutlinePressed = () =>
8585 } ) ;
8686
8787export const PlusMinusIconsSecondary = ( ) =>
88- JoinedButtons ( {
88+ JoinedUI ( {
8989 children : [
9090 Button ( {
9191 children : `<svg width="20" height="20" class="a-icon a-icon--m" aria-hidden="true" focusable="false"><use xlink:href="${ icons } #icon-minus"></use></svg><span class="u-sr-only">Remove</span>` ,
@@ -101,7 +101,7 @@ export const PlusMinusIconsSecondary = () =>
101101 } ) ;
102102
103103export const PlusMinusIconsSecondaryPressed = ( ) =>
104- JoinedButtons ( {
104+ JoinedUI ( {
105105 children : [
106106 Button ( {
107107 children : `<svg width="20" height="20" class="a-icon a-icon--m" aria-hidden="true" focusable="false"><use xlink:href="${ icons } #icon-minus"></use></svg><span class="u-sr-only">Remove</span>` ,
@@ -118,7 +118,7 @@ export const PlusMinusIconsSecondaryPressed = () =>
118118 } ) ;
119119
120120export const PaginationOutline = ( ) =>
121- JoinedButtons ( {
121+ JoinedUI ( {
122122 children : [
123123 Button ( {
124124 children : `<svg width="20" height="20" class="a-icon a-icon--m" aria-hidden="true" focusable="false"><use xlink:href="${ icons } #icon-caret-left"></use></svg><span class="u-sr-only">Previous</span>` ,
@@ -158,7 +158,7 @@ PaginationOutline.parameters = {
158158} ;
159159
160160export const PaginationOutlinePressed = ( ) =>
161- JoinedButtons ( {
161+ JoinedUI ( {
162162 children : [
163163 Button ( {
164164 children : `<svg width="20" height="20" class="a-icon a-icon--m" aria-hidden="true" focusable="false"><use xlink:href="${ icons } #icon-caret-left"></use></svg><span class="u-sr-only">Previous</span>` ,
@@ -199,7 +199,7 @@ PaginationOutlinePressed.parameters = {
199199} ;
200200
201201export const PaginationSecondary = ( ) =>
202- JoinedButtons ( {
202+ JoinedUI ( {
203203 children : [
204204 Button ( {
205205 children : `<svg width="20" height="20" class="a-icon a-icon--m" aria-hidden="true" focusable="false"><use xlink:href="${ icons } #icon-caret-left"></use></svg><span class="u-sr-only">Previous</span>` ,
@@ -235,7 +235,7 @@ export const PaginationSecondary = () =>
235235 } ) ;
236236
237237export const PaginationSecondaryPressed = ( ) =>
238- JoinedButtons ( {
238+ JoinedUI ( {
239239 children : [
240240 Button ( {
241241 children : `<svg width="20" height="20" class="a-icon a-icon--m" aria-hidden="true" focusable="false"><use xlink:href="${ icons } #icon-caret-left"></use></svg><span class="u-sr-only">Previous</span>` ,
@@ -272,7 +272,7 @@ export const PaginationSecondaryPressed = () =>
272272 } ) ;
273273
274274export const PaginationTransparent = ( ) =>
275- JoinedButtons ( {
275+ JoinedUI ( {
276276 children : [
277277 Button ( {
278278 children : `<svg width="20" height="20" class="a-icon a-icon--m" aria-hidden="true" focusable="false"><use xlink:href="${ icons } #icon-caret-left"></use></svg><span class="u-sr-only">Previous</span>` ,
@@ -312,7 +312,7 @@ PaginationTransparent.parameters = {
312312} ;
313313
314314export const PaginationTransparentPressed = ( ) =>
315- JoinedButtons ( {
315+ JoinedUI ( {
316316 children : [
317317 Button ( {
318318 children : `<svg width="20" height="20" class="a-icon a-icon--m" aria-hidden="true" focusable="false"><use xlink:href="${ icons } #icon-caret-left"></use></svg><span class="u-sr-only">Previous</span>` ,
0 commit comments