@esmate/shadcn 0.0.2 → 0.0.5
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/lib/hook-form/react.d.ts +0 -7
- package/dist/lib/hook-form/react.js +0 -10
- package/dist/styles/minimal.css +1 -0
- package/dist/styles/new-york.css +1 -1
- package/dist/{components/ui → ui}/accordion.d.ts +4 -4
- package/dist/{components/ui → ui}/accordion.js +4 -4
- package/dist/{components/ui → ui}/alert-dialog.d.ts +11 -11
- package/dist/{components/ui → ui}/alert-dialog.js +9 -9
- package/dist/{components/ui → ui}/alert.d.ts +3 -3
- package/dist/{components/ui → ui}/alert.js +4 -4
- package/dist/{components/ui → ui}/avatar.d.ts +3 -3
- package/dist/{components/ui → ui}/avatar.js +4 -4
- package/dist/{components/ui → ui}/badge.d.ts +1 -1
- package/dist/{components/ui → ui}/badge.js +2 -2
- package/dist/{components/ui → ui}/breadcrumb.d.ts +7 -7
- package/dist/{components/ui → ui}/breadcrumb.js +7 -7
- package/dist/{components/ui → ui}/button.d.ts +1 -1
- package/dist/{components/ui → ui}/button.js +2 -2
- package/dist/{components/ui → ui}/calendar.d.ts +1 -1
- package/dist/{components/ui → ui}/calendar.js +7 -7
- package/dist/{components/ui → ui}/card.d.ts +7 -7
- package/dist/{components/ui → ui}/card.js +8 -8
- package/dist/{components/ui → ui}/carousel.d.ts +5 -5
- package/dist/{components/ui → ui}/carousel.js +6 -6
- package/dist/{components/ui → ui}/chart.d.ts +4 -4
- package/dist/{components/ui → ui}/chart.js +10 -10
- package/dist/{components/ui → ui}/checkbox.d.ts +1 -1
- package/dist/{components/ui → ui}/checkbox.js +2 -2
- package/dist/{components/ui → ui}/command.d.ts +9 -9
- package/dist/{components/ui → ui}/command.js +8 -8
- package/dist/{components/ui → ui}/context-menu.d.ts +15 -15
- package/dist/{components/ui → ui}/context-menu.js +10 -10
- package/dist/{components/ui → ui}/dialog.d.ts +10 -10
- package/dist/{components/ui → ui}/dialog.js +7 -7
- package/dist/{components/ui → ui}/drawer.d.ts +10 -10
- package/dist/{components/ui → ui}/drawer.js +7 -7
- package/dist/{components/ui → ui}/dropdown-menu.d.ts +15 -15
- package/dist/{components/ui → ui}/dropdown-menu.js +10 -10
- package/dist/{components/ui → ui}/form.js +5 -5
- package/dist/{components/ui → ui}/hover-card.d.ts +3 -3
- package/dist/{components/ui → ui}/hover-card.js +2 -2
- package/dist/{components/ui → ui}/input-otp.d.ts +4 -4
- package/dist/{components/ui → ui}/input-otp.js +5 -5
- package/dist/{components/ui → ui}/input.d.ts +1 -1
- package/dist/{components/ui → ui}/input.js +2 -2
- package/dist/{components/ui → ui}/label.d.ts +1 -1
- package/dist/{components/ui → ui}/label.js +2 -2
- package/dist/{components/ui → ui}/menubar.d.ts +16 -16
- package/dist/{components/ui → ui}/menubar.js +12 -12
- package/dist/{components/ui → ui}/navigation-menu.d.ts +8 -8
- package/dist/{components/ui → ui}/navigation-menu.js +10 -10
- package/dist/{components/ui → ui}/pagination.d.ts +7 -7
- package/dist/{components/ui → ui}/pagination.js +7 -7
- package/dist/{components/ui → ui}/popover.d.ts +4 -4
- package/dist/{components/ui → ui}/popover.js +2 -2
- package/dist/{components/ui → ui}/progress.d.ts +1 -1
- package/dist/{components/ui → ui}/progress.js +2 -2
- package/dist/{components/ui → ui}/radio-group.d.ts +2 -2
- package/dist/{components/ui → ui}/radio-group.js +3 -3
- package/dist/{components/ui → ui}/resizable.d.ts +3 -3
- package/dist/{components/ui → ui}/resizable.js +3 -3
- package/dist/{components/ui → ui}/scroll-area.d.ts +2 -2
- package/dist/{components/ui → ui}/scroll-area.js +3 -3
- package/dist/{components/ui → ui}/select.d.ts +10 -10
- package/dist/{components/ui → ui}/select.js +9 -9
- package/dist/{components/ui → ui}/separator.d.ts +1 -1
- package/dist/{components/ui → ui}/separator.js +2 -2
- package/dist/{components/ui → ui}/sheet.d.ts +8 -8
- package/dist/{components/ui → ui}/sheet.js +7 -7
- package/dist/{components/ui → ui}/sidebar.d.ts +24 -33
- package/dist/{components/ui → ui}/sidebar.js +28 -28
- package/dist/ui/skeleton.js +9 -0
- package/dist/{components/ui → ui}/slider.d.ts +1 -1
- package/dist/{components/ui → ui}/slider.js +4 -4
- package/dist/{components/ui → ui}/switch.d.ts +1 -1
- package/dist/{components/ui → ui}/switch.js +3 -3
- package/dist/{components/ui → ui}/table.d.ts +8 -8
- package/dist/{components/ui → ui}/table.js +9 -9
- package/dist/{components/ui → ui}/tabs.d.ts +4 -4
- package/dist/{components/ui → ui}/tabs.js +5 -5
- package/dist/{components/ui → ui}/textarea.d.ts +1 -1
- package/dist/{components/ui → ui}/textarea.js +2 -2
- package/dist/{components/ui → ui}/toggle-group.d.ts +2 -2
- package/dist/{components/ui → ui}/toggle-group.js +3 -3
- package/dist/{components/ui → ui}/toggle.d.ts +1 -1
- package/dist/{components/ui → ui}/toggle.js +2 -2
- package/dist/{components/ui → ui}/tooltip.d.ts +4 -4
- package/dist/{components/ui → ui}/tooltip.js +2 -2
- package/package.json +10 -13
- package/dist/components/ui/aspect-ratio.d.ts +0 -3
- package/dist/components/ui/collapsible.d.ts +0 -5
- package/dist/components/ui/form.d.ts +0 -24
- package/dist/components/ui/skeleton.d.ts +0 -2
- package/dist/components/ui/skeleton.js +0 -9
- package/dist/components/ui/sonner.d.ts +0 -3
- package/dist/index.d.ts +0 -47
- package/dist/index.js +0 -47
- /package/dist/{lib/hooks.d.ts → hooks/use-zod-form.d.ts} +0 -0
- /package/dist/{lib/hooks.js → hooks/use-zod-form.js} +0 -0
- /package/dist/{components/ui → ui}/aspect-ratio.js +0 -0
- /package/dist/{components/ui → ui}/collapsible.js +0 -0
- /package/dist/{components/ui → ui}/sonner.js +0 -0
|
@@ -2,26 +2,26 @@ import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_navigation_menu_25af01f6__ from "@radix-ui/react-navigation-menu";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE_class_variance_authority_159ad65c__ from "class-variance-authority";
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__ from "lucide-react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
|
|
6
6
|
function NavigationMenu({ className, children, viewport = true, ...props }) {
|
|
7
7
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_navigation_menu_25af01f6__.Root, {
|
|
8
8
|
"data-slot": "navigation-menu",
|
|
9
9
|
"data-viewport": viewport,
|
|
10
|
-
className: (0,
|
|
10
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center", className),
|
|
11
11
|
...props
|
|
12
12
|
}, children, viewport && /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(NavigationMenuViewport, null));
|
|
13
13
|
}
|
|
14
14
|
function NavigationMenuList({ className, ...props }) {
|
|
15
15
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_navigation_menu_25af01f6__.List, {
|
|
16
16
|
"data-slot": "navigation-menu-list",
|
|
17
|
-
className: (0,
|
|
17
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("group flex flex-1 list-none items-center justify-center gap-1", className),
|
|
18
18
|
...props
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
function NavigationMenuItem({ className, ...props }) {
|
|
22
22
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_navigation_menu_25af01f6__.Item, {
|
|
23
23
|
"data-slot": "navigation-menu-item",
|
|
24
|
-
className: (0,
|
|
24
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("relative", className),
|
|
25
25
|
...props
|
|
26
26
|
});
|
|
27
27
|
}
|
|
@@ -29,7 +29,7 @@ const navigationMenuTriggerStyle = (0, __WEBPACK_EXTERNAL_MODULE_class_variance_
|
|
|
29
29
|
function NavigationMenuTrigger({ className, children, ...props }) {
|
|
30
30
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_navigation_menu_25af01f6__.Trigger, {
|
|
31
31
|
"data-slot": "navigation-menu-trigger",
|
|
32
|
-
className: (0,
|
|
32
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)(navigationMenuTriggerStyle(), "group", className),
|
|
33
33
|
...props
|
|
34
34
|
}, children, " ", /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__.ChevronDownIcon, {
|
|
35
35
|
className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
|
|
@@ -39,30 +39,30 @@ function NavigationMenuTrigger({ className, children, ...props }) {
|
|
|
39
39
|
function NavigationMenuContent({ className, ...props }) {
|
|
40
40
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_navigation_menu_25af01f6__.Content, {
|
|
41
41
|
"data-slot": "navigation-menu-content",
|
|
42
|
-
className: (0,
|
|
42
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto", "group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none", className),
|
|
43
43
|
...props
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
function NavigationMenuViewport({ className, ...props }) {
|
|
47
47
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("div", {
|
|
48
|
-
className: (0,
|
|
48
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("absolute top-full left-0 isolate z-50 flex justify-center")
|
|
49
49
|
}, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_navigation_menu_25af01f6__.Viewport, {
|
|
50
50
|
"data-slot": "navigation-menu-viewport",
|
|
51
|
-
className: (0,
|
|
51
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]", className),
|
|
52
52
|
...props
|
|
53
53
|
}));
|
|
54
54
|
}
|
|
55
55
|
function NavigationMenuLink({ className, ...props }) {
|
|
56
56
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_navigation_menu_25af01f6__.Link, {
|
|
57
57
|
"data-slot": "navigation-menu-link",
|
|
58
|
-
className: (0,
|
|
58
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4", className),
|
|
59
59
|
...props
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
62
|
function NavigationMenuIndicator({ className, ...props }) {
|
|
63
63
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_navigation_menu_25af01f6__.Indicator, {
|
|
64
64
|
"data-slot": "navigation-menu-indicator",
|
|
65
|
-
className: (0,
|
|
65
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden", className),
|
|
66
66
|
...props
|
|
67
67
|
}, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("div", {
|
|
68
68
|
className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md"
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Button } from "./button";
|
|
3
|
-
declare function Pagination({ className, ...props }: React.ComponentProps<"nav">):
|
|
4
|
-
declare function PaginationContent({ className, ...props }: React.ComponentProps<"ul">):
|
|
5
|
-
declare function PaginationItem({ ...props }: React.ComponentProps<"li">):
|
|
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
6
|
type PaginationLinkProps = {
|
|
7
7
|
isActive?: boolean;
|
|
8
8
|
} & Pick<React.ComponentProps<typeof Button>, "size"> & React.ComponentProps<"a">;
|
|
9
|
-
declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps):
|
|
10
|
-
declare function PaginationPrevious({ className, ...props }: React.ComponentProps<typeof PaginationLink>):
|
|
11
|
-
declare function PaginationNext({ className, ...props }: React.ComponentProps<typeof PaginationLink>):
|
|
12
|
-
declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<"span">):
|
|
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
13
|
export { Pagination, PaginationContent, PaginationLink, PaginationItem, PaginationPrevious, PaginationNext, PaginationEllipsis, };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__ from "lucide-react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE__button_js_821b8d9d__ from "./button.js";
|
|
5
5
|
function Pagination({ className, ...props }) {
|
|
6
6
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("nav", {
|
|
7
7
|
role: "navigation",
|
|
8
8
|
"aria-label": "pagination",
|
|
9
9
|
"data-slot": "pagination",
|
|
10
|
-
className: (0,
|
|
10
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("mx-auto flex w-full justify-center", className),
|
|
11
11
|
...props
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
14
|
function PaginationContent({ className, ...props }) {
|
|
15
15
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("ul", {
|
|
16
16
|
"data-slot": "pagination-content",
|
|
17
|
-
className: (0,
|
|
17
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("flex flex-row items-center gap-1", className),
|
|
18
18
|
...props
|
|
19
19
|
});
|
|
20
20
|
}
|
|
@@ -29,7 +29,7 @@ function PaginationLink({ className, isActive, size = "icon", ...props }) {
|
|
|
29
29
|
"aria-current": isActive ? "page" : void 0,
|
|
30
30
|
"data-slot": "pagination-link",
|
|
31
31
|
"data-active": isActive,
|
|
32
|
-
className: (0,
|
|
32
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)((0, __WEBPACK_EXTERNAL_MODULE__button_js_821b8d9d__.buttonVariants)({
|
|
33
33
|
variant: isActive ? "outline" : "ghost",
|
|
34
34
|
size
|
|
35
35
|
}), className),
|
|
@@ -40,7 +40,7 @@ function PaginationPrevious({ className, ...props }) {
|
|
|
40
40
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(PaginationLink, {
|
|
41
41
|
"aria-label": "Go to previous page",
|
|
42
42
|
size: "default",
|
|
43
|
-
className: (0,
|
|
43
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("gap-1 px-2.5 sm:pl-2.5", className),
|
|
44
44
|
...props
|
|
45
45
|
}, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__.ChevronLeftIcon, null), /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("span", {
|
|
46
46
|
className: "hidden sm:block"
|
|
@@ -50,7 +50,7 @@ function PaginationNext({ className, ...props }) {
|
|
|
50
50
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(PaginationLink, {
|
|
51
51
|
"aria-label": "Go to next page",
|
|
52
52
|
size: "default",
|
|
53
|
-
className: (0,
|
|
53
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("gap-1 px-2.5 sm:pr-2.5", className),
|
|
54
54
|
...props
|
|
55
55
|
}, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("span", {
|
|
56
56
|
className: "hidden sm:block"
|
|
@@ -60,7 +60,7 @@ function PaginationEllipsis({ className, ...props }) {
|
|
|
60
60
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("span", {
|
|
61
61
|
"aria-hidden": true,
|
|
62
62
|
"data-slot": "pagination-ellipsis",
|
|
63
|
-
className: (0,
|
|
63
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("flex size-9 items-center justify-center", className),
|
|
64
64
|
...props
|
|
65
65
|
}, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__.MoreHorizontalIcon, {
|
|
66
66
|
className: "size-4"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
3
|
-
declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>):
|
|
4
|
-
declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>):
|
|
5
|
-
declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>):
|
|
6
|
-
declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>):
|
|
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
7
|
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_popover_e2827c9f__ from "@radix-ui/react-popover";
|
|
4
|
-
import * as
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
|
|
5
5
|
function Popover({ ...props }) {
|
|
6
6
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_popover_e2827c9f__.Root, {
|
|
7
7
|
"data-slot": "popover",
|
|
@@ -19,7 +19,7 @@ function PopoverContent({ className, align = "center", sideOffset = 4, ...props
|
|
|
19
19
|
"data-slot": "popover-content",
|
|
20
20
|
align: align,
|
|
21
21
|
sideOffset: sideOffset,
|
|
22
|
-
className: (0,
|
|
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
23
|
...props
|
|
24
24
|
}));
|
|
25
25
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
3
|
-
declare function Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>):
|
|
3
|
+
declare function Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>): JSX.Element;
|
|
4
4
|
export { Progress };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_progress_84970133__ from "@radix-ui/react-progress";
|
|
4
|
-
import * as
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
|
|
5
5
|
function Progress({ className, value, ...props }) {
|
|
6
6
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_progress_84970133__.Root, {
|
|
7
7
|
"data-slot": "progress",
|
|
8
|
-
className: (0,
|
|
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
9
|
...props
|
|
10
10
|
}, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_progress_84970133__.Indicator, {
|
|
11
11
|
"data-slot": "progress-indicator",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
3
|
-
declare function RadioGroup({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>):
|
|
4
|
-
declare function RadioGroupItem({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item>):
|
|
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
5
|
export { RadioGroup, RadioGroupItem };
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_radio_group_e8f239af__ from "@radix-ui/react-radio-group";
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__ from "lucide-react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
|
|
6
6
|
function RadioGroup({ className, ...props }) {
|
|
7
7
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_radio_group_e8f239af__.Root, {
|
|
8
8
|
"data-slot": "radio-group",
|
|
9
|
-
className: (0,
|
|
9
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("grid gap-3", className),
|
|
10
10
|
...props
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
13
|
function RadioGroupItem({ className, ...props }) {
|
|
14
14
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_radio_group_e8f239af__.Item, {
|
|
15
15
|
"data-slot": "radio-group-item",
|
|
16
|
-
className: (0,
|
|
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
17
|
...props
|
|
18
18
|
}, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_radio_group_e8f239af__.Indicator, {
|
|
19
19
|
"data-slot": "radio-group-indicator",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as ResizablePrimitive from "react-resizable-panels";
|
|
3
|
-
declare function ResizablePanelGroup({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>):
|
|
4
|
-
declare function ResizablePanel({ ...props }: React.ComponentProps<typeof ResizablePrimitive.Panel>):
|
|
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
5
|
declare function ResizableHandle({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
6
6
|
withHandle?: boolean;
|
|
7
|
-
}):
|
|
7
|
+
}): JSX.Element;
|
|
8
8
|
export { ResizablePanelGroup, ResizablePanel, ResizableHandle };
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__ from "lucide-react";
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_react_resizable_panels_8d5960a0__ from "react-resizable-panels";
|
|
5
|
-
import * as
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
|
|
6
6
|
function ResizablePanelGroup({ className, ...props }) {
|
|
7
7
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_react_resizable_panels_8d5960a0__.PanelGroup, {
|
|
8
8
|
"data-slot": "resizable-panel-group",
|
|
9
|
-
className: (0,
|
|
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
10
|
...props
|
|
11
11
|
});
|
|
12
12
|
}
|
|
@@ -19,7 +19,7 @@ function ResizablePanel({ ...props }) {
|
|
|
19
19
|
function ResizableHandle({ withHandle, className, ...props }) {
|
|
20
20
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_react_resizable_panels_8d5960a0__.PanelResizeHandle, {
|
|
21
21
|
"data-slot": "resizable-handle",
|
|
22
|
-
className: (0,
|
|
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
23
|
...props
|
|
24
24
|
}, withHandle && /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("div", {
|
|
25
25
|
className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
3
|
-
declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>):
|
|
4
|
-
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>):
|
|
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
5
|
export { ScrollArea, ScrollBar };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_scroll_area_93228e9e__ from "@radix-ui/react-scroll-area";
|
|
4
|
-
import * as
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
|
|
5
5
|
function ScrollArea({ className, children, ...props }) {
|
|
6
6
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_scroll_area_93228e9e__.Root, {
|
|
7
7
|
"data-slot": "scroll-area",
|
|
8
|
-
className: (0,
|
|
8
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("relative", className),
|
|
9
9
|
...props
|
|
10
10
|
}, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_scroll_area_93228e9e__.Viewport, {
|
|
11
11
|
"data-slot": "scroll-area-viewport",
|
|
@@ -16,7 +16,7 @@ function ScrollBar({ className, orientation = "vertical", ...props }) {
|
|
|
16
16
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_scroll_area_93228e9e__.ScrollAreaScrollbar, {
|
|
17
17
|
"data-slot": "scroll-area-scrollbar",
|
|
18
18
|
orientation: orientation,
|
|
19
|
-
className: (0,
|
|
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
20
|
...props
|
|
21
21
|
}, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_scroll_area_93228e9e__.ScrollAreaThumb, {
|
|
22
22
|
"data-slot": "scroll-area-thumb",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
3
|
-
declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>):
|
|
4
|
-
declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>):
|
|
5
|
-
declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>):
|
|
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
6
|
declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
7
7
|
size?: "sm" | "default";
|
|
8
|
-
}):
|
|
9
|
-
declare function SelectContent({ className, children, position, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>):
|
|
10
|
-
declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>):
|
|
11
|
-
declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>):
|
|
12
|
-
declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>):
|
|
13
|
-
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>):
|
|
14
|
-
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>):
|
|
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
15
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__ from "@radix-ui/react-select";
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__ from "lucide-react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
|
|
6
6
|
function Select({ ...props }) {
|
|
7
7
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Root, {
|
|
8
8
|
"data-slot": "select",
|
|
@@ -25,7 +25,7 @@ function SelectTrigger({ className, size = "default", children, ...props }) {
|
|
|
25
25
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Trigger, {
|
|
26
26
|
"data-slot": "select-trigger",
|
|
27
27
|
"data-size": size,
|
|
28
|
-
className: (0,
|
|
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
29
|
...props
|
|
30
30
|
}, children, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Icon, {
|
|
31
31
|
asChild: true
|
|
@@ -36,24 +36,24 @@ function SelectTrigger({ className, size = "default", children, ...props }) {
|
|
|
36
36
|
function SelectContent({ className, children, position = "popper", ...props }) {
|
|
37
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
38
|
"data-slot": "select-content",
|
|
39
|
-
className: (0,
|
|
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
40
|
position: position,
|
|
41
41
|
...props
|
|
42
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,
|
|
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
44
|
}, children), /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(SelectScrollDownButton, null)));
|
|
45
45
|
}
|
|
46
46
|
function SelectLabel({ className, ...props }) {
|
|
47
47
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Label, {
|
|
48
48
|
"data-slot": "select-label",
|
|
49
|
-
className: (0,
|
|
49
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("text-muted-foreground px-2 py-1.5 text-xs", className),
|
|
50
50
|
...props
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
function SelectItem({ className, children, ...props }) {
|
|
54
54
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Item, {
|
|
55
55
|
"data-slot": "select-item",
|
|
56
|
-
className: (0,
|
|
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
57
|
...props
|
|
58
58
|
}, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("span", {
|
|
59
59
|
className: "absolute right-2 flex size-3.5 items-center justify-center"
|
|
@@ -64,14 +64,14 @@ function SelectItem({ className, children, ...props }) {
|
|
|
64
64
|
function SelectSeparator({ className, ...props }) {
|
|
65
65
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.Separator, {
|
|
66
66
|
"data-slot": "select-separator",
|
|
67
|
-
className: (0,
|
|
67
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("bg-border pointer-events-none -mx-1 my-1 h-px", className),
|
|
68
68
|
...props
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
function SelectScrollUpButton({ className, ...props }) {
|
|
72
72
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.ScrollUpButton, {
|
|
73
73
|
"data-slot": "select-scroll-up-button",
|
|
74
|
-
className: (0,
|
|
74
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("flex cursor-default items-center justify-center py-1", className),
|
|
75
75
|
...props
|
|
76
76
|
}, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__.ChevronUpIcon, {
|
|
77
77
|
className: "size-4"
|
|
@@ -80,7 +80,7 @@ function SelectScrollUpButton({ className, ...props }) {
|
|
|
80
80
|
function SelectScrollDownButton({ className, ...props }) {
|
|
81
81
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_select_36a82244__.ScrollDownButton, {
|
|
82
82
|
"data-slot": "select-scroll-down-button",
|
|
83
|
-
className: (0,
|
|
83
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("flex cursor-default items-center justify-center py-1", className),
|
|
84
84
|
...props
|
|
85
85
|
}, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__.ChevronDownIcon, {
|
|
86
86
|
className: "size-4"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
3
|
-
declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>):
|
|
3
|
+
declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>): JSX.Element;
|
|
4
4
|
export { Separator };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_separator_30da60f9__ from "@radix-ui/react-separator";
|
|
4
|
-
import * as
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
|
|
5
5
|
function Separator({ className, orientation = "horizontal", decorative = true, ...props }) {
|
|
6
6
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_separator_30da60f9__.Root, {
|
|
7
7
|
"data-slot": "separator-root",
|
|
8
8
|
decorative: decorative,
|
|
9
9
|
orientation: orientation,
|
|
10
|
-
className: (0,
|
|
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
11
|
...props
|
|
12
12
|
});
|
|
13
13
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
3
|
-
declare function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>):
|
|
4
|
-
declare function SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>):
|
|
5
|
-
declare function SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>):
|
|
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
6
|
declare function SheetContent({ className, children, side, ...props }: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
7
7
|
side?: "top" | "right" | "bottom" | "left";
|
|
8
|
-
}):
|
|
9
|
-
declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">):
|
|
10
|
-
declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">):
|
|
11
|
-
declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>):
|
|
12
|
-
declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>):
|
|
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
13
|
export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE__radix_ui_react_dialog_6b867f3d__ from "@radix-ui/react-dialog";
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__ from "lucide-react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__ from "../lib/utils.js";
|
|
6
6
|
function Sheet({ ...props }) {
|
|
7
7
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_dialog_6b867f3d__.Root, {
|
|
8
8
|
"data-slot": "sheet",
|
|
@@ -30,14 +30,14 @@ function SheetPortal({ ...props }) {
|
|
|
30
30
|
function SheetOverlay({ className, ...props }) {
|
|
31
31
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_dialog_6b867f3d__.Overlay, {
|
|
32
32
|
"data-slot": "sheet-overlay",
|
|
33
|
-
className: (0,
|
|
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
34
|
...props
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
37
|
function SheetContent({ className, children, side = "right", ...props }) {
|
|
38
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
39
|
"data-slot": "sheet-content",
|
|
40
|
-
className: (0,
|
|
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
41
|
...props
|
|
42
42
|
}, children, /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_dialog_6b867f3d__.Close, {
|
|
43
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"
|
|
@@ -50,28 +50,28 @@ function SheetContent({ className, children, side = "right", ...props }) {
|
|
|
50
50
|
function SheetHeader({ className, ...props }) {
|
|
51
51
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("div", {
|
|
52
52
|
"data-slot": "sheet-header",
|
|
53
|
-
className: (0,
|
|
53
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("flex flex-col gap-1.5 p-4", className),
|
|
54
54
|
...props
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
function SheetFooter({ className, ...props }) {
|
|
58
58
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement("div", {
|
|
59
59
|
"data-slot": "sheet-footer",
|
|
60
|
-
className: (0,
|
|
60
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("mt-auto flex flex-col gap-2 p-4", className),
|
|
61
61
|
...props
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
function SheetTitle({ className, ...props }) {
|
|
65
65
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_dialog_6b867f3d__.Title, {
|
|
66
66
|
"data-slot": "sheet-title",
|
|
67
|
-
className: (0,
|
|
67
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("text-foreground font-semibold", className),
|
|
68
68
|
...props
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
function SheetDescription({ className, ...props }) {
|
|
72
72
|
return /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__.createElement(__WEBPACK_EXTERNAL_MODULE__radix_ui_react_dialog_6b867f3d__.Description, {
|
|
73
73
|
"data-slot": "sheet-description",
|
|
74
|
-
className: (0,
|
|
74
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE__lib_utils_js_5e4c9133__.cn)("text-muted-foreground text-sm", className),
|
|
75
75
|
...props
|
|
76
76
|
});
|
|
77
77
|
}
|