@epilot/volt-ui 1.0.0-alpha.13 → 1.0.0-alpha.14

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.
@@ -2,7 +2,7 @@ import type { ComponentPropsWithoutRef } from "react";
2
2
  import { type VariantProps } from "class-variance-authority";
3
3
  declare const buttonVariants: (props?: ({
4
4
  variant?: "primary" | "secondary" | "tertiary" | "destructive" | null | undefined;
5
- size?: "sm" | "base" | "large" | null | undefined;
5
+ size?: "sm" | "base" | "large" | "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?: "sm" | "base" | "large" | null | undefined;
14
+ size?: "sm" | "base" | "large" | "icon" | null | undefined;
15
15
  } & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
16
16
  asChild?: boolean;
17
17
  } & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,4 +1,10 @@
1
1
  import * as React from "react";
2
2
  import * as LabelPrimitive from "@radix-ui/react-label";
3
- declare const Label: ({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
3
+ import { VariantProps } from "class-variance-authority";
4
+ declare const labelVariants: (props?: ({
5
+ variant?: "primary" | "destructive" | null | undefined;
6
+ size?: "sm" | "base" | "large" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ type LabelProps = React.ComponentProps<typeof LabelPrimitive.Root> & VariantProps<typeof labelVariants>;
9
+ declare const Label: ({ variant, size, className, ...props }: LabelProps) => import("react/jsx-runtime").JSX.Element;
4
10
  export { Label };
@@ -1,5 +1,13 @@
1
1
  import * as React from "react";
2
2
  import * as SwitchPrimitive from "@radix-ui/react-switch";
3
- type SwitchProps = React.ComponentProps<typeof SwitchPrimitive.Root>;
4
- declare function Switch({ className, ...props }: SwitchProps): import("react/jsx-runtime").JSX.Element;
3
+ import { VariantProps } from "class-variance-authority";
4
+ declare const switchVariants: (props?: ({
5
+ variant?: "primary" | "destructive" | null | undefined;
6
+ size?: "sm" | "base" | "large" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ type SwitchProps = React.ComponentProps<typeof SwitchPrimitive.Root> & {
9
+ variant?: VariantProps<typeof switchVariants>["variant"];
10
+ size?: VariantProps<typeof switchVariants>["size"];
11
+ };
12
+ declare function Switch({ variant, size, className, ...props }: SwitchProps): import("react/jsx-runtime").JSX.Element;
5
13
  export { Switch };
@@ -1,7 +1,10 @@
1
1
  import * as React from "react";
2
2
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
3
- declare const TooltipProvider: ({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>) => import("react/jsx-runtime").JSX.Element;
3
+ declare const TooltipProvider: ({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>) => import("react/jsx-runtime").JSX.Element;
4
4
  declare const Tooltip: ({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
5
5
  declare const TooltipTrigger: ({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>) => import("react/jsx-runtime").JSX.Element;
6
- declare const TooltipContent: ({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>) => import("react/jsx-runtime").JSX.Element;
6
+ type TooltipContentProps = React.ComponentProps<typeof TooltipPrimitive.Content> & {
7
+ hideArrow?: boolean;
8
+ };
9
+ declare const TooltipContent: ({ className, sideOffset, hideArrow, children, ...props }: TooltipContentProps) => import("react/jsx-runtime").JSX.Element;
7
10
  export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };