@supernova-studio/model 0.10.2 → 0.12.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.mjs CHANGED
@@ -633,7 +633,7 @@ function nullishToOptional(type) {
633
633
  }
634
634
 
635
635
  // src/dsm/elements/data/documentation-block-v1.ts
636
- var PageBlockCalloutType = z32.enum(["Info", "Success", "Warning", "Error"]);
636
+ var PageBlockCalloutType = z32.enum(["Info", "Primary", "Success", "Warning", "Error"]);
637
637
  var PageBlockTypeV1 = z32.enum([
638
638
  "Text",
639
639
  "Heading",
@@ -884,8 +884,9 @@ var PageBlockImageAlignment = z33.enum(["Left", "Center", "Stretch"]);
884
884
  var PageBlockTableCellAlignment = z33.enum(["Left", "Center", "Right"]);
885
885
  var PageBlockPreviewContainerSize = z33.enum(["Centered", "NaturalHeight"]);
886
886
  var PageBlockThemeDisplayMode = z33.enum(["Split", "Override"]);
887
+ var PageBlockColorV2 = z33.string();
887
888
  var PageBlockAppearanceV2 = z33.object({
888
- itemBackgroundColor: ColorValue.optional(),
889
+ itemBackgroundColor: PageBlockColorV2.optional(),
889
890
  numberOfColumns: z33.number().optional()
890
891
  });
891
892
  var PageBlockItemUntypedValue = z33.object({
@@ -929,7 +930,7 @@ var PageBlockItemAssetValue = z33.object({
929
930
  selectedPropertyIds: z33.array(z33.string()).optional(),
930
931
  showSearch: z33.boolean().optional(),
931
932
  previewContainerSize: PageBlockPreviewContainerSize.optional(),
932
- backgroundColor: z33.string().optional(),
933
+ backgroundColor: PageBlockColorV2.optional(),
933
934
  value: z33.array(
934
935
  z33.object({
935
936
  entityId: z33.string(),
@@ -1114,12 +1115,12 @@ var SafeIdSchema = z34.string().refine(
1114
1115
  var DocumentationPageAssetType = z35.enum(["image", "figmaFrame"]);
1115
1116
  var DocumentationPageImageAsset = z35.object({
1116
1117
  type: z35.literal(DocumentationPageAssetType.Enum.image),
1117
- url: z35.string().url().optional(),
1118
+ url: z35.string().optional(),
1118
1119
  id: SafeIdSchema
1119
1120
  });
1120
1121
  var DocumentationPageFrameAsset = z35.object({
1121
1122
  type: z35.literal(DocumentationPageAssetType.Enum.figmaFrame),
1122
- url: z35.string().url().optional(),
1123
+ url: z35.string().optional(),
1123
1124
  figmaFrame: PageBlockFrame
1124
1125
  });
1125
1126
  var DocumentationPageAsset = z35.discriminatedUnion("type", [
@@ -3303,6 +3304,7 @@ export {
3303
3304
  PageBlockCalloutType,
3304
3305
  PageBlockCategory,
3305
3306
  PageBlockCodeLanguage,
3307
+ PageBlockColorV2,
3306
3308
  PageBlockCustomBlockPropertyImageValue,
3307
3309
  PageBlockCustomBlockPropertyValue,
3308
3310
  PageBlockDataV2,