@contentful/f36-utils
Advanced tools
Comparing version 4.0.1-next-v4-7926.2330 to 4.0.1-next-v4-7936.2331
@@ -1,2 +0,2 @@ | ||
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{cx as c,css as o}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 c=t(a),o=t(document.createElement("div"));return r((()=>{c.current||(c.current=document.body);const e=o.current;return e.setAttribute("data-cf-ui-portal",""),c.current.appendChild(e),()=>{c.current&&c.current.removeChild(e)}}),[]),o.current?n(e,o.current):null}function l({className:r,children:t,...n}){return e.createElement("span",a({tabIndex:-1,className:c(o({name:"t8ljbi",styles:"display:inherit;outline:0;"}),r)},n),t)}s(u,"Portal",(()=>i)),s(u,"TabFocusTrap",(()=>l));export{i as Portal,l as TabFocusTrap}; | ||
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 c,css as o}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 c=r(a),o=r(document.createElement("div"));return t((()=>{c.current||(c.current=document.body);const e=o.current;return e.setAttribute("data-cf-ui-portal",""),c.current.appendChild(e),()=>{c.current&&c.current.removeChild(e)}}),[]),o.current?n(e,o.current):null}function l({className:r,children:t,...n}){return e.createElement("span",a({tabIndex:-1,className:c(o({name:"t8ljbi",styles:"display:inherit;outline:0;"}),r)},n),t)}s(u,"Portal",(()=>i)),s(u,"TabFocusTrap",(()=>l));export{i as Portal,l as TabFocusTrap}; | ||
//# sourceMappingURL=module.js.map |
{ | ||
"name": "@contentful/f36-utils", | ||
"version": "4.0.1-next-v4-7926.2330+dd855845", | ||
"version": "4.0.1-next-v4-7936.2331+0b72b731", | ||
"description": "Forma 36: utils React Component", | ||
@@ -34,3 +34,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "dd855845b994b71774b657d781df4749be58b969" | ||
"gitHead": "0b72b731fdca3cf44b4fed083a9aa09b761e33c5" | ||
} |
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