@pixpilot/shadcn 0.1.0

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.
Files changed (133) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +3 -0
  3. package/dist/OrContinueWithSeparator-BvOMy_0X.d.ts +11 -0
  4. package/dist/OrContinueWithSeparator-Cs96m5UB.js +28 -0
  5. package/dist/alert-DUygh_xL.d.ts +24 -0
  6. package/dist/alert-DuQQzE0M.js +39 -0
  7. package/dist/alert-dialog-BQBvTsjx.d.ts +48 -0
  8. package/dist/avatar-4_qFkDQq.d.ts +19 -0
  9. package/dist/avatar-DWlyZZC1.js +31 -0
  10. package/dist/badge-BtexTWYL.d.ts +19 -0
  11. package/dist/badge-ChGpGKfr.js +27 -0
  12. package/dist/button-BlGZakU_.d.ts +21 -0
  13. package/dist/button-CoM3CepB.js +46 -0
  14. package/dist/calendar-5J34tX7L.js +107 -0
  15. package/dist/calendar-DK_qW8tK.d.ts +26 -0
  16. package/dist/card-8btbTKaB.d.ts +34 -0
  17. package/dist/card-Bf0-1Hox.js +58 -0
  18. package/dist/checkbox-BfAe26dy.d.ts +11 -0
  19. package/dist/checkbox-ChqHvI5Y.js +23 -0
  20. package/dist/command-BzJMrpFw.js +88 -0
  21. package/dist/command-CTOqnzSx.d.ts +52 -0
  22. package/dist/components/index-DVJl6H4Z.d.ts +30 -0
  23. package/dist/components/index.js +33 -0
  24. package/dist/components/ui/OrContinueWithSeparator-DT1kKIwU.d.ts +2 -0
  25. package/dist/components/ui/OrContinueWithSeparator.js +7 -0
  26. package/dist/components/ui/alert-Dnyd20KB.d.ts +2 -0
  27. package/dist/components/ui/alert-dialog-D6vR-1Jz.d.ts +2 -0
  28. package/dist/components/ui/alert-dialog.js +35 -0
  29. package/dist/components/ui/alert.js +6 -0
  30. package/dist/components/ui/avatar-CBM6Rxkl.d.ts +2 -0
  31. package/dist/components/ui/avatar.js +6 -0
  32. package/dist/components/ui/badge-tZQG9OGU.d.ts +2 -0
  33. package/dist/components/ui/badge.js +6 -0
  34. package/dist/components/ui/button-B1jOU2SH.d.ts +2 -0
  35. package/dist/components/ui/button.js +6 -0
  36. package/dist/components/ui/calendar-CJJGD2Mp.d.ts +2 -0
  37. package/dist/components/ui/calendar.js +7 -0
  38. package/dist/components/ui/card-Dw7UFh1G.d.ts +2 -0
  39. package/dist/components/ui/card.js +6 -0
  40. package/dist/components/ui/checkbox-B4Zt92ES.d.ts +2 -0
  41. package/dist/components/ui/checkbox.js +8 -0
  42. package/dist/components/ui/command-Bo9iT_Mm.d.ts +2 -0
  43. package/dist/components/ui/command.js +9 -0
  44. package/dist/components/ui/dialog-DwFy7VXb.d.ts +2 -0
  45. package/dist/components/ui/dialog.js +6 -0
  46. package/dist/components/ui/dropdown-menu-CUC5b1yi.d.ts +2 -0
  47. package/dist/components/ui/dropdown-menu.js +6 -0
  48. package/dist/components/ui/file-upload-BKYxasJe.d.ts +2 -0
  49. package/dist/components/ui/file-upload.js +8 -0
  50. package/dist/components/ui/form-Ui-fGegs.d.ts +2 -0
  51. package/dist/components/ui/form.js +7 -0
  52. package/dist/components/ui/index-BDJfgHZT.d.ts +30 -0
  53. package/dist/components/ui/index.js +33 -0
  54. package/dist/components/ui/input-O6aZyiJl.d.ts +2 -0
  55. package/dist/components/ui/input.js +6 -0
  56. package/dist/components/ui/label-CiFY9QCm.d.ts +2 -0
  57. package/dist/components/ui/label.js +6 -0
  58. package/dist/components/ui/pagination-CLlEoufd.d.ts +2 -0
  59. package/dist/components/ui/pagination.js +33 -0
  60. package/dist/components/ui/popover-BuE9HJFI.d.ts +2 -0
  61. package/dist/components/ui/popover.js +6 -0
  62. package/dist/components/ui/radio-group-BNV5xVaA.d.ts +2 -0
  63. package/dist/components/ui/radio-group.js +6 -0
  64. package/dist/components/ui/select-BAT_xUS6.d.ts +2 -0
  65. package/dist/components/ui/select.js +8 -0
  66. package/dist/components/ui/separator-rI7QiaxO.d.ts +2 -0
  67. package/dist/components/ui/separator.js +6 -0
  68. package/dist/components/ui/shadcn-io/tags/index-NcbrE1RX.d.ts +2 -0
  69. package/dist/components/ui/shadcn-io/tags/index.js +13 -0
  70. package/dist/components/ui/shadcn-io/tags-input-inline/index-CAYAMlWT.d.ts +2 -0
  71. package/dist/components/ui/shadcn-io/tags-input-inline/index.js +5 -0
  72. package/dist/components/ui/sheet-CPsrps2C.d.ts +2 -0
  73. package/dist/components/ui/sheet.js +6 -0
  74. package/dist/components/ui/slider-DqROXr79.d.ts +2 -0
  75. package/dist/components/ui/slider.js +6 -0
  76. package/dist/components/ui/switch-BF2c_Zn9.d.ts +2 -0
  77. package/dist/components/ui/switch.js +8 -0
  78. package/dist/components/ui/tabs-DRhGRCqD.d.ts +2 -0
  79. package/dist/components/ui/tabs.js +6 -0
  80. package/dist/components/ui/textarea-BoOWHGtB.d.ts +2 -0
  81. package/dist/components/ui/textarea.js +6 -0
  82. package/dist/components/ui/tooltip-BcAxWshO.d.ts +2 -0
  83. package/dist/components/ui/tooltip.js +6 -0
  84. package/dist/dialog-C4wKr521.d.ts +47 -0
  85. package/dist/dialog-CnHQjTPX.js +88 -0
  86. package/dist/dropdown-menu-BytmAQI6.js +125 -0
  87. package/dist/dropdown-menu-CnrLe3nb.d.ts +77 -0
  88. package/dist/file-upload-BEeMesnR.js +907 -0
  89. package/dist/file-upload-BLSfy-1K.d.ts +94 -0
  90. package/dist/form-BSwltNo1.d.ts +45 -0
  91. package/dist/form-BjnyYpgw.js +89 -0
  92. package/dist/index-BSKUD7fA.d.ts +39 -0
  93. package/dist/index-Bpvi7gIc.d.ts +31 -0
  94. package/dist/index-CZUtOTjh.d.ts +1 -0
  95. package/dist/index-CkSrVqpn.d.ts +31 -0
  96. package/dist/index-DwHkYD1A.d.ts +70 -0
  97. package/dist/index.js +33 -0
  98. package/dist/input-CUeyj64L.js +17 -0
  99. package/dist/input-Mvgjlh3F.d.ts +11 -0
  100. package/dist/jsx-runtime-CjFsk39Z.js +274 -0
  101. package/dist/label-CaJMuv7i.d.ts +11 -0
  102. package/dist/label-DGznqsHm.js +17 -0
  103. package/dist/lib/index-ChuxSUKt.d.ts +2 -0
  104. package/dist/lib/index.js +4 -0
  105. package/dist/lib/utils-45Ez8x6p.d.ts +2 -0
  106. package/dist/lib/utils.js +3 -0
  107. package/dist/lib-B_fww26I.js +1 -0
  108. package/dist/popover-CV48KL0e.js +37 -0
  109. package/dist/popover-DpSyC3-j.d.ts +22 -0
  110. package/dist/radio-group-Cfa4brdK.d.ts +15 -0
  111. package/dist/radio-group-jaFHISZ7.js +30 -0
  112. package/dist/select-B3Zt7fRL.d.ts +52 -0
  113. package/dist/select-C96xvMSx.js +99 -0
  114. package/dist/separator-C71XEO3E.js +19 -0
  115. package/dist/separator-Cucb_6O4.d.ts +13 -0
  116. package/dist/sheet-B3Ak6LSw.d.ts +40 -0
  117. package/dist/sheet-BlZGrRNt.js +84 -0
  118. package/dist/slider-CdK5O4pc.js +38 -0
  119. package/dist/slider-D8tCfiZV.d.ts +15 -0
  120. package/dist/src-DQlJgy1h.js +157 -0
  121. package/dist/switch-Bz5Iiy2_.js +21 -0
  122. package/dist/switch-DXaptB6g.d.ts +11 -0
  123. package/dist/tabs-B0X-LEdY.d.ts +23 -0
  124. package/dist/tabs-BjolTUEI.js +38 -0
  125. package/dist/tags-BnJCu0NQ.js +131 -0
  126. package/dist/tags-input-inline-DnEu3Dyw.js +58 -0
  127. package/dist/textarea-09eXlo5q.d.ts +10 -0
  128. package/dist/textarea-BNZyZgAM.js +16 -0
  129. package/dist/tooltip-BQpFgVRJ.d.ts +23 -0
  130. package/dist/tooltip-CuYs-__e.js +38 -0
  131. package/dist/utils-D2WOFi-N.js +10 -0
  132. package/dist/utils-_VBxPjie.d.ts +6 -0
  133. package/package.json +101 -0
@@ -0,0 +1,6 @@
1
+ import "../../jsx-runtime-CjFsk39Z.js";
2
+ import "../../utils-D2WOFi-N.js";
3
+ import "../../lib-B_fww26I.js";
4
+ import { n as RadioGroupItem, t as RadioGroup } from "../../radio-group-jaFHISZ7.js";
5
+
6
+ export { RadioGroup, RadioGroupItem };
@@ -0,0 +1,2 @@
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-B3Zt7fRL.js";
2
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
@@ -0,0 +1,8 @@
1
+ 'use client';
2
+
3
+ import "../../jsx-runtime-CjFsk39Z.js";
4
+ import "../../utils-D2WOFi-N.js";
5
+ import "../../lib-B_fww26I.js";
6
+ 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-C96xvMSx.js";
7
+
8
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
@@ -0,0 +1,2 @@
1
+ import { t as Separator } from "../../separator-Cucb_6O4.js";
2
+ export { Separator };
@@ -0,0 +1,6 @@
1
+ import "../../jsx-runtime-CjFsk39Z.js";
2
+ import "../../utils-D2WOFi-N.js";
3
+ import "../../lib-B_fww26I.js";
4
+ import { t as Separator } from "../../separator-C71XEO3E.js";
5
+
6
+ export { Separator };
@@ -0,0 +1,2 @@
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-DwHkYD1A.js";
2
+ export { Tags, TagsContent, TagsContentProps, TagsEmpty, TagsEmptyProps, TagsGroup, TagsGroupProps, TagsInput, TagsInputProps, TagsItem, TagsItemProps, TagsList, TagsListProps, TagsProps, TagsTrigger, TagsTriggerProps, TagsValue, TagsValueProps };
@@ -0,0 +1,13 @@
1
+ 'use client';
2
+
3
+ import "../../../../jsx-runtime-CjFsk39Z.js";
4
+ import "../../../../utils-D2WOFi-N.js";
5
+ import "../../../../lib-B_fww26I.js";
6
+ import "../../../../badge-ChGpGKfr.js";
7
+ import "../../../../button-CoM3CepB.js";
8
+ import "../../../../dialog-CnHQjTPX.js";
9
+ import "../../../../command-BzJMrpFw.js";
10
+ import "../../../../popover-CV48KL0e.js";
11
+ import { a as TagsInput, c as TagsTrigger, i as TagsGroup, l as TagsValue, n as TagsContent, o as TagsItem, r as TagsEmpty, s as TagsList, t as Tags } from "../../../../tags-BnJCu0NQ.js";
12
+
13
+ export { Tags, TagsContent, TagsEmpty, TagsGroup, TagsInput, TagsItem, TagsList, TagsTrigger, TagsValue };
@@ -0,0 +1,2 @@
1
+ import { a as TagsInputInLineList, i as TagsInputInLineLabel, n as TagsInputInLineInput, o as TagsInputInLineRoot, r as TagsInputInLineItem, t as TagsInputInLineClear } from "../../../../index-Bpvi7gIc.js";
2
+ export { TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot };
@@ -0,0 +1,5 @@
1
+ import "../../../../jsx-runtime-CjFsk39Z.js";
2
+ import "../../../../utils-D2WOFi-N.js";
3
+ import { a as TagsInputInLineList, i as TagsInputInLineLabel, n as TagsInputInLineInput, o as TagsInputInLineRoot, r as TagsInputInLineItem, t as TagsInputInLineClear } from "../../../../tags-input-inline-DnEu3Dyw.js";
4
+
5
+ export { TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot };
@@ -0,0 +1,2 @@
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-B3Ak6LSw.js";
2
+ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
@@ -0,0 +1,6 @@
1
+ import "../../jsx-runtime-CjFsk39Z.js";
2
+ import "../../utils-D2WOFi-N.js";
3
+ import "../../lib-B_fww26I.js";
4
+ 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-BlZGrRNt.js";
5
+
6
+ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
@@ -0,0 +1,2 @@
1
+ import { t as Slider } from "../../slider-D8tCfiZV.js";
2
+ export { Slider };
@@ -0,0 +1,6 @@
1
+ import "../../jsx-runtime-CjFsk39Z.js";
2
+ import "../../utils-D2WOFi-N.js";
3
+ import "../../lib-B_fww26I.js";
4
+ import { t as Slider } from "../../slider-CdK5O4pc.js";
5
+
6
+ export { Slider };
@@ -0,0 +1,2 @@
1
+ import { t as Switch } from "../../switch-DXaptB6g.js";
2
+ export { Switch };
@@ -0,0 +1,8 @@
1
+ 'use client';
2
+
3
+ import "../../jsx-runtime-CjFsk39Z.js";
4
+ import "../../utils-D2WOFi-N.js";
5
+ import "../../lib-B_fww26I.js";
6
+ import { t as Switch } from "../../switch-Bz5Iiy2_.js";
7
+
8
+ export { Switch };
@@ -0,0 +1,2 @@
1
+ import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs } from "../../tabs-B0X-LEdY.js";
2
+ export { Tabs, TabsContent, TabsList, TabsTrigger };
@@ -0,0 +1,6 @@
1
+ import "../../jsx-runtime-CjFsk39Z.js";
2
+ import "../../utils-D2WOFi-N.js";
3
+ import "../../lib-B_fww26I.js";
4
+ import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs } from "../../tabs-BjolTUEI.js";
5
+
6
+ export { Tabs, TabsContent, TabsList, TabsTrigger };
@@ -0,0 +1,2 @@
1
+ import { t as Textarea } from "../../textarea-09eXlo5q.js";
2
+ export { Textarea };
@@ -0,0 +1,6 @@
1
+ import "../../jsx-runtime-CjFsk39Z.js";
2
+ import "../../utils-D2WOFi-N.js";
3
+ import "../../lib-B_fww26I.js";
4
+ import { t as Textarea } from "../../textarea-BNZyZgAM.js";
5
+
6
+ export { Textarea };
@@ -0,0 +1,2 @@
1
+ import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "../../tooltip-BQpFgVRJ.js";
2
+ export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
@@ -0,0 +1,6 @@
1
+ import "../../jsx-runtime-CjFsk39Z.js";
2
+ import "../../utils-D2WOFi-N.js";
3
+ import "../../lib-B_fww26I.js";
4
+ import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "../../tooltip-CuYs-__e.js";
5
+
6
+ export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
@@ -0,0 +1,47 @@
1
+ import * as React from "react";
2
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
3
+ import * as react_jsx_runtime40 from "react/jsx-runtime";
4
+
5
+ //#region src/components/ui/dialog.d.ts
6
+ declare function Dialog({
7
+ ...props
8
+ }: React.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime40.JSX.Element;
9
+ declare function DialogTrigger({
10
+ ...props
11
+ }: React.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime40.JSX.Element;
12
+ declare function DialogPortal({
13
+ ...props
14
+ }: React.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime40.JSX.Element;
15
+ declare function DialogClose({
16
+ ...props
17
+ }: React.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime40.JSX.Element;
18
+ declare function DialogOverlay({
19
+ className,
20
+ ...props
21
+ }: React.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime40.JSX.Element;
22
+ declare function DialogContent({
23
+ className,
24
+ children,
25
+ showCloseButton,
26
+ ...props
27
+ }: React.ComponentProps<typeof DialogPrimitive.Content> & {
28
+ showCloseButton?: boolean;
29
+ }): react_jsx_runtime40.JSX.Element;
30
+ declare function DialogHeader({
31
+ className,
32
+ ...props
33
+ }: React.ComponentProps<'div'>): react_jsx_runtime40.JSX.Element;
34
+ declare function DialogFooter({
35
+ className,
36
+ ...props
37
+ }: React.ComponentProps<'div'>): react_jsx_runtime40.JSX.Element;
38
+ declare function DialogTitle({
39
+ className,
40
+ ...props
41
+ }: React.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime40.JSX.Element;
42
+ declare function DialogDescription({
43
+ className,
44
+ ...props
45
+ }: React.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime40.JSX.Element;
46
+ //#endregion
47
+ 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 };
@@ -0,0 +1,88 @@
1
+ import { n as __toESM, t as require_jsx_runtime } from "./jsx-runtime-CjFsk39Z.js";
2
+ import { t as cn } from "./utils-D2WOFi-N.js";
3
+ import "react";
4
+ import { XIcon } from "lucide-react";
5
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
6
+
7
+ //#region src/components/ui/dialog.tsx
8
+ var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime());
9
+ function Dialog({ ...props }) {
10
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogPrimitive.Root, {
11
+ "data-slot": "dialog",
12
+ ...props
13
+ });
14
+ }
15
+ function DialogTrigger({ ...props }) {
16
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogPrimitive.Trigger, {
17
+ "data-slot": "dialog-trigger",
18
+ ...props
19
+ });
20
+ }
21
+ function DialogPortal({ ...props }) {
22
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogPrimitive.Portal, {
23
+ "data-slot": "dialog-portal",
24
+ ...props
25
+ });
26
+ }
27
+ function DialogClose({ ...props }) {
28
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogPrimitive.Close, {
29
+ "data-slot": "dialog-close",
30
+ ...props
31
+ });
32
+ }
33
+ function DialogOverlay({ className, ...props }) {
34
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogPrimitive.Overlay, {
35
+ "data-slot": "dialog-overlay",
36
+ 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),
37
+ ...props
38
+ });
39
+ }
40
+ function DialogContent({ className, children, showCloseButton = true, ...props }) {
41
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DialogPortal, {
42
+ "data-slot": "dialog-portal",
43
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogOverlay, {}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DialogPrimitive.Content, {
44
+ "data-slot": "dialog-content",
45
+ 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),
46
+ ...props,
47
+ children: [children, showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DialogPrimitive.Close, {
48
+ "data-slot": "dialog-close",
49
+ 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",
50
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(XIcon, {}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
51
+ className: "sr-only",
52
+ children: "Close"
53
+ })]
54
+ })]
55
+ })]
56
+ });
57
+ }
58
+ function DialogHeader({ className, ...props }) {
59
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
60
+ "data-slot": "dialog-header",
61
+ className: cn("flex flex-col gap-2 text-center sm:text-left", className),
62
+ ...props
63
+ });
64
+ }
65
+ function DialogFooter({ className, ...props }) {
66
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
67
+ "data-slot": "dialog-footer",
68
+ className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
69
+ ...props
70
+ });
71
+ }
72
+ function DialogTitle({ className, ...props }) {
73
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogPrimitive.Title, {
74
+ "data-slot": "dialog-title",
75
+ className: cn("text-lg leading-none font-semibold", className),
76
+ ...props
77
+ });
78
+ }
79
+ function DialogDescription({ className, ...props }) {
80
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogPrimitive.Description, {
81
+ "data-slot": "dialog-description",
82
+ className: cn("text-muted-foreground text-sm", className),
83
+ ...props
84
+ });
85
+ }
86
+
87
+ //#endregion
88
+ 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 };
@@ -0,0 +1,125 @@
1
+ import { n as __toESM, t as require_jsx_runtime } from "./jsx-runtime-CjFsk39Z.js";
2
+ import { t as cn } from "./utils-D2WOFi-N.js";
3
+ import "react";
4
+ import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react";
5
+ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
6
+
7
+ //#region src/components/ui/dropdown-menu.tsx
8
+ var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime());
9
+ function DropdownMenu({ ...props }) {
10
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DropdownMenuPrimitive.Root, {
11
+ "data-slot": "dropdown-menu",
12
+ ...props
13
+ });
14
+ }
15
+ function DropdownMenuPortal({ ...props }) {
16
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DropdownMenuPrimitive.Portal, {
17
+ "data-slot": "dropdown-menu-portal",
18
+ ...props
19
+ });
20
+ }
21
+ function DropdownMenuTrigger({ ...props }) {
22
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DropdownMenuPrimitive.Trigger, {
23
+ "data-slot": "dropdown-menu-trigger",
24
+ ...props
25
+ });
26
+ }
27
+ function DropdownMenuContent({ className, sideOffset = 4, ...props }) {
28
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DropdownMenuPrimitive.Content, {
29
+ "data-slot": "dropdown-menu-content",
30
+ sideOffset,
31
+ className: cn("bg-popover text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md", className),
32
+ ...props
33
+ }) });
34
+ }
35
+ function DropdownMenuGroup({ ...props }) {
36
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DropdownMenuPrimitive.Group, {
37
+ "data-slot": "dropdown-menu-group",
38
+ ...props
39
+ });
40
+ }
41
+ function DropdownMenuItem({ className, inset, variant = "default", ...props }) {
42
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DropdownMenuPrimitive.Item, {
43
+ "data-slot": "dropdown-menu-item",
44
+ "data-inset": inset,
45
+ "data-variant": variant,
46
+ className: cn("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_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]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
47
+ ...props
48
+ });
49
+ }
50
+ function DropdownMenuCheckboxItem({ className, children, checked, ...props }) {
51
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DropdownMenuPrimitive.CheckboxItem, {
52
+ "data-slot": "dropdown-menu-checkbox-item",
53
+ className: cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
54
+ checked,
55
+ ...props,
56
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
57
+ className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
58
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CheckIcon, { className: "size-4" }) })
59
+ }), children]
60
+ });
61
+ }
62
+ function DropdownMenuRadioGroup({ ...props }) {
63
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DropdownMenuPrimitive.RadioGroup, {
64
+ "data-slot": "dropdown-menu-radio-group",
65
+ ...props
66
+ });
67
+ }
68
+ function DropdownMenuRadioItem({ className, children, ...props }) {
69
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DropdownMenuPrimitive.RadioItem, {
70
+ "data-slot": "dropdown-menu-radio-item",
71
+ className: cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
72
+ ...props,
73
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
74
+ className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
75
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CircleIcon, { className: "size-2 fill-current" }) })
76
+ }), children]
77
+ });
78
+ }
79
+ function DropdownMenuLabel({ className, inset, ...props }) {
80
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DropdownMenuPrimitive.Label, {
81
+ "data-slot": "dropdown-menu-label",
82
+ "data-inset": inset,
83
+ className: cn("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", className),
84
+ ...props
85
+ });
86
+ }
87
+ function DropdownMenuSeparator({ className, ...props }) {
88
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DropdownMenuPrimitive.Separator, {
89
+ "data-slot": "dropdown-menu-separator",
90
+ className: cn("bg-border -mx-1 my-1 h-px", className),
91
+ ...props
92
+ });
93
+ }
94
+ function DropdownMenuShortcut({ className, ...props }) {
95
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
96
+ "data-slot": "dropdown-menu-shortcut",
97
+ className: cn("text-muted-foreground ml-auto text-xs tracking-widest", className),
98
+ ...props
99
+ });
100
+ }
101
+ function DropdownMenuSub({ ...props }) {
102
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DropdownMenuPrimitive.Sub, {
103
+ "data-slot": "dropdown-menu-sub",
104
+ ...props
105
+ });
106
+ }
107
+ function DropdownMenuSubTrigger({ className, inset, children, ...props }) {
108
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DropdownMenuPrimitive.SubTrigger, {
109
+ "data-slot": "dropdown-menu-sub-trigger",
110
+ "data-inset": inset,
111
+ className: cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
112
+ ...props,
113
+ children: [children, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronRightIcon, { className: "ml-auto size-4" })]
114
+ });
115
+ }
116
+ function DropdownMenuSubContent({ className, ...props }) {
117
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DropdownMenuPrimitive.SubContent, {
118
+ "data-slot": "dropdown-menu-sub-content",
119
+ className: cn("bg-popover text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg", className),
120
+ ...props
121
+ });
122
+ }
123
+
124
+ //#endregion
125
+ export { DropdownMenuItem as a, DropdownMenuRadioGroup as c, DropdownMenuShortcut as d, DropdownMenuSub as f, DropdownMenuTrigger as h, DropdownMenuGroup as i, DropdownMenuRadioItem as l, DropdownMenuSubTrigger as m, DropdownMenuCheckboxItem as n, DropdownMenuLabel as o, DropdownMenuSubContent as p, DropdownMenuContent as r, DropdownMenuPortal as s, DropdownMenu as t, DropdownMenuSeparator as u };
@@ -0,0 +1,77 @@
1
+ import * as React from "react";
2
+ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
3
+ import * as react_jsx_runtime60 from "react/jsx-runtime";
4
+
5
+ //#region src/components/ui/dropdown-menu.d.ts
6
+ declare function DropdownMenu({
7
+ ...props
8
+ }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime60.JSX.Element;
9
+ declare function DropdownMenuPortal({
10
+ ...props
11
+ }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime60.JSX.Element;
12
+ declare function DropdownMenuTrigger({
13
+ ...props
14
+ }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime60.JSX.Element;
15
+ declare function DropdownMenuContent({
16
+ className,
17
+ sideOffset,
18
+ ...props
19
+ }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime60.JSX.Element;
20
+ declare function DropdownMenuGroup({
21
+ ...props
22
+ }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime60.JSX.Element;
23
+ declare function DropdownMenuItem({
24
+ className,
25
+ inset,
26
+ variant,
27
+ ...props
28
+ }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
29
+ inset?: boolean;
30
+ variant?: 'default' | 'destructive';
31
+ }): react_jsx_runtime60.JSX.Element;
32
+ declare function DropdownMenuCheckboxItem({
33
+ className,
34
+ children,
35
+ checked,
36
+ ...props
37
+ }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime60.JSX.Element;
38
+ declare function DropdownMenuRadioGroup({
39
+ ...props
40
+ }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime60.JSX.Element;
41
+ declare function DropdownMenuRadioItem({
42
+ className,
43
+ children,
44
+ ...props
45
+ }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime60.JSX.Element;
46
+ declare function DropdownMenuLabel({
47
+ className,
48
+ inset,
49
+ ...props
50
+ }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
51
+ inset?: boolean;
52
+ }): react_jsx_runtime60.JSX.Element;
53
+ declare function DropdownMenuSeparator({
54
+ className,
55
+ ...props
56
+ }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime60.JSX.Element;
57
+ declare function DropdownMenuShortcut({
58
+ className,
59
+ ...props
60
+ }: React.ComponentProps<'span'>): react_jsx_runtime60.JSX.Element;
61
+ declare function DropdownMenuSub({
62
+ ...props
63
+ }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime60.JSX.Element;
64
+ declare function DropdownMenuSubTrigger({
65
+ className,
66
+ inset,
67
+ children,
68
+ ...props
69
+ }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
70
+ inset?: boolean;
71
+ }): react_jsx_runtime60.JSX.Element;
72
+ declare function DropdownMenuSubContent({
73
+ className,
74
+ ...props
75
+ }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime60.JSX.Element;
76
+ //#endregion
77
+ export { DropdownMenuItem as a, DropdownMenuRadioGroup as c, DropdownMenuShortcut as d, DropdownMenuSub as f, DropdownMenuTrigger as h, DropdownMenuGroup as i, DropdownMenuRadioItem as l, DropdownMenuSubTrigger as m, DropdownMenuCheckboxItem as n, DropdownMenuLabel as o, DropdownMenuSubContent as p, DropdownMenuContent as r, DropdownMenuPortal as s, DropdownMenu as t, DropdownMenuSeparator as u };