@highlight-ui/tooltip
Advanced tools
Comparing version 4.2.3 to 4.3.0
@@ -10,2 +10,3 @@ 'use strict'; | ||
var utilsPortalManager = require('@highlight-ui/utils-portal-manager'); | ||
var typography = require('@highlight-ui/typography'); | ||
function _interopDefaultLegacy(e) { | ||
@@ -53,3 +54,3 @@ return e && typeof e === 'object' && 'default' in e ? e : { | ||
"offsetVarName": "--tooltip-offset", | ||
"tooltip": "Tooltip-module__wN2gX2dn__v4-2-3" | ||
"tooltip": "Tooltip-module__wN2gX2dn__v4-3-0" | ||
}; | ||
@@ -125,5 +126,7 @@ var Trigger = React__default["default"].forwardRef(function (_a, ref) { | ||
style: floatStyles | ||
})), React__default["default"].createElement("div", null, content)))) : React__default["default"].createElement(React__default["default"].Fragment, null, children); | ||
})), React__default["default"].createElement(typography.Body, { | ||
as: "p" | ||
}, content)))) : React__default["default"].createElement(React__default["default"].Fragment, null, children); | ||
}; | ||
exports.Tooltip = Tooltip; | ||
//# sourceMappingURL=index.js.map |
@@ -5,2 +5,3 @@ import React, { cloneElement } from 'react'; | ||
import { GroupedPortal } from '@highlight-ui/utils-portal-manager'; | ||
import { Body } from '@highlight-ui/typography'; | ||
@@ -42,3 +43,3 @@ /****************************************************************************** | ||
"offsetVarName": "--tooltip-offset", | ||
"tooltip": "Tooltip-module__wN2gX2dn__v4-2-3" | ||
"tooltip": "Tooltip-module__wN2gX2dn__v4-3-0" | ||
}; | ||
@@ -114,5 +115,7 @@ var Trigger = /*#__PURE__*/React.forwardRef(function (_a, ref) { | ||
style: floatStyles | ||
})), /*#__PURE__*/React.createElement("div", null, content)))) : /*#__PURE__*/React.createElement(React.Fragment, null, children); | ||
})), /*#__PURE__*/React.createElement(Body, { | ||
as: "p" | ||
}, content)))) : /*#__PURE__*/React.createElement(React.Fragment, null, children); | ||
}; | ||
export { Tooltip }; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@highlight-ui/tooltip", | ||
"version": "4.2.3", | ||
"version": "4.3.0", | ||
"author": "Personio GmbH & Co. KG", | ||
@@ -50,3 +50,3 @@ "main": "dist/cjs/index.js", | ||
}, | ||
"gitHead": "d035783baf5fce0b23f89456b5892e46ed7cf63e" | ||
"gitHead": "b3051b9fbd61e9cecb6d8686cb213e32d97bbc28" | ||
} |
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
66269
350