@alpic-ai/ui 0.0.0-dev.g876f5e9 → 0.0.0-dev.g8868278
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/accordion-card.d.mts +5 -5
- package/dist/components/accordion.d.mts +5 -5
- package/dist/components/alert.d.mts +8 -8
- package/dist/components/attachment-tile.d.mts +1 -1
- package/dist/components/avatar.d.mts +7 -7
- package/dist/components/badge.d.mts +1 -1
- package/dist/components/breadcrumb.d.mts +10 -10
- package/dist/components/button.d.mts +5 -5
- package/dist/components/card.d.mts +9 -9
- package/dist/components/checkbox.d.mts +2 -2
- package/dist/components/collapsible.d.mts +4 -4
- package/dist/components/combobox.d.mts +10 -10
- package/dist/components/command.d.mts +9 -9
- package/dist/components/copyable.d.mts +2 -2
- package/dist/components/description-list.d.mts +5 -5
- package/dist/components/dialog.d.mts +13 -13
- package/dist/components/dropdown-menu.d.mts +17 -17
- package/dist/components/form.d.mts +18 -18
- package/dist/components/form.mjs +6 -6
- package/dist/components/github-button.d.mts +1 -1
- package/dist/components/input-group.d.mts +4 -4
- package/dist/components/input.d.mts +4 -4
- package/dist/components/input.mjs +2 -2
- package/dist/components/label.d.mts +2 -2
- package/dist/components/page-loader.d.mts +1 -1
- package/dist/components/pagination.d.mts +3 -3
- package/dist/components/popover.d.mts +5 -5
- package/dist/components/radio-group.d.mts +3 -3
- package/dist/components/scroll-area.d.mts +3 -3
- package/dist/components/select.d.mts +9 -9
- package/dist/components/separator.d.mts +2 -2
- package/dist/components/sheet.d.mts +11 -11
- package/dist/components/shimmer-text.d.mts +3 -1
- package/dist/components/sidebar.d.mts +33 -33
- package/dist/components/sidebar.mjs +10 -10
- package/dist/components/skeleton.d.mts +1 -1
- package/dist/components/sonner.d.mts +5 -5
- package/dist/components/spinner.d.mts +2 -2
- package/dist/components/status-dot.d.mts +1 -1
- package/dist/components/switch.d.mts +2 -2
- package/dist/components/table.d.mts +10 -10
- package/dist/components/tabs.d.mts +10 -10
- package/dist/components/tag.d.mts +3 -3
- package/dist/components/task-progress.d.mts +1 -1
- package/dist/components/textarea.d.mts +3 -3
- package/dist/components/textarea.mjs +2 -2
- package/dist/components/toggle-group.d.mts +3 -3
- package/dist/components/toggle-group.mjs +3 -3
- package/dist/components/tooltip.d.mts +5 -5
- package/dist/components/typography.d.mts +4 -4
- package/dist/components/wizard.d.mts +4 -4
- package/dist/hooks/use-mobile.mjs +3 -3
- package/package.json +22 -22
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
2
|
-
import * as React from "react";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/accordion-card.d.ts
|
|
5
5
|
declare function AccordionCard({
|
|
@@ -15,17 +15,17 @@ declare function AccordionCard({
|
|
|
15
15
|
open?: boolean;
|
|
16
16
|
onOpenChange?: (nextOpen: boolean) => void;
|
|
17
17
|
disabled?: boolean;
|
|
18
|
-
} & Omit<React.ComponentProps<typeof AccordionPrimitive.Root>, "type" | "collapsible" | "defaultValue" | "value" | "onValueChange" | "disabled">):
|
|
18
|
+
} & Omit<React$1.ComponentProps<typeof AccordionPrimitive.Root>, "type" | "collapsible" | "defaultValue" | "value" | "onValueChange" | "disabled">): React$1.JSX.Element;
|
|
19
19
|
declare function AccordionCardHeader({
|
|
20
20
|
className,
|
|
21
21
|
children,
|
|
22
22
|
...props
|
|
23
|
-
}: React.ComponentProps<typeof AccordionPrimitive.Trigger>):
|
|
23
|
+
}: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): React$1.JSX.Element;
|
|
24
24
|
declare function AccordionCardTitle({
|
|
25
25
|
className,
|
|
26
26
|
children,
|
|
27
27
|
...props
|
|
28
|
-
}: React.HTMLAttributes<HTMLHeadingElement>):
|
|
28
|
+
}: React$1.HTMLAttributes<HTMLHeadingElement>): React$1.JSX.Element;
|
|
29
29
|
/**
|
|
30
30
|
* `className` is forwarded to the inner padding wrapper, not the Radix Content root.
|
|
31
31
|
* The root always applies overflow-hidden and the accordion animations.
|
|
@@ -35,6 +35,6 @@ declare function AccordionCardContent({
|
|
|
35
35
|
className,
|
|
36
36
|
children,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof AccordionPrimitive.Content>):
|
|
38
|
+
}: React$1.ComponentProps<typeof AccordionPrimitive.Content>): React$1.JSX.Element;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { AccordionCard, AccordionCardContent, AccordionCardHeader, AccordionCardTitle };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
2
|
-
import * as React from "react";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/accordion.d.ts
|
|
5
5
|
declare function Accordion({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof AccordionPrimitive.Root>):
|
|
7
|
+
}: React$1.ComponentProps<typeof AccordionPrimitive.Root>): React$1.JSX.Element;
|
|
8
8
|
declare function AccordionItem({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof AccordionPrimitive.Item>):
|
|
11
|
+
}: React$1.ComponentProps<typeof AccordionPrimitive.Item>): React$1.JSX.Element;
|
|
12
12
|
declare function AccordionTrigger({
|
|
13
13
|
className,
|
|
14
14
|
children,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof AccordionPrimitive.Trigger>):
|
|
16
|
+
}: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): React$1.JSX.Element;
|
|
17
17
|
/**
|
|
18
18
|
* `className` is forwarded to the inner padding wrapper, not the Radix Content root.
|
|
19
19
|
* The root always applies overflow-hidden and the accordion animations.
|
|
@@ -23,6 +23,6 @@ declare function AccordionContent({
|
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof AccordionPrimitive.Content>):
|
|
26
|
+
}: React$1.ComponentProps<typeof AccordionPrimitive.Content>): React$1.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
import * as React from "react";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/alert.d.ts
|
|
5
5
|
declare const alertVariants: (props?: ({
|
|
6
6
|
variant?: "default" | "destructive" | "warning" | "success" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
-
interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {}
|
|
8
|
+
interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {}
|
|
9
9
|
declare function Alert({
|
|
10
10
|
className,
|
|
11
11
|
variant,
|
|
12
12
|
...props
|
|
13
|
-
}: AlertProps):
|
|
13
|
+
}: AlertProps): React$1.JSX.Element;
|
|
14
14
|
declare function AlertTitle({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.HTMLAttributes<HTMLParagraphElement>):
|
|
17
|
+
}: React$1.HTMLAttributes<HTMLParagraphElement>): React$1.JSX.Element;
|
|
18
18
|
declare function AlertDescription({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.HTMLAttributes<HTMLDivElement>):
|
|
21
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
22
22
|
interface ConvenienceAlertProps {
|
|
23
23
|
title?: string;
|
|
24
|
-
description?: React.ReactNode;
|
|
24
|
+
description?: React$1.ReactNode;
|
|
25
25
|
className?: string;
|
|
26
26
|
}
|
|
27
27
|
declare function ErrorAlert({
|
|
28
28
|
title,
|
|
29
29
|
description,
|
|
30
30
|
className
|
|
31
|
-
}: ConvenienceAlertProps):
|
|
31
|
+
}: ConvenienceAlertProps): React$1.JSX.Element;
|
|
32
32
|
declare function WarningAlert({
|
|
33
33
|
title,
|
|
34
34
|
description,
|
|
35
35
|
className
|
|
36
|
-
}: ConvenienceAlertProps):
|
|
36
|
+
}: ConvenienceAlertProps): React$1.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Alert, AlertDescription, AlertTitle, ErrorAlert, WarningAlert };
|
|
@@ -19,6 +19,6 @@ declare function AttachmentTile({
|
|
|
19
19
|
onRemove,
|
|
20
20
|
onClick,
|
|
21
21
|
className
|
|
22
|
-
}: AttachmentTileProps): import("react
|
|
22
|
+
}: AttachmentTileProps): import("react").JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { AttachmentTile, type AttachmentTileProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
import * as React from "react";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
3
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
4
4
|
|
|
5
5
|
//#region src/components/avatar.d.ts
|
|
@@ -8,7 +8,7 @@ declare const avatarVariants: (props?: ({
|
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
9
|
type AvatarSize = NonNullable<VariantProps<typeof avatarVariants>["size"]>;
|
|
10
10
|
type AvatarStatus = "online";
|
|
11
|
-
interface AvatarProps extends React.ComponentProps<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarVariants> {
|
|
11
|
+
interface AvatarProps extends React$1.ComponentProps<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarVariants> {
|
|
12
12
|
status?: AvatarStatus;
|
|
13
13
|
}
|
|
14
14
|
declare function Avatar({
|
|
@@ -17,16 +17,16 @@ declare function Avatar({
|
|
|
17
17
|
className,
|
|
18
18
|
children,
|
|
19
19
|
...props
|
|
20
|
-
}: AvatarProps):
|
|
20
|
+
}: AvatarProps): React$1.JSX.Element;
|
|
21
21
|
declare function AvatarImage({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<typeof AvatarPrimitive.Image>):
|
|
24
|
+
}: React$1.ComponentProps<typeof AvatarPrimitive.Image>): React$1.JSX.Element;
|
|
25
25
|
declare function AvatarFallback({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<typeof AvatarPrimitive.Fallback>):
|
|
29
|
-
interface AvatarLabelGroupProps extends React.ComponentProps<"div"> {
|
|
28
|
+
}: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): React$1.JSX.Element;
|
|
29
|
+
interface AvatarLabelGroupProps extends React$1.ComponentProps<"div"> {
|
|
30
30
|
size?: "sm" | "md";
|
|
31
31
|
src?: string;
|
|
32
32
|
alt?: string;
|
|
@@ -45,6 +45,6 @@ declare function AvatarLabelGroup({
|
|
|
45
45
|
status,
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: AvatarLabelGroupProps):
|
|
48
|
+
}: AvatarLabelGroupProps): React$1.JSX.Element;
|
|
49
49
|
//#endregion
|
|
50
50
|
export { Avatar, AvatarFallback, AvatarImage, AvatarLabelGroup, type AvatarSize, type AvatarStatus };
|
|
@@ -12,7 +12,7 @@ declare function Badge({
|
|
|
12
12
|
size,
|
|
13
13
|
children,
|
|
14
14
|
...props
|
|
15
|
-
}: BadgeProps): import("react
|
|
15
|
+
}: BadgeProps): import("react").JSX.Element;
|
|
16
16
|
type BadgeVariant = NonNullable<VariantProps<typeof badgeVariants>["variant"]>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { Badge, type BadgeVariant, badgeVariants };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/breadcrumb.d.ts
|
|
4
4
|
declare function Breadcrumb({
|
|
5
5
|
className,
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<"nav">):
|
|
7
|
+
}: React$1.ComponentProps<"nav">): React$1.JSX.Element;
|
|
8
8
|
declare function BreadcrumbList({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<"ol">):
|
|
11
|
+
}: React$1.ComponentProps<"ol">): React$1.JSX.Element;
|
|
12
12
|
declare function BreadcrumbItem({
|
|
13
13
|
className,
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<"li">):
|
|
15
|
+
}: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
16
16
|
declare function BreadcrumbLink({
|
|
17
17
|
asChild,
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<"a"> & {
|
|
20
|
+
}: React$1.ComponentProps<"a"> & {
|
|
21
21
|
asChild?: boolean;
|
|
22
|
-
}):
|
|
22
|
+
}): React$1.JSX.Element;
|
|
23
23
|
declare function BreadcrumbPage({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<"span">):
|
|
26
|
+
}: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
27
27
|
declare function BreadcrumbSeparator({
|
|
28
28
|
children,
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<"li">):
|
|
31
|
+
}: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
32
32
|
declare function BreadcrumbChevron({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<"span">):
|
|
35
|
+
}: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
36
36
|
declare function BreadcrumbEllipsis({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<"span">):
|
|
39
|
+
}: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { Breadcrumb, BreadcrumbChevron, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
import * as React from "react";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/button.d.ts
|
|
5
5
|
declare const buttonVariants: (props?: ({
|
|
6
6
|
variant?: "destructive" | "secondary" | "primary" | "tertiary" | "link" | "link-muted" | "cta" | null | undefined;
|
|
7
7
|
size?: "default" | "icon" | "icon-rounded" | "pill" | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
-
interface ButtonProps extends React.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
|
|
9
|
+
interface ButtonProps extends React$1.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
|
|
10
10
|
asChild?: boolean;
|
|
11
11
|
loading?: boolean;
|
|
12
|
-
icon?: React.ReactNode;
|
|
13
|
-
iconTrailing?: React.ReactNode;
|
|
12
|
+
icon?: React$1.ReactNode;
|
|
13
|
+
iconTrailing?: React$1.ReactNode;
|
|
14
14
|
}
|
|
15
15
|
declare function Button({
|
|
16
16
|
className,
|
|
@@ -24,6 +24,6 @@ declare function Button({
|
|
|
24
24
|
disabled,
|
|
25
25
|
children,
|
|
26
26
|
...props
|
|
27
|
-
}: ButtonProps):
|
|
27
|
+
}: ButtonProps): React$1.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { Button, type ButtonProps, buttonVariants };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/card.d.ts
|
|
4
4
|
declare function Card({
|
|
5
5
|
className,
|
|
6
6
|
hoverable,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<"div"> & {
|
|
8
|
+
}: React$1.ComponentProps<"div"> & {
|
|
9
9
|
hoverable?: boolean;
|
|
10
|
-
}):
|
|
10
|
+
}): React$1.JSX.Element;
|
|
11
11
|
declare function CardHeader({
|
|
12
12
|
className,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<"div">):
|
|
14
|
+
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
15
15
|
declare function CardTitle({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<"div">):
|
|
18
|
+
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
19
19
|
declare function CardDescription({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<"div">):
|
|
22
|
+
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
23
23
|
declare function CardAction({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<"div">):
|
|
26
|
+
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
27
27
|
declare function CardContent({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<"div">):
|
|
30
|
+
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
31
31
|
declare function CardFooter({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<"div">):
|
|
34
|
+
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
3
3
|
|
|
4
4
|
//#region src/components/checkbox.d.ts
|
|
5
5
|
declare function Checkbox({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof CheckboxPrimitive.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): React$1.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Checkbox };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
3
3
|
|
|
4
4
|
//#region src/components/collapsible.d.ts
|
|
5
5
|
declare function Collapsible({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof CollapsiblePrimitive.Root>):
|
|
7
|
+
}: React$1.ComponentProps<typeof CollapsiblePrimitive.Root>): React$1.JSX.Element;
|
|
8
8
|
declare function CollapsibleTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>):
|
|
10
|
+
}: React$1.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): React$1.JSX.Element;
|
|
11
11
|
declare function CollapsibleContent({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>):
|
|
13
|
+
}: React$1.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): React$1.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
@@ -26,7 +26,7 @@ interface ComboboxMultipleProps extends ComboboxBaseProps {
|
|
|
26
26
|
onValueChange?: (value: string[]) => void;
|
|
27
27
|
}
|
|
28
28
|
type ComboboxProps = ComboboxSingleProps | ComboboxMultipleProps;
|
|
29
|
-
declare function Combobox(props: ComboboxProps): import("react
|
|
29
|
+
declare function Combobox(props: ComboboxProps): import("react").JSX.Element;
|
|
30
30
|
interface ComboboxTriggerProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size">, VariantProps<typeof selectTriggerVariants> {
|
|
31
31
|
placeholder?: string;
|
|
32
32
|
}
|
|
@@ -36,7 +36,7 @@ declare function ComboboxTrigger({
|
|
|
36
36
|
placeholder,
|
|
37
37
|
children,
|
|
38
38
|
...props
|
|
39
|
-
}: ComboboxTriggerProps): import("react
|
|
39
|
+
}: ComboboxTriggerProps): import("react").JSX.Element;
|
|
40
40
|
interface ComboboxContentProps extends React.ComponentProps<typeof PopoverContent> {
|
|
41
41
|
className?: string;
|
|
42
42
|
children?: ReactNode;
|
|
@@ -47,27 +47,27 @@ declare function ComboboxContent({
|
|
|
47
47
|
children,
|
|
48
48
|
filter,
|
|
49
49
|
...props
|
|
50
|
-
}: ComboboxContentProps): import("react
|
|
50
|
+
}: ComboboxContentProps): import("react").JSX.Element;
|
|
51
51
|
declare function ComboboxSearch({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<typeof Command.Input>): import("react
|
|
54
|
+
}: React.ComponentProps<typeof Command.Input>): import("react").JSX.Element;
|
|
55
55
|
declare function ComboboxList({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<typeof Command.List>): import("react
|
|
58
|
+
}: React.ComponentProps<typeof Command.List>): import("react").JSX.Element;
|
|
59
59
|
declare function ComboboxEmpty({
|
|
60
60
|
className,
|
|
61
61
|
...props
|
|
62
|
-
}: React.ComponentProps<typeof Command.Empty>): import("react
|
|
62
|
+
}: React.ComponentProps<typeof Command.Empty>): import("react").JSX.Element;
|
|
63
63
|
declare function ComboboxGroup({
|
|
64
64
|
className,
|
|
65
65
|
...props
|
|
66
|
-
}: React.ComponentProps<typeof Command.Group>): import("react
|
|
66
|
+
}: React.ComponentProps<typeof Command.Group>): import("react").JSX.Element;
|
|
67
67
|
declare function ComboboxSeparator({
|
|
68
68
|
className,
|
|
69
69
|
...props
|
|
70
|
-
}: React.ComponentProps<typeof Command.Separator>): import("react
|
|
70
|
+
}: React.ComponentProps<typeof Command.Separator>): import("react").JSX.Element;
|
|
71
71
|
interface ComboboxItemProps extends Omit<React.ComponentProps<typeof Command.Item>, "onSelect"> {
|
|
72
72
|
/** The value stored when this item is selected */
|
|
73
73
|
itemValue: string;
|
|
@@ -77,11 +77,11 @@ declare function ComboboxItem({
|
|
|
77
77
|
children,
|
|
78
78
|
itemValue,
|
|
79
79
|
...props
|
|
80
|
-
}: ComboboxItemProps): import("react
|
|
80
|
+
}: ComboboxItemProps): import("react").JSX.Element;
|
|
81
81
|
declare function ComboboxItemText({
|
|
82
82
|
className,
|
|
83
83
|
children,
|
|
84
84
|
...props
|
|
85
|
-
}: React.HTMLAttributes<HTMLSpanElement>): import("react
|
|
85
|
+
}: React.HTMLAttributes<HTMLSpanElement>): import("react").JSX.Element;
|
|
86
86
|
//#endregion
|
|
87
87
|
export { Combobox, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxItem, ComboboxItemText, ComboboxList, ComboboxSearch, ComboboxSeparator, ComboboxTrigger };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import { Command as Command$1 } from "cmdk";
|
|
3
3
|
|
|
4
4
|
//#region src/components/command.d.ts
|
|
5
5
|
declare function Command({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Command$1>):
|
|
8
|
+
}: React$1.ComponentProps<typeof Command$1>): React$1.JSX.Element;
|
|
9
9
|
declare function CommandInput({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof Command$1.Input>):
|
|
12
|
+
}: React$1.ComponentProps<typeof Command$1.Input>): React$1.JSX.Element;
|
|
13
13
|
declare function CommandList({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Command$1.List>):
|
|
16
|
+
}: React$1.ComponentProps<typeof Command$1.List>): React$1.JSX.Element;
|
|
17
17
|
declare function CommandEmpty({
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof Command$1.Empty>):
|
|
19
|
+
}: React$1.ComponentProps<typeof Command$1.Empty>): React$1.JSX.Element;
|
|
20
20
|
declare function CommandGroup({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: React.ComponentProps<typeof Command$1.Group>):
|
|
23
|
+
}: React$1.ComponentProps<typeof Command$1.Group>): React$1.JSX.Element;
|
|
24
24
|
declare function CommandSeparator({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof Command$1.Separator>):
|
|
27
|
+
}: React$1.ComponentProps<typeof Command$1.Separator>): React$1.JSX.Element;
|
|
28
28
|
declare function CommandItem({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Command$1.Item>):
|
|
31
|
+
}: React$1.ComponentProps<typeof Command$1.Item>): React$1.JSX.Element;
|
|
32
32
|
declare function CommandShortcut({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<"span">):
|
|
35
|
+
}: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
@@ -10,12 +10,12 @@ declare function Copyable({
|
|
|
10
10
|
content,
|
|
11
11
|
children,
|
|
12
12
|
className
|
|
13
|
-
}: CopyableProps): import("react
|
|
13
|
+
}: CopyableProps): import("react").JSX.Element;
|
|
14
14
|
interface CopyableUrlProps {
|
|
15
15
|
url: URL;
|
|
16
16
|
}
|
|
17
17
|
declare function CopyableUrl({
|
|
18
18
|
url
|
|
19
|
-
}: CopyableUrlProps): import("react
|
|
19
|
+
}: CopyableUrlProps): import("react").JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Copyable, type CopyableProps, CopyableUrl, type CopyableUrlProps };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/description-list.d.ts
|
|
4
4
|
declare function DescriptionList({
|
|
5
5
|
className,
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<"dl">):
|
|
7
|
+
}: React$1.ComponentProps<"dl">): React$1.JSX.Element;
|
|
8
8
|
declare function DescriptionItem({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<"div">):
|
|
11
|
+
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
12
12
|
declare function DescriptionTitle({
|
|
13
13
|
className,
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<"dt">):
|
|
15
|
+
}: React$1.ComponentProps<"dt">): React$1.JSX.Element;
|
|
16
16
|
declare function DescriptionValue({
|
|
17
17
|
className,
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<"dd">):
|
|
19
|
+
}: React$1.ComponentProps<"dd">): React$1.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { DescriptionItem, DescriptionList, DescriptionTitle, DescriptionValue };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { ButtonProps } from "./button.mjs";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as React from "react";
|
|
3
|
+
import * as React$1 from "react";
|
|
4
4
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
5
5
|
|
|
6
6
|
//#region src/components/dialog.d.ts
|
|
7
7
|
declare function Dialog({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof DialogPrimitive.Root>):
|
|
9
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Root>): React$1.JSX.Element;
|
|
10
10
|
declare function DialogTrigger({
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof DialogPrimitive.Trigger>):
|
|
12
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): React$1.JSX.Element;
|
|
13
13
|
declare function DialogPortal({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<typeof DialogPrimitive.Portal>):
|
|
15
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Portal>): React$1.JSX.Element;
|
|
16
16
|
declare function DialogOverlay({
|
|
17
17
|
className,
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof DialogPrimitive.Overlay>):
|
|
19
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): React$1.JSX.Element;
|
|
20
20
|
declare const dialogContentVariants: (props?: ({
|
|
21
21
|
size?: "sm" | "lg" | null | undefined;
|
|
22
22
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
23
|
-
interface DialogContentProps extends React.ComponentProps<typeof DialogPrimitive.Content>, VariantProps<typeof dialogContentVariants> {
|
|
23
|
+
interface DialogContentProps extends React$1.ComponentProps<typeof DialogPrimitive.Content>, VariantProps<typeof dialogContentVariants> {
|
|
24
24
|
showCloseButton?: boolean;
|
|
25
25
|
}
|
|
26
26
|
declare function DialogContent({
|
|
@@ -29,31 +29,31 @@ declare function DialogContent({
|
|
|
29
29
|
size,
|
|
30
30
|
showCloseButton,
|
|
31
31
|
...props
|
|
32
|
-
}: DialogContentProps):
|
|
32
|
+
}: DialogContentProps): React$1.JSX.Element;
|
|
33
33
|
declare function DialogHeader({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<"div">):
|
|
36
|
+
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
37
37
|
declare const dialogFooterVariants: (props?: ({
|
|
38
38
|
layout?: "horizontal" | "vertical" | null | undefined;
|
|
39
39
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
40
|
-
interface DialogFooterProps extends React.ComponentProps<"div">, VariantProps<typeof dialogFooterVariants> {}
|
|
40
|
+
interface DialogFooterProps extends React$1.ComponentProps<"div">, VariantProps<typeof dialogFooterVariants> {}
|
|
41
41
|
declare function DialogFooter({
|
|
42
42
|
className,
|
|
43
43
|
layout,
|
|
44
44
|
...props
|
|
45
|
-
}: DialogFooterProps):
|
|
45
|
+
}: DialogFooterProps): React$1.JSX.Element;
|
|
46
46
|
declare function DialogTitle({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<typeof DialogPrimitive.Title>):
|
|
49
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Title>): React$1.JSX.Element;
|
|
50
50
|
declare function DialogClose({
|
|
51
51
|
children,
|
|
52
52
|
...props
|
|
53
|
-
}: Omit<ButtonProps, "variant" | "asChild">):
|
|
53
|
+
}: Omit<ButtonProps, "variant" | "asChild">): React$1.JSX.Element;
|
|
54
54
|
declare function DialogDescription({
|
|
55
55
|
className,
|
|
56
56
|
...props
|
|
57
|
-
}: React.ComponentProps<typeof DialogPrimitive.Description>):
|
|
57
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Description>): React$1.JSX.Element;
|
|
58
58
|
//#endregion
|
|
59
59
|
export { Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, dialogContentVariants, dialogFooterVariants };
|