@squadbase/vantage 0.6.2-dev1.9d91dda → 0.6.2-dev1.ac99e02
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/add-4GHF2TX2.js +6 -0
- package/dist/add-4GHF2TX2.js.map +1 -0
- package/dist/{build-TVKFIVFQ.js → build-MFWRPYKW.js} +7 -7
- package/dist/{build-TVKFIVFQ.js.map → build-MFWRPYKW.js.map} +1 -1
- package/dist/{check-3KHZXZMQ.js → check-ZBIH422T.js} +5 -5
- package/dist/{check-3KHZXZMQ.js.map → check-ZBIH422T.js.map} +1 -1
- package/dist/{chunk-P7W4LR3Z.js → chunk-7DZGJQ3P.js} +3 -3
- package/dist/{chunk-P7W4LR3Z.js.map → chunk-7DZGJQ3P.js.map} +1 -1
- package/dist/{chunk-U2M6HGKQ.js → chunk-AABMKHEU.js} +4 -4
- package/dist/{chunk-U2M6HGKQ.js.map → chunk-AABMKHEU.js.map} +1 -1
- package/dist/{chunk-NKFBFDRZ.js → chunk-AG6RZ2RR.js} +981 -14
- package/dist/chunk-AG6RZ2RR.js.map +1 -0
- package/dist/{chunk-QI3XQKHS.js → chunk-GNXCX4WE.js} +10 -3
- package/dist/chunk-GNXCX4WE.js.map +1 -0
- package/dist/chunk-IBGOCWJB.js +1716 -0
- package/dist/chunk-IBGOCWJB.js.map +1 -0
- package/dist/{chunk-RPZAALCX.js → chunk-OB6UBJXF.js} +153 -153
- package/dist/{chunk-RPZAALCX.js.map → chunk-OB6UBJXF.js.map} +1 -1
- package/dist/{chunk-LMUACBMA.js → chunk-QEWCYW3I.js} +43 -8
- package/dist/chunk-QEWCYW3I.js.map +1 -0
- package/dist/{chunk-ZVANIULZ.js → chunk-RNTDBX6S.js} +4 -4
- package/dist/{chunk-ZVANIULZ.js.map → chunk-RNTDBX6S.js.map} +1 -1
- package/dist/{chunk-PVTHHV7X.js → chunk-V3LF7BE7.js} +27 -5
- package/dist/chunk-V3LF7BE7.js.map +1 -0
- package/dist/{chunk-DTDVSFRY.js → chunk-XQUSGIDG.js} +17 -3
- package/dist/chunk-XQUSGIDG.js.map +1 -0
- package/dist/cli.js +12 -11
- package/dist/cli.js.map +1 -1
- package/dist/client/index.d.ts +32 -3
- package/dist/client/index.js +205 -12
- package/dist/client/index.js.map +1 -1
- package/dist/components/index.d.ts +216 -1
- package/dist/components/index.js +2 -2
- package/dist/{dev-GDKATCC7.js → dev-DCTOHQ6W.js} +8 -8
- package/dist/dev-DCTOHQ6W.js.map +1 -0
- package/dist/{docs-EJJ3BECT.js → docs-JVP4RPKT.js} +3 -3
- package/dist/{docs-EJJ3BECT.js.map → docs-JVP4RPKT.js.map} +1 -1
- package/dist/{doctor-WQXPXP6K.js → doctor-5E2VEZPK.js} +5 -5
- package/dist/{doctor-WQXPXP6K.js.map → doctor-5E2VEZPK.js.map} +1 -1
- package/dist/{preview-OGMCNQUO.js → preview-T6CLSQVX.js} +3 -3
- package/dist/{preview-OGMCNQUO.js.map → preview-T6CLSQVX.js.map} +1 -1
- package/dist/query/index.d.ts +0 -11
- package/dist/query/index.js +2 -2
- package/dist/{routes-MWBWWOJ2.js → routes-3SGAFDMC.js} +4 -4
- package/dist/{routes-MWBWWOJ2.js.map → routes-3SGAFDMC.js.map} +1 -1
- package/dist/{search-6Y422SV6.js → search-5LC4XPB5.js} +3 -3
- package/dist/{search-6Y422SV6.js.map → search-5LC4XPB5.js.map} +1 -1
- package/dist/table/index.js +7 -6
- package/dist/table/index.js.map +1 -1
- package/dist/ui/index.d.ts +140 -10
- package/dist/ui/index.js +1405 -63
- package/dist/ui/index.js.map +1 -1
- package/dist/{upgrade-HCANX4GQ.js → upgrade-DBBE6GIR.js} +6 -6
- package/dist/{upgrade-HCANX4GQ.js.map → upgrade-DBBE6GIR.js.map} +1 -1
- package/dist/vite/index.d.ts +10 -0
- package/dist/vite/index.js +3 -3
- package/docs/index.json +291 -61
- package/docs/ja/changelog.md +26 -0
- package/docs/ja/components.md +33 -89
- package/docs/ja/page-types/csv.md +83 -0
- package/docs/ja/page-types/doc.md +83 -0
- package/docs/ja/page-types/excel.md +82 -0
- package/docs/ja/page-types/slide.md +132 -0
- package/docs/ja/page-types.md +47 -0
- package/docs/ja/parts/area-chart.md +61 -0
- package/docs/ja/parts/bar-chart.md +69 -0
- package/docs/ja/parts/bar-list.md +35 -0
- package/docs/ja/parts/category-bar.md +36 -0
- package/docs/ja/parts/donut-chart.md +47 -0
- package/docs/ja/parts/echart.md +3 -0
- package/docs/ja/parts/line-chart.md +58 -0
- package/docs/ja/parts/progress-circle.md +34 -0
- package/docs/ja/parts/sparkline.md +1 -1
- package/docs/ja/parts/tracker.md +32 -0
- package/docs/ja/routing.md +8 -86
- package/docs/ja/ui/alert-dialog.md +41 -0
- package/docs/ja/ui/avatar.md +31 -0
- package/docs/ja/ui/combobox.md +74 -0
- package/docs/ja/ui/drawer.md +41 -0
- package/docs/ja/ui/field.md +42 -0
- package/docs/ja/ui/hover-card.md +21 -0
- package/docs/ja/ui/kbd.md +16 -0
- package/docs/ja/ui/pagination.md +36 -0
- package/docs/ja/ui/radio-group.md +21 -0
- package/docs/ja/ui/toast.md +46 -0
- package/docs/ja/ui-and-theming.md +14 -7
- package/package.json +21 -13
- package/registry/ui/accordion.tsx +74 -0
- package/registry/ui/alert-dialog.tsx +189 -0
- package/registry/ui/alert.tsx +78 -0
- package/registry/ui/app-shell.tsx +281 -0
- package/registry/ui/area-chart.tsx +1015 -0
- package/registry/ui/avatar.tsx +110 -0
- package/registry/ui/badge.tsx +54 -0
- package/registry/ui/bar-chart.tsx +1013 -0
- package/registry/ui/bar-list.tsx +302 -0
- package/registry/ui/breadcrumb.tsx +126 -0
- package/registry/ui/button.tsx +60 -0
- package/registry/ui/calendar.tsx +221 -0
- package/registry/ui/card.tsx +105 -0
- package/registry/ui/category-bar.tsx +281 -0
- package/registry/ui/checkbox.tsx +28 -0
- package/registry/ui/collapsible.tsx +21 -0
- package/registry/ui/combobox.tsx +310 -0
- package/registry/ui/command.tsx +196 -0
- package/registry/ui/dashboard-card.tsx +174 -0
- package/registry/ui/data-table.tsx +16 -91
- package/registry/ui/date-range-picker.tsx +209 -0
- package/registry/ui/dialog.tsx +159 -0
- package/registry/ui/donut-chart.tsx +1004 -0
- package/registry/ui/drawer.tsx +229 -0
- package/registry/ui/dropdown-menu.tsx +272 -0
- package/registry/ui/echart.tsx +486 -0
- package/registry/ui/field.tsx +240 -0
- package/registry/ui/filter-bar.tsx +365 -0
- package/registry/ui/funnel-steps.tsx +274 -0
- package/registry/ui/hover-card.tsx +52 -0
- package/registry/ui/input-group.tsx +158 -0
- package/registry/ui/input.tsx +22 -0
- package/registry/ui/kbd.tsx +28 -0
- package/registry/ui/label.tsx +20 -0
- package/registry/ui/line-chart.tsx +1007 -0
- package/registry/ui/metric-value.tsx +54 -0
- package/registry/ui/multi-select.tsx +226 -0
- package/registry/ui/page-shell.tsx +227 -0
- package/registry/ui/pagination.tsx +138 -0
- package/registry/ui/placeholder.tsx +30 -0
- package/registry/ui/popover.tsx +90 -0
- package/registry/ui/progress-circle.tsx +272 -0
- package/registry/ui/progress.tsx +83 -0
- package/registry/ui/radio-group.tsx +39 -0
- package/registry/ui/scroll-area.tsx +55 -0
- package/registry/ui/searchable-select.tsx +209 -0
- package/registry/ui/section-header.tsx +41 -0
- package/registry/ui/segmented-control.tsx +71 -0
- package/registry/ui/select.tsx +253 -0
- package/registry/ui/separator.tsx +25 -0
- package/registry/ui/sheet.tsx +137 -0
- package/registry/ui/sidebar.tsx +723 -0
- package/registry/ui/skeleton.tsx +15 -0
- package/registry/ui/slider.tsx +54 -0
- package/registry/ui/sparkline.tsx +155 -0
- package/registry/ui/spinner.tsx +12 -0
- package/registry/ui/states.tsx +61 -0
- package/registry/ui/status-badge.tsx +79 -0
- package/registry/ui/switch.tsx +32 -0
- package/registry/ui/table.tsx +116 -0
- package/registry/ui/tabs.tsx +82 -0
- package/registry/ui/textarea.tsx +20 -0
- package/registry/ui/toast.tsx +250 -0
- package/registry/ui/toggle-group.tsx +89 -0
- package/registry/ui/toggle.tsx +45 -0
- package/registry/ui/tooltip.tsx +66 -0
- package/registry/ui/tracker.tsx +236 -0
- package/registry/ui/trend-indicator.tsx +62 -0
- package/skills/vantage-add-feature/SKILL.md +9 -7
- package/skills/vantage-pitfalls/SKILL.md +5 -1
- package/templates/AGENTS.md +10 -1
- package/templates/agents/csv.md +2 -1
- package/templates/agents/doc.md +4 -3
- package/templates/agents/page.md +22 -8
- package/templates/agents/xlsx.md +2 -1
- package/dist/add-DY4AXANK.js +0 -6
- package/dist/add-DY4AXANK.js.map +0 -1
- package/dist/chunk-DTDVSFRY.js.map +0 -1
- package/dist/chunk-LMUACBMA.js.map +0 -1
- package/dist/chunk-NKFBFDRZ.js.map +0 -1
- package/dist/chunk-PVTHHV7X.js.map +0 -1
- package/dist/chunk-QI3XQKHS.js.map +0 -1
- package/dist/chunk-VA776YE5.js +0 -316
- package/dist/chunk-VA776YE5.js.map +0 -1
- package/dist/dev-GDKATCC7.js.map +0 -1
|
@@ -9,13 +9,13 @@ import { ChevronLeftIcon, ChevronRightIcon, ChevronDownIcon, CheckIcon, XIcon, S
|
|
|
9
9
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
10
10
|
import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
|
|
11
11
|
import { Collapsible as Collapsible$1 } from '@base-ui/react/collapsible';
|
|
12
|
-
import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
|
|
13
12
|
import { Input as Input$1 } from '@base-ui/react/input';
|
|
13
|
+
import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
|
|
14
14
|
import { Command as Command$1 } from 'cmdk';
|
|
15
15
|
import { Menu } from '@base-ui/react/menu';
|
|
16
|
+
import { Separator as Separator$1 } from '@base-ui/react/separator';
|
|
16
17
|
import { Popover as Popover$1 } from '@base-ui/react/popover';
|
|
17
18
|
import { Select as Select$1 } from '@base-ui/react/select';
|
|
18
|
-
import { Separator as Separator$1 } from '@base-ui/react/separator';
|
|
19
19
|
import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
20
20
|
import { Toggle as Toggle$1 } from '@base-ui/react/toggle';
|
|
21
21
|
import { ToggleGroup as ToggleGroup$1 } from '@base-ui/react/toggle-group';
|
|
@@ -266,137 +266,6 @@ function CollapsibleTrigger({ ...props }) {
|
|
|
266
266
|
function CollapsibleContent({ ...props }) {
|
|
267
267
|
return /* @__PURE__ */ jsx(Collapsible$1.Panel, { "data-slot": "collapsible-content", ...props });
|
|
268
268
|
}
|
|
269
|
-
function Dialog({ ...props }) {
|
|
270
|
-
return /* @__PURE__ */ jsx(Dialog$1.Root, { "data-slot": "dialog", ...props });
|
|
271
|
-
}
|
|
272
|
-
function DialogTrigger({ ...props }) {
|
|
273
|
-
return /* @__PURE__ */ jsx(Dialog$1.Trigger, { "data-slot": "dialog-trigger", ...props });
|
|
274
|
-
}
|
|
275
|
-
function DialogPortal({ ...props }) {
|
|
276
|
-
return /* @__PURE__ */ jsx(Dialog$1.Portal, { "data-slot": "dialog-portal", ...props });
|
|
277
|
-
}
|
|
278
|
-
function DialogClose({ ...props }) {
|
|
279
|
-
return /* @__PURE__ */ jsx(Dialog$1.Close, { "data-slot": "dialog-close", ...props });
|
|
280
|
-
}
|
|
281
|
-
function DialogOverlay({
|
|
282
|
-
className,
|
|
283
|
-
...props
|
|
284
|
-
}) {
|
|
285
|
-
return /* @__PURE__ */ jsx(
|
|
286
|
-
Dialog$1.Backdrop,
|
|
287
|
-
{
|
|
288
|
-
"data-slot": "dialog-overlay",
|
|
289
|
-
className: cn(
|
|
290
|
-
"fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
|
|
291
|
-
className
|
|
292
|
-
),
|
|
293
|
-
...props
|
|
294
|
-
}
|
|
295
|
-
);
|
|
296
|
-
}
|
|
297
|
-
function DialogContent({
|
|
298
|
-
className,
|
|
299
|
-
children,
|
|
300
|
-
showCloseButton = true,
|
|
301
|
-
...props
|
|
302
|
-
}) {
|
|
303
|
-
return /* @__PURE__ */ jsxs(DialogPortal, { children: [
|
|
304
|
-
/* @__PURE__ */ jsx(DialogOverlay, {}),
|
|
305
|
-
/* @__PURE__ */ jsxs(
|
|
306
|
-
Dialog$1.Popup,
|
|
307
|
-
{
|
|
308
|
-
"data-slot": "dialog-content",
|
|
309
|
-
className: cn(
|
|
310
|
-
"fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
311
|
-
className
|
|
312
|
-
),
|
|
313
|
-
...props,
|
|
314
|
-
children: [
|
|
315
|
-
children,
|
|
316
|
-
showCloseButton && /* @__PURE__ */ jsxs(
|
|
317
|
-
Dialog$1.Close,
|
|
318
|
-
{
|
|
319
|
-
"data-slot": "dialog-close",
|
|
320
|
-
render: /* @__PURE__ */ jsx(
|
|
321
|
-
Button,
|
|
322
|
-
{
|
|
323
|
-
variant: "ghost",
|
|
324
|
-
className: "absolute top-2 right-2",
|
|
325
|
-
size: "icon-sm"
|
|
326
|
-
}
|
|
327
|
-
),
|
|
328
|
-
children: [
|
|
329
|
-
/* @__PURE__ */ jsx(XIcon, {}),
|
|
330
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
331
|
-
]
|
|
332
|
-
}
|
|
333
|
-
)
|
|
334
|
-
]
|
|
335
|
-
}
|
|
336
|
-
)
|
|
337
|
-
] });
|
|
338
|
-
}
|
|
339
|
-
function DialogHeader({ className, ...props }) {
|
|
340
|
-
return /* @__PURE__ */ jsx(
|
|
341
|
-
"div",
|
|
342
|
-
{
|
|
343
|
-
"data-slot": "dialog-header",
|
|
344
|
-
className: cn("flex flex-col gap-2", className),
|
|
345
|
-
...props
|
|
346
|
-
}
|
|
347
|
-
);
|
|
348
|
-
}
|
|
349
|
-
function DialogFooter({
|
|
350
|
-
className,
|
|
351
|
-
showCloseButton = false,
|
|
352
|
-
children,
|
|
353
|
-
...props
|
|
354
|
-
}) {
|
|
355
|
-
return /* @__PURE__ */ jsxs(
|
|
356
|
-
"div",
|
|
357
|
-
{
|
|
358
|
-
"data-slot": "dialog-footer",
|
|
359
|
-
className: cn(
|
|
360
|
-
"-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",
|
|
361
|
-
className
|
|
362
|
-
),
|
|
363
|
-
...props,
|
|
364
|
-
children: [
|
|
365
|
-
children,
|
|
366
|
-
showCloseButton && /* @__PURE__ */ jsx(Dialog$1.Close, { render: /* @__PURE__ */ jsx(Button, { variant: "outline" }), children: "Close" })
|
|
367
|
-
]
|
|
368
|
-
}
|
|
369
|
-
);
|
|
370
|
-
}
|
|
371
|
-
function DialogTitle({ className, ...props }) {
|
|
372
|
-
return /* @__PURE__ */ jsx(
|
|
373
|
-
Dialog$1.Title,
|
|
374
|
-
{
|
|
375
|
-
"data-slot": "dialog-title",
|
|
376
|
-
className: cn(
|
|
377
|
-
"cn-font-heading text-base leading-none font-medium",
|
|
378
|
-
className
|
|
379
|
-
),
|
|
380
|
-
...props
|
|
381
|
-
}
|
|
382
|
-
);
|
|
383
|
-
}
|
|
384
|
-
function DialogDescription({
|
|
385
|
-
className,
|
|
386
|
-
...props
|
|
387
|
-
}) {
|
|
388
|
-
return /* @__PURE__ */ jsx(
|
|
389
|
-
Dialog$1.Description,
|
|
390
|
-
{
|
|
391
|
-
"data-slot": "dialog-description",
|
|
392
|
-
className: cn(
|
|
393
|
-
"text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",
|
|
394
|
-
className
|
|
395
|
-
),
|
|
396
|
-
...props
|
|
397
|
-
}
|
|
398
|
-
);
|
|
399
|
-
}
|
|
400
269
|
function Input({ className, type, ...props }) {
|
|
401
270
|
return /* @__PURE__ */ jsx(
|
|
402
271
|
Input$1,
|
|
@@ -554,6 +423,137 @@ function InputGroupTextarea({
|
|
|
554
423
|
}
|
|
555
424
|
);
|
|
556
425
|
}
|
|
426
|
+
function Dialog({ ...props }) {
|
|
427
|
+
return /* @__PURE__ */ jsx(Dialog$1.Root, { "data-slot": "dialog", ...props });
|
|
428
|
+
}
|
|
429
|
+
function DialogTrigger({ ...props }) {
|
|
430
|
+
return /* @__PURE__ */ jsx(Dialog$1.Trigger, { "data-slot": "dialog-trigger", ...props });
|
|
431
|
+
}
|
|
432
|
+
function DialogPortal({ ...props }) {
|
|
433
|
+
return /* @__PURE__ */ jsx(Dialog$1.Portal, { "data-slot": "dialog-portal", ...props });
|
|
434
|
+
}
|
|
435
|
+
function DialogClose({ ...props }) {
|
|
436
|
+
return /* @__PURE__ */ jsx(Dialog$1.Close, { "data-slot": "dialog-close", ...props });
|
|
437
|
+
}
|
|
438
|
+
function DialogOverlay({
|
|
439
|
+
className,
|
|
440
|
+
...props
|
|
441
|
+
}) {
|
|
442
|
+
return /* @__PURE__ */ jsx(
|
|
443
|
+
Dialog$1.Backdrop,
|
|
444
|
+
{
|
|
445
|
+
"data-slot": "dialog-overlay",
|
|
446
|
+
className: cn(
|
|
447
|
+
"fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
|
|
448
|
+
className
|
|
449
|
+
),
|
|
450
|
+
...props
|
|
451
|
+
}
|
|
452
|
+
);
|
|
453
|
+
}
|
|
454
|
+
function DialogContent({
|
|
455
|
+
className,
|
|
456
|
+
children,
|
|
457
|
+
showCloseButton = true,
|
|
458
|
+
...props
|
|
459
|
+
}) {
|
|
460
|
+
return /* @__PURE__ */ jsxs(DialogPortal, { children: [
|
|
461
|
+
/* @__PURE__ */ jsx(DialogOverlay, {}),
|
|
462
|
+
/* @__PURE__ */ jsxs(
|
|
463
|
+
Dialog$1.Popup,
|
|
464
|
+
{
|
|
465
|
+
"data-slot": "dialog-content",
|
|
466
|
+
className: cn(
|
|
467
|
+
"fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
468
|
+
className
|
|
469
|
+
),
|
|
470
|
+
...props,
|
|
471
|
+
children: [
|
|
472
|
+
children,
|
|
473
|
+
showCloseButton && /* @__PURE__ */ jsxs(
|
|
474
|
+
Dialog$1.Close,
|
|
475
|
+
{
|
|
476
|
+
"data-slot": "dialog-close",
|
|
477
|
+
render: /* @__PURE__ */ jsx(
|
|
478
|
+
Button,
|
|
479
|
+
{
|
|
480
|
+
variant: "ghost",
|
|
481
|
+
className: "absolute top-2 right-2",
|
|
482
|
+
size: "icon-sm"
|
|
483
|
+
}
|
|
484
|
+
),
|
|
485
|
+
children: [
|
|
486
|
+
/* @__PURE__ */ jsx(XIcon, {}),
|
|
487
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
488
|
+
]
|
|
489
|
+
}
|
|
490
|
+
)
|
|
491
|
+
]
|
|
492
|
+
}
|
|
493
|
+
)
|
|
494
|
+
] });
|
|
495
|
+
}
|
|
496
|
+
function DialogHeader({ className, ...props }) {
|
|
497
|
+
return /* @__PURE__ */ jsx(
|
|
498
|
+
"div",
|
|
499
|
+
{
|
|
500
|
+
"data-slot": "dialog-header",
|
|
501
|
+
className: cn("flex flex-col gap-2", className),
|
|
502
|
+
...props
|
|
503
|
+
}
|
|
504
|
+
);
|
|
505
|
+
}
|
|
506
|
+
function DialogFooter({
|
|
507
|
+
className,
|
|
508
|
+
showCloseButton = false,
|
|
509
|
+
children,
|
|
510
|
+
...props
|
|
511
|
+
}) {
|
|
512
|
+
return /* @__PURE__ */ jsxs(
|
|
513
|
+
"div",
|
|
514
|
+
{
|
|
515
|
+
"data-slot": "dialog-footer",
|
|
516
|
+
className: cn(
|
|
517
|
+
"-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",
|
|
518
|
+
className
|
|
519
|
+
),
|
|
520
|
+
...props,
|
|
521
|
+
children: [
|
|
522
|
+
children,
|
|
523
|
+
showCloseButton && /* @__PURE__ */ jsx(Dialog$1.Close, { render: /* @__PURE__ */ jsx(Button, { variant: "outline" }), children: "Close" })
|
|
524
|
+
]
|
|
525
|
+
}
|
|
526
|
+
);
|
|
527
|
+
}
|
|
528
|
+
function DialogTitle({ className, ...props }) {
|
|
529
|
+
return /* @__PURE__ */ jsx(
|
|
530
|
+
Dialog$1.Title,
|
|
531
|
+
{
|
|
532
|
+
"data-slot": "dialog-title",
|
|
533
|
+
className: cn(
|
|
534
|
+
"cn-font-heading text-base leading-none font-medium",
|
|
535
|
+
className
|
|
536
|
+
),
|
|
537
|
+
...props
|
|
538
|
+
}
|
|
539
|
+
);
|
|
540
|
+
}
|
|
541
|
+
function DialogDescription({
|
|
542
|
+
className,
|
|
543
|
+
...props
|
|
544
|
+
}) {
|
|
545
|
+
return /* @__PURE__ */ jsx(
|
|
546
|
+
Dialog$1.Description,
|
|
547
|
+
{
|
|
548
|
+
"data-slot": "dialog-description",
|
|
549
|
+
className: cn(
|
|
550
|
+
"text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",
|
|
551
|
+
className
|
|
552
|
+
),
|
|
553
|
+
...props
|
|
554
|
+
}
|
|
555
|
+
);
|
|
556
|
+
}
|
|
557
557
|
function Command({
|
|
558
558
|
className,
|
|
559
559
|
...props
|
|
@@ -940,6 +940,24 @@ function DropdownMenuShortcut({
|
|
|
940
940
|
}
|
|
941
941
|
);
|
|
942
942
|
}
|
|
943
|
+
function Separator({
|
|
944
|
+
className,
|
|
945
|
+
orientation = "horizontal",
|
|
946
|
+
...props
|
|
947
|
+
}) {
|
|
948
|
+
return /* @__PURE__ */ jsx(
|
|
949
|
+
Separator$1,
|
|
950
|
+
{
|
|
951
|
+
"data-slot": "separator",
|
|
952
|
+
orientation,
|
|
953
|
+
className: cn(
|
|
954
|
+
"shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",
|
|
955
|
+
className
|
|
956
|
+
),
|
|
957
|
+
...props
|
|
958
|
+
}
|
|
959
|
+
);
|
|
960
|
+
}
|
|
943
961
|
function Popover({ ...props }) {
|
|
944
962
|
return /* @__PURE__ */ jsx(Popover$1.Root, { "data-slot": "popover", ...props });
|
|
945
963
|
}
|
|
@@ -1207,24 +1225,6 @@ function SelectScrollDownButton({
|
|
|
1207
1225
|
}
|
|
1208
1226
|
);
|
|
1209
1227
|
}
|
|
1210
|
-
function Separator({
|
|
1211
|
-
className,
|
|
1212
|
-
orientation = "horizontal",
|
|
1213
|
-
...props
|
|
1214
|
-
}) {
|
|
1215
|
-
return /* @__PURE__ */ jsx(
|
|
1216
|
-
Separator$1,
|
|
1217
|
-
{
|
|
1218
|
-
"data-slot": "separator",
|
|
1219
|
-
orientation,
|
|
1220
|
-
className: cn(
|
|
1221
|
-
"shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",
|
|
1222
|
-
className
|
|
1223
|
-
),
|
|
1224
|
-
...props
|
|
1225
|
-
}
|
|
1226
|
-
);
|
|
1227
|
-
}
|
|
1228
1228
|
function Sheet({ ...props }) {
|
|
1229
1229
|
return /* @__PURE__ */ jsx(Dialog$1.Root, { "data-slot": "sheet", ...props });
|
|
1230
1230
|
}
|
|
@@ -2224,5 +2224,5 @@ function ToggleGroupItem({
|
|
|
2224
2224
|
}
|
|
2225
2225
|
|
|
2226
2226
|
export { Badge, Calendar, CalendarDayButton, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Textarea, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, toggleVariants, useIsMobile, useSidebar };
|
|
2227
|
-
//# sourceMappingURL=chunk-
|
|
2228
|
-
//# sourceMappingURL=chunk-
|
|
2227
|
+
//# sourceMappingURL=chunk-OB6UBJXF.js.map
|
|
2228
|
+
//# sourceMappingURL=chunk-OB6UBJXF.js.map
|