@idds/react 1.2.3 → 1.2.4
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/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +11 -10
- package/dist/index.umd.js +1 -1
- package/dist/types/components/Tooltip.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -5967,20 +5967,21 @@ function Tooltip({
|
|
|
5967
5967
|
setIsClosed(false);
|
|
5968
5968
|
}
|
|
5969
5969
|
};
|
|
5970
|
-
const tooltipClasses = clsx(
|
|
5971
|
-
"ina-tooltip
|
|
5972
|
-
});
|
|
5973
|
-
const contentClasses = clsx(
|
|
5974
|
-
"ina-tooltip__content",
|
|
5970
|
+
const tooltipClasses = clsx(
|
|
5971
|
+
"ina-tooltip",
|
|
5975
5972
|
`ina-tooltip--placement-${placement}`,
|
|
5973
|
+
className,
|
|
5976
5974
|
{
|
|
5977
|
-
"ina-
|
|
5978
|
-
"ina-tooltip--variant-basic": variant === "basic",
|
|
5979
|
-
"ina-tooltip--variant-light": variant === "light",
|
|
5980
|
-
"ina-tooltip--variant-dark": variant === "dark",
|
|
5981
|
-
"ina-tooltip--variant-media": variant === "media"
|
|
5975
|
+
"ina-tooltip--closed": isClosed
|
|
5982
5976
|
}
|
|
5983
5977
|
);
|
|
5978
|
+
const contentClasses = clsx("ina-tooltip__content", {
|
|
5979
|
+
"ina-tooltip__content--show-arrow": showArrow,
|
|
5980
|
+
"ina-tooltip--variant-basic": variant === "basic",
|
|
5981
|
+
"ina-tooltip--variant-light": variant === "light",
|
|
5982
|
+
"ina-tooltip--variant-dark": variant === "dark",
|
|
5983
|
+
"ina-tooltip--variant-media": variant === "media"
|
|
5984
|
+
});
|
|
5984
5985
|
const renderContent = () => {
|
|
5985
5986
|
if (customContent && content) {
|
|
5986
5987
|
return content;
|