quirk-ui 0.0.172 → 0.0.174

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_1e9ij_1{width:100%}@media (max-width: 767px){._carousel_1e9ij_1{padding:0 var(--spacing-lg)}}._noPointerEvents_1e9ij_9 *{pointer-events:none!important}._trackContainer_1e9ij_13{overflow:hidden;width:100%}@media (max-width: 767px){._trackContainer_1e9ij_13{overflow:visible}}._track_1e9ij_13{display:flex;transition:transform .3s ease;will-change:transform}._page_1e9ij_28{display:flex;gap:var(--spacing-md);padding:0 var(--spacing-sm)}._controls_1e9ij_34{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_1e9ij_45{display:flex;flex-wrap:wrap;max-width:125px;gap:var(--spacing-xs)}._indicator_1e9ij_45{width:10px;height:10px;border-radius:50%;background-color:#e0e0e0;border:1px solid #fff;cursor:pointer;transition:background-color .3s}._indicator_1e9ij_45._active_1e9ij_62{background-color:var(--color-primary)}._buttons_1e9ij_66{display:flex;gap:var(--spacing-md)}._prev_1e9ij_71._disabled_1e9ij_71,._next_1e9ij_72._disabled_1e9ij_71{opacity:.5;pointer-events:none}._buttons_1e9ij_66 button:not(._disabled_1e9ij_71):hover{background-color:var(--color-primary);color:#fff}._prev_1e9ij_71,._next_1e9ij_72{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_wqwci_1{width:100%;overflow-x:hidden}@media (max-width: 767px){._carousel_wqwci_1{padding:0 var(--spacing-lg)}}._noPointerEvents_wqwci_10 *{pointer-events:none!important}._trackContainer_wqwci_14{overflow:hidden;width:100%}@media (max-width: 767px){._trackContainer_wqwci_14{overflow:visible}}._track_wqwci_14{display:flex;transition:transform .3s ease;will-change:transform}._page_wqwci_29{display:flex;gap:var(--spacing-md);padding:0 var(--spacing-sm)}@media (max-wdith: 767px){._page_wqwci_29{justify-content:center}}._controls_wqwci_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_wqwci_50{display:flex;flex-wrap:wrap;max-width:125px;gap:var(--spacing-xs)}._indicator_wqwci_50{width:10px;height:10px;border-radius:50%;background-color:#e0e0e0;border:1px solid #fff;cursor:pointer;transition:background-color .3s}._indicator_wqwci_50._active_wqwci_67{background-color:var(--color-primary)}._buttons_wqwci_71{display:flex;gap:var(--spacing-md)}._prev_wqwci_76._disabled_wqwci_76,._next_wqwci_77._disabled_wqwci_76{opacity:.5;pointer-events:none}._buttons_wqwci_71 button:not(._disabled_wqwci_76):hover{background-color:var(--color-primary);color:#fff}._prev_wqwci_76,._next_wqwci_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,24 +1,24 @@
1
1
  import { jsxs as A, jsx as r } from "react/jsx-runtime";
2
2
  import { useState as c, useRef as E, useEffect as X } from "react";
3
- import { A as wt } from "../../arrow-left-BIJvHwNQ.js";
3
+ import { A as Mt } from "../../arrow-left-BIJvHwNQ.js";
4
4
  import { A as bt } from "../../arrow-right-QEwnX3Sk.js";
5
- import '../../assets/index31.css';const gt = "_carousel_1e9ij_1", xt = "_noPointerEvents_1e9ij_9", $t = "_trackContainer_1e9ij_13", Ct = "_track_1e9ij_13", Et = "_page_1e9ij_28", Xt = "_controls_1e9ij_34", jt = "_indicators_1e9ij_45", yt = "_indicator_1e9ij_45", It = "_active_1e9ij_62", Nt = "_buttons_1e9ij_66", kt = "_prev_1e9ij_71", Tt = "_disabled_1e9ij_71", At = "_next_1e9ij_72", o = {
5
+ import '../../assets/index31.css';const gt = "_carousel_wqwci_1", xt = "_noPointerEvents_wqwci_10", $t = "_trackContainer_wqwci_14", Ct = "_track_wqwci_14", Et = "_page_wqwci_29", Xt = "_controls_wqwci_39", yt = "_indicators_wqwci_50", It = "_indicator_wqwci_50", Nt = "_active_wqwci_67", kt = "_buttons_wqwci_71", qt = "_prev_wqwci_76", Tt = "_disabled_wqwci_76", At = "_next_wqwci_77", o = {
6
6
  carousel: gt,
7
7
  noPointerEvents: xt,
8
8
  trackContainer: $t,
9
9
  track: Ct,
10
10
  page: Et,
11
11
  controls: Xt,
12
- indicators: jt,
13
- indicator: yt,
14
- active: It,
15
- buttons: Nt,
16
- prev: kt,
12
+ indicators: yt,
13
+ indicator: It,
14
+ active: Nt,
15
+ buttons: kt,
16
+ prev: qt,
17
17
  disabled: Tt,
18
18
  next: At
19
19
  };
20
20
  function Pt({
21
- items: M,
21
+ items: m,
22
22
  itemsPerPage: i = 9,
23
23
  itemsPerRow: J = 3,
24
24
  autoplay: K = !1,
@@ -28,41 +28,41 @@ function Pt({
28
28
  siblingRef: l,
29
29
  isSplit: D = !1
30
30
  }) {
31
- const [d, u] = c(0), [p, w] = c(0), [S, Z] = c(0), [b, tt] = c(i), [h, et] = c(!1), [L, nt] = c(K), ot = E(null), g = E(null), v = E(null), x = V, [_, j] = c(!1), [P, z] = c(null), [$, Y] = c(null), [R, U] = c(null), [st, B] = c(!1), [m, G] = c(null), [y, O] = c(null), ct = (t) => {
32
- Math.abs((y ?? 0) - (m ?? 0)) > 25 && (t.stopPropagation(), t.preventDefault());
31
+ const [d, u] = c(0), [f, M] = c(0), [S, Z] = c(0), [b, tt] = c(i), [h, et] = c(!1), [L, nt] = c(K), ot = E(null), g = E(null), p = E(null), x = V, [v, y] = c(!1), [P, z] = c(null), [$, Y] = c(null), [R, j] = c(null), [st, U] = c(!1), [_, B] = c(null), [I, G] = c(null), ct = (t) => {
32
+ Math.abs((I ?? 0) - (_ ?? 0)) > 25 && (t.stopPropagation(), t.preventDefault());
33
33
  }, rt = (t) => {
34
- G(t.clientX);
34
+ B(t.clientX);
35
35
  }, at = (t) => {
36
- m !== null && Math.abs(t.clientX - m) > 5 && (B(!0), O(t.clientX));
36
+ _ !== null && Math.abs(t.clientX - _) > 5 && (U(!0), G(t.clientX));
37
37
  }, it = () => {
38
- if (!m || !y) {
39
- I();
38
+ if (!_ || !I) {
39
+ N();
40
40
  return;
41
41
  }
42
- const t = m - y;
43
- Math.abs(t) > 50 && (t > 0 ? k() : T()), I();
42
+ const t = _ - I;
43
+ Math.abs(t) > 50 && (t > 0 ? q() : T()), N();
44
44
  }, lt = () => {
45
- I();
46
- }, I = () => {
47
- B(!1), G(null), O(null);
45
+ N();
46
+ }, N = () => {
47
+ U(!1), B(null), G(null);
48
48
  }, dt = (t) => {
49
- Y(t.touches[0].clientX), z(t.touches[0].clientY), j(!1);
50
- }, q = E(null);
49
+ Y(t.touches[0].clientX), z(t.touches[0].clientY), y(!1);
50
+ }, O = E(null);
51
51
  X(() => {
52
- const t = q.current;
52
+ const t = O.current;
53
53
  if (!t) return;
54
54
  const e = (n) => {
55
55
  const s = n.touches[0].clientX - ($ ?? 0), a = n.touches[0].clientY - (P ?? 0);
56
- !_ && Math.abs(s) > Math.abs(a) && j(!0), _ && (n.preventDefault(), U(n.touches[0].clientX));
56
+ !v && Math.abs(s) > Math.abs(a) && y(!0), v && (n.preventDefault(), j(n.touches[0].clientX));
57
57
  };
58
58
  return t.addEventListener("touchmove", e), () => {
59
59
  t.removeEventListener("touchmove", e);
60
60
  };
61
- }, [_, $, P]);
61
+ }, [v, $, P]);
62
62
  const ut = () => {
63
63
  if ($ === null || R === null) return;
64
64
  const t = $ - R;
65
- Math.abs(t) > 50 && (t > 0 ? k() : T()), Y(null), U(null), z(null), j(!1);
65
+ Math.abs(t) > 50 && (t > 0 ? q() : T()), Y(null), j(null), z(null), y(!1);
66
66
  }, ht = (t, e) => {
67
67
  const n = [];
68
68
  for (let s = 0; s < t.length; s += e)
@@ -74,57 +74,57 @@ function Pt({
74
74
  const t = () => {
75
75
  const e = window.innerWidth < 768, n = e ? 1 : i;
76
76
  et(e), tt(e ? 1 : i), u(
77
- (s) => Math.min(s, Math.ceil(M.length / n) - 1)
77
+ (s) => Math.min(s, Math.ceil(m.length / n) - 1)
78
78
  );
79
79
  };
80
80
  return t(), window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
81
81
  }
82
82
  }, [i]);
83
- const C = Math.ceil(b / J), F = ht(M, b), f = F.length, ft = 3 * 16, pt = 3 * 16;
83
+ const C = Math.ceil(b / J), F = ht(m, b), w = F.length, wt = 3 * 16, ft = 3 * 16;
84
84
  X(() => {
85
85
  const t = new ResizeObserver((e) => {
86
86
  var n, s;
87
87
  for (let a of e)
88
88
  if (a.contentRect) {
89
- h ? w(a.contentRect.width - pt) : D ? l != null && l.current ? w(
90
- a.contentRect.width - ((n = l == null ? void 0 : l.current) == null ? void 0 : n.offsetWidth) - ft
91
- ) : w(a.contentRect.width) : (w(a.contentRect.width), Z(
89
+ h ? M(a.contentRect.width - ft) : D ? l != null && l.current ? M(
90
+ a.contentRect.width - ((n = l == null ? void 0 : l.current) == null ? void 0 : n.offsetWidth) - wt
91
+ ) : M(a.contentRect.width) : (M(a.contentRect.width), Z(
92
92
  ((s = g == null ? void 0 : g.current) == null ? void 0 : s.children[0].children[0].children[0].getBoundingClientRect().width) ?? 0
93
93
  ));
94
- const mt = h ? 1 : i;
94
+ const _t = h ? 1 : i;
95
95
  u(
96
- (Mt) => Math.min(Mt, Math.ceil(M.length / mt) - 1)
96
+ (mt) => Math.min(mt, Math.ceil(m.length / _t) - 1)
97
97
  );
98
98
  }
99
99
  });
100
100
  return x != null && x.current && t.observe(x.current), () => t.disconnect();
101
101
  }, [h, D]);
102
- const N = () => {
103
- v.current && clearInterval(v.current), nt(!1);
104
- }, k = () => {
105
- N(), u((t) => Math.min(t + 1, f - 1));
102
+ const k = () => {
103
+ p.current && clearInterval(p.current), nt(!1);
104
+ }, q = () => {
105
+ k(), u((t) => Math.min(t + 1, w - 1));
106
106
  }, T = () => {
107
- N(), u((t) => Math.max(t - 1, 0));
108
- }, vt = (t) => {
109
- N(), u(t);
110
- }, _t = () => p ? `translateX(-${d * p}px)` : "translateX(0px)", H = () => {
111
- u((t) => t >= f - 1 ? 0 : t + 1);
107
+ k(), u((t) => Math.max(t - 1, 0));
108
+ }, pt = (t) => {
109
+ k(), u(t);
110
+ }, vt = () => f ? `translateX(-${d * f}px)` : "translateX(0px)", H = () => {
111
+ u((t) => t >= w - 1 ? 0 : t + 1);
112
112
  };
113
- return X(() => (L && (v.current = setInterval(
113
+ return X(() => (L && (p.current = setInterval(
114
114
  H,
115
115
  W * 1e3
116
116
  )), () => {
117
- v.current && clearInterval(v.current);
117
+ p.current && clearInterval(p.current);
118
118
  }), [L, W, H]), /* @__PURE__ */ A("div", { className: `${Q ?? ""} ${o.carousel}`, ref: ot, children: [
119
119
  /* @__PURE__ */ r(
120
120
  "div",
121
121
  {
122
- ref: q,
123
- className: `${o.trackContainer} ${st || _ ? o.noPointerEvents : ""}
122
+ ref: O,
123
+ className: `${o.trackContainer} ${st || v ? o.noPointerEvents : ""}
124
124
  `,
125
125
  style: {
126
- maxWidth: `${p}px`,
127
- touchAction: _ ? "none" : "pan-y"
126
+ maxWidth: `${f}px`,
127
+ touchAction: v ? "none" : "pan-y"
128
128
  },
129
129
  onTouchStart: dt,
130
130
  onTouchEnd: ut,
@@ -137,7 +137,7 @@ function Pt({
137
137
  {
138
138
  ref: g,
139
139
  className: o.track,
140
- style: { width: `${f * 100}%`, transform: _t() },
140
+ style: { width: `${w * 100}%`, transform: vt() },
141
141
  children: F.map((t, e) => /* @__PURE__ */ r(
142
142
  "div",
143
143
  {
@@ -148,14 +148,14 @@ function Pt({
148
148
  b / C
149
149
  )}, 1fr)`,
150
150
  gridTemplateRows: `repeat(${C}, auto)`,
151
- width: h ? `${p}px` : "unset"
151
+ width: h ? `${f}px` : "unset"
152
152
  },
153
153
  children: t.map((n, s) => /* @__PURE__ */ r(
154
154
  "div",
155
155
  {
156
156
  onClickCapture: ct,
157
157
  style: {
158
- width: h ? `${p / C - 16}px` : "unset"
158
+ width: h ? `${f / C - 16}px` : "unset"
159
159
  },
160
160
  children: n
161
161
  },
@@ -168,7 +168,7 @@ function Pt({
168
168
  )
169
169
  }
170
170
  ),
171
- f > 1 && /* @__PURE__ */ A(
171
+ w > 1 && /* @__PURE__ */ A(
172
172
  "div",
173
173
  {
174
174
  className: o.controls,
@@ -176,11 +176,11 @@ function Pt({
176
176
  maxWidth: S > 0 && i === 1 && !h ? `${S}px` : "unset"
177
177
  },
178
178
  children: [
179
- /* @__PURE__ */ r("div", { className: o.indicators, children: Array.from({ length: f }).map((t, e) => /* @__PURE__ */ r(
179
+ /* @__PURE__ */ r("div", { className: o.indicators, children: Array.from({ length: w }).map((t, e) => /* @__PURE__ */ r(
180
180
  "button",
181
181
  {
182
182
  className: `${o.indicator} ${e === d ? o.active : ""}`,
183
- onClick: () => vt(e),
183
+ onClick: () => pt(e),
184
184
  "aria-label": `Go to group ${e + 1}`
185
185
  },
186
186
  e
@@ -193,16 +193,16 @@ function Pt({
193
193
  className: `${o.prev} ${d === 0 ? o.disabled : ""}`,
194
194
  onClick: T,
195
195
  disabled: d === 0,
196
- children: /* @__PURE__ */ r(wt, { size: 36 })
196
+ children: /* @__PURE__ */ r(Mt, { size: 36 })
197
197
  }
198
198
  ),
199
199
  /* @__PURE__ */ r(
200
200
  "button",
201
201
  {
202
202
  "aria-label": "Next slide",
203
- className: `${o.next} ${d >= f - 1 ? o.disabled : ""}`,
204
- onClick: k,
205
- disabled: d >= M.length - b,
203
+ className: `${o.next} ${d >= w - 1 ? o.disabled : ""}`,
204
+ onClick: q,
205
+ disabled: d >= m.length - b,
206
206
  children: /* @__PURE__ */ r(bt, { size: 36 })
207
207
  }
208
208
  )
package/dist/styles.css CHANGED
@@ -28,7 +28,7 @@ ul._list_4w9h5_1{list-style-type:none;padding:0;margin:0}ol._list_4w9h5_1{list-s
28
28
  ._notification_1txoc_1{display:flex;align-items:center;padding:var(--spacing-md);background-color:var(--color-secondary);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_1txoc_1 .3s ease forwards;opacity:1;transform-origin:right center;width:fit-content}._enter_1txoc_18{opacity:1;transform:translate(0)}._exiting_1txoc_23{animation:_slideOut_1txoc_1 .3s ease forwards}._info_1txoc_27{background-color:var(--color-info-bg);color:var(--color-info-text)}._success_1txoc_32{background-color:var(--color-success-bg);color:var(--color-success-text)}._warning_1txoc_37{background-color:var(--color-warning-bg);color:var(--color-warning-text)}._error_1txoc_42{background-color:var(--color-error-bg);color:var(--color-error-text)}._closeButton_1txoc_47{background:none;border:none;cursor:pointer;color:#fff;padding:0;margin-left:auto;display:flex;align-items:center}@keyframes _slideIn_1txoc_1{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOut_1txoc_1{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}
29
29
  ._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}
30
30
  ._progressBarContainer_a1m8u_1{display:flex;align-items:center;justify-content:center;gap:.25rem;width:100%}._progressBar_a1m8u_1{flex:1;height:12px;background-color:#f0f0f0;border-radius:4px;overflow:hidden;position:relative}._fill_a1m8u_18{height:100%;transition:width .3s ease;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;border-radius:4px}._primary_a1m8u_29 ._fill_a1m8u_18{background-color:var(--color-primary)}._success_a1m8u_33 ._fill_a1m8u_18{background-color:var(--color-success)}._warning_a1m8u_37 ._fill_a1m8u_18{background-color:var(--color-warning)}._danger_a1m8u_41 ._fill_a1m8u_18{background-color:var(--color-error)}._label_a1m8u_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)}
31
- ._carousel_1e9ij_1{width:100%}@media (max-width: 767px){._carousel_1e9ij_1{padding:0 var(--spacing-lg)}}._noPointerEvents_1e9ij_9 *{pointer-events:none!important}._trackContainer_1e9ij_13{overflow:hidden;width:100%}@media (max-width: 767px){._trackContainer_1e9ij_13{overflow:visible}}._track_1e9ij_13{display:flex;transition:transform .3s ease;will-change:transform}._page_1e9ij_28{display:flex;gap:var(--spacing-md);padding:0 var(--spacing-sm)}._controls_1e9ij_34{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_1e9ij_45{display:flex;flex-wrap:wrap;max-width:125px;gap:var(--spacing-xs)}._indicator_1e9ij_45{width:10px;height:10px;border-radius:50%;background-color:#e0e0e0;border:1px solid #fff;cursor:pointer;transition:background-color .3s}._indicator_1e9ij_45._active_1e9ij_62{background-color:var(--color-primary)}._buttons_1e9ij_66{display:flex;gap:var(--spacing-md)}._prev_1e9ij_71._disabled_1e9ij_71,._next_1e9ij_72._disabled_1e9ij_71{opacity:.5;pointer-events:none}._buttons_1e9ij_66 button:not(._disabled_1e9ij_71):hover{background-color:var(--color-primary);color:#fff}._prev_1e9ij_71,._next_1e9ij_72{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}
31
+ ._carousel_wqwci_1{width:100%;overflow-x:hidden}@media (max-width: 767px){._carousel_wqwci_1{padding:0 var(--spacing-lg)}}._noPointerEvents_wqwci_10 *{pointer-events:none!important}._trackContainer_wqwci_14{overflow:hidden;width:100%}@media (max-width: 767px){._trackContainer_wqwci_14{overflow:visible}}._track_wqwci_14{display:flex;transition:transform .3s ease;will-change:transform}._page_wqwci_29{display:flex;gap:var(--spacing-md);padding:0 var(--spacing-sm)}@media (max-wdith: 767px){._page_wqwci_29{justify-content:center}}._controls_wqwci_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_wqwci_50{display:flex;flex-wrap:wrap;max-width:125px;gap:var(--spacing-xs)}._indicator_wqwci_50{width:10px;height:10px;border-radius:50%;background-color:#e0e0e0;border:1px solid #fff;cursor:pointer;transition:background-color .3s}._indicator_wqwci_50._active_wqwci_67{background-color:var(--color-primary)}._buttons_wqwci_71{display:flex;gap:var(--spacing-md)}._prev_wqwci_76._disabled_wqwci_76,._next_wqwci_77._disabled_wqwci_76{opacity:.5;pointer-events:none}._buttons_wqwci_71 button:not(._disabled_wqwci_76):hover{background-color:var(--color-primary);color:#fff}._prev_wqwci_76,._next_wqwci_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}
32
32
  ._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}
33
33
  ._tabs_1eb1d_1{display:flex;flex-direction:column;width:100%}._tabsList_1eb1d_7{display:flex;width:100%;background-color:var(--color-tab-background);border-radius:calc(var(--radius-md) + 5px);position:relative;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}._tabsList_1eb1d_7::-webkit-scrollbar{display:none}._horizontal_1eb1d_24{flex-direction:column}._horizontal_1eb1d_24 ._tabsPanel_1eb1d_26{padding:var(--spacing-lg) var(--spacing-md)}._vertical_1eb1d_31{flex-direction:row;align-items:flex-start;gap:3rem}._vertical_1eb1d_31 ._tabsList_1eb1d_7{flex-direction:column;overflow-x:visible;flex:.25 0 150px}._vertical_1eb1d_31 ._tabsTrigger_1eb1d_42{white-space:normal;text-align:left}._vertical_1eb1d_31 ._tabsPanelWrapper_1eb1d_47{flex:1;width:100%}@media (max-width: 767px){._vertical_1eb1d_31{flex-direction:column}}._left_1eb1d_58{justify-content:flex-start}._center_1eb1d_62{justify-content:center}._right_1eb1d_66{justify-content:flex-end}._indicator_1eb1d_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-tab-background)}._indicator_1eb1d_70:after{content:"";border-radius:var(--radius-md);background-color:var(--color-primary);display:block;position:absolute;width:100%;height:100%}._tabsTrigger_1eb1d_42{padding:var(--spacing-md);border:none;background:none;cursor:pointer;color:var(--color-muted);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_1eb1d_42._active_1eb1d_117{color:#fff}@media (max-width: 767px){._tabsList_1eb1d_7{flex-direction:column;overflow-x:visible}._tabsTrigger_1eb1d_42{white-space:normal;text-align:left}}._tabsPanelWrapper_1eb1d_47{position:relative;overflow:hidden;height:auto;transition:height .3s ease-in-out}._tabsPanel_1eb1d_26{animation:_fadeSlide_1eb1d_1 .3s ease both;position:relative;width:100%;color:var(--color-text-primary)}@keyframes _fadeSlide_1eb1d_1{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}._default_1eb1d_161{background-color:transparent}._dark_1eb1d_165{background-color:var(--color-tab-background)}._dark_1eb1d_165 ._indicator_1eb1d_70{border:5px solid transparent}._dark_1eb1d_165 ._tabsTrigger_1eb1d_42{color:var(--color-muted)}._light_1eb1d_177{background-color:#fff}._light_1eb1d_177 ._indicator_1eb1d_70{border:5px solid transparent}._light_1eb1d_177 ._tabsList_1eb1d_7{background-color:#fff}._light_1eb1d_177 ._tabsTrigger_1eb1d_42{color:var(--color-text-primary)}._light_1eb1d_177 ._tabsTrigger_1eb1d_42:hover{color:var(--color-primary)}._light_1eb1d_177 ._tabsTrigger_1eb1d_42._active_1eb1d_117{color:#fff}._transparent_1eb1d_201{background-color:transparent}._transparent_1eb1d_201 ._indicator_1eb1d_70{border:5px solid transparent}._transparent_1eb1d_201 ._tabsList_1eb1d_7{background-color:transparent}._transparent_1eb1d_201 ._tabsTrigger_1eb1d_42{color:var(--color-text-primary)}._transparent_1eb1d_201 ._tabsTrigger_1eb1d_42:hover{color:var(--color-primary)}._transparent_1eb1d_201 ._tabsTrigger_1eb1d_42._active_1eb1d_117{color:#fff}
34
34
  ._breadcrumbs_1nbgu_1{display:block;font-size:var(--font-size-sm);line-height:1.5}._list_1nbgu_7{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:0}._item_1nbgu_15{display:flex;align-items:center}._separator_1nbgu_20{margin:0 var(--spacing-xs);color:var(--color-muted)}._link_1nbgu_25{color:var(--color-muted);text-decoration:none;transition:color .3s ease}._link_1nbgu_25:hover{color:var(--color-primary)}._label_1nbgu_35{color:var(--color-muted)}._active_1nbgu_39{font-weight:var(--font-weight-bold);color:var(--color-primary)}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quirk-ui",
3
3
  "private": false,
4
- "version": "0.0.172",
4
+ "version": "0.0.174",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {