@supernova-studio/model 0.52.6 → 0.52.8
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 +48 -26
- package/dist/index.d.ts +48 -26
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/documentation/block-definitions/item.ts +9 -0
- package/src/dsm/elements/data/documentation-block-v2.ts +5 -0
package/dist/index.mjs
CHANGED
|
@@ -2109,6 +2109,7 @@ var PageBlockItemSandboxValue = z40.object({
|
|
|
2109
2109
|
var PageBlockItemColorValue = z40.record(z40.any());
|
|
2110
2110
|
var PageBlockItemComponentValue = z40.object({
|
|
2111
2111
|
selectedPropertyIds: z40.array(z40.string()).optional(),
|
|
2112
|
+
selectedBrandId: z40.string().optional(),
|
|
2112
2113
|
value: z40.array(
|
|
2113
2114
|
z40.object({
|
|
2114
2115
|
entityId: z40.string(),
|
|
@@ -2164,6 +2165,9 @@ var PageBlockItemRichTextValue = z40.object({
|
|
|
2164
2165
|
value: PageBlockText,
|
|
2165
2166
|
calloutType: PageBlockCalloutType.optional()
|
|
2166
2167
|
});
|
|
2168
|
+
var PageBlockItemRichTextEditorValue = z40.object({
|
|
2169
|
+
value: z40.any()
|
|
2170
|
+
});
|
|
2167
2171
|
var PageBlockItemSingleSelectValue = z40.object({
|
|
2168
2172
|
value: z40.string()
|
|
2169
2173
|
});
|
|
@@ -3575,6 +3579,7 @@ var PageBlockDefinitionVariant = z99.object({
|
|
|
3575
3579
|
var PageBlockDefinitionPropertyType = z100.enum([
|
|
3576
3580
|
"RichText",
|
|
3577
3581
|
"MultiRichText",
|
|
3582
|
+
"RichTextEditor",
|
|
3578
3583
|
"Text",
|
|
3579
3584
|
"Boolean",
|
|
3580
3585
|
"Number",
|
|
@@ -3611,6 +3616,7 @@ var PageBlockDefinitionRichTextPropertyStyle = z100.enum([
|
|
|
3611
3616
|
"Default"
|
|
3612
3617
|
]);
|
|
3613
3618
|
var PageBlockDefinitionMultiRichTextPropertyStyle = z100.enum(["OL", "UL", "Default"]);
|
|
3619
|
+
var PageBlockDefinitionRichTextEditorPropertyStyle = z100.enum(["OL", "UL", "Bold", "Italic", "Link", "Strikethrough", "InlineCode"]);
|
|
3614
3620
|
var PageBlockDefinitionTextPropertyStyle = z100.enum([
|
|
3615
3621
|
"Title1",
|
|
3616
3622
|
"Title2",
|
|
@@ -3670,6 +3676,10 @@ var PageBlockDefinitionRichTextOptions = z100.object({
|
|
|
3670
3676
|
var PageBlockDefinitionMutiRichTextOptions = z100.object({
|
|
3671
3677
|
multiRichTextStyle: PageBlockDefinitionMultiRichTextPropertyStyle.optional()
|
|
3672
3678
|
});
|
|
3679
|
+
var PageBlockDefinitionRichTextEditorOptions = z100.object({
|
|
3680
|
+
placeholder: z100.string().optional(),
|
|
3681
|
+
allowedInlineStyles: z100.array(PageBlockDefinitionRichTextEditorPropertyStyle).optional()
|
|
3682
|
+
});
|
|
3673
3683
|
var PageBlockDefinitionTextOptions = z100.object({
|
|
3674
3684
|
placeholder: z100.string().optional(),
|
|
3675
3685
|
defaultValue: z100.string().optional(),
|
|
@@ -5513,6 +5523,8 @@ export {
|
|
|
5513
5523
|
PageBlockDefinitionOnboarding,
|
|
5514
5524
|
PageBlockDefinitionProperty,
|
|
5515
5525
|
PageBlockDefinitionPropertyType,
|
|
5526
|
+
PageBlockDefinitionRichTextEditorOptions,
|
|
5527
|
+
PageBlockDefinitionRichTextEditorPropertyStyle,
|
|
5516
5528
|
PageBlockDefinitionRichTextOptions,
|
|
5517
5529
|
PageBlockDefinitionRichTextPropertyStyle,
|
|
5518
5530
|
PageBlockDefinitionSelectChoice,
|
|
@@ -5552,6 +5564,7 @@ export {
|
|
|
5552
5564
|
PageBlockItemMultiRichTextValue,
|
|
5553
5565
|
PageBlockItemMultiSelectValue,
|
|
5554
5566
|
PageBlockItemNumberValue,
|
|
5567
|
+
PageBlockItemRichTextEditorValue,
|
|
5555
5568
|
PageBlockItemRichTextValue,
|
|
5556
5569
|
PageBlockItemSandboxValue,
|
|
5557
5570
|
PageBlockItemSingleSelectValue,
|