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

@contentful/f36-core

Package Overview
Dependencies
Maintainers
103
Versions
406
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/f36-core - npm Package Compare versions

Comparing version 4.0.1-next-v4-5803.2169 to 4.0.1-next-v4-5823.2170

2

dist/main.js

@@ -1,2 +0,2 @@

var n=g(require("@emotion/is-prop-valid")),e=g(require("@babel/runtime/helpers/extends")),{cx:i,css:t}=require("emotion"),{forwardRef:a,createElement:r,useMemo:o}=require("react"),l=g(require("@contentful/f36-tokens"));function s(n,e){return Object.keys(e).forEach((function(i){"default"!==i&&"__esModule"!==i&&Object.defineProperty(n,i,{enumerable:!0,get:function(){return e[i]}})})),n}function d(n,e,i,t){Object.defineProperty(n,e,{get:i,set:t,enumerable:!0,configurable:!0})}function g(n){return n&&n.__esModule?n.default:n}var p={};d(p,"usePrimitive",(()=>u));const m="div";function u(e){const{as:i=m,testId:t,...a}=e,r={};for(const e in a)n(e)?r[e]=a[e]:console.warn("Invalid prop",e);return{primitiveProps:{"data-test-id":t,...r,as:void 0},Element:i}}var c={};d(c,"Flex",(()=>j));var f={};d(f,"Box",(()=>b)),d(f,"useBox",(()=>y));const x={none:0,spacing2Xs:l.spacing2Xs,spacingXs:l.spacingXs,spacingS:l.spacingS,spacingM:l.spacingM,spacingL:l.spacingL,spacingXl:l.spacingXl,spacing2Xl:l.spacing2Xl,spacing3Xl:l.spacing3Xl,spacing4Xl:l.spacing4Xl};function h(n){return x[n]}function v(n){return Object.assign({},n.margin?{margin:h(n.margin)}:null,n.marginLeft?{marginLeft:h(n.marginLeft)}:null,n.marginRight?{marginRight:h(n.marginRight)}:null,n.marginTop?{marginTop:h(n.marginTop)}:null,n.marginBottom?{marginBottom:h(n.marginBottom)}:null,n.padding?{padding:h(n.padding)}:null,n.paddingLeft?{paddingLeft:h(n.paddingLeft)}:null,n.paddingRight?{paddingRight:h(n.paddingRight)}:null,n.paddingTop?{paddingTop:h(n.paddingTop)}:null,n.paddingBottom?{paddingBottom:h(n.paddingBottom)}:null)}function y(n){const{display:e,children:a,className:r,margin:o,marginBottom:l,marginLeft:s,marginRight:d,marginTop:g,padding:p,paddingBottom:m,paddingLeft:c,paddingRight:f,paddingTop:x,...h}=n,y={className:i(t({display:e,...v({margin:o,marginBottom:l,marginLeft:s,marginRight:d,marginTop:g,padding:p,paddingBottom:m,paddingLeft:c,paddingRight:f,paddingTop:x})},""),r),...h},{Element:b,primitiveProps:j}=u(y);return{boxProps:j,Element:b}}const b=a(((n,i)=>{const{boxProps:t,Element:a}=y(n);return r(a,e({},t,{ref:i}),n.children)})),j=a((({isInline:n,alignItems:a,alignSelf:o,alignContent:l,flex:s,flexBasis:d,flexShrink:g,flexDirection:p,flexGrow:m,flexWrap:u,fullHeight:c,fullWidth:f,gap:x,justifyContent:h,justifyItems:v,justifySelf:b,order:j,children:B,...w},L)=>{const{boxProps:R,Element:T}=y(w);return r(T,e({as:"div"},R,{className:i(t({display:n?"inline-flex":"flex",width:f?"100%":void 0,height:c?"100%":void 0,flex:s,flexBasis:d,flexShrink:g,flexDirection:p,gap:x,justifyContent:h,justifyItems:v,justifySelf:b,alignItems:a,alignSelf:o,alignContent:l,order:j,flexWrap:u,flexGrow:m},""),R.className),ref:L}),B)}));var B={};d(B,"Grid",(()=>w)),d(B,"GridItem",(()=>L));const w=a((({alignContent:n,children:a,columnGap:o="spacingM",columns:l="auto",flow:s,isInline:d,justifyContent:g,rowGap:p="none",rows:m="auto",...u},c)=>{var f,x;const v=n=>"number"==typeof n?`repeat(${n}, minmax(0, 1fr))`:n,{boxProps:b,Element:j}=y(u);return r(j,e({as:"div"},b,{className:i(t({display:d?"inline-grid":"grid",gridTemplateColumns:v(l),gridTemplateRows:v(m),flow:s,justifyContent:g,alignContent:n,columnGap:null!==(f=h(o))&&void 0!==f?f:0,rowGap:null!==(x=h(p))&&void 0!==x?x:0},""),b.className),ref:c}),a)})),L=a((({children:n,columnStart:a,columnEnd:o,rowStart:l,rowEnd:s,area:d,order:g,...p},m)=>{const u=d||[l||"auto",a||"auto",s||"auto",o||"auto"].join(" / "),{boxProps:c,Element:f}=y(p);return r(f,e({as:"div"},c,{className:i(t({gridArea:u,order:g},""),c.className),ref:m}),n)}));var R={};function T(n,e){return o((()=>n||[e||"id",Math.round(1e4*Math.random())].join("_")),[])}d(R,"useId",(()=>T)),s(module.exports,p),s(module.exports,c),s(module.exports,B),s(module.exports,f),s(module.exports,R);
var n=g(require("@emotion/is-prop-valid")),e=g(require("@babel/runtime/helpers/extends")),{css:i,cx:t}=require("emotion"),{forwardRef:a,createElement:r,useMemo:o}=require("react"),l=g(require("@contentful/f36-tokens"));function s(n,e){return Object.keys(e).forEach((function(i){"default"!==i&&"__esModule"!==i&&Object.defineProperty(n,i,{enumerable:!0,get:function(){return e[i]}})})),n}function d(n,e,i,t){Object.defineProperty(n,e,{get:i,set:t,enumerable:!0,configurable:!0})}function g(n){return n&&n.__esModule?n.default:n}var p={};d(p,"usePrimitive",(()=>u));const m="div";function u(e){const{as:i=m,testId:t,...a}=e,r={};for(const e in a)n(e)?r[e]=a[e]:console.warn("Invalid prop",e);return{primitiveProps:{"data-test-id":t,...r,as:void 0},Element:i}}var c={};d(c,"Flex",(()=>j));var f={};d(f,"Box",(()=>b)),d(f,"useBox",(()=>y));const x={none:0,spacing2Xs:l.spacing2Xs,spacingXs:l.spacingXs,spacingS:l.spacingS,spacingM:l.spacingM,spacingL:l.spacingL,spacingXl:l.spacingXl,spacing2Xl:l.spacing2Xl,spacing3Xl:l.spacing3Xl,spacing4Xl:l.spacing4Xl};function h(n){return x[n]}function v(n){return Object.assign({},n.margin?{margin:h(n.margin)}:null,n.marginLeft?{marginLeft:h(n.marginLeft)}:null,n.marginRight?{marginRight:h(n.marginRight)}:null,n.marginTop?{marginTop:h(n.marginTop)}:null,n.marginBottom?{marginBottom:h(n.marginBottom)}:null,n.padding?{padding:h(n.padding)}:null,n.paddingLeft?{paddingLeft:h(n.paddingLeft)}:null,n.paddingRight?{paddingRight:h(n.paddingRight)}:null,n.paddingTop?{paddingTop:h(n.paddingTop)}:null,n.paddingBottom?{paddingBottom:h(n.paddingBottom)}:null)}function y(n){const{display:e,children:a,className:r,margin:o,marginBottom:l,marginLeft:s,marginRight:d,marginTop:g,padding:p,paddingBottom:m,paddingLeft:c,paddingRight:f,paddingTop:x,...h}=n,y={className:t(i({display:e,...v({margin:o,marginBottom:l,marginLeft:s,marginRight:d,marginTop:g,padding:p,paddingBottom:m,paddingLeft:c,paddingRight:f,paddingTop:x})},""),r),...h},{Element:b,primitiveProps:j}=u(y);return{boxProps:j,Element:b}}const b=a(((n,i)=>{const{boxProps:t,Element:a}=y(n);return r(a,e({},t,{ref:i}),n.children)})),j=a((({isInline:n,alignItems:a,alignSelf:o,alignContent:l,flex:s,flexBasis:d,flexShrink:g,flexDirection:p,flexGrow:m,flexWrap:u,fullHeight:c,fullWidth:f,gap:x,justifyContent:h,justifyItems:v,justifySelf:b,order:j,children:B,...w},L)=>{const{boxProps:R,Element:T}=y(w);return r(T,e({as:"div"},R,{className:t(i({display:n?"inline-flex":"flex",width:f?"100%":void 0,height:c?"100%":void 0,flex:s,flexBasis:d,flexShrink:g,flexDirection:p,gap:x,justifyContent:h,justifyItems:v,justifySelf:b,alignItems:a,alignSelf:o,alignContent:l,order:j,flexWrap:u,flexGrow:m},""),R.className),ref:L}),B)}));var B={};d(B,"Grid",(()=>w)),d(B,"GridItem",(()=>L));const w=a((({alignContent:n,children:a,columnGap:o="spacingM",columns:l="auto",flow:s,isInline:d,justifyContent:g,rowGap:p="none",rows:m="auto",...u},c)=>{var f,x;const v=n=>"number"==typeof n?`repeat(${n}, minmax(0, 1fr))`:n,{boxProps:b,Element:j}=y(u);return r(j,e({as:"div"},b,{className:t(i({display:d?"inline-grid":"grid",gridTemplateColumns:v(l),gridTemplateRows:v(m),flow:s,justifyContent:g,alignContent:n,columnGap:null!==(f=h(o))&&void 0!==f?f:0,rowGap:null!==(x=h(p))&&void 0!==x?x:0},""),b.className),ref:c}),a)})),L=a((({children:n,columnStart:a,columnEnd:o,rowStart:l,rowEnd:s,area:d,order:g,...p},m)=>{const u=d||[l||"auto",a||"auto",s||"auto",o||"auto"].join(" / "),{boxProps:c,Element:f}=y(p);return r(f,e({as:"div"},c,{className:t(i({gridArea:u,order:g},""),c.className),ref:m}),n)}));var R={};function T(n,e){return o((()=>n||[e||"id",Math.round(1e4*Math.random())].join("_")),[])}d(R,"useId",(()=>T)),s(module.exports,p),s(module.exports,c),s(module.exports,B),s(module.exports,f),s(module.exports,R);
//# sourceMappingURL=main.js.map
{
"name": "@contentful/f36-core",
"version": "4.0.1-next-v4-5803.2169+9e6c76fd",
"version": "4.0.1-next-v4-5823.2170+4b11ee7f",
"description": "Forma 36 core",

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

"@babel/runtime": "^7.6.2",
"@contentful/f36-tokens": "4.0.1-next-v4-5803.2169+9e6c76fd",
"@contentful/f36-tokens": "4.0.1-next-v4-5823.2170+4b11ee7f",
"@emotion/is-prop-valid": "^1.1.0",

@@ -36,3 +36,3 @@ "emotion": "^10.0.17"

},
"gitHead": "9e6c76fd23570213ac82b1e34ca5d93a584a6b87"
"gitHead": "4b11ee7ffe4f88da285df6e38a1afe76aa2d84d5"
}
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