@supernova-studio/model 0.54.6 → 0.54.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 +446 -48
- package/dist/index.d.ts +446 -48
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/elements/data/documentation-block-v1.ts +7 -0
- package/src/dsm/elements/data/documentation-block-v2.ts +8 -0
package/dist/index.mjs
CHANGED
|
@@ -1780,6 +1780,10 @@ var PageBlockTheme = z40.object({
|
|
|
1780
1780
|
themeIds: z40.array(z40.string()),
|
|
1781
1781
|
type: PageBlockThemeType
|
|
1782
1782
|
});
|
|
1783
|
+
var PageBlockSwatch = z40.object({
|
|
1784
|
+
id: z40.string(),
|
|
1785
|
+
selectedThemeIds: z40.string().array()
|
|
1786
|
+
});
|
|
1783
1787
|
var PageBlockUrlPreview = z40.object({
|
|
1784
1788
|
title: nullishToOptional(z40.string()),
|
|
1785
1789
|
description: nullishToOptional(z40.string()),
|
|
@@ -1951,6 +1955,7 @@ var PageBlockBaseV1 = z40.object({
|
|
|
1951
1955
|
columnId: nullishToOptional(z40.string()),
|
|
1952
1956
|
// Token spreadsheet
|
|
1953
1957
|
theme: nullishToOptional(PageBlockTheme),
|
|
1958
|
+
swatches: nullishToOptional(PageBlockSwatch.array()),
|
|
1954
1959
|
blacklistedElementProperties: nullishToOptional(z40.array(z40.string())),
|
|
1955
1960
|
// Arbitrary
|
|
1956
1961
|
userMetadata: nullishToOptional(z40.string())
|
|
@@ -2439,9 +2444,14 @@ var PageBlockItemStorybookValue = z44.object({
|
|
|
2439
2444
|
var PageBlockItemTextValue = z44.object({
|
|
2440
2445
|
value: z44.string()
|
|
2441
2446
|
});
|
|
2447
|
+
var PageBlockItemSwatch = z44.object({
|
|
2448
|
+
id: z44.string(),
|
|
2449
|
+
selectedThemeIds: z44.string().array()
|
|
2450
|
+
});
|
|
2442
2451
|
var PageBlockItemTokenValue = z44.object({
|
|
2443
2452
|
selectedPropertyIds: z44.array(z44.string()).optional(),
|
|
2444
2453
|
selectedThemeIds: z44.array(z44.string()).optional(),
|
|
2454
|
+
swatches: z44.array(PageBlockItemSwatch).optional(),
|
|
2445
2455
|
themeDisplayMode: PageBlockThemeDisplayMode.optional(),
|
|
2446
2456
|
value: z44.array(
|
|
2447
2457
|
z44.object({
|
|
@@ -5617,6 +5627,7 @@ export {
|
|
|
5617
5627
|
PageBlockItemSandboxValue,
|
|
5618
5628
|
PageBlockItemSingleSelectValue,
|
|
5619
5629
|
PageBlockItemStorybookValue,
|
|
5630
|
+
PageBlockItemSwatch,
|
|
5620
5631
|
PageBlockItemTableCell,
|
|
5621
5632
|
PageBlockItemTableImageNode,
|
|
5622
5633
|
PageBlockItemTableNode,
|
|
@@ -5637,6 +5648,7 @@ export {
|
|
|
5637
5648
|
PageBlockRenderCodeProperties,
|
|
5638
5649
|
PageBlockResourceFrameNodeReference,
|
|
5639
5650
|
PageBlockShortcut,
|
|
5651
|
+
PageBlockSwatch,
|
|
5640
5652
|
PageBlockTableCellAlignment,
|
|
5641
5653
|
PageBlockTableColumn,
|
|
5642
5654
|
PageBlockTableProperties,
|