@rafal.lemieszewski/tide-ui 0.84.2 → 0.84.3
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/cjs/components/fundamental/breadcrumb.cjs +1 -1
- package/dist/cjs/components/fundamental/country-dropdown.cjs +1 -1
- package/dist/cjs/components/fundamental/icon.cjs +1 -1
- package/dist/cjs/components/fundamental/tree.cjs +1 -1
- package/dist/cjs/components/product/data-table.cjs +1 -1
- package/dist/cjs/lib/index.cjs +1 -1
- package/dist/es/components/fundamental/accordion.js +3 -3
- package/dist/es/components/fundamental/alert-dialog.js +5 -5
- package/dist/es/components/fundamental/alert.js +3 -3
- package/dist/es/components/fundamental/avatar-group.js +1 -1
- package/dist/es/components/fundamental/avatar.js +3 -3
- package/dist/es/components/fundamental/badge.js +1 -1
- package/dist/es/components/fundamental/breadcrumb.js +6 -6
- package/dist/es/components/fundamental/button-group.js +3 -3
- package/dist/es/components/fundamental/button.js +1 -1
- package/dist/es/components/fundamental/card.js +6 -6
- package/dist/es/components/fundamental/checkbox.js +1 -1
- package/dist/es/components/fundamental/collapsible.js +2 -2
- package/dist/es/components/fundamental/command.js +7 -7
- package/dist/es/components/fundamental/date-picker.js +2 -2
- package/dist/es/components/fundamental/dialog.js +3 -3
- package/dist/es/components/fundamental/drawer.js +4 -4
- package/dist/es/components/fundamental/dropdown-menu.js +25 -25
- package/dist/es/components/fundamental/empty.js +6 -6
- package/dist/es/components/fundamental/file-upload.js +9 -9
- package/dist/es/components/fundamental/form-field.js +15 -15
- package/dist/es/components/fundamental/hover-card.js +1 -1
- package/dist/es/components/fundamental/icon.js +115 -120
- package/dist/es/components/fundamental/input-group.js +6 -6
- package/dist/es/components/fundamental/input.js +1 -1
- package/dist/es/components/fundamental/kbd.js +2 -2
- package/dist/es/components/fundamental/label.js +1 -1
- package/dist/es/components/fundamental/month-picker.js +1 -1
- package/dist/es/components/fundamental/pagination.js +1 -1
- package/dist/es/components/fundamental/popover.js +1 -1
- package/dist/es/components/fundamental/progress.js +1 -1
- package/dist/es/components/fundamental/radio-group.js +2 -2
- package/dist/es/components/fundamental/scroll-area.js +2 -2
- package/dist/es/components/fundamental/select.js +5 -5
- package/dist/es/components/fundamental/separator.js +1 -1
- package/dist/es/components/fundamental/sheet.js +4 -4
- package/dist/es/components/fundamental/sidebar.js +25 -25
- package/dist/es/components/fundamental/skeleton.js +5 -5
- package/dist/es/components/fundamental/slider.js +1 -1
- package/dist/es/components/fundamental/spinner.js +5 -5
- package/dist/es/components/fundamental/switch.js +1 -1
- package/dist/es/components/fundamental/table.js +10 -10
- package/dist/es/components/fundamental/tabs.js +5 -5
- package/dist/es/components/fundamental/tag.js +2 -2
- package/dist/es/components/fundamental/text-link.js +1 -1
- package/dist/es/components/fundamental/textarea.js +1 -1
- package/dist/es/components/fundamental/toggle-group.js +2 -2
- package/dist/es/components/fundamental/toggle.js +1 -1
- package/dist/es/components/fundamental/tooltip.js +1 -1
- package/dist/es/components/fundamental/tree.js +2 -2
- package/dist/es/components/product/activity-log.js +12 -12
- package/dist/es/components/product/attributes-list.js +13 -13
- package/dist/es/components/product/bookmarks.js +2 -2
- package/dist/es/components/product/data-table.js +365 -351
- package/dist/es/components/product/filters.js +3 -3
- package/dist/es/components/product/fixture-status.js +1 -1
- package/dist/es/lib/index.js +328 -368
- package/dist/types/bookmarks.d.ts +2 -0
- package/dist/types/calendar.d.ts +2 -0
- package/dist/types/chart.d.ts +2 -0
- package/dist/types/components/core-index.d.cts +135 -0
- package/dist/types/components/core-index.d.ts +135 -0
- package/dist/types/components/fundamental/avatar.d.ts +3 -3
- package/dist/types/components/fundamental/badge.d.ts +2 -2
- package/dist/types/components/fundamental/button-group.d.ts +1 -1
- package/dist/types/components/fundamental/calendar.d.cts +7 -0
- package/dist/types/components/fundamental/chart.d.cts +95 -0
- package/dist/types/components/fundamental/command.d.ts +1 -1
- package/dist/types/components/fundamental/country-dropdown.d.cts +34 -0
- package/dist/types/components/fundamental/date-picker.d.cts +30 -0
- package/dist/types/components/fundamental/form-field.d.ts +1 -1
- package/dist/types/components/fundamental/resizable.d.cts +23 -0
- package/dist/types/components/fundamental/resizable.d.ts +1 -1
- package/dist/types/components/fundamental/spinner.d.ts +1 -1
- package/dist/types/components/fundamental/table.d.ts +3 -3
- package/dist/types/components/product/bookmarks.d.cts +90 -0
- package/dist/types/components/product/data-table.d.cts +802 -0
- package/dist/types/components/product/filters.d.cts +124 -0
- package/dist/types/components/product/linked-chart.d.cts +22 -0
- package/dist/types/country-dropdown.d.ts +2 -0
- package/dist/types/data-table.d.ts +2 -0
- package/dist/types/date-picker.d.ts +2 -0
- package/dist/types/filters.d.ts +2 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/lib/index.d.cts +104 -3
- package/dist/types/lib/index.d.ts +104 -3
- package/dist/types/linked-chart.d.ts +2 -0
- package/dist/types/resizable.d.ts +2 -0
- package/package.json +94 -12
- /package/dist/cjs/components/{index.cjs → core-index.cjs} +0 -0
- /package/dist/es/components/{index.js → core-index.js} +0 -0
|
@@ -2,7 +2,7 @@ import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import * as s from "react";
|
|
3
3
|
import * as r from "@radix-ui/react-scroll-area";
|
|
4
4
|
import { cn as t } from "../../lib/utils.js";
|
|
5
|
-
const m = s.forwardRef(({ className: o, children: l, ...a }, c) => /* @__PURE__ */ d(
|
|
5
|
+
const m = /* @__PURE__ */ s.forwardRef(({ className: o, children: l, ...a }, c) => /* @__PURE__ */ d(
|
|
6
6
|
r.Root,
|
|
7
7
|
{
|
|
8
8
|
ref: c,
|
|
@@ -16,7 +16,7 @@ const m = s.forwardRef(({ className: o, children: l, ...a }, c) => /* @__PURE__
|
|
|
16
16
|
}
|
|
17
17
|
));
|
|
18
18
|
m.displayName = r.Root.displayName;
|
|
19
|
-
const i = s.forwardRef(({ className: o, orientation: l = "vertical", ...a }, c) => /* @__PURE__ */ e(
|
|
19
|
+
const i = /* @__PURE__ */ s.forwardRef(({ className: o, orientation: l = "vertical", ...a }, c) => /* @__PURE__ */ e(
|
|
20
20
|
r.ScrollAreaScrollbar,
|
|
21
21
|
{
|
|
22
22
|
ref: c,
|
|
@@ -46,7 +46,7 @@ const u = d(
|
|
|
46
46
|
"px-2 py-1 [&]:text-body-medium-sm text-[var(--color-text-tertiary)]"
|
|
47
47
|
), h = d(
|
|
48
48
|
"h-px bg-[var(--color-border-primary-subtle)] my-[var(--space-xs)]"
|
|
49
|
-
), R = e.Root, j = e.Group, k = e.Value, y = l.forwardRef(({ className: t, variant: o, size: a, children: i, ...c }, p) => {
|
|
49
|
+
), R = e.Root, j = e.Group, k = e.Value, y = /* @__PURE__ */ l.forwardRef(({ className: t, variant: o, size: a, children: i, ...c }, p) => {
|
|
50
50
|
const b = a || "m";
|
|
51
51
|
return /* @__PURE__ */ m(
|
|
52
52
|
e.Trigger,
|
|
@@ -62,7 +62,7 @@ const u = d(
|
|
|
62
62
|
);
|
|
63
63
|
});
|
|
64
64
|
y.displayName = e.Trigger.displayName;
|
|
65
|
-
const g = l.forwardRef(({ className: t, children: o, position: a = "popper", modal: i = !1, ...c }, p) => /* @__PURE__ */ r(e.Portal, { children: /* @__PURE__ */ m(
|
|
65
|
+
const g = /* @__PURE__ */ l.forwardRef(({ className: t, children: o, position: a = "popper", modal: i = !1, ...c }, p) => /* @__PURE__ */ r(e.Portal, { children: /* @__PURE__ */ m(
|
|
66
66
|
e.Content,
|
|
67
67
|
{
|
|
68
68
|
ref: p,
|
|
@@ -90,7 +90,7 @@ const g = l.forwardRef(({ className: t, children: o, position: a = "popper", mod
|
|
|
90
90
|
}
|
|
91
91
|
) }));
|
|
92
92
|
g.displayName = e.Content.displayName;
|
|
93
|
-
const w = l.forwardRef(({ className: t, children: o, ...a }, i) => /* @__PURE__ */ m(
|
|
93
|
+
const w = /* @__PURE__ */ l.forwardRef(({ className: t, children: o, ...a }, i) => /* @__PURE__ */ m(
|
|
94
94
|
e.Item,
|
|
95
95
|
{
|
|
96
96
|
ref: i,
|
|
@@ -103,7 +103,7 @@ const w = l.forwardRef(({ className: t, children: o, ...a }, i) => /* @__PURE__
|
|
|
103
103
|
}
|
|
104
104
|
));
|
|
105
105
|
w.displayName = e.Item.displayName;
|
|
106
|
-
const N = l.forwardRef(({ className: t, ...o }, a) => /* @__PURE__ */ r(
|
|
106
|
+
const N = /* @__PURE__ */ l.forwardRef(({ className: t, ...o }, a) => /* @__PURE__ */ r(
|
|
107
107
|
e.Label,
|
|
108
108
|
{
|
|
109
109
|
ref: a,
|
|
@@ -112,7 +112,7 @@ const N = l.forwardRef(({ className: t, ...o }, a) => /* @__PURE__ */ r(
|
|
|
112
112
|
}
|
|
113
113
|
));
|
|
114
114
|
N.displayName = e.Label.displayName;
|
|
115
|
-
const S = l.forwardRef(({ className: t, ...o }, a) => /* @__PURE__ */ r(
|
|
115
|
+
const S = /* @__PURE__ */ l.forwardRef(({ className: t, ...o }, a) => /* @__PURE__ */ r(
|
|
116
116
|
e.Separator,
|
|
117
117
|
{
|
|
118
118
|
ref: a,
|
|
@@ -3,7 +3,7 @@ import * as p from "react";
|
|
|
3
3
|
import * as m from "@radix-ui/react-separator";
|
|
4
4
|
import { cn as l } from "../../lib/utils.js";
|
|
5
5
|
import { Icon as c } from "./icon.js";
|
|
6
|
-
const f = p.forwardRef(
|
|
6
|
+
const f = /* @__PURE__ */ p.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
className: t,
|
|
9
9
|
layout: i = "vertical",
|
|
@@ -6,7 +6,7 @@ import { cn as l } from "../../lib/utils.js";
|
|
|
6
6
|
import { Button as S } from "./button.js";
|
|
7
7
|
const c = i.createContext({ overlay: !1 }), w = ({ modal: t, overlay: e = !1, ...r }) => /* @__PURE__ */ o(c.Provider, { value: { overlay: e }, children: /* @__PURE__ */ o(a.Root, { modal: t ?? e, ...r }) });
|
|
8
8
|
w.displayName = "Sheet";
|
|
9
|
-
const V = a.Trigger, B = a.Close, C = a.Portal, m = i.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
9
|
+
const V = a.Trigger, B = a.Close, C = a.Portal, m = /* @__PURE__ */ i.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
10
10
|
a.Overlay,
|
|
11
11
|
{
|
|
12
12
|
className: l(
|
|
@@ -33,7 +33,7 @@ const D = g(
|
|
|
33
33
|
side: "right"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
), O = i.forwardRef(({ side: t = "right", className: e, children: r, showClose: p = !0, dismissible: d = !0, overlay: f, onPointerDownOutside: v, onInteractOutside: u, onFocusOutside: h, ...y }, x) => {
|
|
36
|
+
), O = /* @__PURE__ */ i.forwardRef(({ side: t = "right", className: e, children: r, showClose: p = !0, dismissible: d = !0, overlay: f, onPointerDownOutside: v, onInteractOutside: u, onFocusOutside: h, ...y }, x) => {
|
|
37
37
|
const b = i.useContext(c), N = f ?? b.overlay;
|
|
38
38
|
return /* @__PURE__ */ n(C, { children: [
|
|
39
39
|
N && /* @__PURE__ */ o(m, {}),
|
|
@@ -99,7 +99,7 @@ const R = ({
|
|
|
99
99
|
}
|
|
100
100
|
);
|
|
101
101
|
R.displayName = "SheetFooter";
|
|
102
|
-
const T = i.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
102
|
+
const T = /* @__PURE__ */ i.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
103
103
|
a.Title,
|
|
104
104
|
{
|
|
105
105
|
ref: r,
|
|
@@ -111,7 +111,7 @@ const T = i.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
|
111
111
|
}
|
|
112
112
|
));
|
|
113
113
|
T.displayName = a.Title.displayName;
|
|
114
|
-
const j = i.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
114
|
+
const j = /* @__PURE__ */ i.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
115
115
|
a.Description,
|
|
116
116
|
{
|
|
117
117
|
ref: r,
|
|
@@ -14,7 +14,7 @@ function E() {
|
|
|
14
14
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
15
15
|
return r;
|
|
16
16
|
}
|
|
17
|
-
const A = t.forwardRef(
|
|
17
|
+
const A = /* @__PURE__ */ t.forwardRef(
|
|
18
18
|
({ defaultOpen: r = !0, open: e, onOpenChange: a, className: o, style: i, children: l, ...u }, f) => {
|
|
19
19
|
const [p, m] = t.useState(r), [v, h] = t.useState(!1), [y, R] = t.useState(!1), g = e ?? p, w = t.useCallback(
|
|
20
20
|
(n) => {
|
|
@@ -66,7 +66,7 @@ const A = t.forwardRef(
|
|
|
66
66
|
}
|
|
67
67
|
);
|
|
68
68
|
A.displayName = "SidebarProvider";
|
|
69
|
-
const J = t.forwardRef(
|
|
69
|
+
const J = /* @__PURE__ */ t.forwardRef(
|
|
70
70
|
({
|
|
71
71
|
variant: r = "sidebar",
|
|
72
72
|
collapsible: e = "offcanvas",
|
|
@@ -139,7 +139,7 @@ const J = t.forwardRef(
|
|
|
139
139
|
}
|
|
140
140
|
);
|
|
141
141
|
J.displayName = "Sidebar";
|
|
142
|
-
const Q = t.forwardRef(({ className: r, onClick: e, ...a }, o) => {
|
|
142
|
+
const Q = /* @__PURE__ */ t.forwardRef(({ className: r, onClick: e, ...a }, o) => {
|
|
143
143
|
const { toggleSidebar: i } = E();
|
|
144
144
|
return /* @__PURE__ */ C(
|
|
145
145
|
O,
|
|
@@ -161,7 +161,7 @@ const Q = t.forwardRef(({ className: r, onClick: e, ...a }, o) => {
|
|
|
161
161
|
);
|
|
162
162
|
});
|
|
163
163
|
Q.displayName = "SidebarTrigger";
|
|
164
|
-
const Z = t.forwardRef(({ className: r, ...e }, a) => {
|
|
164
|
+
const Z = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => {
|
|
165
165
|
const { toggleSidebar: o } = E();
|
|
166
166
|
return /* @__PURE__ */ d(
|
|
167
167
|
"button",
|
|
@@ -186,7 +186,7 @@ const Z = t.forwardRef(({ className: r, ...e }, a) => {
|
|
|
186
186
|
);
|
|
187
187
|
});
|
|
188
188
|
Z.displayName = "SidebarRail";
|
|
189
|
-
const H = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
189
|
+
const H = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
190
190
|
"main",
|
|
191
191
|
{
|
|
192
192
|
ref: a,
|
|
@@ -199,7 +199,7 @@ const H = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
|
199
199
|
}
|
|
200
200
|
));
|
|
201
201
|
H.displayName = "SidebarInset";
|
|
202
|
-
const ee = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
202
|
+
const ee = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
203
203
|
"input",
|
|
204
204
|
{
|
|
205
205
|
ref: a,
|
|
@@ -212,7 +212,7 @@ const ee = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
|
212
212
|
}
|
|
213
213
|
));
|
|
214
214
|
ee.displayName = "SidebarInput";
|
|
215
|
-
const re = t.forwardRef(({ className: r, children: e, onOpenChange: a, shortcuts: o = ["⌘", "K"], ...i }, l) => /* @__PURE__ */ C(
|
|
215
|
+
const re = /* @__PURE__ */ t.forwardRef(({ className: r, children: e, onOpenChange: a, shortcuts: o = ["⌘", "K"], ...i }, l) => /* @__PURE__ */ C(
|
|
216
216
|
"button",
|
|
217
217
|
{
|
|
218
218
|
ref: l,
|
|
@@ -230,7 +230,7 @@ const re = t.forwardRef(({ className: r, children: e, onOpenChange: a, shortcuts
|
|
|
230
230
|
}
|
|
231
231
|
));
|
|
232
232
|
re.displayName = "SidebarSearchButton";
|
|
233
|
-
const ae = t.forwardRef(({ className: r, onOpenChange: e, shortcuts: a = ["⌘", "K"], ...o }, i) => /* @__PURE__ */ d(
|
|
233
|
+
const ae = /* @__PURE__ */ t.forwardRef(({ className: r, onOpenChange: e, shortcuts: a = ["⌘", "K"], ...o }, i) => /* @__PURE__ */ d(
|
|
234
234
|
"button",
|
|
235
235
|
{
|
|
236
236
|
ref: i,
|
|
@@ -245,7 +245,7 @@ const ae = t.forwardRef(({ className: r, onOpenChange: e, shortcuts: a = ["⌘",
|
|
|
245
245
|
}
|
|
246
246
|
));
|
|
247
247
|
ae.displayName = "SidebarSearchTrigger";
|
|
248
|
-
const te = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
248
|
+
const te = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
249
249
|
"div",
|
|
250
250
|
{
|
|
251
251
|
ref: a,
|
|
@@ -255,7 +255,7 @@ const te = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
|
255
255
|
}
|
|
256
256
|
));
|
|
257
257
|
te.displayName = "SidebarHeader";
|
|
258
|
-
const oe = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
258
|
+
const oe = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
259
259
|
"div",
|
|
260
260
|
{
|
|
261
261
|
ref: a,
|
|
@@ -265,7 +265,7 @@ const oe = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
|
265
265
|
}
|
|
266
266
|
));
|
|
267
267
|
oe.displayName = "SidebarFooter";
|
|
268
|
-
const de = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
268
|
+
const de = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
269
269
|
F,
|
|
270
270
|
{
|
|
271
271
|
ref: a,
|
|
@@ -275,7 +275,7 @@ const de = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
|
275
275
|
}
|
|
276
276
|
));
|
|
277
277
|
de.displayName = "SidebarSeparator";
|
|
278
|
-
const se = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
278
|
+
const se = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
279
279
|
"div",
|
|
280
280
|
{
|
|
281
281
|
ref: a,
|
|
@@ -288,7 +288,7 @@ const se = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
|
288
288
|
}
|
|
289
289
|
));
|
|
290
290
|
se.displayName = "SidebarContent";
|
|
291
|
-
const le = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
291
|
+
const le = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
292
292
|
"div",
|
|
293
293
|
{
|
|
294
294
|
ref: a,
|
|
@@ -298,7 +298,7 @@ const le = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
|
298
298
|
}
|
|
299
299
|
));
|
|
300
300
|
le.displayName = "SidebarGroup";
|
|
301
|
-
const ie = t.forwardRef(({ className: r, asChild: e = !1, ...a }, o) => /* @__PURE__ */ d(
|
|
301
|
+
const ie = /* @__PURE__ */ t.forwardRef(({ className: r, asChild: e = !1, ...a }, o) => /* @__PURE__ */ d(
|
|
302
302
|
"div",
|
|
303
303
|
{
|
|
304
304
|
ref: o,
|
|
@@ -312,7 +312,7 @@ const ie = t.forwardRef(({ className: r, asChild: e = !1, ...a }, o) => /* @__PU
|
|
|
312
312
|
}
|
|
313
313
|
));
|
|
314
314
|
ie.displayName = "SidebarGroupLabel";
|
|
315
|
-
const ne = t.forwardRef(({ className: r, asChild: e = !1, ...a }, o) => /* @__PURE__ */ d(
|
|
315
|
+
const ne = /* @__PURE__ */ t.forwardRef(({ className: r, asChild: e = !1, ...a }, o) => /* @__PURE__ */ d(
|
|
316
316
|
"button",
|
|
317
317
|
{
|
|
318
318
|
ref: o,
|
|
@@ -327,7 +327,7 @@ const ne = t.forwardRef(({ className: r, asChild: e = !1, ...a }, o) => /* @__PU
|
|
|
327
327
|
}
|
|
328
328
|
));
|
|
329
329
|
ne.displayName = "SidebarGroupAction";
|
|
330
|
-
const ce = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
330
|
+
const ce = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
331
331
|
"div",
|
|
332
332
|
{
|
|
333
333
|
ref: a,
|
|
@@ -337,7 +337,7 @@ const ce = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
|
337
337
|
}
|
|
338
338
|
));
|
|
339
339
|
ce.displayName = "SidebarGroupContent";
|
|
340
|
-
const ue = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
340
|
+
const ue = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
341
341
|
"ul",
|
|
342
342
|
{
|
|
343
343
|
ref: a,
|
|
@@ -347,7 +347,7 @@ const ue = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
|
347
347
|
}
|
|
348
348
|
));
|
|
349
349
|
ue.displayName = "SidebarMenu";
|
|
350
|
-
const be = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
350
|
+
const be = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
351
351
|
"li",
|
|
352
352
|
{
|
|
353
353
|
ref: a,
|
|
@@ -376,7 +376,7 @@ const pe = P(
|
|
|
376
376
|
size: "default"
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
|
-
), ve = t.forwardRef(
|
|
379
|
+
), ve = /* @__PURE__ */ t.forwardRef(
|
|
380
380
|
({
|
|
381
381
|
asChild: r = !1,
|
|
382
382
|
isActive: e = !1,
|
|
@@ -489,7 +489,7 @@ const pe = P(
|
|
|
489
489
|
}
|
|
490
490
|
);
|
|
491
491
|
ve.displayName = "SidebarMenuButton";
|
|
492
|
-
const fe = t.forwardRef(({ className: r, showOnHover: e = !1, size: a = "m", ...o }, i) => /* @__PURE__ */ d(
|
|
492
|
+
const fe = /* @__PURE__ */ t.forwardRef(({ className: r, showOnHover: e = !1, size: a = "m", ...o }, i) => /* @__PURE__ */ d(
|
|
493
493
|
O,
|
|
494
494
|
{
|
|
495
495
|
ref: i,
|
|
@@ -530,7 +530,7 @@ const fe = t.forwardRef(({ className: r, showOnHover: e = !1, size: a = "m", ...
|
|
|
530
530
|
}
|
|
531
531
|
));
|
|
532
532
|
fe.displayName = "SidebarMenuAction";
|
|
533
|
-
const me = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
533
|
+
const me = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
534
534
|
"div",
|
|
535
535
|
{
|
|
536
536
|
ref: a,
|
|
@@ -548,7 +548,7 @@ const me = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
|
548
548
|
}
|
|
549
549
|
));
|
|
550
550
|
me.displayName = "SidebarMenuBadge";
|
|
551
|
-
const ge = t.forwardRef(({ className: r, showIcon: e = !1, ...a }, o) => {
|
|
551
|
+
const ge = /* @__PURE__ */ t.forwardRef(({ className: r, showIcon: e = !1, ...a }, o) => {
|
|
552
552
|
const i = t.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
|
|
553
553
|
return /* @__PURE__ */ C(
|
|
554
554
|
"div",
|
|
@@ -573,7 +573,7 @@ const ge = t.forwardRef(({ className: r, showIcon: e = !1, ...a }, o) => {
|
|
|
573
573
|
);
|
|
574
574
|
});
|
|
575
575
|
ge.displayName = "SidebarMenuSkeleton";
|
|
576
|
-
const xe = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
576
|
+
const xe = /* @__PURE__ */ t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
577
577
|
"ul",
|
|
578
578
|
{
|
|
579
579
|
ref: a,
|
|
@@ -587,9 +587,9 @@ const xe = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ d(
|
|
|
587
587
|
}
|
|
588
588
|
));
|
|
589
589
|
xe.displayName = "SidebarMenuSub";
|
|
590
|
-
const he = t.forwardRef(({ ...r }, e) => /* @__PURE__ */ d("li", { ref: e, ...r }));
|
|
590
|
+
const he = /* @__PURE__ */ t.forwardRef(({ ...r }, e) => /* @__PURE__ */ d("li", { ref: e, ...r }));
|
|
591
591
|
he.displayName = "SidebarMenuSubItem";
|
|
592
|
-
const ye = t.forwardRef(({
|
|
592
|
+
const ye = /* @__PURE__ */ t.forwardRef(({
|
|
593
593
|
asChild: r = !1,
|
|
594
594
|
size: e = "m",
|
|
595
595
|
isActive: a = !1,
|
|
@@ -23,7 +23,7 @@ const g = b(
|
|
|
23
23
|
size: "m"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
), o = d.forwardRef(
|
|
26
|
+
), o = /* @__PURE__ */ d.forwardRef(
|
|
27
27
|
({
|
|
28
28
|
className: s,
|
|
29
29
|
variant: t,
|
|
@@ -73,7 +73,7 @@ const g = b(
|
|
|
73
73
|
}
|
|
74
74
|
);
|
|
75
75
|
o.displayName = "Skeleton";
|
|
76
|
-
const N = d.forwardRef(({ size: s = "m", className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
76
|
+
const N = /* @__PURE__ */ d.forwardRef(({ size: s = "m", className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
77
77
|
o,
|
|
78
78
|
{
|
|
79
79
|
ref: r,
|
|
@@ -88,7 +88,7 @@ const N = d.forwardRef(({ size: s = "m", className: t, ...a }, r) => /* @__PURE_
|
|
|
88
88
|
}
|
|
89
89
|
));
|
|
90
90
|
N.displayName = "SkeletonAvatar";
|
|
91
|
-
const S = d.forwardRef(({ size: s = "m", className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
91
|
+
const S = /* @__PURE__ */ d.forwardRef(({ size: s = "m", className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
92
92
|
o,
|
|
93
93
|
{
|
|
94
94
|
ref: r,
|
|
@@ -102,7 +102,7 @@ const S = d.forwardRef(({ size: s = "m", className: t, ...a }, r) => /* @__PURE_
|
|
|
102
102
|
}
|
|
103
103
|
));
|
|
104
104
|
S.displayName = "SkeletonButton";
|
|
105
|
-
const k = d.forwardRef(({ className: s, ...t }, a) => /* @__PURE__ */ p(
|
|
105
|
+
const k = /* @__PURE__ */ d.forwardRef(({ className: s, ...t }, a) => /* @__PURE__ */ p(
|
|
106
106
|
"div",
|
|
107
107
|
{
|
|
108
108
|
ref: a,
|
|
@@ -127,7 +127,7 @@ const k = d.forwardRef(({ className: s, ...t }, a) => /* @__PURE__ */ p(
|
|
|
127
127
|
}
|
|
128
128
|
));
|
|
129
129
|
k.displayName = "SkeletonCard";
|
|
130
|
-
const $ = d.forwardRef(({ className: s, rows: t = 5, columns: a = 4, ...r }, l) => /* @__PURE__ */ p(
|
|
130
|
+
const $ = /* @__PURE__ */ d.forwardRef(({ className: s, rows: t = 5, columns: a = 4, ...r }, l) => /* @__PURE__ */ p(
|
|
131
131
|
"div",
|
|
132
132
|
{
|
|
133
133
|
ref: l,
|
|
@@ -2,7 +2,7 @@ import { jsxs as n, jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import * as c from "react";
|
|
3
3
|
import * as r from "@radix-ui/react-slider";
|
|
4
4
|
import { cn as b } from "../../lib/utils.js";
|
|
5
|
-
const u = c.forwardRef(({ className: l, value: a, defaultValue: e, ...s }, d) => {
|
|
5
|
+
const u = /* @__PURE__ */ c.forwardRef(({ className: l, value: a, defaultValue: e, ...s }, d) => {
|
|
6
6
|
const i = (a || e || [0]).length;
|
|
7
7
|
return /* @__PURE__ */ n(
|
|
8
8
|
r.Root,
|
|
@@ -38,7 +38,7 @@ const x = b(
|
|
|
38
38
|
speed: "normal"
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
), p = d.forwardRef(
|
|
41
|
+
), p = /* @__PURE__ */ d.forwardRef(
|
|
42
42
|
({
|
|
43
43
|
className: o,
|
|
44
44
|
size: r,
|
|
@@ -71,7 +71,7 @@ const x = b(
|
|
|
71
71
|
)
|
|
72
72
|
);
|
|
73
73
|
p.displayName = "Spinner";
|
|
74
|
-
const y = d.forwardRef(
|
|
74
|
+
const y = /* @__PURE__ */ d.forwardRef(
|
|
75
75
|
({
|
|
76
76
|
className: o,
|
|
77
77
|
visible: r,
|
|
@@ -107,7 +107,7 @@ const y = d.forwardRef(
|
|
|
107
107
|
}
|
|
108
108
|
);
|
|
109
109
|
y.displayName = "LoadingOverlay";
|
|
110
|
-
const g = d.forwardRef(
|
|
110
|
+
const g = /* @__PURE__ */ d.forwardRef(
|
|
111
111
|
({
|
|
112
112
|
className: o,
|
|
113
113
|
width: r,
|
|
@@ -144,7 +144,7 @@ const g = d.forwardRef(
|
|
|
144
144
|
}
|
|
145
145
|
);
|
|
146
146
|
g.displayName = "Skeleton";
|
|
147
|
-
const w = d.forwardRef(
|
|
147
|
+
const w = /* @__PURE__ */ d.forwardRef(
|
|
148
148
|
({
|
|
149
149
|
className: o,
|
|
150
150
|
variant: r = "primary",
|
|
@@ -178,7 +178,7 @@ const w = d.forwardRef(
|
|
|
178
178
|
}
|
|
179
179
|
);
|
|
180
180
|
w.displayName = "Pulse";
|
|
181
|
-
const h = d.forwardRef(
|
|
181
|
+
const h = /* @__PURE__ */ d.forwardRef(
|
|
182
182
|
({
|
|
183
183
|
className: o,
|
|
184
184
|
total: r,
|
|
@@ -2,7 +2,7 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import * as i from "react";
|
|
3
3
|
import * as e from "@radix-ui/react-switch";
|
|
4
4
|
import { cn as a } from "../../lib/utils.js";
|
|
5
|
-
const c = i.forwardRef(({ className: s, ...o }, r) => /* @__PURE__ */ t(
|
|
5
|
+
const c = /* @__PURE__ */ i.forwardRef(({ className: s, ...o }, r) => /* @__PURE__ */ t(
|
|
6
6
|
e.Root,
|
|
7
7
|
{
|
|
8
8
|
className: a(
|
|
@@ -106,7 +106,7 @@ const u = c(
|
|
|
106
106
|
showBorder: !0
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
), g = d.forwardRef(
|
|
109
|
+
), g = /* @__PURE__ */ d.forwardRef(
|
|
110
110
|
({ className: t, size: e, ...r }, o) => /* @__PURE__ */ a("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ a(
|
|
111
111
|
"table",
|
|
112
112
|
{
|
|
@@ -117,7 +117,7 @@ const u = c(
|
|
|
117
117
|
) })
|
|
118
118
|
);
|
|
119
119
|
g.displayName = "Table";
|
|
120
|
-
const w = d.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
120
|
+
const w = /* @__PURE__ */ d.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
121
121
|
"thead",
|
|
122
122
|
{
|
|
123
123
|
ref: r,
|
|
@@ -129,7 +129,7 @@ const w = d.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
|
129
129
|
}
|
|
130
130
|
));
|
|
131
131
|
w.displayName = "TableHeader";
|
|
132
|
-
const N = d.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
132
|
+
const N = /* @__PURE__ */ d.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
133
133
|
"tbody",
|
|
134
134
|
{
|
|
135
135
|
ref: r,
|
|
@@ -138,7 +138,7 @@ const N = d.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
|
138
138
|
}
|
|
139
139
|
));
|
|
140
140
|
N.displayName = "TableBody";
|
|
141
|
-
const T = d.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
141
|
+
const T = /* @__PURE__ */ d.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
142
142
|
"tfoot",
|
|
143
143
|
{
|
|
144
144
|
ref: r,
|
|
@@ -150,7 +150,7 @@ const T = d.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
|
150
150
|
}
|
|
151
151
|
));
|
|
152
152
|
T.displayName = "TableFooter";
|
|
153
|
-
const p = d.forwardRef(
|
|
153
|
+
const p = /* @__PURE__ */ d.forwardRef(
|
|
154
154
|
({ className: t, variant: e, zebra: r = !1, zebraIndex: o = 0, showBorder: l = !0, ...n }, i) => {
|
|
155
155
|
const b = r && o % 2 === 1 ? "bg-[var(--color-background-neutral-subtlest)]" : "";
|
|
156
156
|
return /* @__PURE__ */ a(
|
|
@@ -168,7 +168,7 @@ const p = d.forwardRef(
|
|
|
168
168
|
}
|
|
169
169
|
);
|
|
170
170
|
p.displayName = "TableRow";
|
|
171
|
-
const x = d.forwardRef(
|
|
171
|
+
const x = /* @__PURE__ */ d.forwardRef(
|
|
172
172
|
({ className: t, size: e, align: r, numeric: o, showBorder: l = !0, ...n }, i) => /* @__PURE__ */ a(
|
|
173
173
|
"th",
|
|
174
174
|
{
|
|
@@ -179,7 +179,7 @@ const x = d.forwardRef(
|
|
|
179
179
|
)
|
|
180
180
|
);
|
|
181
181
|
x.displayName = "TableHead";
|
|
182
|
-
const h = d.forwardRef(
|
|
182
|
+
const h = /* @__PURE__ */ d.forwardRef(
|
|
183
183
|
({ className: t, size: e, align: r, verticalAlign: o, numeric: l, showBorder: n = !0, showRowBorder: i = !1, ...b }, f) => /* @__PURE__ */ a(
|
|
184
184
|
"td",
|
|
185
185
|
{
|
|
@@ -190,7 +190,7 @@ const h = d.forwardRef(
|
|
|
190
190
|
)
|
|
191
191
|
);
|
|
192
192
|
h.displayName = "TableCell";
|
|
193
|
-
const R = d.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
193
|
+
const R = /* @__PURE__ */ d.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
194
194
|
"caption",
|
|
195
195
|
{
|
|
196
196
|
ref: r,
|
|
@@ -199,7 +199,7 @@ const R = d.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
|
199
199
|
}
|
|
200
200
|
));
|
|
201
201
|
R.displayName = "TableCaption";
|
|
202
|
-
const z = d.forwardRef(
|
|
202
|
+
const z = /* @__PURE__ */ d.forwardRef(
|
|
203
203
|
({ className: t, sortable: e = !1, sorted: r = !1, onSort: o, children: l, ...n }, i) => /* @__PURE__ */ a(
|
|
204
204
|
x,
|
|
205
205
|
{
|
|
@@ -225,7 +225,7 @@ const z = d.forwardRef(
|
|
|
225
225
|
)
|
|
226
226
|
);
|
|
227
227
|
z.displayName = "TableSortHeader";
|
|
228
|
-
const B = d.forwardRef(({ className: t, colSpan: e, children: r, ...o }, l) => /* @__PURE__ */ a(
|
|
228
|
+
const B = /* @__PURE__ */ d.forwardRef(({ className: t, colSpan: e, children: r, ...o }, l) => /* @__PURE__ */ a(
|
|
229
229
|
p,
|
|
230
230
|
{
|
|
231
231
|
ref: l,
|
|
@@ -101,7 +101,7 @@ const m = v(
|
|
|
101
101
|
fullWidth: !1
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
), f = o.forwardRef(({ className: a, ...e }, s) => /* @__PURE__ */ i(
|
|
104
|
+
), f = /* @__PURE__ */ o.forwardRef(({ className: a, ...e }, s) => /* @__PURE__ */ i(
|
|
105
105
|
t.Root,
|
|
106
106
|
{
|
|
107
107
|
ref: s,
|
|
@@ -110,7 +110,7 @@ const m = v(
|
|
|
110
110
|
}
|
|
111
111
|
));
|
|
112
112
|
f.displayName = t.Root.displayName;
|
|
113
|
-
const u = o.forwardRef(({ className: a, variant: e, size: s, fullWidth: r, ...c }, d) => /* @__PURE__ */ i(
|
|
113
|
+
const u = /* @__PURE__ */ o.forwardRef(({ className: a, variant: e, size: s, fullWidth: r, ...c }, d) => /* @__PURE__ */ i(
|
|
114
114
|
t.List,
|
|
115
115
|
{
|
|
116
116
|
ref: d,
|
|
@@ -119,7 +119,7 @@ const u = o.forwardRef(({ className: a, variant: e, size: s, fullWidth: r, ...c
|
|
|
119
119
|
}
|
|
120
120
|
));
|
|
121
121
|
u.displayName = t.List.displayName;
|
|
122
|
-
const g = o.forwardRef(({ className: a, variant: e, size: s, fullWidth: r, icon: c, children: d, ...n }, p) => /* @__PURE__ */ b(
|
|
122
|
+
const g = /* @__PURE__ */ o.forwardRef(({ className: a, variant: e, size: s, fullWidth: r, icon: c, children: d, ...n }, p) => /* @__PURE__ */ b(
|
|
123
123
|
t.Trigger,
|
|
124
124
|
{
|
|
125
125
|
ref: p,
|
|
@@ -132,7 +132,7 @@ const g = o.forwardRef(({ className: a, variant: e, size: s, fullWidth: r, icon:
|
|
|
132
132
|
}
|
|
133
133
|
));
|
|
134
134
|
g.displayName = t.Trigger.displayName;
|
|
135
|
-
const y = o.forwardRef(({ className: a, ...e }, s) => /* @__PURE__ */ i(
|
|
135
|
+
const y = /* @__PURE__ */ o.forwardRef(({ className: a, ...e }, s) => /* @__PURE__ */ i(
|
|
136
136
|
t.Content,
|
|
137
137
|
{
|
|
138
138
|
ref: s,
|
|
@@ -144,7 +144,7 @@ const y = o.forwardRef(({ className: a, ...e }, s) => /* @__PURE__ */ i(
|
|
|
144
144
|
}
|
|
145
145
|
));
|
|
146
146
|
y.displayName = t.Content.displayName;
|
|
147
|
-
const h = o.forwardRef(
|
|
147
|
+
const h = /* @__PURE__ */ o.forwardRef(
|
|
148
148
|
({ className: a, children: e, ...s }, r) => /* @__PURE__ */ i(
|
|
149
149
|
"div",
|
|
150
150
|
{
|
|
@@ -112,7 +112,7 @@ const E = {
|
|
|
112
112
|
closeMargin: "ml-1",
|
|
113
113
|
paddingX: "px-[var(--space-s)]"
|
|
114
114
|
}
|
|
115
|
-
}, b = p.forwardRef(
|
|
115
|
+
}, b = /* @__PURE__ */ p.forwardRef(
|
|
116
116
|
({
|
|
117
117
|
className: n,
|
|
118
118
|
size: s = "m",
|
|
@@ -236,7 +236,7 @@ const E = {
|
|
|
236
236
|
}
|
|
237
237
|
);
|
|
238
238
|
b.displayName = "Tag";
|
|
239
|
-
const G = p.forwardRef(
|
|
239
|
+
const G = /* @__PURE__ */ p.forwardRef(
|
|
240
240
|
({
|
|
241
241
|
className: n,
|
|
242
242
|
tags: s,
|
|
@@ -3,7 +3,7 @@ import * as e from "react";
|
|
|
3
3
|
import * as o from "@radix-ui/react-toggle-group";
|
|
4
4
|
import { cn as p } from "../../lib/utils.js";
|
|
5
5
|
import { toggleVariants as c } from "./toggle.js";
|
|
6
|
-
const l = e.createContext({}), f = e.forwardRef(({ className: t, size: r, children: a, ...m }, s) => /* @__PURE__ */ i(
|
|
6
|
+
const l = e.createContext({}), f = /* @__PURE__ */ e.forwardRef(({ className: t, size: r, children: a, ...m }, s) => /* @__PURE__ */ i(
|
|
7
7
|
o.Root,
|
|
8
8
|
{
|
|
9
9
|
ref: s,
|
|
@@ -13,7 +13,7 @@ const l = e.createContext({}), f = e.forwardRef(({ className: t, size: r, childr
|
|
|
13
13
|
}
|
|
14
14
|
));
|
|
15
15
|
f.displayName = o.Root.displayName;
|
|
16
|
-
const g = e.forwardRef(({ className: t, children: r, size: a, ...m }, s) => {
|
|
16
|
+
const g = /* @__PURE__ */ e.forwardRef(({ className: t, children: r, size: a, ...m }, s) => {
|
|
17
17
|
const n = e.useContext(l);
|
|
18
18
|
return /* @__PURE__ */ i(
|
|
19
19
|
o.Item,
|
|
@@ -36,7 +36,7 @@ const b = d(
|
|
|
36
36
|
size: "s"
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
), i = c.forwardRef(({ className: r, variant: a, size: t, ...o }, s) => /* @__PURE__ */ l(
|
|
39
|
+
), i = /* @__PURE__ */ c.forwardRef(({ className: r, variant: a, size: t, ...o }, s) => /* @__PURE__ */ l(
|
|
40
40
|
e.Root,
|
|
41
41
|
{
|
|
42
42
|
ref: s,
|
|
@@ -5,7 +5,7 @@ import { cn as s } from "../../lib/utils.js";
|
|
|
5
5
|
const p = ({
|
|
6
6
|
delayDuration: t = 400,
|
|
7
7
|
...e
|
|
8
|
-
}) => /* @__PURE__ */ a(o.Provider, { delayDuration: t, ...e }), c = o.Root, f = o.Trigger, m = d.forwardRef(({ className: t, sideOffset: e = 4, ...i }, r) => /* @__PURE__ */ a(
|
|
8
|
+
}) => /* @__PURE__ */ a(o.Provider, { delayDuration: t, ...e }), c = o.Root, f = o.Trigger, m = /* @__PURE__ */ d.forwardRef(({ className: t, sideOffset: e = 4, ...i }, r) => /* @__PURE__ */ a(
|
|
9
9
|
o.Content,
|
|
10
10
|
{
|
|
11
11
|
ref: r,
|
|
@@ -8,7 +8,7 @@ const T = n.createContext(null), R = () => {
|
|
|
8
8
|
if (!e)
|
|
9
9
|
throw new Error("useTree must be used within a TreeProvider");
|
|
10
10
|
return e;
|
|
11
|
-
}, k = n.forwardRef(
|
|
11
|
+
}, k = /* @__PURE__ */ n.forwardRef(
|
|
12
12
|
({ item: e, level: l }, c) => {
|
|
13
13
|
const {
|
|
14
14
|
selectedItemId: d,
|
|
@@ -90,7 +90,7 @@ const T = n.createContext(null), R = () => {
|
|
|
90
90
|
}
|
|
91
91
|
);
|
|
92
92
|
k.displayName = "TreeItem";
|
|
93
|
-
const L = n.forwardRef(
|
|
93
|
+
const L = /* @__PURE__ */ n.forwardRef(
|
|
94
94
|
({
|
|
95
95
|
data: e,
|
|
96
96
|
initialSelectedItemId: l,
|