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

@contentful/f36-utils

Package Overview
Dependencies
Maintainers
103
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-5823.2170 to 4.0.1-next-v4-5860.2171

2

dist/module.js

@@ -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"
}
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