@supernova-studio/client 0.52.16 → 0.52.18
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 +8 -114
- package/dist/index.d.ts +8 -114
- package/dist/index.js +8 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/elements/components/figma-component.ts +1 -0
- package/src/yjs/docs-editor/mock.ts +5 -5
package/package.json
CHANGED
|
@@ -36,6 +36,7 @@ export const DTOFigmaComponent = z.object({
|
|
|
36
36
|
|
|
37
37
|
parentComponentPersistentId: z.string().optional(),
|
|
38
38
|
componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
|
|
39
|
+
childrenPersistentIds: z.string().array().optional(),
|
|
39
40
|
});
|
|
40
41
|
|
|
41
42
|
export const DTOFigmaComponentListResponse = z.object({
|
|
@@ -2273,7 +2273,7 @@ const blocks: PageBlockDefinition[] = [
|
|
|
2273
2273
|
{
|
|
2274
2274
|
id: "io.supernova.block.do-dont-guidelines",
|
|
2275
2275
|
name: "Guidelines",
|
|
2276
|
-
description: "Do/Don
|
|
2276
|
+
description: "Do/Don't rules and best practices.",
|
|
2277
2277
|
category: "Guidelines",
|
|
2278
2278
|
icon: "https://cdn-assets.supernova.io/blocks/icons/guidelines.svg",
|
|
2279
2279
|
searchKeywords: ["dont", "caution", "rules"],
|
|
@@ -2313,16 +2313,16 @@ const blocks: PageBlockDefinition[] = [
|
|
|
2313
2313
|
icon: "Alert",
|
|
2314
2314
|
},
|
|
2315
2315
|
],
|
|
2316
|
-
singleSelectStyle: "
|
|
2316
|
+
singleSelectStyle: "ToggleButton",
|
|
2317
2317
|
},
|
|
2318
2318
|
},
|
|
2319
2319
|
{
|
|
2320
2320
|
id: "block.do-dont-guidelines.property.description",
|
|
2321
2321
|
name: "Description",
|
|
2322
|
-
type: "
|
|
2322
|
+
type: "RichTextEditor",
|
|
2323
2323
|
options: {
|
|
2324
|
-
|
|
2325
|
-
|
|
2324
|
+
allowedInlineStyles: ["Bold", "Italic", "Strikethrough", "UL", "OL", "Link", "InlineCode"],
|
|
2325
|
+
allowMultiline: true,
|
|
2326
2326
|
placeholder: "Add description",
|
|
2327
2327
|
},
|
|
2328
2328
|
},
|