@epilot/volt-ui 1.0.3-alpha.4 → 1.0.3
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/button/button.d.ts +2 -2
- package/dist/components/callout/callout.d.ts +2 -3
- package/dist/components/field/field.d.ts +1 -1
- package/dist/components/tooltip/tooltip.d.ts +1 -2
- package/dist/index.cjs.js +14 -20
- package/dist/index.d.ts +0 -3
- package/dist/index.es.js +3707 -4805
- package/dist/preflight.css +273 -1
- package/dist/style.css +1 -1
- package/package.json +1 -3
- package/dist/components/alert-dialog/alert-dialog.d.ts +0 -18
- package/dist/components/datepicker/datepicker.d.ts +0 -1
- package/dist/components/text/text.d.ts +0 -14
- package/dist/components/toast/toast.d.ts +0 -7
|
@@ -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" |
|
|
5
|
+
size?: "xs" | "sm" | "base" | "lg" | 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" |
|
|
14
|
+
size?: "xs" | "sm" | "base" | "lg" | null | undefined;
|
|
15
15
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
|
|
16
16
|
asChild?: boolean;
|
|
17
17
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
3
|
declare const calloutVariants: (props?: ({
|
|
4
|
-
|
|
4
|
+
type?: "destructive" | "gray" | "info" | "success" | "warning" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
-
declare const Callout: ({ className,
|
|
6
|
+
declare const Callout: ({ className, type, customIcon, ...props }: React.ComponentProps<"div"> & VariantProps<typeof calloutVariants> & {
|
|
7
7
|
customIcon?: React.ReactNode;
|
|
8
|
-
hideIcon?: boolean;
|
|
9
8
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
declare const CalloutTitle: ({ className, ...props }: React.ComponentProps<"div">) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
declare const CalloutDescription: ({ className, ...props }: React.ComponentProps<"div">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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" |
|
|
11
|
+
variant?: "destructive" | "default" | "highlight" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
13
|
type FieldProps = React.ComponentProps<"div"> & {
|
|
14
14
|
children: React.ReactNode;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
3
3
|
declare const TooltipProvider: ({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare const TooltipPortal: ({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Portal>) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
declare const Tooltip: ({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
declare const TooltipTrigger: ({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>) => import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
type TooltipContentProps = React.ComponentProps<typeof TooltipPrimitive.Content> & {
|
|
8
7
|
hideArrow?: boolean;
|
|
9
8
|
};
|
|
10
9
|
declare const TooltipContent: ({ className, hideArrow, children, ...props }: TooltipContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider
|
|
10
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|