@squadbase/vantage 0.6.1 → 0.6.2-dev1.31accb1
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-DY4AXANK.js +6 -0
- package/dist/add-DY4AXANK.js.map +1 -0
- package/dist/{build-O5TVNH4E.js → build-TVKFIVFQ.js} +8 -8
- package/dist/{build-O5TVNH4E.js.map → build-TVKFIVFQ.js.map} +1 -1
- package/dist/{check-WFBEDHDR.js → check-3KHZXZMQ.js} +6 -6
- package/dist/{check-WFBEDHDR.js.map → check-3KHZXZMQ.js.map} +1 -1
- package/dist/{chunk-PLST5Q7T.js → chunk-AG6RZ2RR.js} +1010 -23
- package/dist/chunk-AG6RZ2RR.js.map +1 -0
- package/dist/{chunk-KLEIVDUV.js → chunk-CEXAQQ5W.js} +150 -11
- package/dist/chunk-CEXAQQ5W.js.map +1 -0
- package/dist/{chunk-JGRMRXXZ.js → chunk-JKLLFVEU.js} +3 -3
- package/dist/{chunk-JGRMRXXZ.js.map → chunk-JKLLFVEU.js.map} +1 -1
- package/dist/{chunk-EP6JHXSR.js → chunk-LMUACBMA.js} +3 -3
- package/dist/{chunk-EP6JHXSR.js.map → chunk-LMUACBMA.js.map} +1 -1
- package/dist/{chunk-MXI3PZFT.js → chunk-OB6UBJXF.js} +156 -200
- package/dist/chunk-OB6UBJXF.js.map +1 -0
- package/dist/{chunk-BCE22JSM.js → chunk-P7W4LR3Z.js} +32 -13
- package/dist/chunk-P7W4LR3Z.js.map +1 -0
- package/dist/chunk-PXRX5PEC.js +54 -0
- package/dist/chunk-PXRX5PEC.js.map +1 -0
- package/dist/{chunk-3G43C6OL.js → chunk-QI3XQKHS.js} +39 -3
- package/dist/chunk-QI3XQKHS.js.map +1 -0
- package/dist/{chunk-QDZA5JSL.js → chunk-U2M6HGKQ.js} +3 -3
- package/dist/{chunk-QDZA5JSL.js.map → chunk-U2M6HGKQ.js.map} +1 -1
- package/dist/{chunk-T3FLAGI6.js → chunk-VA776YE5.js} +3 -3
- package/dist/{chunk-T3FLAGI6.js.map → chunk-VA776YE5.js.map} +1 -1
- package/dist/cli.js +14 -11
- package/dist/cli.js.map +1 -1
- package/dist/components/index.d.ts +223 -1
- package/dist/components/index.js +3 -2
- package/dist/{dev-NZRLOQCL.js → dev-GDKATCC7.js} +22 -11
- package/dist/dev-GDKATCC7.js.map +1 -0
- package/dist/doc/index.d.ts +4 -0
- package/dist/doc/index.js +107 -11
- package/dist/doc/index.js.map +1 -1
- package/dist/{docs-ZGDJUHJI.js → docs-EJJ3BECT.js} +3 -3
- package/dist/{docs-ZGDJUHJI.js.map → docs-EJJ3BECT.js.map} +1 -1
- package/dist/{doctor-VFKEMR54.js → doctor-WQXPXP6K.js} +7 -7
- package/dist/doctor-WQXPXP6K.js.map +1 -0
- package/dist/{preview-QDCIVVSR.js → preview-OGMCNQUO.js} +12 -4
- package/dist/preview-OGMCNQUO.js.map +1 -0
- package/dist/{routes-RHP5FVGD.js → routes-MWBWWOJ2.js} +5 -5
- package/dist/{routes-RHP5FVGD.js.map → routes-MWBWWOJ2.js.map} +1 -1
- package/dist/{search-RFBELGY7.js → search-6Y422SV6.js} +3 -3
- package/dist/{search-RFBELGY7.js.map → search-6Y422SV6.js.map} +1 -1
- package/dist/slide/index.js +61 -15
- package/dist/slide/index.js.map +1 -1
- package/dist/table/index.js +7 -5
- package/dist/table/index.js.map +1 -1
- package/dist/ui/index.d.ts +140 -10
- package/dist/ui/index.js +1406 -63
- package/dist/ui/index.js.map +1 -1
- package/dist/{upgrade-GF2P67M6.js → upgrade-HCANX4GQ.js} +6 -6
- package/dist/{upgrade-GF2P67M6.js.map → upgrade-HCANX4GQ.js.map} +1 -1
- package/dist/vite/index.js +3 -3
- package/docs/en/changelog.md +24 -0
- package/docs/en/cli-reference.md +30 -0
- package/docs/en/parts/page-shell.md +1 -1
- package/docs/en/routing.md +4 -2
- package/docs/index.json +291 -61
- package/docs/ja/changelog.md +50 -0
- package/docs/ja/cli-reference.md +29 -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/page-shell.md +1 -1
- 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 -84
- 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 +18 -12
- 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-design/SKILL.md +3 -1
- package/skills/vantage-design/references/format.md +1 -1
- package/skills/vantage-pitfalls/SKILL.md +5 -1
- package/skills/vantage-slide/SKILL.md +17 -0
- package/templates/AGENTS.md +10 -1
- package/templates/agents/api.md +29 -0
- package/templates/agents/csv.md +2 -1
- package/templates/agents/doc.md +6 -3
- package/templates/agents/page.md +22 -8
- package/templates/agents/slide.md +13 -1
- package/templates/agents/xlsx.md +2 -1
- package/theme.css +51 -1
- package/dist/add-EISGSZAH.js +0 -6
- package/dist/add-EISGSZAH.js.map +0 -1
- package/dist/chunk-3G43C6OL.js.map +0 -1
- package/dist/chunk-BCE22JSM.js.map +0 -1
- package/dist/chunk-KLEIVDUV.js.map +0 -1
- package/dist/chunk-MXI3PZFT.js.map +0 -1
- package/dist/chunk-PLST5Q7T.js.map +0 -1
- package/dist/dev-NZRLOQCL.js.map +0 -1
- package/dist/doctor-VFKEMR54.js.map +0 -1
- package/dist/preview-QDCIVVSR.js.map +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
+
import { buttonVariants, Button } from './chunk-PXRX5PEC.js';
|
|
1
2
|
import { cn } from './chunk-A2UUGASH.js';
|
|
2
3
|
import { mergeProps } from '@base-ui/react/merge-props';
|
|
3
4
|
import { useRender } from '@base-ui/react/use-render';
|
|
4
5
|
import { cva } from 'class-variance-authority';
|
|
5
|
-
import { Button as Button$1 } from '@base-ui/react/button';
|
|
6
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
6
|
import * as React12 from 'react';
|
|
8
7
|
import { getDefaultClassNames, DayPicker } from 'react-day-picker';
|
|
9
8
|
import { ChevronLeftIcon, ChevronRightIcon, ChevronDownIcon, CheckIcon, XIcon, SearchIcon, ChevronUpIcon, PanelLeftIcon } from 'lucide-react';
|
|
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';
|
|
@@ -60,50 +60,6 @@ function Badge({
|
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
|
-
var buttonVariants = cva(
|
|
64
|
-
"group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
65
|
-
{
|
|
66
|
-
variants: {
|
|
67
|
-
variant: {
|
|
68
|
-
default: "bg-primary text-primary-foreground hover:bg-primary/80",
|
|
69
|
-
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
|
|
70
|
-
secondary: "bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
|
|
71
|
-
ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
|
|
72
|
-
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
|
|
73
|
-
link: "text-primary underline-offset-4 hover:underline"
|
|
74
|
-
},
|
|
75
|
-
size: {
|
|
76
|
-
default: "h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
|
|
77
|
-
xs: "h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",
|
|
78
|
-
sm: "h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",
|
|
79
|
-
lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
|
|
80
|
-
icon: "size-8",
|
|
81
|
-
"icon-xs": "size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3",
|
|
82
|
-
"icon-sm": "size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg",
|
|
83
|
-
"icon-lg": "size-9"
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
defaultVariants: {
|
|
87
|
-
variant: "default",
|
|
88
|
-
size: "default"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
);
|
|
92
|
-
function Button({
|
|
93
|
-
className,
|
|
94
|
-
variant = "default",
|
|
95
|
-
size = "default",
|
|
96
|
-
...props
|
|
97
|
-
}) {
|
|
98
|
-
return /* @__PURE__ */ jsx(
|
|
99
|
-
Button$1,
|
|
100
|
-
{
|
|
101
|
-
"data-slot": "button",
|
|
102
|
-
className: cn(buttonVariants({ variant, size, className })),
|
|
103
|
-
...props
|
|
104
|
-
}
|
|
105
|
-
);
|
|
106
|
-
}
|
|
107
63
|
function Calendar({
|
|
108
64
|
className,
|
|
109
65
|
classNames,
|
|
@@ -310,137 +266,6 @@ function CollapsibleTrigger({ ...props }) {
|
|
|
310
266
|
function CollapsibleContent({ ...props }) {
|
|
311
267
|
return /* @__PURE__ */ jsx(Collapsible$1.Panel, { "data-slot": "collapsible-content", ...props });
|
|
312
268
|
}
|
|
313
|
-
function Dialog({ ...props }) {
|
|
314
|
-
return /* @__PURE__ */ jsx(Dialog$1.Root, { "data-slot": "dialog", ...props });
|
|
315
|
-
}
|
|
316
|
-
function DialogTrigger({ ...props }) {
|
|
317
|
-
return /* @__PURE__ */ jsx(Dialog$1.Trigger, { "data-slot": "dialog-trigger", ...props });
|
|
318
|
-
}
|
|
319
|
-
function DialogPortal({ ...props }) {
|
|
320
|
-
return /* @__PURE__ */ jsx(Dialog$1.Portal, { "data-slot": "dialog-portal", ...props });
|
|
321
|
-
}
|
|
322
|
-
function DialogClose({ ...props }) {
|
|
323
|
-
return /* @__PURE__ */ jsx(Dialog$1.Close, { "data-slot": "dialog-close", ...props });
|
|
324
|
-
}
|
|
325
|
-
function DialogOverlay({
|
|
326
|
-
className,
|
|
327
|
-
...props
|
|
328
|
-
}) {
|
|
329
|
-
return /* @__PURE__ */ jsx(
|
|
330
|
-
Dialog$1.Backdrop,
|
|
331
|
-
{
|
|
332
|
-
"data-slot": "dialog-overlay",
|
|
333
|
-
className: cn(
|
|
334
|
-
"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",
|
|
335
|
-
className
|
|
336
|
-
),
|
|
337
|
-
...props
|
|
338
|
-
}
|
|
339
|
-
);
|
|
340
|
-
}
|
|
341
|
-
function DialogContent({
|
|
342
|
-
className,
|
|
343
|
-
children,
|
|
344
|
-
showCloseButton = true,
|
|
345
|
-
...props
|
|
346
|
-
}) {
|
|
347
|
-
return /* @__PURE__ */ jsxs(DialogPortal, { children: [
|
|
348
|
-
/* @__PURE__ */ jsx(DialogOverlay, {}),
|
|
349
|
-
/* @__PURE__ */ jsxs(
|
|
350
|
-
Dialog$1.Popup,
|
|
351
|
-
{
|
|
352
|
-
"data-slot": "dialog-content",
|
|
353
|
-
className: cn(
|
|
354
|
-
"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",
|
|
355
|
-
className
|
|
356
|
-
),
|
|
357
|
-
...props,
|
|
358
|
-
children: [
|
|
359
|
-
children,
|
|
360
|
-
showCloseButton && /* @__PURE__ */ jsxs(
|
|
361
|
-
Dialog$1.Close,
|
|
362
|
-
{
|
|
363
|
-
"data-slot": "dialog-close",
|
|
364
|
-
render: /* @__PURE__ */ jsx(
|
|
365
|
-
Button,
|
|
366
|
-
{
|
|
367
|
-
variant: "ghost",
|
|
368
|
-
className: "absolute top-2 right-2",
|
|
369
|
-
size: "icon-sm"
|
|
370
|
-
}
|
|
371
|
-
),
|
|
372
|
-
children: [
|
|
373
|
-
/* @__PURE__ */ jsx(XIcon, {}),
|
|
374
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
375
|
-
]
|
|
376
|
-
}
|
|
377
|
-
)
|
|
378
|
-
]
|
|
379
|
-
}
|
|
380
|
-
)
|
|
381
|
-
] });
|
|
382
|
-
}
|
|
383
|
-
function DialogHeader({ className, ...props }) {
|
|
384
|
-
return /* @__PURE__ */ jsx(
|
|
385
|
-
"div",
|
|
386
|
-
{
|
|
387
|
-
"data-slot": "dialog-header",
|
|
388
|
-
className: cn("flex flex-col gap-2", className),
|
|
389
|
-
...props
|
|
390
|
-
}
|
|
391
|
-
);
|
|
392
|
-
}
|
|
393
|
-
function DialogFooter({
|
|
394
|
-
className,
|
|
395
|
-
showCloseButton = false,
|
|
396
|
-
children,
|
|
397
|
-
...props
|
|
398
|
-
}) {
|
|
399
|
-
return /* @__PURE__ */ jsxs(
|
|
400
|
-
"div",
|
|
401
|
-
{
|
|
402
|
-
"data-slot": "dialog-footer",
|
|
403
|
-
className: cn(
|
|
404
|
-
"-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",
|
|
405
|
-
className
|
|
406
|
-
),
|
|
407
|
-
...props,
|
|
408
|
-
children: [
|
|
409
|
-
children,
|
|
410
|
-
showCloseButton && /* @__PURE__ */ jsx(Dialog$1.Close, { render: /* @__PURE__ */ jsx(Button, { variant: "outline" }), children: "Close" })
|
|
411
|
-
]
|
|
412
|
-
}
|
|
413
|
-
);
|
|
414
|
-
}
|
|
415
|
-
function DialogTitle({ className, ...props }) {
|
|
416
|
-
return /* @__PURE__ */ jsx(
|
|
417
|
-
Dialog$1.Title,
|
|
418
|
-
{
|
|
419
|
-
"data-slot": "dialog-title",
|
|
420
|
-
className: cn(
|
|
421
|
-
"cn-font-heading text-base leading-none font-medium",
|
|
422
|
-
className
|
|
423
|
-
),
|
|
424
|
-
...props
|
|
425
|
-
}
|
|
426
|
-
);
|
|
427
|
-
}
|
|
428
|
-
function DialogDescription({
|
|
429
|
-
className,
|
|
430
|
-
...props
|
|
431
|
-
}) {
|
|
432
|
-
return /* @__PURE__ */ jsx(
|
|
433
|
-
Dialog$1.Description,
|
|
434
|
-
{
|
|
435
|
-
"data-slot": "dialog-description",
|
|
436
|
-
className: cn(
|
|
437
|
-
"text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",
|
|
438
|
-
className
|
|
439
|
-
),
|
|
440
|
-
...props
|
|
441
|
-
}
|
|
442
|
-
);
|
|
443
|
-
}
|
|
444
269
|
function Input({ className, type, ...props }) {
|
|
445
270
|
return /* @__PURE__ */ jsx(
|
|
446
271
|
Input$1,
|
|
@@ -598,6 +423,137 @@ function InputGroupTextarea({
|
|
|
598
423
|
}
|
|
599
424
|
);
|
|
600
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
|
+
}
|
|
601
557
|
function Command({
|
|
602
558
|
className,
|
|
603
559
|
...props
|
|
@@ -984,6 +940,24 @@ function DropdownMenuShortcut({
|
|
|
984
940
|
}
|
|
985
941
|
);
|
|
986
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
|
+
}
|
|
987
961
|
function Popover({ ...props }) {
|
|
988
962
|
return /* @__PURE__ */ jsx(Popover$1.Root, { "data-slot": "popover", ...props });
|
|
989
963
|
}
|
|
@@ -1251,24 +1225,6 @@ function SelectScrollDownButton({
|
|
|
1251
1225
|
}
|
|
1252
1226
|
);
|
|
1253
1227
|
}
|
|
1254
|
-
function Separator({
|
|
1255
|
-
className,
|
|
1256
|
-
orientation = "horizontal",
|
|
1257
|
-
...props
|
|
1258
|
-
}) {
|
|
1259
|
-
return /* @__PURE__ */ jsx(
|
|
1260
|
-
Separator$1,
|
|
1261
|
-
{
|
|
1262
|
-
"data-slot": "separator",
|
|
1263
|
-
orientation,
|
|
1264
|
-
className: cn(
|
|
1265
|
-
"shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",
|
|
1266
|
-
className
|
|
1267
|
-
),
|
|
1268
|
-
...props
|
|
1269
|
-
}
|
|
1270
|
-
);
|
|
1271
|
-
}
|
|
1272
1228
|
function Sheet({ ...props }) {
|
|
1273
1229
|
return /* @__PURE__ */ jsx(Dialog$1.Root, { "data-slot": "sheet", ...props });
|
|
1274
1230
|
}
|
|
@@ -2267,6 +2223,6 @@ function ToggleGroupItem({
|
|
|
2267
2223
|
);
|
|
2268
2224
|
}
|
|
2269
2225
|
|
|
2270
|
-
export { Badge,
|
|
2271
|
-
//# sourceMappingURL=chunk-
|
|
2272
|
-
//# sourceMappingURL=chunk-
|
|
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-OB6UBJXF.js.map
|
|
2228
|
+
//# sourceMappingURL=chunk-OB6UBJXF.js.map
|