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

@contentful/f36-utils

Package Overview
Dependencies
Maintainers
102
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-6754.2279 to 4.0.1-next-v4-6763.2280

2

dist/module.js

@@ -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{css as c,cx 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:o(c({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-6754.2279+d702f155",
"version": "4.0.1-next-v4-6763.2280+68ec7ca7",
"description": "Forma 36: utils React Component",

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

},
"gitHead": "d702f155ce0fbb822f92e55422796f4f4c88ba0d"
"gitHead": "68ec7ca78ed6341bed0b5d20a383f1589123569f"
}
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