New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bedrock-layout/grid

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bedrock-layout/grid - npm Package Compare versions

Comparing version 2.1.7 to 2.2.0

6

lib/index.cjs.js

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

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports[Symbol.toStringTag]="Module";var a=require("@bedrock-layout/spacing-constants"),y=require("styled-components");function m(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var f=m(y),p={exports:{}},d="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",g=d,T=g;function s(){}function u(){}u.resetWarningCache=s;var h=function(){function e(v,b,S,_,P,l){if(l!==T){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}e.isRequired=e;function t(){return e}var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:u,resetWarningCache:s};return r.PropTypes=r,r};p.exports=h();var n=p.exports;function c(e){return typeof e=="string"?e:typeof e=="number"?`${e}px`:a.sizes.small}const o=f.default.div.attrs(()=>({"data-bedrock-layout-grid":""}))`
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports[Symbol.toStringTag]="Module";var a=require("@bedrock-layout/spacing-constants"),y=require("styled-components");function m(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var f=m(y),p={exports:{}},d="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",g=d,T=g;function s(){}function c(){}c.resetWarningCache=s;var h=function(){function e(v,b,S,_,P,l){if(l!==T){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}e.isRequired=e;function t(){return e}var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:c,resetWarningCache:s};return r.PropTypes=r,r};p.exports=h();var n=p.exports;function u(e){return typeof e=="string"?e:typeof e=="number"?`${e}px`:a.sizes.small}const o=f.default.div.attrs(()=>({"data-bedrock-grid":""}))`
box-sizing: border-box;

@@ -14,3 +14,3 @@ > * {

--gutter: ${({gutter:e,theme:t})=>{var r;return(r=a.getSpacingValue(t,e))!=null?r:"0px"}};
--minItemWidth: ${({minItemWidth:e,theme:t})=>{var r;return c((r=a.getSizeValue(t,e))!=null?r:e)}};
--minItemWidth: ${({minItemWidth:e,theme:t})=>{var r;return u((r=a.getSizeValue(t,e))!=null?r:e)}};

@@ -27,3 +27,3 @@ display: grid;

width:
${({minItemWidth:e,theme:t})=>{var r;return c((r=a.getSizeValue(t,e))!=null?r:e)}}
${({minItemWidth:e,theme:t})=>{var r;return u((r=a.getSizeValue(t,e))!=null?r:e)}}
) {

@@ -30,0 +30,0 @@ grid-template-columns: repeat(

@@ -62,3 +62,3 @@ import { sizes, getSpacingValue, getSizeValue } from "@bedrock-layout/spacing-constants";

return {
"data-bedrock-layout-grid": ""
"data-bedrock-grid": ""
};

@@ -65,0 +65,0 @@ })`

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

(function(o,n){typeof exports=="object"&&typeof module!="undefined"?n(exports,require("@bedrock-layout/spacing-constants"),require("styled-components")):typeof define=="function"&&define.amd?define(["exports","@bedrock-layout/spacing-constants","styled-components"],n):(o=typeof globalThis!="undefined"?globalThis:o||self,n(o.grid={},o.spacingConstants,o.styled))})(this,function(o,n,y){"use strict";function d(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var f=d(y),p={exports:{}},m="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",g=m,h=g;function s(){}function u(){}u.resetWarningCache=s;var T=function(){function e(v,S,_,x,P,b){if(b!==h){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}e.isRequired=e;function t(){return e}var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:u,resetWarningCache:s};return r.PropTypes=r,r};p.exports=T();var i=p.exports;function c(e){return typeof e=="string"?e:typeof e=="number"?`${e}px`:n.sizes.small}const a=f.default.div.attrs(()=>({"data-bedrock-layout-grid":""}))`
(function(o,n){typeof exports=="object"&&typeof module!="undefined"?n(exports,require("@bedrock-layout/spacing-constants"),require("styled-components")):typeof define=="function"&&define.amd?define(["exports","@bedrock-layout/spacing-constants","styled-components"],n):(o=typeof globalThis!="undefined"?globalThis:o||self,n(o.grid={},o.spacingConstants,o.styled))})(this,function(o,n,d){"use strict";function f(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var y=f(d),a={exports:{}},m="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",g=m,h=g;function s(){}function u(){}u.resetWarningCache=s;var T=function(){function e(v,S,_,x,P,b){if(b!==h){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}e.isRequired=e;function t(){return e}var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:u,resetWarningCache:s};return r.PropTypes=r,r};a.exports=T();var i=a.exports;function c(e){return typeof e=="string"?e:typeof e=="number"?`${e}px`:n.sizes.small}const p=y.default.div.attrs(()=>({"data-bedrock-grid":""}))`
box-sizing: border-box;

@@ -33,2 +33,2 @@ > * {

}
`;a.displayName="Grid",a.propTypes={gutter:i.string.isRequired,minItemWidth:i.oneOfType([i.number,i.string])},o.Grid=a,Object.defineProperty(o,"__esModule",{value:!0}),o[Symbol.toStringTag]="Module"});
`;p.displayName="Grid",p.propTypes={gutter:i.string.isRequired,minItemWidth:i.oneOfType([i.number,i.string])},o.Grid=p,Object.defineProperty(o,"__esModule",{value:!0}),o[Symbol.toStringTag]="Module"});
{
"name": "@bedrock-layout/grid",
"version": "2.1.7",
"version": "2.2.0",
"description": "bedrock-layout grid",

@@ -38,3 +38,3 @@ "sideEffects": false,

"dependencies": {
"@bedrock-layout/spacing-constants": "^2.4.3"
"@bedrock-layout/spacing-constants": "^2.5.0"
},

@@ -62,3 +62,3 @@ "peerDependencies": {

},
"gitHead": "b618b6253dfbefea86a0fa03dc5db4aad5f6c925"
"gitHead": "1b9fa19e8e969f66fe6802dc67e2346192348284"
}

@@ -32,3 +32,3 @@ # `@bedrock-layout/grid`

For purposes of styling you can select `data-bedrock-layout-grid`.
For purposes of styling you can select `data-bedrock-grid`.

@@ -35,0 +35,0 @@ ## API

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