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

@contentful/f36-utils

Package Overview
Dependencies
Maintainers
100
Versions
282
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/f36-utils - npm Package Compare versions

Comparing version 4.0.1-next-v4-4460.1997 to 4.0.1-next-v4-4466.1998

2

dist/main.js

@@ -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")),{cx:o,css: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:a({name:"t8ljbi",styles:"display:inherit;outline:0;"})};function m({className:e,children:t,...n}){return r.createElement("span",c({tabIndex:-1,className:o(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),{useEffect:t,useRef: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=n(r),o=n(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?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]}})}));
//# sourceMappingURL=main.js.map

@@ -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{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=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: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 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};
//# sourceMappingURL=module.js.map
{
"name": "@contentful/f36-utils",
"version": "4.0.1-next-v4-4460.1997+111ba476",
"version": "4.0.1-next-v4-4466.1998+0fc11f2b",
"description": "Forma 36: utils React Component",

@@ -34,3 +34,3 @@ "license": "MIT",

},
"gitHead": "111ba476ba7c2d5954b01a6d69f75955750e69fe"
"gitHead": "0fc11f2b5c01d0af1d2a88c79b3c2871e0560a1e"
}
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