@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supernova-studio/client",
3
- "version": "0.52.16",
3
+ "version": "0.52.18",
4
4
  "description": "Supernova Data Models",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",
@@ -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/Dont rules and best practices.",
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: "SegmentedControl",
2316
+ singleSelectStyle: "ToggleButton",
2317
2317
  },
2318
2318
  },
2319
2319
  {
2320
2320
  id: "block.do-dont-guidelines.property.description",
2321
2321
  name: "Description",
2322
- type: "Text",
2322
+ type: "RichTextEditor",
2323
2323
  options: {
2324
- textStyle: "Default",
2325
- color: "Neutral",
2324
+ allowedInlineStyles: ["Bold", "Italic", "Strikethrough", "UL", "OL", "Link", "InlineCode"],
2325
+ allowMultiline: true,
2326
2326
  placeholder: "Add description",
2327
2327
  },
2328
2328
  },