@ledgerhq/lumen-ui-react 0.1.4 → 0.1.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/_virtual/dynamic-import-helper.js +1 -8
- package/dist/index.js +70 -69
- package/dist/lib/Components/BaseInput/BaseInput.js +72 -75
- package/dist/lib/Components/DataTable/DataTable.js +108 -108
- package/dist/lib/Components/Menu/Menu.js +50 -51
- package/dist/lib/Components/SideBar/SideBar.js +57 -57
- package/dist/lib/Components/Table/Table.js +50 -50
- package/dist/lib/Components/Table/utils/useThrottledScrollBottom.js +20 -21
- package/dist/lib/Components/ThemeProvider/ThemeProvider.d.ts +2 -9
- package/dist/lib/Components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
- package/dist/lib/Components/ThemeProvider/ThemeProvider.js +14 -25
- package/dist/lib/Components/ThemeProvider/ThemeProvider.types.d.ts +9 -3
- package/dist/lib/Components/ThemeProvider/ThemeProvider.types.d.ts.map +1 -1
- package/dist/lib/Components/ThemeProvider/ThemeProvider.types.js +8 -0
- package/dist/lib/Components/ThemeProvider/useRootColorModeSideEffect.d.ts +3 -3
- package/dist/lib/Components/ThemeProvider/useRootColorModeSideEffect.d.ts.map +1 -1
- package/dist/lib/Components/ThemeProvider/useRootColorModeSideEffect.js +20 -14
- package/dist/lib/Components/Tile/Tile.js +48 -48
- package/dist/lib/Components/TileButton/TileButton.js +24 -24
- package/dist/node_modules/react-i18next/dist/es/context.js +9 -12
- package/dist/package.json +1 -1
- package/dist/utils/useControllableState/useControllableState.js +17 -18
- package/package.json +1 -1
|
@@ -1,188 +1,188 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { createSafeContext as
|
|
3
|
-
import { flexRender as
|
|
4
|
-
import { useCallback as
|
|
5
|
-
import { TableRoot as
|
|
1
|
+
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
2
|
+
import { createSafeContext as y, cn as C } from "../../../libs/utils-shared/dist/index.js";
|
|
3
|
+
import { flexRender as m } from "@tanstack/react-table";
|
|
4
|
+
import { useCallback as x, Fragment as N } from "react";
|
|
5
|
+
import { TableRoot as B, Table as S, TableLoadingRow as k, TableHeader as H, TableHeaderRow as G, TableHeaderCell as v, TableSortButton as q, TableBody as T, TableGroupHeaderRow as I, TableRow as F, TableCell as M } from "../Table/Table.js";
|
|
6
6
|
import { SearchInput as j } from "../SearchInput/SearchInput.js";
|
|
7
|
-
const [P, d] =
|
|
8
|
-
table:
|
|
7
|
+
const [P, d] = y("DataTableContext"), V = ({
|
|
8
|
+
table: n,
|
|
9
9
|
appearance: r = "no-background",
|
|
10
|
-
paginationMode:
|
|
11
|
-
loading:
|
|
12
|
-
onScrollBottom:
|
|
13
|
-
onRowClick:
|
|
14
|
-
groupBy:
|
|
15
|
-
renderGroupHeader:
|
|
16
|
-
hideHeader:
|
|
17
|
-
children:
|
|
18
|
-
className:
|
|
10
|
+
paginationMode: o = "none",
|
|
11
|
+
loading: e = !1,
|
|
12
|
+
onScrollBottom: a,
|
|
13
|
+
onRowClick: t,
|
|
14
|
+
groupBy: c,
|
|
15
|
+
renderGroupHeader: i,
|
|
16
|
+
hideHeader: s = !1,
|
|
17
|
+
children: h,
|
|
18
|
+
className: f,
|
|
19
19
|
ref: w,
|
|
20
20
|
...R
|
|
21
|
-
}) => /* @__PURE__ */
|
|
21
|
+
}) => /* @__PURE__ */ l(
|
|
22
22
|
P,
|
|
23
23
|
{
|
|
24
24
|
value: {
|
|
25
|
-
hideHeader:
|
|
26
|
-
paginationMode:
|
|
27
|
-
table:
|
|
25
|
+
hideHeader: s,
|
|
26
|
+
paginationMode: o,
|
|
27
|
+
table: n,
|
|
28
28
|
appearance: r,
|
|
29
|
-
loading:
|
|
30
|
-
onScrollBottom:
|
|
31
|
-
onRowClick:
|
|
32
|
-
groupBy:
|
|
33
|
-
renderGroupHeader:
|
|
29
|
+
loading: e,
|
|
30
|
+
onScrollBottom: a,
|
|
31
|
+
onRowClick: t,
|
|
32
|
+
groupBy: c,
|
|
33
|
+
renderGroupHeader: i
|
|
34
34
|
},
|
|
35
|
-
children: /* @__PURE__ */
|
|
35
|
+
children: /* @__PURE__ */ l("div", { ref: w, className: C("flex flex-col", f), ...R, children: h })
|
|
36
36
|
}
|
|
37
37
|
);
|
|
38
38
|
V.displayName = "DataTableRoot";
|
|
39
39
|
const p = ({
|
|
40
|
-
className:
|
|
40
|
+
className: n,
|
|
41
41
|
ref: r,
|
|
42
|
-
...
|
|
42
|
+
...o
|
|
43
43
|
}) => {
|
|
44
|
-
const { table:
|
|
44
|
+
const { table: e } = d({
|
|
45
45
|
consumerName: "DataTableHeader",
|
|
46
46
|
contextRequired: !0
|
|
47
47
|
});
|
|
48
|
-
return /* @__PURE__ */
|
|
49
|
-
const
|
|
50
|
-
return /* @__PURE__ */
|
|
48
|
+
return /* @__PURE__ */ l(H, { ref: r, className: n, ...o, children: e.getHeaderGroups().map((a) => /* @__PURE__ */ l(G, { children: a.headers.map((t) => {
|
|
49
|
+
const c = t.column.columnDef.meta;
|
|
50
|
+
return /* @__PURE__ */ l(
|
|
51
51
|
v,
|
|
52
52
|
{
|
|
53
|
-
align:
|
|
54
|
-
hideBelow:
|
|
55
|
-
className:
|
|
56
|
-
trailingContent:
|
|
57
|
-
children:
|
|
53
|
+
align: c?.align,
|
|
54
|
+
hideBelow: c?.hideBelow,
|
|
55
|
+
className: c?.className,
|
|
56
|
+
trailingContent: c?.headerTrailingContent,
|
|
57
|
+
children: t.isPlaceholder ? null : t.column.getCanSort() ? /* @__PURE__ */ l(
|
|
58
58
|
q,
|
|
59
59
|
{
|
|
60
|
-
sortDirection:
|
|
61
|
-
onClick:
|
|
62
|
-
align:
|
|
63
|
-
children:
|
|
64
|
-
|
|
65
|
-
|
|
60
|
+
sortDirection: t.column.getIsSorted() || void 0,
|
|
61
|
+
onClick: t.column.getToggleSortingHandler(),
|
|
62
|
+
align: c?.align,
|
|
63
|
+
children: m(
|
|
64
|
+
t.column.columnDef.header,
|
|
65
|
+
t.getContext()
|
|
66
66
|
)
|
|
67
67
|
}
|
|
68
|
-
) :
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
) : m(
|
|
69
|
+
t.column.columnDef.header,
|
|
70
|
+
t.getContext()
|
|
71
71
|
)
|
|
72
72
|
},
|
|
73
|
-
|
|
73
|
+
t.id
|
|
74
74
|
);
|
|
75
|
-
}) },
|
|
75
|
+
}) }, a.id)) });
|
|
76
76
|
};
|
|
77
77
|
p.displayName = "DataTableHeader";
|
|
78
|
-
const J = ({ className:
|
|
78
|
+
const J = ({ className: n, ref: r, ...o }) => {
|
|
79
79
|
const {
|
|
80
|
-
appearance:
|
|
81
|
-
paginationMode:
|
|
82
|
-
hideHeader:
|
|
83
|
-
loading:
|
|
84
|
-
onScrollBottom:
|
|
85
|
-
groupBy:
|
|
80
|
+
appearance: e,
|
|
81
|
+
paginationMode: a,
|
|
82
|
+
hideHeader: t,
|
|
83
|
+
loading: c,
|
|
84
|
+
onScrollBottom: i,
|
|
85
|
+
groupBy: s
|
|
86
86
|
} = d({
|
|
87
87
|
consumerName: "DataTable",
|
|
88
88
|
contextRequired: !0
|
|
89
89
|
});
|
|
90
90
|
return /* @__PURE__ */ u(
|
|
91
|
-
|
|
91
|
+
B,
|
|
92
92
|
{
|
|
93
93
|
ref: r,
|
|
94
|
-
appearance:
|
|
95
|
-
loading:
|
|
96
|
-
onScrollBottom:
|
|
97
|
-
className:
|
|
98
|
-
...
|
|
94
|
+
appearance: e,
|
|
95
|
+
loading: c,
|
|
96
|
+
onScrollBottom: i,
|
|
97
|
+
className: n,
|
|
98
|
+
...o,
|
|
99
99
|
children: [
|
|
100
100
|
/* @__PURE__ */ u(S, { children: [
|
|
101
|
-
!
|
|
102
|
-
|
|
101
|
+
!t && /* @__PURE__ */ l(p, {}),
|
|
102
|
+
s ? /* @__PURE__ */ l(D, {}) : /* @__PURE__ */ l(g, {})
|
|
103
103
|
] }),
|
|
104
|
-
|
|
104
|
+
a === "infinite-scroll" && /* @__PURE__ */ l(k, {})
|
|
105
105
|
]
|
|
106
106
|
}
|
|
107
107
|
);
|
|
108
108
|
};
|
|
109
109
|
J.displayName = "DataTable";
|
|
110
|
-
const
|
|
111
|
-
const { table:
|
|
110
|
+
const g = ({ className: n, ref: r, ...o }) => {
|
|
111
|
+
const { table: e } = d({
|
|
112
112
|
consumerName: "DataTableBody",
|
|
113
113
|
contextRequired: !0
|
|
114
114
|
});
|
|
115
|
-
return /* @__PURE__ */
|
|
115
|
+
return /* @__PURE__ */ l(T, { ref: r, className: n, ...o, children: e.getRowModel().rows.map((a) => /* @__PURE__ */ l(b, { row: a }, a.id)) });
|
|
116
116
|
};
|
|
117
|
-
|
|
118
|
-
const K = (
|
|
119
|
-
const
|
|
120
|
-
let
|
|
121
|
-
for (const
|
|
122
|
-
const
|
|
123
|
-
(!
|
|
117
|
+
g.displayName = "DataTableBody";
|
|
118
|
+
const K = (n, r) => {
|
|
119
|
+
const o = [];
|
|
120
|
+
let e = null;
|
|
121
|
+
for (const a of n) {
|
|
122
|
+
const t = r(a);
|
|
123
|
+
(!e || e.key !== t) && (e = { key: t, rows: [], count: 0 }, o.push(e)), e.rows.push(a), e.count++;
|
|
124
124
|
}
|
|
125
|
-
return
|
|
126
|
-
},
|
|
127
|
-
className:
|
|
125
|
+
return o;
|
|
126
|
+
}, D = ({
|
|
127
|
+
className: n,
|
|
128
128
|
ref: r,
|
|
129
|
-
...
|
|
129
|
+
...o
|
|
130
130
|
}) => {
|
|
131
|
-
const { table:
|
|
131
|
+
const { table: e, groupBy: a, renderGroupHeader: t } = d({
|
|
132
132
|
consumerName: "DataTableGroupedBody",
|
|
133
133
|
contextRequired: !0
|
|
134
|
-
}),
|
|
135
|
-
return /* @__PURE__ */
|
|
136
|
-
/* @__PURE__ */
|
|
137
|
-
|
|
138
|
-
] },
|
|
134
|
+
}), c = K(e.getRowModel().rows, a);
|
|
135
|
+
return /* @__PURE__ */ l(T, { ref: r, className: n, ...o, children: c.map((i) => /* @__PURE__ */ u(N, { children: [
|
|
136
|
+
/* @__PURE__ */ l(I, { colSpan: i.rows[0].getVisibleCells().length, children: t ? t({ row: i.rows[0], count: i.count }) : i.key }),
|
|
137
|
+
i.rows.map((s) => /* @__PURE__ */ l(b, { row: s }, s.id))
|
|
138
|
+
] }, i.key)) });
|
|
139
139
|
};
|
|
140
|
-
|
|
141
|
-
const
|
|
140
|
+
D.displayName = "DataTableGroupedBody";
|
|
141
|
+
const b = ({ row: n }) => {
|
|
142
142
|
const { onRowClick: r } = d({
|
|
143
143
|
consumerName: "DataTableRow",
|
|
144
144
|
contextRequired: !0
|
|
145
|
-
}),
|
|
146
|
-
return /* @__PURE__ */
|
|
145
|
+
}), o = !!r;
|
|
146
|
+
return /* @__PURE__ */ l(
|
|
147
147
|
F,
|
|
148
148
|
{
|
|
149
|
-
clickable:
|
|
150
|
-
onClick:
|
|
151
|
-
children:
|
|
152
|
-
const
|
|
153
|
-
return /* @__PURE__ */
|
|
149
|
+
clickable: o,
|
|
150
|
+
onClick: o ? () => r?.(n) : void 0,
|
|
151
|
+
children: n.getVisibleCells().map((e) => {
|
|
152
|
+
const a = e.column.columnDef.meta;
|
|
153
|
+
return /* @__PURE__ */ l(
|
|
154
154
|
M,
|
|
155
155
|
{
|
|
156
|
-
align:
|
|
157
|
-
hideBelow:
|
|
158
|
-
className:
|
|
159
|
-
children:
|
|
156
|
+
align: a?.align,
|
|
157
|
+
hideBelow: a?.hideBelow,
|
|
158
|
+
className: a?.className,
|
|
159
|
+
children: m(e.column.columnDef.cell, e.getContext())
|
|
160
160
|
},
|
|
161
|
-
|
|
161
|
+
e.id
|
|
162
162
|
);
|
|
163
163
|
})
|
|
164
164
|
}
|
|
165
165
|
);
|
|
166
166
|
};
|
|
167
|
-
|
|
167
|
+
b.displayName = "DataTableRow";
|
|
168
168
|
const L = ({
|
|
169
|
-
onChange:
|
|
169
|
+
onChange: n,
|
|
170
170
|
...r
|
|
171
171
|
}) => {
|
|
172
|
-
const { table:
|
|
172
|
+
const { table: o } = d({
|
|
173
173
|
consumerName: "DataTableGlobalSearchInput",
|
|
174
174
|
contextRequired: !0
|
|
175
|
-
}),
|
|
176
|
-
(
|
|
177
|
-
|
|
175
|
+
}), e = x(
|
|
176
|
+
(a) => {
|
|
177
|
+
o.setGlobalFilter(a.target.value), n?.(a);
|
|
178
178
|
},
|
|
179
|
-
[
|
|
179
|
+
[o, n]
|
|
180
180
|
);
|
|
181
|
-
return /* @__PURE__ */
|
|
181
|
+
return /* @__PURE__ */ l(
|
|
182
182
|
j,
|
|
183
183
|
{
|
|
184
|
-
value:
|
|
185
|
-
onChange:
|
|
184
|
+
value: o.getState().globalFilter ?? "",
|
|
185
|
+
onChange: e,
|
|
186
186
|
...r
|
|
187
187
|
}
|
|
188
188
|
);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as a, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { cn as o } from "../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import * as t from "@radix-ui/react-dropdown-menu";
|
|
4
|
-
import { Check as
|
|
5
|
-
import { Divider as
|
|
6
|
-
import { ChevronRight as
|
|
7
|
-
const
|
|
4
|
+
import { Check as u } from "../../Symbols/Icons/Check.js";
|
|
5
|
+
import { Divider as p } from "../Divider/Divider.js";
|
|
6
|
+
import { ChevronRight as b } from "../../Symbols/Icons/ChevronRight.js";
|
|
7
|
+
const c = o(
|
|
8
8
|
"z-menu min-w-160 overflow-hidden rounded-sm bg-muted p-8",
|
|
9
9
|
"shadow-sm",
|
|
10
10
|
"data-[state=open]:animate-fade-in",
|
|
@@ -17,14 +17,14 @@ const p = o(
|
|
|
17
17
|
"focus:bg-base-transparent-hover",
|
|
18
18
|
"active:bg-base-transparent-pressed",
|
|
19
19
|
"data-disabled:pointer-events-none data-disabled:text-disabled"
|
|
20
|
-
),
|
|
20
|
+
), N = o("px-8 py-4 body-3-semi-bold text-muted"), g = o(
|
|
21
21
|
m,
|
|
22
22
|
"data-[state=open]:bg-base-transparent-hover"
|
|
23
23
|
);
|
|
24
|
-
function
|
|
24
|
+
function P({ ...e }) {
|
|
25
25
|
return /* @__PURE__ */ a(t.Root, { "data-slot": "menu", ...e });
|
|
26
26
|
}
|
|
27
|
-
const
|
|
27
|
+
const y = ({ ref: e, ...n }) => /* @__PURE__ */ a(
|
|
28
28
|
t.Trigger,
|
|
29
29
|
{
|
|
30
30
|
ref: e,
|
|
@@ -32,24 +32,24 @@ const f = ({ ref: e, ...n }) => /* @__PURE__ */ a(
|
|
|
32
32
|
...n
|
|
33
33
|
}
|
|
34
34
|
);
|
|
35
|
-
|
|
36
|
-
function
|
|
35
|
+
y.displayName = t.Trigger.displayName;
|
|
36
|
+
function j({ ...e }) {
|
|
37
37
|
return /* @__PURE__ */ a(t.Group, { "data-slot": "menu-group", ...e });
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function G({
|
|
40
40
|
...e
|
|
41
41
|
}) {
|
|
42
42
|
return /* @__PURE__ */ a(t.Portal, { ...e });
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function L({
|
|
45
45
|
...e
|
|
46
46
|
}) {
|
|
47
47
|
return /* @__PURE__ */ a(t.Sub, { ...e });
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function D({ ...e }) {
|
|
50
50
|
return /* @__PURE__ */ a(t.RadioGroup, { "data-slot": "menu-radio-group", ...e });
|
|
51
51
|
}
|
|
52
|
-
const
|
|
52
|
+
const f = ({
|
|
53
53
|
ref: e,
|
|
54
54
|
className: n,
|
|
55
55
|
inset: s,
|
|
@@ -60,26 +60,26 @@ const h = ({
|
|
|
60
60
|
{
|
|
61
61
|
ref: e,
|
|
62
62
|
"data-slot": "menu-sub-trigger",
|
|
63
|
-
className: o(
|
|
63
|
+
className: o(g, s && "pl-32", n),
|
|
64
64
|
...r,
|
|
65
65
|
children: [
|
|
66
66
|
i,
|
|
67
|
-
/* @__PURE__ */ a(
|
|
67
|
+
/* @__PURE__ */ a(b, { size: 20, className: "ml-auto text-muted" })
|
|
68
68
|
]
|
|
69
69
|
}
|
|
70
70
|
);
|
|
71
|
-
|
|
72
|
-
const
|
|
71
|
+
f.displayName = t.SubTrigger.displayName;
|
|
72
|
+
const h = ({ ref: e, className: n, ...s }) => /* @__PURE__ */ a(
|
|
73
73
|
t.SubContent,
|
|
74
74
|
{
|
|
75
75
|
ref: e,
|
|
76
76
|
"data-slot": "menu-sub-content",
|
|
77
|
-
className: o(
|
|
77
|
+
className: o(c, n),
|
|
78
78
|
...s
|
|
79
79
|
}
|
|
80
80
|
);
|
|
81
|
-
|
|
82
|
-
const
|
|
81
|
+
h.displayName = t.SubContent.displayName;
|
|
82
|
+
const x = ({
|
|
83
83
|
ref: e,
|
|
84
84
|
className: n,
|
|
85
85
|
sideOffset: s = 4,
|
|
@@ -91,17 +91,16 @@ const M = ({
|
|
|
91
91
|
ref: e,
|
|
92
92
|
"data-slot": "menu-content",
|
|
93
93
|
sideOffset: s,
|
|
94
|
-
className: o(
|
|
94
|
+
className: o(c, n),
|
|
95
95
|
onClick: (d) => {
|
|
96
|
-
|
|
97
|
-
d.stopPropagation(), (u = r.onClick) == null || u.call(r, d);
|
|
96
|
+
d.stopPropagation(), r.onClick?.(d);
|
|
98
97
|
},
|
|
99
98
|
align: i,
|
|
100
99
|
...r
|
|
101
100
|
}
|
|
102
101
|
) });
|
|
103
|
-
|
|
104
|
-
const
|
|
102
|
+
x.displayName = t.Content.displayName;
|
|
103
|
+
const M = ({ ref: e, className: n, inset: s, ...i }) => /* @__PURE__ */ a(
|
|
105
104
|
t.Item,
|
|
106
105
|
{
|
|
107
106
|
ref: e,
|
|
@@ -110,8 +109,8 @@ const S = ({ ref: e, className: n, inset: s, ...i }) => /* @__PURE__ */ a(
|
|
|
110
109
|
...i
|
|
111
110
|
}
|
|
112
111
|
);
|
|
113
|
-
|
|
114
|
-
const
|
|
112
|
+
M.displayName = t.Item.displayName;
|
|
113
|
+
const S = ({
|
|
115
114
|
ref: e,
|
|
116
115
|
className: n,
|
|
117
116
|
children: s,
|
|
@@ -127,12 +126,12 @@ const C = ({
|
|
|
127
126
|
...r,
|
|
128
127
|
children: [
|
|
129
128
|
s,
|
|
130
|
-
/* @__PURE__ */ a("span", { className: "ml-auto flex size-24 items-center justify-center", children: /* @__PURE__ */ a(t.ItemIndicator, { children: /* @__PURE__ */ a(
|
|
129
|
+
/* @__PURE__ */ a("span", { className: "ml-auto flex size-24 items-center justify-center", children: /* @__PURE__ */ a(t.ItemIndicator, { children: /* @__PURE__ */ a(u, { size: 24, className: "text-active" }) }) })
|
|
131
130
|
]
|
|
132
131
|
}
|
|
133
132
|
);
|
|
134
|
-
|
|
135
|
-
const
|
|
133
|
+
S.displayName = t.CheckboxItem.displayName;
|
|
134
|
+
const C = ({
|
|
136
135
|
ref: e,
|
|
137
136
|
className: n,
|
|
138
137
|
children: s,
|
|
@@ -146,12 +145,12 @@ const I = ({
|
|
|
146
145
|
...i,
|
|
147
146
|
children: [
|
|
148
147
|
s,
|
|
149
|
-
/* @__PURE__ */ a("span", { className: "ml-auto flex size-24 items-center justify-center", children: /* @__PURE__ */ a(t.ItemIndicator, { children: /* @__PURE__ */ a(
|
|
148
|
+
/* @__PURE__ */ a("span", { className: "ml-auto flex size-24 items-center justify-center", children: /* @__PURE__ */ a(t.ItemIndicator, { children: /* @__PURE__ */ a(u, { size: 24, className: "text-active" }) }) })
|
|
150
149
|
]
|
|
151
150
|
}
|
|
152
151
|
);
|
|
153
|
-
|
|
154
|
-
const
|
|
152
|
+
C.displayName = t.RadioItem.displayName;
|
|
153
|
+
const I = ({
|
|
155
154
|
ref: e,
|
|
156
155
|
className: n,
|
|
157
156
|
inset: s,
|
|
@@ -161,26 +160,26 @@ const v = ({
|
|
|
161
160
|
{
|
|
162
161
|
ref: e,
|
|
163
162
|
"data-slot": "menu-label",
|
|
164
|
-
className: o(
|
|
163
|
+
className: o(N, s && "pl-32", n),
|
|
165
164
|
...i
|
|
166
165
|
}
|
|
167
166
|
);
|
|
168
|
-
|
|
169
|
-
const
|
|
170
|
-
|
|
167
|
+
I.displayName = t.Label.displayName;
|
|
168
|
+
const v = ({ ref: e, className: n, ...s }) => /* @__PURE__ */ a(p, { ref: e, className: o("mx-8 my-4 w-auto", n), ...s });
|
|
169
|
+
v.displayName = "MenuSeparator";
|
|
171
170
|
export {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
171
|
+
P as Menu,
|
|
172
|
+
S as MenuCheckboxItem,
|
|
173
|
+
x as MenuContent,
|
|
174
|
+
j as MenuGroup,
|
|
175
|
+
M as MenuItem,
|
|
176
|
+
I as MenuLabel,
|
|
177
|
+
G as MenuPortal,
|
|
178
|
+
D as MenuRadioGroup,
|
|
179
|
+
C as MenuRadioItem,
|
|
180
|
+
v as MenuSeparator,
|
|
181
|
+
L as MenuSub,
|
|
182
|
+
h as MenuSubContent,
|
|
183
|
+
f as MenuSubTrigger,
|
|
184
|
+
y as MenuTrigger
|
|
186
185
|
};
|