@esmate/shadcn 0.0.5 → 1.0.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 (103) hide show
  1. package/README.md +230 -0
  2. package/package.json +18 -9
  3. package/dist/hooks/use-mobile.d.ts +0 -1
  4. package/dist/hooks/use-mobile.js +0 -16
  5. package/dist/hooks/use-zod-form.d.ts +0 -8
  6. package/dist/hooks/use-zod-form.js +0 -10
  7. package/dist/lib/hook-form/react.d.ts +0 -1
  8. package/dist/lib/hook-form/react.js +0 -1
  9. package/dist/lib/hook-form/resolvers.d.ts +0 -1
  10. package/dist/lib/hook-form/resolvers.js +0 -1
  11. package/dist/lib/utils.d.ts +0 -2
  12. package/dist/lib/utils.js +0 -6
  13. package/dist/lib/zod.d.ts +0 -1
  14. package/dist/lib/zod.js +0 -1
  15. package/dist/styles/minimal.css +0 -1
  16. package/dist/styles/new-york.css +0 -122
  17. package/dist/ui/accordion.d.ts +0 -7
  18. package/dist/ui/accordion.js +0 -39
  19. package/dist/ui/alert-dialog.d.ts +0 -14
  20. package/dist/ui/alert-dialog.js +0 -80
  21. package/dist/ui/alert.d.ts +0 -9
  22. package/dist/ui/alert.js +0 -39
  23. package/dist/ui/aspect-ratio.js +0 -9
  24. package/dist/ui/avatar.d.ts +0 -6
  25. package/dist/ui/avatar.js +0 -26
  26. package/dist/ui/badge.d.ts +0 -9
  27. package/dist/ui/badge.js +0 -28
  28. package/dist/ui/breadcrumb.d.ts +0 -11
  29. package/dist/ui/breadcrumb.js +0 -66
  30. package/dist/ui/button.d.ts +0 -10
  31. package/dist/ui/button.js +0 -39
  32. package/dist/ui/calendar.d.ts +0 -4
  33. package/dist/ui/calendar.js +0 -53
  34. package/dist/ui/card.d.ts +0 -9
  35. package/dist/ui/card.js +0 -52
  36. package/dist/ui/carousel.d.ts +0 -19
  37. package/dist/ui/carousel.js +0 -135
  38. package/dist/ui/chart.d.ts +0 -40
  39. package/dist/ui/chart.js +0 -138
  40. package/dist/ui/checkbox.d.ts +0 -4
  41. package/dist/ui/checkbox.js +0 -18
  42. package/dist/ui/collapsible.js +0 -21
  43. package/dist/ui/command.d.ts +0 -16
  44. package/dist/ui/command.js +0 -77
  45. package/dist/ui/context-menu.d.ts +0 -25
  46. package/dist/ui/context-menu.js +0 -120
  47. package/dist/ui/dialog.d.ts +0 -13
  48. package/dist/ui/dialog.js +0 -78
  49. package/dist/ui/drawer.d.ts +0 -13
  50. package/dist/ui/drawer.js +0 -75
  51. package/dist/ui/dropdown-menu.d.ts +0 -25
  52. package/dist/ui/dropdown-menu.js +0 -121
  53. package/dist/ui/form.js +0 -86
  54. package/dist/ui/hover-card.d.ts +0 -6
  55. package/dist/ui/hover-card.js +0 -28
  56. package/dist/ui/input-otp.d.ts +0 -11
  57. package/dist/ui/input-otp.js +0 -42
  58. package/dist/ui/input.d.ts +0 -3
  59. package/dist/ui/input.js +0 -11
  60. package/dist/ui/label.d.ts +0 -4
  61. package/dist/ui/label.js +0 -12
  62. package/dist/ui/menubar.d.ts +0 -26
  63. package/dist/ui/menubar.js +0 -131
  64. package/dist/ui/navigation-menu.d.ts +0 -14
  65. package/dist/ui/navigation-menu.js +0 -71
  66. package/dist/ui/pagination.d.ts +0 -13
  67. package/dist/ui/pagination.js +0 -71
  68. package/dist/ui/popover.d.ts +0 -7
  69. package/dist/ui/popover.js +0 -32
  70. package/dist/ui/progress.d.ts +0 -4
  71. package/dist/ui/progress.js +0 -18
  72. package/dist/ui/radio-group.d.ts +0 -5
  73. package/dist/ui/radio-group.js +0 -25
  74. package/dist/ui/resizable.d.ts +0 -8
  75. package/dist/ui/resizable.js +0 -30
  76. package/dist/ui/scroll-area.d.ts +0 -5
  77. package/dist/ui/scroll-area.js +0 -26
  78. package/dist/ui/select.d.ts +0 -15
  79. package/dist/ui/select.js +0 -89
  80. package/dist/ui/separator.d.ts +0 -4
  81. package/dist/ui/separator.js +0 -14
  82. package/dist/ui/sheet.d.ts +0 -13
  83. package/dist/ui/sheet.js +0 -78
  84. package/dist/ui/sidebar.d.ts +0 -60
  85. package/dist/ui/sidebar.js +0 -368
  86. package/dist/ui/skeleton.js +0 -9
  87. package/dist/ui/slider.d.ts +0 -4
  88. package/dist/ui/slider.js +0 -37
  89. package/dist/ui/sonner.js +0 -17
  90. package/dist/ui/switch.d.ts +0 -4
  91. package/dist/ui/switch.js +0 -15
  92. package/dist/ui/table.d.ts +0 -10
  93. package/dist/ui/table.js +0 -63
  94. package/dist/ui/tabs.d.ts +0 -7
  95. package/dist/ui/tabs.js +0 -33
  96. package/dist/ui/textarea.d.ts +0 -3
  97. package/dist/ui/textarea.js +0 -10
  98. package/dist/ui/toggle-group.d.ts +0 -7
  99. package/dist/ui/toggle-group.js +0 -37
  100. package/dist/ui/toggle.d.ts +0 -9
  101. package/dist/ui/toggle.js +0 -34
  102. package/dist/ui/tooltip.d.ts +0 -7
  103. package/dist/ui/tooltip.js +0 -34
@@ -1,13 +0,0 @@
1
- import * as React from "react";
2
- import { Button } from "./button";
3
- declare function Pagination({ className, ...props }: React.ComponentProps<"nav">): JSX.Element;
4
- declare function PaginationContent({ className, ...props }: React.ComponentProps<"ul">): JSX.Element;
5
- declare function PaginationItem({ ...props }: React.ComponentProps<"li">): JSX.Element;
6
- type PaginationLinkProps = {
7
- isActive?: boolean;
8
- } & Pick<React.ComponentProps<typeof Button>, "size"> & React.ComponentProps<"a">;
9
- declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): JSX.Element;
10
- declare function PaginationPrevious({ className, ...props }: React.ComponentProps<typeof PaginationLink>): JSX.Element;
11
- declare function PaginationNext({ className, ...props }: React.ComponentProps<typeof PaginationLink>): JSX.Element;
12
- declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<"span">): JSX.Element;
13
- export { Pagination, PaginationContent, PaginationLink, PaginationItem, PaginationPrevious, PaginationNext, PaginationEllipsis, };
@@ -1,71 +0,0 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
2
- import * as __WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__ from "lucide-react";
3
- import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
4
- import * as __WEBPACK_EXTERNAL_MODULE__button_js_821b8d9d__ from "./button.js";
5
- function Pagination({ className, ...props }) {
6
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("nav", {
7
- role: "navigation",
8
- "aria-label": "pagination",
9
- "data-slot": "pagination",
10
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("mx-auto flex w-full justify-center", className),
11
- ...props
12
- });
13
- }
14
- function PaginationContent({ className, ...props }) {
15
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("ul", {
16
- "data-slot": "pagination-content",
17
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("flex flex-row items-center gap-1", className),
18
- ...props
19
- });
20
- }
21
- function PaginationItem({ ...props }) {
22
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("li", {
23
- "data-slot": "pagination-item",
24
- ...props
25
- });
26
- }
27
- function PaginationLink({ className, isActive, size = "icon", ...props }) {
28
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("a", {
29
- "aria-current": isActive ? "page" : void 0,
30
- "data-slot": "pagination-link",
31
- "data-active": isActive,
32
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)((0, __WEBPACK_EXTERNAL_MODULE__button_js_821b8d9d__.buttonVariants)({
33
- variant: isActive ? "outline" : "ghost",
34
- size
35
- }), className),
36
- ...props
37
- });
38
- }
39
- function PaginationPrevious({ className, ...props }) {
40
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(PaginationLink, {
41
- "aria-label": "Go to previous page",
42
- size: "default",
43
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("gap-1 px-2.5 sm:pl-2.5", className),
44
- ...props
45
- }, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__.ChevronLeftIcon, null), /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("span", {
46
- className: "hidden sm:block"
47
- }, "Previous"));
48
- }
49
- function PaginationNext({ className, ...props }) {
50
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(PaginationLink, {
51
- "aria-label": "Go to next page",
52
- size: "default",
53
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("gap-1 px-2.5 sm:pr-2.5", className),
54
- ...props
55
- }, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("span", {
56
- className: "hidden sm:block"
57
- }, "Next"), /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__.ChevronRightIcon, null));
58
- }
59
- function PaginationEllipsis({ className, ...props }) {
60
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("span", {
61
- "aria-hidden": true,
62
- "data-slot": "pagination-ellipsis",
63
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("flex size-9 items-center justify-center", className),
64
- ...props
65
- }, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__.MoreHorizontalIcon, {
66
- className: "size-4"
67
- }), /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("span", {
68
- className: "sr-only"
69
- }, "More pages"));
70
- }
71
- export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
@@ -1,7 +0,0 @@
1
- import * as React from "react";
2
- import * as PopoverPrimitive from "@radix-ui/react-popover";
3
- declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): JSX.Element;
4
- declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): JSX.Element;
5
- declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): JSX.Element;
6
- declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): JSX.Element;
7
- export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
@@ -1,32 +0,0 @@
1
- "use client"
2
- import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
3
- import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_popover_e2827c9f__ from "@radix-ui/react-popover";
4
- import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
5
- function Popover({ ...props }) {
6
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_popover_e2827c9f__.Root, {
7
- "data-slot": "popover",
8
- ...props
9
- });
10
- }
11
- function PopoverTrigger({ ...props }) {
12
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_popover_e2827c9f__.Trigger, {
13
- "data-slot": "popover-trigger",
14
- ...props
15
- });
16
- }
17
- function PopoverContent({ className, align = "center", sideOffset = 4, ...props }) {
18
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_popover_e2827c9f__.Portal, null, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_popover_e2827c9f__.Content, {
19
- "data-slot": "popover-content",
20
- align: align,
21
- sideOffset: sideOffset,
22
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.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 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden", className),
23
- ...props
24
- }));
25
- }
26
- function PopoverAnchor({ ...props }) {
27
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_popover_e2827c9f__.Anchor, {
28
- "data-slot": "popover-anchor",
29
- ...props
30
- });
31
- }
32
- export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
@@ -1,4 +0,0 @@
1
- import * as React from "react";
2
- import * as ProgressPrimitive from "@radix-ui/react-progress";
3
- declare function Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>): JSX.Element;
4
- export { Progress };
@@ -1,18 +0,0 @@
1
- "use client"
2
- import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
3
- import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_progress_84970133__ from "@radix-ui/react-progress";
4
- import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
5
- function Progress({ className, value, ...props }) {
6
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_progress_84970133__.Root, {
7
- "data-slot": "progress",
8
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full", className),
9
- ...props
10
- }, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_progress_84970133__.Indicator, {
11
- "data-slot": "progress-indicator",
12
- className: "bg-primary h-full w-full flex-1 transition-all",
13
- style: {
14
- transform: `translateX(-${100 - (value || 0)}%)`
15
- }
16
- }));
17
- }
18
- export { Progress };
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
3
- declare function RadioGroup({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>): JSX.Element;
4
- declare function RadioGroupItem({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item>): JSX.Element;
5
- export { RadioGroup, RadioGroupItem };
@@ -1,25 +0,0 @@
1
- "use client"
2
- import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
3
- import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_radio_group_e8f239af__ from "@radix-ui/react-radio-group";
4
- import * as __WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__ from "lucide-react";
5
- import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
6
- function RadioGroup({ className, ...props }) {
7
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_radio_group_e8f239af__.Root, {
8
- "data-slot": "radio-group",
9
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("grid gap-3", className),
10
- ...props
11
- });
12
- }
13
- function RadioGroupItem({ className, ...props }) {
14
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_radio_group_e8f239af__.Item, {
15
- "data-slot": "radio-group-item",
16
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("border-input text-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 dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className),
17
- ...props
18
- }, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_radio_group_e8f239af__.Indicator, {
19
- "data-slot": "radio-group-indicator",
20
- className: "relative flex items-center justify-center"
21
- }, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__.CircleIcon, {
22
- className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2"
23
- })));
24
- }
25
- export { RadioGroup, RadioGroupItem };
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- import * as ResizablePrimitive from "react-resizable-panels";
3
- declare function ResizablePanelGroup({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>): JSX.Element;
4
- declare function ResizablePanel({ ...props }: React.ComponentProps<typeof ResizablePrimitive.Panel>): JSX.Element;
5
- declare function ResizableHandle({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
6
- withHandle?: boolean;
7
- }): JSX.Element;
8
- export { ResizablePanelGroup, ResizablePanel, ResizableHandle };
@@ -1,30 +0,0 @@
1
- "use client"
2
- import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
3
- import * as __WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__ from "lucide-react";
4
- import * as __WEBPACK_EXTERNAL_MODULE_react_resizable_panels_8d5960a0__ from "react-resizable-panels";
5
- import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
6
- function ResizablePanelGroup({ className, ...props }) {
7
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_react_resizable_panels_8d5960a0__.PanelGroup, {
8
- "data-slot": "resizable-panel-group",
9
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", className),
10
- ...props
11
- });
12
- }
13
- function ResizablePanel({ ...props }) {
14
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_react_resizable_panels_8d5960a0__.Panel, {
15
- "data-slot": "resizable-panel",
16
- ...props
17
- });
18
- }
19
- function ResizableHandle({ withHandle, className, ...props }) {
20
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_react_resizable_panels_8d5960a0__.PanelResizeHandle, {
21
- "data-slot": "resizable-handle",
22
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90", className),
23
- ...props
24
- }, withHandle && /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("div", {
25
- className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border"
26
- }, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__.GripVerticalIcon, {
27
- className: "size-2.5"
28
- })));
29
- }
30
- export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
3
- declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>): JSX.Element;
4
- declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): JSX.Element;
5
- export { ScrollArea, ScrollBar };
@@ -1,26 +0,0 @@
1
- "use client"
2
- import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
3
- import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_scroll_area_93228e9e__ from "@radix-ui/react-scroll-area";
4
- import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
5
- function ScrollArea({ className, children, ...props }) {
6
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_scroll_area_93228e9e__.Root, {
7
- "data-slot": "scroll-area",
8
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("relative", className),
9
- ...props
10
- }, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_scroll_area_93228e9e__.Viewport, {
11
- "data-slot": "scroll-area-viewport",
12
- className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1"
13
- }, children), /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(ScrollBar, null), /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_scroll_area_93228e9e__.Corner, null));
14
- }
15
- function ScrollBar({ className, orientation = "vertical", ...props }) {
16
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_scroll_area_93228e9e__.ScrollAreaScrollbar, {
17
- "data-slot": "scroll-area-scrollbar",
18
- orientation: orientation,
19
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("flex touch-none p-px transition-colors select-none", "vertical" === orientation && "h-full w-2.5 border-l border-l-transparent", "horizontal" === orientation && "h-2.5 flex-col border-t border-t-transparent", className),
20
- ...props
21
- }, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_scroll_area_93228e9e__.ScrollAreaThumb, {
22
- "data-slot": "scroll-area-thumb",
23
- className: "bg-border relative flex-1 rounded-full"
24
- }));
25
- }
26
- export { ScrollArea, ScrollBar };
@@ -1,15 +0,0 @@
1
- import * as React from "react";
2
- import * as SelectPrimitive from "@radix-ui/react-select";
3
- declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): JSX.Element;
4
- declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): JSX.Element;
5
- declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): JSX.Element;
6
- declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
7
- size?: "sm" | "default";
8
- }): JSX.Element;
9
- declare function SelectContent({ className, children, position, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): JSX.Element;
10
- declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): JSX.Element;
11
- declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): JSX.Element;
12
- declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): JSX.Element;
13
- declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): JSX.Element;
14
- declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): JSX.Element;
15
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
package/dist/ui/select.js DELETED
@@ -1,89 +0,0 @@
1
- "use client"
2
- import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
3
- import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__ from "@radix-ui/react-select";
4
- import * as __WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__ from "lucide-react";
5
- import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
6
- function Select({ ...props }) {
7
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Root, {
8
- "data-slot": "select",
9
- ...props
10
- });
11
- }
12
- function SelectGroup({ ...props }) {
13
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Group, {
14
- "data-slot": "select-group",
15
- ...props
16
- });
17
- }
18
- function SelectValue({ ...props }) {
19
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Value, {
20
- "data-slot": "select-value",
21
- ...props
22
- });
23
- }
24
- function SelectTrigger({ className, size = "default", children, ...props }) {
25
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Trigger, {
26
- "data-slot": "select-trigger",
27
- "data-size": size,
28
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
29
- ...props
30
- }, children, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Icon, {
31
- asChild: true
32
- }, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__.ChevronDownIcon, {
33
- className: "size-4 opacity-50"
34
- })));
35
- }
36
- function SelectContent({ className, children, position = "popper", ...props }) {
37
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Portal, null, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Content, {
38
- "data-slot": "select-content",
39
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.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 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md", "popper" === position && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
40
- position: position,
41
- ...props
42
- }, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(SelectScrollUpButton, null), /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Viewport, {
43
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("p-1", "popper" === position && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1")
44
- }, children), /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(SelectScrollDownButton, null)));
45
- }
46
- function SelectLabel({ className, ...props }) {
47
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Label, {
48
- "data-slot": "select-label",
49
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("text-muted-foreground px-2 py-1.5 text-xs", className),
50
- ...props
51
- });
52
- }
53
- function SelectItem({ className, children, ...props }) {
54
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Item, {
55
- "data-slot": "select-item",
56
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 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 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", className),
57
- ...props
58
- }, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("span", {
59
- className: "absolute right-2 flex size-3.5 items-center justify-center"
60
- }, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.ItemIndicator, null, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__.CheckIcon, {
61
- className: "size-4"
62
- }))), /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.ItemText, null, children));
63
- }
64
- function SelectSeparator({ className, ...props }) {
65
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Separator, {
66
- "data-slot": "select-separator",
67
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("bg-border pointer-events-none -mx-1 my-1 h-px", className),
68
- ...props
69
- });
70
- }
71
- function SelectScrollUpButton({ className, ...props }) {
72
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.ScrollUpButton, {
73
- "data-slot": "select-scroll-up-button",
74
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("flex cursor-default items-center justify-center py-1", className),
75
- ...props
76
- }, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__.ChevronUpIcon, {
77
- className: "size-4"
78
- }));
79
- }
80
- function SelectScrollDownButton({ className, ...props }) {
81
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.ScrollDownButton, {
82
- "data-slot": "select-scroll-down-button",
83
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("flex cursor-default items-center justify-center py-1", className),
84
- ...props
85
- }, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__.ChevronDownIcon, {
86
- className: "size-4"
87
- }));
88
- }
89
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
@@ -1,4 +0,0 @@
1
- import * as React from "react";
2
- import * as SeparatorPrimitive from "@radix-ui/react-separator";
3
- declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>): JSX.Element;
4
- export { Separator };
@@ -1,14 +0,0 @@
1
- "use client"
2
- import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
3
- import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_separator_30da60f9__ from "@radix-ui/react-separator";
4
- import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
5
- function Separator({ className, orientation = "horizontal", decorative = true, ...props }) {
6
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_separator_30da60f9__.Root, {
7
- "data-slot": "separator-root",
8
- decorative: decorative,
9
- orientation: orientation,
10
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", className),
11
- ...props
12
- });
13
- }
14
- export { Separator };
@@ -1,13 +0,0 @@
1
- import * as React from "react";
2
- import * as SheetPrimitive from "@radix-ui/react-dialog";
3
- declare function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>): JSX.Element;
4
- declare function SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>): JSX.Element;
5
- declare function SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>): JSX.Element;
6
- declare function SheetContent({ className, children, side, ...props }: React.ComponentProps<typeof SheetPrimitive.Content> & {
7
- side?: "top" | "right" | "bottom" | "left";
8
- }): JSX.Element;
9
- declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
10
- declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
11
- declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>): JSX.Element;
12
- declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>): JSX.Element;
13
- export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, };
package/dist/ui/sheet.js DELETED
@@ -1,78 +0,0 @@
1
- "use client"
2
- import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
3
- import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_dialog_6b867f3d__ from "@radix-ui/react-dialog";
4
- import * as __WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__ from "lucide-react";
5
- import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
6
- function Sheet({ ...props }) {
7
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_dialog_6b867f3d__.Root, {
8
- "data-slot": "sheet",
9
- ...props
10
- });
11
- }
12
- function SheetTrigger({ ...props }) {
13
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_dialog_6b867f3d__.Trigger, {
14
- "data-slot": "sheet-trigger",
15
- ...props
16
- });
17
- }
18
- function SheetClose({ ...props }) {
19
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_dialog_6b867f3d__.Close, {
20
- "data-slot": "sheet-close",
21
- ...props
22
- });
23
- }
24
- function SheetPortal({ ...props }) {
25
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_dialog_6b867f3d__.Portal, {
26
- "data-slot": "sheet-portal",
27
- ...props
28
- });
29
- }
30
- function SheetOverlay({ className, ...props }) {
31
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_dialog_6b867f3d__.Overlay, {
32
- "data-slot": "sheet-overlay",
33
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.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),
34
- ...props
35
- });
36
- }
37
- function SheetContent({ className, children, side = "right", ...props }) {
38
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(SheetPortal, null, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(SheetOverlay, null), /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_dialog_6b867f3d__.Content, {
39
- "data-slot": "sheet-content",
40
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500", "right" === side && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm", "left" === side && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm", "top" === side && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b", "bottom" === side && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t", className),
41
- ...props
42
- }, children, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_dialog_6b867f3d__.Close, {
43
- className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary 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"
44
- }, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__.XIcon, {
45
- className: "size-4"
46
- }), /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("span", {
47
- className: "sr-only"
48
- }, "Close"))));
49
- }
50
- function SheetHeader({ className, ...props }) {
51
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("div", {
52
- "data-slot": "sheet-header",
53
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("flex flex-col gap-1.5 p-4", className),
54
- ...props
55
- });
56
- }
57
- function SheetFooter({ className, ...props }) {
58
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("div", {
59
- "data-slot": "sheet-footer",
60
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("mt-auto flex flex-col gap-2 p-4", className),
61
- ...props
62
- });
63
- }
64
- function SheetTitle({ className, ...props }) {
65
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_dialog_6b867f3d__.Title, {
66
- "data-slot": "sheet-title",
67
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("text-foreground font-semibold", className),
68
- ...props
69
- });
70
- }
71
- function SheetDescription({ className, ...props }) {
72
- return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_dialog_6b867f3d__.Description, {
73
- "data-slot": "sheet-description",
74
- className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("text-muted-foreground text-sm", className),
75
- ...props
76
- });
77
- }
78
- export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
@@ -1,60 +0,0 @@
1
- import * as React from "react";
2
- import { VariantProps } from "class-variance-authority";
3
- import { Button } from "./button";
4
- import { Input } from "./input";
5
- import { Separator } from "./separator";
6
- import { TooltipContent } from "./tooltip";
7
- declare function useSidebar(): any;
8
- declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React.ComponentProps<"div"> & {
9
- defaultOpen?: boolean;
10
- open?: boolean;
11
- onOpenChange?: (open: boolean) => void;
12
- }): JSX.Element;
13
- declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React.ComponentProps<"div"> & {
14
- side?: "left" | "right";
15
- variant?: "sidebar" | "floating" | "inset";
16
- collapsible?: "offcanvas" | "icon" | "none";
17
- }): JSX.Element;
18
- declare function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button>): JSX.Element;
19
- declare function SidebarRail({ className, ...props }: React.ComponentProps<"button">): JSX.Element;
20
- declare function SidebarInset({ className, ...props }: React.ComponentProps<"main">): JSX.Element;
21
- declare function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>): JSX.Element;
22
- declare function SidebarHeader({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
23
- declare function SidebarFooter({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
24
- declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): JSX.Element;
25
- declare function SidebarContent({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
26
- declare function SidebarGroup({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
27
- declare function SidebarGroupLabel({ className, asChild, ...props }: React.ComponentProps<"div"> & {
28
- asChild?: boolean;
29
- }): JSX.Element;
30
- declare function SidebarGroupAction({ className, asChild, ...props }: React.ComponentProps<"button"> & {
31
- asChild?: boolean;
32
- }): JSX.Element;
33
- declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
34
- declare function SidebarMenu({ className, ...props }: React.ComponentProps<"ul">): JSX.Element;
35
- declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">): JSX.Element;
36
- declare const sidebarMenuButtonVariants: (props?: ({
37
- variant?: "default" | "outline" | null | undefined;
38
- size?: "default" | "sm" | "lg" | null | undefined;
39
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
40
- declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React.ComponentProps<"button"> & {
41
- asChild?: boolean;
42
- isActive?: boolean;
43
- tooltip?: string | React.ComponentProps<typeof TooltipContent>;
44
- } & VariantProps<typeof sidebarMenuButtonVariants>): JSX.Element;
45
- declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React.ComponentProps<"button"> & {
46
- asChild?: boolean;
47
- showOnHover?: boolean;
48
- }): JSX.Element;
49
- declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
50
- declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<"div"> & {
51
- showIcon?: boolean;
52
- }): JSX.Element;
53
- declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">): JSX.Element;
54
- declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<"li">): JSX.Element;
55
- declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React.ComponentProps<"a"> & {
56
- asChild?: boolean;
57
- size?: "sm" | "md";
58
- isActive?: boolean;
59
- }): JSX.Element;
60
- export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar, };