@supernova-studio/model 0.58.20 → 0.58.21

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
@@ -1831,6 +1831,7 @@ var PageBlockCodeLanguage = z40.enum([
1831
1831
  ]);
1832
1832
  var PageBlockAlignment = z40.enum(["Left", "Center", "Stretch", "Right"]);
1833
1833
  var PageBlockThemeType = z40.enum(["Override", "Comparison"]);
1834
+ var PageBlockTokenNameFormat = z40.enum(["Name", "GroupAndName", "FullPath", "CustomProperty"]);
1834
1835
  var PageBlockAssetType = z40.enum(["image", "figmaFrame"]);
1835
1836
  var PageBlockTilesAlignment = z40.enum(["Center", "FrameHeight"]);
1836
1837
  var PageBlockTilesLayout = z40.enum(["C8", "C7", "C6", "C5", "C4", "C3", "C2", "C1", "C1_75"]);
@@ -1905,6 +1906,7 @@ var PageBlockFigmaFrameProperties = z40.object({
1905
1906
  })
1906
1907
  ),
1907
1908
  alignment: PageBlockTilesAlignment,
1909
+ previewContainerHeight: nullishToOptional(z40.number()),
1908
1910
  layout: PageBlockTilesLayout,
1909
1911
  backgroundColor: nullishToOptional(ColorTokenInlineData),
1910
1912
  showTitles: z40.boolean()
@@ -1936,8 +1938,17 @@ var PageBlockFigmaComponentBlockConfig = z40.object({
1936
1938
  showPropertyList: nullishToOptional(z40.boolean()),
1937
1939
  previewOrderIds: nullishToOptional(z40.array(z40.string())),
1938
1940
  previewContainerSize: nullishToOptional(z40.enum(["Centered", "NaturalHeight"])),
1941
+ previewContainerHeight: nullishToOptional(z40.number()),
1939
1942
  backgroundColor: nullishToOptional(ColorTokenInlineData)
1940
1943
  });
1944
+ var PageBlockTokenBlockConfig = z40.object({
1945
+ tokenNameFormat: nullishToOptional(PageBlockTokenNameFormat),
1946
+ tokenNameCustomPropertyId: nullishToOptional(z40.string())
1947
+ });
1948
+ var PageBlockAssetBlockConfig = z40.object({
1949
+ showSearch: nullishToOptional(z40.boolean()),
1950
+ showAssetDescription: nullishToOptional(z40.boolean())
1951
+ });
1941
1952
  var PageBlockSelectedFigmaComponent = z40.object({
1942
1953
  figmaComponentId: z40.string(),
1943
1954
  selectedComponentProperties: z40.string().array()
@@ -1968,7 +1979,9 @@ var PageBlockGuideline = z40.object({
1968
1979
  type: z40.string(),
1969
1980
  imageAlt: nullishToOptional(z40.string()),
1970
1981
  imageCaption: nullishToOptional(z40.string()),
1971
- imageAlignment: nullishToOptional(PageBlockAlignment)
1982
+ imageAlignment: nullishToOptional(PageBlockAlignment),
1983
+ openLightbox: nullishToOptional(z40.boolean()),
1984
+ isBordered: nullishToOptional(z40.boolean())
1972
1985
  });
1973
1986
  var PageBlockBaseV1 = z40.object({
1974
1987
  persistentId: z40.string(),
@@ -1995,6 +2008,8 @@ var PageBlockBaseV1 = z40.object({
1995
2008
  asset: nullishToOptional(PageBlockAsset),
1996
2009
  alignment: nullishToOptional(PageBlockAlignment),
1997
2010
  imageAlt: nullishToOptional(z40.string()),
2011
+ openLightbox: nullishToOptional(z40.boolean()),
2012
+ isBordered: nullishToOptional(z40.boolean()),
1998
2013
  // Shortcuts block
1999
2014
  shortcuts: nullishToOptional(z40.array(PageBlockShortcut)),
2000
2015
  // Guidelines
@@ -2016,10 +2031,13 @@ var PageBlockBaseV1 = z40.object({
2016
2031
  // Tables
2017
2032
  tableProperties: nullishToOptional(PageBlockTableProperties),
2018
2033
  columnId: nullishToOptional(z40.string()),
2019
- // Token spreadsheet
2034
+ // Design tokens
2020
2035
  theme: nullishToOptional(PageBlockTheme),
2021
2036
  swatches: nullishToOptional(PageBlockSwatch.array()),
2022
2037
  blacklistedElementProperties: nullishToOptional(z40.array(z40.string())),
2038
+ tokenBlockConfig: nullishToOptional(PageBlockTokenBlockConfig),
2039
+ // (Vector) assets
2040
+ assetBlockConfig: nullishToOptional(PageBlockAssetBlockConfig),
2023
2041
  // Figma components
2024
2042
  figmaComponentsBlockConfig: nullishToOptional(PageBlockFigmaComponentBlockConfig),
2025
2043
  selectedFigmaComponent: nullishToOptional(PageBlockSelectedFigmaComponent),
@@ -2339,7 +2357,6 @@ var PageBlockImageAlignment = z44.enum(["Left", "Center", "Stretch"]);
2339
2357
  var PageBlockTableCellAlignment = z44.enum(["Left", "Center", "Right"]);
2340
2358
  var PageBlockPreviewContainerSize = z44.enum(["Centered", "NaturalHeight"]);
2341
2359
  var PageBlockThemeDisplayMode = z44.enum(["Split", "Override"]);
2342
- var PageBlockTokenNameFormat = z44.enum(["Name", "GroupAndName", "FullPath", "CustomProperty"]);
2343
2360
  var PageBlockTokenValueFormat = z44.enum(["ResolvedValue", "ReferenceName", "NoValue"]);
2344
2361
  var PageBlockImageResourceReference = z44.object({
2345
2362
  resourceId: z44.string(),
@@ -2588,7 +2605,9 @@ var PageBlockItemTableImageNode = z44.object({
2588
2605
  caption: PageBlockItemImageValue.shape.caption,
2589
2606
  alt: PageBlockItemImageValue.shape.alt,
2590
2607
  value: PageBlockItemImageValue.shape.value,
2591
- alignment: PageBlockItemImageValue.shape.alignment
2608
+ alignment: PageBlockItemImageValue.shape.alignment,
2609
+ openLightbox: PageBlockItemImageValue.shape.openLightbox,
2610
+ isBordered: PageBlockItemImageValue.shape.isBordered
2592
2611
  });
2593
2612
  var PageBlockItemTableNode = z44.discriminatedUnion("type", [
2594
2613
  PageBlockItemTableRichTextNode,
@@ -5805,6 +5824,7 @@ export {
5805
5824
  PageBlockAlignment,
5806
5825
  PageBlockAppearanceV2,
5807
5826
  PageBlockAsset,
5827
+ PageBlockAssetBlockConfig,
5808
5828
  PageBlockAssetComponent,
5809
5829
  PageBlockAssetEntityMeta,
5810
5830
  PageBlockAssetType,
@@ -5927,6 +5947,7 @@ export {
5927
5947
  PageBlockThemeType,
5928
5948
  PageBlockTilesAlignment,
5929
5949
  PageBlockTilesLayout,
5950
+ PageBlockTokenBlockConfig,
5930
5951
  PageBlockTokenNameFormat,
5931
5952
  PageBlockTokenValueFormat,
5932
5953
  PageBlockTypeV1,