ublo-lib 1.2.2 → 1.2.3
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import classnames from "classnames";
|
|
3
3
|
import { useUbloContext } from "ublo/with-ublo";
|
|
4
|
+
import * as Icons from "dt-design-system/es/icons";
|
|
4
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
7
|
const UNDRAGGABLE_TAGS = "img, a, button";
|
|
@@ -294,23 +295,15 @@ const Carousel = ({
|
|
|
294
295
|
className: "carousel--prev",
|
|
295
296
|
onClick: prev,
|
|
296
297
|
disabled: alwaysShowControls && !showPrevArrow,
|
|
297
|
-
children: _jsx(
|
|
298
|
-
className: "carousel--icon"
|
|
299
|
-
viewBox: "0 0 24 24",
|
|
300
|
-
children: _jsx("path", {
|
|
301
|
-
d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
|
302
|
-
})
|
|
298
|
+
children: _jsx(Icons.ArrowLeft, {
|
|
299
|
+
className: "carousel--icon"
|
|
303
300
|
})
|
|
304
301
|
}), (editing || controls && showNextArrow || alwaysShowControls) && _jsx("button", {
|
|
305
302
|
className: "carousel--next",
|
|
306
303
|
onClick: next,
|
|
307
304
|
disabled: alwaysShowControls && !showNextArrow,
|
|
308
|
-
children: _jsx(
|
|
309
|
-
className: "carousel--icon"
|
|
310
|
-
viewBox: "0 0 24 24",
|
|
311
|
-
children: _jsx("path", {
|
|
312
|
-
d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
313
|
-
})
|
|
305
|
+
children: _jsx(Icons.ArrowRight, {
|
|
306
|
+
className: "carousel--icon"
|
|
314
307
|
})
|
|
315
308
|
}), dots && _jsx(Dots, {
|
|
316
309
|
count: count,
|