@launchpad-ui/tooltip
Advanced tools
Comparing version 0.8.7 to 0.8.8
@@ -20,18 +20,18 @@ import './style.css'; | ||
}) => { | ||
return /* @__PURE__ */ jsx(Popover, { | ||
enforceFocus: false, | ||
interactionKind: "hover-or-focus", | ||
hoverCloseDelay, | ||
popoverClassName: cx(styles.Tooltip, className), | ||
popoverContentClassName: cx(popoverContentClassName, styles["Tooltip-popover-content"]), | ||
targetClassName, | ||
"data-test-id": testId, | ||
...props, | ||
children | ||
}); | ||
return /* @__PURE__ */ jsx( | ||
Popover, | ||
{ | ||
enforceFocus: false, | ||
interactionKind: "hover-or-focus", | ||
hoverCloseDelay, | ||
popoverClassName: cx(styles.Tooltip, className), | ||
popoverContentClassName: cx(popoverContentClassName, styles["Tooltip-popover-content"]), | ||
targetClassName, | ||
"data-test-id": testId, | ||
...props, | ||
children | ||
} | ||
); | ||
}; | ||
const Tooltip = /* @__PURE__ */ forwardRef((props, ref) => /* @__PURE__ */ jsx(TooltipBase, { | ||
...props, | ||
targetElementRef: ref | ||
})); | ||
const Tooltip = /* @__PURE__ */ forwardRef((props, ref) => /* @__PURE__ */ jsx(TooltipBase, { ...props, targetElementRef: ref })); | ||
Tooltip.displayName = "Tooltip"; | ||
@@ -38,0 +38,0 @@ export { |
@@ -22,18 +22,18 @@ require('./style.css'); | ||
}) => { | ||
return /* @__PURE__ */ jsxRuntime.jsx(popover.Popover, { | ||
enforceFocus: false, | ||
interactionKind: "hover-or-focus", | ||
hoverCloseDelay, | ||
popoverClassName: classix.cx(styles.Tooltip, className), | ||
popoverContentClassName: classix.cx(popoverContentClassName, styles["Tooltip-popover-content"]), | ||
targetClassName, | ||
"data-test-id": testId, | ||
...props, | ||
children | ||
}); | ||
return /* @__PURE__ */ jsxRuntime.jsx( | ||
popover.Popover, | ||
{ | ||
enforceFocus: false, | ||
interactionKind: "hover-or-focus", | ||
hoverCloseDelay, | ||
popoverClassName: classix.cx(styles.Tooltip, className), | ||
popoverContentClassName: classix.cx(popoverContentClassName, styles["Tooltip-popover-content"]), | ||
targetClassName, | ||
"data-test-id": testId, | ||
...props, | ||
children | ||
} | ||
); | ||
}; | ||
const Tooltip = /* @__PURE__ */ react.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(TooltipBase, { | ||
...props, | ||
targetElementRef: ref | ||
})); | ||
const Tooltip = /* @__PURE__ */ react.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(TooltipBase, { ...props, targetElementRef: ref })); | ||
Tooltip.displayName = "Tooltip"; | ||
@@ -40,0 +40,0 @@ exports.Tooltip = Tooltip; |
{ | ||
"name": "@launchpad-ui/tooltip", | ||
"version": "0.8.7", | ||
"version": "0.8.8", | ||
"status": "beta", | ||
@@ -30,3 +30,3 @@ "publishConfig": { | ||
"classix": "2.1.17", | ||
"@launchpad-ui/popover": "~0.11.7", | ||
"@launchpad-ui/popover": "~0.11.8", | ||
"@launchpad-ui/tokens": "~0.9.2" | ||
@@ -43,3 +43,3 @@ }, | ||
"scripts": { | ||
"build": "vite build -c ../../vite.config.ts && tsc --project tsconfig.build.json", | ||
"build": "vite build -c ../../vite.config.mts && tsc --project tsconfig.build.json", | ||
"clean": "rm -rf dist", | ||
@@ -46,0 +46,0 @@ "lint": "eslint '**/*.{ts,tsx,js}' && stylelint '**/*.css' --ignore-path ../../.stylelintignore", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11188