@epilot/volt-ui 1.0.3-alpha.3 → 1.0.3-alpha.4

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.
@@ -9,6 +9,10 @@ declare const AlertDialogHeader: ({ className, ...props }: React.ComponentProps<
9
9
  declare const AlertDialogFooter: ({ className, ...props }: React.ComponentProps<"div">) => import("react/jsx-runtime").JSX.Element;
10
10
  declare const AlertDialogTitle: ({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>) => import("react/jsx-runtime").JSX.Element;
11
11
  declare const AlertDialogDescription: ({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>) => import("react/jsx-runtime").JSX.Element;
12
- declare const AlertDialogAction: ({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action>) => import("react/jsx-runtime").JSX.Element;
13
- declare const AlertDialogCancel: ({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>) => import("react/jsx-runtime").JSX.Element;
12
+ declare const AlertDialogAction: ({ className, variant, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action> & {
13
+ variant?: "primary" | "secondary" | "tertiary" | "destructive";
14
+ }) => import("react/jsx-runtime").JSX.Element;
15
+ declare const AlertDialogCancel: ({ className, variant, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel> & {
16
+ variant?: "primary" | "secondary" | "tertiary" | "destructive";
17
+ }) => import("react/jsx-runtime").JSX.Element;
14
18
  export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
@@ -2,7 +2,7 @@ import type { ComponentPropsWithoutRef } from "react";
2
2
  import { type VariantProps } from "class-variance-authority";
3
3
  export declare const buttonVariants: (props?: ({
4
4
  variant?: "primary" | "secondary" | "tertiary" | "destructive" | null | undefined;
5
- size?: "xs" | "sm" | "base" | "lg" | null | undefined;
5
+ size?: "xs" | "sm" | "base" | "lg" | "icon" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  export type ButtonVariant = VariantProps<typeof buttonVariants>["variant"];
8
8
  export type ButtonSize = VariantProps<typeof buttonVariants>["size"];
@@ -11,7 +11,7 @@ export type ButtonProps = ComponentPropsWithoutRef<"button"> & VariantProps<type
11
11
  };
12
12
  export declare const Button: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
13
13
  variant?: "primary" | "secondary" | "tertiary" | "destructive" | null | undefined;
14
- size?: "xs" | "sm" | "base" | "lg" | null | undefined;
14
+ size?: "xs" | "sm" | "base" | "lg" | "icon" | null | undefined;
15
15
  } & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
16
16
  asChild?: boolean;
17
17
  } & import("react").RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1 @@
1
+ export {};
@@ -8,7 +8,7 @@ declare const useFieldContext: () => {
8
8
  declare const FieldGroup: ({ className, ...props }: React.ComponentProps<"div">) => import("react/jsx-runtime").JSX.Element;
9
9
  declare const FieldSet: ({ className, ...props }: React.ComponentProps<"fieldset">) => import("react/jsx-runtime").JSX.Element;
10
10
  declare const fieldVariants: (props?: ({
11
- variant?: "destructive" | "default" | "highlight" | null | undefined;
11
+ variant?: "destructive" | "default" | "highlight" | "readonly" | null | undefined;
12
12
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
13
13
  type FieldProps = React.ComponentProps<"div"> & {
14
14
  children: React.ReactNode;
@@ -0,0 +1,14 @@
1
+ import type { ComponentPropsWithoutRef } from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ export declare const textVariants: (props?: ({
4
+ variant?: "title3" | "title2" | "title1" | "heading3" | "heading2" | "heading1" | "body2" | "body1" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export type TextVariant = VariantProps<typeof textVariants>["variant"];
7
+ export type TextProps = ComponentPropsWithoutRef<"span"> & VariantProps<typeof textVariants> & {
8
+ asChild?: boolean;
9
+ };
10
+ export declare const Text: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
11
+ variant?: "title3" | "title2" | "title1" | "heading3" | "heading2" | "heading1" | "body2" | "body1" | null | undefined;
12
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
13
+ asChild?: boolean;
14
+ } & import("react").RefAttributes<HTMLSpanElement>>;
@@ -0,0 +1,7 @@
1
+ import * as Sonner from "sonner";
2
+ type Props = Sonner.ToasterProps & {
3
+ theme?: "light" | "dark";
4
+ };
5
+ declare const Toaster: ({ theme, toastOptions, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export { toast } from "sonner";
7
+ export { Toaster };