Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contentful/f36-tooltip

Package Overview
Dependencies
Maintainers
114
Versions
342
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/f36-tooltip - npm Package Compare versions

Comparing version 4.6.2 to 4.7.0

8

CHANGELOG.md
# Change Log
## 4.7.0
### Patch Changes
- Updated dependencies [[`e50b8945`](https://github.com/contentful/forma-36/commit/e50b8945faef7323187e1bd9a2a9cbfcbae2e405)]:
- @contentful/f36-core@4.7.0
- @contentful/f36-utils@4.7.0
## 4.6.2

@@ -4,0 +12,0 @@

12

dist/main.js

@@ -140,6 +140,6 @@ var $9z4kG$emotion = require("emotion");

};
if (!content || isDisabled) return(/*#__PURE__*/ ($parcel$interopDefault($9z4kG$react)).createElement($9z4kG$contentfulf36core.Box, {
if (!content || isDisabled) return /*#__PURE__*/ ($parcel$interopDefault($9z4kG$react)).createElement($9z4kG$contentfulf36core.Box, {
as: HtmlTag,
className: targetWrapperClassName
}, children));
}, children);
const tooltip = /*#__PURE__*/ ($parcel$interopDefault($9z4kG$react)).createElement($9z4kG$contentfulf36core.Box, {

@@ -166,3 +166,3 @@ as: "span",

}));
return(/*#__PURE__*/ ($parcel$interopDefault($9z4kG$react)).createElement(($parcel$interopDefault($9z4kG$react)).Fragment, null, show ? /*#__PURE__*/ ($parcel$interopDefault($9z4kG$react)).createElement(($parcel$interopDefault($9z4kG$react)).Fragment, null, usePortal ? /*#__PURE__*/ ($parcel$interopDefault($9z4kG$react)).createElement($9z4kG$contentfulf36utils.Portal, null, tooltip) : tooltip) : null, /*#__PURE__*/ ($parcel$interopDefault($9z4kG$react)).createElement($9z4kG$contentfulf36core.Box, {
return /*#__PURE__*/ ($parcel$interopDefault($9z4kG$react)).createElement(($parcel$interopDefault($9z4kG$react)).Fragment, null, show ? /*#__PURE__*/ ($parcel$interopDefault($9z4kG$react)).createElement(($parcel$interopDefault($9z4kG$react)).Fragment, null, usePortal ? /*#__PURE__*/ ($parcel$interopDefault($9z4kG$react)).createElement($9z4kG$contentfulf36utils.Portal, null, tooltip) : tooltip) : null, /*#__PURE__*/ ($parcel$interopDefault($9z4kG$react)).createElement($9z4kG$contentfulf36core.Box, {
as: HtmlTag,

@@ -196,6 +196,6 @@ ref: elementRef,

}, ($parcel$interopDefault($9z4kG$react)).Children.map(children, (child)=>{
if (/*#__PURE__*/ ($parcel$interopDefault($9z4kG$react)).isValidElement(child)) return(/*#__PURE__*/ ($parcel$interopDefault($9z4kG$react)).cloneElement(child, {
if (/*#__PURE__*/ ($parcel$interopDefault($9z4kG$react)).isValidElement(child)) return /*#__PURE__*/ ($parcel$interopDefault($9z4kG$react)).cloneElement(child, {
'aria-describedby': tooltipId
}));
}))));
});
})));
};

@@ -202,0 +202,0 @@

@@ -132,6 +132,6 @@ import {cx as $7kzxa$cx, css as $7kzxa$css} from "emotion";

};
if (!content || isDisabled) return(/*#__PURE__*/ $7kzxa$react.createElement($7kzxa$Box, {
if (!content || isDisabled) return /*#__PURE__*/ $7kzxa$react.createElement($7kzxa$Box, {
as: HtmlTag,
className: targetWrapperClassName
}, children));
}, children);
const tooltip = /*#__PURE__*/ $7kzxa$react.createElement($7kzxa$Box, {

@@ -158,3 +158,3 @@ as: "span",

}));
return(/*#__PURE__*/ $7kzxa$react.createElement($7kzxa$react.Fragment, null, show ? /*#__PURE__*/ $7kzxa$react.createElement($7kzxa$react.Fragment, null, usePortal ? /*#__PURE__*/ $7kzxa$react.createElement($7kzxa$Portal, null, tooltip) : tooltip) : null, /*#__PURE__*/ $7kzxa$react.createElement($7kzxa$Box, {
return /*#__PURE__*/ $7kzxa$react.createElement($7kzxa$react.Fragment, null, show ? /*#__PURE__*/ $7kzxa$react.createElement($7kzxa$react.Fragment, null, usePortal ? /*#__PURE__*/ $7kzxa$react.createElement($7kzxa$Portal, null, tooltip) : tooltip) : null, /*#__PURE__*/ $7kzxa$react.createElement($7kzxa$Box, {
as: HtmlTag,

@@ -188,6 +188,6 @@ ref: elementRef,

}, $7kzxa$react.Children.map(children, (child)=>{
if (/*#__PURE__*/ $7kzxa$react.isValidElement(child)) return(/*#__PURE__*/ $7kzxa$react.cloneElement(child, {
if (/*#__PURE__*/ $7kzxa$react.isValidElement(child)) return /*#__PURE__*/ $7kzxa$react.cloneElement(child, {
'aria-describedby': tooltipId
}));
}))));
});
})));
};

@@ -194,0 +194,0 @@

{
"name": "@contentful/f36-tooltip",
"version": "4.6.2",
"version": "4.7.0",
"description": "Forma 36: Tooltip component",

@@ -10,5 +10,5 @@ "scripts": {

"@babel/runtime": "^7.6.2",
"@contentful/f36-core": "^4.6.2",
"@contentful/f36-core": "^4.7.0",
"@contentful/f36-tokens": "^4.0.1",
"@contentful/f36-utils": "^4.6.2",
"@contentful/f36-utils": "^4.7.0",
"@popperjs/core": "^2.4.4",

@@ -15,0 +15,0 @@ "csstype": "^3.0.5",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc