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 4.1.0 to 4.1.1

2

lib/index.cjs.js

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

"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("@bedrock-layout/spacing-constants"),g=require("@bedrock-layout/type-utils"),m=require("react"),p=t=>t&&typeof t=="object"&&"default"in t?t:{default:t},b=p(m),n=g.forwardRefWithAs(({as:t,style:e,minItemWidth:a,gutter:c,...i},u)=>{const r=o.useTheme(),s=o.getSizeValue(r,a),d=o.getSafeGutter(r,c),l=e!=null?e:{},f=t!=null?t:"div";return b.default.createElement(f,{ref:u,"data-bedrock-grid":!0,style:{...l,"--minItemWidth":s,"--gutter":d},...i})});n.displayName="Grid";exports.Grid=n;
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@bedrock-layout/spacing-constants"),f=require("@bedrock-layout/type-utils"),g=require("react"),r=f.forwardRefWithAs(({as:s,style:i,minItemWidth:n,gutter:o,...a},c)=>{const t=e.useTheme(),d=e.getSizeValue(t,n),u=e.getSafeGutter(t,o),l=i??{},m=s??"div";return g.createElement(m,{ref:c,"data-bedrock-grid":!0,style:{...l,"--minItemWidth":d,"--gutter":u},...a})});r.displayName="Grid";exports.Grid=r;

@@ -1,22 +0,25 @@

import { useTheme as u, getSizeValue as p, getSafeGutter as h } from "@bedrock-layout/spacing-constants";
import { forwardRefWithAs as s } from "@bedrock-layout/type-utils";
import g from "react";
const G = s(
({ as: t, style: e, minItemWidth: o, gutter: i, ...m }, n) => {
const r = u(), d = p(r, o), c = h(r, i), f = e != null ? e : {}, a = t != null ? t : "div";
return /* @__PURE__ */ g.createElement(a, {
ref: n,
"data-bedrock-grid": !0,
style: {
...f,
"--minItemWidth": d,
"--gutter": c
},
...m
});
import { useTheme as f, getSizeValue as u, getSafeGutter as p } from "@bedrock-layout/spacing-constants";
import { forwardRefWithAs as h } from "@bedrock-layout/type-utils";
import l from "react";
const g = h(
({ as: e, style: r, minItemWidth: o, gutter: i, ...m }, s) => {
const t = f(), a = u(t, o), n = p(t, i), d = r ?? {}, c = e ?? "div";
return /* @__PURE__ */ l.createElement(
c,
{
ref: s,
"data-bedrock-grid": !0,
style: {
...d,
"--minItemWidth": a,
"--gutter": n
},
...m
}
);
}
);
G.displayName = "Grid";
g.displayName = "Grid";
export {
G as Grid
g as Grid
};

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

(function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("@bedrock-layout/spacing-constants"),require("@bedrock-layout/type-utils"),require("react")):typeof define=="function"&&define.amd?define(["exports","@bedrock-layout/spacing-constants","@bedrock-layout/type-utils","react"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.grid={},e.spacingConstants,e.typeUtils,e.React))})(this,function(e,i,u,d){"use strict";const c=(t=>t&&typeof t=="object"&&"default"in t?t:{default:t})(d),n=u.forwardRefWithAs(({as:t,style:o,minItemWidth:f,gutter:a,...s},p)=>{const r=i.useTheme(),l=i.getSizeValue(r,f),y=i.getSafeGutter(r,a),m=o!=null?o:{},h=t!=null?t:"div";return c.default.createElement(h,{ref:p,"data-bedrock-grid":!0,style:{...m,"--minItemWidth":l,"--gutter":y},...s})});n.displayName="Grid",e.Grid=n,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
(function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("@bedrock-layout/spacing-constants"),require("@bedrock-layout/type-utils"),require("react")):typeof define=="function"&&define.amd?define(["exports","@bedrock-layout/spacing-constants","@bedrock-layout/type-utils","react"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.grid={},e.spacingConstants,e.typeUtils,e.React))})(this,function(e,t,n,o){"use strict";const i=n.forwardRefWithAs(({as:d,style:s,minItemWidth:u,gutter:c,...a},f)=>{const r=t.useTheme(),y=t.getSizeValue(r,u),p=t.getSafeGutter(r,c),l=s??{},m=d??"div";return o.createElement(m,{ref:f,"data-bedrock-grid":!0,style:{...l,"--minItemWidth":y,"--gutter":p},...a})});i.displayName="Grid",e.Grid=i,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
{
"name": "@bedrock-layout/grid",
"version": "4.1.0",
"version": "4.1.1",
"description": "bedrock-layout grid",

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

"dependencies": {
"@bedrock-layout/spacing-constants": "^3.2.0",
"@bedrock-layout/spacing-constants": "^3.2.1",
"@bedrock-layout/type-utils": "^0.1.1"

@@ -63,3 +63,3 @@ },

},
"gitHead": "f154b8f3a4ad8123e95c537ee670104e8490091e"
"gitHead": "4b5f2410aa236170c430392b4d88d3e84c9f2c21"
}
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