@situaction/traq-ui-ste 1.2.18 → 1.2.19

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.
@@ -18,6 +18,7 @@ export interface CarouselProps {
18
18
  gap?: number;
19
19
  align?: CarouselAlign;
20
20
  showArrows?: boolean;
21
+ btnGradientColor?: string;
21
22
  dragEnabled?: boolean;
22
23
  snapOnRelease?: boolean;
23
24
  keyboardNavigation?: boolean;
@@ -1,37 +1,40 @@
1
- import { jsxs as ie, jsx as R, Fragment as We } from "react/jsx-runtime";
2
- import ze, { forwardRef as Ee, useMemo as ue, useRef as l, useState as $, useEffect as j, useCallback as i, useImperativeHandle as Fe } from "react";
3
- import '../../styles/Carousel.css';const Be = "_root_36mqp_6", $e = "_viewport_36mqp_11", je = "_dragEnabled_36mqp_27", Oe = "_dragging_36mqp_32", Xe = "_slide_36mqp_39", He = "_navButton_36mqp_46", Ve = "_navPrev_36mqp_63", Ke = "_navNext_36mqp_67", d = {
4
- root: Be,
5
- viewport: $e,
6
- dragEnabled: je,
1
+ import { jsxs as ie, jsx as p, Fragment as De } from "react/jsx-runtime";
2
+ import $e, { forwardRef as We, useMemo as ue, useRef as l, useState as F, useEffect as q, useCallback as i, useImperativeHandle as Ee } from "react";
3
+ import '../../styles/Carousel.css';const Fe = "_root_zgsjf_6", qe = "_viewport_zgsjf_11", He = "_dragEnabled_zgsjf_27", Oe = "_dragging_zgsjf_32", Xe = "_slide_zgsjf_39", Ve = "_navButtonCtn_zgsjf_46", Ke = "_navButton_zgsjf_46", Ue = "_defaultBtn_zgsjf_64", Ye = "_navPrev_zgsjf_81", Ge = "_navNext_zgsjf_86", f = {
4
+ root: Fe,
5
+ viewport: qe,
6
+ dragEnabled: He,
7
7
  dragging: Oe,
8
8
  slide: Xe,
9
- navButton: He,
10
- navPrev: Ve,
11
- navNext: Ke
12
- }, S = (...M) => M.filter(Boolean).join(" "), Ge = Ee(
9
+ navButtonCtn: Ve,
10
+ navButton: Ke,
11
+ defaultBtn: Ue,
12
+ navPrev: Ye,
13
+ navNext: Ge
14
+ }, k = (...P) => P.filter(Boolean).join(" "), Ze = We(
13
15
  ({
14
- children: M,
16
+ children: P,
15
17
  className: le,
16
18
  viewportClassName: fe,
17
19
  slideClassName: de,
18
- style: pe,
20
+ style: ve,
19
21
  slideSize: me = "30%",
20
- gap: ve = 12,
21
- align: g = "center",
22
+ gap: pe = 12,
23
+ align: h = "center",
22
24
  showArrows: ge = !0,
23
- dragEnabled: y = !0,
25
+ dragEnabled: N = !0,
24
26
  snapOnRelease: J = !0,
25
- keyboardNavigation: we = !0,
26
- step: he = 1,
27
+ keyboardNavigation: he = !0,
28
+ btnGradientColor: we,
29
+ step: _e = 1,
27
30
  initialIndex: Q = 0,
28
- loop: N = !1,
31
+ loop: R = !1,
29
32
  ariaLabel: Z = "Carousel",
30
33
  iconLeft: xe,
31
34
  iconRight: Ie,
32
- onIndexChange: O
33
- }, _e) => {
34
- const w = ue(() => ze.Children.toArray(M), [M]), s = w.length, c = N && s > 1, A = Math.max(1, Math.min(he, Math.max(1, s))), p = c ? s : 0, h = ue(() => {
35
+ onIndexChange: H
36
+ }, Le) => {
37
+ const w = ue(() => $e.Children.toArray(P), [P]), s = w.length, c = R && s > 1, S = Math.max(1, Math.min(_e, Math.max(1, s))), v = c ? s : 0, _ = ue(() => {
35
38
  if (!c)
36
39
  return w.map((n, o) => ({
37
40
  key: `real-${o}`,
@@ -56,82 +59,82 @@ import '../../styles/Carousel.css';const Be = "_root_36mqp_6", $e = "_viewport_3
56
59
  isClone: !0
57
60
  }));
58
61
  return [...e, ...t, ...r];
59
- }, [c, w]), X = h.length, a = l(null), x = l([]), [Le, be] = $(0), k = l(0), [Re, ee] = $(!1), [ye, te] = $(!1), I = l(!1), re = l(0), H = l(0), V = l(!1), K = l(!1), [Ne, ne] = $(!1), T = l(O);
60
- j(() => {
61
- T.current = O;
62
- }, [O]);
62
+ }, [c, w]), O = _.length, a = l(null), x = l([]), [be, Ce] = F(0), y = l(0), [Ne, ee] = F(!1), [Re, te] = F(!1), I = l(!1), re = l(0), X = l(0), V = l(!1), K = l(!1), [ye, ne] = F(!1), M = l(H);
63
+ q(() => {
64
+ M.current = H;
65
+ }, [H]);
63
66
  const m = i((e) => {
64
67
  var t;
65
- k.current = e, be(e), (t = T.current) == null || t.call(T, e);
68
+ y.current = e, Ce(e), (t = M.current) == null || t.call(M, e);
66
69
  }, []), oe = i((e) => {
67
70
  const t = a.current;
68
71
  t && (t.style.scrollSnapType = e ? "x mandatory" : "none", t.style.scrollBehavior = e ? "smooth" : "auto");
69
- }, []), C = i(
70
- (e, t) => g === "center" ? t.offsetLeft - (e.clientWidth - t.offsetWidth) / 2 : t.offsetLeft,
71
- [g]
72
- ), _ = i(
72
+ }, []), z = i(
73
+ (e, t) => h === "center" ? t.offsetLeft - (e.clientWidth - t.offsetWidth) / 2 : t.offsetLeft,
74
+ [h]
75
+ ), L = i(
73
76
  (e, t = "smooth") => {
74
77
  const r = a.current, n = x.current[e];
75
78
  if (!r || !n) return;
76
- const o = C(r, n);
79
+ const o = z(r, n);
77
80
  r.scrollTo({ left: o, behavior: t });
78
81
  },
79
- [C]
80
- ), q = i(
81
- (e) => s === 0 ? 0 : N ? (e % s + s) % s : Math.max(0, Math.min(s - 1, e)),
82
- [N, s]
83
- ), D = i(
84
- (e) => c ? p + e : e,
85
- [c, p]
86
- ), L = i(
82
+ [z]
83
+ ), j = i(
84
+ (e) => s === 0 ? 0 : R ? (e % s + s) % s : Math.max(0, Math.min(s - 1, e)),
85
+ [R, s]
86
+ ), A = i(
87
+ (e) => c ? v + e : e,
88
+ [c, v]
89
+ ), b = i(
87
90
  (e, t = "smooth") => {
88
- const r = q(e), n = D(r);
89
- _(n, t), m(r);
91
+ const r = j(e), n = A(r);
92
+ L(n, t), m(r);
90
93
  },
91
- [q, D, _, m]
92
- ), W = i(() => {
94
+ [j, A, L, m]
95
+ ), T = i(() => {
93
96
  const e = a.current;
94
- if (!e || X === 0) return 0;
95
- const t = e.scrollLeft, r = g === "center" ? t + e.clientWidth / 2 : t;
97
+ if (!e || O === 0) return 0;
98
+ const t = e.scrollLeft, r = h === "center" ? t + e.clientWidth / 2 : t;
96
99
  let n = 0, o = Number.POSITIVE_INFINITY;
97
- for (let f = 0; f < X; f++) {
98
- const u = x.current[f];
100
+ for (let d = 0; d < O; d++) {
101
+ const u = x.current[d];
99
102
  if (!u) continue;
100
- const v = g === "center" ? u.offsetLeft + u.offsetWidth / 2 : u.offsetLeft, B = Math.abs(v - r);
101
- B < o && (o = B, n = f);
103
+ const g = h === "center" ? u.offsetLeft + u.offsetWidth / 2 : u.offsetLeft, E = Math.abs(g - r);
104
+ E < o && (o = E, n = d);
102
105
  }
103
106
  return n;
104
- }, [g, X]), z = i(
105
- (e) => c ? e < p ? e + s : e >= p + s ? e - s : e : e,
106
- [c, p, s]
107
+ }, [h, O]), D = i(
108
+ (e) => c ? e < v ? e + s : e >= v + s ? e - s : e : e,
109
+ [c, v, s]
107
110
  ), se = l({
108
111
  middleStart: 0,
109
112
  groupWidth: 0
110
- }), b = i(() => {
113
+ }), C = i(() => {
111
114
  if (!c) return;
112
115
  const e = a.current;
113
116
  if (!e) return;
114
- const t = x.current[p], r = x.current[p + s];
117
+ const t = x.current[v], r = x.current[v + s];
115
118
  if (!t || !r) return;
116
- const n = C(e, t), o = C(e, r);
119
+ const n = z(e, t), o = z(e, r);
117
120
  se.current = {
118
121
  middleStart: n,
119
122
  groupWidth: o - n
120
123
  };
121
- }, [c, p, s, C]), U = l(!1), Y = i(
124
+ }, [c, v, s, z]), U = l(!1), Y = i(
122
125
  (e) => {
123
126
  if (!c) return;
124
127
  const t = a.current;
125
128
  if (!t) return;
126
129
  const { middleStart: r, groupWidth: n } = se.current;
127
130
  if (n <= 0) return;
128
- const o = r, f = r + n;
129
- let u = t.scrollLeft, v = 0;
130
- u < o ? v = Math.ceil((o - u) / n) * n : u > f && (v = -Math.ceil((u - f) / n) * n), v !== 0 && (U.current = !0, t.scrollLeft = u + v, e === "drag" && (H.current += v), U.current = !1);
131
+ const o = r, d = r + n;
132
+ let u = t.scrollLeft, g = 0;
133
+ u < o ? g = Math.ceil((o - u) / n) * n : u > d && (g = -Math.ceil((u - d) / n) * n), g !== 0 && (U.current = !0, t.scrollLeft = u + g, e === "drag" && (X.current += g), U.current = !1);
131
134
  },
132
135
  [c]
133
- ), P = i(() => {
134
- if (N) {
136
+ ), B = i(() => {
137
+ if (R) {
135
138
  ee(s > 1), te(s > 1);
136
139
  return;
137
140
  }
@@ -139,73 +142,73 @@ import '../../styles/Carousel.css';const Be = "_root_36mqp_6", $e = "_viewport_3
139
142
  if (!e) return;
140
143
  const t = e.scrollWidth - e.clientWidth, r = 1;
141
144
  ee(t > r && e.scrollLeft > r), te(t > r && e.scrollLeft < t - r);
142
- }, [N, s]), E = i(() => {
143
- s <= 1 || L(k.current + A);
144
- }, [L, s, A]), F = i(() => {
145
- s <= 1 || L(k.current - A);
146
- }, [L, s, A]), ke = i(() => {
145
+ }, [R, s]), $ = i(() => {
146
+ s <= 1 || b(y.current + S);
147
+ }, [b, s, S]), W = i(() => {
148
+ s <= 1 || b(y.current - S);
149
+ }, [b, s, S]), ze = i(() => {
147
150
  var n;
148
151
  if (!J) return;
149
- const e = W(), t = z(e);
150
- _(t, "smooth");
151
- const r = ((n = h[t]) == null ? void 0 : n.realIndex) ?? 0;
152
+ const e = T(), t = D(e);
153
+ L(t, "smooth");
154
+ const r = ((n = _[t]) == null ? void 0 : n.realIndex) ?? 0;
152
155
  m(r);
153
156
  }, [
154
157
  J,
155
- W,
156
- z,
158
+ T,
159
+ D,
160
+ L,
157
161
  _,
158
- h,
159
162
  m
160
163
  ]);
161
- Fe(
162
- _e,
164
+ Ee(
165
+ Le,
163
166
  () => ({
164
- next: E,
165
- prev: F,
166
- goTo: L,
167
- getIndex: () => k.current,
167
+ next: $,
168
+ prev: W,
169
+ goTo: b,
170
+ getIndex: () => y.current,
168
171
  getLength: () => s
169
172
  }),
170
- [L, E, F, s]
171
- ), j(() => {
173
+ [b, $, W, s]
174
+ ), q(() => {
172
175
  if (s === 0) return;
173
- const e = q(Q), t = D(e), r = window.requestAnimationFrame(() => {
174
- b(), _(t, "auto"), m(e), P();
176
+ const e = j(Q), t = A(e), r = window.requestAnimationFrame(() => {
177
+ C(), L(t, "auto"), m(e), B();
175
178
  });
176
179
  return () => window.cancelAnimationFrame(r);
177
180
  }, [
178
181
  s,
179
182
  Q,
180
- q,
181
- D,
182
- _,
183
+ j,
184
+ A,
185
+ L,
183
186
  m,
184
- P,
185
- b
186
- ]), j(() => {
187
+ B,
188
+ C
189
+ ]), q(() => {
187
190
  if (!c) return;
188
191
  const e = a.current;
189
192
  if (!e) return;
190
193
  const t = typeof ResizeObserver < "u" ? new ResizeObserver(() => {
191
- b();
194
+ C();
192
195
  }) : null;
193
196
  t == null || t.observe(e), x.current.forEach((o) => o && (t == null ? void 0 : t.observe(o)));
194
- const r = () => b();
197
+ const r = () => C();
195
198
  window.addEventListener("resize", r);
196
- const n = window.requestAnimationFrame(() => b());
199
+ const n = window.requestAnimationFrame(() => C());
197
200
  return () => {
198
201
  window.removeEventListener("resize", r), window.cancelAnimationFrame(n), t == null || t.disconnect();
199
202
  };
200
- }, [c, b]), j(() => {
203
+ }, [c, C]), q(() => {
201
204
  const e = a.current;
202
205
  if (!e) return;
203
206
  const t = { current: 0 }, r = () => {
204
- U.current || (c && !I.current && Y("scroll"), P(), !t.current && (t.current = window.requestAnimationFrame(() => {
207
+ U.current || (c && !I.current && Y("scroll"), B(), !t.current && (t.current = window.requestAnimationFrame(() => {
205
208
  var u;
206
209
  t.current = 0;
207
- const n = W(), o = z(n), f = ((u = h[o]) == null ? void 0 : u.realIndex) ?? 0;
208
- f !== k.current && m(f);
210
+ const n = T(), o = D(n), d = ((u = _[o]) == null ? void 0 : u.realIndex) ?? 0;
211
+ d !== y.current && m(d);
209
212
  })));
210
213
  };
211
214
  return e.addEventListener("scroll", r, { passive: !0 }), () => {
@@ -214,22 +217,22 @@ import '../../styles/Carousel.css';const Be = "_root_36mqp_6", $e = "_viewport_3
214
217
  }, [
215
218
  c,
216
219
  Y,
217
- P,
218
- W,
219
- z,
220
- h,
220
+ B,
221
+ T,
222
+ D,
223
+ _,
221
224
  m
222
225
  ]);
223
- const Ce = (e) => e instanceof HTMLElement ? !!e.closest(
226
+ const Be = (e) => e instanceof HTMLElement ? !!e.closest(
224
227
  'button, a, input, textarea, select, option, [role="button"], [data-carousel-no-drag="true"]'
225
- ) : !1, G = l(null), ce = l(0), Pe = (e) => {
228
+ ) : !1, G = l(null), ce = l(0), ke = (e) => {
226
229
  var t, r, n, o;
227
- y && a.current && (Ce(e.target) || e.pointerType === "mouse" && e.button !== 0 || (e.preventDefault(), oe(!1), I.current = !0, V.current = !1, re.current = e.clientX, H.current = a.current.scrollLeft, ne(!0), (r = (t = a.current).focus) == null || r.call(t), (o = (n = a.current).setPointerCapture) == null || o.call(n, e.pointerId)));
228
- }, Se = (e) => {
229
- if (!y || !I.current || (e.preventDefault(), !a.current)) return;
230
+ N && a.current && (Be(e.target) || e.pointerType === "mouse" && e.button !== 0 || (e.preventDefault(), oe(!1), I.current = !0, V.current = !1, re.current = e.clientX, X.current = a.current.scrollLeft, ne(!0), (r = (t = a.current).focus) == null || r.call(t), (o = (n = a.current).setPointerCapture) == null || o.call(n, e.pointerId)));
231
+ }, Pe = (e) => {
232
+ if (!N || !I.current || (e.preventDefault(), !a.current)) return;
230
233
  const r = e.clientX - re.current;
231
234
  Math.abs(r) > 4 && (V.current = !0);
232
- const n = H.current - r;
235
+ const n = X.current - r;
233
236
  ce.current = n, G.current == null && (G.current = window.requestAnimationFrame(() => {
234
237
  G.current = null;
235
238
  const o = a.current;
@@ -245,75 +248,76 @@ import '../../styles/Carousel.css';const Be = "_root_36mqp_6", $e = "_viewport_3
245
248
  }
246
249
  V.current && (K.current = !0, window.setTimeout(() => {
247
250
  K.current = !1;
248
- }, 0)), oe(!0), ke(), P();
251
+ }, 0)), oe(!0), ze(), B();
252
+ }, Se = (e) => {
253
+ N && I.current && ae(e.pointerId);
249
254
  }, Me = (e) => {
250
- y && I.current && ae(e.pointerId);
251
- }, Ae = (e) => {
252
- y && I.current && ae(e.pointerId);
253
- }, Te = (e) => {
255
+ N && I.current && ae(e.pointerId);
256
+ }, je = (e) => {
254
257
  K.current && (e.preventDefault(), e.stopPropagation());
255
- }, qe = (e) => {
256
- we && (e.key === "ArrowLeft" ? (e.preventDefault(), F()) : e.key === "ArrowRight" && (e.preventDefault(), E()));
257
- }, De = {
258
- ...pe ?? {},
259
- "--carousel-gap": `${ve}px`,
258
+ }, Ae = (e) => {
259
+ he && (e.key === "ArrowLeft" ? (e.preventDefault(), W()) : e.key === "ArrowRight" && (e.preventDefault(), $()));
260
+ }, Te = {
261
+ ...ve ?? {},
262
+ "--carousel-gap": `${pe}px`,
260
263
  "--carousel-slide-size": me,
261
- "--carousel-snap-align": g
264
+ "--carousel-snap-align": h,
265
+ "--carousel-button-gradient": we
262
266
  };
263
- return /* @__PURE__ */ ie("div", { className: S(d.root, le), style: De, "aria-label": Z, children: [
264
- ge && s > 1 && /* @__PURE__ */ ie(We, { children: [
265
- Re && /* @__PURE__ */ R(
267
+ return /* @__PURE__ */ ie("div", { className: k(f.root, le), style: Te, "aria-label": Z, children: [
268
+ ge && s > 1 && /* @__PURE__ */ ie(De, { children: [
269
+ Ne && /* @__PURE__ */ p("div", { className: `fullHeight ${f.navButtonCtn} ${f.navPrev}`, children: /* @__PURE__ */ p(
266
270
  "button",
267
271
  {
268
272
  type: "button",
269
- className: S(d.navButton, d.navPrev),
270
- onClick: F,
273
+ className: k(f.navButton),
274
+ onClick: W,
271
275
  "aria-label": "Précédent",
272
- children: xe ?? /* @__PURE__ */ R("span", { "aria-hidden": !0, children: "‹" })
276
+ children: xe ?? /* @__PURE__ */ p("div", { className: f.defaultBtn, "aria-hidden": !0, children: "‹" })
273
277
  }
274
- ),
275
- ye && /* @__PURE__ */ R(
278
+ ) }),
279
+ Re && /* @__PURE__ */ p("div", { className: `fullHeight ${f.navButtonCtn} ${f.navNext}`, children: /* @__PURE__ */ p(
276
280
  "button",
277
281
  {
278
282
  type: "button",
279
- className: S(d.navButton, d.navNext),
280
- onClick: E,
283
+ className: k(f.navButton),
284
+ onClick: $,
281
285
  "aria-label": "Suivant",
282
- children: Ie ?? /* @__PURE__ */ R("span", { "aria-hidden": !0, children: "›" })
286
+ children: Ie ?? /* @__PURE__ */ p("div", { className: f.defaultBtn, "aria-hidden": !0, children: "›" })
283
287
  }
284
- )
288
+ ) })
285
289
  ] }),
286
- /* @__PURE__ */ R(
290
+ /* @__PURE__ */ p(
287
291
  "div",
288
292
  {
289
293
  ref: a,
290
- className: S(
291
- d.viewport,
292
- y && d.dragEnabled,
293
- Ne && d.dragging,
294
+ className: k(
295
+ f.viewport,
296
+ N && f.dragEnabled,
297
+ ye && f.dragging,
294
298
  fe
295
299
  ),
296
300
  tabIndex: 0,
297
301
  role: "region",
298
302
  "aria-roledescription": "carousel",
299
303
  "aria-label": Z,
300
- onKeyDown: qe,
301
- onPointerDown: Pe,
302
- onPointerMove: Se,
303
- onPointerUp: Me,
304
- onPointerCancel: Ae,
305
- onClickCapture: Te,
306
- children: h.map((e, t) => /* @__PURE__ */ R(
304
+ onKeyDown: Ae,
305
+ onPointerDown: ke,
306
+ onPointerMove: Pe,
307
+ onPointerUp: Se,
308
+ onPointerCancel: Me,
309
+ onClickCapture: je,
310
+ children: _.map((e, t) => /* @__PURE__ */ p(
307
311
  "div",
308
312
  {
309
313
  ref: (r) => {
310
314
  x.current[t] = r;
311
315
  },
312
- className: S(d.slide, de),
316
+ className: k(f.slide, de),
313
317
  "data-carousel-slide": !0,
314
318
  "data-carousel-clone": e.isClone ? "true" : "false",
315
319
  "aria-label": `Item ${e.realIndex + 1} sur ${s}`,
316
- "aria-current": e.realIndex === Le,
320
+ "aria-current": e.realIndex === be,
317
321
  children: e.node
318
322
  },
319
323
  e.key
@@ -324,5 +328,5 @@ import '../../styles/Carousel.css';const Be = "_root_36mqp_6", $e = "_viewport_3
324
328
  }
325
329
  );
326
330
  export {
327
- Ge as Carousel
331
+ Ze as Carousel
328
332
  };
@@ -1 +1 @@
1
- ._root_36mqp_6{position:relative;width:100%}._viewport_36mqp_11{display:flex;gap:var(--carousel-gap, 12px);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;padding:4px;scrollbar-width:none}._viewport_36mqp_11::-webkit-scrollbar{display:none}._dragEnabled_36mqp_27{cursor:grab;touch-action:pan-y}._dragging_36mqp_32{cursor:grabbing;scroll-behavior:auto;scroll-snap-type:none;-webkit-user-select:none;user-select:none}._slide_36mqp_39{flex:0 0 var(--carousel-slide-size, 280px);width:var(--carousel-slide-size, 280px);scroll-snap-align:var(--carousel-snap-align, start);min-width:0}._navButton_36mqp_46{position:absolute;top:50%;transform:translateY(-50%);z-index:2;padding:.375rem;border:.75px solid var(--button-tertiary-default-border);border-radius:999px;display:flex;align-items:center;justify-content:center;background:var(--background-primary);box-shadow:0 2px 8px #00000026;cursor:pointer;-webkit-user-select:none;user-select:none}._navPrev_36mqp_63{left:8px}._navNext_36mqp_67{right:8px}
1
+ ._root_zgsjf_6{position:relative;width:100%}._viewport_zgsjf_11{display:flex;gap:var(--carousel-gap, 12px);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;padding:4px;scrollbar-width:none}._viewport_zgsjf_11::-webkit-scrollbar{display:none}._dragEnabled_zgsjf_27{cursor:grab;touch-action:pan-y}._dragging_zgsjf_32{cursor:grabbing;scroll-behavior:auto;scroll-snap-type:none;-webkit-user-select:none;user-select:none}._slide_zgsjf_39{flex:0 0 var(--carousel-slide-size, 280px);width:var(--carousel-slide-size, 280px);scroll-snap-align:var(--carousel-snap-align, start);min-width:0}._navButtonCtn_zgsjf_46{z-index:2;display:flex;justify-content:center;align-items:center;position:absolute;height:100%;width:54px}._navButton_zgsjf_46{z-index:2;background:none;border:none;cursor:pointer;-webkit-user-select:none;user-select:none}._defaultBtn_zgsjf_64{z-index:2;width:36px;height:36px;color:var(--button-tertiary-default-border);font-size:18px;border:1px solid var(--button-tertiary-default-border);border-radius:999px;display:flex;align-items:center;justify-content:center;background:var(--carousel-button-background, var(--background-primary));box-shadow:0 2px 8px #00000026;cursor:pointer;-webkit-user-select:none;user-select:none}._navPrev_zgsjf_81{background:linear-gradient(90deg,var(--carousel-button-gradient) 0%,rgba(255,255,255,0) 100%);left:0}._navNext_zgsjf_86{background:linear-gradient(90deg,rgba(255,255,255,0) 0%,var(--carousel-button-gradient) 100%);right:0}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@situaction/traq-ui-ste",
3
- "version": "1.2.18",
3
+ "version": "1.2.19",
4
4
  "description": "library react component Situaction",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",