@tscircuit/props 0.0.272 → 0.0.273

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,6 +28,8 @@ export const layoutConfig = z.object({
28
28
  gridTemplateColumns: z.string().optional(),
29
29
  gridTemplate: z.string().optional(),
30
30
  gridGap: z.number().or(z.string()).optional(),
31
+ gridRowGap: z.number().or(z.string()).optional(),
32
+ gridColumnGap: z.number().or(z.string()).optional(),
31
33
 
32
34
  flex: z.boolean().or(z.string()).optional(),
33
35
  flexDirection: z.enum(["row", "column"]).optional(),
@@ -88,6 +90,8 @@ export interface LayoutConfig {
88
90
  gridTemplateColumns?: string
89
91
  gridTemplate?: string
90
92
  gridGap?: number | string
93
+ gridRowGap?: number | string
94
+ gridColumnGap?: number | string
91
95
 
92
96
  flex?: boolean | string
93
97
  flexDirection?: "row" | "column"
@@ -177,6 +181,8 @@ export interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
177
181
  pcbGridTemplateColumns?: string
178
182
  pcbGridTemplate?: string
179
183
  pcbGridGap?: number | string
184
+ pcbGridRowGap?: number | string
185
+ pcbGridColumnGap?: number | string
180
186
 
181
187
  pcbFlex?: boolean | string
182
188
  pcbFlexDirection?: "row" | "column"
@@ -329,6 +335,8 @@ export const baseGroupProps = commonLayoutProps.extend({
329
335
  pcbGridTemplateColumns: z.string().optional(),
330
336
  pcbGridTemplate: z.string().optional(),
331
337
  pcbGridGap: z.number().or(z.string()).optional(),
338
+ pcbGridRowGap: z.number().or(z.string()).optional(),
339
+ pcbGridColumnGap: z.number().or(z.string()).optional(),
332
340
  pcbFlex: z.boolean().or(z.string()).optional(),
333
341
  pcbFlexDirection: z.enum(["row", "column"]).optional(),
334
342
  pcbAlignItems: z.enum(["start", "center", "end", "stretch"]).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.272",
3
+ "version": "0.0.273",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",