@pixpilot/shadcn 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/rolldown_runtime.cjs +1 -0
- package/dist/components/index.cjs +1 -0
- package/dist/components/index.d.cts +30 -0
- package/dist/components/index.d.ts +30 -0
- package/dist/components/index.js +1 -35
- package/dist/components/ui/OrContinueWithSeparator.cjs +1 -0
- package/dist/{OrContinueWithSeparator-CLGD1Hp8.d.ts → components/ui/OrContinueWithSeparator.d.cts} +3 -3
- package/dist/components/ui/OrContinueWithSeparator.d.ts +11 -0
- package/dist/components/ui/OrContinueWithSeparator.js +1 -6
- package/dist/components/ui/alert-dialog.cjs +1 -0
- package/dist/{alert-dialog-DfqbbSSI.d.ts → components/ui/alert-dialog.d.cts} +13 -13
- package/dist/components/ui/alert-dialog.d.ts +48 -0
- package/dist/components/ui/alert-dialog.js +1 -7
- package/dist/components/ui/alert.cjs +1 -0
- package/dist/{alert-BuSJW7FJ.d.ts → components/ui/alert.d.cts} +6 -6
- package/dist/components/ui/alert.d.ts +24 -0
- package/dist/components/ui/alert.js +1 -5
- package/dist/components/ui/avatar.cjs +1 -0
- package/dist/{avatar-Cu2GSSYZ.d.ts → components/ui/avatar.d.cts} +5 -5
- package/dist/components/ui/avatar.d.ts +19 -0
- package/dist/components/ui/avatar.js +1 -5
- package/dist/components/ui/badge.cjs +1 -0
- package/dist/{badge-_1_wFXtU.d.ts → components/ui/badge.d.cts} +5 -5
- package/dist/components/ui/badge.d.ts +19 -0
- package/dist/components/ui/badge.js +1 -5
- package/dist/components/ui/button.cjs +1 -0
- package/dist/{button-D3LwGnow.d.ts → components/ui/button.d.cts} +5 -5
- package/dist/components/ui/button.d.ts +21 -0
- package/dist/components/ui/button.js +1 -5
- package/dist/components/ui/calendar.cjs +1 -0
- package/dist/{calendar-BmGC3KEi.d.ts → components/ui/calendar.d.cts} +5 -5
- package/dist/components/ui/calendar.d.ts +26 -0
- package/dist/components/ui/calendar.js +1 -6
- package/dist/components/ui/card.cjs +1 -0
- package/dist/components/ui/card.d.cts +34 -0
- package/dist/components/ui/card.d.ts +34 -0
- package/dist/components/ui/card.js +1 -5
- package/dist/components/ui/checkbox.cjs +1 -0
- package/dist/{checkbox-B3agGzx9.d.ts → components/ui/checkbox.d.cts} +3 -3
- package/dist/components/ui/checkbox.d.ts +11 -0
- package/dist/components/ui/checkbox.js +1 -7
- package/dist/components/ui/command.cjs +1 -0
- package/dist/{command-DYY3jhrg.d.ts → components/ui/command.d.cts} +12 -12
- package/dist/components/ui/command.d.ts +52 -0
- package/dist/components/ui/command.js +1 -8
- package/dist/components/ui/dialog.cjs +1 -0
- package/dist/{dialog-D-hcbHxy.d.ts → components/ui/dialog.d.cts} +12 -12
- package/dist/components/ui/dialog.d.ts +47 -0
- package/dist/components/ui/dialog.js +1 -5
- package/dist/components/ui/dropdown-menu.cjs +1 -0
- package/dist/{dropdown-menu-BmbK1aYU.d.ts → components/ui/dropdown-menu.d.cts} +17 -17
- package/dist/components/ui/dropdown-menu.d.ts +77 -0
- package/dist/components/ui/dropdown-menu.js +1 -5
- package/dist/components/ui/file-upload.cjs +1 -0
- package/dist/{file-upload-CvqXunyl.d.ts → components/ui/file-upload.d.cts} +12 -12
- package/dist/components/ui/file-upload.d.ts +94 -0
- package/dist/components/ui/file-upload.js +1 -7
- package/dist/components/ui/form.cjs +1 -0
- package/dist/{form-DlY7oYOM.d.ts → components/ui/form.d.cts} +10 -10
- package/dist/components/ui/form.d.ts +45 -0
- package/dist/components/ui/form.js +1 -6
- package/dist/components/ui/index.cjs +1 -0
- package/dist/components/ui/index.d.cts +29 -0
- package/dist/components/ui/index.d.ts +29 -0
- package/dist/components/ui/index.js +1 -34
- package/dist/components/ui/input.cjs +1 -0
- package/dist/{input-RumcwxJs.d.ts → components/ui/input.d.cts} +3 -3
- package/dist/components/ui/input.d.ts +11 -0
- package/dist/components/ui/input.js +1 -5
- package/dist/components/ui/label.cjs +1 -0
- package/dist/{label-CQ-28O7Q.d.ts → components/ui/label.d.cts} +3 -3
- package/dist/components/ui/label.d.ts +11 -0
- package/dist/components/ui/label.js +1 -5
- package/dist/components/ui/pagination.cjs +1 -0
- package/dist/components/ui/pagination.d.cts +40 -0
- package/dist/{pagination-Q6kLlw6J.d.ts → components/ui/pagination.d.ts} +9 -9
- package/dist/components/ui/pagination.js +1 -5
- package/dist/components/ui/popover.cjs +1 -0
- package/dist/{popover-BzPxXXo8.d.ts → components/ui/popover.d.cts} +6 -6
- package/dist/components/ui/popover.d.ts +22 -0
- package/dist/components/ui/popover.js +1 -5
- package/dist/components/ui/radio-group.cjs +1 -0
- package/dist/{radio-group-B_Q80541.d.ts → components/ui/radio-group.d.cts} +4 -4
- package/dist/components/ui/radio-group.d.ts +15 -0
- package/dist/components/ui/radio-group.js +1 -5
- package/dist/components/ui/select.cjs +1 -0
- package/dist/{select-DbSK-rd_.d.ts → components/ui/select.d.cts} +12 -12
- package/dist/components/ui/select.d.ts +52 -0
- package/dist/components/ui/select.js +1 -7
- package/dist/components/ui/separator.cjs +1 -0
- package/dist/{separator-C_t229Nc.d.ts → components/ui/separator.d.cts} +3 -3
- package/dist/components/ui/separator.d.ts +13 -0
- package/dist/components/ui/separator.js +1 -5
- package/dist/components/ui/shadcn-io/tags/index.cjs +1 -0
- package/dist/{index-ii6MOZO-.d.ts → components/ui/shadcn-io/tags/index.d.cts} +14 -14
- package/dist/components/ui/shadcn-io/tags/index.d.ts +70 -0
- package/dist/components/ui/shadcn-io/tags/index.js +1 -12
- package/dist/components/ui/shadcn-io/tags-input-inline/index.cjs +1 -0
- package/dist/{index-BR__9xyL.d.ts → components/ui/shadcn-io/tags-input-inline/index.d.cts} +8 -8
- package/dist/components/ui/shadcn-io/tags-input-inline/index.d.ts +31 -0
- package/dist/components/ui/shadcn-io/tags-input-inline/index.js +1 -4
- package/dist/components/ui/sheet.cjs +1 -0
- package/dist/{sheet-CQ4h2nhf.d.ts → components/ui/sheet.d.cts} +10 -10
- package/dist/components/ui/sheet.d.ts +40 -0
- package/dist/components/ui/sheet.js +1 -5
- package/dist/components/ui/slider.cjs +1 -0
- package/dist/{slider-DNo33RNT.d.ts → components/ui/slider.d.cts} +3 -3
- package/dist/components/ui/slider.d.ts +15 -0
- package/dist/components/ui/slider.js +1 -5
- package/dist/components/ui/switch.cjs +1 -0
- package/dist/{switch-vvbTlbEc.d.ts → components/ui/switch.d.cts} +3 -3
- package/dist/components/ui/switch.d.ts +11 -0
- package/dist/components/ui/switch.js +1 -7
- package/dist/components/ui/tabs.cjs +1 -0
- package/dist/{tabs-D2Ubjb4f.d.ts → components/ui/tabs.d.cts} +6 -6
- package/dist/components/ui/tabs.d.ts +23 -0
- package/dist/components/ui/tabs.js +1 -5
- package/dist/components/ui/textarea.cjs +1 -0
- package/dist/components/ui/textarea.d.cts +10 -0
- package/dist/components/ui/textarea.d.ts +10 -0
- package/dist/components/ui/textarea.js +1 -5
- package/dist/components/ui/tooltip.cjs +1 -0
- package/dist/{tooltip-JmJWz4lK.d.ts → components/ui/tooltip.d.cts} +6 -6
- package/dist/components/ui/tooltip.d.ts +23 -0
- package/dist/components/ui/tooltip.js +1 -5
- package/dist/dist/components/ui/OrContinueWithSeparator.d.cts +1 -0
- package/dist/dist/components/ui/alert-dialog.d.cts +3 -0
- package/dist/dist/components/ui/alert.d.cts +3 -0
- package/dist/dist/components/ui/avatar.d.cts +3 -0
- package/dist/dist/components/ui/badge.d.cts +3 -0
- package/dist/dist/components/ui/button.d.cts +23 -0
- package/dist/dist/components/ui/calendar.d.cts +4 -0
- package/dist/dist/components/ui/card.d.cts +2 -0
- package/dist/dist/components/ui/checkbox.d.cts +3 -0
- package/dist/dist/components/ui/command.d.cts +4 -0
- package/dist/dist/components/ui/dialog.d.cts +3 -0
- package/dist/dist/components/ui/dropdown-menu.d.cts +3 -0
- package/dist/dist/components/ui/file-upload.d.cts +2 -0
- package/dist/dist/components/ui/form.d.cts +5 -0
- package/dist/dist/components/ui/input.d.cts +2 -0
- package/dist/dist/components/ui/label.d.cts +3 -0
- package/dist/dist/components/ui/pagination.d.cts +3 -0
- package/dist/dist/components/ui/popover.d.cts +3 -0
- package/dist/dist/components/ui/radio-group.d.cts +3 -0
- package/dist/dist/components/ui/select.d.cts +3 -0
- package/dist/dist/components/ui/separator.d.cts +3 -0
- package/dist/dist/components/ui/shadcn-io/tags/index.d.cts +6 -0
- package/dist/dist/components/ui/shadcn-io/tags-input-inline/index.d.cts +2 -0
- package/dist/dist/components/ui/sheet.d.cts +3 -0
- package/dist/dist/components/ui/slider.d.cts +3 -0
- package/dist/dist/components/ui/switch.d.cts +3 -0
- package/dist/dist/components/ui/tabs.d.cts +3 -0
- package/dist/dist/components/ui/textarea.d.cts +2 -0
- package/dist/dist/components/ui/tooltip.d.cts +3 -0
- package/dist/dist/index.d.cts +30 -0
- package/dist/dist/lib/utils.d.cts +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +33 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.js +1 -35
- package/dist/lib/index.cjs +1 -0
- package/dist/lib/index.d.cts +1 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +1 -4
- package/dist/lib/utils.cjs +1 -0
- package/dist/{utils-9ayr7mhb.d.ts → lib/utils.d.cts} +1 -1
- package/dist/lib/utils.d.ts +6 -0
- package/dist/lib/utils.js +1 -3
- package/package.json +8 -4
- package/dist/OrContinueWithSeparator-CkITP0NT.js +0 -27
- package/dist/alert-DgTy4F7t.js +0 -38
- package/dist/alert-dialog-eEUiwCc2.js +0 -82
- package/dist/avatar-ggnaPAdx.js +0 -30
- package/dist/badge-OxgStuN-.js +0 -26
- package/dist/button-Ct22vvF2.js +0 -45
- package/dist/calendar-SVLTPCYN.js +0 -106
- package/dist/card-CgZyi8N4.d.ts +0 -34
- package/dist/card-mGJMSXR3.js +0 -57
- package/dist/checkbox-Car6S-YU.js +0 -22
- package/dist/command-Bh0lIHth.js +0 -87
- package/dist/components/index-STwYZkVD.d.ts +0 -30
- package/dist/components/ui/OrContinueWithSeparator-zD9Uvv6K.d.ts +0 -2
- package/dist/components/ui/alert-CrGZ30uR.d.ts +0 -2
- package/dist/components/ui/alert-dialog-C0WF5Dos.d.ts +0 -2
- package/dist/components/ui/avatar-CktZYO6v.d.ts +0 -2
- package/dist/components/ui/badge-C9NYum6y.d.ts +0 -2
- package/dist/components/ui/button-CoYoii2T.d.ts +0 -2
- package/dist/components/ui/calendar-5xd65Bmh.d.ts +0 -2
- package/dist/components/ui/card-Ckto1jiE.d.ts +0 -2
- package/dist/components/ui/checkbox-BCQklDUE.d.ts +0 -2
- package/dist/components/ui/command-BqHc3wli.d.ts +0 -2
- package/dist/components/ui/dialog-BLBozK8K.d.ts +0 -2
- package/dist/components/ui/dropdown-menu-C-dl2Ajc.d.ts +0 -2
- package/dist/components/ui/file-upload-SPbnttch.d.ts +0 -2
- package/dist/components/ui/form-ViAewsgB.d.ts +0 -2
- package/dist/components/ui/index-IiXyLa8U.d.ts +0 -30
- package/dist/components/ui/input-CMceREK-.d.ts +0 -2
- package/dist/components/ui/label-BUAecFS7.d.ts +0 -2
- package/dist/components/ui/pagination-CAR6sJhu.d.ts +0 -2
- package/dist/components/ui/popover-CGeLg_mb.d.ts +0 -2
- package/dist/components/ui/radio-group-Bwr6-_75.d.ts +0 -2
- package/dist/components/ui/select-Ceyh3aK6.d.ts +0 -2
- package/dist/components/ui/separator-Dfxgb7gD.d.ts +0 -2
- package/dist/components/ui/shadcn-io/tags/index-CAKU-H34.d.ts +0 -2
- package/dist/components/ui/shadcn-io/tags-input-inline/index-DhQmdtJh.d.ts +0 -2
- package/dist/components/ui/sheet-DWnv_e2Q.d.ts +0 -2
- package/dist/components/ui/slider-CfcbtbNG.d.ts +0 -2
- package/dist/components/ui/switch-7kQX0wi0.d.ts +0 -2
- package/dist/components/ui/tabs-B6omTiQk.d.ts +0 -2
- package/dist/components/ui/textarea-DlRILngG.d.ts +0 -2
- package/dist/components/ui/tooltip-C3dlvOcu.d.ts +0 -2
- package/dist/components-CjOwsud_.js +0 -0
- package/dist/dialog-O7j71U82.js +0 -87
- package/dist/dropdown-menu-ChXZkLy7.js +0 -124
- package/dist/file-upload-DPXO1W1r.js +0 -906
- package/dist/form-DITfwajn.js +0 -88
- package/dist/index-BRXix37V.d.ts +0 -1
- package/dist/index-CuzvJC30.d.ts +0 -1
- package/dist/index-DmFnvxaQ.d.ts +0 -1
- package/dist/index-mle9QVf7.d.ts +0 -31
- package/dist/input-Yyz-T5fE.js +0 -16
- package/dist/label-CAjd9Y0A.js +0 -16
- package/dist/lib/index-Cw9OTq6Z.d.ts +0 -2
- package/dist/lib/utils-BjeUWu6D.d.ts +0 -2
- package/dist/lib-IiLuXmGR.js +0 -0
- package/dist/pagination-X2x4H7jR.js +0 -80
- package/dist/popover-CfOLUbKw.js +0 -36
- package/dist/radio-group-4k6LZmww.js +0 -29
- package/dist/select-CXWDXh_t.js +0 -98
- package/dist/separator-BVBCxKBW.js +0 -18
- package/dist/sheet-BBbn5TK4.js +0 -83
- package/dist/slider-DZtuc6x6.js +0 -37
- package/dist/switch-C62hH2DB.js +0 -20
- package/dist/tabs-FcdB14CD.js +0 -37
- package/dist/tags-BAsyeRVu.js +0 -130
- package/dist/tags-input-inline-ClkRtl0N.js +0 -57
- package/dist/textarea-CmzvDEJd.d.ts +0 -10
- package/dist/textarea-DiUrRyYt.js +0 -15
- package/dist/tooltip-DVfEzbIm.js +0 -37
- package/dist/ui-8TGeeaIT.js +0 -0
- package/dist/utils-CeuVg6RA.js +0 -10
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { t as cn } from "./utils-CeuVg6RA.js";
|
|
2
|
-
import { n as buttonVariants, t as Button } from "./button-Ct22vvF2.js";
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon } from "lucide-react";
|
|
6
|
-
import { DayPicker, getDefaultClassNames } from "react-day-picker";
|
|
7
|
-
|
|
8
|
-
//#region src/components/ui/calendar.tsx
|
|
9
|
-
function Calendar({ className, classNames, showOutsideDays = true, captionLayout = "label", buttonVariant = "ghost", formatters, components, ...props }) {
|
|
10
|
-
const defaultClassNames = getDefaultClassNames();
|
|
11
|
-
return /* @__PURE__ */ jsx(DayPicker, {
|
|
12
|
-
showOutsideDays,
|
|
13
|
-
className: cn("bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent", String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`, className),
|
|
14
|
-
captionLayout,
|
|
15
|
-
formatters: {
|
|
16
|
-
formatMonthDropdown: (date) => date.toLocaleString("default", { month: "short" }),
|
|
17
|
-
...formatters
|
|
18
|
-
},
|
|
19
|
-
classNames: {
|
|
20
|
-
root: cn("w-fit", defaultClassNames.root),
|
|
21
|
-
months: cn("flex gap-4 flex-col md:flex-row relative", defaultClassNames.months),
|
|
22
|
-
month: cn("flex flex-col w-full gap-4", defaultClassNames.month),
|
|
23
|
-
nav: cn("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between", defaultClassNames.nav),
|
|
24
|
-
button_previous: cn(buttonVariants({ variant: buttonVariant }), "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none", defaultClassNames.button_previous),
|
|
25
|
-
button_next: cn(buttonVariants({ variant: buttonVariant }), "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none", defaultClassNames.button_next),
|
|
26
|
-
month_caption: cn("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)", defaultClassNames.month_caption),
|
|
27
|
-
dropdowns: cn("w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5", defaultClassNames.dropdowns),
|
|
28
|
-
dropdown_root: cn("relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md", defaultClassNames.dropdown_root),
|
|
29
|
-
dropdown: cn("absolute bg-popover inset-0 opacity-0", defaultClassNames.dropdown),
|
|
30
|
-
caption_label: cn("select-none font-medium", captionLayout === "label" ? "text-sm" : "rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5", defaultClassNames.caption_label),
|
|
31
|
-
table: "w-full border-collapse",
|
|
32
|
-
weekdays: cn("flex", defaultClassNames.weekdays),
|
|
33
|
-
weekday: cn("text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none", defaultClassNames.weekday),
|
|
34
|
-
week: cn("flex w-full mt-2", defaultClassNames.week),
|
|
35
|
-
week_number_header: cn("select-none w-(--cell-size)", defaultClassNames.week_number_header),
|
|
36
|
-
week_number: cn("text-[0.8rem] select-none text-muted-foreground", defaultClassNames.week_number),
|
|
37
|
-
day: cn("relative w-full h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none", props.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-md" : "[&:first-child[data-selected=true]_button]:rounded-l-md", defaultClassNames.day),
|
|
38
|
-
range_start: cn("rounded-l-md bg-accent", defaultClassNames.range_start),
|
|
39
|
-
range_middle: cn("rounded-none", defaultClassNames.range_middle),
|
|
40
|
-
range_end: cn("rounded-r-md bg-accent", defaultClassNames.range_end),
|
|
41
|
-
today: cn("bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none", defaultClassNames.today),
|
|
42
|
-
outside: cn("text-muted-foreground aria-selected:text-muted-foreground", defaultClassNames.outside),
|
|
43
|
-
disabled: cn("text-muted-foreground opacity-50", defaultClassNames.disabled),
|
|
44
|
-
hidden: cn("invisible", defaultClassNames.hidden),
|
|
45
|
-
...classNames
|
|
46
|
-
},
|
|
47
|
-
components: {
|
|
48
|
-
Root: ({ className: className$1, rootRef, ...props$1 }) => {
|
|
49
|
-
return /* @__PURE__ */ jsx("div", {
|
|
50
|
-
"data-slot": "calendar",
|
|
51
|
-
ref: rootRef,
|
|
52
|
-
className: cn(className$1),
|
|
53
|
-
...props$1
|
|
54
|
-
});
|
|
55
|
-
},
|
|
56
|
-
Chevron: ({ className: className$1, orientation, ...props$1 }) => {
|
|
57
|
-
if (orientation === "left") return /* @__PURE__ */ jsx(ChevronLeftIcon, {
|
|
58
|
-
className: cn("size-4", className$1),
|
|
59
|
-
...props$1
|
|
60
|
-
});
|
|
61
|
-
if (orientation === "right") return /* @__PURE__ */ jsx(ChevronRightIcon, {
|
|
62
|
-
className: cn("size-4", className$1),
|
|
63
|
-
...props$1
|
|
64
|
-
});
|
|
65
|
-
return /* @__PURE__ */ jsx(ChevronDownIcon, {
|
|
66
|
-
className: cn("size-4", className$1),
|
|
67
|
-
...props$1
|
|
68
|
-
});
|
|
69
|
-
},
|
|
70
|
-
DayButton: CalendarDayButton,
|
|
71
|
-
WeekNumber: ({ children, ...props$1 }) => {
|
|
72
|
-
return /* @__PURE__ */ jsx("td", {
|
|
73
|
-
...props$1,
|
|
74
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
75
|
-
className: "flex size-(--cell-size) items-center justify-center text-center",
|
|
76
|
-
children
|
|
77
|
-
})
|
|
78
|
-
});
|
|
79
|
-
},
|
|
80
|
-
...components
|
|
81
|
-
},
|
|
82
|
-
...props
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
function CalendarDayButton({ className, day, modifiers, ...props }) {
|
|
86
|
-
const defaultClassNames = getDefaultClassNames();
|
|
87
|
-
const ref = React.useRef(null);
|
|
88
|
-
React.useEffect(() => {
|
|
89
|
-
if (modifiers.focused) ref.current?.focus();
|
|
90
|
-
}, [modifiers.focused]);
|
|
91
|
-
return /* @__PURE__ */ jsx(Button, {
|
|
92
|
-
ref,
|
|
93
|
-
variant: "ghost",
|
|
94
|
-
size: "icon",
|
|
95
|
-
"data-day": day.date.toLocaleDateString(),
|
|
96
|
-
"data-selected-single": modifiers.selected && !modifiers.range_start && !modifiers.range_end && !modifiers.range_middle,
|
|
97
|
-
"data-range-start": modifiers.range_start,
|
|
98
|
-
"data-range-end": modifiers.range_end,
|
|
99
|
-
"data-range-middle": modifiers.range_middle,
|
|
100
|
-
className: cn("data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70", defaultClassNames.day, className),
|
|
101
|
-
...props
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
//#endregion
|
|
106
|
-
export { CalendarDayButton as n, Calendar as t };
|
package/dist/card-CgZyi8N4.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/ui/card.d.ts
|
|
5
|
-
declare function Card({
|
|
6
|
-
className,
|
|
7
|
-
...props
|
|
8
|
-
}: React.ComponentProps<'div'>): react_jsx_runtime6.JSX.Element;
|
|
9
|
-
declare function CardHeader({
|
|
10
|
-
className,
|
|
11
|
-
...props
|
|
12
|
-
}: React.ComponentProps<'div'>): react_jsx_runtime6.JSX.Element;
|
|
13
|
-
declare function CardTitle({
|
|
14
|
-
className,
|
|
15
|
-
...props
|
|
16
|
-
}: React.ComponentProps<'div'>): react_jsx_runtime6.JSX.Element;
|
|
17
|
-
declare function CardDescription({
|
|
18
|
-
className,
|
|
19
|
-
...props
|
|
20
|
-
}: React.ComponentProps<'div'>): react_jsx_runtime6.JSX.Element;
|
|
21
|
-
declare function CardAction({
|
|
22
|
-
className,
|
|
23
|
-
...props
|
|
24
|
-
}: React.ComponentProps<'div'>): react_jsx_runtime6.JSX.Element;
|
|
25
|
-
declare function CardContent({
|
|
26
|
-
className,
|
|
27
|
-
...props
|
|
28
|
-
}: React.ComponentProps<'div'>): react_jsx_runtime6.JSX.Element;
|
|
29
|
-
declare function CardFooter({
|
|
30
|
-
className,
|
|
31
|
-
...props
|
|
32
|
-
}: React.ComponentProps<'div'>): react_jsx_runtime6.JSX.Element;
|
|
33
|
-
//#endregion
|
|
34
|
-
export { CardFooter as a, CardDescription as i, CardAction as n, CardHeader as o, CardContent as r, CardTitle as s, Card as t };
|
package/dist/card-mGJMSXR3.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { t as cn } from "./utils-CeuVg6RA.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/card.tsx
|
|
6
|
-
function Card({ className, ...props }) {
|
|
7
|
-
return /* @__PURE__ */ jsx("div", {
|
|
8
|
-
"data-slot": "card",
|
|
9
|
-
className: cn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm", className),
|
|
10
|
-
...props
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
function CardHeader({ className, ...props }) {
|
|
14
|
-
return /* @__PURE__ */ jsx("div", {
|
|
15
|
-
"data-slot": "card-header",
|
|
16
|
-
className: cn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", className),
|
|
17
|
-
...props
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
function CardTitle({ className, ...props }) {
|
|
21
|
-
return /* @__PURE__ */ jsx("div", {
|
|
22
|
-
"data-slot": "card-title",
|
|
23
|
-
className: cn("leading-none font-semibold", className),
|
|
24
|
-
...props
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
function CardDescription({ className, ...props }) {
|
|
28
|
-
return /* @__PURE__ */ jsx("div", {
|
|
29
|
-
"data-slot": "card-description",
|
|
30
|
-
className: cn("text-muted-foreground text-sm", className),
|
|
31
|
-
...props
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
function CardAction({ className, ...props }) {
|
|
35
|
-
return /* @__PURE__ */ jsx("div", {
|
|
36
|
-
"data-slot": "card-action",
|
|
37
|
-
className: cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end", className),
|
|
38
|
-
...props
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
function CardContent({ className, ...props }) {
|
|
42
|
-
return /* @__PURE__ */ jsx("div", {
|
|
43
|
-
"data-slot": "card-content",
|
|
44
|
-
className: cn("px-6", className),
|
|
45
|
-
...props
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
function CardFooter({ className, ...props }) {
|
|
49
|
-
return /* @__PURE__ */ jsx("div", {
|
|
50
|
-
"data-slot": "card-footer",
|
|
51
|
-
className: cn("flex items-center px-6 [.border-t]:pt-6", className),
|
|
52
|
-
...props
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
//#endregion
|
|
57
|
-
export { CardFooter as a, CardDescription as i, CardAction as n, CardHeader as o, CardContent as r, CardTitle as s, Card as t };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { t as cn } from "./utils-CeuVg6RA.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import { CheckIcon } from "lucide-react";
|
|
5
|
-
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
6
|
-
|
|
7
|
-
//#region src/components/ui/checkbox.tsx
|
|
8
|
-
function Checkbox({ className, ...props }) {
|
|
9
|
-
return /* @__PURE__ */ jsx(CheckboxPrimitive.Root, {
|
|
10
|
-
"data-slot": "checkbox",
|
|
11
|
-
className: cn("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
12
|
-
...props,
|
|
13
|
-
children: /* @__PURE__ */ jsx(CheckboxPrimitive.Indicator, {
|
|
14
|
-
"data-slot": "checkbox-indicator",
|
|
15
|
-
className: "grid place-content-center text-current transition-none",
|
|
16
|
-
children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-3.5" })
|
|
17
|
-
})
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
//#endregion
|
|
22
|
-
export { Checkbox as t };
|
package/dist/command-Bh0lIHth.js
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { t as cn } from "./utils-CeuVg6RA.js";
|
|
2
|
-
import { i as DialogDescription, l as DialogTitle, o as DialogHeader, r as DialogContent, t as Dialog } from "./dialog-O7j71U82.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { SearchIcon } from "lucide-react";
|
|
6
|
-
import { Command } from "cmdk";
|
|
7
|
-
|
|
8
|
-
//#region src/components/ui/command.tsx
|
|
9
|
-
function Command$1({ className, ...props }) {
|
|
10
|
-
return /* @__PURE__ */ jsx(Command, {
|
|
11
|
-
"data-slot": "command",
|
|
12
|
-
className: cn("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md", className),
|
|
13
|
-
...props
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
function CommandDialog({ title = "Command Palette", description = "Search for a command to run...", children, className, showCloseButton = true, ...props }) {
|
|
17
|
-
return /* @__PURE__ */ jsxs(Dialog, {
|
|
18
|
-
...props,
|
|
19
|
-
children: [/* @__PURE__ */ jsxs(DialogHeader, {
|
|
20
|
-
className: "sr-only",
|
|
21
|
-
children: [/* @__PURE__ */ jsx(DialogTitle, { children: title }), /* @__PURE__ */ jsx(DialogDescription, { children: description })]
|
|
22
|
-
}), /* @__PURE__ */ jsx(DialogContent, {
|
|
23
|
-
className: cn("overflow-hidden p-0", className),
|
|
24
|
-
showCloseButton,
|
|
25
|
-
children: /* @__PURE__ */ jsx(Command$1, {
|
|
26
|
-
className: "[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",
|
|
27
|
-
children
|
|
28
|
-
})
|
|
29
|
-
})]
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
function CommandInput({ className, ...props }) {
|
|
33
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
34
|
-
"data-slot": "command-input-wrapper",
|
|
35
|
-
className: "flex h-9 items-center gap-2 border-b px-3",
|
|
36
|
-
children: [/* @__PURE__ */ jsx(SearchIcon, { className: "size-4 shrink-0 opacity-50" }), /* @__PURE__ */ jsx(Command.Input, {
|
|
37
|
-
"data-slot": "command-input",
|
|
38
|
-
className: cn("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
39
|
-
...props
|
|
40
|
-
})]
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
function CommandList({ className, ...props }) {
|
|
44
|
-
return /* @__PURE__ */ jsx(Command.List, {
|
|
45
|
-
"data-slot": "command-list",
|
|
46
|
-
className: cn("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", className),
|
|
47
|
-
...props
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
function CommandEmpty({ ...props }) {
|
|
51
|
-
return /* @__PURE__ */ jsx(Command.Empty, {
|
|
52
|
-
"data-slot": "command-empty",
|
|
53
|
-
className: "py-6 text-center text-sm",
|
|
54
|
-
...props
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
function CommandGroup({ className, ...props }) {
|
|
58
|
-
return /* @__PURE__ */ jsx(Command.Group, {
|
|
59
|
-
"data-slot": "command-group",
|
|
60
|
-
className: cn("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium", className),
|
|
61
|
-
...props
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
function CommandSeparator({ className, ...props }) {
|
|
65
|
-
return /* @__PURE__ */ jsx(Command.Separator, {
|
|
66
|
-
"data-slot": "command-separator",
|
|
67
|
-
className: cn("bg-border -mx-1 h-px", className),
|
|
68
|
-
...props
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
function CommandItem({ className, ...props }) {
|
|
72
|
-
return /* @__PURE__ */ jsx(Command.Item, {
|
|
73
|
-
"data-slot": "command-item",
|
|
74
|
-
className: cn("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
|
|
75
|
-
...props
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
function CommandShortcut({ className, ...props }) {
|
|
79
|
-
return /* @__PURE__ */ jsx("span", {
|
|
80
|
-
"data-slot": "command-shortcut",
|
|
81
|
-
className: cn("text-muted-foreground ml-auto text-xs tracking-widest", className),
|
|
82
|
-
...props
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
//#endregion
|
|
87
|
-
export { CommandInput as a, CommandSeparator as c, CommandGroup as i, CommandShortcut as l, CommandDialog as n, CommandItem as o, CommandEmpty as r, CommandList as s, Command$1 as t };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { n as AlertDescription, r as AlertTitle, t as Alert } from "../alert-BuSJW7FJ.js";
|
|
2
|
-
import { a as AlertDialogDescription, c as AlertDialogOverlay, d as AlertDialogTrigger, i as AlertDialogContent, l as AlertDialogPortal, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog, u as AlertDialogTitle } from "../alert-dialog-DfqbbSSI.js";
|
|
3
|
-
import { n as AvatarFallback, r as AvatarImage, t as Avatar } from "../avatar-Cu2GSSYZ.js";
|
|
4
|
-
import { n as badgeVariants, t as Badge } from "../badge-_1_wFXtU.js";
|
|
5
|
-
import { n as buttonVariants, t as Button } from "../button-D3LwGnow.js";
|
|
6
|
-
import { n as CalendarDayButton, t as Calendar } from "../calendar-BmGC3KEi.js";
|
|
7
|
-
import { a as CardFooter, i as CardDescription, n as CardAction, o as CardHeader, r as CardContent, s as CardTitle, t as Card } from "../card-CgZyi8N4.js";
|
|
8
|
-
import { t as Checkbox } from "../checkbox-B3agGzx9.js";
|
|
9
|
-
import { a as DialogFooter, c as DialogPortal, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogOverlay, t as Dialog, u as DialogTrigger } from "../dialog-D-hcbHxy.js";
|
|
10
|
-
import { a as CommandInput, c as CommandSeparator, i as CommandGroup, l as CommandShortcut, n as CommandDialog, o as CommandItem, r as CommandEmpty, s as CommandList, t as Command } from "../command-DYY3jhrg.js";
|
|
11
|
-
import { a as DropdownMenuItem, c as DropdownMenuRadioGroup, d as DropdownMenuShortcut, f as DropdownMenuSub, h as DropdownMenuTrigger, i as DropdownMenuGroup, l as DropdownMenuRadioItem, m as DropdownMenuSubTrigger, n as DropdownMenuCheckboxItem, o as DropdownMenuLabel, p as DropdownMenuSubContent, r as DropdownMenuContent, s as DropdownMenuPortal, t as DropdownMenu, u as DropdownMenuSeparator } from "../dropdown-menu-BmbK1aYU.js";
|
|
12
|
-
import { a as FileUploadItemMetadata, c as FileUploadList, d as FileUploadTrigger, f as useStore, i as FileUploadItemDelete, l as FileUploadRoot, n as FileUploadDropzone, o as FileUploadItemPreview, r as FileUploadItem, s as FileUploadItemProgress, t as FileUploadClear, u as FileUploadRootProps } from "../file-upload-CvqXunyl.js";
|
|
13
|
-
import { a as FormItem, c as useFormField, i as FormField, n as FormControl, o as FormLabel, r as FormDescription, s as FormMessage, t as Form } from "../form-DlY7oYOM.js";
|
|
14
|
-
import { t as Input } from "../input-RumcwxJs.js";
|
|
15
|
-
import { t as Label } from "../label-CQ-28O7Q.js";
|
|
16
|
-
import { t as OrContinueWithSeparator } from "../OrContinueWithSeparator-CLGD1Hp8.js";
|
|
17
|
-
import { a as PaginationLink, i as PaginationItem, n as PaginationContent, o as PaginationNext, r as PaginationEllipsis, s as PaginationPrevious, t as Pagination } from "../pagination-Q6kLlw6J.js";
|
|
18
|
-
import { i as PopoverTrigger, n as PopoverAnchor, r as PopoverContent, t as Popover } from "../popover-BzPxXXo8.js";
|
|
19
|
-
import { n as RadioGroupItem, t as RadioGroup } from "../radio-group-B_Q80541.js";
|
|
20
|
-
import { a as SelectLabel, c as SelectSeparator, i as SelectItem, l as SelectTrigger, n as SelectContent, o as SelectScrollDownButton, r as SelectGroup, s as SelectScrollUpButton, t as Select, u as SelectValue } from "../select-DbSK-rd_.js";
|
|
21
|
-
import { t as Separator } from "../separator-C_t229Nc.js";
|
|
22
|
-
import { _ as TagsValue, a as TagsEmptyProps, c as TagsInput, d as TagsItemProps, f as TagsList, g as TagsTriggerProps, h as TagsTrigger, i as TagsEmpty, l as TagsInputProps, m as TagsProps, n as TagsContent, o as TagsGroup, p as TagsListProps, r as TagsContentProps, s as TagsGroupProps, t as Tags, u as TagsItem, v as TagsValueProps } from "../index-ii6MOZO-.js";
|
|
23
|
-
import { a as TagsInputInLineList, i as TagsInputInLineLabel, n as TagsInputInLineInput, o as TagsInputInLineRoot, r as TagsInputInLineItem, t as TagsInputInLineClear } from "../index-BR__9xyL.js";
|
|
24
|
-
import { a as SheetFooter, c as SheetTrigger, i as SheetDescription, n as SheetClose, o as SheetHeader, r as SheetContent, s as SheetTitle, t as Sheet } from "../sheet-CQ4h2nhf.js";
|
|
25
|
-
import { t as Slider } from "../slider-DNo33RNT.js";
|
|
26
|
-
import { t as Switch } from "../switch-vvbTlbEc.js";
|
|
27
|
-
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs } from "../tabs-D2Ubjb4f.js";
|
|
28
|
-
import { t as Textarea } from "../textarea-CmzvDEJd.js";
|
|
29
|
-
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "../tooltip-JmJWz4lK.js";
|
|
30
|
-
export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, FileUploadClear as Clear, FileUploadClear, 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, FileUploadDropzone as Dropzone, FileUploadDropzone, FileUploadRoot as FileUpload, FileUploadRoot as Root, FileUploadItem, FileUploadItem as Item, FileUploadItemDelete, FileUploadItemDelete as ItemDelete, FileUploadItemMetadata, FileUploadItemMetadata as ItemMetadata, FileUploadItemPreview, FileUploadItemPreview as ItemPreview, FileUploadItemProgress, FileUploadItemProgress as ItemProgress, FileUploadList, FileUploadList as List, FileUploadRootProps as FileUploadProps, FileUploadTrigger, FileUploadTrigger as Trigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Input, Label, OrContinueWithSeparator, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Slider, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Tags, TagsContent, TagsContentProps, TagsEmpty, TagsEmptyProps, TagsGroup, TagsGroupProps, TagsInput, TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot, TagsInputProps, TagsItem, TagsItemProps, TagsList, TagsListProps, TagsProps, TagsTrigger, TagsTriggerProps, TagsValue, TagsValueProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, useStore as useFileUpload, useFormField };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as AlertDialogDescription, c as AlertDialogOverlay, d as AlertDialogTrigger, i as AlertDialogContent, l as AlertDialogPortal, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog, u as AlertDialogTitle } from "../../alert-dialog-DfqbbSSI.js";
|
|
2
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as CommandInput, c as CommandSeparator, i as CommandGroup, l as CommandShortcut, n as CommandDialog, o as CommandItem, r as CommandEmpty, s as CommandList, t as Command } from "../../command-DYY3jhrg.js";
|
|
2
|
-
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as DialogFooter, c as DialogPortal, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogOverlay, t as Dialog, u as DialogTrigger } from "../../dialog-D-hcbHxy.js";
|
|
2
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as DropdownMenuItem, c as DropdownMenuRadioGroup, d as DropdownMenuShortcut, f as DropdownMenuSub, h as DropdownMenuTrigger, i as DropdownMenuGroup, l as DropdownMenuRadioItem, m as DropdownMenuSubTrigger, n as DropdownMenuCheckboxItem, o as DropdownMenuLabel, p as DropdownMenuSubContent, r as DropdownMenuContent, s as DropdownMenuPortal, t as DropdownMenu, u as DropdownMenuSeparator } from "../../dropdown-menu-BmbK1aYU.js";
|
|
2
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as FileUploadItemMetadata, c as FileUploadList, d as FileUploadTrigger, f as useStore, i as FileUploadItemDelete, l as FileUploadRoot, n as FileUploadDropzone, o as FileUploadItemPreview, r as FileUploadItem, s as FileUploadItemProgress, t as FileUploadClear, u as FileUploadRootProps } from "../../file-upload-CvqXunyl.js";
|
|
2
|
-
export { FileUploadClear as Clear, FileUploadClear, FileUploadDropzone as Dropzone, FileUploadDropzone, FileUploadRoot as FileUpload, FileUploadRoot as Root, FileUploadItem, FileUploadItem as Item, FileUploadItemDelete, FileUploadItemDelete as ItemDelete, FileUploadItemMetadata, FileUploadItemMetadata as ItemMetadata, FileUploadItemPreview, FileUploadItemPreview as ItemPreview, FileUploadItemProgress, FileUploadItemProgress as ItemProgress, FileUploadList, FileUploadList as List, FileUploadRootProps as FileUploadProps, FileUploadTrigger, FileUploadTrigger as Trigger, useStore as useFileUpload };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as FormItem, c as useFormField, i as FormField, n as FormControl, o as FormLabel, r as FormDescription, s as FormMessage, t as Form } from "../../form-DlY7oYOM.js";
|
|
2
|
-
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { n as AlertDescription, r as AlertTitle, t as Alert } from "../../alert-BuSJW7FJ.js";
|
|
2
|
-
import { a as AlertDialogDescription, c as AlertDialogOverlay, d as AlertDialogTrigger, i as AlertDialogContent, l as AlertDialogPortal, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog, u as AlertDialogTitle } from "../../alert-dialog-DfqbbSSI.js";
|
|
3
|
-
import { n as AvatarFallback, r as AvatarImage, t as Avatar } from "../../avatar-Cu2GSSYZ.js";
|
|
4
|
-
import { n as badgeVariants, t as Badge } from "../../badge-_1_wFXtU.js";
|
|
5
|
-
import { n as buttonVariants, t as Button } from "../../button-D3LwGnow.js";
|
|
6
|
-
import { n as CalendarDayButton, t as Calendar } from "../../calendar-BmGC3KEi.js";
|
|
7
|
-
import { a as CardFooter, i as CardDescription, n as CardAction, o as CardHeader, r as CardContent, s as CardTitle, t as Card } from "../../card-CgZyi8N4.js";
|
|
8
|
-
import { t as Checkbox } from "../../checkbox-B3agGzx9.js";
|
|
9
|
-
import { a as DialogFooter, c as DialogPortal, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogOverlay, t as Dialog, u as DialogTrigger } from "../../dialog-D-hcbHxy.js";
|
|
10
|
-
import { a as CommandInput, c as CommandSeparator, i as CommandGroup, l as CommandShortcut, n as CommandDialog, o as CommandItem, r as CommandEmpty, s as CommandList, t as Command } from "../../command-DYY3jhrg.js";
|
|
11
|
-
import { a as DropdownMenuItem, c as DropdownMenuRadioGroup, d as DropdownMenuShortcut, f as DropdownMenuSub, h as DropdownMenuTrigger, i as DropdownMenuGroup, l as DropdownMenuRadioItem, m as DropdownMenuSubTrigger, n as DropdownMenuCheckboxItem, o as DropdownMenuLabel, p as DropdownMenuSubContent, r as DropdownMenuContent, s as DropdownMenuPortal, t as DropdownMenu, u as DropdownMenuSeparator } from "../../dropdown-menu-BmbK1aYU.js";
|
|
12
|
-
import { a as FileUploadItemMetadata, c as FileUploadList, d as FileUploadTrigger, f as useStore, i as FileUploadItemDelete, l as FileUploadRoot, n as FileUploadDropzone, o as FileUploadItemPreview, r as FileUploadItem, s as FileUploadItemProgress, t as FileUploadClear, u as FileUploadRootProps } from "../../file-upload-CvqXunyl.js";
|
|
13
|
-
import { a as FormItem, c as useFormField, i as FormField, n as FormControl, o as FormLabel, r as FormDescription, s as FormMessage, t as Form } from "../../form-DlY7oYOM.js";
|
|
14
|
-
import { t as Input } from "../../input-RumcwxJs.js";
|
|
15
|
-
import { t as Label } from "../../label-CQ-28O7Q.js";
|
|
16
|
-
import { t as OrContinueWithSeparator } from "../../OrContinueWithSeparator-CLGD1Hp8.js";
|
|
17
|
-
import { a as PaginationLink, i as PaginationItem, n as PaginationContent, o as PaginationNext, r as PaginationEllipsis, s as PaginationPrevious, t as Pagination } from "../../pagination-Q6kLlw6J.js";
|
|
18
|
-
import { i as PopoverTrigger, n as PopoverAnchor, r as PopoverContent, t as Popover } from "../../popover-BzPxXXo8.js";
|
|
19
|
-
import { n as RadioGroupItem, t as RadioGroup } from "../../radio-group-B_Q80541.js";
|
|
20
|
-
import { a as SelectLabel, c as SelectSeparator, i as SelectItem, l as SelectTrigger, n as SelectContent, o as SelectScrollDownButton, r as SelectGroup, s as SelectScrollUpButton, t as Select, u as SelectValue } from "../../select-DbSK-rd_.js";
|
|
21
|
-
import { t as Separator } from "../../separator-C_t229Nc.js";
|
|
22
|
-
import { _ as TagsValue, a as TagsEmptyProps, c as TagsInput, d as TagsItemProps, f as TagsList, g as TagsTriggerProps, h as TagsTrigger, i as TagsEmpty, l as TagsInputProps, m as TagsProps, n as TagsContent, o as TagsGroup, p as TagsListProps, r as TagsContentProps, s as TagsGroupProps, t as Tags, u as TagsItem, v as TagsValueProps } from "../../index-ii6MOZO-.js";
|
|
23
|
-
import { a as TagsInputInLineList, i as TagsInputInLineLabel, n as TagsInputInLineInput, o as TagsInputInLineRoot, r as TagsInputInLineItem, t as TagsInputInLineClear } from "../../index-BR__9xyL.js";
|
|
24
|
-
import { a as SheetFooter, c as SheetTrigger, i as SheetDescription, n as SheetClose, o as SheetHeader, r as SheetContent, s as SheetTitle, t as Sheet } from "../../sheet-CQ4h2nhf.js";
|
|
25
|
-
import { t as Slider } from "../../slider-DNo33RNT.js";
|
|
26
|
-
import { t as Switch } from "../../switch-vvbTlbEc.js";
|
|
27
|
-
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs } from "../../tabs-D2Ubjb4f.js";
|
|
28
|
-
import { t as Textarea } from "../../textarea-CmzvDEJd.js";
|
|
29
|
-
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "../../tooltip-JmJWz4lK.js";
|
|
30
|
-
export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, FileUploadClear as Clear, FileUploadClear, 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, FileUploadDropzone as Dropzone, FileUploadDropzone, FileUploadRoot as FileUpload, FileUploadRoot as Root, FileUploadItem, FileUploadItem as Item, FileUploadItemDelete, FileUploadItemDelete as ItemDelete, FileUploadItemMetadata, FileUploadItemMetadata as ItemMetadata, FileUploadItemPreview, FileUploadItemPreview as ItemPreview, FileUploadItemProgress, FileUploadItemProgress as ItemProgress, FileUploadList, FileUploadList as List, FileUploadRootProps as FileUploadProps, FileUploadTrigger, FileUploadTrigger as Trigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Input, Label, OrContinueWithSeparator, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Slider, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Tags, TagsContent, TagsContentProps, TagsEmpty, TagsEmptyProps, TagsGroup, TagsGroupProps, TagsInput, TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot, TagsInputProps, TagsItem, TagsItemProps, TagsList, TagsListProps, TagsProps, TagsTrigger, TagsTriggerProps, TagsValue, TagsValueProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, useStore as useFileUpload, useFormField };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as PaginationLink, i as PaginationItem, n as PaginationContent, o as PaginationNext, r as PaginationEllipsis, s as PaginationPrevious, t as Pagination } from "../../pagination-Q6kLlw6J.js";
|
|
2
|
-
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as SelectLabel, c as SelectSeparator, i as SelectItem, l as SelectTrigger, n as SelectContent, o as SelectScrollDownButton, r as SelectGroup, s as SelectScrollUpButton, t as Select, u as SelectValue } from "../../select-DbSK-rd_.js";
|
|
2
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { _ as TagsValue, a as TagsEmptyProps, c as TagsInput, d as TagsItemProps, f as TagsList, g as TagsTriggerProps, h as TagsTrigger, i as TagsEmpty, l as TagsInputProps, m as TagsProps, n as TagsContent, o as TagsGroup, p as TagsListProps, r as TagsContentProps, s as TagsGroupProps, t as Tags, u as TagsItem, v as TagsValueProps } from "../../../../index-ii6MOZO-.js";
|
|
2
|
-
export { Tags, TagsContent, TagsContentProps, TagsEmpty, TagsEmptyProps, TagsGroup, TagsGroupProps, TagsInput, TagsInputProps, TagsItem, TagsItemProps, TagsList, TagsListProps, TagsProps, TagsTrigger, TagsTriggerProps, TagsValue, TagsValueProps };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as TagsInputInLineList, i as TagsInputInLineLabel, n as TagsInputInLineInput, o as TagsInputInLineRoot, r as TagsInputInLineItem, t as TagsInputInLineClear } from "../../../../index-BR__9xyL.js";
|
|
2
|
-
export { TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as SheetFooter, c as SheetTrigger, i as SheetDescription, n as SheetClose, o as SheetHeader, r as SheetContent, s as SheetTitle, t as Sheet } from "../../sheet-CQ4h2nhf.js";
|
|
2
|
-
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
|
File without changes
|
package/dist/dialog-O7j71U82.js
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { t as cn } from "./utils-CeuVg6RA.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import { XIcon } from "lucide-react";
|
|
5
|
-
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
6
|
-
|
|
7
|
-
//#region src/components/ui/dialog.tsx
|
|
8
|
-
function Dialog({ ...props }) {
|
|
9
|
-
return /* @__PURE__ */ jsx(DialogPrimitive.Root, {
|
|
10
|
-
"data-slot": "dialog",
|
|
11
|
-
...props
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
function DialogTrigger({ ...props }) {
|
|
15
|
-
return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, {
|
|
16
|
-
"data-slot": "dialog-trigger",
|
|
17
|
-
...props
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
function DialogPortal({ ...props }) {
|
|
21
|
-
return /* @__PURE__ */ jsx(DialogPrimitive.Portal, {
|
|
22
|
-
"data-slot": "dialog-portal",
|
|
23
|
-
...props
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
function DialogClose({ ...props }) {
|
|
27
|
-
return /* @__PURE__ */ jsx(DialogPrimitive.Close, {
|
|
28
|
-
"data-slot": "dialog-close",
|
|
29
|
-
...props
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
function DialogOverlay({ className, ...props }) {
|
|
33
|
-
return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, {
|
|
34
|
-
"data-slot": "dialog-overlay",
|
|
35
|
-
className: cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", className),
|
|
36
|
-
...props
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
function DialogContent({ className, children, showCloseButton = true, ...props }) {
|
|
40
|
-
return /* @__PURE__ */ jsxs(DialogPortal, {
|
|
41
|
-
"data-slot": "dialog-portal",
|
|
42
|
-
children: [/* @__PURE__ */ jsx(DialogOverlay, {}), /* @__PURE__ */ jsxs(DialogPrimitive.Content, {
|
|
43
|
-
"data-slot": "dialog-content",
|
|
44
|
-
className: cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", className),
|
|
45
|
-
...props,
|
|
46
|
-
children: [children, showCloseButton && /* @__PURE__ */ jsxs(DialogPrimitive.Close, {
|
|
47
|
-
"data-slot": "dialog-close",
|
|
48
|
-
className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
49
|
-
children: [/* @__PURE__ */ jsx(XIcon, {}), /* @__PURE__ */ jsx("span", {
|
|
50
|
-
className: "sr-only",
|
|
51
|
-
children: "Close"
|
|
52
|
-
})]
|
|
53
|
-
})]
|
|
54
|
-
})]
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
function DialogHeader({ className, ...props }) {
|
|
58
|
-
return /* @__PURE__ */ jsx("div", {
|
|
59
|
-
"data-slot": "dialog-header",
|
|
60
|
-
className: cn("flex flex-col gap-2 text-center sm:text-left", className),
|
|
61
|
-
...props
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
function DialogFooter({ className, ...props }) {
|
|
65
|
-
return /* @__PURE__ */ jsx("div", {
|
|
66
|
-
"data-slot": "dialog-footer",
|
|
67
|
-
className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
|
|
68
|
-
...props
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
function DialogTitle({ className, ...props }) {
|
|
72
|
-
return /* @__PURE__ */ jsx(DialogPrimitive.Title, {
|
|
73
|
-
"data-slot": "dialog-title",
|
|
74
|
-
className: cn("text-lg leading-none font-semibold", className),
|
|
75
|
-
...props
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
function DialogDescription({ className, ...props }) {
|
|
79
|
-
return /* @__PURE__ */ jsx(DialogPrimitive.Description, {
|
|
80
|
-
"data-slot": "dialog-description",
|
|
81
|
-
className: cn("text-muted-foreground text-sm", className),
|
|
82
|
-
...props
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
//#endregion
|
|
87
|
-
export { DialogFooter as a, DialogPortal as c, DialogDescription as i, DialogTitle as l, DialogClose as n, DialogHeader as o, DialogContent as r, DialogOverlay as s, Dialog as t, DialogTrigger as u };
|