@landtrustinc/design-system 1.2.29-beta.0 → 1.2.29-beta.2
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 +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8798,7 +8798,8 @@ var useCarouselNavigation = ({
|
|
|
8798
8798
|
const getStepEl = (0, import_react55.useCallback)(
|
|
8799
8799
|
(index) => {
|
|
8800
8800
|
if (carousel2.current) {
|
|
8801
|
-
|
|
8801
|
+
const escapedId = CSS.escape(id);
|
|
8802
|
+
return carousel2.current.querySelectorAll(`[data-step-${escapedId}]`)[index] || null;
|
|
8802
8803
|
}
|
|
8803
8804
|
return null;
|
|
8804
8805
|
},
|
|
@@ -9202,6 +9203,7 @@ var PackageCard = ({
|
|
|
9202
9203
|
ScrollingCarousel,
|
|
9203
9204
|
{
|
|
9204
9205
|
showDots: images.length > 1,
|
|
9206
|
+
showNavigationOnHover: true,
|
|
9205
9207
|
id: carouselId,
|
|
9206
9208
|
children: images.filter((image) => !!image).map((image, index) => /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
|
|
9207
9209
|
ScrollingCarouselStep,
|