@growth-angels/ds-core 1.25.0 → 1.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -74,5 +74,5 @@ export const CarouselSwiper = (props) => {
|
|
|
74
74
|
return _jsx("div", { children: "Swiper library is not loaded." });
|
|
75
75
|
};
|
|
76
76
|
const CarouselNavigation = () => {
|
|
77
|
-
return (_jsxs("div", { className: `ga-ds-carousel__arrows`, children: [_jsx(Button, { extraClassNames: ["ga-ds-carousel__button", "ga-ds-carousel__button--prev"], icon: "chevron-left" }), _jsx(Button, { extraClassNames: ["ga-ds-carousel__button", "ga-ds-carousel__button--next"], icon: "chevron-right" })] }));
|
|
77
|
+
return (_jsxs("div", { className: `ga-ds-carousel__arrows`, children: [_jsx(Button, { extraClassNames: ["ga-ds-carousel__button", "ga-ds-carousel__button--prev"], icon: "chevron-left", "aria-label": "Slide pr\u00E9c\u00E9dente" }), _jsx(Button, { extraClassNames: ["ga-ds-carousel__button", "ga-ds-carousel__button--next"], icon: "chevron-right", "aria-label": "Slide suivante" })] }));
|
|
78
78
|
};
|
package/package.json
CHANGED
|
@@ -112,8 +112,16 @@ export const CarouselSwiper = (props: CarouselProps) => {
|
|
|
112
112
|
const CarouselNavigation = () => {
|
|
113
113
|
return (
|
|
114
114
|
<div className={`ga-ds-carousel__arrows`}>
|
|
115
|
-
<Button
|
|
116
|
-
|
|
115
|
+
<Button
|
|
116
|
+
extraClassNames={["ga-ds-carousel__button", "ga-ds-carousel__button--prev"]}
|
|
117
|
+
icon="chevron-left"
|
|
118
|
+
aria-label="Slide précédente"
|
|
119
|
+
/>
|
|
120
|
+
<Button
|
|
121
|
+
extraClassNames={["ga-ds-carousel__button", "ga-ds-carousel__button--next"]}
|
|
122
|
+
icon="chevron-right"
|
|
123
|
+
aria-label="Slide suivante"
|
|
124
|
+
/>
|
|
117
125
|
</div>
|
|
118
126
|
)
|
|
119
127
|
}
|