@supernova-studio/client 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
@@ -1692,6 +1692,7 @@ var PageBlockCodeLanguage = z40.enum([
1692
1692
  ]);
1693
1693
  var PageBlockAlignment = z40.enum(["Left", "Center", "Stretch", "Right"]);
1694
1694
  var PageBlockThemeType = z40.enum(["Override", "Comparison"]);
1695
+ var PageBlockTokenNameFormat = z40.enum(["Name", "GroupAndName", "FullPath", "CustomProperty"]);
1695
1696
  var PageBlockAssetType = z40.enum(["image", "figmaFrame"]);
1696
1697
  var PageBlockTilesAlignment = z40.enum(["Center", "FrameHeight"]);
1697
1698
  var PageBlockTilesLayout = z40.enum(["C8", "C7", "C6", "C5", "C4", "C3", "C2", "C1", "C1_75"]);
@@ -1766,6 +1767,7 @@ var PageBlockFigmaFrameProperties = z40.object({
1766
1767
  })
1767
1768
  ),
1768
1769
  alignment: PageBlockTilesAlignment,
1770
+ previewContainerHeight: nullishToOptional(z40.number()),
1769
1771
  layout: PageBlockTilesLayout,
1770
1772
  backgroundColor: nullishToOptional(ColorTokenInlineData),
1771
1773
  showTitles: z40.boolean()
@@ -1797,8 +1799,17 @@ var PageBlockFigmaComponentBlockConfig = z40.object({
1797
1799
  showPropertyList: nullishToOptional(z40.boolean()),
1798
1800
  previewOrderIds: nullishToOptional(z40.array(z40.string())),
1799
1801
  previewContainerSize: nullishToOptional(z40.enum(["Centered", "NaturalHeight"])),
1802
+ previewContainerHeight: nullishToOptional(z40.number()),
1800
1803
  backgroundColor: nullishToOptional(ColorTokenInlineData)
1801
1804
  });
1805
+ var PageBlockTokenBlockConfig = z40.object({
1806
+ tokenNameFormat: nullishToOptional(PageBlockTokenNameFormat),
1807
+ tokenNameCustomPropertyId: nullishToOptional(z40.string())
1808
+ });
1809
+ var PageBlockAssetBlockConfig = z40.object({
1810
+ showSearch: nullishToOptional(z40.boolean()),
1811
+ showAssetDescription: nullishToOptional(z40.boolean())
1812
+ });
1802
1813
  var PageBlockSelectedFigmaComponent = z40.object({
1803
1814
  figmaComponentId: z40.string(),
1804
1815
  selectedComponentProperties: z40.string().array()
@@ -1829,7 +1840,9 @@ var PageBlockGuideline = z40.object({
1829
1840
  type: z40.string(),
1830
1841
  imageAlt: nullishToOptional(z40.string()),
1831
1842
  imageCaption: nullishToOptional(z40.string()),
1832
- imageAlignment: nullishToOptional(PageBlockAlignment)
1843
+ imageAlignment: nullishToOptional(PageBlockAlignment),
1844
+ openLightbox: nullishToOptional(z40.boolean()),
1845
+ isBordered: nullishToOptional(z40.boolean())
1833
1846
  });
1834
1847
  var PageBlockBaseV1 = z40.object({
1835
1848
  persistentId: z40.string(),
@@ -1856,6 +1869,8 @@ var PageBlockBaseV1 = z40.object({
1856
1869
  asset: nullishToOptional(PageBlockAsset),
1857
1870
  alignment: nullishToOptional(PageBlockAlignment),
1858
1871
  imageAlt: nullishToOptional(z40.string()),
1872
+ openLightbox: nullishToOptional(z40.boolean()),
1873
+ isBordered: nullishToOptional(z40.boolean()),
1859
1874
  // Shortcuts block
1860
1875
  shortcuts: nullishToOptional(z40.array(PageBlockShortcut)),
1861
1876
  // Guidelines
@@ -1877,10 +1892,13 @@ var PageBlockBaseV1 = z40.object({
1877
1892
  // Tables
1878
1893
  tableProperties: nullishToOptional(PageBlockTableProperties),
1879
1894
  columnId: nullishToOptional(z40.string()),
1880
- // Token spreadsheet
1895
+ // Design tokens
1881
1896
  theme: nullishToOptional(PageBlockTheme),
1882
1897
  swatches: nullishToOptional(PageBlockSwatch.array()),
1883
1898
  blacklistedElementProperties: nullishToOptional(z40.array(z40.string())),
1899
+ tokenBlockConfig: nullishToOptional(PageBlockTokenBlockConfig),
1900
+ // (Vector) assets
1901
+ assetBlockConfig: nullishToOptional(PageBlockAssetBlockConfig),
1884
1902
  // Figma components
1885
1903
  figmaComponentsBlockConfig: nullishToOptional(PageBlockFigmaComponentBlockConfig),
1886
1904
  selectedFigmaComponent: nullishToOptional(PageBlockSelectedFigmaComponent),
@@ -2178,7 +2196,6 @@ var PageBlockImageAlignment = z44.enum(["Left", "Center", "Stretch"]);
2178
2196
  var PageBlockTableCellAlignment = z44.enum(["Left", "Center", "Right"]);
2179
2197
  var PageBlockPreviewContainerSize = z44.enum(["Centered", "NaturalHeight"]);
2180
2198
  var PageBlockThemeDisplayMode = z44.enum(["Split", "Override"]);
2181
- var PageBlockTokenNameFormat = z44.enum(["Name", "GroupAndName", "FullPath", "CustomProperty"]);
2182
2199
  var PageBlockTokenValueFormat = z44.enum(["ResolvedValue", "ReferenceName", "NoValue"]);
2183
2200
  var PageBlockImageResourceReference = z44.object({
2184
2201
  resourceId: z44.string(),
@@ -2427,7 +2444,9 @@ var PageBlockItemTableImageNode = z44.object({
2427
2444
  caption: PageBlockItemImageValue.shape.caption,
2428
2445
  alt: PageBlockItemImageValue.shape.alt,
2429
2446
  value: PageBlockItemImageValue.shape.value,
2430
- alignment: PageBlockItemImageValue.shape.alignment
2447
+ alignment: PageBlockItemImageValue.shape.alignment,
2448
+ openLightbox: PageBlockItemImageValue.shape.openLightbox,
2449
+ isBordered: PageBlockItemImageValue.shape.isBordered
2431
2450
  });
2432
2451
  var PageBlockItemTableNode = z44.discriminatedUnion("type", [
2433
2452
  PageBlockItemTableRichTextNode,
@@ -13259,6 +13278,7 @@ export {
13259
13278
  ElementPropertyValuesEndpoint,
13260
13279
  ElementsActionEndpoint,
13261
13280
  ElementsEndpoint,
13281
+ ExporterJobsEndpoint,
13262
13282
  ExportersEndpoint,
13263
13283
  FigmaComponentGroupsEndpoint,
13264
13284
  FigmaComponentsEndpoint,