bmj-ui 1.0.12 → 1.0.13
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/index.d.ts +714 -182
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,230 +1,762 @@
|
|
|
1
|
-
import * as react_jsx_runtime from
|
|
2
|
-
import * as React from
|
|
3
|
-
import { LucideIcon } from
|
|
4
|
-
import * as class_variance_authority_dist_types from
|
|
5
|
-
import { useRender } from
|
|
6
|
-
import { VariantProps } from
|
|
7
|
-
import { Button as Button$1 } from
|
|
8
|
-
import { Dialog as Dialog$1 } from
|
|
9
|
-
import { Menu } from
|
|
10
|
-
import { ScrollArea as ScrollArea$1 } from
|
|
11
|
-
import { Select as Select$1 } from
|
|
12
|
-
import { Separator as Separator$1 } from
|
|
13
|
-
import { Tooltip as Tooltip$1 } from
|
|
1
|
+
import * as react_jsx_runtime from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { LucideIcon } from "lucide-react";
|
|
4
|
+
import * as class_variance_authority_dist_types from "class-variance-authority";
|
|
5
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
6
|
+
import { VariantProps } from "class-variance-authority";
|
|
7
|
+
import { Button as Button$1 } from "@base-ui/react/button";
|
|
8
|
+
import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
|
|
9
|
+
import { Menu } from "@base-ui/react/menu";
|
|
10
|
+
import { ScrollArea as ScrollArea$1 } from "@base-ui/react/scroll-area";
|
|
11
|
+
import { Select as Select$1 } from "@base-ui/react/select";
|
|
12
|
+
import { Separator as Separator$1 } from "@base-ui/react/separator";
|
|
13
|
+
import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
|
|
14
14
|
|
|
15
15
|
interface SidebarItem {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
title: string;
|
|
17
|
+
icon: React.ElementType;
|
|
18
|
+
url: string;
|
|
19
19
|
}
|
|
20
|
-
declare function AppSidebar({
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
declare function AppSidebar({
|
|
21
|
+
items,
|
|
22
|
+
onItemClick,
|
|
23
|
+
activeItem,
|
|
24
|
+
}: {
|
|
25
|
+
items?: SidebarItem[];
|
|
26
|
+
onItemClick?: (title: string) => void;
|
|
27
|
+
activeItem?: string;
|
|
24
28
|
}): react_jsx_runtime.JSX.Element;
|
|
25
29
|
|
|
26
30
|
interface DashboardLayoutProps {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
children: React.ReactNode;
|
|
32
|
+
sidebarItems?: SidebarItem[];
|
|
33
|
+
onSidebarItemClick?: (title: string) => void;
|
|
34
|
+
activeSidebarItem?: string;
|
|
31
35
|
}
|
|
32
|
-
declare function DashboardLayout({
|
|
36
|
+
declare function DashboardLayout({
|
|
37
|
+
children,
|
|
38
|
+
sidebarItems,
|
|
39
|
+
onSidebarItemClick,
|
|
40
|
+
activeSidebarItem,
|
|
41
|
+
}: DashboardLayoutProps): react_jsx_runtime.JSX.Element;
|
|
33
42
|
|
|
34
43
|
interface ChartCardProps {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
title: string;
|
|
45
|
+
description?: string;
|
|
46
|
+
data: any[];
|
|
47
|
+
dataKey: string;
|
|
48
|
+
categoryKey: string;
|
|
49
|
+
color?: string;
|
|
50
|
+
className?: string;
|
|
51
|
+
loading?: boolean;
|
|
52
|
+
type?: "area" | "bar" | "line" | "scatter";
|
|
44
53
|
}
|
|
45
|
-
declare function ChartCard({
|
|
54
|
+
declare function ChartCard({
|
|
55
|
+
title,
|
|
56
|
+
description,
|
|
57
|
+
data,
|
|
58
|
+
dataKey,
|
|
59
|
+
categoryKey,
|
|
60
|
+
color,
|
|
61
|
+
className,
|
|
62
|
+
loading,
|
|
63
|
+
type,
|
|
64
|
+
}: ChartCardProps): react_jsx_runtime.JSX.Element;
|
|
46
65
|
|
|
47
66
|
interface StatCardProps {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
67
|
+
title: string;
|
|
68
|
+
value: string | number;
|
|
69
|
+
description?: string;
|
|
70
|
+
trend?: {
|
|
71
|
+
value: number;
|
|
72
|
+
isPositive: boolean;
|
|
73
|
+
};
|
|
74
|
+
icon?: LucideIcon;
|
|
75
|
+
className?: string;
|
|
76
|
+
loading?: boolean;
|
|
58
77
|
}
|
|
59
|
-
declare function StatCard({
|
|
78
|
+
declare function StatCard({
|
|
79
|
+
title,
|
|
80
|
+
value,
|
|
81
|
+
description,
|
|
82
|
+
trend,
|
|
83
|
+
icon: Icon,
|
|
84
|
+
className,
|
|
85
|
+
loading,
|
|
86
|
+
}: StatCardProps): react_jsx_runtime.JSX.Element;
|
|
60
87
|
|
|
61
88
|
declare function Topbar(): react_jsx_runtime.JSX.Element;
|
|
62
89
|
|
|
63
|
-
declare const badgeVariants: (
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
90
|
+
declare const badgeVariants: (
|
|
91
|
+
props?:
|
|
92
|
+
| ({
|
|
93
|
+
variant?:
|
|
94
|
+
| "default"
|
|
95
|
+
| "outline"
|
|
96
|
+
| "secondary"
|
|
97
|
+
| "ghost"
|
|
98
|
+
| "destructive"
|
|
99
|
+
| "link"
|
|
100
|
+
| null
|
|
101
|
+
| undefined;
|
|
102
|
+
} & class_variance_authority_dist_types.ClassProp)
|
|
103
|
+
| undefined,
|
|
104
|
+
) => string;
|
|
105
|
+
declare function Badge({
|
|
106
|
+
className,
|
|
107
|
+
variant,
|
|
108
|
+
render,
|
|
109
|
+
...props
|
|
110
|
+
}: useRender.ComponentProps<"span"> &
|
|
111
|
+
VariantProps<typeof badgeVariants>): React.ReactElement<
|
|
112
|
+
unknown,
|
|
113
|
+
string | React.JSXElementConstructor<any>
|
|
114
|
+
>;
|
|
67
115
|
|
|
68
|
-
declare const buttonVariants: (
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
116
|
+
declare const buttonVariants: (
|
|
117
|
+
props?:
|
|
118
|
+
| ({
|
|
119
|
+
variant?:
|
|
120
|
+
| "default"
|
|
121
|
+
| "outline"
|
|
122
|
+
| "secondary"
|
|
123
|
+
| "ghost"
|
|
124
|
+
| "destructive"
|
|
125
|
+
| "link"
|
|
126
|
+
| null
|
|
127
|
+
| undefined;
|
|
128
|
+
size?:
|
|
129
|
+
| "default"
|
|
130
|
+
| "xs"
|
|
131
|
+
| "sm"
|
|
132
|
+
| "lg"
|
|
133
|
+
| "icon"
|
|
134
|
+
| "icon-xs"
|
|
135
|
+
| "icon-sm"
|
|
136
|
+
| "icon-lg"
|
|
137
|
+
| null
|
|
138
|
+
| undefined;
|
|
139
|
+
} & class_variance_authority_dist_types.ClassProp)
|
|
140
|
+
| undefined,
|
|
141
|
+
) => string;
|
|
142
|
+
declare function Button({
|
|
143
|
+
className,
|
|
144
|
+
variant,
|
|
145
|
+
size,
|
|
146
|
+
...props
|
|
147
|
+
}: Button$1.Props &
|
|
148
|
+
VariantProps<typeof buttonVariants>): react_jsx_runtime.JSX.Element;
|
|
73
149
|
|
|
74
|
-
declare function Card({
|
|
75
|
-
|
|
150
|
+
declare function Card({
|
|
151
|
+
className,
|
|
152
|
+
size,
|
|
153
|
+
...props
|
|
154
|
+
}: React.ComponentProps<"div"> & {
|
|
155
|
+
size?: "default" | "sm";
|
|
76
156
|
}): react_jsx_runtime.JSX.Element;
|
|
77
|
-
declare function CardHeader({
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
declare function
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
declare function
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
declare function
|
|
90
|
-
|
|
157
|
+
declare function CardHeader({
|
|
158
|
+
className,
|
|
159
|
+
...props
|
|
160
|
+
}: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
161
|
+
declare function CardTitle({
|
|
162
|
+
className,
|
|
163
|
+
...props
|
|
164
|
+
}: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
165
|
+
declare function CardDescription({
|
|
166
|
+
className,
|
|
167
|
+
...props
|
|
168
|
+
}: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
169
|
+
declare function CardAction({
|
|
170
|
+
className,
|
|
171
|
+
...props
|
|
172
|
+
}: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
173
|
+
declare function CardContent({
|
|
174
|
+
className,
|
|
175
|
+
...props
|
|
176
|
+
}: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
177
|
+
declare function CardFooter({
|
|
178
|
+
className,
|
|
179
|
+
...props
|
|
180
|
+
}: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
181
|
+
|
|
182
|
+
declare function Dialog({
|
|
183
|
+
...props
|
|
184
|
+
}: Dialog$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
185
|
+
declare function DialogTrigger({
|
|
186
|
+
...props
|
|
187
|
+
}: Dialog$1.Trigger.Props): react_jsx_runtime.JSX.Element;
|
|
188
|
+
declare function DialogPortal({
|
|
189
|
+
...props
|
|
190
|
+
}: Dialog$1.Portal.Props): react_jsx_runtime.JSX.Element;
|
|
191
|
+
declare function DialogClose({
|
|
192
|
+
...props
|
|
193
|
+
}: Dialog$1.Close.Props): react_jsx_runtime.JSX.Element;
|
|
194
|
+
declare function DialogOverlay({
|
|
195
|
+
className,
|
|
196
|
+
...props
|
|
197
|
+
}: Dialog$1.Backdrop.Props): react_jsx_runtime.JSX.Element;
|
|
198
|
+
declare function DialogContent({
|
|
199
|
+
className,
|
|
200
|
+
children,
|
|
201
|
+
showCloseButton,
|
|
202
|
+
...props
|
|
203
|
+
}: Dialog$1.Popup.Props & {
|
|
204
|
+
showCloseButton?: boolean;
|
|
91
205
|
}): react_jsx_runtime.JSX.Element;
|
|
92
|
-
declare function DialogHeader({
|
|
93
|
-
|
|
94
|
-
|
|
206
|
+
declare function DialogHeader({
|
|
207
|
+
className,
|
|
208
|
+
...props
|
|
209
|
+
}: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
210
|
+
declare function DialogFooter({
|
|
211
|
+
className,
|
|
212
|
+
showCloseButton,
|
|
213
|
+
children,
|
|
214
|
+
...props
|
|
215
|
+
}: React.ComponentProps<"div"> & {
|
|
216
|
+
showCloseButton?: boolean;
|
|
95
217
|
}): react_jsx_runtime.JSX.Element;
|
|
96
|
-
declare function DialogTitle({
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
declare function
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
218
|
+
declare function DialogTitle({
|
|
219
|
+
className,
|
|
220
|
+
...props
|
|
221
|
+
}: Dialog$1.Title.Props): react_jsx_runtime.JSX.Element;
|
|
222
|
+
declare function DialogDescription({
|
|
223
|
+
className,
|
|
224
|
+
...props
|
|
225
|
+
}: Dialog$1.Description.Props): react_jsx_runtime.JSX.Element;
|
|
226
|
+
|
|
227
|
+
declare function DropdownMenu({
|
|
228
|
+
...props
|
|
229
|
+
}: Menu.Root.Props): react_jsx_runtime.JSX.Element;
|
|
230
|
+
declare function DropdownMenuPortal({
|
|
231
|
+
...props
|
|
232
|
+
}: Menu.Portal.Props): react_jsx_runtime.JSX.Element;
|
|
233
|
+
declare function DropdownMenuTrigger({
|
|
234
|
+
...props
|
|
235
|
+
}: Menu.Trigger.Props): react_jsx_runtime.JSX.Element;
|
|
236
|
+
declare function DropdownMenuContent({
|
|
237
|
+
align,
|
|
238
|
+
alignOffset,
|
|
239
|
+
side,
|
|
240
|
+
sideOffset,
|
|
241
|
+
className,
|
|
242
|
+
...props
|
|
243
|
+
}: Menu.Popup.Props &
|
|
244
|
+
Pick<
|
|
245
|
+
Menu.Positioner.Props,
|
|
246
|
+
"align" | "alignOffset" | "side" | "sideOffset"
|
|
247
|
+
>): react_jsx_runtime.JSX.Element;
|
|
248
|
+
declare function DropdownMenuGroup({
|
|
249
|
+
...props
|
|
250
|
+
}: Menu.Group.Props): react_jsx_runtime.JSX.Element;
|
|
251
|
+
declare function DropdownMenuLabel({
|
|
252
|
+
className,
|
|
253
|
+
inset,
|
|
254
|
+
...props
|
|
255
|
+
}: Menu.GroupLabel.Props & {
|
|
256
|
+
inset?: boolean;
|
|
106
257
|
}): react_jsx_runtime.JSX.Element;
|
|
107
|
-
declare function DropdownMenuItem({
|
|
108
|
-
|
|
109
|
-
|
|
258
|
+
declare function DropdownMenuItem({
|
|
259
|
+
className,
|
|
260
|
+
inset,
|
|
261
|
+
variant,
|
|
262
|
+
...props
|
|
263
|
+
}: Menu.Item.Props & {
|
|
264
|
+
inset?: boolean;
|
|
265
|
+
variant?: "default" | "destructive";
|
|
110
266
|
}): react_jsx_runtime.JSX.Element;
|
|
111
|
-
declare function DropdownMenuSub({
|
|
112
|
-
|
|
113
|
-
|
|
267
|
+
declare function DropdownMenuSub({
|
|
268
|
+
...props
|
|
269
|
+
}: Menu.SubmenuRoot.Props): react_jsx_runtime.JSX.Element;
|
|
270
|
+
declare function DropdownMenuSubTrigger({
|
|
271
|
+
className,
|
|
272
|
+
inset,
|
|
273
|
+
children,
|
|
274
|
+
...props
|
|
275
|
+
}: Menu.SubmenuTrigger.Props & {
|
|
276
|
+
inset?: boolean;
|
|
114
277
|
}): react_jsx_runtime.JSX.Element;
|
|
115
|
-
declare function DropdownMenuSubContent({
|
|
116
|
-
|
|
117
|
-
|
|
278
|
+
declare function DropdownMenuSubContent({
|
|
279
|
+
align,
|
|
280
|
+
alignOffset,
|
|
281
|
+
side,
|
|
282
|
+
sideOffset,
|
|
283
|
+
className,
|
|
284
|
+
...props
|
|
285
|
+
}: React.ComponentProps<
|
|
286
|
+
typeof DropdownMenuContent
|
|
287
|
+
>): react_jsx_runtime.JSX.Element;
|
|
288
|
+
declare function DropdownMenuCheckboxItem({
|
|
289
|
+
className,
|
|
290
|
+
children,
|
|
291
|
+
checked,
|
|
292
|
+
inset,
|
|
293
|
+
...props
|
|
294
|
+
}: Menu.CheckboxItem.Props & {
|
|
295
|
+
inset?: boolean;
|
|
118
296
|
}): react_jsx_runtime.JSX.Element;
|
|
119
|
-
declare function DropdownMenuRadioGroup({
|
|
120
|
-
|
|
121
|
-
|
|
297
|
+
declare function DropdownMenuRadioGroup({
|
|
298
|
+
...props
|
|
299
|
+
}: Menu.RadioGroup.Props): react_jsx_runtime.JSX.Element;
|
|
300
|
+
declare function DropdownMenuRadioItem({
|
|
301
|
+
className,
|
|
302
|
+
children,
|
|
303
|
+
inset,
|
|
304
|
+
...props
|
|
305
|
+
}: Menu.RadioItem.Props & {
|
|
306
|
+
inset?: boolean;
|
|
122
307
|
}): react_jsx_runtime.JSX.Element;
|
|
123
|
-
declare function DropdownMenuSeparator({
|
|
124
|
-
|
|
308
|
+
declare function DropdownMenuSeparator({
|
|
309
|
+
className,
|
|
310
|
+
...props
|
|
311
|
+
}: Menu.Separator.Props): react_jsx_runtime.JSX.Element;
|
|
312
|
+
declare function DropdownMenuShortcut({
|
|
313
|
+
className,
|
|
314
|
+
...props
|
|
315
|
+
}: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
125
316
|
|
|
126
|
-
declare function Input({
|
|
317
|
+
declare function Input({
|
|
318
|
+
className,
|
|
319
|
+
type,
|
|
320
|
+
...props
|
|
321
|
+
}: React.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
127
322
|
|
|
128
|
-
declare function ScrollArea({
|
|
129
|
-
|
|
323
|
+
declare function ScrollArea({
|
|
324
|
+
className,
|
|
325
|
+
children,
|
|
326
|
+
...props
|
|
327
|
+
}: ScrollArea$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
328
|
+
declare function ScrollBar({
|
|
329
|
+
className,
|
|
330
|
+
orientation,
|
|
331
|
+
...props
|
|
332
|
+
}: ScrollArea$1.Scrollbar.Props): react_jsx_runtime.JSX.Element;
|
|
130
333
|
|
|
131
334
|
declare const Select: typeof Select$1.Root;
|
|
132
|
-
declare function SelectGroup({
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
335
|
+
declare function SelectGroup({
|
|
336
|
+
className,
|
|
337
|
+
...props
|
|
338
|
+
}: Select$1.Group.Props): react_jsx_runtime.JSX.Element;
|
|
339
|
+
declare function SelectValue({
|
|
340
|
+
className,
|
|
341
|
+
...props
|
|
342
|
+
}: Select$1.Value.Props): react_jsx_runtime.JSX.Element;
|
|
343
|
+
declare function SelectTrigger({
|
|
344
|
+
className,
|
|
345
|
+
size,
|
|
346
|
+
children,
|
|
347
|
+
...props
|
|
348
|
+
}: Select$1.Trigger.Props & {
|
|
349
|
+
size?: "sm" | "default";
|
|
136
350
|
}): react_jsx_runtime.JSX.Element;
|
|
137
|
-
declare function SelectContent({
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
351
|
+
declare function SelectContent({
|
|
352
|
+
className,
|
|
353
|
+
children,
|
|
354
|
+
side,
|
|
355
|
+
sideOffset,
|
|
356
|
+
align,
|
|
357
|
+
alignOffset,
|
|
358
|
+
alignItemWithTrigger,
|
|
359
|
+
...props
|
|
360
|
+
}: Select$1.Popup.Props &
|
|
361
|
+
Pick<
|
|
362
|
+
Select$1.Positioner.Props,
|
|
363
|
+
"align" | "alignOffset" | "side" | "sideOffset" | "alignItemWithTrigger"
|
|
364
|
+
>): react_jsx_runtime.JSX.Element;
|
|
365
|
+
declare function SelectLabel({
|
|
366
|
+
className,
|
|
367
|
+
...props
|
|
368
|
+
}: Select$1.GroupLabel.Props): react_jsx_runtime.JSX.Element;
|
|
369
|
+
declare function SelectItem({
|
|
370
|
+
className,
|
|
371
|
+
children,
|
|
372
|
+
...props
|
|
373
|
+
}: Select$1.Item.Props): react_jsx_runtime.JSX.Element;
|
|
374
|
+
declare function SelectSeparator({
|
|
375
|
+
className,
|
|
376
|
+
...props
|
|
377
|
+
}: Select$1.Separator.Props): react_jsx_runtime.JSX.Element;
|
|
378
|
+
declare function SelectScrollUpButton({
|
|
379
|
+
className,
|
|
380
|
+
...props
|
|
381
|
+
}: React.ComponentProps<
|
|
382
|
+
typeof Select$1.ScrollUpArrow
|
|
383
|
+
>): react_jsx_runtime.JSX.Element;
|
|
384
|
+
declare function SelectScrollDownButton({
|
|
385
|
+
className,
|
|
386
|
+
...props
|
|
387
|
+
}: React.ComponentProps<
|
|
388
|
+
typeof Select$1.ScrollDownArrow
|
|
389
|
+
>): react_jsx_runtime.JSX.Element;
|
|
390
|
+
|
|
391
|
+
declare function Separator({
|
|
392
|
+
className,
|
|
393
|
+
orientation,
|
|
394
|
+
...props
|
|
395
|
+
}: Separator$1.Props): react_jsx_runtime.JSX.Element;
|
|
396
|
+
|
|
397
|
+
declare function Sheet({
|
|
398
|
+
...props
|
|
399
|
+
}: Dialog$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
400
|
+
declare function SheetTrigger({
|
|
401
|
+
...props
|
|
402
|
+
}: Dialog$1.Trigger.Props): react_jsx_runtime.JSX.Element;
|
|
403
|
+
declare function SheetClose({
|
|
404
|
+
...props
|
|
405
|
+
}: Dialog$1.Close.Props): react_jsx_runtime.JSX.Element;
|
|
406
|
+
declare function SheetContent({
|
|
407
|
+
className,
|
|
408
|
+
children,
|
|
409
|
+
side,
|
|
410
|
+
showCloseButton,
|
|
411
|
+
...props
|
|
412
|
+
}: Dialog$1.Popup.Props & {
|
|
413
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
414
|
+
showCloseButton?: boolean;
|
|
152
415
|
}): react_jsx_runtime.JSX.Element;
|
|
153
|
-
declare function SheetHeader({
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
416
|
+
declare function SheetHeader({
|
|
417
|
+
className,
|
|
418
|
+
...props
|
|
419
|
+
}: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
420
|
+
declare function SheetFooter({
|
|
421
|
+
className,
|
|
422
|
+
...props
|
|
423
|
+
}: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
424
|
+
declare function SheetTitle({
|
|
425
|
+
className,
|
|
426
|
+
...props
|
|
427
|
+
}: Dialog$1.Title.Props): react_jsx_runtime.JSX.Element;
|
|
428
|
+
declare function SheetDescription({
|
|
429
|
+
className,
|
|
430
|
+
...props
|
|
431
|
+
}: Dialog$1.Description.Props): react_jsx_runtime.JSX.Element;
|
|
157
432
|
|
|
158
|
-
declare function TooltipProvider({
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
433
|
+
declare function TooltipProvider({
|
|
434
|
+
delay,
|
|
435
|
+
...props
|
|
436
|
+
}: Tooltip$1.Provider.Props): react_jsx_runtime.JSX.Element;
|
|
437
|
+
declare function Tooltip({
|
|
438
|
+
...props
|
|
439
|
+
}: Tooltip$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
440
|
+
declare function TooltipTrigger({
|
|
441
|
+
...props
|
|
442
|
+
}: Tooltip$1.Trigger.Props): react_jsx_runtime.JSX.Element;
|
|
443
|
+
declare function TooltipContent({
|
|
444
|
+
className,
|
|
445
|
+
side,
|
|
446
|
+
sideOffset,
|
|
447
|
+
align,
|
|
448
|
+
alignOffset,
|
|
449
|
+
children,
|
|
450
|
+
...props
|
|
451
|
+
}: Tooltip$1.Popup.Props &
|
|
452
|
+
Pick<
|
|
453
|
+
Tooltip$1.Positioner.Props,
|
|
454
|
+
"align" | "alignOffset" | "side" | "sideOffset"
|
|
455
|
+
>): react_jsx_runtime.JSX.Element;
|
|
162
456
|
|
|
163
457
|
type SidebarContextProps = {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
458
|
+
state: "expanded" | "collapsed";
|
|
459
|
+
open: boolean;
|
|
460
|
+
setOpen: (open: boolean) => void;
|
|
461
|
+
openMobile: boolean;
|
|
462
|
+
setOpenMobile: (open: boolean) => void;
|
|
463
|
+
isMobile: boolean;
|
|
464
|
+
toggleSidebar: () => void;
|
|
171
465
|
};
|
|
172
466
|
declare function useSidebar(): SidebarContextProps;
|
|
173
|
-
declare function SidebarProvider({
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
467
|
+
declare function SidebarProvider({
|
|
468
|
+
defaultOpen,
|
|
469
|
+
open: openProp,
|
|
470
|
+
onOpenChange: setOpenProp,
|
|
471
|
+
className,
|
|
472
|
+
style,
|
|
473
|
+
children,
|
|
474
|
+
...props
|
|
475
|
+
}: React.ComponentProps<"div"> & {
|
|
476
|
+
defaultOpen?: boolean;
|
|
477
|
+
open?: boolean;
|
|
478
|
+
onOpenChange?: (open: boolean) => void;
|
|
177
479
|
}): react_jsx_runtime.JSX.Element;
|
|
178
|
-
declare function Sidebar({
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
480
|
+
declare function Sidebar({
|
|
481
|
+
side,
|
|
482
|
+
variant,
|
|
483
|
+
collapsible,
|
|
484
|
+
className,
|
|
485
|
+
children,
|
|
486
|
+
dir,
|
|
487
|
+
...props
|
|
488
|
+
}: React.ComponentProps<"div"> & {
|
|
489
|
+
side?: "left" | "right";
|
|
490
|
+
variant?: "sidebar" | "floating" | "inset";
|
|
491
|
+
collapsible?: "offcanvas" | "icon" | "none";
|
|
182
492
|
}): react_jsx_runtime.JSX.Element;
|
|
183
|
-
declare function SidebarTrigger({
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
declare function
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
declare function
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
declare function
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
493
|
+
declare function SidebarTrigger({
|
|
494
|
+
className,
|
|
495
|
+
onClick,
|
|
496
|
+
...props
|
|
497
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
498
|
+
declare function SidebarRail({
|
|
499
|
+
className,
|
|
500
|
+
...props
|
|
501
|
+
}: React.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
502
|
+
declare function SidebarInset({
|
|
503
|
+
className,
|
|
504
|
+
...props
|
|
505
|
+
}: React.ComponentProps<"main">): react_jsx_runtime.JSX.Element;
|
|
506
|
+
declare function SidebarInput({
|
|
507
|
+
className,
|
|
508
|
+
...props
|
|
509
|
+
}: React.ComponentProps<typeof Input>): react_jsx_runtime.JSX.Element;
|
|
510
|
+
declare function SidebarHeader({
|
|
511
|
+
className,
|
|
512
|
+
...props
|
|
513
|
+
}: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
514
|
+
declare function SidebarFooter({
|
|
515
|
+
className,
|
|
516
|
+
...props
|
|
517
|
+
}: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
518
|
+
declare function SidebarSeparator({
|
|
519
|
+
className,
|
|
520
|
+
...props
|
|
521
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
522
|
+
declare function SidebarContent({
|
|
523
|
+
className,
|
|
524
|
+
...props
|
|
525
|
+
}: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
526
|
+
declare function SidebarGroup({
|
|
527
|
+
className,
|
|
528
|
+
...props
|
|
529
|
+
}: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
530
|
+
declare function SidebarGroupLabel({
|
|
531
|
+
className,
|
|
532
|
+
render,
|
|
533
|
+
...props
|
|
534
|
+
}: useRender.ComponentProps<"div"> &
|
|
535
|
+
React.ComponentProps<"div">): React.ReactElement<
|
|
536
|
+
unknown,
|
|
537
|
+
string | React.JSXElementConstructor<any>
|
|
538
|
+
>;
|
|
539
|
+
declare function SidebarGroupAction({
|
|
540
|
+
className,
|
|
541
|
+
render,
|
|
542
|
+
...props
|
|
543
|
+
}: useRender.ComponentProps<"button"> &
|
|
544
|
+
React.ComponentProps<"button">): React.ReactElement<
|
|
545
|
+
unknown,
|
|
546
|
+
string | React.JSXElementConstructor<any>
|
|
547
|
+
>;
|
|
548
|
+
declare function SidebarGroupContent({
|
|
549
|
+
className,
|
|
550
|
+
...props
|
|
551
|
+
}: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
552
|
+
declare function SidebarMenu({
|
|
553
|
+
className,
|
|
554
|
+
...props
|
|
555
|
+
}: React.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
556
|
+
declare function SidebarMenuItem({
|
|
557
|
+
className,
|
|
558
|
+
...props
|
|
559
|
+
}: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
560
|
+
declare const sidebarMenuButtonVariants: (
|
|
561
|
+
props?:
|
|
562
|
+
| ({
|
|
563
|
+
variant?: "default" | "outline" | null | undefined;
|
|
564
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
565
|
+
} & class_variance_authority_dist_types.ClassProp)
|
|
566
|
+
| undefined,
|
|
567
|
+
) => string;
|
|
568
|
+
declare function SidebarMenuButton({
|
|
569
|
+
render,
|
|
570
|
+
isActive,
|
|
571
|
+
variant,
|
|
572
|
+
size,
|
|
573
|
+
tooltip,
|
|
574
|
+
className,
|
|
575
|
+
...props
|
|
576
|
+
}: useRender.ComponentProps<"button"> &
|
|
577
|
+
React.ComponentProps<"button"> & {
|
|
202
578
|
isActive?: boolean;
|
|
203
579
|
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
204
|
-
} & VariantProps<
|
|
205
|
-
|
|
580
|
+
} & VariantProps<
|
|
581
|
+
typeof sidebarMenuButtonVariants
|
|
582
|
+
>): react_jsx_runtime.JSX.Element;
|
|
583
|
+
declare function SidebarMenuAction({
|
|
584
|
+
className,
|
|
585
|
+
render,
|
|
586
|
+
showOnHover,
|
|
587
|
+
...props
|
|
588
|
+
}: useRender.ComponentProps<"button"> &
|
|
589
|
+
React.ComponentProps<"button"> & {
|
|
206
590
|
showOnHover?: boolean;
|
|
207
|
-
}): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
208
|
-
declare function SidebarMenuBadge({
|
|
209
|
-
|
|
210
|
-
|
|
591
|
+
}): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
592
|
+
declare function SidebarMenuBadge({
|
|
593
|
+
className,
|
|
594
|
+
...props
|
|
595
|
+
}: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
596
|
+
declare function SidebarMenuSkeleton({
|
|
597
|
+
className,
|
|
598
|
+
showIcon,
|
|
599
|
+
...props
|
|
600
|
+
}: React.ComponentProps<"div"> & {
|
|
601
|
+
showIcon?: boolean;
|
|
211
602
|
}): react_jsx_runtime.JSX.Element;
|
|
212
|
-
declare function SidebarMenuSub({
|
|
213
|
-
|
|
214
|
-
|
|
603
|
+
declare function SidebarMenuSub({
|
|
604
|
+
className,
|
|
605
|
+
...props
|
|
606
|
+
}: React.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
607
|
+
declare function SidebarMenuSubItem({
|
|
608
|
+
className,
|
|
609
|
+
...props
|
|
610
|
+
}: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
611
|
+
declare function SidebarMenuSubButton({
|
|
612
|
+
render,
|
|
613
|
+
size,
|
|
614
|
+
isActive,
|
|
615
|
+
className,
|
|
616
|
+
...props
|
|
617
|
+
}: useRender.ComponentProps<"a"> &
|
|
618
|
+
React.ComponentProps<"a"> & {
|
|
215
619
|
size?: "sm" | "md";
|
|
216
620
|
isActive?: boolean;
|
|
217
|
-
}): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
621
|
+
}): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
218
622
|
|
|
219
|
-
declare function Skeleton({
|
|
623
|
+
declare function Skeleton({
|
|
624
|
+
className,
|
|
625
|
+
...props
|
|
626
|
+
}: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
220
627
|
|
|
221
|
-
declare function Table({
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
declare function
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
628
|
+
declare function Table({
|
|
629
|
+
className,
|
|
630
|
+
...props
|
|
631
|
+
}: React.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
|
|
632
|
+
declare function TableHeader({
|
|
633
|
+
className,
|
|
634
|
+
...props
|
|
635
|
+
}: React.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
|
|
636
|
+
declare function TableBody({
|
|
637
|
+
className,
|
|
638
|
+
...props
|
|
639
|
+
}: React.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
|
|
640
|
+
declare function TableFooter({
|
|
641
|
+
className,
|
|
642
|
+
...props
|
|
643
|
+
}: React.ComponentProps<"tfoot">): react_jsx_runtime.JSX.Element;
|
|
644
|
+
declare function TableRow({
|
|
645
|
+
className,
|
|
646
|
+
...props
|
|
647
|
+
}: React.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
|
|
648
|
+
declare function TableHead({
|
|
649
|
+
className,
|
|
650
|
+
...props
|
|
651
|
+
}: React.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
|
|
652
|
+
declare function TableCell({
|
|
653
|
+
className,
|
|
654
|
+
...props
|
|
655
|
+
}: React.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
|
|
656
|
+
declare function TableCaption({
|
|
657
|
+
className,
|
|
658
|
+
...props
|
|
659
|
+
}: React.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
229
660
|
|
|
230
|
-
export {
|
|
661
|
+
export {
|
|
662
|
+
AppSidebar,
|
|
663
|
+
Badge,
|
|
664
|
+
Button,
|
|
665
|
+
Card,
|
|
666
|
+
CardAction,
|
|
667
|
+
CardContent,
|
|
668
|
+
CardDescription,
|
|
669
|
+
CardFooter,
|
|
670
|
+
CardHeader,
|
|
671
|
+
CardTitle,
|
|
672
|
+
ChartCard,
|
|
673
|
+
DashboardLayout,
|
|
674
|
+
Dialog,
|
|
675
|
+
DialogClose,
|
|
676
|
+
DialogContent,
|
|
677
|
+
DialogDescription,
|
|
678
|
+
DialogFooter,
|
|
679
|
+
DialogHeader,
|
|
680
|
+
DialogOverlay,
|
|
681
|
+
DialogPortal,
|
|
682
|
+
DialogTitle,
|
|
683
|
+
DialogTrigger,
|
|
684
|
+
DropdownMenu,
|
|
685
|
+
DropdownMenuCheckboxItem,
|
|
686
|
+
DropdownMenuContent,
|
|
687
|
+
DropdownMenuGroup,
|
|
688
|
+
DropdownMenuItem,
|
|
689
|
+
DropdownMenuLabel,
|
|
690
|
+
DropdownMenuPortal,
|
|
691
|
+
DropdownMenuRadioGroup,
|
|
692
|
+
DropdownMenuRadioItem,
|
|
693
|
+
DropdownMenuSeparator,
|
|
694
|
+
DropdownMenuShortcut,
|
|
695
|
+
DropdownMenuSub,
|
|
696
|
+
DropdownMenuSubContent,
|
|
697
|
+
DropdownMenuSubTrigger,
|
|
698
|
+
DropdownMenuTrigger,
|
|
699
|
+
Input,
|
|
700
|
+
ScrollArea,
|
|
701
|
+
ScrollBar,
|
|
702
|
+
Select,
|
|
703
|
+
SelectContent,
|
|
704
|
+
SelectGroup,
|
|
705
|
+
SelectItem,
|
|
706
|
+
SelectLabel,
|
|
707
|
+
SelectScrollDownButton,
|
|
708
|
+
SelectScrollUpButton,
|
|
709
|
+
SelectSeparator,
|
|
710
|
+
SelectTrigger,
|
|
711
|
+
SelectValue,
|
|
712
|
+
Separator,
|
|
713
|
+
Sheet,
|
|
714
|
+
SheetClose,
|
|
715
|
+
SheetContent,
|
|
716
|
+
SheetDescription,
|
|
717
|
+
SheetFooter,
|
|
718
|
+
SheetHeader,
|
|
719
|
+
SheetTitle,
|
|
720
|
+
SheetTrigger,
|
|
721
|
+
Sidebar,
|
|
722
|
+
SidebarContent,
|
|
723
|
+
SidebarFooter,
|
|
724
|
+
SidebarGroup,
|
|
725
|
+
SidebarGroupAction,
|
|
726
|
+
SidebarGroupContent,
|
|
727
|
+
SidebarGroupLabel,
|
|
728
|
+
SidebarHeader,
|
|
729
|
+
SidebarInput,
|
|
730
|
+
SidebarInset,
|
|
731
|
+
SidebarMenu,
|
|
732
|
+
SidebarMenuAction,
|
|
733
|
+
SidebarMenuBadge,
|
|
734
|
+
SidebarMenuButton,
|
|
735
|
+
SidebarMenuItem,
|
|
736
|
+
SidebarMenuSkeleton,
|
|
737
|
+
SidebarMenuSub,
|
|
738
|
+
SidebarMenuSubButton,
|
|
739
|
+
SidebarMenuSubItem,
|
|
740
|
+
SidebarProvider,
|
|
741
|
+
SidebarRail,
|
|
742
|
+
SidebarSeparator,
|
|
743
|
+
SidebarTrigger,
|
|
744
|
+
Skeleton,
|
|
745
|
+
StatCard,
|
|
746
|
+
Table,
|
|
747
|
+
TableBody,
|
|
748
|
+
TableCaption,
|
|
749
|
+
TableCell,
|
|
750
|
+
TableFooter,
|
|
751
|
+
TableHead,
|
|
752
|
+
TableHeader,
|
|
753
|
+
TableRow,
|
|
754
|
+
Tooltip,
|
|
755
|
+
TooltipContent,
|
|
756
|
+
TooltipProvider,
|
|
757
|
+
TooltipTrigger,
|
|
758
|
+
Topbar,
|
|
759
|
+
badgeVariants,
|
|
760
|
+
buttonVariants,
|
|
761
|
+
useSidebar,
|
|
762
|
+
};
|
package/package.json
CHANGED