@launchpad-ui/tooltip
Advanced tools
Comparing version 0.6.2 to 0.6.3
@@ -6,6 +6,6 @@ import './style.css'; | ||
import { jsx } from "react/jsx-runtime"; | ||
const Tooltip$1 = "_Tooltip_13i0v_1"; | ||
const Tooltip$1 = "_Tooltip_1q03t_1"; | ||
const styles = { | ||
Tooltip: Tooltip$1, | ||
"Popover-content": "_Popover-content_13i0v_5" | ||
"Tooltip-popover-content": "_Tooltip-popover-content_1q03t_5" | ||
}; | ||
@@ -18,2 +18,3 @@ const TooltipBase = ({ | ||
"data-test-id": testId = "tooltip", | ||
popoverContentClassName, | ||
...props | ||
@@ -26,3 +27,3 @@ }) => { | ||
popoverClassName: cx(styles.Tooltip, className), | ||
popoverContentClassName: styles["Popover-content"], | ||
popoverContentClassName: cx(popoverContentClassName, styles["Tooltip-popover-content"]), | ||
targetClassName, | ||
@@ -29,0 +30,0 @@ "data-test-id": testId, |
@@ -8,6 +8,6 @@ require('./style.css'); | ||
const jsxRuntime = require("react/jsx-runtime"); | ||
const Tooltip$1 = "_Tooltip_13i0v_1"; | ||
const Tooltip$1 = "_Tooltip_1q03t_1"; | ||
const styles = { | ||
Tooltip: Tooltip$1, | ||
"Popover-content": "_Popover-content_13i0v_5" | ||
"Tooltip-popover-content": "_Tooltip-popover-content_1q03t_5" | ||
}; | ||
@@ -20,2 +20,3 @@ const TooltipBase = ({ | ||
"data-test-id": testId = "tooltip", | ||
popoverContentClassName, | ||
...props | ||
@@ -28,3 +29,3 @@ }) => { | ||
popoverClassName: classix.cx(styles.Tooltip, className), | ||
popoverContentClassName: styles["Popover-content"], | ||
popoverContentClassName: classix.cx(popoverContentClassName, styles["Tooltip-popover-content"]), | ||
targetClassName, | ||
@@ -31,0 +32,0 @@ "data-test-id": testId, |
@@ -7,3 +7,3 @@ import type { PopoverProps } from '@launchpad-ui/popover'; | ||
}; | ||
declare const TooltipBase: ({ className, children, targetClassName, hoverCloseDelay, "data-test-id": testId, ...props }: TooltipProps) => JSX.Element; | ||
declare const TooltipBase: ({ className, children, targetClassName, hoverCloseDelay, "data-test-id": testId, popoverContentClassName, ...props }: TooltipProps) => JSX.Element; | ||
declare const Tooltip: import("react").ForwardRefExoticComponent<Omit<PopoverProps, "children"> & { | ||
@@ -10,0 +10,0 @@ className?: string | undefined; |
{ | ||
"name": "@launchpad-ui/tooltip", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"status": "beta", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
10318
115