@supernova-studio/model 0.47.71 → 0.47.73
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 +830 -692
- package/dist/index.d.ts +830 -692
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/elements/data/item-header-v1.ts +5 -6
- package/src/dsm/elements/data/item-header-v2.ts +5 -6
package/dist/index.js
CHANGED
|
@@ -1286,13 +1286,13 @@ var DocumentationItemHeaderImageScaleType = DocumentationItemHeaderImageScaleTyp
|
|
|
1286
1286
|
var DocumentationItemHeaderV1 = _zod.z.object({
|
|
1287
1287
|
description: _zod.z.string(),
|
|
1288
1288
|
alignment: DocumentationItemHeaderAlignmentSchema,
|
|
1289
|
-
foregroundColor:
|
|
1290
|
-
backgroundColor:
|
|
1291
|
-
backgroundImageAsset:
|
|
1289
|
+
foregroundColor: ColorTokenData.nullish(),
|
|
1290
|
+
backgroundColor: ColorTokenData.nullish(),
|
|
1291
|
+
backgroundImageAsset: PageBlockAsset.nullish(),
|
|
1292
1292
|
backgroundImageScaleType: DocumentationItemHeaderImageScaleTypeSchema,
|
|
1293
1293
|
showBackgroundOverlay: _zod.z.boolean(),
|
|
1294
1294
|
showCoverText: _zod.z.boolean(),
|
|
1295
|
-
minHeight:
|
|
1295
|
+
minHeight: _zod.z.number().nullish()
|
|
1296
1296
|
});
|
|
1297
1297
|
var defaultDocumentationItemHeaderV1 = {
|
|
1298
1298
|
alignment: DocumentationItemHeaderAlignment.Left,
|
|
@@ -1331,13 +1331,13 @@ var DocumentationPageDataV1 = _zod.z.object({
|
|
|
1331
1331
|
var DocumentationItemHeaderV2 = _zod.z.object({
|
|
1332
1332
|
description: _zod.z.string(),
|
|
1333
1333
|
alignment: DocumentationItemHeaderAlignmentSchema,
|
|
1334
|
-
foregroundColor:
|
|
1335
|
-
backgroundColor:
|
|
1336
|
-
backgroundImageAsset:
|
|
1334
|
+
foregroundColor: PageBlockColorV2.nullish(),
|
|
1335
|
+
backgroundColor: PageBlockColorV2.nullish(),
|
|
1336
|
+
backgroundImageAsset: PageBlockImageReference.nullish(),
|
|
1337
1337
|
backgroundImageScaleType: DocumentationItemHeaderImageScaleTypeSchema,
|
|
1338
1338
|
showBackgroundOverlay: _zod.z.boolean(),
|
|
1339
1339
|
showCoverText: _zod.z.boolean(),
|
|
1340
|
-
minHeight:
|
|
1340
|
+
minHeight: _zod.z.number().nullish()
|
|
1341
1341
|
});
|
|
1342
1342
|
var defaultDocumentationItemHeaderV2 = {
|
|
1343
1343
|
alignment: DocumentationItemHeaderAlignment.Left,
|