@esmate/shadcn 3.3.3 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/badge.js +1 -1
- package/dist/components/ui/button-group.d.ts +11 -0
- package/dist/components/ui/button-group.js +42 -0
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/button.js +3 -1
- package/dist/components/ui/calendar.js +1 -1
- package/dist/components/ui/card.js +1 -1
- package/dist/components/ui/checkbox.js +1 -1
- package/dist/components/ui/context-menu.js +1 -1
- package/dist/components/ui/dropdown-menu.js +1 -1
- package/dist/components/ui/empty.d.ts +11 -0
- package/dist/components/ui/empty.js +60 -0
- package/dist/components/ui/field.d.ts +24 -0
- package/dist/components/ui/field.js +134 -0
- package/dist/components/ui/input-group.d.ts +16 -0
- package/dist/components/ui/input-group.js +89 -0
- package/dist/components/ui/item.d.ts +23 -0
- package/dist/components/ui/item.js +118 -0
- package/dist/components/ui/kbd.d.ts +3 -0
- package/dist/components/ui/kbd.js +16 -0
- package/dist/components/ui/select.d.ts +1 -1
- package/dist/components/ui/select.js +2 -1
- package/dist/components/ui/sidebar.d.ts +1 -1
- package/dist/components/ui/slider.js +1 -1
- package/dist/components/ui/sonner.d.ts +1 -1
- package/dist/components/ui/sonner.js +20 -1
- package/dist/components/ui/spinner.d.ts +2 -0
- package/dist/components/ui/spinner.js +11 -0
- package/dist/components/ui/toggle-group.d.ts +3 -1
- package/dist/components/ui/toggle-group.js +12 -5
- package/dist/hooks/use-zod-form.d.ts +5 -7
- package/package.json +15 -15
- package/dist/ui/accordion.d.ts +0 -7
- package/dist/ui/accordion.js +0 -39
- package/dist/ui/alert-dialog.d.ts +0 -14
- package/dist/ui/alert-dialog.js +0 -80
- package/dist/ui/alert.d.ts +0 -9
- package/dist/ui/alert.js +0 -39
- package/dist/ui/aspect-ratio.d.ts +0 -3
- package/dist/ui/aspect-ratio.js +0 -9
- package/dist/ui/avatar.d.ts +0 -6
- package/dist/ui/avatar.js +0 -26
- package/dist/ui/badge.d.ts +0 -9
- package/dist/ui/badge.js +0 -28
- package/dist/ui/breadcrumb.d.ts +0 -11
- package/dist/ui/breadcrumb.js +0 -66
- package/dist/ui/button.d.ts +0 -10
- package/dist/ui/button.js +0 -39
- package/dist/ui/calendar.d.ts +0 -8
- package/dist/ui/calendar.js +0 -103
- package/dist/ui/card.d.ts +0 -9
- package/dist/ui/card.js +0 -52
- package/dist/ui/carousel.d.ts +0 -19
- package/dist/ui/carousel.js +0 -135
- package/dist/ui/chart.d.ts +0 -40
- package/dist/ui/chart.js +0 -138
- package/dist/ui/checkbox.d.ts +0 -4
- package/dist/ui/checkbox.js +0 -18
- package/dist/ui/collapsible.d.ts +0 -5
- package/dist/ui/collapsible.js +0 -21
- package/dist/ui/command.d.ts +0 -18
- package/dist/ui/command.js +0 -78
- package/dist/ui/context-menu.d.ts +0 -25
- package/dist/ui/context-menu.js +0 -120
- package/dist/ui/dialog.d.ts +0 -15
- package/dist/ui/dialog.js +0 -79
- package/dist/ui/drawer.d.ts +0 -13
- package/dist/ui/drawer.js +0 -75
- package/dist/ui/dropdown-menu.d.ts +0 -25
- package/dist/ui/dropdown-menu.js +0 -121
- package/dist/ui/form.d.ts +0 -24
- package/dist/ui/form.js +0 -86
- package/dist/ui/hover-card.d.ts +0 -6
- package/dist/ui/hover-card.js +0 -28
- package/dist/ui/input-otp.d.ts +0 -11
- package/dist/ui/input-otp.js +0 -42
- package/dist/ui/input.d.ts +0 -3
- package/dist/ui/input.js +0 -11
- package/dist/ui/label.d.ts +0 -4
- package/dist/ui/label.js +0 -12
- package/dist/ui/menubar.d.ts +0 -26
- package/dist/ui/menubar.js +0 -131
- package/dist/ui/navigation-menu.d.ts +0 -14
- package/dist/ui/navigation-menu.js +0 -71
- package/dist/ui/pagination.d.ts +0 -13
- package/dist/ui/pagination.js +0 -71
- package/dist/ui/popover.d.ts +0 -7
- package/dist/ui/popover.js +0 -32
- package/dist/ui/progress.d.ts +0 -4
- package/dist/ui/progress.js +0 -18
- package/dist/ui/radio-group.d.ts +0 -5
- package/dist/ui/radio-group.js +0 -25
- package/dist/ui/resizable.d.ts +0 -8
- package/dist/ui/resizable.js +0 -30
- package/dist/ui/scroll-area.d.ts +0 -5
- package/dist/ui/scroll-area.js +0 -26
- package/dist/ui/select.d.ts +0 -15
- package/dist/ui/select.js +0 -89
- package/dist/ui/separator.d.ts +0 -4
- package/dist/ui/separator.js +0 -14
- package/dist/ui/sheet.d.ts +0 -13
- package/dist/ui/sheet.js +0 -78
- package/dist/ui/sidebar.d.ts +0 -69
- package/dist/ui/sidebar.js +0 -368
- package/dist/ui/skeleton.d.ts +0 -2
- package/dist/ui/skeleton.js +0 -9
- package/dist/ui/slider.d.ts +0 -4
- package/dist/ui/slider.js +0 -37
- package/dist/ui/sonner.d.ts +0 -3
- package/dist/ui/sonner.js +0 -17
- package/dist/ui/switch.d.ts +0 -4
- package/dist/ui/switch.js +0 -15
- package/dist/ui/table.d.ts +0 -10
- package/dist/ui/table.js +0 -63
- package/dist/ui/tabs.d.ts +0 -7
- package/dist/ui/tabs.js +0 -33
- package/dist/ui/textarea.d.ts +0 -3
- package/dist/ui/textarea.js +0 -10
- package/dist/ui/toggle-group.d.ts +0 -7
- package/dist/ui/toggle-group.js +0 -37
- package/dist/ui/toggle.d.ts +0 -9
- package/dist/ui/toggle.js +0 -34
- package/dist/ui/tooltip.d.ts +0 -7
- package/dist/ui/tooltip.js +0 -34
package/dist/ui/pagination.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { Button } from "./button";
|
|
3
|
-
declare function Pagination({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function PaginationContent({ className, ...props }: React.ComponentProps<"ul">): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function PaginationItem({ ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").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): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function PaginationPrevious({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare function PaginationNext({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export { Pagination, PaginationContent, PaginationLink, PaginationItem, PaginationPrevious, PaginationNext, PaginationEllipsis, };
|
package/dist/ui/pagination.js
DELETED
|
@@ -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 };
|
package/dist/ui/popover.d.ts
DELETED
|
@@ -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>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
|
package/dist/ui/popover.js
DELETED
|
@@ -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 };
|
package/dist/ui/progress.d.ts
DELETED
|
@@ -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>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export { Progress };
|
package/dist/ui/progress.js
DELETED
|
@@ -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 };
|
package/dist/ui/radio-group.d.ts
DELETED
|
@@ -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>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function RadioGroupItem({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export { RadioGroup, RadioGroupItem };
|
package/dist/ui/radio-group.js
DELETED
|
@@ -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 };
|
package/dist/ui/resizable.d.ts
DELETED
|
@@ -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>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function ResizablePanel({ ...props }: React.ComponentProps<typeof ResizablePrimitive.Panel>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function ResizableHandle({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
6
|
-
withHandle?: boolean;
|
|
7
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export { ResizablePanelGroup, ResizablePanel, ResizableHandle };
|
package/dist/ui/resizable.js
DELETED
|
@@ -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-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[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 };
|
package/dist/ui/scroll-area.d.ts
DELETED
|
@@ -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>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export { ScrollArea, ScrollBar };
|
package/dist/ui/scroll-area.js
DELETED
|
@@ -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 };
|
package/dist/ui/select.d.ts
DELETED
|
@@ -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>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
7
|
-
size?: "sm" | "default";
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare function SelectContent({ className, children, position, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): import("react/jsx-runtime").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 };
|
package/dist/ui/separator.d.ts
DELETED
|
@@ -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>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export { Separator };
|
package/dist/ui/separator.js
DELETED
|
@@ -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",
|
|
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 };
|
package/dist/ui/sheet.d.ts
DELETED
|
@@ -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>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function SheetContent({ className, children, side, ...props }: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
7
|
-
side?: "top" | "right" | "bottom" | "left";
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>): import("react/jsx-runtime").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 };
|
package/dist/ui/sidebar.d.ts
DELETED
|
@@ -1,69 +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
|
-
type SidebarContextProps = {
|
|
8
|
-
state: "expanded" | "collapsed";
|
|
9
|
-
open: boolean;
|
|
10
|
-
setOpen: (open: boolean) => void;
|
|
11
|
-
openMobile: boolean;
|
|
12
|
-
setOpenMobile: (open: boolean) => void;
|
|
13
|
-
isMobile: boolean;
|
|
14
|
-
toggleSidebar: () => void;
|
|
15
|
-
};
|
|
16
|
-
declare function useSidebar(): SidebarContextProps;
|
|
17
|
-
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React.ComponentProps<"div"> & {
|
|
18
|
-
defaultOpen?: boolean;
|
|
19
|
-
open?: boolean;
|
|
20
|
-
onOpenChange?: (open: boolean) => void;
|
|
21
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React.ComponentProps<"div"> & {
|
|
23
|
-
side?: "left" | "right";
|
|
24
|
-
variant?: "sidebar" | "floating" | "inset";
|
|
25
|
-
collapsible?: "offcanvas" | "icon" | "none";
|
|
26
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
declare function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
declare function SidebarRail({ className, ...props }: React.ComponentProps<"button">): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
declare function SidebarInset({ className, ...props }: React.ComponentProps<"main">): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
declare function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
declare function SidebarHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
declare function SidebarFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
declare function SidebarContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
35
|
-
declare function SidebarGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
36
|
-
declare function SidebarGroupLabel({ className, asChild, ...props }: React.ComponentProps<"div"> & {
|
|
37
|
-
asChild?: boolean;
|
|
38
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
declare function SidebarGroupAction({ className, asChild, ...props }: React.ComponentProps<"button"> & {
|
|
40
|
-
asChild?: boolean;
|
|
41
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
43
|
-
declare function SidebarMenu({ className, ...props }: React.ComponentProps<"ul">): import("react/jsx-runtime").JSX.Element;
|
|
44
|
-
declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
|
45
|
-
declare const sidebarMenuButtonVariants: (props?: ({
|
|
46
|
-
variant?: "default" | "outline" | null | undefined;
|
|
47
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
48
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
49
|
-
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React.ComponentProps<"button"> & {
|
|
50
|
-
asChild?: boolean;
|
|
51
|
-
isActive?: boolean;
|
|
52
|
-
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
53
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
54
|
-
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React.ComponentProps<"button"> & {
|
|
55
|
-
asChild?: boolean;
|
|
56
|
-
showOnHover?: boolean;
|
|
57
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
58
|
-
declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
59
|
-
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<"div"> & {
|
|
60
|
-
showIcon?: boolean;
|
|
61
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
62
|
-
declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">): import("react/jsx-runtime").JSX.Element;
|
|
63
|
-
declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
|
64
|
-
declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React.ComponentProps<"a"> & {
|
|
65
|
-
asChild?: boolean;
|
|
66
|
-
size?: "sm" | "md";
|
|
67
|
-
isActive?: boolean;
|
|
68
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
69
|
-
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, };
|