@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/dist/index.mjs
CHANGED
|
@@ -649,11 +649,7 @@ var FigmaComponentBooleanProperty = z32.object({
|
|
|
649
649
|
});
|
|
650
650
|
var FigmaComponentInstanceSwapProperty = z32.object({
|
|
651
651
|
type: z32.literal(FigmaComponentPropertyType.enum.InstanceSwap),
|
|
652
|
-
defaultValue: z32.string()
|
|
653
|
-
preferredValues: z32.object({
|
|
654
|
-
type: z32.enum(["Component", "ComponentSet"]),
|
|
655
|
-
key: z32.string()
|
|
656
|
-
}).array()
|
|
652
|
+
defaultValue: z32.string()
|
|
657
653
|
});
|
|
658
654
|
var FigmaComponentVariantProperty = z32.object({
|
|
659
655
|
type: z32.literal(FigmaComponentPropertyType.enum.Variant),
|
|
@@ -5635,7 +5631,8 @@ var DTOFigmaComponent = z201.object({
|
|
|
5635
5631
|
meta: ObjectMeta,
|
|
5636
5632
|
originComponent: FigmaComponentOrigin.optional(),
|
|
5637
5633
|
parentComponentPersistentId: z201.string().optional(),
|
|
5638
|
-
componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional()
|
|
5634
|
+
componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
|
|
5635
|
+
childrenPersistentIds: z201.string().array().optional()
|
|
5639
5636
|
});
|
|
5640
5637
|
var DTOFigmaComponentListResponse = z201.object({
|
|
5641
5638
|
components: DTOFigmaComponent.array()
|
|
@@ -10440,7 +10437,7 @@ var blocks = [
|
|
|
10440
10437
|
{
|
|
10441
10438
|
id: "io.supernova.block.do-dont-guidelines",
|
|
10442
10439
|
name: "Guidelines",
|
|
10443
|
-
description: "Do/Don
|
|
10440
|
+
description: "Do/Don't rules and best practices.",
|
|
10444
10441
|
category: "Guidelines",
|
|
10445
10442
|
icon: "https://cdn-assets.supernova.io/blocks/icons/guidelines.svg",
|
|
10446
10443
|
searchKeywords: ["dont", "caution", "rules"],
|
|
@@ -10480,16 +10477,16 @@ var blocks = [
|
|
|
10480
10477
|
icon: "Alert"
|
|
10481
10478
|
}
|
|
10482
10479
|
],
|
|
10483
|
-
singleSelectStyle: "
|
|
10480
|
+
singleSelectStyle: "ToggleButton"
|
|
10484
10481
|
}
|
|
10485
10482
|
},
|
|
10486
10483
|
{
|
|
10487
10484
|
id: "block.do-dont-guidelines.property.description",
|
|
10488
10485
|
name: "Description",
|
|
10489
|
-
type: "
|
|
10486
|
+
type: "RichTextEditor",
|
|
10490
10487
|
options: {
|
|
10491
|
-
|
|
10492
|
-
|
|
10488
|
+
allowedInlineStyles: ["Bold", "Italic", "Strikethrough", "UL", "OL", "Link", "InlineCode"],
|
|
10489
|
+
allowMultiline: true,
|
|
10493
10490
|
placeholder: "Add description"
|
|
10494
10491
|
}
|
|
10495
10492
|
}
|