@pixpilot/shadcn 0.1.3 → 0.1.4

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 (131) hide show
  1. package/dist/index-ygHlSc0_.d.ts +795 -0
  2. package/dist/index.js +2276 -30
  3. package/package.json +7 -15
  4. package/dist/OrContinueWithSeparator-BDH-vep4.d.ts +0 -11
  5. package/dist/OrContinueWithSeparator-CkITP0NT.js +0 -27
  6. package/dist/alert-CKr0C0yG.d.ts +0 -24
  7. package/dist/alert-DgTy4F7t.js +0 -38
  8. package/dist/alert-dialog-BIYOf1qe.d.ts +0 -48
  9. package/dist/avatar-DomHDuSM.d.ts +0 -19
  10. package/dist/avatar-ggnaPAdx.js +0 -30
  11. package/dist/badge-DaNELwZ4.d.ts +0 -19
  12. package/dist/badge-OxgStuN-.js +0 -26
  13. package/dist/button-Ct22vvF2.js +0 -45
  14. package/dist/button-Qk5_S2q2.d.ts +0 -21
  15. package/dist/calendar-CtMOHJjw.d.ts +0 -26
  16. package/dist/calendar-SVLTPCYN.js +0 -106
  17. package/dist/card-7m__j7pN.d.ts +0 -34
  18. package/dist/card-mGJMSXR3.js +0 -57
  19. package/dist/checkbox-C2ohGs66.d.ts +0 -11
  20. package/dist/checkbox-Car6S-YU.js +0 -22
  21. package/dist/command-Bh0lIHth.js +0 -87
  22. package/dist/command-J-Z7237Z.d.ts +0 -52
  23. package/dist/components/index-CjxDeDgS.d.ts +0 -30
  24. package/dist/components/index.js +0 -32
  25. package/dist/components/ui/OrContinueWithSeparator-CHwqvVjX.d.ts +0 -2
  26. package/dist/components/ui/OrContinueWithSeparator.js +0 -6
  27. package/dist/components/ui/alert-1G0clvys.d.ts +0 -2
  28. package/dist/components/ui/alert-dialog-B4l6hBX8.d.ts +0 -2
  29. package/dist/components/ui/alert-dialog.js +0 -34
  30. package/dist/components/ui/alert.js +0 -5
  31. package/dist/components/ui/avatar-utP6R-Uq.d.ts +0 -2
  32. package/dist/components/ui/avatar.js +0 -5
  33. package/dist/components/ui/badge-DwySSPk7.d.ts +0 -2
  34. package/dist/components/ui/badge.js +0 -5
  35. package/dist/components/ui/button-fWXid_Jg.d.ts +0 -2
  36. package/dist/components/ui/button.js +0 -5
  37. package/dist/components/ui/calendar-DxgOZaJG.d.ts +0 -2
  38. package/dist/components/ui/calendar.js +0 -6
  39. package/dist/components/ui/card-CEc4KDWR.d.ts +0 -2
  40. package/dist/components/ui/card.js +0 -5
  41. package/dist/components/ui/checkbox-Db1hdfQh.d.ts +0 -2
  42. package/dist/components/ui/checkbox.js +0 -7
  43. package/dist/components/ui/command-D5yDsetf.d.ts +0 -2
  44. package/dist/components/ui/command.js +0 -8
  45. package/dist/components/ui/dialog-C9hWg6Jo.d.ts +0 -2
  46. package/dist/components/ui/dialog.js +0 -5
  47. package/dist/components/ui/dropdown-menu-CZQe3gdP.d.ts +0 -2
  48. package/dist/components/ui/dropdown-menu.js +0 -5
  49. package/dist/components/ui/file-upload-DE4ndg6D.d.ts +0 -2
  50. package/dist/components/ui/file-upload.js +0 -7
  51. package/dist/components/ui/form-_IonQq2g.d.ts +0 -2
  52. package/dist/components/ui/form.js +0 -6
  53. package/dist/components/ui/index-ByU7Ea3g.d.ts +0 -30
  54. package/dist/components/ui/index.js +0 -32
  55. package/dist/components/ui/input-nIiKz0t3.d.ts +0 -2
  56. package/dist/components/ui/input.js +0 -5
  57. package/dist/components/ui/label-DcYFARJv.d.ts +0 -2
  58. package/dist/components/ui/label.js +0 -5
  59. package/dist/components/ui/pagination-BzA2nvm7.d.ts +0 -2
  60. package/dist/components/ui/pagination.js +0 -32
  61. package/dist/components/ui/popover-CWkbXPIs.d.ts +0 -2
  62. package/dist/components/ui/popover.js +0 -5
  63. package/dist/components/ui/radio-group-B8uVaLcH.d.ts +0 -2
  64. package/dist/components/ui/radio-group.js +0 -5
  65. package/dist/components/ui/select-Thz3wmNR.d.ts +0 -2
  66. package/dist/components/ui/select.js +0 -7
  67. package/dist/components/ui/separator-nDjbz769.d.ts +0 -2
  68. package/dist/components/ui/separator.js +0 -5
  69. package/dist/components/ui/shadcn-io/tags/index-ByG1DLSH.d.ts +0 -2
  70. package/dist/components/ui/shadcn-io/tags/index.js +0 -12
  71. package/dist/components/ui/shadcn-io/tags-input-inline/index-Z-lSeFdH.d.ts +0 -2
  72. package/dist/components/ui/shadcn-io/tags-input-inline/index.js +0 -4
  73. package/dist/components/ui/sheet-DG1hOjV0.d.ts +0 -2
  74. package/dist/components/ui/sheet.js +0 -5
  75. package/dist/components/ui/slider-BQpp3iiy.d.ts +0 -2
  76. package/dist/components/ui/slider.js +0 -5
  77. package/dist/components/ui/switch-nWOTZVXx.d.ts +0 -2
  78. package/dist/components/ui/switch.js +0 -7
  79. package/dist/components/ui/tabs-k3ha4bbs.d.ts +0 -2
  80. package/dist/components/ui/tabs.js +0 -5
  81. package/dist/components/ui/textarea-BV_2NNxa.d.ts +0 -2
  82. package/dist/components/ui/textarea.js +0 -5
  83. package/dist/components/ui/tooltip--Q9yXR4z.d.ts +0 -2
  84. package/dist/components/ui/tooltip.js +0 -5
  85. package/dist/dialog-GHzqCUyY.d.ts +0 -47
  86. package/dist/dialog-O7j71U82.js +0 -87
  87. package/dist/dropdown-menu-B7IpNRT1.d.ts +0 -77
  88. package/dist/dropdown-menu-ChXZkLy7.js +0 -124
  89. package/dist/file-upload-DPXO1W1r.js +0 -906
  90. package/dist/file-upload-DtI7t48f.d.ts +0 -94
  91. package/dist/form-B1wa9dSK.d.ts +0 -45
  92. package/dist/form-DITfwajn.js +0 -88
  93. package/dist/index-BBg42y-x.d.ts +0 -31
  94. package/dist/index-CCggO_hw.d.ts +0 -1
  95. package/dist/index-CbEoBXve.d.ts +0 -39
  96. package/dist/index-DAxEKRyQ.d.ts +0 -31
  97. package/dist/index-nhYidbaI.d.ts +0 -70
  98. package/dist/input-BOo0lKrd.d.ts +0 -11
  99. package/dist/input-Yyz-T5fE.js +0 -16
  100. package/dist/label-CAjd9Y0A.js +0 -16
  101. package/dist/label-VBeDhZRS.d.ts +0 -11
  102. package/dist/lib/index-BBZGfoI7.d.ts +0 -2
  103. package/dist/lib/index.js +0 -4
  104. package/dist/lib/utils-COdFh0eZ.d.ts +0 -2
  105. package/dist/lib/utils.js +0 -3
  106. package/dist/lib-IiLuXmGR.js +0 -0
  107. package/dist/popover-B6K6dK1G.js +0 -36
  108. package/dist/popover-BSOEEHRm.d.ts +0 -22
  109. package/dist/radio-group-2z7Wk4bX.d.ts +0 -15
  110. package/dist/radio-group-CN-7YDqF.js +0 -29
  111. package/dist/select-BLcUSgPc.d.ts +0 -52
  112. package/dist/select-D1s3F0et.js +0 -98
  113. package/dist/separator-BVBCxKBW.js +0 -18
  114. package/dist/separator-CQdurlbm.d.ts +0 -13
  115. package/dist/sheet-BBjl1baR.d.ts +0 -40
  116. package/dist/sheet-DrR3eH28.js +0 -83
  117. package/dist/slider-BlL5lT8d.js +0 -37
  118. package/dist/slider-CYGuuC8k.d.ts +0 -15
  119. package/dist/src-8ePG_tPo.js +0 -156
  120. package/dist/switch-BXSa0MEU.js +0 -20
  121. package/dist/switch-Y5FN07nj.d.ts +0 -11
  122. package/dist/tabs-C-Tv9y7L.d.ts +0 -23
  123. package/dist/tabs-DbvqqMZV.js +0 -37
  124. package/dist/tags-BACevgr_.js +0 -130
  125. package/dist/tags-input-inline-Bz5h19zx.js +0 -57
  126. package/dist/textarea-C3eFh4Vd.d.ts +0 -10
  127. package/dist/textarea-DTGK7cx-.js +0 -15
  128. package/dist/tooltip-CGDnGnPt.d.ts +0 -23
  129. package/dist/tooltip-CX3NbXUu.js +0 -37
  130. package/dist/utils-Bgl9doaU.d.ts +0 -6
  131. package/dist/utils-CeuVg6RA.js +0 -10
@@ -1,2 +0,0 @@
1
- import { t as Separator } from "../../separator-CQdurlbm.js";
2
- export { Separator };
@@ -1,5 +0,0 @@
1
- import "../../utils-CeuVg6RA.js";
2
- import "../../lib-IiLuXmGR.js";
3
- import { t as Separator } from "../../separator-BVBCxKBW.js";
4
-
5
- export { Separator };
@@ -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-nhYidbaI.js";
2
- export { Tags, TagsContent, TagsContentProps, TagsEmpty, TagsEmptyProps, TagsGroup, TagsGroupProps, TagsInput, TagsInputProps, TagsItem, TagsItemProps, TagsList, TagsListProps, TagsProps, TagsTrigger, TagsTriggerProps, TagsValue, TagsValueProps };
@@ -1,12 +0,0 @@
1
- 'use client';
2
-
3
- import "../../../../utils-CeuVg6RA.js";
4
- import "../../../../lib-IiLuXmGR.js";
5
- import "../../../../badge-OxgStuN-.js";
6
- import "../../../../button-Ct22vvF2.js";
7
- import "../../../../dialog-O7j71U82.js";
8
- import "../../../../command-Bh0lIHth.js";
9
- import "../../../../popover-B6K6dK1G.js";
10
- 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-BACevgr_.js";
11
-
12
- export { Tags, TagsContent, TagsEmpty, TagsGroup, TagsInput, TagsItem, TagsList, TagsTrigger, TagsValue };
@@ -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-DAxEKRyQ.js";
2
- export { TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot };
@@ -1,4 +0,0 @@
1
- import "../../../../utils-CeuVg6RA.js";
2
- import { a as TagsInputInLineList, i as TagsInputInLineLabel, n as TagsInputInLineInput, o as TagsInputInLineRoot, r as TagsInputInLineItem, t as TagsInputInLineClear } from "../../../../tags-input-inline-Bz5h19zx.js";
3
-
4
- 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-BBjl1baR.js";
2
- export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
@@ -1,5 +0,0 @@
1
- import "../../utils-CeuVg6RA.js";
2
- import "../../lib-IiLuXmGR.js";
3
- 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-DrR3eH28.js";
4
-
5
- export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
@@ -1,2 +0,0 @@
1
- import { t as Slider } from "../../slider-CYGuuC8k.js";
2
- export { Slider };
@@ -1,5 +0,0 @@
1
- import "../../utils-CeuVg6RA.js";
2
- import "../../lib-IiLuXmGR.js";
3
- import { t as Slider } from "../../slider-BlL5lT8d.js";
4
-
5
- export { Slider };
@@ -1,2 +0,0 @@
1
- import { t as Switch } from "../../switch-Y5FN07nj.js";
2
- export { Switch };
@@ -1,7 +0,0 @@
1
- 'use client';
2
-
3
- import "../../utils-CeuVg6RA.js";
4
- import "../../lib-IiLuXmGR.js";
5
- import { t as Switch } from "../../switch-BXSa0MEU.js";
6
-
7
- export { Switch };
@@ -1,2 +0,0 @@
1
- import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs } from "../../tabs-C-Tv9y7L.js";
2
- export { Tabs, TabsContent, TabsList, TabsTrigger };
@@ -1,5 +0,0 @@
1
- import "../../utils-CeuVg6RA.js";
2
- import "../../lib-IiLuXmGR.js";
3
- import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs } from "../../tabs-DbvqqMZV.js";
4
-
5
- export { Tabs, TabsContent, TabsList, TabsTrigger };
@@ -1,2 +0,0 @@
1
- import { t as Textarea } from "../../textarea-C3eFh4Vd.js";
2
- export { Textarea };
@@ -1,5 +0,0 @@
1
- import "../../utils-CeuVg6RA.js";
2
- import "../../lib-IiLuXmGR.js";
3
- import { t as Textarea } from "../../textarea-DTGK7cx-.js";
4
-
5
- export { Textarea };
@@ -1,2 +0,0 @@
1
- import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "../../tooltip-CGDnGnPt.js";
2
- export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
@@ -1,5 +0,0 @@
1
- import "../../utils-CeuVg6RA.js";
2
- import "../../lib-IiLuXmGR.js";
3
- import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "../../tooltip-CX3NbXUu.js";
4
-
5
- export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
@@ -1,47 +0,0 @@
1
- import * as React from "react";
2
- import * as react_jsx_runtime122 from "react/jsx-runtime";
3
- import * as DialogPrimitive from "@radix-ui/react-dialog";
4
-
5
- //#region src/components/ui/dialog.d.ts
6
- declare function Dialog({
7
- ...props
8
- }: React.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime122.JSX.Element;
9
- declare function DialogTrigger({
10
- ...props
11
- }: React.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime122.JSX.Element;
12
- declare function DialogPortal({
13
- ...props
14
- }: React.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime122.JSX.Element;
15
- declare function DialogClose({
16
- ...props
17
- }: React.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime122.JSX.Element;
18
- declare function DialogOverlay({
19
- className,
20
- ...props
21
- }: React.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime122.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_runtime122.JSX.Element;
30
- declare function DialogHeader({
31
- className,
32
- ...props
33
- }: React.ComponentProps<'div'>): react_jsx_runtime122.JSX.Element;
34
- declare function DialogFooter({
35
- className,
36
- ...props
37
- }: React.ComponentProps<'div'>): react_jsx_runtime122.JSX.Element;
38
- declare function DialogTitle({
39
- className,
40
- ...props
41
- }: React.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime122.JSX.Element;
42
- declare function DialogDescription({
43
- className,
44
- ...props
45
- }: React.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime122.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 };
@@ -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 };
@@ -1,77 +0,0 @@
1
- import * as React from "react";
2
- import * as react_jsx_runtime51 from "react/jsx-runtime";
3
- import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
4
-
5
- //#region src/components/ui/dropdown-menu.d.ts
6
- declare function DropdownMenu({
7
- ...props
8
- }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime51.JSX.Element;
9
- declare function DropdownMenuPortal({
10
- ...props
11
- }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime51.JSX.Element;
12
- declare function DropdownMenuTrigger({
13
- ...props
14
- }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime51.JSX.Element;
15
- declare function DropdownMenuContent({
16
- className,
17
- sideOffset,
18
- ...props
19
- }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime51.JSX.Element;
20
- declare function DropdownMenuGroup({
21
- ...props
22
- }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime51.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_runtime51.JSX.Element;
32
- declare function DropdownMenuCheckboxItem({
33
- className,
34
- children,
35
- checked,
36
- ...props
37
- }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime51.JSX.Element;
38
- declare function DropdownMenuRadioGroup({
39
- ...props
40
- }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime51.JSX.Element;
41
- declare function DropdownMenuRadioItem({
42
- className,
43
- children,
44
- ...props
45
- }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime51.JSX.Element;
46
- declare function DropdownMenuLabel({
47
- className,
48
- inset,
49
- ...props
50
- }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
51
- inset?: boolean;
52
- }): react_jsx_runtime51.JSX.Element;
53
- declare function DropdownMenuSeparator({
54
- className,
55
- ...props
56
- }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime51.JSX.Element;
57
- declare function DropdownMenuShortcut({
58
- className,
59
- ...props
60
- }: React.ComponentProps<'span'>): react_jsx_runtime51.JSX.Element;
61
- declare function DropdownMenuSub({
62
- ...props
63
- }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime51.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_runtime51.JSX.Element;
72
- declare function DropdownMenuSubContent({
73
- className,
74
- ...props
75
- }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime51.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 };
@@ -1,124 +0,0 @@
1
- import { t as cn } from "./utils-CeuVg6RA.js";
2
- import "react";
3
- import { jsx, jsxs } from "react/jsx-runtime";
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
- function DropdownMenu({ ...props }) {
9
- return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Root, {
10
- "data-slot": "dropdown-menu",
11
- ...props
12
- });
13
- }
14
- function DropdownMenuPortal({ ...props }) {
15
- return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, {
16
- "data-slot": "dropdown-menu-portal",
17
- ...props
18
- });
19
- }
20
- function DropdownMenuTrigger({ ...props }) {
21
- return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Trigger, {
22
- "data-slot": "dropdown-menu-trigger",
23
- ...props
24
- });
25
- }
26
- function DropdownMenuContent({ className, sideOffset = 4, ...props }) {
27
- return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.Content, {
28
- "data-slot": "dropdown-menu-content",
29
- sideOffset,
30
- 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),
31
- ...props
32
- }) });
33
- }
34
- function DropdownMenuGroup({ ...props }) {
35
- return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Group, {
36
- "data-slot": "dropdown-menu-group",
37
- ...props
38
- });
39
- }
40
- function DropdownMenuItem({ className, inset, variant = "default", ...props }) {
41
- return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Item, {
42
- "data-slot": "dropdown-menu-item",
43
- "data-inset": inset,
44
- "data-variant": variant,
45
- 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),
46
- ...props
47
- });
48
- }
49
- function DropdownMenuCheckboxItem({ className, children, checked, ...props }) {
50
- return /* @__PURE__ */ jsxs(DropdownMenuPrimitive.CheckboxItem, {
51
- "data-slot": "dropdown-menu-checkbox-item",
52
- 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),
53
- checked,
54
- ...props,
55
- children: [/* @__PURE__ */ jsx("span", {
56
- className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
57
- children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-4" }) })
58
- }), children]
59
- });
60
- }
61
- function DropdownMenuRadioGroup({ ...props }) {
62
- return /* @__PURE__ */ jsx(DropdownMenuPrimitive.RadioGroup, {
63
- "data-slot": "dropdown-menu-radio-group",
64
- ...props
65
- });
66
- }
67
- function DropdownMenuRadioItem({ className, children, ...props }) {
68
- return /* @__PURE__ */ jsxs(DropdownMenuPrimitive.RadioItem, {
69
- "data-slot": "dropdown-menu-radio-item",
70
- 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),
71
- ...props,
72
- children: [/* @__PURE__ */ jsx("span", {
73
- className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
74
- children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CircleIcon, { className: "size-2 fill-current" }) })
75
- }), children]
76
- });
77
- }
78
- function DropdownMenuLabel({ className, inset, ...props }) {
79
- return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Label, {
80
- "data-slot": "dropdown-menu-label",
81
- "data-inset": inset,
82
- className: cn("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", className),
83
- ...props
84
- });
85
- }
86
- function DropdownMenuSeparator({ className, ...props }) {
87
- return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Separator, {
88
- "data-slot": "dropdown-menu-separator",
89
- className: cn("bg-border -mx-1 my-1 h-px", className),
90
- ...props
91
- });
92
- }
93
- function DropdownMenuShortcut({ className, ...props }) {
94
- return /* @__PURE__ */ jsx("span", {
95
- "data-slot": "dropdown-menu-shortcut",
96
- className: cn("text-muted-foreground ml-auto text-xs tracking-widest", className),
97
- ...props
98
- });
99
- }
100
- function DropdownMenuSub({ ...props }) {
101
- return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Sub, {
102
- "data-slot": "dropdown-menu-sub",
103
- ...props
104
- });
105
- }
106
- function DropdownMenuSubTrigger({ className, inset, children, ...props }) {
107
- return /* @__PURE__ */ jsxs(DropdownMenuPrimitive.SubTrigger, {
108
- "data-slot": "dropdown-menu-sub-trigger",
109
- "data-inset": inset,
110
- 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),
111
- ...props,
112
- children: [children, /* @__PURE__ */ jsx(ChevronRightIcon, { className: "ml-auto size-4" })]
113
- });
114
- }
115
- function DropdownMenuSubContent({ className, ...props }) {
116
- return /* @__PURE__ */ jsx(DropdownMenuPrimitive.SubContent, {
117
- "data-slot": "dropdown-menu-sub-content",
118
- 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),
119
- ...props
120
- });
121
- }
122
-
123
- //#endregion
124
- 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 };