quirk-ui 0.0.129 → 0.0.131

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
- ._tabs_sttik_1{display:flex;flex-direction:column;width:100%}._tabsList_sttik_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_sttik_7::-webkit-scrollbar{display:none}._horizontal_sttik_24{flex-direction:column}._vertical_sttik_28{flex-direction:row;gap:var(--spacing-lg)}._vertical_sttik_28 ._tabsList_sttik_7{flex-direction:column;overflow-x:visible;flex:.4 0 150px}._vertical_sttik_28 ._tabsTrigger_sttik_38{white-space:normal;text-align:left}._vertical_sttik_28 ._tabsPanelWrapper_sttik_43{flex:1;width:100%}._left_sttik_50{justify-content:flex-start}._center_sttik_54{justify-content:center}._right_sttik_58{justify-content:flex-end}._indicator_sttik_62{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_sttik_62:after{content:"";border-radius:var(--radius-md);background-color:var(--color-primary);display:block;position:absolute;width:100%;height:100%}._tabsTrigger_sttik_38{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_sttik_38._active_sttik_109{color:#fff}@media (max-width: 767px){._tabsList_sttik_7{flex-direction:column;overflow-x:visible}._tabsTrigger_sttik_38{white-space:normal;text-align:left}}._tabsPanelWrapper_sttik_43{position:relative;overflow:hidden;height:auto;transition:height .3s ease-in-out}._tabsPanel_sttik_43{animation:_fadeSlide_sttik_1 .3s ease both;position:relative;width:100%;padding:var(--spacing-xl) var(--spacing-sm);color:var(--color-text-primary)}@keyframes _fadeSlide_sttik_1{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}._default_sttik_153,._dark_sttik_154{background-color:var(--color-tab-background)}._default_sttik_153 ._indicator_sttik_62,._dark_sttik_154 ._indicator_sttik_62{border:5px solid transparent}._default_sttik_153 ._tabsTrigger_sttik_38,._dark_sttik_154 ._tabsTrigger_sttik_38{color:var(--color-muted)}._light_sttik_166{background-color:#fff}._light_sttik_166 ._indicator_sttik_62{border:5px solid transparent}._light_sttik_166 ._tabsList_sttik_7{background-color:#fff}._light_sttik_166 ._tabsTrigger_sttik_38{color:var(--color-text-primary)}._light_sttik_166 ._tabsTrigger_sttik_38:hover{color:var(--color-primary)}._light_sttik_166 ._tabsTrigger_sttik_38._active_sttik_109{color:#fff}._transparent_sttik_190{background-color:transparent}._transparent_sttik_190 ._indicator_sttik_62{border:5px solid transparent}._transparent_sttik_190 ._tabsList_sttik_7{background-color:transparent}._transparent_sttik_190 ._tabsTrigger_sttik_38{color:var(--color-text-primary)}._transparent_sttik_190 ._tabsTrigger_sttik_38:hover{color:var(--color-primary)}._transparent_sttik_190 ._tabsTrigger_sttik_38._active_sttik_109{color:#fff}
1
+ ._tabs_1fgfr_1{display:flex;flex-direction:column;width:100%}._tabsList_1fgfr_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_1fgfr_7::-webkit-scrollbar{display:none}._horizontal_1fgfr_24{flex-direction:column}._vertical_1fgfr_28{flex-direction:row;gap:var(--spacing-lg)}._vertical_1fgfr_28 ._tabsList_1fgfr_7{flex-direction:column;overflow-x:visible;flex:.2 0 150px}._vertical_1fgfr_28 ._tabsTrigger_1fgfr_38{white-space:normal;text-align:left}._vertical_1fgfr_28 ._tabsPanelWrapper_1fgfr_43{flex:1;width:100%}._left_1fgfr_50{justify-content:flex-start}._center_1fgfr_54{justify-content:center}._right_1fgfr_58{justify-content:flex-end}._indicator_1fgfr_62{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_1fgfr_62:after{content:"";border-radius:var(--radius-md);background-color:var(--color-primary);display:block;position:absolute;width:100%;height:100%}._tabsTrigger_1fgfr_38{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_1fgfr_38._active_1fgfr_109{color:#fff}@media (max-width: 767px){._tabsList_1fgfr_7{flex-direction:column;overflow-x:visible}._tabsTrigger_1fgfr_38{white-space:normal;text-align:left}}._tabsPanelWrapper_1fgfr_43{position:relative;overflow:hidden;height:auto;transition:height .3s ease-in-out}._tabsPanel_1fgfr_43{animation:_fadeSlide_1fgfr_1 .3s ease both;position:relative;width:100%;padding:var(--spacing-xl) var(--spacing-sm);color:var(--color-text-primary)}@keyframes _fadeSlide_1fgfr_1{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}._default_1fgfr_153,._dark_1fgfr_154{background-color:var(--color-tab-background)}._default_1fgfr_153 ._indicator_1fgfr_62,._dark_1fgfr_154 ._indicator_1fgfr_62{border:5px solid transparent}._default_1fgfr_153 ._tabsTrigger_1fgfr_38,._dark_1fgfr_154 ._tabsTrigger_1fgfr_38{color:var(--color-muted)}._light_1fgfr_166{background-color:#fff}._light_1fgfr_166 ._indicator_1fgfr_62{border:5px solid transparent}._light_1fgfr_166 ._tabsList_1fgfr_7{background-color:#fff}._light_1fgfr_166 ._tabsTrigger_1fgfr_38{color:var(--color-text-primary)}._light_1fgfr_166 ._tabsTrigger_1fgfr_38:hover{color:var(--color-primary)}._light_1fgfr_166 ._tabsTrigger_1fgfr_38._active_1fgfr_109{color:#fff}._transparent_1fgfr_190{background-color:transparent}._transparent_1fgfr_190 ._indicator_1fgfr_62{border:5px solid transparent}._transparent_1fgfr_190 ._tabsList_1fgfr_7{background-color:transparent}._transparent_1fgfr_190 ._tabsTrigger_1fgfr_38{color:var(--color-text-primary)}._transparent_1fgfr_190 ._tabsTrigger_1fgfr_38:hover{color:var(--color-primary)}._transparent_1fgfr_190 ._tabsTrigger_1fgfr_38._active_1fgfr_109{color:#fff}
@@ -1,123 +1,124 @@
1
- import { jsx as u, jsxs as I } from "react/jsx-runtime";
2
- import N, { useState as x, useId as W, useRef as k, useMemo as H, useLayoutEffect as C, useEffect as S } from "react";
3
- import { TabsContext as j, useTabsContext as w } from "./Context.js";
4
- import '../../assets/index33.css';const B = "_tabs_sttik_1", D = "_tabsList_sttik_7", K = "_horizontal_sttik_24", O = "_vertical_sttik_28", X = "_tabsTrigger_sttik_38", Y = "_tabsPanelWrapper_sttik_43", q = "_left_sttik_50", F = "_center_sttik_54", G = "_right_sttik_58", J = "_indicator_sttik_62", Q = "_active_sttik_109", U = "_tabsPanel_sttik_43", V = "_dark_sttik_154", Z = "_light_sttik_166", tt = "_transparent_sttik_190", e = {
5
- tabs: B,
6
- tabsList: D,
7
- horizontal: K,
8
- vertical: O,
9
- tabsTrigger: X,
10
- tabsPanelWrapper: Y,
11
- left: q,
12
- center: F,
13
- right: G,
14
- indicator: J,
15
- active: Q,
16
- tabsPanel: U,
17
- default: "_default_sttik_153",
18
- dark: V,
19
- light: Z,
20
- transparent: tt
21
- }, et = {
1
+ import { jsx as p, jsxs as z } from "react/jsx-runtime";
2
+ import W, { useState as I, useId as H, useRef as w, useMemo as S, useCallback as j, useLayoutEffect as k, useEffect as B } from "react";
3
+ import { TabsContext as D, useTabsContext as m } from "./Context.js";
4
+ import '../../assets/index33.css';const K = "_tabs_1fgfr_1", O = "_tabsList_1fgfr_7", X = "_horizontal_1fgfr_24", Y = "_vertical_1fgfr_28", q = "_tabsTrigger_1fgfr_38", F = "_tabsPanelWrapper_1fgfr_43", G = "_left_1fgfr_50", J = "_center_1fgfr_54", Q = "_right_1fgfr_58", U = "_indicator_1fgfr_62", V = "_active_1fgfr_109", Z = "_tabsPanel_1fgfr_43", tt = "_dark_1fgfr_154", et = "_light_1fgfr_166", rt = "_transparent_1fgfr_190", e = {
5
+ tabs: K,
6
+ tabsList: O,
7
+ horizontal: X,
8
+ vertical: Y,
9
+ tabsTrigger: q,
10
+ tabsPanelWrapper: F,
11
+ left: G,
12
+ center: J,
13
+ right: Q,
14
+ indicator: U,
15
+ active: V,
16
+ tabsPanel: Z,
17
+ default: "_default_1fgfr_153",
18
+ dark: tt,
19
+ light: et,
20
+ transparent: rt
21
+ }, nt = {
22
22
  left: e.left,
23
23
  center: e.center,
24
24
  right: e.right
25
25
  }, st = {
26
26
  horizontal: e.horizontal,
27
27
  vertical: e.vertical
28
- }, nt = {
28
+ }, at = {
29
29
  default: e.default,
30
30
  light: e.light,
31
31
  dark: e.dark,
32
32
  transparent: e.transparent
33
33
  };
34
- function m({
35
- children: o,
36
- defaultIndex: s = 0,
34
+ function y({
35
+ children: c,
36
+ defaultIndex: r = 0,
37
37
  align: n = "left",
38
- orientation: r = "horizontal",
39
- theme: c = "default"
38
+ orientation: s = "horizontal",
39
+ theme: f = "default"
40
40
  }) {
41
- const [a, p] = x(s), [b, l] = x({
41
+ const [a, _] = I(r), [u, l] = I({
42
42
  width: 0,
43
43
  left: 0,
44
44
  top: 0,
45
45
  height: 0
46
- }), d = typeof window < "u", M = d ? C : S, y = W(), P = [], $ = [], L = k(null), R = k([]), T = k([]), A = H(
46
+ }), d = typeof window < "u", A = d ? k : B, P = H(), $ = [], L = [], R = w(null), C = w([]), T = w([]), N = S(
47
47
  () => ({
48
48
  activeIndex: a,
49
- setActiveIndex: p,
50
- idPrefix: y,
49
+ setActiveIndex: _,
50
+ idPrefix: P,
51
51
  align: n,
52
- orientation: r,
53
- theme: c,
54
- panelRefs: R,
52
+ orientation: s,
53
+ theme: f,
54
+ panelRefs: C,
55
55
  triggerRefs: T,
56
- indicatorStyle: b
56
+ indicatorStyle: u
57
57
  }),
58
- [a, y, n, r, c, b]
58
+ [a, P, n, s, f, u]
59
59
  );
60
- return N.Children.forEach(o, (t) => {
60
+ W.Children.forEach(c, (t) => {
61
+ var i;
62
+ (t == null ? void 0 : t.type) === E ? $.push(t) : ((t == null ? void 0 : t.type) === M || ((i = t == null ? void 0 : t.type) == null ? void 0 : i.name) === "Panel") && L.push(t);
63
+ });
64
+ const b = j(() => {
61
65
  var i;
62
- (t == null ? void 0 : t.type) === z ? P.push(t) : ((t == null ? void 0 : t.type) === E || ((i = t == null ? void 0 : t.type) == null ? void 0 : i.name) === "Panel") && $.push(t);
63
- }), M(() => {
64
- const t = () => {
65
- var g;
66
- const i = T.current[a];
67
- if (i) {
68
- const f = i.getBoundingClientRect(), _ = (g = i.parentElement) == null ? void 0 : g.getBoundingClientRect();
69
- if (!_) return;
70
- if (window.innerWidth < 768 || r === "vertical") {
71
- const h = f.top - _.top, v = f.height;
72
- l({ top: h, height: v, left: 0, width: _.width });
73
- } else {
74
- const h = f.left - _.left, v = f.width;
75
- l({
76
- left: h,
77
- width: v,
78
- top: 0,
79
- height: _.height
80
- });
81
- }
66
+ const t = T.current[a];
67
+ if (t) {
68
+ const g = t.getBoundingClientRect(), o = (i = t.parentElement) == null ? void 0 : i.getBoundingClientRect();
69
+ if (!o) return;
70
+ if (window.innerWidth < 768 || s === "vertical") {
71
+ const h = g.top - o.top, v = g.height;
72
+ l({ top: h, height: v, left: 0, width: o.width });
73
+ } else {
74
+ const h = g.left - o.left, v = g.width;
75
+ l({
76
+ left: h,
77
+ width: v,
78
+ top: 0,
79
+ height: o.height
80
+ });
82
81
  }
83
- };
84
- if (d)
85
- return t(), window.addEventListener("resize", t), () => {
86
- window.removeEventListener("resize", t);
82
+ }
83
+ }, [a, s]);
84
+ return A(() => {
85
+ if (!(typeof window > "u") && d)
86
+ return b(), window.addEventListener("resize", b), () => {
87
+ window.removeEventListener("resize", b);
87
88
  };
88
- }, [a]), C(() => {
89
- const t = L.current, i = R.current[a];
89
+ }, [b]), k(() => {
90
+ const t = R.current, i = C.current[a];
90
91
  if (!t || !i) return;
91
92
  const g = () => {
92
- const _ = i.offsetHeight;
93
- t.offsetHeight, t.style.height = `${_}px`;
93
+ const x = i.offsetHeight;
94
+ t.offsetHeight, t.style.height = `${x}px`;
94
95
  };
95
96
  g();
96
- const f = new ResizeObserver(g);
97
- return f.observe(i), () => {
98
- f.disconnect();
97
+ const o = new ResizeObserver(g);
98
+ return o.observe(i), () => {
99
+ o.disconnect();
99
100
  };
100
- }, [a]), /* @__PURE__ */ u(j.Provider, { value: A, children: /* @__PURE__ */ I(
101
+ }, [a]), /* @__PURE__ */ p(D.Provider, { value: N, children: /* @__PURE__ */ z(
101
102
  "div",
102
103
  {
103
- className: `${e.tabs} ${st[r]} ${nt[c]}`,
104
+ className: `${e.tabs} ${st[s]} ${at[f]}`,
104
105
  children: [
105
- P,
106
- /* @__PURE__ */ u("div", { ref: L, className: e.tabsPanelWrapper, children: $ })
106
+ $,
107
+ /* @__PURE__ */ p("div", { ref: R, className: e.tabsPanelWrapper, children: L })
107
108
  ]
108
109
  }
109
110
  ) });
110
111
  }
111
- function z({ children: o }) {
112
- const { align: s, indicatorStyle: n } = w();
113
- return /* @__PURE__ */ I(
112
+ function E({ children: c }) {
113
+ const { align: r, indicatorStyle: n } = m();
114
+ return /* @__PURE__ */ z(
114
115
  "div",
115
116
  {
116
- className: `${e.tabsList} ${et[s]}`,
117
+ className: `${e.tabsList} ${nt[r]}`,
117
118
  role: "tablist",
118
119
  "aria-label": "Tabs",
119
120
  children: [
120
- /* @__PURE__ */ u(
121
+ /* @__PURE__ */ p(
121
122
  "div",
122
123
  {
123
124
  className: e.indicator,
@@ -128,57 +129,57 @@ function z({ children: o }) {
128
129
  }
129
130
  }
130
131
  ),
131
- o
132
+ c
132
133
  ]
133
134
  }
134
135
  );
135
136
  }
136
- function rt({ children: o, index: s }) {
137
- const { activeIndex: n, setActiveIndex: r, idPrefix: c, triggerRefs: a } = w(), p = (l) => {
138
- l.key === "ArrowRight" ? r((d) => d + 1) : l.key === "ArrowLeft" && r((d) => Math.max(0, d - 1));
139
- }, b = n === s;
140
- return /* @__PURE__ */ u(
137
+ function it({ children: c, index: r }) {
138
+ const { activeIndex: n, setActiveIndex: s, idPrefix: f, triggerRefs: a } = m(), _ = (l) => {
139
+ l.key === "ArrowRight" ? s((d) => d + 1) : l.key === "ArrowLeft" && s((d) => Math.max(0, d - 1));
140
+ }, u = n === r;
141
+ return /* @__PURE__ */ p(
141
142
  "button",
142
143
  {
143
- className: `${e.tabsTrigger} ${b ? e.active : ""}`,
144
+ className: `${e.tabsTrigger} ${u ? e.active : ""}`,
144
145
  role: "tab",
145
146
  ref: (l) => {
146
- a.current[s] = l;
147
+ a.current[r] = l;
147
148
  },
148
- id: `${c}-tab-${s}`,
149
- "aria-selected": n === s,
150
- tabIndex: n === s ? 0 : -1,
151
- onClick: () => r(s),
152
- onKeyDown: p,
153
- children: o
149
+ id: `${f}-tab-${r}`,
150
+ "aria-selected": n === r,
151
+ tabIndex: n === r ? 0 : -1,
152
+ onClick: () => s(r),
153
+ onKeyDown: _,
154
+ children: c
154
155
  }
155
156
  );
156
157
  }
157
- function E({ children: o, index: s }) {
158
- const { activeIndex: n, idPrefix: r, panelRefs: c } = w(), a = s === n;
159
- return /* @__PURE__ */ u(
158
+ function M({ children: c, index: r }) {
159
+ const { activeIndex: n, idPrefix: s, panelRefs: f } = m(), a = r === n;
160
+ return /* @__PURE__ */ p(
160
161
  "div",
161
162
  {
162
- ref: (p) => {
163
- c.current[s] = p;
163
+ ref: (_) => {
164
+ f.current[r] = _;
164
165
  },
165
166
  className: e.tabsPanel,
166
167
  role: "tabpanel",
167
- id: `${r}-panel-${s}`,
168
- "aria-labelledby": `${r}-tab-${s}`,
168
+ id: `${s}-panel-${r}`,
169
+ "aria-labelledby": `${s}-tab-${r}`,
169
170
  "aria-hidden": !a,
170
171
  hidden: !a,
171
- children: o
172
+ children: c
172
173
  }
173
174
  );
174
175
  }
175
- m.List = z;
176
- m.Trigger = rt;
177
- m.Panel = E;
176
+ y.List = E;
177
+ y.Trigger = it;
178
+ y.Panel = M;
178
179
  export {
179
- m as Tabs,
180
- et as alignClassMap,
181
- m as default,
180
+ y as Tabs,
181
+ nt as alignClassMap,
182
+ y as default,
182
183
  st as orientationClassMap,
183
- nt as themeClassMap
184
+ at as themeClassMap
184
185
  };
package/dist/styles.css CHANGED
@@ -30,7 +30,7 @@ ul._list_4w9h5_1{list-style-type:none;padding:0;margin:0}ol._list_4w9h5_1{list-s
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
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}
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
- ._tabs_sttik_1{display:flex;flex-direction:column;width:100%}._tabsList_sttik_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_sttik_7::-webkit-scrollbar{display:none}._horizontal_sttik_24{flex-direction:column}._vertical_sttik_28{flex-direction:row;gap:var(--spacing-lg)}._vertical_sttik_28 ._tabsList_sttik_7{flex-direction:column;overflow-x:visible;flex:.4 0 150px}._vertical_sttik_28 ._tabsTrigger_sttik_38{white-space:normal;text-align:left}._vertical_sttik_28 ._tabsPanelWrapper_sttik_43{flex:1;width:100%}._left_sttik_50{justify-content:flex-start}._center_sttik_54{justify-content:center}._right_sttik_58{justify-content:flex-end}._indicator_sttik_62{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_sttik_62:after{content:"";border-radius:var(--radius-md);background-color:var(--color-primary);display:block;position:absolute;width:100%;height:100%}._tabsTrigger_sttik_38{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_sttik_38._active_sttik_109{color:#fff}@media (max-width: 767px){._tabsList_sttik_7{flex-direction:column;overflow-x:visible}._tabsTrigger_sttik_38{white-space:normal;text-align:left}}._tabsPanelWrapper_sttik_43{position:relative;overflow:hidden;height:auto;transition:height .3s ease-in-out}._tabsPanel_sttik_43{animation:_fadeSlide_sttik_1 .3s ease both;position:relative;width:100%;padding:var(--spacing-xl) var(--spacing-sm);color:var(--color-text-primary)}@keyframes _fadeSlide_sttik_1{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}._default_sttik_153,._dark_sttik_154{background-color:var(--color-tab-background)}._default_sttik_153 ._indicator_sttik_62,._dark_sttik_154 ._indicator_sttik_62{border:5px solid transparent}._default_sttik_153 ._tabsTrigger_sttik_38,._dark_sttik_154 ._tabsTrigger_sttik_38{color:var(--color-muted)}._light_sttik_166{background-color:#fff}._light_sttik_166 ._indicator_sttik_62{border:5px solid transparent}._light_sttik_166 ._tabsList_sttik_7{background-color:#fff}._light_sttik_166 ._tabsTrigger_sttik_38{color:var(--color-text-primary)}._light_sttik_166 ._tabsTrigger_sttik_38:hover{color:var(--color-primary)}._light_sttik_166 ._tabsTrigger_sttik_38._active_sttik_109{color:#fff}._transparent_sttik_190{background-color:transparent}._transparent_sttik_190 ._indicator_sttik_62{border:5px solid transparent}._transparent_sttik_190 ._tabsList_sttik_7{background-color:transparent}._transparent_sttik_190 ._tabsTrigger_sttik_38{color:var(--color-text-primary)}._transparent_sttik_190 ._tabsTrigger_sttik_38:hover{color:var(--color-primary)}._transparent_sttik_190 ._tabsTrigger_sttik_38._active_sttik_109{color:#fff}
33
+ ._tabs_1fgfr_1{display:flex;flex-direction:column;width:100%}._tabsList_1fgfr_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_1fgfr_7::-webkit-scrollbar{display:none}._horizontal_1fgfr_24{flex-direction:column}._vertical_1fgfr_28{flex-direction:row;gap:var(--spacing-lg)}._vertical_1fgfr_28 ._tabsList_1fgfr_7{flex-direction:column;overflow-x:visible;flex:.2 0 150px}._vertical_1fgfr_28 ._tabsTrigger_1fgfr_38{white-space:normal;text-align:left}._vertical_1fgfr_28 ._tabsPanelWrapper_1fgfr_43{flex:1;width:100%}._left_1fgfr_50{justify-content:flex-start}._center_1fgfr_54{justify-content:center}._right_1fgfr_58{justify-content:flex-end}._indicator_1fgfr_62{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_1fgfr_62:after{content:"";border-radius:var(--radius-md);background-color:var(--color-primary);display:block;position:absolute;width:100%;height:100%}._tabsTrigger_1fgfr_38{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_1fgfr_38._active_1fgfr_109{color:#fff}@media (max-width: 767px){._tabsList_1fgfr_7{flex-direction:column;overflow-x:visible}._tabsTrigger_1fgfr_38{white-space:normal;text-align:left}}._tabsPanelWrapper_1fgfr_43{position:relative;overflow:hidden;height:auto;transition:height .3s ease-in-out}._tabsPanel_1fgfr_43{animation:_fadeSlide_1fgfr_1 .3s ease both;position:relative;width:100%;padding:var(--spacing-xl) var(--spacing-sm);color:var(--color-text-primary)}@keyframes _fadeSlide_1fgfr_1{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}._default_1fgfr_153,._dark_1fgfr_154{background-color:var(--color-tab-background)}._default_1fgfr_153 ._indicator_1fgfr_62,._dark_1fgfr_154 ._indicator_1fgfr_62{border:5px solid transparent}._default_1fgfr_153 ._tabsTrigger_1fgfr_38,._dark_1fgfr_154 ._tabsTrigger_1fgfr_38{color:var(--color-muted)}._light_1fgfr_166{background-color:#fff}._light_1fgfr_166 ._indicator_1fgfr_62{border:5px solid transparent}._light_1fgfr_166 ._tabsList_1fgfr_7{background-color:#fff}._light_1fgfr_166 ._tabsTrigger_1fgfr_38{color:var(--color-text-primary)}._light_1fgfr_166 ._tabsTrigger_1fgfr_38:hover{color:var(--color-primary)}._light_1fgfr_166 ._tabsTrigger_1fgfr_38._active_1fgfr_109{color:#fff}._transparent_1fgfr_190{background-color:transparent}._transparent_1fgfr_190 ._indicator_1fgfr_62{border:5px solid transparent}._transparent_1fgfr_190 ._tabsList_1fgfr_7{background-color:transparent}._transparent_1fgfr_190 ._tabsTrigger_1fgfr_38{color:var(--color-text-primary)}._transparent_1fgfr_190 ._tabsTrigger_1fgfr_38:hover{color:var(--color-primary)}._transparent_1fgfr_190 ._tabsTrigger_1fgfr_38._active_1fgfr_109{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)}
35
35
  ._footer_gfid4_1{background-color:var(--color-background);padding:var(--spacing-xl) var(--spacing-md);font-size:var(--font-size-sm);color:var(--color-text-primary)}._container_gfid4_8{display:flex;flex-direction:column;gap:var(--spacing-xl)}._logo_gfid4_16{font-size:var(--font-size-lg);font-weight:var(--font-weight-bold);color:var(--color-primary)}._groups_gfid4_22{display:flex;flex-wrap:wrap;gap:var(--spacing-xl)}._group_gfid4_22{min-width:140px}._groupTitle_gfid4_32{font-weight:var(--font-weight-semibold);margin-bottom:var(--spacing-xs)}._sublinks_gfid4_37{position:relative}._linkList_gfid4_41{display:flex;flex-direction:column;gap:var(--spacing-xs);list-style:none;padding:0;margin:0}._link_gfid4_41{color:var(--color-text-primary);text-decoration:none;display:block}._link_gfid4_41:hover{color:var(--color-primary)}._bottom_gfid4_60{margin-top:var(--spacing-xl);text-align:right;font-size:var(--font-size-sm);color:var(--color-muted)}
36
36
  ._form_s0yvj_1{display:flex;flex-direction:column;gap:var(--spacing-md)}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quirk-ui",
3
3
  "private": false,
4
- "version": "0.0.129",
4
+ "version": "0.0.131",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {