@supernova-studio/client 0.23.0 → 0.25.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.
@@ -19,7 +19,6 @@ const blocks: PageBlockDefinition[] = [
19
19
  name: "Text",
20
20
  type: "RichText",
21
21
  options: {
22
- placeholder: "Start writing with plain text",
23
22
  richTextStyle: "Default",
24
23
  },
25
24
  },
@@ -73,7 +72,7 @@ const blocks: PageBlockDefinition[] = [
73
72
  name: "Title 1",
74
73
  description: "Main sections within the page",
75
74
  category: "Text",
76
- searchKeywords: ["heading"],
75
+ searchKeywords: ["heading", "h1"],
77
76
  item: {
78
77
  properties: [
79
78
  {
@@ -135,7 +134,7 @@ const blocks: PageBlockDefinition[] = [
135
134
  name: "Title 2",
136
135
  description: "Section subheadings",
137
136
  category: "Text",
138
- searchKeywords: ["heading"],
137
+ searchKeywords: ["heading", "h2"],
139
138
  item: {
140
139
  properties: [
141
140
  {
@@ -197,7 +196,7 @@ const blocks: PageBlockDefinition[] = [
197
196
  name: "Title 3",
198
197
  description: "Further subsections",
199
198
  category: "Text",
200
- searchKeywords: ["heading"],
199
+ searchKeywords: ["heading", "h3"],
201
200
  item: {
202
201
  properties: [
203
202
  {
@@ -259,7 +258,7 @@ const blocks: PageBlockDefinition[] = [
259
258
  name: "Title 4",
260
259
  description: "Details in subsections",
261
260
  category: "Text",
262
- searchKeywords: ["heading"],
261
+ searchKeywords: ["heading", "h4"],
263
262
  item: {
264
263
  properties: [
265
264
  {
@@ -321,7 +320,7 @@ const blocks: PageBlockDefinition[] = [
321
320
  name: "Title 5",
322
321
  description: "Nuanced details or sub-points",
323
322
  category: "Text",
324
- searchKeywords: ["heading"],
323
+ searchKeywords: ["heading", "h5"],
325
324
  item: {
326
325
  properties: [
327
326
  {
@@ -444,7 +443,7 @@ const blocks: PageBlockDefinition[] = [
444
443
  name: "Unordered list",
445
444
  description: "A list with bullet points",
446
445
  category: "Text",
447
- searchKeywords: ["ul"],
446
+ searchKeywords: ["ul", "bullet points"],
448
447
  item: {
449
448
  properties: [
450
449
  {
@@ -572,7 +571,7 @@ const blocks: PageBlockDefinition[] = [
572
571
  name: "Text",
573
572
  type: "RichText",
574
573
  options: {
575
- placeholder: "Empty quote",
574
+ placeholder: "Write a quote...",
576
575
  richTextStyle: "Quote",
577
576
  },
578
577
  },
@@ -634,6 +633,7 @@ const blocks: PageBlockDefinition[] = [
634
633
  name: "Text",
635
634
  type: "RichText",
636
635
  options: {
636
+ placeholder: "Highlight some information...",
637
637
  richTextStyle: "Callout",
638
638
  },
639
639
  },
@@ -752,29 +752,11 @@ const blocks: PageBlockDefinition[] = [
752
752
  searchKeywords: [],
753
753
  item: {
754
754
  properties: [
755
- {
756
- id: "block.links.property.title",
757
- name: "Title",
758
- type: "Text",
759
- options: {
760
- textStyle: "Title5",
761
- },
762
- },
763
- {
764
- id: "block.links.property.description",
765
- name: "Short description",
766
- type: "Text",
767
- options: {
768
- textStyle: "Default",
769
- color: "NeutralFaded",
770
- },
771
- },
772
755
  {
773
756
  id: "block.links.property.image",
774
757
  name: "Image",
775
758
  type: "Image",
776
759
  options: {
777
- width: "Medium",
778
760
  aspectRatio: "Landscape",
779
761
  allowCaption: false,
780
762
  },
@@ -789,6 +771,25 @@ const blocks: PageBlockDefinition[] = [
789
771
  },
790
772
  },
791
773
  },
774
+ {
775
+ id: "block.links.property.title",
776
+ name: "Title",
777
+ type: "Text",
778
+ options: {
779
+ textStyle: "Title5",
780
+ placeholder: "Add title",
781
+ },
782
+ },
783
+ {
784
+ id: "block.links.property.description",
785
+ name: "Short description",
786
+ type: "Text",
787
+ options: {
788
+ textStyle: "Default",
789
+ color: "NeutralFaded",
790
+ placeholder: "Add description",
791
+ },
792
+ },
792
793
  ],
793
794
  appearance: {
794
795
  isBordered: false,
@@ -798,7 +799,7 @@ const blocks: PageBlockDefinition[] = [
798
799
  {
799
800
  id: "imageOnTop",
800
801
  name: "Image on top",
801
- image: "assets/variant-image-on-top.png",
802
+ image: "https://cdn-assets.supernova.io/blocks/variants/shortcuts-image-on-top.svg",
802
803
  layout: {
803
804
  type: "Column",
804
805
  children: ["block.links.property.image", "block.links.property.title", "block.links.property.description"],
@@ -817,7 +818,7 @@ const blocks: PageBlockDefinition[] = [
817
818
  {
818
819
  id: "imageOnLeft",
819
820
  name: "Image on left",
820
- image: "assets/variant-image-on-left.png",
821
+ image: "https://cdn-assets.supernova.io/blocks/variants/shortcuts-leading-image.svg",
821
822
  layout: {
822
823
  type: "Row",
823
824
  children: [
@@ -851,7 +852,7 @@ const blocks: PageBlockDefinition[] = [
851
852
  {
852
853
  id: "iconOnTop",
853
854
  name: "Icon on top",
854
- image: "assets/variant-icon-on-top.png",
855
+ image: "https://cdn-assets.supernova.io/blocks/variants/shortcuts-icon-on-top.svg",
855
856
  layout: {
856
857
  type: "Column",
857
858
  children: ["block.links.property.image", "block.links.property.title", "block.links.property.description"],
@@ -870,7 +871,7 @@ const blocks: PageBlockDefinition[] = [
870
871
  {
871
872
  id: "iconOnLeft",
872
873
  name: "Icon on left",
873
- image: "assets/variant-icon-on-left.png",
874
+ image: "https://cdn-assets.supernova.io/blocks/variants/shortcuts-leading-icon.svg",
874
875
  layout: {
875
876
  type: "Row",
876
877
  children: [
@@ -971,8 +972,8 @@ const blocks: PageBlockDefinition[] = [
971
972
  behavior: {
972
973
  dataType: "Token",
973
974
  entities: {
974
- selectionType: "Group",
975
- maxSelected: 2,
975
+ selectionType: "EntityAndGroup",
976
+ maxSelected: 0,
976
977
  },
977
978
  },
978
979
  editorOptions: {
@@ -1129,8 +1130,23 @@ const blocks: PageBlockDefinition[] = [
1129
1130
  name: "Lottie URL",
1130
1131
  type: "URL",
1131
1132
  options: {
1132
- urlValidationRegex:
1133
- "^(https?:\\/\\/)?([\\w\\d\\-\\.]+)\\.([\\w]+)(\\/[\\w\\d_\\-\\.\\/]*)?(\\.json|\\.lottie)$\n",
1133
+ urlValidationRegex: "^(http|https)://.*.(json|lottie)$",
1134
+ },
1135
+ },
1136
+ {
1137
+ id: "height",
1138
+ name: "Height",
1139
+ type: "Number",
1140
+ options: {
1141
+ defaultValue: 270,
1142
+ },
1143
+ },
1144
+ {
1145
+ id: "width",
1146
+ name: "Width",
1147
+ type: "Number",
1148
+ options: {
1149
+ defaultValue: 400,
1134
1150
  },
1135
1151
  },
1136
1152
  {
@@ -1149,6 +1165,14 @@ const blocks: PageBlockDefinition[] = [
1149
1165
  defaultValue: true,
1150
1166
  },
1151
1167
  },
1168
+ {
1169
+ id: "playerControls",
1170
+ name: "Show player controls",
1171
+ type: "Boolean",
1172
+ options: {
1173
+ defaultValue: true,
1174
+ },
1175
+ },
1152
1176
  ],
1153
1177
  appearance: {
1154
1178
  isBordered: false,
@@ -1158,9 +1182,10 @@ const blocks: PageBlockDefinition[] = [
1158
1182
  {
1159
1183
  id: "default",
1160
1184
  name: "Default",
1185
+ image: "https://cdn-assets.supernova.io/blocks/variants/lottie.svg",
1161
1186
  layout: {
1162
1187
  type: "Column",
1163
- children: ["url", "autoplay", "loop"],
1188
+ children: ["url", "height", "width", "autoplay", "loop", "playerControls"],
1164
1189
  columnAlign: "Start",
1165
1190
  columnResizing: "Fill",
1166
1191
  gap: "Medium",
@@ -1170,7 +1195,7 @@ const blocks: PageBlockDefinition[] = [
1170
1195
  appearance: {
1171
1196
  isBordered: false,
1172
1197
  hasBackground: false,
1173
- isEditorPresentationDifferent: false,
1198
+ isEditorPresentationDifferent: true,
1174
1199
  },
1175
1200
  },
1176
1201
  ],
@@ -1334,7 +1359,9 @@ const blocks: PageBlockDefinition[] = [
1334
1359
  id: "markdownUrl",
1335
1360
  name: "Markdown URL",
1336
1361
  type: "Markdown",
1337
- options: {},
1362
+ options: {
1363
+ urlValidationRegex: "^(https?://)?(www.)?.+.md$",
1364
+ },
1338
1365
  },
1339
1366
  ],
1340
1367
  appearance: {
@@ -1345,7 +1372,7 @@ const blocks: PageBlockDefinition[] = [
1345
1372
  {
1346
1373
  id: "plain",
1347
1374
  name: "Plain",
1348
- image: "assets/variant-plain.png",
1375
+ image: "https://cdn-assets.supernova.io/blocks/variants/markdown-plain.svg",
1349
1376
  layout: {
1350
1377
  type: "Column",
1351
1378
  children: ["markdownUrl"],
@@ -1364,7 +1391,7 @@ const blocks: PageBlockDefinition[] = [
1364
1391
  {
1365
1392
  id: "bordered",
1366
1393
  name: "Bordered",
1367
- image: "assets/variant-Bordered.png",
1394
+ image: "https://cdn-assets.supernova.io/blocks/variants/markdown-bordered.svg",
1368
1395
  layout: {
1369
1396
  type: "Column",
1370
1397
  children: ["markdownUrl"],
@@ -1383,7 +1410,7 @@ const blocks: PageBlockDefinition[] = [
1383
1410
  {
1384
1411
  id: "boxed",
1385
1412
  name: "Boxed",
1386
- image: "assets/variant-boxed.png",
1413
+ image: "https://cdn-assets.supernova.io/blocks/variants/markdown-boxed.svg",
1387
1414
  layout: {
1388
1415
  type: "Column",
1389
1416
  children: ["markdownUrl"],
@@ -1495,7 +1522,7 @@ const blocks: PageBlockDefinition[] = [
1495
1522
  options: {
1496
1523
  renderLayoutAs: "List",
1497
1524
  defaultTheme: "none",
1498
- defaultValuePreview: "splitView",
1525
+ defaultValuePreview: "Split",
1499
1526
  },
1500
1527
  },
1501
1528
  ],
@@ -1506,8 +1533,8 @@ const blocks: PageBlockDefinition[] = [
1506
1533
  variants: [
1507
1534
  {
1508
1535
  id: "table",
1509
- name: "Table Row",
1510
- image: "assets/variant-table.png",
1536
+ name: "Table row",
1537
+ image: "https://cdn-assets.supernova.io/blocks/variants/tokens-table.svg",
1511
1538
  layout: {
1512
1539
  type: "Column",
1513
1540
  children: ["tokens"],
@@ -1525,8 +1552,8 @@ const blocks: PageBlockDefinition[] = [
1525
1552
  },
1526
1553
  {
1527
1554
  id: "grid",
1528
- name: "Grid Item",
1529
- image: "assets/variant-grid.png",
1555
+ name: "Grid item",
1556
+ image: "https://cdn-assets.supernova.io/blocks/variants/tokens-grid.svg",
1530
1557
  layout: {
1531
1558
  type: "Column",
1532
1559
  children: ["tokens"],
@@ -1545,7 +1572,7 @@ const blocks: PageBlockDefinition[] = [
1545
1572
  {
1546
1573
  id: "color-stack",
1547
1574
  name: "Color stack item",
1548
- image: "assets/variant-color-stack.png",
1575
+ image: "https://cdn-assets.supernova.io/blocks/variants/tokens-color-stack.svg",
1549
1576
  layout: {
1550
1577
  type: "Column",
1551
1578
  children: ["tokens"],
@@ -1588,7 +1615,7 @@ const blocks: PageBlockDefinition[] = [
1588
1615
  name: "Token list",
1589
1616
  description: "Show a list of design tokens",
1590
1617
  category: "Tokens",
1591
- searchKeywords: ["color", "typography", "spacing", "grid", "material", "theme", "accessibility", "contrast"],
1618
+ searchKeywords: ["color", "typography", "spacing", "grid", "material", "theme"],
1592
1619
  item: {
1593
1620
  properties: [
1594
1621
  {
@@ -1598,7 +1625,7 @@ const blocks: PageBlockDefinition[] = [
1598
1625
  options: {
1599
1626
  renderLayoutAs: "List",
1600
1627
  defaultTheme: "none",
1601
- defaultValuePreview: "splitView",
1628
+ defaultValuePreview: "Split",
1602
1629
  },
1603
1630
  variantOptions: {
1604
1631
  grid: {
@@ -1615,7 +1642,7 @@ const blocks: PageBlockDefinition[] = [
1615
1642
  {
1616
1643
  id: "table",
1617
1644
  name: "Table",
1618
- image: "assets/variant-table.png",
1645
+ image: "https://cdn-assets.supernova.io/blocks/variants/tokens-table.svg",
1619
1646
  layout: {
1620
1647
  type: "Column",
1621
1648
  children: ["tokens"],
@@ -1634,7 +1661,7 @@ const blocks: PageBlockDefinition[] = [
1634
1661
  {
1635
1662
  id: "grid",
1636
1663
  name: "Grid",
1637
- image: "assets/variant-grid.png",
1664
+ image: "https://cdn-assets.supernova.io/blocks/variants/tokens-grid.svg",
1638
1665
  layout: {
1639
1666
  type: "Column",
1640
1667
  children: ["tokens"],
@@ -1653,26 +1680,7 @@ const blocks: PageBlockDefinition[] = [
1653
1680
  {
1654
1681
  id: "color-stack",
1655
1682
  name: "Color stack",
1656
- image: "assets/variant-color-stack.png",
1657
- layout: {
1658
- type: "Column",
1659
- children: ["tokens"],
1660
- columnAlign: "Start",
1661
- columnResizing: "Fill",
1662
- gap: "Medium",
1663
- },
1664
- maxColumns: 1,
1665
- defaultColumns: 1,
1666
- appearance: {
1667
- isBordered: false,
1668
- hasBackground: false,
1669
- isEditorPresentationDifferent: false,
1670
- },
1671
- },
1672
- {
1673
- id: "color-contrast-grid",
1674
- name: "Color contrast grid",
1675
- image: "assets/variant-color-contrast-grid.png",
1683
+ image: "https://cdn-assets.supernova.io/blocks/variants/tokens-color-stack.svg",
1676
1684
  layout: {
1677
1685
  type: "Column",
1678
1686
  children: ["tokens"],
@@ -1716,7 +1724,7 @@ const blocks: PageBlockDefinition[] = [
1716
1724
  name: "Token group",
1717
1725
  description: "Show a group of design tokens",
1718
1726
  category: "Tokens",
1719
- searchKeywords: ["color", "typography", "spacing", "grid", "material", "theme", "accessibility", "contrast"],
1727
+ searchKeywords: ["color", "typography", "spacing", "grid", "material", "theme"],
1720
1728
  item: {
1721
1729
  properties: [
1722
1730
  {
@@ -1726,7 +1734,7 @@ const blocks: PageBlockDefinition[] = [
1726
1734
  options: {
1727
1735
  renderLayoutAs: "List",
1728
1736
  defaultTheme: "none",
1729
- defaultValuePreview: "splitView",
1737
+ defaultValuePreview: "Split",
1730
1738
  },
1731
1739
  variantOptions: {
1732
1740
  grid: {
@@ -1743,7 +1751,7 @@ const blocks: PageBlockDefinition[] = [
1743
1751
  {
1744
1752
  id: "table",
1745
1753
  name: "Table",
1746
- image: "assets/variant-table.png",
1754
+ image: "https://cdn-assets.supernova.io/blocks/variants/tokens-table.svg",
1747
1755
  layout: {
1748
1756
  type: "Column",
1749
1757
  children: ["tokens"],
@@ -1762,7 +1770,7 @@ const blocks: PageBlockDefinition[] = [
1762
1770
  {
1763
1771
  id: "grid",
1764
1772
  name: "Grid",
1765
- image: "assets/variant-grid.png",
1773
+ image: "https://cdn-assets.supernova.io/blocks/variants/tokens-grid.svg",
1766
1774
  layout: {
1767
1775
  type: "Column",
1768
1776
  children: ["tokens"],
@@ -1781,7 +1789,7 @@ const blocks: PageBlockDefinition[] = [
1781
1789
  {
1782
1790
  id: "color-stack",
1783
1791
  name: "Color stack",
1784
- image: "assets/variant-color-stack.png",
1792
+ image: "https://cdn-assets.supernova.io/blocks/variants/tokens-color-stack.svg",
1785
1793
  layout: {
1786
1794
  type: "Column",
1787
1795
  children: ["tokens"],
@@ -1797,25 +1805,6 @@ const blocks: PageBlockDefinition[] = [
1797
1805
  isEditorPresentationDifferent: false,
1798
1806
  },
1799
1807
  },
1800
- {
1801
- id: "color-contrast-grid",
1802
- name: "Color contrast grid",
1803
- image: "assets/variant-color-contrast-grid.png",
1804
- layout: {
1805
- type: "Column",
1806
- children: ["tokens"],
1807
- columnAlign: "Start",
1808
- columnResizing: "Fill",
1809
- gap: "Medium",
1810
- },
1811
- maxColumns: 1,
1812
- defaultColumns: 1,
1813
- appearance: {
1814
- isBordered: false,
1815
- hasBackground: false,
1816
- isEditorPresentationDifferent: false,
1817
- },
1818
- },
1819
1808
  ],
1820
1809
  defaultVariantKey: "table",
1821
1810
  },
@@ -1828,8 +1817,7 @@ const blocks: PageBlockDefinition[] = [
1828
1817
  },
1829
1818
  editorOptions: {
1830
1819
  onboarding: {
1831
- helpText:
1832
- "Show a group of design tokens. You can use this block to create a list of colors, typography, spacing, grid, or any other token type.",
1820
+ helpText: "Show a group of design tokens. Automatically display all subgroups too.",
1833
1821
  documentationLink:
1834
1822
  "https://learn.supernova.io/latest/documentation/types-of-blocks/token/tokens/general-84NRgxGl#section-token-group-09",
1835
1823
  },
@@ -1933,7 +1921,7 @@ const blocks: PageBlockDefinition[] = [
1933
1921
  {
1934
1922
  id: "codeBottom",
1935
1923
  name: "Full width, code bottom",
1936
- image: "thumbnails/RenderCode_CodeBottom.png",
1924
+ image: "https://cdn-assets.supernova.io/blocks/variants/react-code-bottom.svg",
1937
1925
  description: "Full-width block of code, with a preview on top.",
1938
1926
  layout: {
1939
1927
  type: "Column",
@@ -1953,7 +1941,7 @@ const blocks: PageBlockDefinition[] = [
1953
1941
  {
1954
1942
  id: "codeTop",
1955
1943
  name: "Full width, code top",
1956
- image: "thumbnails/RenderCode_CodeTop.png",
1944
+ image: "https://cdn-assets.supernova.io/blocks/variants/react-code-top.svg",
1957
1945
  description: "Full-width block of code, with a preview on bottom.",
1958
1946
  layout: {
1959
1947
  type: "Column",
@@ -1973,7 +1961,7 @@ const blocks: PageBlockDefinition[] = [
1973
1961
  {
1974
1962
  id: "codeLeft",
1975
1963
  name: "Side by side, code left",
1976
- image: "thumbnails/RenderCode_CodeLeft.png",
1964
+ image: "https://cdn-assets.supernova.io/blocks/variants/react-code-left.svg",
1977
1965
  description: "Side-by-side preview and code, with code on the left.",
1978
1966
  layout: {
1979
1967
  type: "Column",
@@ -1993,7 +1981,7 @@ const blocks: PageBlockDefinition[] = [
1993
1981
  {
1994
1982
  id: "codeRight",
1995
1983
  name: "Side by side, code right",
1996
- image: "thumbnails/RenderCode_CodeRight.png",
1984
+ image: "https://cdn-assets.supernova.io/blocks/variants/react-code-right.svg",
1997
1985
  description: "Side-by-side preview and code, with code on the right.",
1998
1986
  layout: {
1999
1987
  type: "Column",
@@ -2112,7 +2100,7 @@ const blocks: PageBlockDefinition[] = [
2112
2100
  {
2113
2101
  id: "default",
2114
2102
  name: "Simple grid",
2115
- image: "assets/variant-default.png",
2103
+ image: "https://cdn-assets.supernova.io/blocks/variants/assets-simple-grid.svg",
2116
2104
  description: "A simple grid of assets. Both the title and description are displayed below the preview.",
2117
2105
  layout: {
2118
2106
  type: "Column",
@@ -2132,7 +2120,7 @@ const blocks: PageBlockDefinition[] = [
2132
2120
  {
2133
2121
  id: "square-grid",
2134
2122
  name: "Square grid",
2135
- image: "assets/variant-square-grid.png",
2123
+ image: "https://cdn-assets.supernova.io/blocks/variants/assets-square-grid.svg",
2136
2124
  description: "Bordered square grid tailored for displaying icon assets. Only the title is displayed.",
2137
2125
  layout: {
2138
2126
  type: "Column",
@@ -2152,7 +2140,7 @@ const blocks: PageBlockDefinition[] = [
2152
2140
  {
2153
2141
  id: "borderless-grid",
2154
2142
  name: "Borderless grid",
2155
- image: "assets/variant-color-stack.png",
2143
+ image: "https://cdn-assets.supernova.io/blocks/variants/assets-borderless-grid.svg",
2156
2144
  description: "Borderless grid, perfect for displaying assets of the same height. Only the title is visible.",
2157
2145
  layout: {
2158
2146
  type: "Column",
@@ -2175,7 +2163,7 @@ const blocks: PageBlockDefinition[] = [
2175
2163
  behavior: {
2176
2164
  dataType: "Asset",
2177
2165
  entities: {
2178
- selectionType: "Entity",
2166
+ selectionType: "EntityAndGroup",
2179
2167
  maxSelected: 0,
2180
2168
  },
2181
2169
  },
@@ -2192,7 +2180,7 @@ const blocks: PageBlockDefinition[] = [
2192
2180
  },
2193
2181
  },
2194
2182
  {
2195
- id: "io.supernova.block.figma-nodes",
2183
+ id: "io.supernova.block.figma-frames",
2196
2184
  name: "Figma frames",
2197
2185
  description: "Display Figma frames as images",
2198
2186
  category: "Figma",
@@ -2200,9 +2188,9 @@ const blocks: PageBlockDefinition[] = [
2200
2188
  item: {
2201
2189
  properties: [
2202
2190
  {
2203
- id: "figmaFrames",
2204
- name: "Figma Frames (tbd)",
2205
- type: "Asset",
2191
+ id: "figmaNodes",
2192
+ name: "Figma Frames",
2193
+ type: "FigmaNode",
2206
2194
  options: {},
2207
2195
  },
2208
2196
  ],
@@ -2214,11 +2202,11 @@ const blocks: PageBlockDefinition[] = [
2214
2202
  {
2215
2203
  id: "bordered",
2216
2204
  name: "Bordered",
2217
- image: "assets/variant-default.png",
2205
+ image: "https://cdn-assets.supernova.io/blocks/variants/figma-nodes-boxed.svg",
2218
2206
  description: "Tiles with background and border, great for larger sets of frames.",
2219
2207
  layout: {
2220
2208
  type: "Column",
2221
- children: ["figmaFrames"],
2209
+ children: ["figmaNodes"],
2222
2210
  columnAlign: "Start",
2223
2211
  columnResizing: "Fill",
2224
2212
  gap: "Medium",
@@ -2234,11 +2222,11 @@ const blocks: PageBlockDefinition[] = [
2234
2222
  {
2235
2223
  id: "plain",
2236
2224
  name: "Plain",
2237
- image: "assets/variant-square-grid.png",
2225
+ image: "https://cdn-assets.supernova.io/blocks/variants/figma-nodes-plain.svg",
2238
2226
  description: "Frame as it is in Figma with no extra formatting, great for single images.",
2239
2227
  layout: {
2240
2228
  type: "Column",
2241
- children: ["figmaFrames"],
2229
+ children: ["figmaNodes"],
2242
2230
  columnAlign: "Start",
2243
2231
  columnResizing: "Fill",
2244
2232
  gap: "Medium",
@@ -2289,6 +2277,7 @@ const blocks: PageBlockDefinition[] = [
2289
2277
  {
2290
2278
  id: "default",
2291
2279
  name: "Default",
2280
+ image: "https://cdn-assets.supernova.io/blocks/variants/release-notes.svg",
2292
2281
  layout: {
2293
2282
  type: "Column",
2294
2283
  children: [],
@@ -2301,7 +2290,7 @@ const blocks: PageBlockDefinition[] = [
2301
2290
  appearance: {
2302
2291
  isBordered: false,
2303
2292
  hasBackground: false,
2304
- isEditorPresentationDifferent: false,
2293
+ isEditorPresentationDifferent: true,
2305
2294
  },
2306
2295
  },
2307
2296
  ],
@@ -2340,6 +2329,22 @@ const blocks: PageBlockDefinition[] = [
2340
2329
  renderLayoutAs: "List",
2341
2330
  },
2342
2331
  },
2332
+ {
2333
+ id: "showDescription",
2334
+ name: "Show description",
2335
+ type: "Boolean",
2336
+ options: {
2337
+ defaultValue: true,
2338
+ },
2339
+ },
2340
+ {
2341
+ id: "title",
2342
+ name: "Title",
2343
+ type: "Text",
2344
+ options: {
2345
+ defaultValue: "Component checklist",
2346
+ },
2347
+ },
2343
2348
  ],
2344
2349
  appearance: {
2345
2350
  isBordered: false,
@@ -2349,9 +2354,10 @@ const blocks: PageBlockDefinition[] = [
2349
2354
  {
2350
2355
  id: "default",
2351
2356
  name: "Default",
2357
+ image: "https://cdn-assets.supernova.io/blocks/variants/component-checklist.svg",
2352
2358
  layout: {
2353
2359
  type: "Column",
2354
- children: ["components"],
2360
+ children: ["components", "showDescription", "title"],
2355
2361
  columnAlign: "Start",
2356
2362
  columnResizing: "Fill",
2357
2363
  gap: "Medium",
@@ -2361,7 +2367,7 @@ const blocks: PageBlockDefinition[] = [
2361
2367
  appearance: {
2362
2368
  isBordered: false,
2363
2369
  hasBackground: false,
2364
- isEditorPresentationDifferent: false,
2370
+ isEditorPresentationDifferent: true,
2365
2371
  },
2366
2372
  },
2367
2373
  ],
@@ -2399,7 +2405,15 @@ const blocks: PageBlockDefinition[] = [
2399
2405
  name: "Components",
2400
2406
  type: "Component",
2401
2407
  options: {
2402
- renderLayoutAs: "List",
2408
+ renderLayoutAs: "Table",
2409
+ },
2410
+ },
2411
+ {
2412
+ id: "showLastUpdatedColumn",
2413
+ name: "Show last updated column",
2414
+ type: "Boolean",
2415
+ options: {
2416
+ defaultValue: true,
2403
2417
  },
2404
2418
  },
2405
2419
  ],
@@ -2411,9 +2425,10 @@ const blocks: PageBlockDefinition[] = [
2411
2425
  {
2412
2426
  id: "default",
2413
2427
  name: "Default",
2428
+ image: "https://cdn-assets.supernova.io/blocks/variants/component-overview-table.svg",
2414
2429
  layout: {
2415
2430
  type: "Column",
2416
- children: ["components"],
2431
+ children: ["components", "showLastUpdatedColumn"],
2417
2432
  columnAlign: "Start",
2418
2433
  columnResizing: "Fill",
2419
2434
  gap: "Medium",
@@ -2423,7 +2438,7 @@ const blocks: PageBlockDefinition[] = [
2423
2438
  appearance: {
2424
2439
  isBordered: false,
2425
2440
  hasBackground: false,
2426
- isEditorPresentationDifferent: false,
2441
+ isEditorPresentationDifferent: true,
2427
2442
  },
2428
2443
  },
2429
2444
  ],
@@ -2473,6 +2488,7 @@ const blocks: PageBlockDefinition[] = [
2473
2488
  {
2474
2489
  id: "default",
2475
2490
  name: "Default",
2491
+ image: "https://cdn-assets.supernova.io/blocks/variants/component-health.svg",
2476
2492
  layout: {
2477
2493
  type: "Column",
2478
2494
  children: ["components"],
@@ -2485,7 +2501,7 @@ const blocks: PageBlockDefinition[] = [
2485
2501
  appearance: {
2486
2502
  isBordered: false,
2487
2503
  hasBackground: false,
2488
- isEditorPresentationDifferent: false,
2504
+ isEditorPresentationDifferent: true,
2489
2505
  },
2490
2506
  },
2491
2507
  ],