@epilot/volt-ui 1.1.14 → 1.1.16
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
3
|
-
import { ButtonSize } from "../button/button";
|
|
3
|
+
import { ButtonSize, ButtonVariant } from "../button/button";
|
|
4
4
|
declare const AlertDialog: ({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare const AlertDialogTrigger: ({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
declare const AlertDialogPortal: ({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,11 +11,13 @@ declare const AlertDialogFooter: ({ className, ...props }: React.ComponentProps<
|
|
|
11
11
|
declare const AlertDialogTitle: ({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
declare const AlertDialogDescription: ({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
declare const AlertDialogAction: ({ className, variant, size, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action> & {
|
|
14
|
-
variant?:
|
|
14
|
+
variant?: ButtonVariant;
|
|
15
15
|
size?: ButtonSize;
|
|
16
|
+
destructive?: boolean;
|
|
16
17
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
17
18
|
declare const AlertDialogCancel: ({ className, variant, size, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel> & {
|
|
18
|
-
variant?:
|
|
19
|
+
variant?: ButtonVariant;
|
|
19
20
|
size?: ButtonSize;
|
|
21
|
+
destructive?: boolean;
|
|
20
22
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
21
23
|
export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { ComponentPropsWithoutRef } from "react";
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
3
|
export declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "primary" | "secondary" | "tertiary" |
|
|
4
|
+
variant?: "primary" | "secondary" | "tertiary" | null | undefined;
|
|
5
|
+
destructive?: boolean | null | undefined;
|
|
5
6
|
size?: "xs" | "sm" | "base" | "lg" | "icon-xs" | "icon-sm" | "icon" | "icon-lg" | null | undefined;
|
|
6
7
|
shape?: "normal" | "rounded" | null | undefined;
|
|
7
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -11,7 +12,8 @@ export type ButtonProps = ComponentPropsWithoutRef<"button"> & VariantProps<type
|
|
|
11
12
|
asChild?: boolean;
|
|
12
13
|
};
|
|
13
14
|
export declare const Button: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
14
|
-
variant?: "primary" | "secondary" | "tertiary" |
|
|
15
|
+
variant?: "primary" | "secondary" | "tertiary" | null | undefined;
|
|
16
|
+
destructive?: boolean | null | undefined;
|
|
15
17
|
size?: "xs" | "sm" | "base" | "lg" | "icon-xs" | "icon-sm" | "icon" | "icon-lg" | null | undefined;
|
|
16
18
|
shape?: "normal" | "rounded" | null | undefined;
|
|
17
19
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
|
|
@@ -3,7 +3,7 @@ import * as SelectPrimitive from "@radix-ui/react-select";
|
|
|
3
3
|
import { Button } from "../button/button";
|
|
4
4
|
declare const Select: ({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare const SelectGroup: ({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare const SelectValue: ({
|
|
6
|
+
declare const SelectValue: ({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
8
8
|
declare const SelectTriggerClear: {
|
|
9
9
|
({ className, onClick, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
|