@versaur/react 1.0.5 → 1.0.6

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.
package/dist/blocks.js CHANGED
@@ -1,100 +1,17 @@
1
1
  import { jsx as s, jsxs as y, Fragment as K } from "react/jsx-runtime";
2
- import le, { forwardRef as l, useEffect as P, createContext as w, useRef as q, useState as $, useLayoutEffect as ne, useContext as S, useCallback as de } from "react";
2
+ import { avatarGroupStyles as lt, tabsStyles as H, noResultsStyles as x, attributeListStyles as nt, badgeGroupStyles as dt, cardStyles as j, tableStyles as w, buttonGroupStyles as ct, menuStyles as M, topBarStyles as S, navStyles as D, sidebarStyles as h, bottomBarStyles as C, appLayoutStyles as A, drawerStyles as mt, modalStyles as ut, bottomSheetStyles as bt } from "@versaur/core/blocks";
3
+ import pt, { forwardRef as l, useEffect as G, createContext as L, useRef as z, useState as k, useLayoutEffect as Nt, useContext as I, useCallback as yt } from "react";
4
+ import { u as N } from "./use-data-attrs-iPFyfiKN.js";
3
5
  import { c as d } from "./cx-B9vmfsc1.js";
4
- import { u as _ } from "./use-data-attrs-iPFyfiKN.js";
5
- import { c as Q, I as D, B as C, T as z, H as ce } from "./tooltip-CmKPCktA.js";
6
- import { c as F } from "./checkbox.module-D4Do_b6S.js";
7
- import { ChevronUpIcon as me, ChevronDownIcon as E, MenuIcon as ue, XIcon as G } from "@versaur/icons";
8
- import { o as N, c as V, a as Y, O as W, b as be } from "./overlay-parts-YglazEA-.js";
9
- const pe = {
10
- "button-group": "_button-group_4891p_2"
11
- }, _e = {
12
- "avatar-group": "_avatar-group_18m4c_2"
13
- }, ye = {
14
- "badge-group": "_badge-group_g5tbn_2"
15
- }, he = "_card_1kvwt_1", ve = "_header_1kvwt_112", Ne = "_body_1kvwt_166", fe = "_footer_1kvwt_210", j = {
16
- card: he,
17
- header: ve,
18
- body: Ne,
19
- footer: fe
20
- }, ge = "_table_1kl8p_2", A = {
21
- table: ge,
22
- "table-header": "_table-header_1kl8p_45",
23
- "table-head": "_table-head_1kl8p_45",
24
- "table-body": "_table-body_1kl8p_84",
25
- "table-footer": "_table-footer_1kl8p_127",
26
- "table-cell": "_table-cell_1kl8p_146"
27
- }, Be = {
28
- "attribute-list": "_attribute-list_1xjik_2"
29
- }, Te = "_tabs_k1lh4_6", we = "_tablist_k1lh4_27", Se = "_tabitem_k1lh4_41", Ae = "_trigger_k1lh4_51", M = {
30
- tabs: Te,
31
- tablist: we,
32
- tabitem: Se,
33
- trigger: Ae,
34
- "tabs-thumb": "_tabs-thumb_k1lh4_142"
35
- }, Le = "_nav_114f4_2", H = {
36
- nav: Le,
37
- "nav-item": "_nav-item_114f4_19",
38
- "nav-item-icon": "_nav-item-icon_114f4_99"
39
- }, R = {
40
- "menu-list": "_menu-list_1rwzn_4",
41
- "menu-item": "_menu-item_1rwzn_34",
42
- "menu-item-label": "_menu-item-label_1rwzn_55",
43
- "menu-item-icon": "_menu-item-icon_1rwzn_60"
44
- }, xe = "_sidebar_1u8ap_2", v = {
45
- sidebar: xe,
46
- "sidebar-header": "_sidebar-header_1u8ap_31",
47
- "sidebar-body": "_sidebar-body_1u8ap_42",
48
- "sidebar-footer": "_sidebar-footer_1u8ap_54",
49
- "sidebar-group": "_sidebar-group_1u8ap_66",
50
- "sidebar-group-header": "_sidebar-group-header_1u8ap_78",
51
- "sidebar-group-label": "_sidebar-group-label_1u8ap_109",
52
- "sidebar-group-chevron": "_sidebar-group-chevron_1u8ap_117",
53
- "sidebar-group-content": "_sidebar-group-content_1u8ap_132",
54
- "sidebar-item-list": "_sidebar-item-list_1u8ap_150",
55
- "sidebar-item": "_sidebar-item_1u8ap_150",
56
- "sidebar-item-icon": "_sidebar-item-icon_1u8ap_202",
57
- "sidebar-item-text": "_sidebar-item-text_1u8ap_212",
58
- "sidebar-item-action": "_sidebar-item-action_1u8ap_220",
59
- "sidebar-divider": "_sidebar-divider_1u8ap_238"
60
- }, T = {
61
- "top-bar": "_top-bar_qibl6_2",
62
- "top-bar-leading": "_top-bar-leading_qibl6_24",
63
- "top-bar-centred": "_top-bar-centred_qibl6_32",
64
- "top-bar-trailing": "_top-bar-trailing_qibl6_41",
65
- "top-bar-list-item": "_top-bar-list-item_qibl6_49",
66
- "top-bar-item": "_top-bar-item_qibl6_56",
67
- "top-bar-item-icon": "_top-bar-item-icon_qibl6_100"
68
- }, k = {
69
- "bottom-bar": "_bottom-bar_r49lm_2",
70
- "bottom-bar-item": "_bottom-bar-item_r49lm_38",
71
- "bottom-bar-item-icon": "_bottom-bar-item-icon_r49lm_84",
72
- "bottom-bar-item-text": "_bottom-bar-item-text_r49lm_94"
73
- }, L = {
74
- "app-layout": "_app-layout_nvm54_2",
75
- "app-layout-header": "_app-layout-header_nvm54_25",
76
- "app-layout-body": "_app-layout-body_nvm54_34",
77
- "app-layout-main": "_app-layout-main_nvm54_87",
78
- "app-layout-side-left": "_app-layout-side-left_nvm54_141",
79
- "app-layout-side-right": "_app-layout-side-right_nvm54_151",
80
- "app-layout-bottom": "_app-layout-bottom_nvm54_161"
81
- }, x = {
82
- "no-results": "_no-results_qh56o_1",
83
- "no-results-header": "_no-results-header_qh56o_20",
84
- "no-results-icon": "_no-results-icon_qh56o_30",
85
- "no-results-title": "_no-results-title_qh56o_41",
86
- "no-results-subtitle": "_no-results-subtitle_qh56o_49",
87
- "no-results-action": "_no-results-action_qh56o_58"
88
- }, Ie = "_drawer_1pkzl_1", Re = {
89
- drawer: Ie
90
- }, Me = "_modal_lpscz_1", He = {
91
- modal: Me
92
- }, ke = "_bottomSheet_14nkl_1", De = {
93
- bottomSheet: ke
94
- }, Ce = l(
6
+ import { c as Q, I as F, B as P, T as $, H as vt } from "./tooltip-M8EGI3lZ.js";
7
+ import { checkboxStyles as E } from "@versaur/core/forms";
8
+ import { ChevronUpIcon as ht, ChevronDownIcon as V, MenuIcon as ft, XIcon as W } from "@versaur/icons";
9
+ import { overlayPartsStyles as f } from "@versaur/core/utils";
10
+ import { c as _, a as Y, O as U, b as gt } from "./overlay-parts-Zq9CuT31.js";
11
+ const Bt = l(
95
12
  ({
96
- direction: t = "horizontal",
97
- size: e = "md",
13
+ direction: e = "horizontal",
14
+ size: t = "md",
98
15
  align: a = "center",
99
16
  wrap: o = "nowrap",
100
17
  "aria-label": r = "Avatar group",
@@ -102,12 +19,12 @@ const pe = {
102
19
  className: c,
103
20
  ...m
104
21
  }, u) => {
105
- const n = _({ align: a, direction: t, size: e, wrap: o });
22
+ const n = N({ align: a, direction: e, size: t, wrap: o });
106
23
  return /* @__PURE__ */ s(
107
24
  "div",
108
25
  {
109
26
  ref: u,
110
- className: d(_e["avatar-group"], c),
27
+ className: d(lt["avatar-group"], c),
111
28
  role: "group",
112
29
  "aria-label": r,
113
30
  ...n,
@@ -117,48 +34,48 @@ const pe = {
117
34
  );
118
35
  }
119
36
  );
120
- Ce.displayName = "AvatarGroup";
121
- function ze(t, e) {
122
- P(() => {
123
- if (!t.current)
37
+ Bt.displayName = "AvatarGroup";
38
+ function Tt(e, t) {
39
+ G(() => {
40
+ if (!e.current)
124
41
  return;
125
- const a = new ResizeObserver(e);
126
- return a.observe(t.current), () => {
42
+ const a = new ResizeObserver(t);
43
+ return a.observe(e.current), () => {
127
44
  a.disconnect();
128
45
  };
129
- }, [t, e]);
46
+ }, [e, t]);
130
47
  }
131
- const Z = w(void 0);
132
- function je() {
133
- const t = S(Z);
134
- if (!t)
48
+ const Z = L(void 0);
49
+ function St() {
50
+ const e = I(Z);
51
+ if (!e)
135
52
  throw new Error("Tabs.Item must be used within a Tabs component");
136
- return t;
53
+ return e;
137
54
  }
138
- const O = l(({ value: t, onChange: e, children: a, className: o }, r) => {
139
- const i = q(null), c = q(/* @__PURE__ */ new Map()), [m, u] = $(0), [n, b] = $(0), h = () => {
140
- const B = c.current.get(t);
141
- if (!B || !i.current)
55
+ const O = l(({ value: e, onChange: t, children: a, className: o }, r) => {
56
+ const i = z(null), c = z(/* @__PURE__ */ new Map()), [m, u] = k(0), [n, b] = k(0), v = () => {
57
+ const T = c.current.get(e);
58
+ if (!T || !i.current)
142
59
  return;
143
- const g = i.current.getBoundingClientRect(), I = B.getBoundingClientRect(), re = I.left - g.left + i.current.scrollLeft, { width: ie } = I;
144
- u(re), b(ie), B.scrollIntoView({
60
+ const B = i.current.getBoundingClientRect(), R = T.getBoundingClientRect(), rt = R.left - B.left + i.current.scrollLeft, { width: it } = R;
61
+ u(rt), b(it), T.scrollIntoView({
145
62
  behavior: "smooth",
146
63
  block: "nearest",
147
64
  inline: "center"
148
65
  });
149
- }, p = (B, g) => {
150
- g && c.current.set(B, g);
66
+ }, p = (T, B) => {
67
+ B && c.current.set(T, B);
151
68
  };
152
- ne(() => {
153
- h();
154
- }, [t]), ze(i, h);
155
- const f = _({});
156
- return /* @__PURE__ */ s(Z.Provider, { value: { activeValue: t, onChange: e, registerTrigger: p }, children: /* @__PURE__ */ y("nav", { ref: Q(r, i), className: d(M.tabs, o), ...f, children: [
157
- /* @__PURE__ */ s("ul", { className: M.tablist, role: "tablist", children: a }),
69
+ Nt(() => {
70
+ v();
71
+ }, [e]), Tt(i, v);
72
+ const g = N({});
73
+ return /* @__PURE__ */ s(Z.Provider, { value: { activeValue: e, onChange: t, registerTrigger: p }, children: /* @__PURE__ */ y("nav", { ref: Q(r, i), className: d(H.tabs, o), ...g, children: [
74
+ /* @__PURE__ */ s("ul", { className: H.tablist, role: "tablist", children: a }),
158
75
  /* @__PURE__ */ s(
159
76
  "div",
160
77
  {
161
- className: M["tabs-thumb"],
78
+ className: H["tabs-thumb"],
162
79
  style: {
163
80
  left: `${m}px`,
164
81
  width: `${n}px`
@@ -168,87 +85,97 @@ const O = l(({ value: t, onChange: e, children: a, className: o }, r) => {
168
85
  ] }) });
169
86
  });
170
87
  O.displayName = "Tabs";
171
- const tt = l(
172
- ({ value: t, disabled: e = !1, children: a, className: o }, r) => {
173
- const { activeValue: i, onChange: c, registerTrigger: m } = je(), u = i === t;
88
+ const ee = l(
89
+ ({ value: e, disabled: t = !1, children: a, className: o }, r) => {
90
+ const { activeValue: i, onChange: c, registerTrigger: m } = St(), u = i === e;
174
91
  let n;
175
- e ? n = "disabled" : u ? n = "active" : n = "default";
92
+ t ? n = "disabled" : u ? n = "active" : n = "default";
176
93
  const b = () => {
177
- e || c(t);
94
+ t || c(e);
178
95
  };
179
- return /* @__PURE__ */ s("li", { className: M.tabitem, children: /* @__PURE__ */ s(
96
+ return /* @__PURE__ */ s("li", { className: H.tabitem, children: /* @__PURE__ */ s(
180
97
  "button",
181
98
  {
182
- ref: Q(r, (h) => m(t, h)),
183
- className: d(M.trigger, o),
99
+ ref: Q(r, (v) => m(e, v)),
100
+ className: d(H.trigger, o),
184
101
  role: "tab",
185
- id: `tabs-trigger-${t}`,
102
+ id: `tabs-trigger-${e}`,
186
103
  "aria-selected": u,
187
- "aria-controls": `tabs-panel-${t}`,
104
+ "aria-controls": `tabs-panel-${e}`,
188
105
  "data-state": n,
189
- disabled: e,
106
+ disabled: t,
190
107
  onClick: b,
191
108
  children: a
192
109
  }
193
110
  ) });
194
111
  }
195
112
  );
196
- tt.displayName = "Tabs.Item";
197
- function Fe(t) {
113
+ ee.displayName = "Tabs.Item";
114
+ function wt(e) {
198
115
  return {
199
- "aria-labelledby": `tabs-trigger-${t}`,
200
- id: `tabs-panel-${t}`,
116
+ "aria-labelledby": `tabs-trigger-${e}`,
117
+ id: `tabs-panel-${e}`,
201
118
  role: "tabpanel"
202
119
  };
203
120
  }
204
- const ra = Object.assign(O, {
205
- Item: tt,
206
- getPanelAttribute: Fe
207
- }), Pe = l(
208
- ({ icon: t, title: e, subtitle: a, action: o, className: r, ...i }, c) => /* @__PURE__ */ y("section", { ref: c, className: d(x["no-results"], r), role: "status", "aria-label": e, ...i, children: [
209
- /* @__PURE__ */ y("header", { className: x["no-results-header"], children: [
210
- /* @__PURE__ */ s("div", { className: x["no-results-icon"], children: /* @__PURE__ */ s(D, { as: t, color: "inherit", "aria-hidden": "true" }) }),
211
- /* @__PURE__ */ s("h5", { className: x["no-results-title"], children: e })
212
- ] }),
213
- a && /* @__PURE__ */ s("p", { className: x["no-results-subtitle"], children: a }),
214
- o && /* @__PURE__ */ s("div", { className: x["no-results-action"], role: "group", "aria-label": "Available actions", children: o })
215
- ] })
121
+ const qt = Object.assign(O, {
122
+ Item: ee,
123
+ getPanelAttribute: wt
124
+ }), At = l(
125
+ ({ icon: e, title: t, subtitle: a, action: o, className: r, ...i }, c) => /* @__PURE__ */ y(
126
+ "section",
127
+ {
128
+ ref: c,
129
+ className: d(x["no-results"], r),
130
+ role: "status",
131
+ "aria-label": t,
132
+ ...i,
133
+ children: [
134
+ /* @__PURE__ */ y("header", { className: x["no-results-header"], children: [
135
+ /* @__PURE__ */ s("div", { className: x["no-results-icon"], children: /* @__PURE__ */ s(F, { as: e, color: "inherit", "aria-hidden": "true" }) }),
136
+ /* @__PURE__ */ s("h5", { className: x["no-results-title"], children: t })
137
+ ] }),
138
+ a && /* @__PURE__ */ s("p", { className: x["no-results-subtitle"], children: a }),
139
+ o && /* @__PURE__ */ s("div", { className: x["no-results-action"], role: "group", "aria-label": "Available actions", children: o })
140
+ ]
141
+ }
142
+ )
216
143
  );
217
- Pe.displayName = "NoResults";
218
- const et = w(void 0), qe = () => {
219
- const t = S(et);
220
- if (!t)
144
+ At.displayName = "NoResults";
145
+ const te = L(void 0), Lt = () => {
146
+ const e = I(te);
147
+ if (!e)
221
148
  throw new Error("AttributeList.Item must be used within an AttributeList component");
222
- return t;
223
- }, at = l(
224
- ({ columns: t = "3", children: e, className: a, ...o }, r) => {
225
- const i = _({
226
- columns: t
149
+ return e;
150
+ }, ae = l(
151
+ ({ columns: e = "3", children: t, className: a, ...o }, r) => {
152
+ const i = N({
153
+ columns: e
227
154
  });
228
- return /* @__PURE__ */ s(et.Provider, { value: { columns: t }, children: /* @__PURE__ */ s("dl", { ref: r, className: d(Be["attribute-list"], a), ...i, ...o, children: e }) });
155
+ return /* @__PURE__ */ s(te.Provider, { value: { columns: e }, children: /* @__PURE__ */ s("dl", { ref: r, className: d(nt["attribute-list"], a), ...i, ...o, children: t }) });
229
156
  }
230
157
  );
231
- at.displayName = "AttributeList";
232
- const st = l(
233
- ({ title: t, columnSpan: e = "1", contentLineClamp: a = "2", children: o, className: r }, i) => {
234
- qe();
235
- const c = _({
236
- "column-span": e,
158
+ ae.displayName = "AttributeList";
159
+ const se = l(
160
+ ({ title: e, columnSpan: t = "1", contentLineClamp: a = "2", children: o, className: r }, i) => {
161
+ Lt();
162
+ const c = N({
163
+ "column-span": t,
237
164
  "content-line-clamp": a
238
165
  });
239
166
  return /* @__PURE__ */ y("div", { ref: i, className: d(r), ...c, children: [
240
- /* @__PURE__ */ s("dt", { children: t }),
167
+ /* @__PURE__ */ s("dt", { children: e }),
241
168
  /* @__PURE__ */ s("dd", { children: o })
242
169
  ] });
243
170
  }
244
171
  );
245
- st.displayName = "AttributeList.Item";
246
- const ia = Object.assign(at, {
247
- Item: st
248
- }), $e = l(
172
+ se.displayName = "AttributeList.Item";
173
+ const Jt = Object.assign(ae, {
174
+ Item: se
175
+ }), It = l(
249
176
  ({
250
- gap: t = "md",
251
- direction: e = "horizontal",
177
+ gap: e = "md",
178
+ direction: t = "horizontal",
252
179
  align: a = "center",
253
180
  wrap: o = "nowrap",
254
181
  "aria-label": r = "Badge group",
@@ -256,17 +183,17 @@ const ia = Object.assign(at, {
256
183
  className: c,
257
184
  ...m
258
185
  }, u) => {
259
- const n = _({
186
+ const n = N({
260
187
  align: a,
261
- direction: e,
262
- gap: t,
188
+ direction: t,
189
+ gap: e,
263
190
  wrap: o
264
191
  });
265
192
  return /* @__PURE__ */ s(
266
193
  "div",
267
194
  {
268
195
  ref: u,
269
- className: d(ye["badge-group"], c),
196
+ className: d(dt["badge-group"], c),
270
197
  role: "group",
271
198
  "aria-label": r,
272
199
  ...n,
@@ -276,62 +203,68 @@ const ia = Object.assign(at, {
276
203
  );
277
204
  }
278
205
  );
279
- $e.displayName = "BadgeGroup";
280
- function Ee({ as: t = "div", size: e = "md", border: a, children: o, className: r, ...i }, c) {
281
- const m = _({
206
+ It.displayName = "BadgeGroup";
207
+ function xt({ as: e = "div", size: t = "md", border: a, children: o, className: r, ...i }, c) {
208
+ const m = N({
282
209
  border: a,
283
- interactive: t === "button" ? "true" : "false",
284
- size: e
210
+ interactive: e === "button" ? "true" : "false",
211
+ size: t
285
212
  });
286
- return /* @__PURE__ */ s(t === "button" ? "button" : "div", { ref: c, className: d(j.card, r), ...m, ...i, children: o });
213
+ return /* @__PURE__ */ s(e === "button" ? "button" : "div", { ref: c, className: d(j.card, r), ...m, ...i, children: o });
287
214
  }
288
- const ot = l(
289
- Ee
215
+ const oe = l(
216
+ xt
290
217
  );
291
- ot.displayName = "Card";
292
- const rt = l(({ justify: t, gap: e, children: a, className: o, ...r }, i) => {
293
- const c = _({ gap: e, justify: t });
294
- return /* @__PURE__ */ s("div", { ref: i, className: d(j.header, o), ...c, ...r, children: a });
295
- });
296
- rt.displayName = "Card.Header";
297
- const it = l(({ align: t, gap: e, children: a, className: o, ...r }, i) => {
298
- const c = _({ align: t, gap: e });
299
- return /* @__PURE__ */ s("div", { ref: i, className: d(j.body, o), ...c, ...r, children: a });
300
- });
301
- it.displayName = "Card.Body";
302
- const lt = l(({ justify: t, gap: e, children: a, className: o, ...r }, i) => {
303
- const c = _({ gap: e, justify: t });
304
- return /* @__PURE__ */ s("div", { ref: i, className: d(j.footer, o), ...c, ...r, children: a });
305
- });
306
- lt.displayName = "Card.Footer";
307
- const la = Object.assign(ot, {
308
- Body: it,
309
- Footer: lt,
310
- Header: rt
311
- }), nt = l(({ className: t, ...e }, a) => /* @__PURE__ */ s("thead", { ref: a, className: d(A["table-header"], t), ...e }));
312
- nt.displayName = "Table.Header";
313
- const dt = l(({ className: t, ...e }, a) => /* @__PURE__ */ s("tbody", { ref: a, className: d(A["table-body"], t), ...e }));
314
- dt.displayName = "Table.Body";
315
- const ct = l(({ className: t, ...e }, a) => /* @__PURE__ */ s("tfoot", { ref: a, className: d(A["table-footer"], t), ...e }));
316
- ct.displayName = "Table.Footer";
317
- const mt = l(({ onClick: t, className: e, ...a }, o) => /* @__PURE__ */ s("tr", { ref: o, className: d(e), "data-clickable": t ? "true" : void 0, onClick: t, ...a }));
318
- mt.displayName = "Table.Row";
319
- const ut = l(
320
- ({ sortable: t, sortDirection: e, onSort: a, children: o, className: r, ...i }, c) => {
218
+ oe.displayName = "Card";
219
+ const re = l(
220
+ ({ justify: e, gap: t, children: a, className: o, ...r }, i) => {
221
+ const c = N({ gap: t, justify: e });
222
+ return /* @__PURE__ */ s("div", { ref: i, className: d(j.header, o), ...c, ...r, children: a });
223
+ }
224
+ );
225
+ re.displayName = "Card.Header";
226
+ const ie = l(
227
+ ({ align: e, gap: t, children: a, className: o, ...r }, i) => {
228
+ const c = N({ align: e, gap: t });
229
+ return /* @__PURE__ */ s("div", { ref: i, className: d(j.body, o), ...c, ...r, children: a });
230
+ }
231
+ );
232
+ ie.displayName = "Card.Body";
233
+ const le = l(
234
+ ({ justify: e, gap: t, children: a, className: o, ...r }, i) => {
235
+ const c = N({ gap: t, justify: e });
236
+ return /* @__PURE__ */ s("div", { ref: i, className: d(j.footer, o), ...c, ...r, children: a });
237
+ }
238
+ );
239
+ le.displayName = "Card.Footer";
240
+ const Kt = Object.assign(oe, {
241
+ Body: ie,
242
+ Footer: le,
243
+ Header: re
244
+ }), ne = l(({ className: e, ...t }, a) => /* @__PURE__ */ s("thead", { ref: a, className: d(w["table-header"], e), ...t }));
245
+ ne.displayName = "Table.Header";
246
+ const de = l(({ className: e, ...t }, a) => /* @__PURE__ */ s("tbody", { ref: a, className: d(w["table-body"], e), ...t }));
247
+ de.displayName = "Table.Body";
248
+ const ce = l(({ className: e, ...t }, a) => /* @__PURE__ */ s("tfoot", { ref: a, className: d(w["table-footer"], e), ...t }));
249
+ ce.displayName = "Table.Footer";
250
+ const me = l(({ onClick: e, className: t, ...a }, o) => /* @__PURE__ */ s("tr", { ref: o, className: d(t), "data-clickable": e ? "true" : void 0, onClick: e, ...a }));
251
+ me.displayName = "Table.Row";
252
+ const ue = l(
253
+ ({ sortable: e, sortDirection: t, onSort: a, children: o, className: r, ...i }, c) => {
321
254
  const m = () => {
322
- if (!t || !a)
255
+ if (!e || !a)
323
256
  return;
324
257
  let n = "asc";
325
- e === "asc" ? n = "desc" : e === "desc" && (n = null), a(n);
326
- }, u = _({
327
- sortable: t ? "true" : void 0
258
+ t === "asc" ? n = "desc" : t === "desc" && (n = null), a(n);
259
+ }, u = N({
260
+ sortable: e ? "true" : void 0
328
261
  });
329
262
  return /* @__PURE__ */ s(
330
263
  "th",
331
264
  {
332
265
  ref: c,
333
- className: d(A["table-head"], r),
334
- onClick: t ? m : void 0,
266
+ className: d(w["table-head"], r),
267
+ onClick: e ? m : void 0,
335
268
  ...u,
336
269
  ...i,
337
270
  children: /* @__PURE__ */ y(
@@ -345,11 +278,11 @@ const ut = l(
345
278
  },
346
279
  children: [
347
280
  o,
348
- t && /* @__PURE__ */ y(K, { children: [
349
- e === "asc" && /* @__PURE__ */ s(me, { style: { flexShrink: 0, height: "1em", width: "1em" } }),
350
- e === "desc" && /* @__PURE__ */ s(E, { style: { flexShrink: 0, height: "1em", width: "1em" } }),
351
- !e && /* @__PURE__ */ s(
352
- E,
281
+ e && /* @__PURE__ */ y(K, { children: [
282
+ t === "asc" && /* @__PURE__ */ s(ht, { style: { flexShrink: 0, height: "1em", width: "1em" } }),
283
+ t === "desc" && /* @__PURE__ */ s(V, { style: { flexShrink: 0, height: "1em", width: "1em" } }),
284
+ !t && /* @__PURE__ */ s(
285
+ V,
353
286
  {
354
287
  style: {
355
288
  flexShrink: 0,
@@ -367,11 +300,11 @@ const ut = l(
367
300
  );
368
301
  }
369
302
  );
370
- ut.displayName = "Table.HeaderCell";
371
- const bt = l(({ variant: t, className: e, ...a }, o) => /* @__PURE__ */ s("td", { ref: o, className: d(A["table-cell"], e), "data-table-cell-variant": t, ...a }));
372
- bt.displayName = "Table.BodyCell";
373
- const pt = l(
374
- ({ rowId: t, checked: e, indeterminate: a, onChange: o }, r) => /* @__PURE__ */ y("label", { className: F.checkbox, children: [
303
+ ue.displayName = "Table.HeaderCell";
304
+ const be = l(({ variant: e, className: t, ...a }, o) => /* @__PURE__ */ s("td", { ref: o, className: d(w["table-cell"], t), "data-table-cell-variant": e, ...a }));
305
+ be.displayName = "Table.BodyCell";
306
+ const pe = l(
307
+ ({ rowId: e, checked: t, indeterminate: a, onChange: o }, r) => /* @__PURE__ */ y("label", { className: E.checkbox, children: [
375
308
  /* @__PURE__ */ s(
376
309
  "input",
377
310
  {
@@ -379,95 +312,99 @@ const pt = l(
379
312
  i && (i.indeterminate = a || !1, typeof r == "function" ? r(i) : r && (r.current = i));
380
313
  },
381
314
  type: "checkbox",
382
- className: F.input,
383
- checked: e || !1,
315
+ className: E.input,
316
+ checked: t || !1,
384
317
  onChange: (i) => o(i.target.checked),
385
- "aria-label": `Select row ${t}`
318
+ "aria-label": `Select row ${e}`
386
319
  }
387
320
  ),
388
- /* @__PURE__ */ s("span", { className: F.indicator })
321
+ /* @__PURE__ */ s("span", { className: E.indicator })
389
322
  ] })
390
323
  );
391
- pt.displayName = "Table.Checkbox";
392
- const _t = l(({ title: t, subtitle: e, size: a = "md", className: o }, r) => {
393
- const i = {
394
- title: {
395
- sm: "0.875rem",
396
- md: "0.9375rem",
397
- lg: "1rem"
398
- },
399
- subtitle: {
400
- sm: "0.75rem",
401
- md: "0.8125rem",
402
- lg: "0.875rem"
403
- }
404
- };
405
- return /* @__PURE__ */ y("div", { ref: r, className: d(A["table-cell"], o), "data-table-cell-variant": "double-line", children: [
406
- /* @__PURE__ */ s(
407
- "div",
408
- {
409
- style: {
410
- fontWeight: 600,
411
- fontSize: i.title[a]
412
- },
413
- children: t
414
- }
415
- ),
416
- /* @__PURE__ */ s(
417
- "div",
418
- {
419
- style: {
420
- fontSize: i.subtitle[a],
421
- color: "#6b7280"
422
- },
423
- children: e
324
+ pe.displayName = "Table.Checkbox";
325
+ const Ne = l(
326
+ ({ title: e, subtitle: t, size: a = "md", className: o }, r) => {
327
+ const i = {
328
+ title: {
329
+ sm: "0.875rem",
330
+ md: "0.9375rem",
331
+ lg: "1rem"
332
+ },
333
+ subtitle: {
334
+ sm: "0.75rem",
335
+ md: "0.8125rem",
336
+ lg: "0.875rem"
424
337
  }
425
- )
426
- ] });
427
- });
428
- _t.displayName = "Table.DoubleLine";
429
- const yt = l(({ onClick: t, disabled: e }, a) => /* @__PURE__ */ s(
430
- C,
338
+ };
339
+ return /* @__PURE__ */ y("div", { ref: r, className: d(w["table-cell"], o), "data-table-cell-variant": "double-line", children: [
340
+ /* @__PURE__ */ s(
341
+ "div",
342
+ {
343
+ style: {
344
+ fontWeight: 600,
345
+ fontSize: i.title[a]
346
+ },
347
+ children: e
348
+ }
349
+ ),
350
+ /* @__PURE__ */ s(
351
+ "div",
352
+ {
353
+ style: {
354
+ fontSize: i.subtitle[a],
355
+ color: "#6b7280"
356
+ },
357
+ children: t
358
+ }
359
+ )
360
+ ] });
361
+ }
362
+ );
363
+ Ne.displayName = "Table.DoubleLine";
364
+ const ye = l(({ onClick: e, disabled: t }, a) => /* @__PURE__ */ s(
365
+ P,
431
366
  {
432
367
  ref: a,
433
- as: ue,
368
+ as: ft,
434
369
  onClick: (r) => {
435
- r.stopPropagation(), t == null || t();
370
+ r.stopPropagation(), e == null || e();
436
371
  },
437
- disabled: e,
372
+ disabled: t,
438
373
  variant: "ghost",
439
374
  size: "medium",
440
375
  "aria-label": "Action button"
441
376
  }
442
377
  ));
443
- yt.displayName = "Table.Action";
444
- const ht = l(({ columns: t, children: e, className: a, ...o }, r) => /* @__PURE__ */ s(
445
- "div",
446
- {
447
- ref: r,
448
- className: d(A.table, a),
449
- style: {
450
- "--table-grid-columns": t
451
- },
452
- ...o,
453
- children: /* @__PURE__ */ s("table", { children: e })
454
- }
455
- ));
456
- ht.displayName = "Table";
457
- const na = Object.assign(ht, {
458
- Action: yt,
459
- Body: dt,
460
- BodyCell: bt,
461
- Checkbox: pt,
462
- DoubleLine: _t,
463
- Footer: ct,
464
- Header: nt,
465
- HeaderCell: ut,
466
- Row: mt
467
- }), Ge = l(
378
+ ye.displayName = "Table.Action";
379
+ const ve = l(
380
+ ({ columns: e, children: t, className: a, ...o }, r) => /* @__PURE__ */ s(
381
+ "div",
382
+ {
383
+ ref: r,
384
+ className: d(w.table, a),
385
+ style: {
386
+ "--table-grid-columns": e
387
+ },
388
+ ...o,
389
+ children: /* @__PURE__ */ s("table", { children: t })
390
+ }
391
+ )
392
+ );
393
+ ve.displayName = "Table";
394
+ const Qt = Object.assign(ve, {
395
+ Action: ye,
396
+ Body: de,
397
+ BodyCell: be,
398
+ Checkbox: pe,
399
+ DoubleLine: Ne,
400
+ Footer: ce,
401
+ Header: ne,
402
+ HeaderCell: ue,
403
+ Row: me
404
+ }), Rt = l(
468
405
  ({
469
- gap: t = "md",
470
- direction: e = "horizontal",
406
+ gap: e = "md",
407
+ direction: t = "horizontal",
471
408
  align: a = "center",
472
409
  wrap: o = "nowrap",
473
410
  fluid: r = !1,
@@ -476,18 +413,18 @@ const na = Object.assign(ht, {
476
413
  className: m,
477
414
  ...u
478
415
  }, n) => {
479
- const b = _({
416
+ const b = N({
480
417
  align: a,
481
- direction: e,
418
+ direction: t,
482
419
  fluid: r,
483
- gap: t,
420
+ gap: e,
484
421
  wrap: o
485
422
  });
486
423
  return /* @__PURE__ */ s(
487
424
  "div",
488
425
  {
489
426
  ref: n,
490
- className: d(pe["button-group"], m),
427
+ className: d(ct["button-group"], m),
491
428
  role: "group",
492
429
  "aria-label": i,
493
430
  ...b,
@@ -497,11 +434,11 @@ const na = Object.assign(ht, {
497
434
  );
498
435
  }
499
436
  );
500
- Ge.displayName = "ButtonGroup";
501
- const vt = w(void 0), Nt = l(
437
+ Rt.displayName = "ButtonGroup";
438
+ const he = L(void 0), fe = l(
502
439
  ({
503
- id: t,
504
- placement: e = "bottom",
440
+ id: e,
441
+ placement: t = "bottom",
505
442
  maxHeight: a = 400,
506
443
  minWidth: o = 160,
507
444
  maxWidth: r = 320,
@@ -511,17 +448,17 @@ const vt = w(void 0), Nt = l(
511
448
  closeOnClick: u = !1,
512
449
  children: n,
513
450
  ...b
514
- }, h) => {
451
+ }, v) => {
515
452
  const p = {
516
- id: t,
453
+ id: e,
517
454
  closeOnClick: u,
518
455
  onChange: m,
519
456
  value: c
520
457
  };
521
- return /* @__PURE__ */ s("div", { ref: h, ...b, children: /* @__PURE__ */ s(vt.Provider, { value: p, children: /* @__PURE__ */ s(z, { id: t, placement: e, gap: i, triggerType: "focus", children: /* @__PURE__ */ s(
458
+ return /* @__PURE__ */ s("div", { ref: v, ...b, children: /* @__PURE__ */ s(he.Provider, { value: p, children: /* @__PURE__ */ s($, { id: e, placement: t, gap: i, triggerType: "focus", children: /* @__PURE__ */ s(
522
459
  "div",
523
460
  {
524
- className: R["menu-list"],
461
+ className: M["menu-list"],
525
462
  style: {
526
463
  "--_max-height": `${a}px`,
527
464
  "--_max-width": `${r}px`,
@@ -532,88 +469,88 @@ const vt = w(void 0), Nt = l(
532
469
  ) }) }) });
533
470
  }
534
471
  );
535
- Nt.displayName = "Menu";
536
- function Ve(t) {
537
- return z.getTooltipTriggerProps({
538
- id: t.id,
472
+ fe.displayName = "Menu";
473
+ function Mt(e) {
474
+ return $.getTooltipTriggerProps({
475
+ id: e.id,
539
476
  triggerType: "focus"
540
477
  });
541
478
  }
542
- function We(t) {
543
- z.close(t);
479
+ function Ht(e) {
480
+ $.close(e);
544
481
  }
545
- const U = Nt;
546
- U.getTriggerProps = Ve;
547
- U.close = We;
548
- const ft = l(
549
- ({ value: t, disabled: e = !1, leftIcon: a, rightIcon: o, children: r, onClick: i, className: c, ...m }, u) => {
550
- const n = S(vt), b = n != null && n.onChange && t !== void 0 ? n.value === t : !1, h = _({
482
+ const X = fe;
483
+ X.getTriggerProps = Mt;
484
+ X.close = Ht;
485
+ const ge = l(
486
+ ({ value: e, disabled: t = !1, leftIcon: a, rightIcon: o, children: r, onClick: i, className: c, ...m }, u) => {
487
+ const n = I(he), b = n != null && n.onChange && e !== void 0 ? n.value === e : !1, v = N({
551
488
  active: b,
552
- disabled: e
553
- }), p = (f) => {
554
- if (e) {
555
- f.preventDefault();
489
+ disabled: t
490
+ }), p = (g) => {
491
+ if (t) {
492
+ g.preventDefault();
556
493
  return;
557
494
  }
558
- n != null && n.onChange && t !== void 0 && n.onChange(t), i == null || i(f), n != null && n.closeOnClick && (n != null && n.id) && z.close({ id: n.id });
495
+ n != null && n.onChange && e !== void 0 && n.onChange(e), i == null || i(g), n != null && n.closeOnClick && (n != null && n.id) && $.close({ id: n.id });
559
496
  };
560
497
  return /* @__PURE__ */ y(
561
498
  "button",
562
499
  {
563
500
  ref: u,
564
- className: d(R["menu-item"], c),
565
- disabled: e,
566
- ...h,
501
+ className: d(M["menu-item"], c),
502
+ disabled: t,
503
+ ...v,
567
504
  ...m,
568
505
  onClick: p,
569
506
  children: [
570
- a ? /* @__PURE__ */ s("span", { className: R["menu-item-icon"], children: a }) : null,
571
- /* @__PURE__ */ s("span", { className: R["menu-item-label"], children: r }),
572
- o ? /* @__PURE__ */ s("span", { className: R["menu-item-icon"], children: o }) : null
507
+ a ? /* @__PURE__ */ s("span", { className: M["menu-item-icon"], children: a }) : null,
508
+ /* @__PURE__ */ s("span", { className: M["menu-item-label"], children: r }),
509
+ o ? /* @__PURE__ */ s("span", { className: M["menu-item-icon"], children: o }) : null
573
510
  ]
574
511
  }
575
512
  );
576
513
  }
577
514
  );
578
- ft.displayName = "Menu.Item";
579
- const Ue = U;
580
- Ue.Item = ft;
581
- const gt = l(({ children: t, className: e, ...a }, o) => /* @__PURE__ */ s("div", { ref: o, className: d(T["top-bar"], e), ...a, children: t }));
582
- gt.displayName = "TopBar";
583
- const Bt = l(({ children: t, className: e, ...a }, o) => /* @__PURE__ */ s("div", { ref: o, className: d(T["top-bar-leading"], e), ...a, children: t }));
584
- Bt.displayName = "TopBar.Leading";
585
- const Tt = l(({ children: t, className: e, ...a }, o) => /* @__PURE__ */ s("div", { ref: o, className: d(T["top-bar-centred"], e), ...a, children: t }));
586
- Tt.displayName = "TopBar.Centred";
587
- const wt = l(({ children: t, className: e, ...a }, o) => /* @__PURE__ */ s("div", { ref: o, className: d(T["top-bar-trailing"], e), ...a, children: t }));
588
- wt.displayName = "TopBar.Trailing";
589
- const St = l(
590
- ({ as: t = "button", active: e, disabled: a, icon: o, className: r, children: i, ...c }, m) => /* @__PURE__ */ y(
591
- t,
515
+ ge.displayName = "Menu.Item";
516
+ const Dt = X;
517
+ Dt.Item = ge;
518
+ const Be = l(({ children: e, className: t, ...a }, o) => /* @__PURE__ */ s("div", { ref: o, className: d(S["top-bar"], t), ...a, children: e }));
519
+ Be.displayName = "TopBar";
520
+ const Te = l(({ children: e, className: t, ...a }, o) => /* @__PURE__ */ s("div", { ref: o, className: d(S["top-bar-leading"], t), ...a, children: e }));
521
+ Te.displayName = "TopBar.Leading";
522
+ const Se = l(({ children: e, className: t, ...a }, o) => /* @__PURE__ */ s("div", { ref: o, className: d(S["top-bar-centred"], t), ...a, children: e }));
523
+ Se.displayName = "TopBar.Centred";
524
+ const we = l(({ children: e, className: t, ...a }, o) => /* @__PURE__ */ s("div", { ref: o, className: d(S["top-bar-trailing"], t), ...a, children: e }));
525
+ we.displayName = "TopBar.Trailing";
526
+ const Ae = l(
527
+ ({ as: e = "button", active: t, disabled: a, icon: o, className: r, children: i, ...c }, m) => /* @__PURE__ */ y(
528
+ e,
592
529
  {
593
530
  ref: m,
594
- className: d(T["top-bar-item"], r),
595
- "data-active": e ? "" : void 0,
531
+ className: d(S["top-bar-item"], r),
532
+ "data-active": t ? "" : void 0,
596
533
  "data-disabled": a ? "" : void 0,
597
534
  ...c,
598
535
  children: [
599
- o && /* @__PURE__ */ s("span", { className: T["top-bar-item-icon"], children: o }),
536
+ o && /* @__PURE__ */ s("span", { className: S["top-bar-item-icon"], children: o }),
600
537
  i
601
538
  ]
602
539
  }
603
540
  )
604
541
  );
605
- St.displayName = "TopBar.Item";
606
- const At = l(({ children: t, className: e, ...a }, o) => /* @__PURE__ */ s("div", { ref: o, className: d(T["top-bar-list-item"], e), ...a, children: t }));
607
- At.displayName = "TopBar.ListItem";
608
- const da = Object.assign(gt, {
609
- Centred: Tt,
610
- Item: St,
611
- Leading: Bt,
612
- ListItem: At,
613
- Trailing: wt
614
- }), Lt = w(void 0), X = l(
615
- ({ direction: t = "horizontal", gap: e, value: a, onChange: o, children: r, className: i, ...c }, m) => {
616
- const u = _({ direction: t }), n = {
542
+ Ae.displayName = "TopBar.Item";
543
+ const Le = l(({ children: e, className: t, ...a }, o) => /* @__PURE__ */ s("div", { ref: o, className: d(S["top-bar-list-item"], t), ...a, children: e }));
544
+ Le.displayName = "TopBar.ListItem";
545
+ const Yt = Object.assign(Be, {
546
+ Centred: Se,
547
+ Item: Ae,
548
+ Leading: Te,
549
+ ListItem: Le,
550
+ Trailing: we
551
+ }), Ie = L(void 0), q = l(
552
+ ({ direction: e = "horizontal", gap: t, value: a, onChange: o, children: r, className: i, ...c }, m) => {
553
+ const u = N({ direction: e }), n = {
617
554
  lg: "var(--spacing-4)",
618
555
  md: "var(--spacing-3)",
619
556
  sm: "var(--spacing-2)",
@@ -622,14 +559,14 @@ const da = Object.assign(gt, {
622
559
  onChange: o,
623
560
  value: a
624
561
  };
625
- return /* @__PURE__ */ s(Lt.Provider, { value: b, children: /* @__PURE__ */ s(
562
+ return /* @__PURE__ */ s(Ie.Provider, { value: b, children: /* @__PURE__ */ s(
626
563
  "nav",
627
564
  {
628
565
  ref: m,
629
- className: d(H.nav, i),
566
+ className: d(D.nav, i),
630
567
  style: {
631
- ...e && {
632
- "--vers-comp-nav-gap": n[e]
568
+ ...t && {
569
+ "--vers-comp-nav-gap": n[t]
633
570
  }
634
571
  },
635
572
  ...u,
@@ -639,12 +576,12 @@ const da = Object.assign(gt, {
639
576
  ) });
640
577
  }
641
578
  );
642
- X.displayName = "Nav";
643
- X.displayName = "Nav";
644
- const xt = l(
579
+ q.displayName = "Nav";
580
+ q.displayName = "Nav";
581
+ const xe = l(
645
582
  ({
646
- as: t = "button",
647
- active: e = !1,
583
+ as: e = "button",
584
+ active: t = !1,
648
585
  value: a,
649
586
  disabled: o = !1,
650
587
  loading: r = !1,
@@ -654,60 +591,52 @@ const xt = l(
654
591
  onClick: u,
655
592
  className: n,
656
593
  ...b
657
- }, h) => {
658
- const p = S(Lt), f = p != null && p.onChange && a !== void 0 ? p.value === a : e, B = _({
659
- active: f,
594
+ }, v) => {
595
+ const p = I(Ie), g = p != null && p.onChange && a !== void 0 ? p.value === a : t, T = N({
596
+ active: g,
660
597
  disabled: o || r,
661
598
  loading: r
662
- }), g = (I) => {
599
+ }), B = (R) => {
663
600
  if (o || r) {
664
- I.preventDefault();
601
+ R.preventDefault();
665
602
  return;
666
603
  }
667
- p != null && p.onChange && a !== void 0 && p.onChange(a), u == null || u(I);
604
+ p != null && p.onChange && a !== void 0 && p.onChange(a), u == null || u(R);
668
605
  };
669
606
  return /* @__PURE__ */ y(
670
- t,
607
+ e,
671
608
  {
672
- ref: h,
673
- className: d(H["nav-item"], n),
674
- "aria-current": f && t !== "button" ? "page" : void 0,
609
+ ref: v,
610
+ className: d(D["nav-item"], n),
611
+ "aria-current": g && e !== "button" ? "page" : void 0,
675
612
  "aria-disabled": o || r ? "true" : void 0,
676
613
  "aria-busy": r ? "true" : void 0,
677
- ...B,
614
+ ...T,
678
615
  ...b,
679
- onClick: g,
616
+ onClick: B,
680
617
  children: [
681
- i && /* @__PURE__ */ s("span", { className: H["nav-item-icon"], children: /* @__PURE__ */ s(D, { as: i }) }),
618
+ i && /* @__PURE__ */ s("span", { className: D["nav-item-icon"], children: /* @__PURE__ */ s(F, { as: i }) }),
682
619
  m,
683
- c && /* @__PURE__ */ s("span", { className: H["nav-item-icon"], children: /* @__PURE__ */ s(D, { as: c }) })
620
+ c && /* @__PURE__ */ s("span", { className: D["nav-item-icon"], children: /* @__PURE__ */ s(F, { as: c }) })
684
621
  ]
685
622
  }
686
623
  );
687
624
  }
688
625
  );
689
- xt.displayName = "NavItem";
690
- const ca = Object.assign(X, {
691
- Item: xt
692
- }), It = l(({ children: t, className: e }, a) => /* @__PURE__ */ s("aside", { ref: a, className: d(v.sidebar, e), children: t }));
693
- It.displayName = "Sidebar";
694
- const Rt = l(({ children: t, className: e }, a) => /* @__PURE__ */ s("div", { ref: a, className: d(v["sidebar-header"], e), children: t }));
695
- Rt.displayName = "Sidebar.Header";
696
- const Mt = l(({ children: t, className: e }, a) => /* @__PURE__ */ s("div", { ref: a, className: d(v["sidebar-body"], e), children: t }));
697
- Mt.displayName = "Sidebar.Body";
698
- const Ht = l(({ children: t, className: e }, a) => /* @__PURE__ */ s("div", { ref: a, className: d(v["sidebar-footer"], e), children: t }));
699
- Ht.displayName = "Sidebar.Footer";
700
- const kt = l(
701
- ({
702
- label: t,
703
- icon: e,
704
- defaultExpanded: a = !0,
705
- isExpanded: o,
706
- onExpandedChange: r,
707
- children: i,
708
- className: c
709
- }, m) => {
710
- const [u, n] = $(a), b = o !== void 0 ? o : u, h = () => {
626
+ xe.displayName = "NavItem";
627
+ const Zt = Object.assign(q, {
628
+ Item: xe
629
+ }), Re = l(({ children: e, className: t }, a) => /* @__PURE__ */ s("aside", { ref: a, className: d(h.sidebar, t), children: e }));
630
+ Re.displayName = "Sidebar";
631
+ const Me = l(({ children: e, className: t }, a) => /* @__PURE__ */ s("div", { ref: a, className: d(h["sidebar-header"], t), children: e }));
632
+ Me.displayName = "Sidebar.Header";
633
+ const He = l(({ children: e, className: t }, a) => /* @__PURE__ */ s("div", { ref: a, className: d(h["sidebar-body"], t), children: e }));
634
+ He.displayName = "Sidebar.Body";
635
+ const De = l(({ children: e, className: t }, a) => /* @__PURE__ */ s("div", { ref: a, className: d(h["sidebar-footer"], t), children: e }));
636
+ De.displayName = "Sidebar.Footer";
637
+ const Ce = l(
638
+ ({ label: e, icon: t, defaultExpanded: a = !0, isExpanded: o, onExpandedChange: r, children: i, className: c }, m) => {
639
+ const [u, n] = k(a), b = o !== void 0 ? o : u, v = () => {
711
640
  const p = !b;
712
641
  n(p), r == null || r(p);
713
642
  };
@@ -715,152 +644,129 @@ const kt = l(
715
644
  "div",
716
645
  {
717
646
  ref: m,
718
- className: d(v["sidebar-group"], c),
647
+ className: d(h["sidebar-group"], c),
719
648
  "data-expanded": b ? "" : void 0,
720
649
  children: [
721
- /* @__PURE__ */ y(
722
- "button",
723
- {
724
- className: v["sidebar-group-header"],
725
- onClick: h,
726
- "aria-expanded": b,
727
- children: [
728
- e && /* @__PURE__ */ s("span", { children: e }),
729
- /* @__PURE__ */ s("span", { className: v["sidebar-group-label"], children: t }),
730
- /* @__PURE__ */ s(
731
- D,
732
- {
733
- as: E,
734
- className: v["sidebar-group-chevron"],
735
- size: "sm"
736
- }
737
- )
738
- ]
739
- }
740
- ),
741
- /* @__PURE__ */ s("div", { className: v["sidebar-group-content"], children: /* @__PURE__ */ s("div", { children: i }) })
650
+ /* @__PURE__ */ y("button", { className: h["sidebar-group-header"], onClick: v, "aria-expanded": b, children: [
651
+ t && /* @__PURE__ */ s("span", { children: t }),
652
+ /* @__PURE__ */ s("span", { className: h["sidebar-group-label"], children: e }),
653
+ /* @__PURE__ */ s(F, { as: V, className: h["sidebar-group-chevron"], size: "sm" })
654
+ ] }),
655
+ /* @__PURE__ */ s("div", { className: h["sidebar-group-content"], children: /* @__PURE__ */ s("div", { children: i }) })
742
656
  ]
743
657
  }
744
658
  );
745
659
  }
746
660
  );
747
- kt.displayName = "Sidebar.Group";
748
- const Dt = l(
749
- ({ as: t = "button", active: e, disabled: a, icon: o, action: r, className: i, children: c, ...m }, u) => /* @__PURE__ */ y(
750
- t,
661
+ Ce.displayName = "Sidebar.Group";
662
+ const Fe = l(
663
+ ({ as: e = "button", active: t, disabled: a, icon: o, action: r, className: i, children: c, ...m }, u) => /* @__PURE__ */ y(
664
+ e,
751
665
  {
752
666
  ref: u,
753
- className: d(v["sidebar-item"], i),
754
- "data-active": e ? "" : void 0,
667
+ className: d(h["sidebar-item"], i),
668
+ "data-active": t ? "" : void 0,
755
669
  "data-disabled": a ? "" : void 0,
756
670
  "data-action": r ? "" : void 0,
757
671
  ...m,
758
672
  children: [
759
- o && /* @__PURE__ */ s("span", { className: v["sidebar-item-icon"], children: o }),
760
- /* @__PURE__ */ s("span", { className: v["sidebar-item-text"], children: c }),
761
- r && /* @__PURE__ */ s("span", { className: v["sidebar-item-action"], children: r })
673
+ o && /* @__PURE__ */ s("span", { className: h["sidebar-item-icon"], children: o }),
674
+ /* @__PURE__ */ s("span", { className: h["sidebar-item-text"], children: c }),
675
+ r && /* @__PURE__ */ s("span", { className: h["sidebar-item-action"], children: r })
762
676
  ]
763
677
  }
764
678
  )
765
679
  );
766
- Dt.displayName = "Sidebar.Item";
767
- const Ct = l(({ children: t, className: e }, a) => /* @__PURE__ */ s("div", { ref: a, className: d(v["sidebar-item-list"], e), children: t }));
768
- Ct.displayName = "Sidebar.ItemList";
769
- const zt = l(({ className: t }, e) => /* @__PURE__ */ s("div", { ref: e, className: d(v["sidebar-divider"], t), children: /* @__PURE__ */ s(ce, {}) }));
770
- zt.displayName = "Sidebar.Divider";
771
- const ma = Object.assign(It, {
772
- Body: Mt,
773
- Divider: zt,
774
- Footer: Ht,
775
- Group: kt,
776
- Header: Rt,
777
- Item: Dt,
778
- ItemList: Ct
680
+ Fe.displayName = "Sidebar.Item";
681
+ const je = l(({ children: e, className: t }, a) => /* @__PURE__ */ s("div", { ref: a, className: d(h["sidebar-item-list"], t), children: e }));
682
+ je.displayName = "Sidebar.ItemList";
683
+ const Pe = l(({ className: e }, t) => /* @__PURE__ */ s("div", { ref: t, className: d(h["sidebar-divider"], e), children: /* @__PURE__ */ s(vt, {}) }));
684
+ Pe.displayName = "Sidebar.Divider";
685
+ const Ot = Object.assign(Re, {
686
+ Body: He,
687
+ Divider: Pe,
688
+ Footer: De,
689
+ Group: Ce,
690
+ Header: Me,
691
+ Item: Fe,
692
+ ItemList: je
779
693
  });
780
- function Xe(t, e) {
781
- return t === e;
694
+ function Ct(e, t) {
695
+ return e === t;
782
696
  }
783
- const jt = l(({ children: t, className: e, ...a }, o) => /* @__PURE__ */ s("nav", { ref: o, className: d(k["bottom-bar"], e), ...a, children: t }));
784
- jt.displayName = "BottomBar";
785
- const Ft = l(
786
- ({ as: t = "button", href: e, active: a = !1, disabled: o = !1, icon: r, children: i, onClick: c, className: m, ...u }, n) => {
787
- const b = Xe(t, "a"), h = _({
697
+ const $e = l(({ children: e, className: t, ...a }, o) => /* @__PURE__ */ s("nav", { ref: o, className: d(C["bottom-bar"], t), ...a, children: e }));
698
+ $e.displayName = "BottomBar";
699
+ const Ee = l(
700
+ ({ as: e = "button", href: t, active: a = !1, disabled: o = !1, icon: r, children: i, onClick: c, className: m, ...u }, n) => {
701
+ const b = Ct(e, "a"), v = N({
788
702
  active: a,
789
703
  disabled: o
790
- }), p = (g) => {
704
+ }), p = (B) => {
791
705
  if (o) {
792
- g.preventDefault();
706
+ B.preventDefault();
793
707
  return;
794
708
  }
795
- c == null || c(g);
796
- }, f = {
797
- className: d(k["bottom-bar-item"], m),
709
+ c == null || c(B);
710
+ }, g = {
711
+ className: d(C["bottom-bar-item"], m),
798
712
  onClick: p,
799
713
  ref: n,
800
- ...h,
714
+ ...v,
801
715
  ...u
802
716
  };
803
- return b && (f.href = e), /* @__PURE__ */ y(t || "button", { ...f, children: [
804
- r && /* @__PURE__ */ s("span", { className: k["bottom-bar-item-icon"], children: r }),
805
- i && /* @__PURE__ */ s("span", { className: k["bottom-bar-item-text"], children: i })
717
+ return b && (g.href = t), /* @__PURE__ */ y(e || "button", { ...g, children: [
718
+ r && /* @__PURE__ */ s("span", { className: C["bottom-bar-item-icon"], children: r }),
719
+ i && /* @__PURE__ */ s("span", { className: C["bottom-bar-item-text"], children: i })
806
720
  ] });
807
721
  }
808
722
  );
809
- Ft.displayName = "BottomBar.Item";
810
- const ua = Object.assign(jt, {
811
- Item: Ft
812
- }), Pt = l(
813
- ({
814
- variant: t = "classic",
815
- hideHeader: e,
816
- hideBottom: a,
817
- className: o,
818
- children: r
819
- }, i) => {
820
- const c = _({
821
- "hide-header": e,
723
+ Ee.displayName = "BottomBar.Item";
724
+ const ea = Object.assign($e, {
725
+ Item: Ee
726
+ }), Ge = l(
727
+ ({ variant: e = "classic", hideHeader: t, hideBottom: a, className: o, children: r }, i) => {
728
+ const c = N({
729
+ "hide-header": t,
822
730
  "hide-bottom": a,
823
- variant: t
731
+ variant: e
824
732
  });
825
- return /* @__PURE__ */ s("div", { ref: i, className: d(L["app-layout"], o), ...c, children: r });
733
+ return /* @__PURE__ */ s("div", { ref: i, className: d(A["app-layout"], o), ...c, children: r });
826
734
  }
827
735
  );
828
- Pt.displayName = "AppLayout";
829
- const qt = l(
830
- ({ className: t, children: e }, a) => /* @__PURE__ */ s("div", { ref: a, className: d(L["app-layout-body"], t), children: e })
831
- );
832
- qt.displayName = "AppLayout.Body";
833
- const $t = l(({ className: t, children: e }, a) => /* @__PURE__ */ s("header", { ref: a, className: d(L["app-layout-header"], t), children: e }));
834
- $t.displayName = "AppLayout.Header";
835
- const Et = l(
836
- ({ className: t, placement: e = "full-width", children: a }, o) => {
837
- const r = _({
838
- placement: e
736
+ Ge.displayName = "AppLayout";
737
+ const ze = l(({ className: e, children: t }, a) => /* @__PURE__ */ s("div", { ref: a, className: d(A["app-layout-body"], e), children: t }));
738
+ ze.displayName = "AppLayout.Body";
739
+ const ke = l(({ className: e, children: t }, a) => /* @__PURE__ */ s("header", { ref: a, className: d(A["app-layout-header"], e), children: t }));
740
+ ke.displayName = "AppLayout.Header";
741
+ const Ve = l(
742
+ ({ className: e, placement: t = "full-width", children: a }, o) => {
743
+ const r = N({
744
+ placement: t
839
745
  });
840
- return /* @__PURE__ */ s("main", { ref: o, className: d(L["app-layout-main"], t), ...r, children: a });
746
+ return /* @__PURE__ */ s("main", { ref: o, className: d(A["app-layout-main"], e), ...r, children: a });
841
747
  }
842
748
  );
843
- Et.displayName = "AppLayout.Main";
844
- const Gt = l(({ className: t, children: e }, a) => /* @__PURE__ */ s("aside", { ref: a, className: d(L["app-layout-side-left"], t), children: e }));
845
- Gt.displayName = "AppLayout.SideLeft";
846
- const Vt = l(({ className: t, children: e }, a) => /* @__PURE__ */ s("aside", { ref: a, className: d(L["app-layout-side-right"], t), children: e }));
847
- Vt.displayName = "AppLayout.SideRight";
848
- const Wt = l(({ className: t, children: e }, a) => /* @__PURE__ */ s("footer", { ref: a, className: d(L["app-layout-bottom"], t), children: e }));
849
- Wt.displayName = "AppLayout.Bottom";
850
- const ba = Object.assign(Pt, {
851
- Body: qt,
852
- Bottom: Wt,
853
- Header: $t,
854
- Main: Et,
855
- SideLeft: Gt,
856
- SideRight: Vt
857
- }), Ut = le.forwardRef(
858
- ({ isOpen: t, onOpenChange: e, children: a, onClick: o, ...r }, i) => {
859
- const c = q(null), m = i || c;
860
- P(() => {
749
+ Ve.displayName = "AppLayout.Main";
750
+ const We = l(({ className: e, children: t }, a) => /* @__PURE__ */ s("aside", { ref: a, className: d(A["app-layout-side-left"], e), children: t }));
751
+ We.displayName = "AppLayout.SideLeft";
752
+ const _e = l(({ className: e, children: t }, a) => /* @__PURE__ */ s("aside", { ref: a, className: d(A["app-layout-side-right"], e), children: t }));
753
+ _e.displayName = "AppLayout.SideRight";
754
+ const Ue = l(({ className: e, children: t }, a) => /* @__PURE__ */ s("footer", { ref: a, className: d(A["app-layout-bottom"], e), children: t }));
755
+ Ue.displayName = "AppLayout.Bottom";
756
+ const ta = Object.assign(Ge, {
757
+ Body: ze,
758
+ Bottom: Ue,
759
+ Header: ke,
760
+ Main: Ve,
761
+ SideLeft: We,
762
+ SideRight: _e
763
+ }), Xe = pt.forwardRef(
764
+ ({ isOpen: e, onOpenChange: t, children: a, onClick: o, ...r }, i) => {
765
+ const c = z(null), m = i || c;
766
+ G(() => {
861
767
  const n = m.current;
862
768
  if (n) {
863
- if (t)
769
+ if (e)
864
770
  try {
865
771
  n.showModal(), document.documentElement.style.overflow = "hidden";
866
772
  } catch {
@@ -871,217 +777,227 @@ const ba = Object.assign(Pt, {
871
777
  document.documentElement.style.overflow = "";
872
778
  };
873
779
  }
874
- }, [t, m]), P(() => {
780
+ }, [e, m]), G(() => {
875
781
  const n = m.current;
876
782
  if (!n)
877
783
  return;
878
- const b = () => e == null ? void 0 : e(!1), h = (p) => {
879
- p.preventDefault(), e == null || e(!1);
784
+ const b = () => t == null ? void 0 : t(!1), v = (p) => {
785
+ p.preventDefault(), t == null || t(!1);
880
786
  };
881
- return n.addEventListener("close", b), n.addEventListener("cancel", h), () => {
882
- n.removeEventListener("close", b), n.removeEventListener("cancel", h);
787
+ return n.addEventListener("close", b), n.addEventListener("cancel", v), () => {
788
+ n.removeEventListener("close", b), n.removeEventListener("cancel", v);
883
789
  };
884
- }, [e, m]);
885
- const u = de(
790
+ }, [t, m]);
791
+ const u = yt(
886
792
  (n) => {
887
- n.target === n.currentTarget && (e == null || e(!1)), o == null || o(n);
793
+ n.target === n.currentTarget && (t == null || t(!1)), o == null || o(n);
888
794
  },
889
- [e, o]
795
+ [t, o]
890
796
  );
891
797
  return /* @__PURE__ */ s("dialog", { ...r, ref: m, onClick: u, children: a });
892
798
  }
893
799
  );
894
- Ut.displayName = "Dialog";
895
- const J = Ut, Xt = w(void 0), Je = () => {
896
- const t = S(Xt);
897
- if (!t)
800
+ Xe.displayName = "Dialog";
801
+ const J = Xe, qe = L(void 0), Ft = () => {
802
+ const e = I(qe);
803
+ if (!e)
898
804
  throw new Error("Drawer subcomponents must be used within Drawer");
899
- return t;
900
- }, Jt = l(
901
- ({ open: t, onOpenChange: e, placement: a = "right", children: o, className: r, ...i }, c) => {
902
- const m = _({
805
+ return e;
806
+ }, Je = l(
807
+ ({ open: e, onOpenChange: t, placement: a = "right", children: o, className: r, ...i }, c) => {
808
+ const m = N({
903
809
  placement: a
904
810
  });
905
- return /* @__PURE__ */ s(Xt.Provider, { value: { onClose: () => e == null ? void 0 : e(!1) }, children: /* @__PURE__ */ s(
811
+ return /* @__PURE__ */ s(qe.Provider, { value: { onClose: () => t == null ? void 0 : t(!1) }, children: /* @__PURE__ */ s(
906
812
  J,
907
813
  {
908
814
  ref: c,
909
- isOpen: t,
910
- onOpenChange: e,
911
- className: d(t && Re.drawer, r),
815
+ isOpen: e,
816
+ onOpenChange: t,
817
+ className: d(e && mt.drawer, r),
912
818
  ...m,
913
819
  ...i,
914
- children: /* @__PURE__ */ s("div", { className: N.content, children: o })
820
+ children: /* @__PURE__ */ s("div", { className: f.content, children: o })
915
821
  }
916
822
  ) });
917
823
  }
918
824
  );
919
- Jt.displayName = "Drawer";
920
- const Kt = l(({ onClick: t, ...e }, a) => {
921
- const { onClose: o } = Je();
825
+ Je.displayName = "Drawer";
826
+ const Ke = l(({ onClick: e, ...t }, a) => {
827
+ const { onClose: o } = Ft();
922
828
  return /* @__PURE__ */ s(
923
- C,
829
+ P,
924
830
  {
925
831
  ref: a,
926
832
  variant: "ghost",
927
- as: G,
833
+ as: W,
928
834
  "aria-label": "Close",
929
835
  onClick: (i) => {
930
- o(), t == null || t(i);
836
+ o(), e == null || e(i);
931
837
  },
932
- className: N.closeButton,
933
- ...e
838
+ className: f.closeButton,
839
+ ...t
934
840
  }
935
841
  );
936
842
  });
937
- Kt.displayName = "Drawer.CloseButton";
938
- const Qt = l(
939
- ({ action: t, children: e, tabs: a, className: o, ...r }, i) => /* @__PURE__ */ y(
843
+ Ke.displayName = "Drawer.CloseButton";
844
+ const Qe = l(
845
+ ({ action: e, children: t, tabs: a, className: o, ...r }, i) => /* @__PURE__ */ y(
940
846
  "div",
941
847
  {
942
848
  ref: i,
943
- className: d(N.header, o),
849
+ className: d(f.header, o),
944
850
  ...r,
945
- ...t && { "data-action": "" },
851
+ ...e && { "data-action": "" },
946
852
  ...a && { "data-tabs": "" },
947
853
  children: [
948
- t ? /* @__PURE__ */ y(K, { children: [
949
- /* @__PURE__ */ s("div", { className: N.headerTop, children: t }),
950
- e && /* @__PURE__ */ s("div", { className: N.headerContent, children: e })
951
- ] }) : /* @__PURE__ */ s("div", { className: N.headerTop, children: e }),
854
+ e ? /* @__PURE__ */ y(K, { children: [
855
+ /* @__PURE__ */ s("div", { className: f.headerTop, children: e }),
856
+ t && /* @__PURE__ */ s("div", { className: f.headerContent, children: t })
857
+ ] }) : /* @__PURE__ */ s("div", { className: f.headerTop, children: t }),
952
858
  a
953
859
  ]
954
860
  }
955
861
  )
956
862
  );
957
- Qt.displayName = "Drawer.Header";
958
- const pa = Object.assign(Jt, {
959
- Body: W,
960
- CloseButton: Kt,
863
+ Qe.displayName = "Drawer.Header";
864
+ const aa = Object.assign(Je, {
865
+ Body: U,
866
+ CloseButton: Ke,
961
867
  Footer: Y,
962
- Header: Qt,
963
- Title: V
964
- }), Yt = w(void 0), Ke = () => {
965
- const t = S(Yt);
966
- if (!t)
868
+ Header: Qe,
869
+ Title: _
870
+ }), Ye = L(void 0), jt = () => {
871
+ const e = I(Ye);
872
+ if (!e)
967
873
  throw new Error("Modal subcomponents must be used within Modal");
968
- return t;
969
- }, Zt = l(
970
- ({ open: t, onOpenChange: e, size: a, position: o, children: r, className: i, ...c }, m) => {
971
- const u = _({ size: a, position: o });
972
- return /* @__PURE__ */ s(Yt.Provider, { value: { onClose: () => e == null ? void 0 : e(!1) }, children: /* @__PURE__ */ s(
874
+ return e;
875
+ }, Ze = l(
876
+ ({ open: e, onOpenChange: t, size: a, position: o, children: r, className: i, ...c }, m) => {
877
+ const u = N({ size: a, position: o });
878
+ return /* @__PURE__ */ s(Ye.Provider, { value: { onClose: () => t == null ? void 0 : t(!1) }, children: /* @__PURE__ */ s(
973
879
  J,
974
880
  {
975
881
  ref: m,
976
- isOpen: t,
977
- onOpenChange: e,
978
- className: d(t && He.modal, i),
882
+ isOpen: e,
883
+ onOpenChange: t,
884
+ className: d(e && ut.modal, i),
979
885
  "data-modal": "",
980
886
  ...u,
981
887
  ...c,
982
- children: /* @__PURE__ */ s("div", { className: N.content, children: r })
888
+ children: /* @__PURE__ */ s("div", { className: f.content, children: r })
983
889
  }
984
890
  ) });
985
891
  }
986
892
  );
987
- Zt.displayName = "Modal";
988
- const Ot = l(({ onClick: t, ...e }, a) => {
989
- const { onClose: o } = Ke();
893
+ Ze.displayName = "Modal";
894
+ const Oe = l(({ onClick: e, ...t }, a) => {
895
+ const { onClose: o } = jt();
990
896
  return /* @__PURE__ */ s(
991
- C,
897
+ P,
992
898
  {
993
899
  ref: a,
994
900
  variant: "ghost",
995
- as: G,
901
+ as: W,
996
902
  "aria-label": "Close",
997
903
  onClick: (i) => {
998
- o(), t == null || t(i);
904
+ o(), e == null || e(i);
999
905
  },
1000
- className: N.closeButton,
1001
- ...e
906
+ className: f.closeButton,
907
+ ...t
1002
908
  }
1003
909
  );
1004
910
  });
1005
- Ot.displayName = "Modal.CloseButton";
1006
- const te = l(({ action: t, children: e, className: a, ...o }, r) => /* @__PURE__ */ y("div", { ref: r, className: d(N.header, "modal-header", a), "data-modal-header": "", ...o, children: [
1007
- /* @__PURE__ */ s("div", { children: e }),
1008
- t && /* @__PURE__ */ s("div", { className: "modal-header-action", children: t })
911
+ Oe.displayName = "Modal.CloseButton";
912
+ const et = l(({ action: e, children: t, className: a, ...o }, r) => /* @__PURE__ */ y("div", { ref: r, className: d(f.header, "modal-header", a), "data-modal-header": "", ...o, children: [
913
+ /* @__PURE__ */ s("div", { children: t }),
914
+ e && /* @__PURE__ */ s("div", { className: "modal-header-action", children: e })
1009
915
  ] }));
1010
- te.displayName = "Modal.Header";
1011
- const ee = l(
1012
- ({ align: t = "end", children: e, className: a, ...o }, r) => /* @__PURE__ */ s(
916
+ et.displayName = "Modal.Header";
917
+ const tt = l(
918
+ ({ align: e = "end", children: t, className: a, ...o }, r) => /* @__PURE__ */ s(
1013
919
  "div",
1014
920
  {
1015
921
  ref: r,
1016
- className: d(N.footer, "modal-footer", a),
922
+ className: d(f.footer, "modal-footer", a),
1017
923
  "data-modal-footer": "",
1018
- "data-align": t,
924
+ "data-align": e,
1019
925
  ...o,
1020
- children: e
926
+ children: t
1021
927
  }
1022
928
  )
1023
929
  );
1024
- ee.displayName = "Modal.Footer";
1025
- const _a = Object.assign(Zt, {
1026
- Body: W,
1027
- CloseButton: Ot,
1028
- Footer: ee,
1029
- Header: te,
1030
- Title: V
1031
- }), ae = w(void 0), Qe = () => {
1032
- const t = S(ae);
1033
- if (!t)
930
+ tt.displayName = "Modal.Footer";
931
+ const sa = Object.assign(Ze, {
932
+ Body: U,
933
+ CloseButton: Oe,
934
+ Footer: tt,
935
+ Header: et,
936
+ Title: _
937
+ }), at = L(void 0), Pt = () => {
938
+ const e = I(at);
939
+ if (!e)
1034
940
  throw new Error("BottomSheet subcomponents must be used within BottomSheet");
1035
- return t;
1036
- }, se = l(
1037
- ({ open: t, onOpenChange: e, children: a, className: o, ...r }, i) => /* @__PURE__ */ s(ae.Provider, { value: { onClose: () => e == null ? void 0 : e(!1) }, children: /* @__PURE__ */ s(J, { ref: i, isOpen: t, onOpenChange: e, className: d(De.bottomSheet, o), ...r, children: /* @__PURE__ */ s("div", { className: N.content, children: a }) }) })
941
+ return e;
942
+ }, st = l(
943
+ ({ open: e, onOpenChange: t, children: a, className: o, ...r }, i) => /* @__PURE__ */ s(at.Provider, { value: { onClose: () => t == null ? void 0 : t(!1) }, children: /* @__PURE__ */ s(
944
+ J,
945
+ {
946
+ ref: i,
947
+ isOpen: e,
948
+ onOpenChange: t,
949
+ className: d(bt.bottomSheet, o),
950
+ ...r,
951
+ children: /* @__PURE__ */ s("div", { className: f.content, children: a })
952
+ }
953
+ ) })
1038
954
  );
1039
- se.displayName = "BottomSheet";
1040
- const oe = l(
1041
- ({ onClick: t, ...e }, a) => {
1042
- const { onClose: o } = Qe();
955
+ st.displayName = "BottomSheet";
956
+ const ot = l(
957
+ ({ onClick: e, ...t }, a) => {
958
+ const { onClose: o } = Pt();
1043
959
  return /* @__PURE__ */ s(
1044
- C,
960
+ P,
1045
961
  {
1046
- as: G,
962
+ as: W,
1047
963
  ref: a,
1048
964
  variant: "ghost",
1049
965
  "aria-label": "Close",
1050
966
  onClick: (i) => {
1051
- o(), t == null || t(i);
967
+ o(), e == null || e(i);
1052
968
  },
1053
- className: N.closeButton,
1054
- ...e
969
+ className: f.closeButton,
970
+ ...t
1055
971
  }
1056
972
  );
1057
973
  }
1058
974
  );
1059
- oe.displayName = "BottomSheet.CloseButton";
1060
- const ya = Object.assign(se, {
1061
- Body: W,
1062
- CloseButton: oe,
975
+ ot.displayName = "BottomSheet.CloseButton";
976
+ const oa = Object.assign(st, {
977
+ Body: U,
978
+ CloseButton: ot,
1063
979
  Footer: Y,
1064
- Header: be,
1065
- Title: V
980
+ Header: gt,
981
+ Title: _
1066
982
  });
1067
983
  export {
1068
- ba as AppLayout,
1069
- ia as AttributeList,
1070
- Ce as AvatarGroup,
1071
- $e as BadgeGroup,
1072
- ua as BottomBar,
1073
- ya as BottomSheet,
1074
- Ge as ButtonGroup,
1075
- la as Card,
984
+ ta as AppLayout,
985
+ Jt as AttributeList,
986
+ Bt as AvatarGroup,
987
+ It as BadgeGroup,
988
+ ea as BottomBar,
989
+ oa as BottomSheet,
990
+ Rt as ButtonGroup,
991
+ Kt as Card,
1076
992
  J as Dialog,
1077
- pa as Drawer,
1078
- Ue as Menu,
1079
- _a as Modal,
1080
- ca as Nav,
1081
- xt as NavItem,
1082
- Pe as NoResults,
1083
- ma as Sidebar,
1084
- na as Table,
1085
- ra as Tabs,
1086
- da as TopBar
993
+ aa as Drawer,
994
+ Dt as Menu,
995
+ sa as Modal,
996
+ Zt as Nav,
997
+ xe as NavItem,
998
+ At as NoResults,
999
+ Ot as Sidebar,
1000
+ Qt as Table,
1001
+ qt as Tabs,
1002
+ Yt as TopBar
1087
1003
  };