design-system-silkhaus 3.7.4 → 3.7.5-beta.fix-carousel-rtl
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.
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24557,7 +24557,7 @@ const XO = /* @__PURE__ */ Qn(v8), QO = ({ key: t, image: e, onClick: r, aspectR
|
|
|
24557
24557
|
nextArrow: /* @__PURE__ */ u.jsx(eM, {}),
|
|
24558
24558
|
lazyLoad: i,
|
|
24559
24559
|
rtl: s
|
|
24560
|
-
}, c = "ontouchstart" in window;
|
|
24560
|
+
}, c = "ontouchstart" in window, f = [...t].reverse();
|
|
24561
24561
|
return /* @__PURE__ */ u.jsx(
|
|
24562
24562
|
"div",
|
|
24563
24563
|
{
|
|
@@ -24566,14 +24566,14 @@ const XO = /* @__PURE__ */ Qn(v8), QO = ({ key: t, image: e, onClick: r, aspectR
|
|
|
24566
24566
|
),
|
|
24567
24567
|
ref: l,
|
|
24568
24568
|
dir: s ? "rtl" : "ltr",
|
|
24569
|
-
children: /* @__PURE__ */ u.jsx(XO, Ye(xe({}, d), { children: t.map((
|
|
24569
|
+
children: /* @__PURE__ */ u.jsx(XO, Ye(xe({}, d), { children: (s ? f : t).map((h, v) => /* @__PURE__ */ u.jsx(
|
|
24570
24570
|
QO,
|
|
24571
24571
|
{
|
|
24572
|
-
image:
|
|
24572
|
+
image: h,
|
|
24573
24573
|
onClick: a,
|
|
24574
24574
|
aspectRatio: o
|
|
24575
24575
|
},
|
|
24576
|
-
|
|
24576
|
+
v
|
|
24577
24577
|
)) }))
|
|
24578
24578
|
}
|
|
24579
24579
|
);
|
package/package.json
CHANGED