@highlight-ui/tooltip
Advanced tools
Comparing version 3.3.47 to 4.0.0
@@ -7,3 +7,2 @@ 'use strict'; | ||
var React = require('react'); | ||
var typography = require('@highlight-ui/typography'); | ||
var utilsCommons = require('@highlight-ui/utils-commons'); | ||
@@ -54,3 +53,3 @@ var utilsHooks = require('@highlight-ui/utils-hooks'); | ||
"offsetVarName": "--tooltip-offset", | ||
"tooltip": "Tooltip-module__wN2gX2dn__v3-3-47" | ||
"tooltip": "Tooltip-module__wN2gX2dn__v4-0-0" | ||
}; | ||
@@ -126,8 +125,5 @@ var Trigger = React__default["default"].forwardRef(function (_a, ref) { | ||
style: floatStyles | ||
})), React__default["default"].createElement(typography.Typography, { | ||
token: "body-base", | ||
component: "span" | ||
}, content)))) : React__default["default"].createElement(React__default["default"].Fragment, null, children); | ||
})), React__default["default"].createElement("div", null, content)))) : React__default["default"].createElement(React__default["default"].Fragment, null, children); | ||
}; | ||
exports.Tooltip = Tooltip; | ||
//# sourceMappingURL=index.js.map |
import React, { cloneElement } from 'react'; | ||
import { Typography } from '@highlight-ui/typography'; | ||
import { parseMetadata } from '@highlight-ui/utils-commons'; | ||
@@ -42,3 +41,3 @@ import { useId, useAutoInteractions, useForkRef } from '@highlight-ui/utils-hooks'; | ||
"offsetVarName": "--tooltip-offset", | ||
"tooltip": "Tooltip-module__wN2gX2dn__v3-3-47" | ||
"tooltip": "Tooltip-module__wN2gX2dn__v4-0-0" | ||
}; | ||
@@ -114,8 +113,5 @@ var Trigger = /*#__PURE__*/React.forwardRef(function (_a, ref) { | ||
style: floatStyles | ||
})), /*#__PURE__*/React.createElement(Typography, { | ||
token: "body-base", | ||
component: "span" | ||
}, content)))) : /*#__PURE__*/React.createElement(React.Fragment, null, children); | ||
})), /*#__PURE__*/React.createElement("div", null, content)))) : /*#__PURE__*/React.createElement(React.Fragment, null, children); | ||
}; | ||
export { Tooltip }; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@highlight-ui/tooltip", | ||
"version": "3.3.47", | ||
"version": "4.0.0", | ||
"author": "Personio GmbH & Co. KG", | ||
@@ -29,4 +29,4 @@ "main": "dist/cjs/index.js", | ||
"devDependencies": { | ||
"@highlight-ui/alert": "^6.0.4", | ||
"@highlight-ui/button": "^12.0.4", | ||
"@highlight-ui/alert": "^7.0.0", | ||
"@highlight-ui/button": "^12.0.5", | ||
"@highlight-ui/configs-base-jest": "^3.1.2", | ||
@@ -37,2 +37,3 @@ "@highlight-ui/configs-base-tsconfig": "^3.2.1", | ||
"@highlight-ui/tokens": "^3.0.0", | ||
"@highlight-ui/typography": "^6.1.0", | ||
"@testing-library/dom": "8.19.0", | ||
@@ -46,3 +47,2 @@ "@testing-library/react": "12.1.5", | ||
"dependencies": { | ||
"@highlight-ui/typography": "^6.0.1", | ||
"@highlight-ui/utils-commons": "^2.3.8", | ||
@@ -56,3 +56,3 @@ "@highlight-ui/utils-hooks": "^3.2.21", | ||
}, | ||
"gitHead": "e350b6a3203165c887f553b3f2bb0b286f392dbf" | ||
"gitHead": "d65a6a4c39fa3a6e8cf737ca221bdcd7688d9590" | ||
} |
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
5
65964
14
340
- Removed@highlight-ui/typography@^6.0.1
- Removed@highlight-ui/typography@6.3.5(transitive)
- Removeddot-case@3.0.4(transitive)
- Removedlower-case@2.0.2(transitive)
- Removedno-case@3.0.4(transitive)
- Removedparam-case@3.0.4(transitive)