@contentful/f36-utils
Advanced tools
Comparing version 4.0.1-next-v4-5823.2170 to 4.0.1-next-v4-5860.2171
@@ -1,2 +0,2 @@ | ||
import e,{useRef as r,useEffect as t}from"react";import{createPortal as n}from"react-dom";import a from"@babel/runtime/helpers/esm/extends";import{cx as o,css as c}from"emotion";function s(e,r,t,n){Object.defineProperty(e,r,{get:t,set:n,enumerable:!0,configurable:!0})}var u={};function i({children:e,container:a}){const o=r(a),c=r(document.createElement("div"));return t((()=>{o.current||(o.current=document.body);const e=c.current;return e.setAttribute("data-cf-ui-portal",""),o.current.appendChild(e),()=>{o.current&&o.current.removeChild(e)}}),[]),c.current?n(e,c.current):null}s(u,"Portal",(()=>i)),s(u,"TabFocusTrap",(()=>m));const l={root:c({name:"t8ljbi",styles:"display:inherit;outline:0;"})};function m({className:r,children:t,...n}){return e.createElement("span",a({tabIndex:-1,className:o(l.root,r)},n),t)}export{i as Portal,m as TabFocusTrap}; | ||
import e,{useEffect as r,useRef as t}from"react";import{createPortal as n}from"react-dom";import a from"@babel/runtime/helpers/esm/extends";import{css as o,cx as c}from"emotion";function s(e,r,t,n){Object.defineProperty(e,r,{get:t,set:n,enumerable:!0,configurable:!0})}var u={};function i({children:e,container:a}){const o=t(a),c=t(document.createElement("div"));return r((()=>{o.current||(o.current=document.body);const e=c.current;return e.setAttribute("data-cf-ui-portal",""),o.current.appendChild(e),()=>{o.current&&o.current.removeChild(e)}}),[]),c.current?n(e,c.current):null}s(u,"Portal",(()=>i)),s(u,"TabFocusTrap",(()=>m));const l={root:o({name:"t8ljbi",styles:"display:inherit;outline:0;"})};function m({className:r,children:t,...n}){return e.createElement("span",a({tabIndex:-1,className:c(l.root,r)},n),t)}export{i as Portal,m as TabFocusTrap}; | ||
//# sourceMappingURL=module.js.map |
{ | ||
"name": "@contentful/f36-utils", | ||
"version": "4.0.1-next-v4-5823.2170+4b11ee7f", | ||
"version": "4.0.1-next-v4-5860.2171+c6b1cde4", | ||
"description": "Forma 36: utils React Component", | ||
@@ -34,3 +34,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "4b11ee7ffe4f88da285df6e38a1afe76aa2d84d5" | ||
"gitHead": "c6b1cde4bed22b5a959ed4dd61ad9c963fc09a60" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package