@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 CHANGED
@@ -8798,7 +8798,8 @@ var useCarouselNavigation = ({
8798
8798
  const getStepEl = (0, import_react55.useCallback)(
8799
8799
  (index) => {
8800
8800
  if (carousel2.current) {
8801
- return carousel2.current.querySelectorAll(`[data-step-${id}]`)[index] || null;
8801
+ const escapedId = CSS.escape(id);
8802
+ return carousel2.current.querySelectorAll(`[data-step-${escapedId}]`)[index] || null;
8802
8803
  }
8803
8804
  return null;
8804
8805
  },