bonprix-design-system 0.56.0 → 0.56.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
@@ -13259,7 +13259,7 @@ const v1 = ({ children: t, theme: e, className: n, inline: r = !1 }) => /* @__PU
13259
13259
  a.isIntersecting ? a.target.removeAttribute("inert") : a.target.setAttribute("inert", "");
13260
13260
  });
13261
13261
  },
13262
- { root: e.current, threshold: 1 }
13262
+ { root: e.current, threshold: 0 }
13263
13263
  );
13264
13264
  return o(s), () => {
13265
13265
  s.disconnect(), o(null);
@@ -19261,7 +19261,8 @@ const SN = ({ variant: t, label: e, className: n, ...r }) => {
19261
19261
  startPriceLabel: "text-[9px]/[11px]",
19262
19262
  startPrice: "col-start-2 min-w-[50px]",
19263
19263
  discountPrice: "col-start-2 text-clr-voucher min-w-[50px]",
19264
- finalPriceRow: "flex gap-2 justify-end col-span-full items-baseline mt-1 only:mt-0",
19264
+ finalPriceRow: "flex gap-2 justify-end col-span-full items-baseline mt-1 only:mt-0 relative",
19265
+ // relative is needed to make sure sr-only text doesn't overflow and cause bugs in scroll areas!
19265
19266
  finalPrice: "text-[14px]/[14px] min-w-[50px]",
19266
19267
  finalPriceLabel: "sr-only"
19267
19268
  },