@supernova-studio/model 0.57.0 → 0.57.2
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.
- package/dist/index.d.mts +99 -0
- package/dist/index.d.ts +99 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/documentation/block-definitions/item.ts +1 -0
- package/src/dsm/elements/data/documentation-block-v1.ts +1 -0
- package/src/dsm/elements/data/documentation-block-v2.ts +1 -0
package/package.json
CHANGED
|
@@ -194,6 +194,7 @@ export const PageBlockDefinitionComponentOptions = z.object({
|
|
|
194
194
|
|
|
195
195
|
export const PageBlockDefinitionFigmaComponentOptions = z.object({
|
|
196
196
|
renderLayoutAs: z.enum(["Grid", "PropsTable", "Canvas", "Playground"]),
|
|
197
|
+
invertPropertySelection: z.boolean().optional(),
|
|
197
198
|
});
|
|
198
199
|
|
|
199
200
|
export type PageBlockDefinitionUntypedPropertyOptions = z.infer<typeof PageBlockDefinitionUntypedPropertyOptions>;
|
|
@@ -213,6 +213,7 @@ export const PageBlockFigmaComponentBlockConfig = z.object({
|
|
|
213
213
|
showComponentName: nullishToOptional(z.boolean()),
|
|
214
214
|
showComponentDescription: nullishToOptional(z.boolean()),
|
|
215
215
|
showPropertyList: nullishToOptional(z.boolean()),
|
|
216
|
+
previewOrderIds: nullishToOptional(z.array(z.string())),
|
|
216
217
|
previewContainerSize: nullishToOptional(z.enum(["Centered", "NaturalHeight"])),
|
|
217
218
|
backgroundColor: nullishToOptional(ColorTokenInlineData),
|
|
218
219
|
});
|
|
@@ -141,6 +141,7 @@ export const PageBlockItemFigmaComponentValue = z.object({
|
|
|
141
141
|
showComponentName: z.boolean().optional(),
|
|
142
142
|
showComponentDescription: z.boolean().optional(),
|
|
143
143
|
showPropertyList: z.boolean().optional(),
|
|
144
|
+
previewOrderIds: z.array(z.string()).optional(),
|
|
144
145
|
previewContainerSize: PageBlockPreviewContainerSize.optional(),
|
|
145
146
|
backgroundColor: PageBlockColorV2.optional(),
|
|
146
147
|
value: z
|