@epilot/volt-ui 1.1.4 → 1.1.5
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/tooltip/tooltip.d.ts +4 -2
- package/dist/index.cjs.js +5 -5
- package/dist/index.es.js +23 -11
- package/dist/style.css +1 -1
- package/package.json +3 -2
|
@@ -2,10 +2,12 @@ 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
4
|
declare const TooltipPortal: ({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Portal>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
|
|
5
|
+
type TooltipProps = React.ComponentProps<typeof TooltipPrimitive.Root>;
|
|
6
|
+
declare const Tooltip: ({ ...props }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
declare const TooltipTrigger: ({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
type TooltipContentProps = React.ComponentProps<typeof TooltipPrimitive.Content> & {
|
|
8
9
|
hideArrow?: boolean;
|
|
10
|
+
variant?: "default" | "destructive";
|
|
9
11
|
};
|
|
10
|
-
declare const TooltipContent: ({ className, hideArrow, children, ...props }: TooltipContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare const TooltipContent: ({ className, hideArrow, variant, children, ...props }: TooltipContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
13
|
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider, TooltipPortal, };
|