@epilot/volt-ui 1.0.3-alpha.3 → 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/callout/callout.d.ts +2 -3
- package/dist/components/tooltip/tooltip.d.ts +1 -2
- package/dist/index.cjs.js +17 -23
- package/dist/index.d.ts +0 -1
- package/dist/index.es.js +2327 -2573
- package/dist/preflight.css +273 -1
- package/dist/style.css +1 -1
- package/package.json +1 -2
- package/dist/components/alert-dialog/alert-dialog.d.ts +0 -14
|
@@ -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;
|
|
@@ -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 };
|