mp-design-system 2.0.72 → 2.0.73

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.
@@ -1123,7 +1123,7 @@
1123
1123
  const perMove = parseInt(el.dataset.carouselPerMove) || 1;
1124
1124
  const wrapper = getComputedStyle(document.documentElement).getPropertyValue("--wrapper").trim();
1125
1125
  const wrapperWidth = parseInt(wrapper);
1126
- const gap = parseInt(getComputedStyle(el).getPropertyValue("--grid-gap"));
1126
+ const gap = parseInt(getComputedStyle(el).getPropertyValue("--row-gap"));
1127
1127
  const cardWidth = (wrapperWidth - (perPage - 1) * gap) / perPage;
1128
1128
  el.querySelectorAll(".splide__slide").forEach((slide) => {
1129
1129
  slide.style.width = `${cardWidth}px`;
@@ -1132,7 +1132,7 @@
1132
1132
  type,
1133
1133
  perPage,
1134
1134
  perMove,
1135
- gap: "var(--grid-gap)",
1135
+ gap,
1136
1136
  focus: 0,
1137
1137
  arrows: false,
1138
1138
  drag: true,