@contentful/f36-utils
Advanced tools
Comparing version 4.0.1-next-v4-5860.2171 to 4.0.1-next-v4-6174.2195
@@ -1,2 +0,2 @@ | ||
var e=require("react"),r=l(e),{useRef:t,useEffect:n}=e,{createPortal:u}=require("react-dom"),c=l(require("@babel/runtime/helpers/extends")),{css:o,cx:a}=require("emotion");function i(e,r,t,n){Object.defineProperty(e,r,{get:t,set:n,enumerable:!0,configurable:!0})}function l(e){return e&&e.__esModule?e.default:e}var s={};function d({children:e,container:r}){const c=t(r),o=t(document.createElement("div"));return n((()=>{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?u(e,o.current):null}i(s,"Portal",(()=>d)),i(s,"TabFocusTrap",(()=>m));const f={root:o({name:"t8ljbi",styles:"display:inherit;outline:0;"})};function m({className:e,children:t,...n}){return r.createElement("span",c({tabIndex:-1,className:a(f.root,e)},n),t)}var b,p;b=module.exports,p=s,Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(b,e,{enumerable:!0,get:function(){return p[e]}})})); | ||
var e=require("react"),r=l(e),{useRef:t,useEffect:n}=e,{createPortal:u}=require("react-dom"),c=l(require("@babel/runtime/helpers/extends")),{css:a,cx:o}=require("emotion");function i(e,r,t,n){Object.defineProperty(e,r,{get:t,set:n,enumerable:!0,configurable:!0})}function l(e){return e&&e.__esModule?e.default:e}var s,d,f={};function m({children:e,container:r}){const c=t(r),a=t(document.createElement("div"));return n((()=>{c.current||(c.current=document.body);const e=a.current;return e.setAttribute("data-cf-ui-portal",""),c.current.appendChild(e),()=>{c.current&&c.current.removeChild(e)}}),[]),a.current?u(e,a.current):null}function b({className:e,children:t,...n}){return r.createElement("span",c({tabIndex:-1,className:o(a({name:"t8ljbi",styles:"display:inherit;outline:0;"}),e)},n),t)}i(f,"Portal",(()=>m)),i(f,"TabFocusTrap",(()=>b)),s=module.exports,d=f,Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(s,e,{enumerable:!0,get:function(){return d[e]}})})); | ||
//# sourceMappingURL=main.js.map |
@@ -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{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}; | ||
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-5860.2171+c6b1cde4", | ||
"version": "4.0.1-next-v4-6174.2195+eac2d8db", | ||
"description": "Forma 36: utils React Component", | ||
@@ -34,3 +34,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "c6b1cde4bed22b5a959ed4dd61ad9c963fc09a60" | ||
"gitHead": "eac2d8db77c35a1fe0f851b98e347ea9b27ba352" | ||
} |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
128
17918
14