mimir-ui-kit 1.43.6 → 1.43.8

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.
@@ -60,6 +60,10 @@ export type TProps = {
60
60
  * Класс, применяемый к карточке.
61
61
  */
62
62
  cardClassName?: string;
63
+ /**
64
+ * Колбэк, вызываемый при клике на стрелку.
65
+ */
66
+ onArrowClick?: () => void;
63
67
  };
64
68
  export declare const CardTrail: import('react').ForwardRefExoticComponent<TProps & {
65
69
  children?: import('react').ReactNode | undefined;
@@ -1,67 +1,68 @@
1
- import { jsxs as w, jsx as d } from "react/jsx-runtime";
2
- import { c as l } from "../../index-DIxK0V-G.js";
3
- import { forwardRef as Y, useRef as f, useState as _, useEffect as G, Children as J } from "react";
4
- import { DEFAULT_SPACE_BETWEEN as K, DEFAULT_SCROLL_STEP as Q, DEFAULT_DIVIDED as Z, DEFAULT_CARD_INDEX as rr } from "./constants.js";
5
- import { hasHorizontalScroll as g, getCSSVariableNumericValue as D, isScrollAtEdge as L } from "./utils.js";
6
- import { useMergeRefs as tr } from "../../hooks/useMergeRefs/useMergeRefs.js";
7
- import { useThrottledCallback as er } from "../../hooks/useThrottledCallback/index.js";
8
- import { MergedButton as ar } from "../MergedButton/MergedButton.js";
9
- import '../../assets/CardTrail.css';const ir = "_pointer_1wzbr_50", i = {
1
+ import { jsxs as L, jsx as u } from "react/jsx-runtime";
2
+ import { c as n } from "../../index-DIxK0V-G.js";
3
+ import { forwardRef as G, useRef as _, useState as g, useEffect as J, Children as K } from "react";
4
+ import { DEFAULT_SPACE_BETWEEN as Q, DEFAULT_SCROLL_STEP as Z, DEFAULT_DIVIDED as rr, DEFAULT_CARD_INDEX as tr } from "./constants.js";
5
+ import { hasHorizontalScroll as p, getCSSVariableNumericValue as z, isScrollAtEdge as W } from "./utils.js";
6
+ import { useMergeRefs as er } from "../../hooks/useMergeRefs/useMergeRefs.js";
7
+ import { useThrottledCallback as ar } from "../../hooks/useThrottledCallback/index.js";
8
+ import { MergedButton as ir } from "../MergedButton/MergedButton.js";
9
+ import '../../assets/CardTrail.css';const cr = "_pointer_1wzbr_50", i = {
10
10
  "card-trail": "_card-trail_1wzbr_3",
11
11
  "card-trail-header": "_card-trail-header_1wzbr_7",
12
12
  "card-trail-header-title": "_card-trail-header-title_1wzbr_15",
13
13
  "card-trail-header-merged-button": "_card-trail-header-merged-button_1wzbr_29",
14
14
  "card-trail-list": "_card-trail-list_1wzbr_32",
15
15
  "card-trail-list-item": "_card-trail-list-item_1wzbr_46",
16
- pointer: ir
16
+ pointer: cr
17
17
  };
18
- let z = {};
19
- const mr = Y((W, A) => {
18
+ let w = {};
19
+ const fr = G((R, I) => {
20
20
  const {
21
- cardClassName: R,
22
- cardTrailClassName: k,
23
- cardTrailHeaderClassName: I,
24
- cardTrailListClassName: y,
25
- cardTrailMergedButtonClassName: M,
26
- children: p,
27
- title: u,
28
- spaceBetween: n = K,
29
- scrollStep: b = Q,
30
- dividedCardWidth: V = Z,
31
- currentCardIndex: h = rr,
21
+ cardClassName: A,
22
+ cardTrailClassName: y,
23
+ cardTrailHeaderClassName: M,
24
+ cardTrailListClassName: V,
25
+ cardTrailMergedButtonClassName: k,
26
+ children: b,
27
+ title: h,
28
+ spaceBetween: s = Q,
29
+ scrollStep: C = Z,
30
+ dividedCardWidth: x = rr,
31
+ currentCardIndex: m = tr,
32
32
  mergedButtonProps: c,
33
- scrollToCard: C = !1,
34
- needButtons: B = !0,
35
- padding: N = 0
36
- } = W, r = f(null), S = f(!0), o = f(null), [s, x] = _({
33
+ scrollToCard: B = !1,
34
+ needButtons: N = !0,
35
+ padding: S = 0,
36
+ onArrowClick: l
37
+ } = R, r = _(null), E = _(!0), d = _(null), [o, U] = g({
37
38
  leftButton: !0,
38
39
  rightButton: !1
39
- }), [U, F] = _(0), [E, T] = _(
40
- () => g(r == null ? void 0 : r.current)
41
- ), H = tr(r, A), O = er(() => {
42
- var v;
43
- if (S.current) {
44
- S.current = !1;
45
- const m = r.current, P = ((v = m == null ? void 0 : m.children[h]) == null ? void 0 : v.clientWidth) ?? 0, X = D(N);
46
- F(
47
- P / V + X + n
40
+ }), [F, H] = g(0), [T, v] = g(
41
+ () => p(r == null ? void 0 : r.current)
42
+ ), O = er(r, I), $ = ar(() => {
43
+ var D;
44
+ if (E.current) {
45
+ E.current = !1;
46
+ const f = r.current, X = ((D = f == null ? void 0 : f.children[m]) == null ? void 0 : D.clientWidth) ?? 0, Y = z(S);
47
+ H(
48
+ X / x + Y + s
48
49
  );
49
50
  }
50
- const t = D(N);
51
- z = {
51
+ const t = z(S);
52
+ w = {
52
53
  paddingLeft: t,
53
54
  paddingRight: t,
54
55
  marginLeft: -t,
55
56
  marginRight: -t
56
57
  };
57
- const e = !L(r.current, "left"), a = !L(r.current, "right");
58
- x({
58
+ const e = !W(r.current, "left"), a = !W(r.current, "right");
59
+ U({
59
60
  leftButton: !e,
60
61
  rightButton: !a
61
62
  });
62
- }, 300), $ = (t) => () => {
63
+ }, 300), j = (t) => () => {
63
64
  var a;
64
- if (!C)
65
+ if (!B)
65
66
  return;
66
67
  const e = (a = r == null ? void 0 : r.current) == null ? void 0 : a.querySelector(
67
68
  `[data-active-card='${t}']`
@@ -71,55 +72,55 @@ const mr = Y((W, A) => {
71
72
  block: "nearest",
72
73
  inline: "center"
73
74
  }));
74
- }, j = () => {
75
+ }, q = () => {
75
76
  var a;
76
- if (!r.current || s.leftButton) return;
77
- const t = r.current, e = ((a = t.children[h]) == null ? void 0 : a.clientWidth) ?? 0;
77
+ if (l == null || l(), !r.current || o.leftButton) return;
78
+ const t = r.current, e = ((a = t.children[m]) == null ? void 0 : a.clientWidth) ?? 0;
78
79
  t.scrollBy({
79
- left: -(e + n) * b,
80
+ left: -(e + s) * C,
80
81
  behavior: "smooth"
81
82
  });
82
- }, q = () => {
83
+ }, P = () => {
83
84
  var a;
84
- if (!r.current || s.rightButton) return;
85
- const t = r.current, e = ((a = t.children[h]) == null ? void 0 : a.clientWidth) ?? 0;
85
+ if (l == null || l(), !r.current || o.rightButton) return;
86
+ const t = r.current, e = ((a = t.children[m]) == null ? void 0 : a.clientWidth) ?? 0;
86
87
  t.scrollBy({
87
- left: (e + n) * b,
88
+ left: (e + s) * C,
88
89
  behavior: "smooth"
89
90
  });
90
91
  };
91
- return G(() => {
92
+ return J(() => {
92
93
  const t = r.current;
93
94
  if (t)
94
- return o.current = new ResizeObserver(() => {
95
- T(g(r == null ? void 0 : r.current));
96
- }), o.current.observe(t), T(g(r == null ? void 0 : r.current)), () => {
97
- o.current && o.current.disconnect();
95
+ return d.current = new ResizeObserver(() => {
96
+ v(p(r == null ? void 0 : r.current));
97
+ }), d.current.observe(t), v(p(r == null ? void 0 : r.current)), () => {
98
+ d.current && d.current.disconnect();
98
99
  };
99
- }, [p]), /* @__PURE__ */ w("section", { className: l(i["card-trail"], k), children: [
100
- (u || E && B) && /* @__PURE__ */ w(
100
+ }, [b]), /* @__PURE__ */ L("section", { className: n(i["card-trail"], y), children: [
101
+ (h || T && N) && /* @__PURE__ */ L(
101
102
  "header",
102
103
  {
103
- className: l(
104
+ className: n(
104
105
  i["card-trail-header"],
105
- I
106
+ M
106
107
  ),
107
108
  children: [
108
- u && /* @__PURE__ */ d("h3", { className: i["card-trail-header-title"], children: u }),
109
- E && B && /* @__PURE__ */ d(
110
- ar,
109
+ h && /* @__PURE__ */ u("h3", { className: i["card-trail-header-title"], children: h }),
110
+ T && N && /* @__PURE__ */ u(
111
+ ir,
111
112
  {
112
- buttonsWrapperClassName: l(
113
+ buttonsWrapperClassName: n(
113
114
  i["card-trail-header-merged-button"],
114
- M
115
+ k
115
116
  ),
116
117
  buttons: [
117
118
  {
118
119
  isIconButton: !0,
119
120
  iconName: "ArrowLeft16px",
120
121
  variant: "gray",
121
- onClick: j,
122
- disabled: s.leftButton,
122
+ onClick: q,
123
+ disabled: o.leftButton,
123
124
  size: "s",
124
125
  ...c == null ? void 0 : c.leftButton
125
126
  },
@@ -127,9 +128,9 @@ const mr = Y((W, A) => {
127
128
  isIconButton: !0,
128
129
  iconName: "ArrowRight16px",
129
130
  variant: "gray",
130
- onClick: q,
131
+ onClick: P,
131
132
  size: "s",
132
- disabled: s.rightButton,
133
+ disabled: o.rightButton,
133
134
  ...c == null ? void 0 : c.rightButton
134
135
  }
135
136
  ]
@@ -138,27 +139,27 @@ const mr = Y((W, A) => {
138
139
  ]
139
140
  }
140
141
  ),
141
- /* @__PURE__ */ d(
142
+ /* @__PURE__ */ u(
142
143
  "ul",
143
144
  {
144
- onScroll: O,
145
+ onScroll: $,
145
146
  style: {
146
- gap: n,
147
- scrollPadding: `0 ${U}px`,
148
- ...z
147
+ gap: s,
148
+ scrollPadding: `0 ${F}px`,
149
+ ...w
149
150
  },
150
- className: l(i["card-trail-list"], y),
151
- ref: H,
152
- children: J.map(p, (t, e) => /* @__PURE__ */ d(
151
+ className: n(i["card-trail-list"], V),
152
+ ref: O,
153
+ children: K.map(b, (t, e) => /* @__PURE__ */ u(
153
154
  "li",
154
155
  {
155
- onClick: $(e),
156
+ onClick: j(e),
156
157
  "data-active-card": e,
157
158
  "data-testid": `card-trail-item-${e}`,
158
- className: l(
159
+ className: n(
159
160
  i["card-trail-list-item"],
160
- { [i.pointer]: C },
161
- R
161
+ { [i.pointer]: B },
162
+ A
162
163
  ),
163
164
  children: t
164
165
  }
@@ -168,5 +169,5 @@ const mr = Y((W, A) => {
168
169
  ] });
169
170
  });
170
171
  export {
171
- mr as CardTrail
172
+ fr as CardTrail
172
173
  };
@@ -53,7 +53,7 @@ type TProps = {
53
53
  /**
54
54
  * Функция, которая будет вызвана при клике на слайд.
55
55
  */
56
- onSlideClick?: VoidFunction;
56
+ onSlideClick?: (slide: TPromoSlide) => void;
57
57
  };
58
58
  export declare const PromoSlider: ({ slides, onSlideClick, delay, spaceBetween, imageClassName, slideClassName, swiperClassName, contentClassName }: TProps) => import("react/jsx-runtime").JSX.Element;
59
59
  export {};
@@ -1,20 +1,20 @@
1
- import { jsxs as Y, jsx as L, Fragment as F } from "react/jsx-runtime";
2
- import { c as C } from "../../index-DIxK0V-G.js";
1
+ import { jsxs as Y, jsx as k, Fragment as F } from "react/jsx-runtime";
2
+ import { c as H } from "../../index-DIxK0V-G.js";
3
3
  import { useState as j } from "react";
4
- import { g as R, b as G, e as U, c as $, n as B, d as A, S as q, A as Z, a as J } from "../../swiper-react-BvAw14a4.js";
4
+ import { g as R, b as G, e as U, c as $, n as B, d as S, S as q, A as Z, a as J } from "../../swiper-react-BvAw14a4.js";
5
5
  import { Chip as Q } from "../Chip/Chip.js";
6
6
  import { AppImage as ee } from "../Image/Image.js";
7
7
  import '../../assets/PromoSlider.css';function te(P) {
8
8
  let {
9
9
  swiper: e,
10
- extendParams: k,
10
+ extendParams: L,
11
11
  on: T,
12
12
  emit: x
13
13
  } = P;
14
14
  const p = R(), v = G();
15
15
  e.keyboard = {
16
16
  enabled: !1
17
- }, k({
17
+ }, L({
18
18
  keyboard: {
19
19
  enabled: !1,
20
20
  onlyInViewport: !0,
@@ -28,12 +28,12 @@ import '../../assets/PromoSlider.css';function te(P) {
28
28
  } = e;
29
29
  let o = n;
30
30
  o.originalEvent && (o = o.originalEvent);
31
- const g = o.keyCode || o.charCode, H = e.params.keyboard.pageUpDown, b = H && g === 33, _ = H && g === 34, y = g === 37, M = g === 39, t = g === 38, s = g === 40;
31
+ const g = o.keyCode || o.charCode, C = e.params.keyboard.pageUpDown, b = C && g === 33, _ = C && g === 34, y = g === 37, M = g === 39, t = g === 38, s = g === 40;
32
32
  if (!e.allowSlideNext && (e.isHorizontal() && M || e.isVertical() && s || _) || !e.allowSlidePrev && (e.isHorizontal() && y || e.isVertical() && t || b))
33
33
  return !1;
34
34
  if (!(o.shiftKey || o.altKey || o.ctrlKey || o.metaKey) && !(p.activeElement && p.activeElement.nodeName && (p.activeElement.nodeName.toLowerCase() === "input" || p.activeElement.nodeName.toLowerCase() === "textarea"))) {
35
35
  if (e.params.keyboard.onlyInViewport && (b || _ || y || M || t || s)) {
36
- let N = !1;
36
+ let A = !1;
37
37
  if (U(e.el, `.${e.params.slideClass}, swiper-slide`).length > 0 && U(e.el, `.${e.params.slideActiveClass}`).length === 0)
38
38
  return;
39
39
  const w = e.el, m = w.clientWidth, d = w.clientHeight, a = v.innerWidth, f = v.innerHeight, l = $(w);
@@ -43,10 +43,10 @@ import '../../assets/PromoSlider.css';function te(P) {
43
43
  const c = D[r];
44
44
  if (c[0] >= 0 && c[0] <= a && c[1] >= 0 && c[1] <= f) {
45
45
  if (c[0] === 0 && c[1] === 0) continue;
46
- N = !0;
46
+ A = !0;
47
47
  }
48
48
  }
49
- if (!N) return;
49
+ if (!A) return;
50
50
  }
51
51
  e.isHorizontal() ? ((b || _ || y || M) && (o.preventDefault ? o.preventDefault() : o.returnValue = !1), ((_ || M) && !u || (b || y) && u) && e.slideNext(), ((b || y) && !u || (_ || M) && u) && e.slidePrev()) : ((b || _ || t || s) && (o.preventDefault ? o.preventDefault() : o.returnValue = !1), (_ || s) && e.slideNext(), (b || t) && e.slidePrev()), x("keyPress", g);
52
52
  }
@@ -69,12 +69,12 @@ import '../../assets/PromoSlider.css';function te(P) {
69
69
  function ne(P) {
70
70
  let {
71
71
  swiper: e,
72
- extendParams: k,
72
+ extendParams: L,
73
73
  on: T,
74
74
  emit: x
75
75
  } = P;
76
76
  const p = G();
77
- k({
77
+ L({
78
78
  mousewheel: {
79
79
  enabled: !1,
80
80
  releaseOnEdges: !1,
@@ -89,7 +89,7 @@ function ne(P) {
89
89
  }), e.mousewheel = {
90
90
  enabled: !1
91
91
  };
92
- let v, I = A(), h;
92
+ let v, I = S(), h;
93
93
  const i = [];
94
94
  function n(t) {
95
95
  let m = 0, d = 0, a = 0, f = 0;
@@ -107,9 +107,9 @@ function ne(P) {
107
107
  e.enabled && (e.mouseEntered = !1);
108
108
  }
109
109
  function g(t) {
110
- return e.params.mousewheel.thresholdDelta && t.delta < e.params.mousewheel.thresholdDelta || e.params.mousewheel.thresholdTime && A() - I < e.params.mousewheel.thresholdTime ? !1 : t.delta >= 6 && A() - I < 60 ? !0 : (t.direction < 0 ? (!e.isEnd || e.params.loop) && !e.animating && (e.slideNext(), x("scroll", t.raw)) : (!e.isBeginning || e.params.loop) && !e.animating && (e.slidePrev(), x("scroll", t.raw)), I = new p.Date().getTime(), !1);
110
+ return e.params.mousewheel.thresholdDelta && t.delta < e.params.mousewheel.thresholdDelta || e.params.mousewheel.thresholdTime && S() - I < e.params.mousewheel.thresholdTime ? !1 : t.delta >= 6 && S() - I < 60 ? !0 : (t.direction < 0 ? (!e.isEnd || e.params.loop) && !e.animating && (e.slideNext(), x("scroll", t.raw)) : (!e.isBeginning || e.params.loop) && !e.animating && (e.slidePrev(), x("scroll", t.raw)), I = new p.Date().getTime(), !1);
111
111
  }
112
- function H(t) {
112
+ function C(t) {
113
113
  const s = e.params.mousewheel;
114
114
  if (t.direction < 0) {
115
115
  if (e.isEnd && !e.params.loop && s.releaseOnEdges)
@@ -119,7 +119,7 @@ function ne(P) {
119
119
  return !1;
120
120
  }
121
121
  function b(t) {
122
- let s = t, N = !0;
122
+ let s = t, A = !0;
123
123
  if (!e.enabled || t.target.closest(`.${e.params.mousewheel.noMousewheelClass}`)) return;
124
124
  const w = e.params.mousewheel;
125
125
  e.params.cssMode && s.preventDefault();
@@ -141,28 +141,28 @@ function ne(P) {
141
141
  if (a === 0) return !0;
142
142
  w.invert && (a = -a);
143
143
  let D = e.getTranslate() + a * w.sensitivity;
144
- if (D >= e.minTranslate() && (D = e.minTranslate()), D <= e.maxTranslate() && (D = e.maxTranslate()), N = e.params.loop ? !0 : !(D === e.minTranslate() || D === e.maxTranslate()), N && e.params.nested && s.stopPropagation(), !e.params.freeMode || !e.params.freeMode.enabled) {
144
+ if (D >= e.minTranslate() && (D = e.minTranslate()), D <= e.maxTranslate() && (D = e.maxTranslate()), A = e.params.loop ? !0 : !(D === e.minTranslate() || D === e.maxTranslate()), A && e.params.nested && s.stopPropagation(), !e.params.freeMode || !e.params.freeMode.enabled) {
145
145
  const r = {
146
- time: A(),
146
+ time: S(),
147
147
  delta: Math.abs(a),
148
148
  direction: Math.sign(a),
149
149
  raw: t
150
150
  };
151
151
  i.length >= 2 && i.shift();
152
152
  const c = i.length ? i[i.length - 1] : void 0;
153
- if (i.push(r), c ? (r.direction !== c.direction || r.delta > c.delta || r.time > c.time + 150) && g(r) : g(r), H(r))
153
+ if (i.push(r), c ? (r.direction !== c.direction || r.delta > c.delta || r.time > c.time + 150) && g(r) : g(r), C(r))
154
154
  return !0;
155
155
  } else {
156
156
  const r = {
157
- time: A(),
157
+ time: S(),
158
158
  delta: Math.abs(a),
159
159
  direction: Math.sign(a)
160
160
  }, c = h && r.time < h.time + 500 && r.delta <= h.delta && r.direction === h.direction;
161
161
  if (!c) {
162
162
  h = void 0;
163
- let S = e.getTranslate() + a * w.sensitivity;
163
+ let N = e.getTranslate() + a * w.sensitivity;
164
164
  const W = e.isBeginning, K = e.isEnd;
165
- if (S >= e.minTranslate() && (S = e.minTranslate()), S <= e.maxTranslate() && (S = e.maxTranslate()), e.setTransition(0), e.setTranslate(S), e.updateProgress(), e.updateActiveIndex(), e.updateSlidesClasses(), (!W && e.isBeginning || !K && e.isEnd) && e.updateSlidesClasses(), e.params.loop && e.loopFix({
165
+ if (N >= e.minTranslate() && (N = e.minTranslate()), N <= e.maxTranslate() && (N = e.maxTranslate()), e.setTransition(0), e.setTranslate(N), e.updateProgress(), e.updateActiveIndex(), e.updateSlidesClasses(), (!W && e.isBeginning || !K && e.isEnd) && e.updateSlidesClasses(), e.params.loop && e.loopFix({
166
166
  direction: r.direction < 0 ? "next" : "prev",
167
167
  byMousewheel: !0
168
168
  }), e.params.freeMode.sticky) {
@@ -180,7 +180,7 @@ function ne(P) {
180
180
  h = r, i.splice(0), e.slideToClosest(e.params.speed, !0, void 0, 0.5);
181
181
  }, 500));
182
182
  }
183
- if (c || x("scroll", s), e.params.autoplay && e.params.autoplayDisableOnInteraction && e.autoplay.stop(), w.releaseOnEdges && (S === e.minTranslate() || S === e.maxTranslate()))
183
+ if (c || x("scroll", s), e.params.autoplay && e.params.autoplayDisableOnInteraction && e.autoplay.stop(), w.releaseOnEdges && (N === e.minTranslate() || N === e.maxTranslate()))
184
184
  return !0;
185
185
  }
186
186
  }
@@ -217,12 +217,12 @@ const ae = "_swiper_f3z07_2", se = "_slide_f3z07_7", re = "_image_f3z07_14", ie
217
217
  "bullet-s": "_bullet-s_f3z07_48",
218
218
  "bullet-xs": "_bullet-xs_f3z07_49"
219
219
  }, V = 5, fe = 5e3, ue = 8, de = (P, e) => {
220
- const k = e % V, T = Math.abs(P - k), x = 0, p = 1;
220
+ const L = e % V, T = Math.abs(P - L), x = 0, p = 1;
221
221
  return T === x ? E["bullet-active"] : T === p ? E["bullet-s"] : E["bullet-xs"];
222
222
  }, be = ({
223
223
  slides: P,
224
224
  onSlideClick: e,
225
- delay: k = fe,
225
+ delay: L = fe,
226
226
  spaceBetween: T = ue,
227
227
  imageClassName: x,
228
228
  slideClassName: p,
@@ -243,24 +243,24 @@ const ae = "_swiper_f3z07_2", se = "_slide_f3z07_7", re = "_image_f3z07_14", ie
243
243
  enabled: !0
244
244
  },
245
245
  autoplay: {
246
- delay: k,
246
+ delay: L,
247
247
  disableOnInteraction: !1,
248
248
  pauseOnMouseEnter: !0
249
249
  },
250
- className: C(E.swiper, v),
250
+ className: H(E.swiper, v),
251
251
  children: [
252
252
  P.map((n) => {
253
253
  if (!n) return null;
254
- const u = n != null && n.imageUrl ? /* @__PURE__ */ L(
254
+ const u = n != null && n.imageUrl ? /* @__PURE__ */ k(
255
255
  ee,
256
256
  {
257
- className: C(E.image, x),
257
+ className: H(E.image, x),
258
258
  src: n.imageUrl,
259
259
  desktopImage: n.imageDesktop,
260
260
  mobileImage: n.imageMobile,
261
261
  alt: n.title
262
262
  }
263
- ) : null, o = /* @__PURE__ */ L(
263
+ ) : null, o = /* @__PURE__ */ k(
264
264
  "a",
265
265
  {
266
266
  className: E.link,
@@ -270,35 +270,35 @@ const ae = "_swiper_f3z07_2", se = "_slide_f3z07_7", re = "_image_f3z07_14", ie
270
270
  children: u
271
271
  }
272
272
  ), g = () => n.url ? o : u;
273
- return /* @__PURE__ */ L(
273
+ return /* @__PURE__ */ k(
274
274
  J,
275
275
  {
276
- onClick: e,
277
- className: C(E.slide, p),
276
+ onClick: () => e == null ? void 0 : e(n),
277
+ className: H(E.slide, p),
278
278
  children: /* @__PURE__ */ Y(F, { children: [
279
- n.isPromotion && /* @__PURE__ */ L(
279
+ n.isPromotion && /* @__PURE__ */ k(
280
280
  Q,
281
281
  {
282
282
  ...n.promotionProps,
283
- className: C(
283
+ className: H(
284
284
  n.promotionProps.className,
285
285
  E.chip
286
286
  )
287
287
  }
288
288
  ),
289
289
  g(),
290
- (n == null ? void 0 : n.content) && /* @__PURE__ */ L("div", { className: C(E.content, I), children: n == null ? void 0 : n.content })
290
+ (n == null ? void 0 : n.content) && /* @__PURE__ */ k("div", { className: H(E.content, I), children: n == null ? void 0 : n.content })
291
291
  ] })
292
292
  },
293
293
  n.id
294
294
  );
295
295
  }),
296
- /* @__PURE__ */ L("div", { className: E["custom-pagination"], children: Array.from({ length: V }).map((n, u) => /* @__PURE__ */ L(
296
+ /* @__PURE__ */ k("div", { className: E["custom-pagination"], children: Array.from({ length: V }).map((n, u) => /* @__PURE__ */ k(
297
297
  "button",
298
298
  {
299
299
  tabIndex: u,
300
300
  type: "button",
301
- className: C(E.bullet, de(u, h))
301
+ className: H(E.bullet, de(u, h))
302
302
  },
303
303
  u
304
304
  )) })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimir-ui-kit",
3
3
  "private": false,
4
- "version": "1.43.6",
4
+ "version": "1.43.8",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {