quirk-ui 0.0.275 → 0.0.276

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.
@@ -1 +1 @@
1
- ._carousel_1nskp_1{width:100%;overflow-x:hidden}@media (max-width: 767px){._carousel_1nskp_1{padding:0 var(--spacing-lg)}}._noPointerEvents_1nskp_10 *{pointer-events:none!important}._trackContainer_1nskp_14{overflow:hidden;width:100%}@media (max-width: 767px){._trackContainer_1nskp_14{overflow:visible}}._track_1nskp_14{display:flex;transition:transform .3s ease;will-change:transform}._page_1nskp_29{display:flex;gap:var(--spacing-md)}@media (max-wdith: 767px){._page_1nskp_29{justify-content:center;padding:0 var(--spacing-sm)}}._controls_1nskp_39{display:flex;justify-content:space-between;align-items:center;margin-top:var(--spacing-md);margin-left:auto;margin-right:auto;padding:0 var(--spacing-md);width:100%}._indicators_1nskp_50{display:flex;flex-wrap:wrap;max-width:125px;gap:var(--spacing-xs)}._indicator_1nskp_50{width:10px;height:10px;border-radius:50%;background-color:#e0e0e0;border:1px solid #fff;cursor:pointer;transition:background-color .3s}._indicator_1nskp_50._active_1nskp_67{background-color:var(--color-primary-100)}._buttons_1nskp_71{display:flex;gap:var(--spacing-md)}._prev_1nskp_76._disabled_1nskp_76,._next_1nskp_77._disabled_1nskp_76{opacity:.5;pointer-events:none}._buttons_1nskp_71 button:not(._disabled_1nskp_76):hover{background-color:var(--color-primary-100);color:#fff}._prev_1nskp_76,._next_1nskp_77{background-color:#e0e0e0;color:var(--color-text-primary);border:1px solid #fff;padding:var(--spacing-sm);cursor:pointer;transition:background-color .3s,color .3s;border-radius:50%;width:40px;height:40px;display:flex;justify-content:center;align-items:center}
1
+ ._carousel_t51gu_1{width:100%;overflow-x:hidden}@media (max-width: 767px){._carousel_t51gu_1{padding:0 var(--spacing-lg)}}._noPointerEvents_t51gu_10 *{pointer-events:none!important}._trackContainer_t51gu_14{overflow:hidden;width:100%}@media (max-width: 767px){._trackContainer_t51gu_14{overflow:visible}}._track_t51gu_14{display:flex;transition:transform .3s ease;will-change:transform}._page_t51gu_29{display:flex;gap:var(--spacing-md)}@media (max-width: 767px){._page_t51gu_29{justify-content:center;padding:0 var(--spacing-sm)}}._controls_t51gu_39{display:flex;justify-content:space-between;align-items:center;margin-top:var(--spacing-md);margin-left:auto;margin-right:auto;padding:0 var(--spacing-md);width:100%}._indicators_t51gu_50{display:flex;flex-wrap:wrap;max-width:125px;gap:var(--spacing-xs)}._indicator_t51gu_50{width:10px;height:10px;border-radius:50%;background-color:#e0e0e0;border:1px solid #fff;cursor:pointer;transition:background-color .3s}._indicator_t51gu_50._active_t51gu_67{background-color:var(--color-primary-100)}._buttons_t51gu_71{display:flex;gap:var(--spacing-md)}._prev_t51gu_76._disabled_t51gu_76,._next_t51gu_77._disabled_t51gu_76{opacity:.5;pointer-events:none}._buttons_t51gu_71 button:not(._disabled_t51gu_76):hover{background-color:var(--color-primary-100);color:#fff}._prev_t51gu_76,._next_t51gu_77{background-color:#e0e0e0;color:var(--color-text-primary);border:1px solid #fff;padding:var(--spacing-sm);cursor:pointer;transition:background-color .3s,color .3s;border-radius:50%;width:40px;height:40px;display:flex;justify-content:center;align-items:center}
@@ -1,10 +1,10 @@
1
1
  import { jsxs as P, jsx as r } from "react/jsx-runtime";
2
- import { useState as o, useRef as X, useEffect as y, useLayoutEffect as Ct, useCallback as bt } from "react";
3
- import { A as $t, a as xt } from "../../arrow-right-CnuUc2oD.js";
4
- import '../../assets/index29.css';const Et = "_carousel_1nskp_1", Xt = "_noPointerEvents_1nskp_10", yt = "_trackContainer_1nskp_14", It = "_track_1nskp_14", Nt = "_page_1nskp_29", Tt = "_controls_1nskp_39", Wt = "_indicators_1nskp_50", At = "_indicator_1nskp_50", Dt = "_active_1nskp_67", Lt = "_buttons_1nskp_71", St = "_prev_1nskp_76", Pt = "_disabled_1nskp_76", Rt = "_next_1nskp_77", c = {
5
- carousel: Et,
6
- noPointerEvents: Xt,
7
- trackContainer: yt,
2
+ import { useState as o, useRef as y, useEffect as k, useLayoutEffect as bt, useCallback as $t } from "react";
3
+ import { A as xt, a as Et } from "../../arrow-right-CnuUc2oD.js";
4
+ import '../../assets/index29.css';const Xt = "_carousel_t51gu_1", yt = "_noPointerEvents_t51gu_10", kt = "_trackContainer_t51gu_14", It = "_track_t51gu_14", Nt = "_page_t51gu_29", Tt = "_controls_t51gu_39", Wt = "_indicators_t51gu_50", At = "_indicator_t51gu_50", Dt = "_active_t51gu_67", Lt = "_buttons_t51gu_71", St = "_prev_t51gu_76", Pt = "_disabled_t51gu_76", Rt = "_next_t51gu_77", c = {
5
+ carousel: Xt,
6
+ noPointerEvents: yt,
7
+ trackContainer: kt,
8
8
  track: It,
9
9
  page: Nt,
10
10
  controls: Tt,
@@ -17,7 +17,7 @@ import '../../assets/index29.css';const Et = "_carousel_1nskp_1", Xt = "_noPoint
17
17
  next: Rt
18
18
  };
19
19
  function jt({
20
- items: w,
20
+ items: m,
21
21
  itemsPerPage: d = 9,
22
22
  itemsPerRow: V = 3,
23
23
  autoplay: Z = !1,
@@ -27,18 +27,18 @@ function jt({
27
27
  siblingRef: u,
28
28
  isSplit: z = !1
29
29
  }) {
30
- const [h, f] = o(0), [l, b] = o(0), [p, I] = o(0), [v, nt] = o(d), [_, st] = o(!1), [Y, ot] = o(Z), [$, ct] = o(!1), rt = X(null), i = X(null), M = X(null), x = et, [k, N] = o(!1), [B, j] = o(null), [E, U] = o(null), [G, H] = o(null), [at, O] = o(!1), [g, q] = o(null), [T, F] = o(null), lt = (t) => {
31
- Math.abs((T ?? 0) - (g ?? 0)) > 25 && (t.stopPropagation(), t.preventDefault());
30
+ const [h, f] = o(0), [l, $] = o(0), [v, I] = o(0), [p, nt] = o(d), [_, st] = o(!1), [Y, ot] = o(Z), [x, ct] = o(!1), rt = y(null), i = y(null), w = y(null), E = et, [M, N] = o(!1), [B, j] = o(null), [X, U] = o(null), [G, H] = o(null), [at, O] = o(!1), [C, q] = o(null), [T, F] = o(null), lt = (t) => {
31
+ Math.abs((T ?? 0) - (C ?? 0)) > 25 && (t.stopPropagation(), t.preventDefault());
32
32
  }, it = (t) => {
33
33
  q(t.clientX);
34
34
  }, dt = (t) => {
35
- g !== null && Math.abs(t.clientX - g) > 5 && (O(!0), F(t.clientX));
35
+ C !== null && Math.abs(t.clientX - C) > 5 && (O(!0), F(t.clientX));
36
36
  }, ut = () => {
37
- if (!g || !T) {
37
+ if (!C || !T) {
38
38
  W();
39
39
  return;
40
40
  }
41
- const t = g - T;
41
+ const t = C - T;
42
42
  Math.abs(t) > 50 && (t > 0 ? L() : S()), W();
43
43
  }, ht = () => {
44
44
  W();
@@ -46,101 +46,101 @@ function jt({
46
46
  O(!1), q(null), F(null);
47
47
  }, ft = (t) => {
48
48
  U(t.touches[0].clientX), j(t.touches[0].clientY), N(!1);
49
- }, J = X(null);
50
- y(() => {
49
+ }, J = y(null);
50
+ k(() => {
51
51
  const t = J.current;
52
52
  if (!t) return;
53
53
  const e = (n) => {
54
- const s = n.touches[0].clientX - (E ?? 0), a = n.touches[0].clientY - (B ?? 0);
55
- !k && Math.abs(s) > Math.abs(a) && N(!0), k && (n.preventDefault(), H(n.touches[0].clientX));
54
+ const s = n.touches[0].clientX - (X ?? 0), a = n.touches[0].clientY - (B ?? 0);
55
+ !M && Math.abs(s) > Math.abs(a) && N(!0), M && (n.preventDefault(), H(n.touches[0].clientX));
56
56
  };
57
57
  return t.addEventListener("touchmove", e), () => {
58
58
  t.removeEventListener("touchmove", e);
59
59
  };
60
- }, [k, E, B]);
61
- const pt = () => {
62
- if (E === null || G === null) return;
63
- const t = E - G;
60
+ }, [M, X, B]);
61
+ const vt = () => {
62
+ if (X === null || G === null) return;
63
+ const t = X - G;
64
64
  Math.abs(t) > 50 && (t > 0 ? L() : S()), U(null), H(null), j(null), N(!1);
65
- }, vt = (t, e) => {
65
+ }, pt = (t, e) => {
66
66
  const n = [];
67
67
  for (let s = 0; s < t.length; s += e)
68
68
  n.push(t.slice(s, s + e));
69
69
  return n;
70
70
  };
71
- Ct(() => {
71
+ bt(() => {
72
72
  if (typeof window < "u") {
73
73
  const t = () => {
74
74
  const e = window.innerWidth < 768, n = e ? 1 : d;
75
75
  st(e), nt(e ? 1 : d), f(
76
- (s) => Math.min(s, Math.ceil(w.length / n) - 1)
76
+ (s) => Math.min(s, Math.ceil(m.length / n) - 1)
77
77
  );
78
78
  };
79
79
  return t(), window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
80
80
  }
81
81
  }, [d]);
82
- const A = Math.ceil(v / V), K = vt(w, v), m = K.length, _t = 3 * 16, mt = 3 * 16, wt = bt(
82
+ const A = Math.ceil(p / V), K = pt(m, p), g = K.length, _t = 3 * 16, gt = 3 * 16, mt = $t(
83
83
  (t) => {
84
- if (t && !$) {
84
+ if (t && !x) {
85
85
  const e = t.getBoundingClientRect().width;
86
- e > 0 && e !== p && (I(e), ct(!0));
86
+ e > 0 && e !== v && (I(e), ct(!0));
87
87
  }
88
88
  },
89
- [p, $]
89
+ [v, x]
90
90
  );
91
- y(() => {
91
+ k(() => {
92
92
  var t, e, n, s;
93
- if ($ && l > 0 && i.current && ((e = (t = i.current.children[0]) == null ? void 0 : t.children[0]) != null && e.children[0])) {
94
- const C = ((s = (n = i.current.children[0]) == null ? void 0 : n.children[0]) == null ? void 0 : s.children[0]).getBoundingClientRect().width;
95
- C > 0 && C !== p && I(C);
93
+ if (x && l > 0 && i.current && ((e = (t = i.current.children[0]) == null ? void 0 : t.children[0]) != null && e.children[0])) {
94
+ const b = ((s = (n = i.current.children[0]) == null ? void 0 : n.children[0]) == null ? void 0 : s.children[0]).getBoundingClientRect().width;
95
+ b > 0 && b !== v && I(b);
96
96
  }
97
- }, [l, $, p]), y(() => {
97
+ }, [l, x, v]), k(() => {
98
98
  const t = new ResizeObserver((e) => {
99
99
  var n, s;
100
100
  for (let a of e)
101
101
  if (a.contentRect) {
102
- _ ? b(a.contentRect.width - mt) : z ? u != null && u.current ? b(
102
+ _ ? $(a.contentRect.width - gt) : z ? u != null && u.current ? $(
103
103
  a.contentRect.width - ((n = u == null ? void 0 : u.current) == null ? void 0 : n.offsetWidth) - _t
104
- ) : b(a.contentRect.width) : (b(a.contentRect.width), I(
104
+ ) : $(a.contentRect.width) : ($(a.contentRect.width), I(
105
105
  ((s = i == null ? void 0 : i.current) == null ? void 0 : s.children[0].children[0].children[0].getBoundingClientRect().width) ?? 0
106
106
  ));
107
- const C = _ ? 1 : d;
107
+ const b = _ ? 1 : d;
108
108
  f(
109
- (gt) => Math.min(gt, Math.ceil(w.length / C) - 1)
109
+ (Ct) => Math.min(Ct, Math.ceil(m.length / b) - 1)
110
110
  );
111
111
  }
112
112
  });
113
- return x != null && x.current && t.observe(x.current), () => t.disconnect();
114
- }, [_, z, w]);
113
+ return E != null && E.current && t.observe(E.current), () => t.disconnect();
114
+ }, [_, z, m]);
115
115
  const D = () => {
116
- M.current && clearInterval(M.current), ot(!1);
116
+ w.current && clearInterval(w.current), ot(!1);
117
117
  }, L = () => {
118
- D(), f((t) => Math.min(t + 1, m - 1));
118
+ D(), f((t) => Math.min(t + 1, g - 1));
119
119
  }, S = () => {
120
120
  D(), f((t) => Math.max(t - 1, 0));
121
- }, Mt = (t) => {
121
+ }, wt = (t) => {
122
122
  D(), f(t);
123
- }, kt = () => l ? `translateX(-${h * l}px)` : "translateX(0px)", Q = () => {
124
- f((t) => t >= m - 1 ? 0 : t + 1);
123
+ }, Mt = () => l ? `translateX(-${h * l}px)` : "translateX(0px)", Q = () => {
124
+ f((t) => t >= g - 1 ? 0 : t + 1);
125
125
  };
126
- return y(() => (Y && (M.current = setInterval(
126
+ return k(() => (Y && (w.current = setInterval(
127
127
  Q,
128
128
  R * 1e3
129
129
  )), () => {
130
- M.current && clearInterval(M.current);
130
+ w.current && clearInterval(w.current);
131
131
  }), [Y, R, Q]), /* @__PURE__ */ P("div", { className: `${tt ?? ""} ${c.carousel}`, ref: rt, children: [
132
132
  /* @__PURE__ */ r(
133
133
  "div",
134
134
  {
135
135
  ref: J,
136
- className: `${c.trackContainer} ${at || k ? c.noPointerEvents : ""}
136
+ className: `${c.trackContainer} ${at || M ? c.noPointerEvents : ""}
137
137
  `,
138
138
  style: {
139
139
  maxWidth: `${l}px`,
140
- touchAction: k ? "none" : "pan-y"
140
+ touchAction: M ? "none" : "pan-y"
141
141
  },
142
142
  onTouchStart: ft,
143
- onTouchEnd: pt,
143
+ onTouchEnd: vt,
144
144
  onMouseDown: it,
145
145
  onMouseMove: dt,
146
146
  onMouseUp: ut,
@@ -150,7 +150,7 @@ function jt({
150
150
  {
151
151
  ref: i,
152
152
  className: c.track,
153
- style: { width: `${m * 100}%`, transform: kt() },
153
+ style: { width: `${g * 100}%`, transform: Mt() },
154
154
  children: K.map((t, e) => /* @__PURE__ */ r(
155
155
  "div",
156
156
  {
@@ -158,7 +158,7 @@ function jt({
158
158
  style: {
159
159
  display: A > 1 ? "grid" : "flex",
160
160
  gridTemplateColumns: `repeat(${Math.ceil(
161
- v / A
161
+ p / A
162
162
  )}, 1fr)`,
163
163
  gridTemplateRows: `repeat(${A}, auto)`,
164
164
  width: `${l}px`
@@ -166,11 +166,11 @@ function jt({
166
166
  children: t.map((n, s) => /* @__PURE__ */ r(
167
167
  "div",
168
168
  {
169
- ref: e === 0 && s === 0 ? wt : null,
169
+ ref: e === 0 && s === 0 ? mt : null,
170
170
  onClickCapture: lt,
171
171
  style: {
172
- flexBasis: _ ? "100%" : `${100 / v}%`,
173
- width: _ ? `${l / v - 16}px` : "unset"
172
+ flexBasis: _ ? "100%" : `${100 / p}%`,
173
+ width: _ ? `${l / p - 16}px` : "unset"
174
174
  },
175
175
  children: n
176
176
  },
@@ -183,19 +183,19 @@ function jt({
183
183
  )
184
184
  }
185
185
  ),
186
- m > 1 && /* @__PURE__ */ P(
186
+ g > 1 && /* @__PURE__ */ P(
187
187
  "div",
188
188
  {
189
189
  className: c.controls,
190
190
  style: {
191
- maxWidth: p > 0 && d === 1 && !_ ? `${p}px` : "unset"
191
+ maxWidth: v > 0 && d === 1 && !_ ? `${v}px` : "unset"
192
192
  },
193
193
  children: [
194
- /* @__PURE__ */ r("div", { className: c.indicators, children: Array.from({ length: m }).map((t, e) => /* @__PURE__ */ r(
194
+ /* @__PURE__ */ r("div", { className: c.indicators, children: Array.from({ length: g }).map((t, e) => /* @__PURE__ */ r(
195
195
  "button",
196
196
  {
197
197
  className: `${c.indicator} ${e === h ? c.active : ""}`,
198
- onClick: () => Mt(e),
198
+ onClick: () => wt(e),
199
199
  "aria-label": `Go to group ${e + 1}`
200
200
  },
201
201
  e
@@ -208,17 +208,17 @@ function jt({
208
208
  className: `${c.prev} ${h === 0 ? c.disabled : ""}`,
209
209
  onClick: S,
210
210
  disabled: h === 0,
211
- children: /* @__PURE__ */ r($t, { size: 36 })
211
+ children: /* @__PURE__ */ r(xt, { size: 36 })
212
212
  }
213
213
  ),
214
214
  /* @__PURE__ */ r(
215
215
  "button",
216
216
  {
217
217
  "aria-label": "Next slide",
218
- className: `${c.next} ${h >= m - 1 ? c.disabled : ""}`,
218
+ className: `${c.next} ${h >= g - 1 ? c.disabled : ""}`,
219
219
  onClick: L,
220
- disabled: h >= w.length - v,
221
- children: /* @__PURE__ */ r(xt, { size: 36 })
220
+ disabled: h >= m.length - p,
221
+ children: /* @__PURE__ */ r(Et, { size: 36 })
222
222
  }
223
223
  )
224
224
  ] })
package/dist/styles.css CHANGED
@@ -26,7 +26,7 @@ ul._list_1fin2_1{list-style-type:none;padding:0;margin:0}ol._list_1fin2_1{list-s
26
26
  ._notification_1elr1_1{display:flex;align-items:center;padding:var(--spacing-md);background-color:var(--color-secondary-100);color:var(--color-text-primaray);box-shadow:0 4px 8px #0000001a;border-radius:var(--radius-md);font-size:var(--font-size-md);font-weight:var(--font-weight-semibold);gap:var(--spacing-sm);animation:_slideIn_1elr1_1 .3s ease forwards;opacity:1;transform-origin:right center;width:fit-content}._enter_1elr1_18{opacity:1;transform:translate(0)}._exiting_1elr1_23{animation:_slideOut_1elr1_1 .3s ease forwards}._info_1elr1_27{background-color:var(--color-info-bg);color:var(--color-info-text)}._success_1elr1_32{background-color:var(--color-success-bg);color:var(--color-success-text)}._warning_1elr1_37{background-color:var(--color-warning-bg);color:var(--color-warning-text)}._error_1elr1_42{background-color:var(--color-error-bg);color:var(--color-error-text)}._closeButton_1elr1_47{background:none;border:none;cursor:pointer;color:#fff;padding:0;margin-left:auto;display:flex;align-items:center}@keyframes _slideIn_1elr1_1{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOut_1elr1_1{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}
27
27
  ._container_61msx_1{position:fixed;bottom:1rem;right:1rem;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-end;gap:.5rem;z-index:1000}
28
28
  ._progressBarContainer_pna67_1{display:flex;align-items:center;justify-content:center;gap:.25rem;width:100%}._progressBar_pna67_1{flex:1;height:12px;background-color:var(--color-secondary-25);border-radius:4px;overflow:hidden;position:relative}._fill_pna67_18{height:100%;transition:width .3s ease;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;border-radius:4px}._primary_pna67_29 ._fill_pna67_18{background-color:var(--color-primary-100)}._success_pna67_33 ._fill_pna67_18{background-color:var(--color-success)}._warning_pna67_37 ._fill_pna67_18{background-color:var(--color-warning)}._danger_pna67_41 ._fill_pna67_18{background-color:var(--color-error)}._label_pna67_45{flex:.1;position:relative;width:auto;text-align:center;color:var(--color-text-primary);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold)}
29
- ._carousel_1nskp_1{width:100%;overflow-x:hidden}@media (max-width: 767px){._carousel_1nskp_1{padding:0 var(--spacing-lg)}}._noPointerEvents_1nskp_10 *{pointer-events:none!important}._trackContainer_1nskp_14{overflow:hidden;width:100%}@media (max-width: 767px){._trackContainer_1nskp_14{overflow:visible}}._track_1nskp_14{display:flex;transition:transform .3s ease;will-change:transform}._page_1nskp_29{display:flex;gap:var(--spacing-md)}@media (max-wdith: 767px){._page_1nskp_29{justify-content:center;padding:0 var(--spacing-sm)}}._controls_1nskp_39{display:flex;justify-content:space-between;align-items:center;margin-top:var(--spacing-md);margin-left:auto;margin-right:auto;padding:0 var(--spacing-md);width:100%}._indicators_1nskp_50{display:flex;flex-wrap:wrap;max-width:125px;gap:var(--spacing-xs)}._indicator_1nskp_50{width:10px;height:10px;border-radius:50%;background-color:#e0e0e0;border:1px solid #fff;cursor:pointer;transition:background-color .3s}._indicator_1nskp_50._active_1nskp_67{background-color:var(--color-primary-100)}._buttons_1nskp_71{display:flex;gap:var(--spacing-md)}._prev_1nskp_76._disabled_1nskp_76,._next_1nskp_77._disabled_1nskp_76{opacity:.5;pointer-events:none}._buttons_1nskp_71 button:not(._disabled_1nskp_76):hover{background-color:var(--color-primary-100);color:#fff}._prev_1nskp_76,._next_1nskp_77{background-color:#e0e0e0;color:var(--color-text-primary);border:1px solid #fff;padding:var(--spacing-sm);cursor:pointer;transition:background-color .3s,color .3s;border-radius:50%;width:40px;height:40px;display:flex;justify-content:center;align-items:center}
29
+ ._carousel_t51gu_1{width:100%;overflow-x:hidden}@media (max-width: 767px){._carousel_t51gu_1{padding:0 var(--spacing-lg)}}._noPointerEvents_t51gu_10 *{pointer-events:none!important}._trackContainer_t51gu_14{overflow:hidden;width:100%}@media (max-width: 767px){._trackContainer_t51gu_14{overflow:visible}}._track_t51gu_14{display:flex;transition:transform .3s ease;will-change:transform}._page_t51gu_29{display:flex;gap:var(--spacing-md)}@media (max-width: 767px){._page_t51gu_29{justify-content:center;padding:0 var(--spacing-sm)}}._controls_t51gu_39{display:flex;justify-content:space-between;align-items:center;margin-top:var(--spacing-md);margin-left:auto;margin-right:auto;padding:0 var(--spacing-md);width:100%}._indicators_t51gu_50{display:flex;flex-wrap:wrap;max-width:125px;gap:var(--spacing-xs)}._indicator_t51gu_50{width:10px;height:10px;border-radius:50%;background-color:#e0e0e0;border:1px solid #fff;cursor:pointer;transition:background-color .3s}._indicator_t51gu_50._active_t51gu_67{background-color:var(--color-primary-100)}._buttons_t51gu_71{display:flex;gap:var(--spacing-md)}._prev_t51gu_76._disabled_t51gu_76,._next_t51gu_77._disabled_t51gu_76{opacity:.5;pointer-events:none}._buttons_t51gu_71 button:not(._disabled_t51gu_76):hover{background-color:var(--color-primary-100);color:#fff}._prev_t51gu_76,._next_t51gu_77{background-color:#e0e0e0;color:var(--color-text-primary);border:1px solid #fff;padding:var(--spacing-sm);cursor:pointer;transition:background-color .3s,color .3s;border-radius:50%;width:40px;height:40px;display:flex;justify-content:center;align-items:center}
30
30
  ._drawer_55xty_1{position:fixed;background-color:var(--color-background);transition:transform .3s ease-in-out;z-index:1000;width:300px;height:100%;box-shadow:0 0 10px #00000026;padding:var(--spacing-md)}._right_55xty_12{top:0;right:0;transform:translate(100%)}._left_55xty_18{top:0;left:0;transform:translate(-100%)}._top_55xty_24{top:0;left:0;width:100%;height:auto;transform:translateY(-100%)}._bottom_55xty_32{bottom:0;left:0;width:100%;height:auto;transform:translateY(100%)}._open_55xty_40._right_55xty_12,._open_55xty_40._left_55xty_18{transform:translate(0)}._open_55xty_40._top_55xty_24,._open_55xty_40._bottom_55xty_32{transform:translateY(0)}._overlay_55xty_50{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0000004d;opacity:0;pointer-events:none;transition:opacity .3s ease-in-out;z-index:999}._overlay_55xty_50._show_55xty_60{opacity:1;pointer-events:all}
31
31
  ._tabs_tu4lq_1{display:flex;flex-direction:column;width:100%}._tabsList_tu4lq_7{display:flex;width:100%;background-color:var(--color-secondary-10);border-radius:calc(var(--radius-md) + 5px);position:relative;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}._tabsList_tu4lq_7::-webkit-scrollbar{display:none}._horizontal_tu4lq_24{flex-direction:column}._horizontal_tu4lq_24 ._tabsPanel_tu4lq_26{padding:var(--spacing-lg) var(--spacing-md)}._vertical_tu4lq_31{flex-direction:row;align-items:flex-start;gap:3rem}._vertical_tu4lq_31 ._tabsList_tu4lq_7{flex-direction:column;overflow-x:visible;flex:.25 0 150px}._vertical_tu4lq_31 ._tabsTrigger_tu4lq_42{white-space:normal;text-align:left}._vertical_tu4lq_31 ._tabsPanelWrapper_tu4lq_47{flex:1;width:100%}@media (max-width: 767px){._vertical_tu4lq_31{flex-direction:column}}._left_tu4lq_58{justify-content:flex-start}._center_tu4lq_62{justify-content:center}._right_tu4lq_66{justify-content:flex-end}._indicator_tu4lq_70{position:absolute;left:0;top:0;border-radius:var(--radius-md);transition:transform .3s ease-in-out,width .3s ease-in-out;z-index:0;border:5px solid var(--color-secondary-10)}._indicator_tu4lq_70:after{content:"";border-radius:var(--radius-md);background-color:var(--color-secondary-100);display:block;position:absolute;width:100%;height:100%}._tabsTrigger_tu4lq_42{padding:var(--spacing-md);border:none;background:none;cursor:pointer;color:var(--color-text-primary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-md);transition:color .3s ease;position:relative;z-index:1;white-space:nowrap;text-align:center;width:100%}._tabsTrigger_tu4lq_42._active_tu4lq_117{color:#fff}@media (max-width: 767px){._tabsList_tu4lq_7{flex-direction:column;overflow-x:visible}._tabsTrigger_tu4lq_42{white-space:normal;text-align:left}}._tabsPanelWrapper_tu4lq_47{position:relative;overflow:hidden;height:auto;transition:height .3s ease-in-out}._tabsPanel_tu4lq_26{animation:_fadeSlide_tu4lq_1 .3s ease both;position:relative;width:100%;color:var(--color-text-primary)}@keyframes _fadeSlide_tu4lq_1{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}._default_tu4lq_161{background-color:transparent}._dark_tu4lq_165{background-color:var(--color-tab-background)}._dark_tu4lq_165 ._indicator_tu4lq_70{border:5px solid transparent}._dark_tu4lq_165 ._tabsTrigger_tu4lq_42{color:var(--color-primary-25)}._light_tu4lq_177{background-color:#fff}._light_tu4lq_177 ._indicator_tu4lq_70{border:5px solid transparent}._light_tu4lq_177 ._tabsList_tu4lq_7{background-color:#fff}._light_tu4lq_177 ._tabsTrigger_tu4lq_42{color:var(--color-text-primary)}._light_tu4lq_177 ._tabsTrigger_tu4lq_42:hover{color:var(--color-primary-100)}._light_tu4lq_177 ._tabsTrigger_tu4lq_42._active_tu4lq_117{color:#fff}._transparent_tu4lq_201{background-color:transparent}._transparent_tu4lq_201 ._indicator_tu4lq_70{border:5px solid transparent}._transparent_tu4lq_201 ._tabsList_tu4lq_7{background-color:transparent}._transparent_tu4lq_201 ._tabsTrigger_tu4lq_42{color:var(--color-text-primary)}._transparent_tu4lq_201 ._tabsTrigger_tu4lq_42:hover{color:var(--color-primary-100)}._transparent_tu4lq_201 ._tabsTrigger_tu4lq_42._active_tu4lq_117{color:#fff}
32
32
  ._breadcrumbs_qx9xp_1{display:block;font-size:var(--font-size-sm);line-height:1.5}._list_qx9xp_7{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:0}._item_qx9xp_15{display:flex;align-items:center}._separator_qx9xp_20{margin:0 var(--spacing-xs);color:var(--color-primary-25)}._link_qx9xp_25{color:var(--color-primary-25);text-decoration:none;transition:color .3s ease}._link_qx9xp_25:hover{color:var(--color-primary-100)}._label_qx9xp_35{color:var(--color-primary-25)}._active_qx9xp_39{font-weight:var(--font-weight-bold);color:var(--color-primary-100)}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quirk-ui",
3
3
  "private": false,
4
- "version": "0.0.275",
4
+ "version": "0.0.276",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {