@supernova-studio/model 0.30.0 → 0.31.0
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 +1163 -5917
- package/dist/index.d.ts +1163 -5917
- package/dist/index.js +6 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -23
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
- package/src/dsm/documentation/block-definitions/aux.ts +1 -0
- package/src/dsm/documentation/block-definitions/item.ts +1 -0
- package/src/dsm/elements/data/documentation-block-v1.ts +1 -1
- package/src/dsm/elements/data/documentation-block-v2.ts +1 -1
- package/src/dsm/elements/data/documentation-page-v1.ts +0 -5
- package/src/dsm/elements/data/documentation-page-v2.ts +0 -5
- package/src/dsm/elements/data/group.ts +0 -10
package/dist/index.mjs
CHANGED
|
@@ -1019,10 +1019,10 @@ var PageBlockItemEmbedValue = z35.object({
|
|
|
1019
1019
|
}).optional()
|
|
1020
1020
|
});
|
|
1021
1021
|
var PageBlockItemFigmaNodeValue = z35.object({
|
|
1022
|
-
selectedPropertyIds: z35.array(z35.string()).optional(),
|
|
1023
1022
|
showSearch: z35.boolean().optional(),
|
|
1024
1023
|
previewContainerSize: PageBlockPreviewContainerSize.optional(),
|
|
1025
1024
|
backgroundColor: PageBlockColorV2.optional(),
|
|
1025
|
+
showFrameDetails: z35.boolean().optional(),
|
|
1026
1026
|
value: z35.array(
|
|
1027
1027
|
z35.object({
|
|
1028
1028
|
entityId: z35.string(),
|
|
@@ -1176,10 +1176,6 @@ var DocumentationPageDataV1 = z39.object({
|
|
|
1176
1176
|
blocks: z39.array(PageBlockV1),
|
|
1177
1177
|
configuration: nullishToOptional(DocumentationItemConfigurationV1)
|
|
1178
1178
|
});
|
|
1179
|
-
var DocumentationPageElementDataV1 = z39.object({
|
|
1180
|
-
dataVersion: z39.literal(1).optional().default(1),
|
|
1181
|
-
value: DocumentationPageDataV1
|
|
1182
|
-
});
|
|
1183
1179
|
|
|
1184
1180
|
// src/dsm/elements/data/documentation-page-v2.ts
|
|
1185
1181
|
import { z as z42 } from "zod";
|
|
@@ -1222,10 +1218,6 @@ var defaultDocumentationItemConfigurationV2 = {
|
|
|
1222
1218
|
var DocumentationPageDataV2 = z42.object({
|
|
1223
1219
|
configuration: nullishToOptional(DocumentationItemConfigurationV2)
|
|
1224
1220
|
});
|
|
1225
|
-
var DocumentationPageElementDataV2 = z42.object({
|
|
1226
|
-
value: DocumentationPageDataV1,
|
|
1227
|
-
valueV2: DocumentationPageDataV2.optional()
|
|
1228
|
-
});
|
|
1229
1221
|
|
|
1230
1222
|
// src/dsm/elements/data/documentation-section-v2.ts
|
|
1231
1223
|
import { z as z45 } from "zod";
|
|
@@ -1414,18 +1406,10 @@ var GradientTokenData = tokenAliasOrValue(GradientTokenValue);
|
|
|
1414
1406
|
// src/dsm/elements/data/group.ts
|
|
1415
1407
|
import { z as z53 } from "zod";
|
|
1416
1408
|
var DocumentationGroupBehavior = z53.enum(["Group", "Tabs"]);
|
|
1417
|
-
var ElementGroupDataDeprecated = z53.object({
|
|
1418
|
-
behavior: nullishToOptional(DocumentationGroupBehavior.optional()),
|
|
1419
|
-
configuration: nullishToOptional(DocumentationItemConfigurationV1)
|
|
1420
|
-
});
|
|
1421
1409
|
var ElementGroupDataV2 = z53.object({
|
|
1422
1410
|
behavior: nullishToOptional(DocumentationGroupBehavior.optional()),
|
|
1423
1411
|
configuration: nullishToOptional(DocumentationItemConfigurationV2)
|
|
1424
1412
|
});
|
|
1425
|
-
var ElementGroupElementData = z53.object({
|
|
1426
|
-
value: ElementGroupDataDeprecated.optional(),
|
|
1427
|
-
valueV2: ElementGroupDataV2.optional()
|
|
1428
|
-
});
|
|
1429
1413
|
|
|
1430
1414
|
// src/dsm/elements/data/letter-spacing.ts
|
|
1431
1415
|
import { z as z54 } from "zod";
|
|
@@ -2182,7 +2166,8 @@ import { z as z89 } from "zod";
|
|
|
2182
2166
|
var PageBlockDefinitionAppearance = z89.object({
|
|
2183
2167
|
isBordered: z89.boolean().optional(),
|
|
2184
2168
|
hasBackground: z89.boolean().optional(),
|
|
2185
|
-
isEditorPresentationDifferent: z89.boolean().optional()
|
|
2169
|
+
isEditorPresentationDifferent: z89.boolean().optional(),
|
|
2170
|
+
showBlockHeaderInEditor: z89.boolean().optional()
|
|
2186
2171
|
});
|
|
2187
2172
|
|
|
2188
2173
|
// src/dsm/documentation/block-definitions/definition.ts
|
|
@@ -2268,7 +2253,8 @@ var PageBlockDefinitionTextPropertyStyle = z91.enum([
|
|
|
2268
2253
|
"DefaultSemibold",
|
|
2269
2254
|
"Small",
|
|
2270
2255
|
"SmallBold",
|
|
2271
|
-
"SmallSemibold"
|
|
2256
|
+
"SmallSemibold",
|
|
2257
|
+
"Custom"
|
|
2272
2258
|
]);
|
|
2273
2259
|
var PageBlockDefinitionTextPropertyColor = z91.enum(["Neutral", "NeutralFaded"]);
|
|
2274
2260
|
var PageBlockDefinitionBooleanPropertyStyle = z91.enum(["SegmentedControl", "ToggleButton", "Checkbox"]);
|
|
@@ -4109,8 +4095,6 @@ export {
|
|
|
4109
4095
|
DocumentationPageContentItem,
|
|
4110
4096
|
DocumentationPageDataV1,
|
|
4111
4097
|
DocumentationPageDataV2,
|
|
4112
|
-
DocumentationPageElementDataV1,
|
|
4113
|
-
DocumentationPageElementDataV2,
|
|
4114
4098
|
DocumentationPageGroup,
|
|
4115
4099
|
DocumentationPageRoom,
|
|
4116
4100
|
DocumentationPageRoomInitialStateUpdate,
|
|
@@ -4122,9 +4106,7 @@ export {
|
|
|
4122
4106
|
DurationUnit,
|
|
4123
4107
|
DurationValue,
|
|
4124
4108
|
ElementGroup,
|
|
4125
|
-
ElementGroupDataDeprecated,
|
|
4126
4109
|
ElementGroupDataV2,
|
|
4127
|
-
ElementGroupElementData,
|
|
4128
4110
|
ElementPropertyDefinition,
|
|
4129
4111
|
ElementPropertyDefinitionOption,
|
|
4130
4112
|
ElementPropertyLinkType,
|
|
@@ -4255,6 +4237,7 @@ export {
|
|
|
4255
4237
|
PageBlockAssetComponent,
|
|
4256
4238
|
PageBlockAssetEntityMeta,
|
|
4257
4239
|
PageBlockAssetType,
|
|
4240
|
+
PageBlockBaseV1,
|
|
4258
4241
|
PageBlockBehaviorDataType,
|
|
4259
4242
|
PageBlockBehaviorSelectionType,
|
|
4260
4243
|
PageBlockCalloutType,
|