beez-ui 2.7.1 → 3.0.1
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/CHANGELOG.md +78 -0
- package/README.md +43 -13
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/dist/components/account-menu.d.ts +4 -3
- package/dist/components/account-menu.js +63 -54
- package/dist/components/alert.d.ts +15 -15
- package/dist/components/alert.js +289 -270
- package/dist/components/animated-theme-toggler.js +1 -1
- package/dist/components/avatar.d.ts +56 -31
- package/dist/components/avatar.js +394 -277
- package/dist/components/badge.d.ts +8 -28
- package/dist/components/badge.js +55 -108
- package/dist/components/calendar.d.ts +36 -26
- package/dist/components/calendar.js +132 -1227
- package/dist/components/card.d.ts +36 -25
- package/dist/components/card.js +895 -72
- package/dist/components/carousel.d.ts +63 -47
- package/dist/components/carousel.js +496 -777
- package/dist/components/data-table.d.ts +5 -4
- package/dist/components/data-table.js +7 -6
- package/dist/components/dialog-surface.d.ts +23 -1
- package/dist/components/dialog-surface.js +99 -3
- package/dist/components/dialog.d.ts +80 -45
- package/dist/components/dialog.js +258 -503
- package/dist/components/dropdown-menu.d.ts +56 -73
- package/dist/components/dropdown-menu.js +79 -714
- package/dist/components/field.d.ts +3 -1
- package/dist/components/field.js +49 -39
- package/dist/components/filter-presets-bar.js +2 -2
- package/dist/components/filter-query-bar.js +1 -1
- package/dist/components/hover-card.d.ts +42 -41
- package/dist/components/hover-card.js +57 -483
- package/dist/components/pagination.d.ts +53 -31
- package/dist/components/pagination.js +176 -412
- package/dist/components/popover.d.ts +11 -23
- package/dist/components/popover.js +19 -304
- package/dist/components/{alert-dialog.d.ts → primitives/alert-dialog.d.ts} +17 -5
- package/dist/components/{alert-dialog.js → primitives/alert-dialog.js} +102 -54
- package/dist/components/primitives/avatar.d.ts +46 -0
- package/dist/components/primitives/avatar.js +268 -0
- package/dist/components/primitives/calendar.d.ts +37 -0
- package/dist/components/primitives/calendar.js +1250 -0
- package/dist/components/primitives/carousel.d.ts +106 -0
- package/dist/components/primitives/carousel.js +928 -0
- package/dist/components/primitives/dialog.d.ts +62 -0
- package/dist/components/primitives/dialog.js +490 -0
- package/dist/components/primitives/dropdown-menu-items.d.ts +59 -0
- package/dist/components/primitives/dropdown-menu-items.js +265 -0
- package/dist/components/primitives/dropdown-menu.d.ts +64 -0
- package/dist/components/primitives/dropdown-menu.js +557 -0
- package/dist/components/primitives/hover-card.d.ts +50 -0
- package/dist/components/primitives/hover-card.js +507 -0
- package/dist/components/primitives/pagination.d.ts +65 -0
- package/dist/components/primitives/pagination.js +373 -0
- package/dist/components/primitives/popover.d.ts +22 -0
- package/dist/components/primitives/popover.js +213 -0
- package/dist/components/primitives/select.d.ts +36 -0
- package/dist/components/primitives/select.js +407 -0
- package/dist/components/primitives/tooltip.d.ts +30 -0
- package/dist/components/primitives/tooltip.js +277 -0
- package/dist/components/radio-group.d.ts +30 -17
- package/dist/components/radio-group.js +266 -315
- package/dist/components/rich-link-editor.js +1 -1
- package/dist/components/select.d.ts +51 -42
- package/dist/components/select.js +163 -495
- package/dist/components/skeleton.d.ts +16 -15
- package/dist/components/skeleton.js +99 -205
- package/dist/components/split-button.js +1 -1
- package/dist/components/switch.d.ts +3 -6
- package/dist/components/switch.js +163 -170
- package/dist/components/tabs.d.ts +3 -11
- package/dist/components/tabs.js +61 -75
- package/dist/components/themed-toaster.d.ts +1 -1
- package/dist/components/themed-toaster.js +1 -1
- package/dist/components/toaster.d.ts +1 -1
- package/dist/components/toaster.js +1 -1
- package/dist/components/tooltip.d.ts +36 -31
- package/dist/components/tooltip.js +44 -284
- package/dist/constants/alert.d.ts +5 -1
- package/dist/constants/alert.js +5 -1
- package/dist/constants/avatar.d.ts +29 -1
- package/dist/constants/avatar.js +25 -0
- package/dist/constants/calendar.d.ts +12 -0
- package/dist/constants/calendar.js +12 -0
- package/dist/constants/card.d.ts +23 -0
- package/dist/constants/card.js +20 -0
- package/dist/constants/carousel.d.ts +31 -13
- package/dist/constants/carousel.js +32 -11
- package/dist/constants/dialog.d.ts +6 -1
- package/dist/constants/dialog.js +5 -1
- package/dist/constants/dropdown-menu.d.ts +2 -2
- package/dist/constants/dropdown-menu.js +2 -2
- package/dist/constants/pagination.d.ts +13 -2
- package/dist/constants/pagination.js +13 -2
- package/dist/constants/select.d.ts +4 -2
- package/dist/constants/select.js +4 -2
- package/dist/constants/switch.d.ts +5 -16
- package/dist/constants/switch.js +6 -14
- package/dist/hooks/use-today.d.ts +7 -0
- package/dist/hooks/use-today.js +50 -0
- package/dist/hooks.d.ts +1 -0
- package/dist/hooks.js +1 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/motion/glide-indicator.d.ts +1 -1
- package/dist/motion/glide-indicator.js +1 -1
- package/dist/motion/presence.d.ts +0 -1
- package/dist/motion/presence.js +0 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -6
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { c as _c } from "react/compiler-runtime";
|
|
3
|
+
import { Link } from "../link.js";
|
|
4
|
+
import { DropdownMenuCheckboxItem, DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut } from "./dropdown-menu.js";
|
|
5
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
+
/**
|
|
7
|
+
* Picks the key of a row: its id, its string label, or its position as a last resort.
|
|
8
|
+
* @param item - The row.
|
|
9
|
+
* @param index - Position of the row in the list.
|
|
10
|
+
* @returns The React key.
|
|
11
|
+
*/
|
|
12
|
+
function keyOf(item, index) {
|
|
13
|
+
if (item.id !== undefined) return item.id;
|
|
14
|
+
return typeof item.label === "string" ? item.label : String(index);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Renders the body shared by every kind of row: icon, label and trailing content.
|
|
18
|
+
* @param item - The row.
|
|
19
|
+
* @returns The row body.
|
|
20
|
+
*/
|
|
21
|
+
function ItemBody(t0) {
|
|
22
|
+
const $ = _c(8);
|
|
23
|
+
const { item } = t0;
|
|
24
|
+
let t1;
|
|
25
|
+
if ($[0] !== item.label) {
|
|
26
|
+
t1 = /* @__PURE__ */ _jsx("span", {
|
|
27
|
+
className: "min-w-0 truncate",
|
|
28
|
+
children: item.label
|
|
29
|
+
});
|
|
30
|
+
$[0] = item.label;
|
|
31
|
+
$[1] = t1;
|
|
32
|
+
} else {
|
|
33
|
+
t1 = $[1];
|
|
34
|
+
}
|
|
35
|
+
let t2;
|
|
36
|
+
if ($[2] !== item.trailing) {
|
|
37
|
+
t2 = item.trailing === undefined ? null : /* @__PURE__ */ _jsx(DropdownMenuShortcut, { children: item.trailing });
|
|
38
|
+
$[2] = item.trailing;
|
|
39
|
+
$[3] = t2;
|
|
40
|
+
} else {
|
|
41
|
+
t2 = $[3];
|
|
42
|
+
}
|
|
43
|
+
let t3;
|
|
44
|
+
if ($[4] !== item.icon || $[5] !== t1 || $[6] !== t2) {
|
|
45
|
+
t3 = /* @__PURE__ */ _jsxs(_Fragment, { children: [
|
|
46
|
+
item.icon,
|
|
47
|
+
t1,
|
|
48
|
+
t2
|
|
49
|
+
] });
|
|
50
|
+
$[4] = item.icon;
|
|
51
|
+
$[5] = t1;
|
|
52
|
+
$[6] = t2;
|
|
53
|
+
$[7] = t3;
|
|
54
|
+
} else {
|
|
55
|
+
t3 = $[7];
|
|
56
|
+
}
|
|
57
|
+
return t3;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Renders one row as a radio, checkbox, link or action item, depending on its fields.
|
|
61
|
+
* @param props - The row and whether the menu has a single selection.
|
|
62
|
+
* @returns The row.
|
|
63
|
+
*/
|
|
64
|
+
function ItemRow(t0) {
|
|
65
|
+
const $ = _c(36);
|
|
66
|
+
const { item, hasSelection } = t0;
|
|
67
|
+
let t1;
|
|
68
|
+
if ($[0] !== item.className || $[1] !== item.disabled || $[2] !== item.itemProps || $[3] !== item.onSelect) {
|
|
69
|
+
t1 = {
|
|
70
|
+
...item.itemProps,
|
|
71
|
+
className: item.className,
|
|
72
|
+
disabled: item.disabled,
|
|
73
|
+
onSelect: item.onSelect
|
|
74
|
+
};
|
|
75
|
+
$[0] = item.className;
|
|
76
|
+
$[1] = item.disabled;
|
|
77
|
+
$[2] = item.itemProps;
|
|
78
|
+
$[3] = item.onSelect;
|
|
79
|
+
$[4] = t1;
|
|
80
|
+
} else {
|
|
81
|
+
t1 = $[4];
|
|
82
|
+
}
|
|
83
|
+
const shared = t1;
|
|
84
|
+
const variant = item.destructive ? "destructive" : "default";
|
|
85
|
+
if (hasSelection && item.value !== undefined) {
|
|
86
|
+
let t2;
|
|
87
|
+
if ($[5] !== item) {
|
|
88
|
+
t2 = /* @__PURE__ */ _jsx(ItemBody, { item });
|
|
89
|
+
$[5] = item;
|
|
90
|
+
$[6] = t2;
|
|
91
|
+
} else {
|
|
92
|
+
t2 = $[6];
|
|
93
|
+
}
|
|
94
|
+
let t3;
|
|
95
|
+
if ($[7] !== item.value || $[8] !== shared || $[9] !== t2 || $[10] !== variant) {
|
|
96
|
+
t3 = /* @__PURE__ */ _jsx(DropdownMenuRadioItem, {
|
|
97
|
+
...shared,
|
|
98
|
+
variant,
|
|
99
|
+
value: item.value,
|
|
100
|
+
children: t2
|
|
101
|
+
});
|
|
102
|
+
$[7] = item.value;
|
|
103
|
+
$[8] = shared;
|
|
104
|
+
$[9] = t2;
|
|
105
|
+
$[10] = variant;
|
|
106
|
+
$[11] = t3;
|
|
107
|
+
} else {
|
|
108
|
+
t3 = $[11];
|
|
109
|
+
}
|
|
110
|
+
return t3;
|
|
111
|
+
}
|
|
112
|
+
if (item.checked !== undefined) {
|
|
113
|
+
let t2;
|
|
114
|
+
if ($[12] !== item) {
|
|
115
|
+
t2 = /* @__PURE__ */ _jsx(ItemBody, { item });
|
|
116
|
+
$[12] = item;
|
|
117
|
+
$[13] = t2;
|
|
118
|
+
} else {
|
|
119
|
+
t2 = $[13];
|
|
120
|
+
}
|
|
121
|
+
let t3;
|
|
122
|
+
if ($[14] !== item.checked || $[15] !== shared || $[16] !== t2 || $[17] !== variant) {
|
|
123
|
+
t3 = /* @__PURE__ */ _jsx(DropdownMenuCheckboxItem, {
|
|
124
|
+
...shared,
|
|
125
|
+
variant,
|
|
126
|
+
checked: item.checked,
|
|
127
|
+
children: t2
|
|
128
|
+
});
|
|
129
|
+
$[14] = item.checked;
|
|
130
|
+
$[15] = shared;
|
|
131
|
+
$[16] = t2;
|
|
132
|
+
$[17] = variant;
|
|
133
|
+
$[18] = t3;
|
|
134
|
+
} else {
|
|
135
|
+
t3 = $[18];
|
|
136
|
+
}
|
|
137
|
+
return t3;
|
|
138
|
+
}
|
|
139
|
+
if (item.href !== undefined) {
|
|
140
|
+
let t2;
|
|
141
|
+
if ($[19] !== item) {
|
|
142
|
+
t2 = /* @__PURE__ */ _jsx(ItemBody, { item });
|
|
143
|
+
$[19] = item;
|
|
144
|
+
$[20] = t2;
|
|
145
|
+
} else {
|
|
146
|
+
t2 = $[20];
|
|
147
|
+
}
|
|
148
|
+
let t3;
|
|
149
|
+
if ($[21] !== item.href || $[22] !== item.rel || $[23] !== item.target || $[24] !== t2) {
|
|
150
|
+
t3 = /* @__PURE__ */ _jsx(Link, {
|
|
151
|
+
href: item.href,
|
|
152
|
+
target: item.target,
|
|
153
|
+
rel: item.rel,
|
|
154
|
+
children: t2
|
|
155
|
+
});
|
|
156
|
+
$[21] = item.href;
|
|
157
|
+
$[22] = item.rel;
|
|
158
|
+
$[23] = item.target;
|
|
159
|
+
$[24] = t2;
|
|
160
|
+
$[25] = t3;
|
|
161
|
+
} else {
|
|
162
|
+
t3 = $[25];
|
|
163
|
+
}
|
|
164
|
+
let t4;
|
|
165
|
+
if ($[26] !== shared || $[27] !== t3 || $[28] !== variant) {
|
|
166
|
+
t4 = /* @__PURE__ */ _jsx(DropdownMenuItem, {
|
|
167
|
+
...shared,
|
|
168
|
+
variant,
|
|
169
|
+
asChild: true,
|
|
170
|
+
children: t3
|
|
171
|
+
});
|
|
172
|
+
$[26] = shared;
|
|
173
|
+
$[27] = t3;
|
|
174
|
+
$[28] = variant;
|
|
175
|
+
$[29] = t4;
|
|
176
|
+
} else {
|
|
177
|
+
t4 = $[29];
|
|
178
|
+
}
|
|
179
|
+
return t4;
|
|
180
|
+
}
|
|
181
|
+
let t2;
|
|
182
|
+
if ($[30] !== item) {
|
|
183
|
+
t2 = /* @__PURE__ */ _jsx(ItemBody, { item });
|
|
184
|
+
$[30] = item;
|
|
185
|
+
$[31] = t2;
|
|
186
|
+
} else {
|
|
187
|
+
t2 = $[31];
|
|
188
|
+
}
|
|
189
|
+
let t3;
|
|
190
|
+
if ($[32] !== shared || $[33] !== t2 || $[34] !== variant) {
|
|
191
|
+
t3 = /* @__PURE__ */ _jsx(DropdownMenuItem, {
|
|
192
|
+
...shared,
|
|
193
|
+
variant,
|
|
194
|
+
children: t2
|
|
195
|
+
});
|
|
196
|
+
$[32] = shared;
|
|
197
|
+
$[33] = t2;
|
|
198
|
+
$[34] = variant;
|
|
199
|
+
$[35] = t3;
|
|
200
|
+
} else {
|
|
201
|
+
t3 = $[35];
|
|
202
|
+
}
|
|
203
|
+
return t3;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Renders a list of rows inside a dropdown menu content, with the separators they ask for. With a `selection`, the
|
|
207
|
+
* rows live in one radio group and the rows that carry a `value` become its radio items.
|
|
208
|
+
* @param props - The rows and the optional single selection.
|
|
209
|
+
* @returns The rows.
|
|
210
|
+
*/
|
|
211
|
+
export function DropdownMenuItems(t0) {
|
|
212
|
+
const $ = _c(11);
|
|
213
|
+
const { items, selection } = t0;
|
|
214
|
+
let t1;
|
|
215
|
+
if ($[0] !== items || $[1] !== selection) {
|
|
216
|
+
let t2;
|
|
217
|
+
if ($[3] !== selection) {
|
|
218
|
+
t2 = (item, index) => {
|
|
219
|
+
const key = keyOf(item, index);
|
|
220
|
+
const row = /* @__PURE__ */ _jsx(ItemRow, {
|
|
221
|
+
item,
|
|
222
|
+
hasSelection: selection !== undefined
|
|
223
|
+
}, key);
|
|
224
|
+
return item.separatorBefore && index > 0 ? [/* @__PURE__ */ _jsx(DropdownMenuSeparator, {}, `${key}-separator`), row] : [row];
|
|
225
|
+
};
|
|
226
|
+
$[3] = selection;
|
|
227
|
+
$[4] = t2;
|
|
228
|
+
} else {
|
|
229
|
+
t2 = $[4];
|
|
230
|
+
}
|
|
231
|
+
t1 = items.flatMap(t2);
|
|
232
|
+
$[0] = items;
|
|
233
|
+
$[1] = selection;
|
|
234
|
+
$[2] = t1;
|
|
235
|
+
} else {
|
|
236
|
+
t1 = $[2];
|
|
237
|
+
}
|
|
238
|
+
const rows = t1;
|
|
239
|
+
if (!selection) {
|
|
240
|
+
let t2;
|
|
241
|
+
if ($[5] !== rows) {
|
|
242
|
+
t2 = /* @__PURE__ */ _jsx(_Fragment, { children: rows });
|
|
243
|
+
$[5] = rows;
|
|
244
|
+
$[6] = t2;
|
|
245
|
+
} else {
|
|
246
|
+
t2 = $[6];
|
|
247
|
+
}
|
|
248
|
+
return t2;
|
|
249
|
+
}
|
|
250
|
+
let t2;
|
|
251
|
+
if ($[7] !== rows || $[8] !== selection.onValueChange || $[9] !== selection.value) {
|
|
252
|
+
t2 = /* @__PURE__ */ _jsx(DropdownMenuRadioGroup, {
|
|
253
|
+
value: selection.value,
|
|
254
|
+
onValueChange: selection.onValueChange,
|
|
255
|
+
children: rows
|
|
256
|
+
});
|
|
257
|
+
$[7] = rows;
|
|
258
|
+
$[8] = selection.onValueChange;
|
|
259
|
+
$[9] = selection.value;
|
|
260
|
+
$[10] = t2;
|
|
261
|
+
} else {
|
|
262
|
+
t2 = $[10];
|
|
263
|
+
}
|
|
264
|
+
return t2;
|
|
265
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal primitive of Arc's Dropdown menu (https://uiarc.dev, MIT License, see THIRD_PARTY_NOTICES.md): Arc's raised
|
|
3
|
+
* panel, item rows, danger tone, separators, placement defaults and staggered item entrance on its tokens, with
|
|
4
|
+
* beez-ui's reveal from the trigger edge and the highlight that glides between items with the keyboard. Internal: the
|
|
5
|
+
* Radix composition behind the public closed `DropdownMenu` and beez-ui's composite components; the package does not
|
|
6
|
+
* export it.
|
|
7
|
+
*/
|
|
8
|
+
import * as React from "react";
|
|
9
|
+
import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui";
|
|
10
|
+
declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): React.JSX.Element;
|
|
11
|
+
declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): React.JSX.Element;
|
|
12
|
+
/**
|
|
13
|
+
* Arc's menu panel. It sizes action menus by their content, at least 12rem unless the viewport is narrower, instead
|
|
14
|
+
* of narrowing them to an icon trigger.
|
|
15
|
+
* @param props - Primitive properties. Arc's defaults: `align="start"`, a 6px `sideOffset`, a 12px
|
|
16
|
+
* `collisionPadding` and `loop`, so arrow keys wrap from the last item to the first.
|
|
17
|
+
* @returns The portaled menu, animated in and out with its open state.
|
|
18
|
+
*/
|
|
19
|
+
declare function DropdownMenuContent({ className, align, sideOffset, collisionPadding, loop, onClick, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): React.JSX.Element;
|
|
20
|
+
/**
|
|
21
|
+
* Renders an action row. `destructive` draws Arc's danger tone: danger text and icon over a faint danger fill when
|
|
22
|
+
* highlighted.
|
|
23
|
+
* @param props - Primitive properties, `inset` to align with rows that carry an icon, and the `variant`.
|
|
24
|
+
* @returns The styled primitive with its original interaction contract.
|
|
25
|
+
*/
|
|
26
|
+
declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
27
|
+
inset?: boolean;
|
|
28
|
+
variant?: "default" | "destructive";
|
|
29
|
+
}): React.JSX.Element;
|
|
30
|
+
/**
|
|
31
|
+
* Renders a selectable checkbox action with its check at the end of the row. `destructive` draws Arc's danger tone.
|
|
32
|
+
* @param props - Primitive properties, `inset` to align with rows that carry an icon, and the `variant`.
|
|
33
|
+
* @returns The styled primitive with its original interaction contract.
|
|
34
|
+
*/
|
|
35
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem> & {
|
|
36
|
+
inset?: boolean;
|
|
37
|
+
variant?: "default" | "destructive";
|
|
38
|
+
}): React.JSX.Element;
|
|
39
|
+
declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): React.JSX.Element;
|
|
40
|
+
/**
|
|
41
|
+
* Renders a mutually exclusive action with its check at the end of the row. `destructive` draws Arc's danger tone.
|
|
42
|
+
* @param props - Primitive properties, `inset` to align with rows that carry an icon, and the `variant`.
|
|
43
|
+
* @returns The styled primitive with its original interaction contract.
|
|
44
|
+
*/
|
|
45
|
+
declare function DropdownMenuRadioItem({ className, children, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
|
|
46
|
+
inset?: boolean;
|
|
47
|
+
variant?: "default" | "destructive";
|
|
48
|
+
}): React.JSX.Element;
|
|
49
|
+
/**
|
|
50
|
+
* Renders a muted group label aligned with the item text.
|
|
51
|
+
* @param props - Primitive properties and `inset` to align with rows that carry an icon.
|
|
52
|
+
* @returns The styled primitive with its original interaction contract.
|
|
53
|
+
*/
|
|
54
|
+
declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
55
|
+
inset?: boolean;
|
|
56
|
+
}): React.JSX.Element;
|
|
57
|
+
declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): React.JSX.Element;
|
|
58
|
+
/**
|
|
59
|
+
* Renders trailing content at the end of a row, such as a shortcut or a count, muted until the row is highlighted.
|
|
60
|
+
* @param props - Span properties.
|
|
61
|
+
* @returns The trailing slot.
|
|
62
|
+
*/
|
|
63
|
+
declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
64
|
+
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, };
|