@landtrustinc/design-system 1.2.29-beta.1 → 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 +2 -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
|
},
|