@supernova-studio/client 0.7.1 → 0.9.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.d.mts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +1588 -438
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1616 -466
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/docs-editor/blocks-to-prosemirror.ts +1 -7
- package/src/docs-editor/mock.ts +2890 -383
package/dist/index.js
CHANGED
|
@@ -556,11 +556,11 @@ var ShallowDesignElement = _zod.z.object({
|
|
|
556
556
|
brandPersistentId: _zod.z.string().optional(),
|
|
557
557
|
parentPersistentId: _zod.z.string().optional(),
|
|
558
558
|
shortPersistentId: _zod.z.string().optional(),
|
|
559
|
+
childType: DesignElementType.optional(),
|
|
559
560
|
sortOrder: _zod.z.number()
|
|
560
561
|
});
|
|
561
562
|
var DesignElement = ShallowDesignElement.extend({
|
|
562
563
|
meta: ObjectMeta,
|
|
563
|
-
childType: DesignElementType.optional(),
|
|
564
564
|
slug: _zod.z.string().optional(),
|
|
565
565
|
userSlug: _zod.z.string().optional(),
|
|
566
566
|
createdAt: _zod.z.date(),
|
|
@@ -569,6 +569,9 @@ var DesignElement = ShallowDesignElement.extend({
|
|
|
569
569
|
data: _zod.z.record(_zod.z.any()),
|
|
570
570
|
origin: _zod.z.record(_zod.z.any()).optional()
|
|
571
571
|
});
|
|
572
|
+
var HierarchicalElements = DesignTokenType.or(
|
|
573
|
+
_zod.z.enum(["Component", "DesignSystemComponent", "DocumentationPage"])
|
|
574
|
+
);
|
|
572
575
|
var ElementPropertyType = _zod.z.enum(["Text", "Number", "Boolean", "Select", "Generic", "Link", "URL"]);
|
|
573
576
|
var ElementPropertyTargetType = _zod.z.enum(["Token", "Component", "DocumentationPage"]);
|
|
574
577
|
var ElementPropertyLinkType = _zod.z.enum(["FigmaComponent", "DocumentationPage"]);
|
|
@@ -781,6 +784,11 @@ var PageBlockCustomBlockPropertyValue = _zod.z.object({
|
|
|
781
784
|
// .or(PageBlockCustomBlockPropertyImageValue),
|
|
782
785
|
});
|
|
783
786
|
var PageBlockFigmaFrameProperties = _zod.z.object({
|
|
787
|
+
color: nullishToOptional(
|
|
788
|
+
_zod.z.object({
|
|
789
|
+
value: _zod.z.string()
|
|
790
|
+
})
|
|
791
|
+
),
|
|
784
792
|
alignment: PageBlockTilesAlignment,
|
|
785
793
|
layout: PageBlockTilesLayout,
|
|
786
794
|
backgroundColor: nullishToOptional(ColorTokenInlineData),
|
|
@@ -875,6 +883,8 @@ var PageBlockLinkType = _zod.z.enum(["DocumentationItem", "PageHeading", "Url"])
|
|
|
875
883
|
var PageBlockImageType = _zod.z.enum(["Upload", "Asset", "FigmaFrame"]);
|
|
876
884
|
var PageBlockImageAlignment = _zod.z.enum(["Left", "Center", "Stretch"]);
|
|
877
885
|
var PageBlockTableCellAlignment = _zod.z.enum(["Left", "Center", "Right"]);
|
|
886
|
+
var PageBlockPreviewContainerSize = _zod.z.enum(["Centered", "NaturalHeight"]);
|
|
887
|
+
var PageBlockThemeDisplayMode = _zod.z.enum(["Split", "Override"]);
|
|
878
888
|
var PageBlockAppearanceV2 = _zod.z.object({
|
|
879
889
|
itemBackgroundColor: ColorValue.optional(),
|
|
880
890
|
numberOfColumns: _zod.z.number().optional()
|
|
@@ -908,18 +918,27 @@ var PageBlockItemImageReference = _zod.z.object({
|
|
|
908
918
|
size: Size.optional(),
|
|
909
919
|
figmaFile: _zod.z.object({
|
|
910
920
|
sourceId: _zod.z.string(),
|
|
911
|
-
frameId: _zod.z.string()
|
|
921
|
+
frameId: _zod.z.string(),
|
|
922
|
+
frameReferenceId: _zod.z.string(),
|
|
923
|
+
origin: _zod.z.object({
|
|
924
|
+
title: _zod.z.string().optional(),
|
|
925
|
+
sourceFileName: _zod.z.string().optional()
|
|
926
|
+
})
|
|
912
927
|
}).optional()
|
|
913
928
|
});
|
|
914
929
|
var PageBlockItemAssetValue = _zod.z.object({
|
|
915
930
|
selectedPropertyIds: _zod.z.array(_zod.z.string()).optional(),
|
|
916
931
|
showSearch: _zod.z.boolean().optional(),
|
|
917
|
-
previewContainerSize:
|
|
932
|
+
previewContainerSize: PageBlockPreviewContainerSize.optional(),
|
|
918
933
|
backgroundColor: _zod.z.string().optional(),
|
|
919
934
|
value: _zod.z.array(
|
|
920
935
|
_zod.z.object({
|
|
921
936
|
entityId: _zod.z.string(),
|
|
922
|
-
entityType: _zod.z.enum(["Asset", "AssetGroup"])
|
|
937
|
+
entityType: _zod.z.enum(["Asset", "AssetGroup"]),
|
|
938
|
+
entityMeta: _zod.z.object({
|
|
939
|
+
title: _zod.z.string().optional(),
|
|
940
|
+
description: _zod.z.string().optional()
|
|
941
|
+
}).optional()
|
|
923
942
|
})
|
|
924
943
|
)
|
|
925
944
|
});
|
|
@@ -938,6 +957,7 @@ var PageBlockItemSandboxValue = _zod.z.object({
|
|
|
938
957
|
showCode: _zod.z.boolean().optional(),
|
|
939
958
|
backgroundColor: _zod.z.string().optional(),
|
|
940
959
|
alignPreview: _zod.z.enum(["Left", "Center"]).optional(),
|
|
960
|
+
previewHeight: _zod.z.number().optional(),
|
|
941
961
|
value: _zod.z.string()
|
|
942
962
|
});
|
|
943
963
|
var PageBlockItemColorValue = _zod.z.record(_zod.z.any());
|
|
@@ -996,11 +1016,14 @@ var PageBlockItemTextValue = _zod.z.object({
|
|
|
996
1016
|
var PageBlockItemTokenValue = _zod.z.object({
|
|
997
1017
|
selectedPropertyIds: _zod.z.array(_zod.z.string()).optional(),
|
|
998
1018
|
selectedThemeIds: _zod.z.array(_zod.z.string()).optional(),
|
|
999
|
-
themeDisplayMode:
|
|
1019
|
+
themeDisplayMode: PageBlockThemeDisplayMode.optional(),
|
|
1000
1020
|
value: _zod.z.array(
|
|
1001
1021
|
_zod.z.object({
|
|
1002
1022
|
entityId: _zod.z.string(),
|
|
1003
|
-
entityType: _zod.z.enum(["Token", "TokenGroup"])
|
|
1023
|
+
entityType: _zod.z.enum(["Token", "TokenGroup"]),
|
|
1024
|
+
entityMeta: _zod.z.object({
|
|
1025
|
+
showNestedGroups: _zod.z.boolean().optional()
|
|
1026
|
+
}).optional()
|
|
1004
1027
|
})
|
|
1005
1028
|
)
|
|
1006
1029
|
});
|
|
@@ -1025,11 +1048,12 @@ var PageBlockItemTableMultiRichTextNode = _zod.z.object({
|
|
|
1025
1048
|
});
|
|
1026
1049
|
var PageBlockItemTableImageNode = _zod.z.object({
|
|
1027
1050
|
type: _zod.z.literal("Image"),
|
|
1051
|
+
caption: PageBlockItemImageValue.shape.caption,
|
|
1028
1052
|
value: PageBlockItemImageValue.shape.value
|
|
1029
1053
|
});
|
|
1030
1054
|
var PageBlockItemTableNode = _zod.z.discriminatedUnion("type", [
|
|
1031
1055
|
PageBlockItemTableRichTextNode,
|
|
1032
|
-
PageBlockItemTableMultiRichTextNode,
|
|
1056
|
+
// PageBlockItemTableMultiRichTextNode,
|
|
1033
1057
|
PageBlockItemTableImageNode
|
|
1034
1058
|
]);
|
|
1035
1059
|
var PageBlockItemTableCell = _zod.z.object({
|
|
@@ -2035,9 +2059,40 @@ var UserInvite = _zod.z.object({
|
|
|
2035
2059
|
role: WorkspaceRoleSchema
|
|
2036
2060
|
});
|
|
2037
2061
|
var UserInvites = _zod.z.array(UserInvite).max(MAX_MEMBERS_COUNT);
|
|
2062
|
+
var WorkspaceIpWhitelistEntry = _zod.z.object({
|
|
2063
|
+
isEnabled: _zod.z.boolean(),
|
|
2064
|
+
name: _zod.z.string(),
|
|
2065
|
+
range: _zod.z.string()
|
|
2066
|
+
});
|
|
2067
|
+
var WorkspaceIpSettings = _zod.z.object({
|
|
2068
|
+
isEnabledForCloud: _zod.z.boolean(),
|
|
2069
|
+
isEnabledForDocs: _zod.z.boolean(),
|
|
2070
|
+
entries: _zod.z.array(WorkspaceIpWhitelistEntry)
|
|
2071
|
+
}).nullish();
|
|
2072
|
+
var WorkspaceProfile = _zod.z.object({
|
|
2073
|
+
name: _zod.z.string(),
|
|
2074
|
+
handle: _zod.z.string(),
|
|
2075
|
+
color: _zod.z.string(),
|
|
2076
|
+
avatar: _zod.z.string().optional(),
|
|
2077
|
+
billingDetails: BillingDetails.optional()
|
|
2078
|
+
});
|
|
2079
|
+
var Workspace = _zod.z.object({
|
|
2080
|
+
id: _zod.z.string(),
|
|
2081
|
+
profile: WorkspaceProfile,
|
|
2082
|
+
subscription: Subscription,
|
|
2083
|
+
ipWhitelist: WorkspaceIpSettings,
|
|
2084
|
+
sso: SsoProvider.nullish(),
|
|
2085
|
+
npmRegistrySettings: _zod.z.unknown().optional(),
|
|
2086
|
+
designSystems: _zod.z.array(DesignSystem).nullish()
|
|
2087
|
+
});
|
|
2088
|
+
var WorkspaceWithDesignSystems = _zod.z.object({
|
|
2089
|
+
workspace: Workspace,
|
|
2090
|
+
designSystems: _zod.z.array(DesignSystem)
|
|
2091
|
+
});
|
|
2038
2092
|
var WorkspaceContext = _zod.z.object({
|
|
2039
2093
|
workspaceId: _zod.z.string(),
|
|
2040
2094
|
product: ProductCodeSchema,
|
|
2095
|
+
ipWhitelist: WorkspaceIpSettings,
|
|
2041
2096
|
publicDesignSystem: _zod.z.boolean().optional()
|
|
2042
2097
|
});
|
|
2043
2098
|
var slugRegex = /^[a-z0-9][a-z0-9-]*[a-z0-9]$/;
|
|
@@ -2077,36 +2132,6 @@ var UpdateMembershipRolesInput = _zod.z.object({
|
|
|
2077
2132
|
})
|
|
2078
2133
|
)
|
|
2079
2134
|
});
|
|
2080
|
-
var WorkspaceIpWhitelistEntry = _zod.z.object({
|
|
2081
|
-
isEnabled: _zod.z.boolean(),
|
|
2082
|
-
name: _zod.z.string(),
|
|
2083
|
-
range: _zod.z.string()
|
|
2084
|
-
});
|
|
2085
|
-
var WorkspaceIpSettings = _zod.z.object({
|
|
2086
|
-
isEnabledForCloud: _zod.z.boolean(),
|
|
2087
|
-
isEnabledForDocs: _zod.z.boolean(),
|
|
2088
|
-
entries: _zod.z.array(WorkspaceIpWhitelistEntry)
|
|
2089
|
-
}).nullish();
|
|
2090
|
-
var WorkspaceProfile = _zod.z.object({
|
|
2091
|
-
name: _zod.z.string(),
|
|
2092
|
-
handle: _zod.z.string(),
|
|
2093
|
-
color: _zod.z.string(),
|
|
2094
|
-
avatar: _zod.z.string().optional(),
|
|
2095
|
-
billingDetails: BillingDetails.optional()
|
|
2096
|
-
});
|
|
2097
|
-
var Workspace = _zod.z.object({
|
|
2098
|
-
id: _zod.z.string(),
|
|
2099
|
-
profile: WorkspaceProfile,
|
|
2100
|
-
subscription: Subscription,
|
|
2101
|
-
ipWhitelist: WorkspaceIpSettings,
|
|
2102
|
-
sso: SsoProvider.nullish(),
|
|
2103
|
-
npmRegistrySettings: _zod.z.unknown().optional(),
|
|
2104
|
-
designSystems: _zod.z.array(DesignSystem).nullish()
|
|
2105
|
-
});
|
|
2106
|
-
var WorkspaceWithDesignSystems = _zod.z.object({
|
|
2107
|
-
workspace: Workspace,
|
|
2108
|
-
designSystems: _zod.z.array(DesignSystem)
|
|
2109
|
-
});
|
|
2110
2135
|
var DesignSystemSwitcher = _zod.z.object({
|
|
2111
2136
|
isEnabled: _zod.z.boolean(),
|
|
2112
2137
|
designSystemIds: _zod.z.string()
|
|
@@ -4286,10 +4311,6 @@ function serializeTableNode(node) {
|
|
|
4286
4311
|
src: _optionalChain([node, 'access', _6 => _6.value, 'optionalAccess', _7 => _7.url])
|
|
4287
4312
|
}
|
|
4288
4313
|
};
|
|
4289
|
-
case "MultiRichText":
|
|
4290
|
-
return {
|
|
4291
|
-
type: "paragraph"
|
|
4292
|
-
};
|
|
4293
4314
|
}
|
|
4294
4315
|
}
|
|
4295
4316
|
function serializeAsEmbed(input, embedType) {
|
|
@@ -4320,7 +4341,7 @@ function serializeEmbedType(blockDefinitionId) {
|
|
|
4320
4341
|
}
|
|
4321
4342
|
function serializeAsDivider(input) {
|
|
4322
4343
|
return {
|
|
4323
|
-
type: "
|
|
4344
|
+
type: "horizontalRule",
|
|
4324
4345
|
attrs: serializeBlockNodeAttributes(input)
|
|
4325
4346
|
};
|
|
4326
4347
|
}
|
|
@@ -4462,34 +4483,44 @@ var blocks = [
|
|
|
4462
4483
|
id: "text",
|
|
4463
4484
|
name: "Text",
|
|
4464
4485
|
type: "RichText",
|
|
4465
|
-
description: void 0,
|
|
4466
4486
|
options: {
|
|
4467
4487
|
placeholder: "Start writing with plain text",
|
|
4468
4488
|
richTextStyle: "Default"
|
|
4469
|
-
}
|
|
4470
|
-
variantOptions: void 0
|
|
4489
|
+
}
|
|
4471
4490
|
}
|
|
4472
4491
|
],
|
|
4473
|
-
appearance: {
|
|
4492
|
+
appearance: {
|
|
4493
|
+
isBordered: false,
|
|
4494
|
+
hasBackground: false
|
|
4495
|
+
},
|
|
4474
4496
|
variants: [
|
|
4475
4497
|
{
|
|
4476
4498
|
id: "default",
|
|
4477
4499
|
name: "Default",
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4500
|
+
layout: {
|
|
4501
|
+
type: "Column",
|
|
4502
|
+
children: ["text"],
|
|
4503
|
+
columnAlign: "Start",
|
|
4504
|
+
columnResizing: "Fill",
|
|
4505
|
+
gap: "Medium"
|
|
4506
|
+
},
|
|
4482
4507
|
maxColumns: 1,
|
|
4483
4508
|
defaultColumns: 1,
|
|
4484
|
-
appearance: {
|
|
4509
|
+
appearance: {
|
|
4510
|
+
isBordered: false,
|
|
4511
|
+
hasBackground: false,
|
|
4512
|
+
isEditorPresentationDifferent: false
|
|
4513
|
+
}
|
|
4485
4514
|
}
|
|
4486
4515
|
],
|
|
4487
4516
|
defaultVariantKey: "default"
|
|
4488
4517
|
},
|
|
4489
4518
|
behavior: {
|
|
4490
4519
|
dataType: "Item",
|
|
4491
|
-
items: {
|
|
4492
|
-
|
|
4520
|
+
items: {
|
|
4521
|
+
numberOfItems: 1,
|
|
4522
|
+
allowLinks: false
|
|
4523
|
+
}
|
|
4493
4524
|
},
|
|
4494
4525
|
editorOptions: {
|
|
4495
4526
|
onboarding: {
|
|
@@ -4497,7 +4528,10 @@ var blocks = [
|
|
|
4497
4528
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/text/text-HxZ9ssJR"
|
|
4498
4529
|
}
|
|
4499
4530
|
},
|
|
4500
|
-
appearance: {
|
|
4531
|
+
appearance: {
|
|
4532
|
+
isBordered: false,
|
|
4533
|
+
hasBackground: false
|
|
4534
|
+
}
|
|
4501
4535
|
},
|
|
4502
4536
|
{
|
|
4503
4537
|
id: "io.supernova.block.title1",
|
|
@@ -4511,27 +4545,44 @@ var blocks = [
|
|
|
4511
4545
|
id: "text",
|
|
4512
4546
|
name: "Text",
|
|
4513
4547
|
type: "RichText",
|
|
4514
|
-
options: {
|
|
4548
|
+
options: {
|
|
4549
|
+
placeholder: "Title 1",
|
|
4550
|
+
richTextStyle: "Title1"
|
|
4551
|
+
}
|
|
4515
4552
|
}
|
|
4516
4553
|
],
|
|
4517
|
-
appearance: {
|
|
4554
|
+
appearance: {
|
|
4555
|
+
isBordered: false,
|
|
4556
|
+
hasBackground: false
|
|
4557
|
+
},
|
|
4518
4558
|
variants: [
|
|
4519
4559
|
{
|
|
4520
4560
|
id: "default",
|
|
4521
4561
|
name: "Default",
|
|
4522
|
-
|
|
4523
|
-
|
|
4562
|
+
layout: {
|
|
4563
|
+
type: "Column",
|
|
4564
|
+
children: ["text"],
|
|
4565
|
+
columnAlign: "Start",
|
|
4566
|
+
columnResizing: "Fill",
|
|
4567
|
+
gap: "Medium"
|
|
4568
|
+
},
|
|
4524
4569
|
maxColumns: 1,
|
|
4525
4570
|
defaultColumns: 1,
|
|
4526
|
-
appearance: {
|
|
4571
|
+
appearance: {
|
|
4572
|
+
isBordered: false,
|
|
4573
|
+
hasBackground: false,
|
|
4574
|
+
isEditorPresentationDifferent: false
|
|
4575
|
+
}
|
|
4527
4576
|
}
|
|
4528
4577
|
],
|
|
4529
4578
|
defaultVariantKey: "default"
|
|
4530
4579
|
},
|
|
4531
4580
|
behavior: {
|
|
4532
4581
|
dataType: "Item",
|
|
4533
|
-
items: {
|
|
4534
|
-
|
|
4582
|
+
items: {
|
|
4583
|
+
numberOfItems: 1,
|
|
4584
|
+
allowLinks: false
|
|
4585
|
+
}
|
|
4535
4586
|
},
|
|
4536
4587
|
editorOptions: {
|
|
4537
4588
|
onboarding: {
|
|
@@ -4539,15 +4590,16 @@ var blocks = [
|
|
|
4539
4590
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/text/heading-MUKlJ7dY"
|
|
4540
4591
|
}
|
|
4541
4592
|
},
|
|
4542
|
-
appearance: {
|
|
4593
|
+
appearance: {
|
|
4594
|
+
isBordered: false,
|
|
4595
|
+
hasBackground: false
|
|
4596
|
+
}
|
|
4543
4597
|
},
|
|
4544
4598
|
{
|
|
4545
4599
|
id: "io.supernova.block.title2",
|
|
4546
4600
|
name: "Title 2",
|
|
4547
4601
|
description: "Section subheadings",
|
|
4548
4602
|
category: "Text",
|
|
4549
|
-
icon: void 0,
|
|
4550
|
-
documentationLink: void 0,
|
|
4551
4603
|
searchKeywords: ["heading"],
|
|
4552
4604
|
item: {
|
|
4553
4605
|
properties: [
|
|
@@ -4555,31 +4607,44 @@ var blocks = [
|
|
|
4555
4607
|
id: "text",
|
|
4556
4608
|
name: "Text",
|
|
4557
4609
|
type: "RichText",
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4610
|
+
options: {
|
|
4611
|
+
placeholder: "Title 2",
|
|
4612
|
+
richTextStyle: "Title2"
|
|
4613
|
+
}
|
|
4561
4614
|
}
|
|
4562
4615
|
],
|
|
4563
|
-
appearance: {
|
|
4616
|
+
appearance: {
|
|
4617
|
+
isBordered: false,
|
|
4618
|
+
hasBackground: false
|
|
4619
|
+
},
|
|
4564
4620
|
variants: [
|
|
4565
4621
|
{
|
|
4566
4622
|
id: "default",
|
|
4567
4623
|
name: "Default",
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4624
|
+
layout: {
|
|
4625
|
+
type: "Column",
|
|
4626
|
+
children: ["text"],
|
|
4627
|
+
columnAlign: "Start",
|
|
4628
|
+
columnResizing: "Fill",
|
|
4629
|
+
gap: "Medium"
|
|
4630
|
+
},
|
|
4572
4631
|
maxColumns: 1,
|
|
4573
4632
|
defaultColumns: 1,
|
|
4574
|
-
appearance: {
|
|
4633
|
+
appearance: {
|
|
4634
|
+
isBordered: false,
|
|
4635
|
+
hasBackground: false,
|
|
4636
|
+
isEditorPresentationDifferent: false
|
|
4637
|
+
}
|
|
4575
4638
|
}
|
|
4576
4639
|
],
|
|
4577
4640
|
defaultVariantKey: "default"
|
|
4578
4641
|
},
|
|
4579
4642
|
behavior: {
|
|
4580
4643
|
dataType: "Item",
|
|
4581
|
-
items: {
|
|
4582
|
-
|
|
4644
|
+
items: {
|
|
4645
|
+
numberOfItems: 1,
|
|
4646
|
+
allowLinks: false
|
|
4647
|
+
}
|
|
4583
4648
|
},
|
|
4584
4649
|
editorOptions: {
|
|
4585
4650
|
onboarding: {
|
|
@@ -4587,15 +4652,16 @@ var blocks = [
|
|
|
4587
4652
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/text/heading-MUKlJ7dY"
|
|
4588
4653
|
}
|
|
4589
4654
|
},
|
|
4590
|
-
appearance: {
|
|
4655
|
+
appearance: {
|
|
4656
|
+
isBordered: false,
|
|
4657
|
+
hasBackground: false
|
|
4658
|
+
}
|
|
4591
4659
|
},
|
|
4592
4660
|
{
|
|
4593
4661
|
id: "io.supernova.block.title3",
|
|
4594
4662
|
name: "Title 3",
|
|
4595
4663
|
description: "Further subsections",
|
|
4596
4664
|
category: "Text",
|
|
4597
|
-
icon: void 0,
|
|
4598
|
-
documentationLink: void 0,
|
|
4599
4665
|
searchKeywords: ["heading"],
|
|
4600
4666
|
item: {
|
|
4601
4667
|
properties: [
|
|
@@ -4603,31 +4669,44 @@ var blocks = [
|
|
|
4603
4669
|
id: "text",
|
|
4604
4670
|
name: "Text",
|
|
4605
4671
|
type: "RichText",
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4672
|
+
options: {
|
|
4673
|
+
placeholder: "Title 3",
|
|
4674
|
+
richTextStyle: "Title3"
|
|
4675
|
+
}
|
|
4609
4676
|
}
|
|
4610
4677
|
],
|
|
4611
|
-
appearance: {
|
|
4678
|
+
appearance: {
|
|
4679
|
+
isBordered: false,
|
|
4680
|
+
hasBackground: false
|
|
4681
|
+
},
|
|
4612
4682
|
variants: [
|
|
4613
4683
|
{
|
|
4614
4684
|
id: "default",
|
|
4615
4685
|
name: "Default",
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4686
|
+
layout: {
|
|
4687
|
+
type: "Column",
|
|
4688
|
+
children: ["text"],
|
|
4689
|
+
columnAlign: "Start",
|
|
4690
|
+
columnResizing: "Fill",
|
|
4691
|
+
gap: "Medium"
|
|
4692
|
+
},
|
|
4620
4693
|
maxColumns: 1,
|
|
4621
4694
|
defaultColumns: 1,
|
|
4622
|
-
appearance: {
|
|
4695
|
+
appearance: {
|
|
4696
|
+
isBordered: false,
|
|
4697
|
+
hasBackground: false,
|
|
4698
|
+
isEditorPresentationDifferent: false
|
|
4699
|
+
}
|
|
4623
4700
|
}
|
|
4624
4701
|
],
|
|
4625
4702
|
defaultVariantKey: "default"
|
|
4626
4703
|
},
|
|
4627
4704
|
behavior: {
|
|
4628
4705
|
dataType: "Item",
|
|
4629
|
-
items: {
|
|
4630
|
-
|
|
4706
|
+
items: {
|
|
4707
|
+
numberOfItems: 1,
|
|
4708
|
+
allowLinks: false
|
|
4709
|
+
}
|
|
4631
4710
|
},
|
|
4632
4711
|
editorOptions: {
|
|
4633
4712
|
onboarding: {
|
|
@@ -4635,15 +4714,16 @@ var blocks = [
|
|
|
4635
4714
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/text/heading-MUKlJ7dY"
|
|
4636
4715
|
}
|
|
4637
4716
|
},
|
|
4638
|
-
appearance: {
|
|
4717
|
+
appearance: {
|
|
4718
|
+
isBordered: false,
|
|
4719
|
+
hasBackground: false
|
|
4720
|
+
}
|
|
4639
4721
|
},
|
|
4640
4722
|
{
|
|
4641
4723
|
id: "io.supernova.block.title4",
|
|
4642
4724
|
name: "Title 4",
|
|
4643
4725
|
description: "Details in subsections",
|
|
4644
4726
|
category: "Text",
|
|
4645
|
-
icon: void 0,
|
|
4646
|
-
documentationLink: void 0,
|
|
4647
4727
|
searchKeywords: ["heading"],
|
|
4648
4728
|
item: {
|
|
4649
4729
|
properties: [
|
|
@@ -4651,31 +4731,44 @@ var blocks = [
|
|
|
4651
4731
|
id: "text",
|
|
4652
4732
|
name: "Text",
|
|
4653
4733
|
type: "RichText",
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4734
|
+
options: {
|
|
4735
|
+
placeholder: "Title 4",
|
|
4736
|
+
richTextStyle: "Title4"
|
|
4737
|
+
}
|
|
4657
4738
|
}
|
|
4658
4739
|
],
|
|
4659
|
-
appearance: {
|
|
4740
|
+
appearance: {
|
|
4741
|
+
isBordered: false,
|
|
4742
|
+
hasBackground: false
|
|
4743
|
+
},
|
|
4660
4744
|
variants: [
|
|
4661
4745
|
{
|
|
4662
4746
|
id: "default",
|
|
4663
4747
|
name: "Default",
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4748
|
+
layout: {
|
|
4749
|
+
type: "Column",
|
|
4750
|
+
children: ["text"],
|
|
4751
|
+
columnAlign: "Start",
|
|
4752
|
+
columnResizing: "Fill",
|
|
4753
|
+
gap: "Medium"
|
|
4754
|
+
},
|
|
4668
4755
|
maxColumns: 1,
|
|
4669
4756
|
defaultColumns: 1,
|
|
4670
|
-
appearance: {
|
|
4757
|
+
appearance: {
|
|
4758
|
+
isBordered: false,
|
|
4759
|
+
hasBackground: false,
|
|
4760
|
+
isEditorPresentationDifferent: false
|
|
4761
|
+
}
|
|
4671
4762
|
}
|
|
4672
4763
|
],
|
|
4673
4764
|
defaultVariantKey: "default"
|
|
4674
4765
|
},
|
|
4675
4766
|
behavior: {
|
|
4676
4767
|
dataType: "Item",
|
|
4677
|
-
items: {
|
|
4678
|
-
|
|
4768
|
+
items: {
|
|
4769
|
+
numberOfItems: 1,
|
|
4770
|
+
allowLinks: false
|
|
4771
|
+
}
|
|
4679
4772
|
},
|
|
4680
4773
|
editorOptions: {
|
|
4681
4774
|
onboarding: {
|
|
@@ -4683,15 +4776,16 @@ var blocks = [
|
|
|
4683
4776
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/text/heading-MUKlJ7dY"
|
|
4684
4777
|
}
|
|
4685
4778
|
},
|
|
4686
|
-
appearance: {
|
|
4779
|
+
appearance: {
|
|
4780
|
+
isBordered: false,
|
|
4781
|
+
hasBackground: false
|
|
4782
|
+
}
|
|
4687
4783
|
},
|
|
4688
4784
|
{
|
|
4689
4785
|
id: "io.supernova.block.title5",
|
|
4690
4786
|
name: "Title 5",
|
|
4691
4787
|
description: "Nuanced details or sub-points",
|
|
4692
4788
|
category: "Text",
|
|
4693
|
-
icon: void 0,
|
|
4694
|
-
documentationLink: void 0,
|
|
4695
4789
|
searchKeywords: ["heading"],
|
|
4696
4790
|
item: {
|
|
4697
4791
|
properties: [
|
|
@@ -4699,31 +4793,44 @@ var blocks = [
|
|
|
4699
4793
|
id: "text",
|
|
4700
4794
|
name: "Text",
|
|
4701
4795
|
type: "RichText",
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4796
|
+
options: {
|
|
4797
|
+
placeholder: "Title 5",
|
|
4798
|
+
richTextStyle: "Title5"
|
|
4799
|
+
}
|
|
4705
4800
|
}
|
|
4706
4801
|
],
|
|
4707
|
-
appearance: {
|
|
4802
|
+
appearance: {
|
|
4803
|
+
isBordered: false,
|
|
4804
|
+
hasBackground: false
|
|
4805
|
+
},
|
|
4708
4806
|
variants: [
|
|
4709
4807
|
{
|
|
4710
4808
|
id: "default",
|
|
4711
4809
|
name: "Default",
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4810
|
+
layout: {
|
|
4811
|
+
type: "Column",
|
|
4812
|
+
children: ["text"],
|
|
4813
|
+
columnAlign: "Start",
|
|
4814
|
+
columnResizing: "Fill",
|
|
4815
|
+
gap: "Medium"
|
|
4816
|
+
},
|
|
4716
4817
|
maxColumns: 1,
|
|
4717
4818
|
defaultColumns: 1,
|
|
4718
|
-
appearance: {
|
|
4819
|
+
appearance: {
|
|
4820
|
+
isBordered: false,
|
|
4821
|
+
hasBackground: false,
|
|
4822
|
+
isEditorPresentationDifferent: false
|
|
4823
|
+
}
|
|
4719
4824
|
}
|
|
4720
4825
|
],
|
|
4721
4826
|
defaultVariantKey: "default"
|
|
4722
4827
|
},
|
|
4723
4828
|
behavior: {
|
|
4724
4829
|
dataType: "Item",
|
|
4725
|
-
items: {
|
|
4726
|
-
|
|
4830
|
+
items: {
|
|
4831
|
+
numberOfItems: 1,
|
|
4832
|
+
allowLinks: false
|
|
4833
|
+
}
|
|
4727
4834
|
},
|
|
4728
4835
|
editorOptions: {
|
|
4729
4836
|
onboarding: {
|
|
@@ -4731,15 +4838,16 @@ var blocks = [
|
|
|
4731
4838
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/text/heading-MUKlJ7dY"
|
|
4732
4839
|
}
|
|
4733
4840
|
},
|
|
4734
|
-
appearance: {
|
|
4841
|
+
appearance: {
|
|
4842
|
+
isBordered: false,
|
|
4843
|
+
hasBackground: false
|
|
4844
|
+
}
|
|
4735
4845
|
},
|
|
4736
4846
|
{
|
|
4737
4847
|
id: "io.supernova.block.ordered-list",
|
|
4738
4848
|
name: "Ordered list",
|
|
4739
4849
|
description: "A list with numbers",
|
|
4740
4850
|
category: "Text",
|
|
4741
|
-
icon: void 0,
|
|
4742
|
-
documentationLink: void 0,
|
|
4743
4851
|
searchKeywords: ["ol"],
|
|
4744
4852
|
item: {
|
|
4745
4853
|
properties: [
|
|
@@ -4747,31 +4855,43 @@ var blocks = [
|
|
|
4747
4855
|
id: "text",
|
|
4748
4856
|
name: "Text",
|
|
4749
4857
|
type: "MultiRichText",
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4858
|
+
options: {
|
|
4859
|
+
multiRichTextStyle: "OL"
|
|
4860
|
+
}
|
|
4753
4861
|
}
|
|
4754
4862
|
],
|
|
4755
|
-
appearance: {
|
|
4863
|
+
appearance: {
|
|
4864
|
+
isBordered: false,
|
|
4865
|
+
hasBackground: false
|
|
4866
|
+
},
|
|
4756
4867
|
variants: [
|
|
4757
4868
|
{
|
|
4758
4869
|
id: "default",
|
|
4759
4870
|
name: "Default",
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4871
|
+
layout: {
|
|
4872
|
+
type: "Column",
|
|
4873
|
+
children: ["text"],
|
|
4874
|
+
columnAlign: "Start",
|
|
4875
|
+
columnResizing: "Fill",
|
|
4876
|
+
gap: "Medium"
|
|
4877
|
+
},
|
|
4764
4878
|
maxColumns: 1,
|
|
4765
4879
|
defaultColumns: 1,
|
|
4766
|
-
appearance: {
|
|
4880
|
+
appearance: {
|
|
4881
|
+
isBordered: false,
|
|
4882
|
+
hasBackground: false,
|
|
4883
|
+
isEditorPresentationDifferent: false
|
|
4884
|
+
}
|
|
4767
4885
|
}
|
|
4768
4886
|
],
|
|
4769
4887
|
defaultVariantKey: "default"
|
|
4770
4888
|
},
|
|
4771
4889
|
behavior: {
|
|
4772
4890
|
dataType: "Item",
|
|
4773
|
-
items: {
|
|
4774
|
-
|
|
4891
|
+
items: {
|
|
4892
|
+
numberOfItems: 1,
|
|
4893
|
+
allowLinks: false
|
|
4894
|
+
}
|
|
4775
4895
|
},
|
|
4776
4896
|
editorOptions: {
|
|
4777
4897
|
onboarding: {
|
|
@@ -4779,15 +4899,16 @@ var blocks = [
|
|
|
4779
4899
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/text/list-UC5iPZLK"
|
|
4780
4900
|
}
|
|
4781
4901
|
},
|
|
4782
|
-
appearance: {
|
|
4902
|
+
appearance: {
|
|
4903
|
+
isBordered: false,
|
|
4904
|
+
hasBackground: false
|
|
4905
|
+
}
|
|
4783
4906
|
},
|
|
4784
4907
|
{
|
|
4785
4908
|
id: "io.supernova.block.unordered-list",
|
|
4786
4909
|
name: "Unordered list",
|
|
4787
4910
|
description: "A list with bullet points",
|
|
4788
4911
|
category: "Text",
|
|
4789
|
-
icon: void 0,
|
|
4790
|
-
documentationLink: void 0,
|
|
4791
4912
|
searchKeywords: ["ul"],
|
|
4792
4913
|
item: {
|
|
4793
4914
|
properties: [
|
|
@@ -4795,31 +4916,43 @@ var blocks = [
|
|
|
4795
4916
|
id: "text",
|
|
4796
4917
|
name: "Text",
|
|
4797
4918
|
type: "MultiRichText",
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4919
|
+
options: {
|
|
4920
|
+
multiRichTextStyle: "UL"
|
|
4921
|
+
}
|
|
4801
4922
|
}
|
|
4802
4923
|
],
|
|
4803
|
-
appearance: {
|
|
4924
|
+
appearance: {
|
|
4925
|
+
isBordered: false,
|
|
4926
|
+
hasBackground: false
|
|
4927
|
+
},
|
|
4804
4928
|
variants: [
|
|
4805
4929
|
{
|
|
4806
4930
|
id: "default",
|
|
4807
4931
|
name: "Default",
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4932
|
+
layout: {
|
|
4933
|
+
type: "Column",
|
|
4934
|
+
children: ["text"],
|
|
4935
|
+
columnAlign: "Start",
|
|
4936
|
+
columnResizing: "Fill",
|
|
4937
|
+
gap: "Medium"
|
|
4938
|
+
},
|
|
4812
4939
|
maxColumns: 1,
|
|
4813
4940
|
defaultColumns: 1,
|
|
4814
|
-
appearance: {
|
|
4941
|
+
appearance: {
|
|
4942
|
+
isBordered: false,
|
|
4943
|
+
hasBackground: false,
|
|
4944
|
+
isEditorPresentationDifferent: false
|
|
4945
|
+
}
|
|
4815
4946
|
}
|
|
4816
4947
|
],
|
|
4817
4948
|
defaultVariantKey: "default"
|
|
4818
4949
|
},
|
|
4819
4950
|
behavior: {
|
|
4820
4951
|
dataType: "Item",
|
|
4821
|
-
items: {
|
|
4822
|
-
|
|
4952
|
+
items: {
|
|
4953
|
+
numberOfItems: 1,
|
|
4954
|
+
allowLinks: false
|
|
4955
|
+
}
|
|
4823
4956
|
},
|
|
4824
4957
|
editorOptions: {
|
|
4825
4958
|
onboarding: {
|
|
@@ -4827,15 +4960,16 @@ var blocks = [
|
|
|
4827
4960
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/text/list-UC5iPZLK"
|
|
4828
4961
|
}
|
|
4829
4962
|
},
|
|
4830
|
-
appearance: {
|
|
4963
|
+
appearance: {
|
|
4964
|
+
isBordered: false,
|
|
4965
|
+
hasBackground: false
|
|
4966
|
+
}
|
|
4831
4967
|
},
|
|
4832
4968
|
{
|
|
4833
4969
|
id: "io.supernova.block.divider",
|
|
4834
4970
|
name: "Divider",
|
|
4835
4971
|
description: "A section divider",
|
|
4836
4972
|
category: "Layout",
|
|
4837
|
-
icon: void 0,
|
|
4838
|
-
documentationLink: void 0,
|
|
4839
4973
|
searchKeywords: ["hr", "line", "rule", "separator"],
|
|
4840
4974
|
item: {
|
|
4841
4975
|
properties: [
|
|
@@ -4843,31 +4977,41 @@ var blocks = [
|
|
|
4843
4977
|
id: "divider",
|
|
4844
4978
|
name: "Divider",
|
|
4845
4979
|
type: "Divider",
|
|
4846
|
-
|
|
4847
|
-
options: {},
|
|
4848
|
-
variantOptions: void 0
|
|
4980
|
+
options: {}
|
|
4849
4981
|
}
|
|
4850
4982
|
],
|
|
4851
|
-
appearance: {
|
|
4983
|
+
appearance: {
|
|
4984
|
+
isBordered: false,
|
|
4985
|
+
hasBackground: false
|
|
4986
|
+
},
|
|
4852
4987
|
variants: [
|
|
4853
4988
|
{
|
|
4854
4989
|
id: "default",
|
|
4855
4990
|
name: "Default",
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4991
|
+
layout: {
|
|
4992
|
+
type: "Column",
|
|
4993
|
+
children: ["divider"],
|
|
4994
|
+
columnAlign: "Start",
|
|
4995
|
+
columnResizing: "Fill",
|
|
4996
|
+
gap: "Medium"
|
|
4997
|
+
},
|
|
4860
4998
|
maxColumns: 1,
|
|
4861
4999
|
defaultColumns: 1,
|
|
4862
|
-
appearance: {
|
|
5000
|
+
appearance: {
|
|
5001
|
+
isBordered: false,
|
|
5002
|
+
hasBackground: false,
|
|
5003
|
+
isEditorPresentationDifferent: false
|
|
5004
|
+
}
|
|
4863
5005
|
}
|
|
4864
5006
|
],
|
|
4865
5007
|
defaultVariantKey: "default"
|
|
4866
5008
|
},
|
|
4867
5009
|
behavior: {
|
|
4868
5010
|
dataType: "Item",
|
|
4869
|
-
items: {
|
|
4870
|
-
|
|
5011
|
+
items: {
|
|
5012
|
+
numberOfItems: 1,
|
|
5013
|
+
allowLinks: false
|
|
5014
|
+
}
|
|
4871
5015
|
},
|
|
4872
5016
|
editorOptions: {
|
|
4873
5017
|
onboarding: {
|
|
@@ -4875,15 +5019,16 @@ var blocks = [
|
|
|
4875
5019
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/text/divider-tLuxooLH"
|
|
4876
5020
|
}
|
|
4877
5021
|
},
|
|
4878
|
-
appearance: {
|
|
5022
|
+
appearance: {
|
|
5023
|
+
isBordered: false,
|
|
5024
|
+
hasBackground: false
|
|
5025
|
+
}
|
|
4879
5026
|
},
|
|
4880
5027
|
{
|
|
4881
5028
|
id: "io.supernova.block.blockquote",
|
|
4882
5029
|
name: "Blockquote",
|
|
4883
5030
|
description: "Display a quotation",
|
|
4884
5031
|
category: "Text",
|
|
4885
|
-
icon: void 0,
|
|
4886
|
-
documentationLink: void 0,
|
|
4887
5032
|
searchKeywords: ["cite"],
|
|
4888
5033
|
item: {
|
|
4889
5034
|
properties: [
|
|
@@ -4891,31 +5036,44 @@ var blocks = [
|
|
|
4891
5036
|
id: "text",
|
|
4892
5037
|
name: "Text",
|
|
4893
5038
|
type: "RichText",
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
5039
|
+
options: {
|
|
5040
|
+
placeholder: "Empty quote",
|
|
5041
|
+
richTextStyle: "Quote"
|
|
5042
|
+
}
|
|
4897
5043
|
}
|
|
4898
5044
|
],
|
|
4899
|
-
appearance: {
|
|
5045
|
+
appearance: {
|
|
5046
|
+
isBordered: false,
|
|
5047
|
+
hasBackground: false
|
|
5048
|
+
},
|
|
4900
5049
|
variants: [
|
|
4901
5050
|
{
|
|
4902
5051
|
id: "default",
|
|
4903
5052
|
name: "Default",
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
5053
|
+
layout: {
|
|
5054
|
+
type: "Column",
|
|
5055
|
+
children: ["text"],
|
|
5056
|
+
columnAlign: "Start",
|
|
5057
|
+
columnResizing: "Fill",
|
|
5058
|
+
gap: "Medium"
|
|
5059
|
+
},
|
|
4908
5060
|
maxColumns: 1,
|
|
4909
5061
|
defaultColumns: 1,
|
|
4910
|
-
appearance: {
|
|
5062
|
+
appearance: {
|
|
5063
|
+
isBordered: false,
|
|
5064
|
+
hasBackground: false,
|
|
5065
|
+
isEditorPresentationDifferent: false
|
|
5066
|
+
}
|
|
4911
5067
|
}
|
|
4912
5068
|
],
|
|
4913
5069
|
defaultVariantKey: "default"
|
|
4914
5070
|
},
|
|
4915
5071
|
behavior: {
|
|
4916
5072
|
dataType: "Item",
|
|
4917
|
-
items: {
|
|
4918
|
-
|
|
5073
|
+
items: {
|
|
5074
|
+
numberOfItems: 1,
|
|
5075
|
+
allowLinks: false
|
|
5076
|
+
}
|
|
4919
5077
|
},
|
|
4920
5078
|
editorOptions: {
|
|
4921
5079
|
onboarding: {
|
|
@@ -4923,15 +5081,16 @@ var blocks = [
|
|
|
4923
5081
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/text/blockquote-zYWAsb6X"
|
|
4924
5082
|
}
|
|
4925
5083
|
},
|
|
4926
|
-
appearance: {
|
|
5084
|
+
appearance: {
|
|
5085
|
+
isBordered: false,
|
|
5086
|
+
hasBackground: false
|
|
5087
|
+
}
|
|
4927
5088
|
},
|
|
4928
5089
|
{
|
|
4929
5090
|
id: "io.supernova.block.callout",
|
|
4930
5091
|
name: "Callout",
|
|
4931
5092
|
description: "Highlight a section of text",
|
|
4932
5093
|
category: "Text",
|
|
4933
|
-
icon: void 0,
|
|
4934
|
-
documentationLink: void 0,
|
|
4935
5094
|
searchKeywords: ["banner", "alert", "note", "tip", "warning"],
|
|
4936
5095
|
item: {
|
|
4937
5096
|
properties: [
|
|
@@ -4939,31 +5098,43 @@ var blocks = [
|
|
|
4939
5098
|
id: "text",
|
|
4940
5099
|
name: "Text",
|
|
4941
5100
|
type: "RichText",
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
5101
|
+
options: {
|
|
5102
|
+
richTextStyle: "Callout"
|
|
5103
|
+
}
|
|
4945
5104
|
}
|
|
4946
5105
|
],
|
|
4947
|
-
appearance: {
|
|
5106
|
+
appearance: {
|
|
5107
|
+
isBordered: false,
|
|
5108
|
+
hasBackground: false
|
|
5109
|
+
},
|
|
4948
5110
|
variants: [
|
|
4949
5111
|
{
|
|
4950
5112
|
id: "default",
|
|
4951
5113
|
name: "Default",
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
5114
|
+
layout: {
|
|
5115
|
+
type: "Column",
|
|
5116
|
+
children: ["text"],
|
|
5117
|
+
columnAlign: "Start",
|
|
5118
|
+
columnResizing: "Fill",
|
|
5119
|
+
gap: "Medium"
|
|
5120
|
+
},
|
|
4956
5121
|
maxColumns: 1,
|
|
4957
5122
|
defaultColumns: 1,
|
|
4958
|
-
appearance: {
|
|
5123
|
+
appearance: {
|
|
5124
|
+
isBordered: false,
|
|
5125
|
+
hasBackground: false,
|
|
5126
|
+
isEditorPresentationDifferent: false
|
|
5127
|
+
}
|
|
4959
5128
|
}
|
|
4960
5129
|
],
|
|
4961
5130
|
defaultVariantKey: "default"
|
|
4962
5131
|
},
|
|
4963
5132
|
behavior: {
|
|
4964
5133
|
dataType: "Item",
|
|
4965
|
-
items: {
|
|
4966
|
-
|
|
5134
|
+
items: {
|
|
5135
|
+
numberOfItems: 1,
|
|
5136
|
+
allowLinks: false
|
|
5137
|
+
}
|
|
4967
5138
|
},
|
|
4968
5139
|
editorOptions: {
|
|
4969
5140
|
onboarding: {
|
|
@@ -4971,15 +5142,16 @@ var blocks = [
|
|
|
4971
5142
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/text/callout-ZPlZObD1"
|
|
4972
5143
|
}
|
|
4973
5144
|
},
|
|
4974
|
-
appearance: {
|
|
5145
|
+
appearance: {
|
|
5146
|
+
isBordered: false,
|
|
5147
|
+
hasBackground: false
|
|
5148
|
+
}
|
|
4975
5149
|
},
|
|
4976
5150
|
{
|
|
4977
5151
|
id: "io.supernova.block.image",
|
|
4978
5152
|
name: "Image",
|
|
4979
5153
|
description: "Display an image or Figma frame",
|
|
4980
5154
|
category: "Media",
|
|
4981
|
-
icon: void 0,
|
|
4982
|
-
documentationLink: void 0,
|
|
4983
5155
|
searchKeywords: ["image", "figma", "frame", "picture", "photo"],
|
|
4984
5156
|
item: {
|
|
4985
5157
|
properties: [
|
|
@@ -4987,31 +5159,43 @@ var blocks = [
|
|
|
4987
5159
|
id: "image",
|
|
4988
5160
|
name: "Image",
|
|
4989
5161
|
type: "Image",
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
5162
|
+
options: {
|
|
5163
|
+
allowCaption: true
|
|
5164
|
+
}
|
|
4993
5165
|
}
|
|
4994
5166
|
],
|
|
4995
|
-
appearance: {
|
|
5167
|
+
appearance: {
|
|
5168
|
+
isBordered: false,
|
|
5169
|
+
hasBackground: false
|
|
5170
|
+
},
|
|
4996
5171
|
variants: [
|
|
4997
5172
|
{
|
|
4998
5173
|
id: "default",
|
|
4999
5174
|
name: "Default",
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5175
|
+
layout: {
|
|
5176
|
+
type: "Column",
|
|
5177
|
+
children: ["image"],
|
|
5178
|
+
columnAlign: "Start",
|
|
5179
|
+
columnResizing: "Fill",
|
|
5180
|
+
gap: "Medium"
|
|
5181
|
+
},
|
|
5004
5182
|
maxColumns: 1,
|
|
5005
5183
|
defaultColumns: 1,
|
|
5006
|
-
appearance: {
|
|
5184
|
+
appearance: {
|
|
5185
|
+
isBordered: false,
|
|
5186
|
+
hasBackground: false,
|
|
5187
|
+
isEditorPresentationDifferent: false
|
|
5188
|
+
}
|
|
5007
5189
|
}
|
|
5008
5190
|
],
|
|
5009
5191
|
defaultVariantKey: "default"
|
|
5010
5192
|
},
|
|
5011
5193
|
behavior: {
|
|
5012
5194
|
dataType: "Item",
|
|
5013
|
-
items: {
|
|
5014
|
-
|
|
5195
|
+
items: {
|
|
5196
|
+
numberOfItems: 1,
|
|
5197
|
+
allowLinks: false
|
|
5198
|
+
}
|
|
5015
5199
|
},
|
|
5016
5200
|
editorOptions: {
|
|
5017
5201
|
onboarding: {
|
|
@@ -5019,15 +5203,16 @@ var blocks = [
|
|
|
5019
5203
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/media-and-assets/image-Ue8VdT8B"
|
|
5020
5204
|
}
|
|
5021
5205
|
},
|
|
5022
|
-
appearance: {
|
|
5206
|
+
appearance: {
|
|
5207
|
+
isBordered: false,
|
|
5208
|
+
hasBackground: false
|
|
5209
|
+
}
|
|
5023
5210
|
},
|
|
5024
5211
|
{
|
|
5025
5212
|
id: "io.supernova.block.shortcut-links",
|
|
5026
5213
|
name: "Shortcut links",
|
|
5027
5214
|
description: "Link to a page or external URL",
|
|
5028
5215
|
category: "Media",
|
|
5029
|
-
icon: void 0,
|
|
5030
|
-
documentationLink: void 0,
|
|
5031
5216
|
searchKeywords: [],
|
|
5032
5217
|
item: {
|
|
5033
5218
|
properties: [
|
|
@@ -5035,117 +5220,160 @@ var blocks = [
|
|
|
5035
5220
|
id: "block.links.property.title",
|
|
5036
5221
|
name: "Title",
|
|
5037
5222
|
type: "Text",
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5223
|
+
options: {
|
|
5224
|
+
textStyle: "Title5"
|
|
5225
|
+
}
|
|
5041
5226
|
},
|
|
5042
5227
|
{
|
|
5043
5228
|
id: "block.links.property.description",
|
|
5044
5229
|
name: "Short description",
|
|
5045
5230
|
type: "Text",
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5231
|
+
options: {
|
|
5232
|
+
textStyle: "Default",
|
|
5233
|
+
color: "NeutralFaded"
|
|
5234
|
+
}
|
|
5049
5235
|
},
|
|
5050
5236
|
{
|
|
5051
5237
|
id: "block.links.property.image",
|
|
5052
5238
|
name: "Image",
|
|
5053
5239
|
type: "Image",
|
|
5054
|
-
|
|
5055
|
-
|
|
5240
|
+
options: {
|
|
5241
|
+
width: "Medium",
|
|
5242
|
+
aspectRatio: "Landscape",
|
|
5243
|
+
allowCaption: false
|
|
5244
|
+
},
|
|
5056
5245
|
variantOptions: {
|
|
5057
|
-
iconOnTop: {
|
|
5058
|
-
|
|
5246
|
+
iconOnTop: {
|
|
5247
|
+
width: "Icon",
|
|
5248
|
+
aspectRatio: "Square"
|
|
5249
|
+
},
|
|
5250
|
+
iconOnLeft: {
|
|
5251
|
+
width: "Icon",
|
|
5252
|
+
aspectRatio: "Square"
|
|
5253
|
+
}
|
|
5059
5254
|
}
|
|
5060
5255
|
}
|
|
5061
5256
|
],
|
|
5062
|
-
appearance: {
|
|
5257
|
+
appearance: {
|
|
5258
|
+
isBordered: false,
|
|
5259
|
+
hasBackground: false
|
|
5260
|
+
},
|
|
5063
5261
|
variants: [
|
|
5064
5262
|
{
|
|
5065
5263
|
id: "imageOnTop",
|
|
5066
5264
|
name: "Image on top",
|
|
5067
5265
|
image: "assets/variant-image-on-top.png",
|
|
5068
|
-
description: void 0,
|
|
5069
|
-
documentationLink: void 0,
|
|
5070
5266
|
layout: {
|
|
5071
5267
|
type: "Column",
|
|
5072
|
-
children: ["block.links.property.image", "block.links.property.title", "block.links.property.description"]
|
|
5268
|
+
children: ["block.links.property.image", "block.links.property.title", "block.links.property.description"],
|
|
5269
|
+
columnAlign: "Start",
|
|
5270
|
+
columnResizing: "Fill",
|
|
5271
|
+
gap: "Medium"
|
|
5073
5272
|
},
|
|
5074
5273
|
maxColumns: 4,
|
|
5075
5274
|
defaultColumns: 1,
|
|
5076
|
-
appearance: {
|
|
5275
|
+
appearance: {
|
|
5276
|
+
isBordered: false,
|
|
5277
|
+
hasBackground: false,
|
|
5278
|
+
isEditorPresentationDifferent: false
|
|
5279
|
+
}
|
|
5077
5280
|
},
|
|
5078
5281
|
{
|
|
5079
5282
|
id: "imageOnLeft",
|
|
5080
5283
|
name: "Image on left",
|
|
5081
5284
|
image: "assets/variant-image-on-left.png",
|
|
5082
|
-
description: void 0,
|
|
5083
|
-
documentationLink: void 0,
|
|
5084
5285
|
layout: {
|
|
5085
5286
|
type: "Row",
|
|
5086
5287
|
children: [
|
|
5087
5288
|
{
|
|
5088
5289
|
type: "Column",
|
|
5290
|
+
children: ["block.links.property.image"],
|
|
5291
|
+
columnAlign: "Start",
|
|
5089
5292
|
columnResizing: "Hug",
|
|
5090
|
-
|
|
5293
|
+
gap: "Medium"
|
|
5091
5294
|
},
|
|
5092
5295
|
{
|
|
5093
5296
|
type: "Column",
|
|
5094
|
-
|
|
5095
|
-
|
|
5297
|
+
children: ["block.links.property.title", "block.links.property.description"],
|
|
5298
|
+
columnAlign: "Start",
|
|
5299
|
+
columnResizing: "Fill",
|
|
5300
|
+
gap: "Small"
|
|
5096
5301
|
}
|
|
5097
|
-
]
|
|
5302
|
+
],
|
|
5303
|
+
columnAlign: "Start",
|
|
5304
|
+
columnResizing: "Fill",
|
|
5305
|
+
gap: "Medium"
|
|
5098
5306
|
},
|
|
5099
5307
|
maxColumns: 1,
|
|
5100
5308
|
defaultColumns: 1,
|
|
5101
|
-
appearance: {
|
|
5309
|
+
appearance: {
|
|
5310
|
+
isBordered: false,
|
|
5311
|
+
hasBackground: false,
|
|
5312
|
+
isEditorPresentationDifferent: false
|
|
5313
|
+
}
|
|
5102
5314
|
},
|
|
5103
5315
|
{
|
|
5104
5316
|
id: "iconOnTop",
|
|
5105
5317
|
name: "Icon on top",
|
|
5106
5318
|
image: "assets/variant-icon-on-top.png",
|
|
5107
|
-
description: void 0,
|
|
5108
|
-
documentationLink: void 0,
|
|
5109
5319
|
layout: {
|
|
5110
5320
|
type: "Column",
|
|
5111
|
-
children: ["block.links.property.image", "block.links.property.title", "block.links.property.description"]
|
|
5321
|
+
children: ["block.links.property.image", "block.links.property.title", "block.links.property.description"],
|
|
5322
|
+
columnAlign: "Start",
|
|
5323
|
+
columnResizing: "Fill",
|
|
5324
|
+
gap: "Medium"
|
|
5112
5325
|
},
|
|
5113
5326
|
maxColumns: 4,
|
|
5114
5327
|
defaultColumns: 1,
|
|
5115
|
-
appearance: {
|
|
5328
|
+
appearance: {
|
|
5329
|
+
isBordered: false,
|
|
5330
|
+
hasBackground: false,
|
|
5331
|
+
isEditorPresentationDifferent: false
|
|
5332
|
+
}
|
|
5116
5333
|
},
|
|
5117
5334
|
{
|
|
5118
5335
|
id: "iconOnLeft",
|
|
5119
5336
|
name: "Icon on left",
|
|
5120
5337
|
image: "assets/variant-icon-on-left.png",
|
|
5121
|
-
description: void 0,
|
|
5122
|
-
documentationLink: void 0,
|
|
5123
5338
|
layout: {
|
|
5124
5339
|
type: "Row",
|
|
5125
5340
|
children: [
|
|
5126
5341
|
{
|
|
5127
5342
|
type: "Column",
|
|
5343
|
+
children: ["block.links.property.image"],
|
|
5344
|
+
columnAlign: "Start",
|
|
5128
5345
|
columnResizing: "Hug",
|
|
5129
|
-
|
|
5346
|
+
gap: "Medium"
|
|
5130
5347
|
},
|
|
5131
5348
|
{
|
|
5132
5349
|
type: "Column",
|
|
5133
|
-
|
|
5134
|
-
|
|
5350
|
+
children: ["block.links.property.title", "block.links.property.description"],
|
|
5351
|
+
columnAlign: "Start",
|
|
5352
|
+
columnResizing: "Fill",
|
|
5353
|
+
gap: "Small"
|
|
5135
5354
|
}
|
|
5136
|
-
]
|
|
5355
|
+
],
|
|
5356
|
+
columnAlign: "Start",
|
|
5357
|
+
columnResizing: "Fill",
|
|
5358
|
+
gap: "Medium"
|
|
5137
5359
|
},
|
|
5138
5360
|
maxColumns: 2,
|
|
5139
5361
|
defaultColumns: 1,
|
|
5140
|
-
appearance: {
|
|
5362
|
+
appearance: {
|
|
5363
|
+
isBordered: false,
|
|
5364
|
+
hasBackground: false,
|
|
5365
|
+
isEditorPresentationDifferent: false
|
|
5366
|
+
}
|
|
5141
5367
|
}
|
|
5142
5368
|
],
|
|
5143
5369
|
defaultVariantKey: "imageOnTop"
|
|
5144
5370
|
},
|
|
5145
5371
|
behavior: {
|
|
5146
5372
|
dataType: "Item",
|
|
5147
|
-
items: {
|
|
5148
|
-
|
|
5373
|
+
items: {
|
|
5374
|
+
numberOfItems: -1,
|
|
5375
|
+
allowLinks: true
|
|
5376
|
+
}
|
|
5149
5377
|
},
|
|
5150
5378
|
editorOptions: {
|
|
5151
5379
|
onboarding: {
|
|
@@ -5153,15 +5381,16 @@ var blocks = [
|
|
|
5153
5381
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/links/shortcuts/general-jVfNifo4"
|
|
5154
5382
|
}
|
|
5155
5383
|
},
|
|
5156
|
-
appearance: {
|
|
5384
|
+
appearance: {
|
|
5385
|
+
isBordered: false,
|
|
5386
|
+
hasBackground: false
|
|
5387
|
+
}
|
|
5157
5388
|
},
|
|
5158
5389
|
{
|
|
5159
5390
|
id: "io.supernova.block.color-accessibility-grid",
|
|
5160
5391
|
name: "Accessibility Color Grid",
|
|
5161
5392
|
description: "Visualize accessibility of your color tokens.",
|
|
5162
5393
|
category: "Tokens",
|
|
5163
|
-
icon: void 0,
|
|
5164
|
-
documentationLink: void 0,
|
|
5165
5394
|
searchKeywords: ["color", "accessibility", "grid", "contrast", "blind", "impairment"],
|
|
5166
5395
|
item: {
|
|
5167
5396
|
properties: [
|
|
@@ -5169,31 +5398,45 @@ var blocks = [
|
|
|
5169
5398
|
id: "tokens",
|
|
5170
5399
|
name: "Tokens",
|
|
5171
5400
|
type: "Token",
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5401
|
+
options: {
|
|
5402
|
+
allowedTypes: ["Color"],
|
|
5403
|
+
allowPropertySelection: false,
|
|
5404
|
+
allowThemeSelection: false
|
|
5405
|
+
}
|
|
5175
5406
|
}
|
|
5176
5407
|
],
|
|
5177
|
-
appearance: {
|
|
5408
|
+
appearance: {
|
|
5409
|
+
isBordered: false,
|
|
5410
|
+
hasBackground: false
|
|
5411
|
+
},
|
|
5178
5412
|
variants: [
|
|
5179
5413
|
{
|
|
5180
5414
|
id: "default",
|
|
5181
5415
|
name: "Default",
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5416
|
+
layout: {
|
|
5417
|
+
type: "Column",
|
|
5418
|
+
children: ["tokens"],
|
|
5419
|
+
columnAlign: "Start",
|
|
5420
|
+
columnResizing: "Fill",
|
|
5421
|
+
gap: "Medium"
|
|
5422
|
+
},
|
|
5186
5423
|
maxColumns: 1,
|
|
5187
5424
|
defaultColumns: 1,
|
|
5188
|
-
appearance: {
|
|
5425
|
+
appearance: {
|
|
5426
|
+
isBordered: false,
|
|
5427
|
+
hasBackground: false,
|
|
5428
|
+
isEditorPresentationDifferent: false
|
|
5429
|
+
}
|
|
5189
5430
|
}
|
|
5190
5431
|
],
|
|
5191
5432
|
defaultVariantKey: "default"
|
|
5192
5433
|
},
|
|
5193
5434
|
behavior: {
|
|
5194
5435
|
dataType: "Token",
|
|
5195
|
-
|
|
5196
|
-
|
|
5436
|
+
entities: {
|
|
5437
|
+
selectionType: "Group",
|
|
5438
|
+
maxSelected: 2
|
|
5439
|
+
}
|
|
5197
5440
|
},
|
|
5198
5441
|
editorOptions: {
|
|
5199
5442
|
onboarding: {
|
|
@@ -5201,15 +5444,16 @@ var blocks = [
|
|
|
5201
5444
|
documentationLink: "https://learn.supernova.io"
|
|
5202
5445
|
}
|
|
5203
5446
|
},
|
|
5204
|
-
appearance: {
|
|
5447
|
+
appearance: {
|
|
5448
|
+
isBordered: false,
|
|
5449
|
+
hasBackground: false
|
|
5450
|
+
}
|
|
5205
5451
|
},
|
|
5206
5452
|
{
|
|
5207
5453
|
id: "io.supernova.block.embed",
|
|
5208
5454
|
name: "Embed",
|
|
5209
5455
|
description: "Embed a generic URL",
|
|
5210
5456
|
category: "Media",
|
|
5211
|
-
icon: void 0,
|
|
5212
|
-
documentationLink: void 0,
|
|
5213
5457
|
searchKeywords: ["embed", "url", "iframe", "site", "import"],
|
|
5214
5458
|
item: {
|
|
5215
5459
|
properties: [
|
|
@@ -5217,36 +5461,46 @@ var blocks = [
|
|
|
5217
5461
|
id: "embedUrl",
|
|
5218
5462
|
name: "Embed URL",
|
|
5219
5463
|
type: "EmbedURL",
|
|
5220
|
-
description: void 0,
|
|
5221
5464
|
options: {
|
|
5222
5465
|
allowCaption: true,
|
|
5223
5466
|
allowResize: true,
|
|
5224
5467
|
defaultHeight: 400,
|
|
5225
5468
|
urlValidationRegex: "^(https?://)?(www.)?.+$"
|
|
5226
|
-
}
|
|
5227
|
-
variantOptions: void 0
|
|
5469
|
+
}
|
|
5228
5470
|
}
|
|
5229
5471
|
],
|
|
5230
|
-
appearance: {
|
|
5472
|
+
appearance: {
|
|
5473
|
+
isBordered: false,
|
|
5474
|
+
hasBackground: false
|
|
5475
|
+
},
|
|
5231
5476
|
variants: [
|
|
5232
5477
|
{
|
|
5233
5478
|
id: "default",
|
|
5234
5479
|
name: "Default",
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5480
|
+
layout: {
|
|
5481
|
+
type: "Column",
|
|
5482
|
+
children: ["embedUrl"],
|
|
5483
|
+
columnAlign: "Start",
|
|
5484
|
+
columnResizing: "Fill",
|
|
5485
|
+
gap: "Medium"
|
|
5486
|
+
},
|
|
5239
5487
|
maxColumns: 1,
|
|
5240
5488
|
defaultColumns: 1,
|
|
5241
|
-
appearance: {
|
|
5489
|
+
appearance: {
|
|
5490
|
+
isBordered: false,
|
|
5491
|
+
hasBackground: false,
|
|
5492
|
+
isEditorPresentationDifferent: false
|
|
5493
|
+
}
|
|
5242
5494
|
}
|
|
5243
5495
|
],
|
|
5244
5496
|
defaultVariantKey: "default"
|
|
5245
5497
|
},
|
|
5246
5498
|
behavior: {
|
|
5247
5499
|
dataType: "Item",
|
|
5248
|
-
items: {
|
|
5249
|
-
|
|
5500
|
+
items: {
|
|
5501
|
+
numberOfItems: 1,
|
|
5502
|
+
allowLinks: false
|
|
5503
|
+
}
|
|
5250
5504
|
},
|
|
5251
5505
|
editorOptions: {
|
|
5252
5506
|
onboarding: {
|
|
@@ -5254,15 +5508,16 @@ var blocks = [
|
|
|
5254
5508
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/media-and-assets/embed/public-url-2ZeRQ332"
|
|
5255
5509
|
}
|
|
5256
5510
|
},
|
|
5257
|
-
appearance: {
|
|
5511
|
+
appearance: {
|
|
5512
|
+
isBordered: false,
|
|
5513
|
+
hasBackground: false
|
|
5514
|
+
}
|
|
5258
5515
|
},
|
|
5259
5516
|
{
|
|
5260
5517
|
id: "io.supernova.block.embed-youtube",
|
|
5261
5518
|
name: "YouTube",
|
|
5262
5519
|
description: "Embed a Youtube video",
|
|
5263
5520
|
category: "Media",
|
|
5264
|
-
icon: void 0,
|
|
5265
|
-
documentationLink: void 0,
|
|
5266
5521
|
searchKeywords: ["embed", "video", "player", "upload"],
|
|
5267
5522
|
item: {
|
|
5268
5523
|
properties: [
|
|
@@ -5270,36 +5525,46 @@ var blocks = [
|
|
|
5270
5525
|
id: "embed",
|
|
5271
5526
|
name: "Youtube URL",
|
|
5272
5527
|
type: "EmbedURL",
|
|
5273
|
-
description: void 0,
|
|
5274
5528
|
options: {
|
|
5275
5529
|
allowCaption: false,
|
|
5276
5530
|
allowResize: false,
|
|
5277
5531
|
defaultHeight: 400,
|
|
5278
5532
|
urlValidationRegex: "^(https?://)?(www.)?(youtube.com|youtu.?be)/.+$"
|
|
5279
|
-
}
|
|
5280
|
-
variantOptions: void 0
|
|
5533
|
+
}
|
|
5281
5534
|
}
|
|
5282
5535
|
],
|
|
5283
|
-
appearance: {
|
|
5536
|
+
appearance: {
|
|
5537
|
+
isBordered: false,
|
|
5538
|
+
hasBackground: false
|
|
5539
|
+
},
|
|
5284
5540
|
variants: [
|
|
5285
5541
|
{
|
|
5286
5542
|
id: "default",
|
|
5287
5543
|
name: "Default",
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5544
|
+
layout: {
|
|
5545
|
+
type: "Column",
|
|
5546
|
+
children: ["embed"],
|
|
5547
|
+
columnAlign: "Start",
|
|
5548
|
+
columnResizing: "Fill",
|
|
5549
|
+
gap: "Medium"
|
|
5550
|
+
},
|
|
5292
5551
|
maxColumns: 1,
|
|
5293
5552
|
defaultColumns: 1,
|
|
5294
|
-
appearance: {
|
|
5553
|
+
appearance: {
|
|
5554
|
+
isBordered: false,
|
|
5555
|
+
hasBackground: false,
|
|
5556
|
+
isEditorPresentationDifferent: false
|
|
5557
|
+
}
|
|
5295
5558
|
}
|
|
5296
5559
|
],
|
|
5297
5560
|
defaultVariantKey: "default"
|
|
5298
5561
|
},
|
|
5299
5562
|
behavior: {
|
|
5300
5563
|
dataType: "Item",
|
|
5301
|
-
items: {
|
|
5302
|
-
|
|
5564
|
+
items: {
|
|
5565
|
+
numberOfItems: 1,
|
|
5566
|
+
allowLinks: false
|
|
5567
|
+
}
|
|
5303
5568
|
},
|
|
5304
5569
|
editorOptions: {
|
|
5305
5570
|
onboarding: {
|
|
@@ -5307,68 +5572,76 @@ var blocks = [
|
|
|
5307
5572
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/media-and-assets/youtube-Gh8VUrSF"
|
|
5308
5573
|
}
|
|
5309
5574
|
},
|
|
5310
|
-
appearance: {
|
|
5575
|
+
appearance: {
|
|
5576
|
+
isBordered: false,
|
|
5577
|
+
hasBackground: false
|
|
5578
|
+
}
|
|
5311
5579
|
},
|
|
5312
5580
|
{
|
|
5313
5581
|
id: "io.supernova.block.embed-lottie",
|
|
5314
5582
|
name: "Lottie animation",
|
|
5315
5583
|
description: "Preview a Lottie animation",
|
|
5316
5584
|
category: "Media",
|
|
5317
|
-
icon: void 0,
|
|
5318
|
-
documentationLink: void 0,
|
|
5319
5585
|
searchKeywords: ["embed", "lottie", "animation", "rive", "json"],
|
|
5320
5586
|
item: {
|
|
5321
5587
|
properties: [
|
|
5322
5588
|
{
|
|
5323
|
-
id: "
|
|
5589
|
+
id: "url",
|
|
5324
5590
|
name: "Lottie URL",
|
|
5325
|
-
type: "
|
|
5326
|
-
description: void 0,
|
|
5591
|
+
type: "URL",
|
|
5327
5592
|
options: {
|
|
5328
|
-
allowCaption: false,
|
|
5329
|
-
allowResize: true,
|
|
5330
|
-
defaultHeight: 400,
|
|
5331
5593
|
urlValidationRegex: "^(https?:\\/\\/)?([\\w\\d\\-\\.]+)\\.([\\w]+)(\\/[\\w\\d_\\-\\.\\/]*)?(\\.json|\\.lottie)$\n"
|
|
5332
|
-
}
|
|
5333
|
-
variantOptions: void 0
|
|
5594
|
+
}
|
|
5334
5595
|
},
|
|
5335
5596
|
{
|
|
5336
5597
|
id: "autoplay",
|
|
5337
5598
|
name: "Autoplay",
|
|
5338
5599
|
type: "Boolean",
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5600
|
+
options: {
|
|
5601
|
+
defaultValue: true
|
|
5602
|
+
}
|
|
5342
5603
|
},
|
|
5343
5604
|
{
|
|
5344
5605
|
id: "loop",
|
|
5345
5606
|
name: "Loop",
|
|
5346
5607
|
type: "Boolean",
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5608
|
+
options: {
|
|
5609
|
+
defaultValue: true
|
|
5610
|
+
}
|
|
5350
5611
|
}
|
|
5351
5612
|
],
|
|
5352
|
-
appearance: {
|
|
5613
|
+
appearance: {
|
|
5614
|
+
isBordered: false,
|
|
5615
|
+
hasBackground: false
|
|
5616
|
+
},
|
|
5353
5617
|
variants: [
|
|
5354
5618
|
{
|
|
5355
5619
|
id: "default",
|
|
5356
5620
|
name: "Default",
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5621
|
+
layout: {
|
|
5622
|
+
type: "Column",
|
|
5623
|
+
children: ["url", "autoplay", "loop"],
|
|
5624
|
+
columnAlign: "Start",
|
|
5625
|
+
columnResizing: "Fill",
|
|
5626
|
+
gap: "Medium"
|
|
5627
|
+
},
|
|
5361
5628
|
maxColumns: 1,
|
|
5362
5629
|
defaultColumns: 1,
|
|
5363
|
-
appearance: {
|
|
5630
|
+
appearance: {
|
|
5631
|
+
isBordered: false,
|
|
5632
|
+
hasBackground: false,
|
|
5633
|
+
isEditorPresentationDifferent: false
|
|
5634
|
+
}
|
|
5364
5635
|
}
|
|
5365
5636
|
],
|
|
5366
5637
|
defaultVariantKey: "default"
|
|
5367
5638
|
},
|
|
5368
5639
|
behavior: {
|
|
5369
5640
|
dataType: "Item",
|
|
5370
|
-
items: {
|
|
5371
|
-
|
|
5641
|
+
items: {
|
|
5642
|
+
numberOfItems: 1,
|
|
5643
|
+
allowLinks: false
|
|
5644
|
+
}
|
|
5372
5645
|
},
|
|
5373
5646
|
editorOptions: {
|
|
5374
5647
|
onboarding: {
|
|
@@ -5376,15 +5649,16 @@ var blocks = [
|
|
|
5376
5649
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/media-and-assets/lottie-preview-7CqFdGv9"
|
|
5377
5650
|
}
|
|
5378
5651
|
},
|
|
5379
|
-
appearance: {
|
|
5652
|
+
appearance: {
|
|
5653
|
+
isBordered: false,
|
|
5654
|
+
hasBackground: false
|
|
5655
|
+
}
|
|
5380
5656
|
},
|
|
5381
5657
|
{
|
|
5382
5658
|
id: "io.supernova.block.storybook",
|
|
5383
5659
|
name: "Storybook",
|
|
5384
5660
|
description: "Embed Storybook canvas",
|
|
5385
5661
|
category: "Media",
|
|
5386
|
-
icon: void 0,
|
|
5387
|
-
documentationLink: void 0,
|
|
5388
5662
|
searchKeywords: ["storybook", "story", "stories", "example", "preview", "code", "react"],
|
|
5389
5663
|
item: {
|
|
5390
5664
|
properties: [
|
|
@@ -5392,31 +5666,45 @@ var blocks = [
|
|
|
5392
5666
|
id: "embed",
|
|
5393
5667
|
name: "Storybook URL",
|
|
5394
5668
|
type: "Storybook",
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5669
|
+
options: {
|
|
5670
|
+
allowCaption: true,
|
|
5671
|
+
allowResize: true,
|
|
5672
|
+
defaultHeight: 400
|
|
5673
|
+
}
|
|
5398
5674
|
}
|
|
5399
5675
|
],
|
|
5400
|
-
appearance: {
|
|
5676
|
+
appearance: {
|
|
5677
|
+
isBordered: false,
|
|
5678
|
+
hasBackground: false
|
|
5679
|
+
},
|
|
5401
5680
|
variants: [
|
|
5402
5681
|
{
|
|
5403
5682
|
id: "default",
|
|
5404
5683
|
name: "Default",
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5684
|
+
layout: {
|
|
5685
|
+
type: "Column",
|
|
5686
|
+
children: ["embed"],
|
|
5687
|
+
columnAlign: "Start",
|
|
5688
|
+
columnResizing: "Fill",
|
|
5689
|
+
gap: "Medium"
|
|
5690
|
+
},
|
|
5409
5691
|
maxColumns: 1,
|
|
5410
5692
|
defaultColumns: 1,
|
|
5411
|
-
appearance: {
|
|
5693
|
+
appearance: {
|
|
5694
|
+
isBordered: false,
|
|
5695
|
+
hasBackground: false,
|
|
5696
|
+
isEditorPresentationDifferent: false
|
|
5697
|
+
}
|
|
5412
5698
|
}
|
|
5413
5699
|
],
|
|
5414
5700
|
defaultVariantKey: "default"
|
|
5415
5701
|
},
|
|
5416
5702
|
behavior: {
|
|
5417
5703
|
dataType: "Item",
|
|
5418
|
-
items: {
|
|
5419
|
-
|
|
5704
|
+
items: {
|
|
5705
|
+
numberOfItems: 1,
|
|
5706
|
+
allowLinks: false
|
|
5707
|
+
}
|
|
5420
5708
|
},
|
|
5421
5709
|
editorOptions: {
|
|
5422
5710
|
onboarding: {
|
|
@@ -5424,52 +5712,63 @@ var blocks = [
|
|
|
5424
5712
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/code/storybook-1EGPhwBl"
|
|
5425
5713
|
}
|
|
5426
5714
|
},
|
|
5427
|
-
appearance: {
|
|
5715
|
+
appearance: {
|
|
5716
|
+
isBordered: false,
|
|
5717
|
+
hasBackground: false
|
|
5718
|
+
}
|
|
5428
5719
|
},
|
|
5429
5720
|
{
|
|
5430
5721
|
id: "io.supernova.block.embed-figma",
|
|
5431
5722
|
name: "Figma embed",
|
|
5432
5723
|
description: "Embed a Figma canvas or prototype",
|
|
5433
5724
|
category: "Media",
|
|
5434
|
-
icon: void 0,
|
|
5435
|
-
documentationLink: void 0,
|
|
5436
5725
|
searchKeywords: ["embed", "figma", "design", "prototype", "canvas"],
|
|
5437
5726
|
item: {
|
|
5438
5727
|
properties: [
|
|
5439
5728
|
{
|
|
5440
5729
|
id: "embed",
|
|
5441
|
-
name: "Figma
|
|
5730
|
+
name: "Figma URL",
|
|
5442
5731
|
type: "EmbedURL",
|
|
5443
|
-
description: void 0,
|
|
5444
5732
|
options: {
|
|
5445
5733
|
allowCaption: false,
|
|
5446
5734
|
allowResize: true,
|
|
5447
5735
|
defaultHeight: 400,
|
|
5448
5736
|
urlValidationRegex: "^(https?://)?(www.)?(figma.com)/.+$"
|
|
5449
|
-
}
|
|
5450
|
-
variantOptions: void 0
|
|
5737
|
+
}
|
|
5451
5738
|
}
|
|
5452
5739
|
],
|
|
5453
|
-
appearance: {
|
|
5740
|
+
appearance: {
|
|
5741
|
+
isBordered: false,
|
|
5742
|
+
hasBackground: false
|
|
5743
|
+
},
|
|
5454
5744
|
variants: [
|
|
5455
5745
|
{
|
|
5456
5746
|
id: "default",
|
|
5457
5747
|
name: "Default",
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5748
|
+
layout: {
|
|
5749
|
+
type: "Column",
|
|
5750
|
+
children: ["embed"],
|
|
5751
|
+
columnAlign: "Start",
|
|
5752
|
+
columnResizing: "Fill",
|
|
5753
|
+
gap: "Medium"
|
|
5754
|
+
},
|
|
5462
5755
|
maxColumns: 1,
|
|
5463
5756
|
defaultColumns: 1,
|
|
5464
|
-
appearance: {
|
|
5757
|
+
appearance: {
|
|
5758
|
+
isBordered: false,
|
|
5759
|
+
hasBackground: false,
|
|
5760
|
+
isEditorPresentationDifferent: false
|
|
5761
|
+
}
|
|
5465
5762
|
}
|
|
5466
5763
|
],
|
|
5467
5764
|
defaultVariantKey: "default"
|
|
5468
5765
|
},
|
|
5469
5766
|
behavior: {
|
|
5470
5767
|
dataType: "Item",
|
|
5471
|
-
items: {
|
|
5472
|
-
|
|
5768
|
+
items: {
|
|
5769
|
+
numberOfItems: 1,
|
|
5770
|
+
allowLinks: false
|
|
5771
|
+
}
|
|
5473
5772
|
},
|
|
5474
5773
|
editorOptions: {
|
|
5475
5774
|
onboarding: {
|
|
@@ -5477,15 +5776,16 @@ var blocks = [
|
|
|
5477
5776
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/figma/embed-figma-GPNJsT8A"
|
|
5478
5777
|
}
|
|
5479
5778
|
},
|
|
5480
|
-
appearance: {
|
|
5779
|
+
appearance: {
|
|
5780
|
+
isBordered: false,
|
|
5781
|
+
hasBackground: false
|
|
5782
|
+
}
|
|
5481
5783
|
},
|
|
5482
5784
|
{
|
|
5483
5785
|
id: "io.supernova.block.markdown",
|
|
5484
5786
|
name: "Markdown",
|
|
5485
5787
|
description: "Render Markdown URL",
|
|
5486
5788
|
category: "Other",
|
|
5487
|
-
icon: void 0,
|
|
5488
|
-
documentationLink: void 0,
|
|
5489
5789
|
searchKeywords: ["md", "embed", "api", "table", "mdx"],
|
|
5490
5790
|
item: {
|
|
5491
5791
|
properties: [
|
|
@@ -5493,31 +5793,80 @@ var blocks = [
|
|
|
5493
5793
|
id: "markdownUrl",
|
|
5494
5794
|
name: "Markdown URL",
|
|
5495
5795
|
type: "Markdown",
|
|
5496
|
-
|
|
5497
|
-
options: {},
|
|
5498
|
-
variantOptions: void 0
|
|
5796
|
+
options: {}
|
|
5499
5797
|
}
|
|
5500
5798
|
],
|
|
5501
|
-
appearance: {
|
|
5799
|
+
appearance: {
|
|
5800
|
+
isBordered: false,
|
|
5801
|
+
hasBackground: false
|
|
5802
|
+
},
|
|
5502
5803
|
variants: [
|
|
5503
5804
|
{
|
|
5504
|
-
id: "
|
|
5505
|
-
name: "
|
|
5506
|
-
image:
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5805
|
+
id: "plain",
|
|
5806
|
+
name: "Plain",
|
|
5807
|
+
image: "assets/variant-plain.png",
|
|
5808
|
+
layout: {
|
|
5809
|
+
type: "Column",
|
|
5810
|
+
children: ["markdownUrl"],
|
|
5811
|
+
columnAlign: "Start",
|
|
5812
|
+
columnResizing: "Fill",
|
|
5813
|
+
gap: "Medium"
|
|
5814
|
+
},
|
|
5815
|
+
maxColumns: 1,
|
|
5816
|
+
defaultColumns: 1,
|
|
5817
|
+
appearance: {
|
|
5818
|
+
isBordered: false,
|
|
5819
|
+
hasBackground: false,
|
|
5820
|
+
isEditorPresentationDifferent: true
|
|
5821
|
+
}
|
|
5822
|
+
},
|
|
5823
|
+
{
|
|
5824
|
+
id: "bordered",
|
|
5825
|
+
name: "Bordered",
|
|
5826
|
+
image: "assets/variant-Bordered.png",
|
|
5827
|
+
layout: {
|
|
5828
|
+
type: "Column",
|
|
5829
|
+
children: ["markdownUrl"],
|
|
5830
|
+
columnAlign: "Start",
|
|
5831
|
+
columnResizing: "Fill",
|
|
5832
|
+
gap: "Medium"
|
|
5833
|
+
},
|
|
5510
5834
|
maxColumns: 1,
|
|
5511
5835
|
defaultColumns: 1,
|
|
5512
|
-
appearance: {
|
|
5836
|
+
appearance: {
|
|
5837
|
+
isBordered: false,
|
|
5838
|
+
hasBackground: false,
|
|
5839
|
+
isEditorPresentationDifferent: true
|
|
5840
|
+
}
|
|
5841
|
+
},
|
|
5842
|
+
{
|
|
5843
|
+
id: "boxed",
|
|
5844
|
+
name: "Boxed",
|
|
5845
|
+
image: "assets/variant-boxed.png",
|
|
5846
|
+
layout: {
|
|
5847
|
+
type: "Column",
|
|
5848
|
+
children: ["markdownUrl"],
|
|
5849
|
+
columnAlign: "Start",
|
|
5850
|
+
columnResizing: "Fill",
|
|
5851
|
+
gap: "Medium"
|
|
5852
|
+
},
|
|
5853
|
+
maxColumns: 1,
|
|
5854
|
+
defaultColumns: 1,
|
|
5855
|
+
appearance: {
|
|
5856
|
+
isBordered: false,
|
|
5857
|
+
hasBackground: false,
|
|
5858
|
+
isEditorPresentationDifferent: true
|
|
5859
|
+
}
|
|
5513
5860
|
}
|
|
5514
5861
|
],
|
|
5515
|
-
defaultVariantKey: "
|
|
5862
|
+
defaultVariantKey: "plain"
|
|
5516
5863
|
},
|
|
5517
5864
|
behavior: {
|
|
5518
5865
|
dataType: "Item",
|
|
5519
|
-
items: {
|
|
5520
|
-
|
|
5866
|
+
items: {
|
|
5867
|
+
numberOfItems: 1,
|
|
5868
|
+
allowLinks: false
|
|
5869
|
+
}
|
|
5521
5870
|
},
|
|
5522
5871
|
editorOptions: {
|
|
5523
5872
|
onboarding: {
|
|
@@ -5525,15 +5874,16 @@ var blocks = [
|
|
|
5525
5874
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/code/markdown/general-B8wQVOem"
|
|
5526
5875
|
}
|
|
5527
5876
|
},
|
|
5528
|
-
appearance: {
|
|
5877
|
+
appearance: {
|
|
5878
|
+
isBordered: false,
|
|
5879
|
+
hasBackground: false
|
|
5880
|
+
}
|
|
5529
5881
|
},
|
|
5530
5882
|
{
|
|
5531
5883
|
id: "io.supernova.block.table",
|
|
5532
5884
|
name: "Table",
|
|
5533
5885
|
description: "Display a simple table",
|
|
5534
5886
|
category: "Layout",
|
|
5535
|
-
icon: void 0,
|
|
5536
|
-
documentationLink: void 0,
|
|
5537
5887
|
searchKeywords: ["grid", "data", "spreadsheet", "api"],
|
|
5538
5888
|
item: {
|
|
5539
5889
|
properties: [
|
|
@@ -5541,31 +5891,41 @@ var blocks = [
|
|
|
5541
5891
|
id: "table",
|
|
5542
5892
|
name: "Table",
|
|
5543
5893
|
type: "Table",
|
|
5544
|
-
|
|
5545
|
-
options: {},
|
|
5546
|
-
variantOptions: void 0
|
|
5894
|
+
options: {}
|
|
5547
5895
|
}
|
|
5548
5896
|
],
|
|
5549
|
-
appearance: {
|
|
5897
|
+
appearance: {
|
|
5898
|
+
isBordered: false,
|
|
5899
|
+
hasBackground: false
|
|
5900
|
+
},
|
|
5550
5901
|
variants: [
|
|
5551
5902
|
{
|
|
5552
5903
|
id: "default",
|
|
5553
5904
|
name: "Default",
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5905
|
+
layout: {
|
|
5906
|
+
type: "Column",
|
|
5907
|
+
children: ["table"],
|
|
5908
|
+
columnAlign: "Start",
|
|
5909
|
+
columnResizing: "Fill",
|
|
5910
|
+
gap: "Medium"
|
|
5911
|
+
},
|
|
5558
5912
|
maxColumns: 1,
|
|
5559
5913
|
defaultColumns: 1,
|
|
5560
|
-
appearance: {
|
|
5914
|
+
appearance: {
|
|
5915
|
+
isBordered: false,
|
|
5916
|
+
hasBackground: false,
|
|
5917
|
+
isEditorPresentationDifferent: false
|
|
5918
|
+
}
|
|
5561
5919
|
}
|
|
5562
5920
|
],
|
|
5563
5921
|
defaultVariantKey: "default"
|
|
5564
5922
|
},
|
|
5565
5923
|
behavior: {
|
|
5566
5924
|
dataType: "Item",
|
|
5567
|
-
items: {
|
|
5568
|
-
|
|
5925
|
+
items: {
|
|
5926
|
+
numberOfItems: 1,
|
|
5927
|
+
allowLinks: false
|
|
5928
|
+
}
|
|
5569
5929
|
},
|
|
5570
5930
|
editorOptions: {
|
|
5571
5931
|
onboarding: {
|
|
@@ -5573,15 +5933,16 @@ var blocks = [
|
|
|
5573
5933
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/layout/table-R8KGnxej"
|
|
5574
5934
|
}
|
|
5575
5935
|
},
|
|
5576
|
-
appearance: {
|
|
5936
|
+
appearance: {
|
|
5937
|
+
isBordered: false,
|
|
5938
|
+
hasBackground: false
|
|
5939
|
+
}
|
|
5577
5940
|
},
|
|
5578
5941
|
{
|
|
5579
5942
|
id: "io.supernova.block.token-detail",
|
|
5580
5943
|
name: "Token detail",
|
|
5581
5944
|
description: "Show a single design tokens",
|
|
5582
5945
|
category: "Tokens",
|
|
5583
|
-
icon: void 0,
|
|
5584
|
-
documentationLink: void 0,
|
|
5585
5946
|
searchKeywords: ["color", "typography", "spacing", "grid", "material", "theme"],
|
|
5586
5947
|
item: {
|
|
5587
5948
|
properties: [
|
|
@@ -5589,53 +5950,84 @@ var blocks = [
|
|
|
5589
5950
|
id: "tokens",
|
|
5590
5951
|
name: "Tokens",
|
|
5591
5952
|
type: "Token",
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5953
|
+
options: {
|
|
5954
|
+
renderLayoutAs: "List",
|
|
5955
|
+
defaultTheme: "none",
|
|
5956
|
+
defaultValuePreview: "splitView"
|
|
5957
|
+
}
|
|
5595
5958
|
}
|
|
5596
5959
|
],
|
|
5597
|
-
appearance: {
|
|
5960
|
+
appearance: {
|
|
5961
|
+
isBordered: false,
|
|
5962
|
+
hasBackground: false
|
|
5963
|
+
},
|
|
5598
5964
|
variants: [
|
|
5599
5965
|
{
|
|
5600
5966
|
id: "table",
|
|
5601
5967
|
name: "Table Row",
|
|
5602
5968
|
image: "assets/variant-table.png",
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5969
|
+
layout: {
|
|
5970
|
+
type: "Column",
|
|
5971
|
+
children: ["tokens"],
|
|
5972
|
+
columnAlign: "Start",
|
|
5973
|
+
columnResizing: "Fill",
|
|
5974
|
+
gap: "Medium"
|
|
5975
|
+
},
|
|
5606
5976
|
maxColumns: 1,
|
|
5607
5977
|
defaultColumns: 1,
|
|
5608
|
-
appearance: {
|
|
5978
|
+
appearance: {
|
|
5979
|
+
isBordered: false,
|
|
5980
|
+
hasBackground: false,
|
|
5981
|
+
isEditorPresentationDifferent: false
|
|
5982
|
+
}
|
|
5609
5983
|
},
|
|
5610
5984
|
{
|
|
5611
5985
|
id: "grid",
|
|
5612
5986
|
name: "Grid Item",
|
|
5613
5987
|
image: "assets/variant-grid.png",
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5988
|
+
layout: {
|
|
5989
|
+
type: "Column",
|
|
5990
|
+
children: ["tokens"],
|
|
5991
|
+
columnAlign: "Start",
|
|
5992
|
+
columnResizing: "Fill",
|
|
5993
|
+
gap: "Medium"
|
|
5994
|
+
},
|
|
5617
5995
|
maxColumns: 1,
|
|
5618
5996
|
defaultColumns: 1,
|
|
5619
|
-
appearance: {
|
|
5997
|
+
appearance: {
|
|
5998
|
+
isBordered: false,
|
|
5999
|
+
hasBackground: false,
|
|
6000
|
+
isEditorPresentationDifferent: false
|
|
6001
|
+
}
|
|
5620
6002
|
},
|
|
5621
6003
|
{
|
|
5622
6004
|
id: "color-stack",
|
|
5623
6005
|
name: "Color stack item",
|
|
5624
6006
|
image: "assets/variant-color-stack.png",
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
6007
|
+
layout: {
|
|
6008
|
+
type: "Column",
|
|
6009
|
+
children: ["tokens"],
|
|
6010
|
+
columnAlign: "Start",
|
|
6011
|
+
columnResizing: "Fill",
|
|
6012
|
+
gap: "Medium"
|
|
6013
|
+
},
|
|
5628
6014
|
maxColumns: 1,
|
|
5629
6015
|
defaultColumns: 1,
|
|
5630
|
-
appearance: {
|
|
6016
|
+
appearance: {
|
|
6017
|
+
isBordered: false,
|
|
6018
|
+
hasBackground: false,
|
|
6019
|
+
isEditorPresentationDifferent: false
|
|
6020
|
+
}
|
|
5631
6021
|
}
|
|
5632
6022
|
],
|
|
5633
6023
|
defaultVariantKey: "table"
|
|
5634
6024
|
},
|
|
5635
6025
|
behavior: {
|
|
5636
6026
|
dataType: "Token",
|
|
5637
|
-
|
|
5638
|
-
|
|
6027
|
+
entities: {
|
|
6028
|
+
selectionType: "Entity",
|
|
6029
|
+
maxSelected: 1
|
|
6030
|
+
}
|
|
5639
6031
|
},
|
|
5640
6032
|
editorOptions: {
|
|
5641
6033
|
onboarding: {
|
|
@@ -5643,15 +6035,16 @@ var blocks = [
|
|
|
5643
6035
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/token/tokens/general-84NRgxGl#section-token-detail-04"
|
|
5644
6036
|
}
|
|
5645
6037
|
},
|
|
5646
|
-
appearance: {
|
|
6038
|
+
appearance: {
|
|
6039
|
+
isBordered: false,
|
|
6040
|
+
hasBackground: false
|
|
6041
|
+
}
|
|
5647
6042
|
},
|
|
5648
6043
|
{
|
|
5649
6044
|
id: "io.supernova.block.token-list",
|
|
5650
6045
|
name: "Token list",
|
|
5651
6046
|
description: "Show a list of design tokens",
|
|
5652
6047
|
category: "Tokens",
|
|
5653
|
-
icon: void 0,
|
|
5654
|
-
documentationLink: void 0,
|
|
5655
6048
|
searchKeywords: ["color", "typography", "spacing", "grid", "material", "theme", "accessibility", "contrast"],
|
|
5656
6049
|
item: {
|
|
5657
6050
|
properties: [
|
|
@@ -5659,64 +6052,108 @@ var blocks = [
|
|
|
5659
6052
|
id: "tokens",
|
|
5660
6053
|
name: "Tokens",
|
|
5661
6054
|
type: "Token",
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
6055
|
+
options: {
|
|
6056
|
+
renderLayoutAs: "List",
|
|
6057
|
+
defaultTheme: "none",
|
|
6058
|
+
defaultValuePreview: "splitView"
|
|
6059
|
+
},
|
|
6060
|
+
variantOptions: {
|
|
6061
|
+
grid: {
|
|
6062
|
+
renderLayoutAs: "Grid"
|
|
6063
|
+
}
|
|
6064
|
+
}
|
|
5665
6065
|
}
|
|
5666
6066
|
],
|
|
5667
|
-
appearance: {
|
|
6067
|
+
appearance: {
|
|
6068
|
+
isBordered: false,
|
|
6069
|
+
hasBackground: false
|
|
6070
|
+
},
|
|
5668
6071
|
variants: [
|
|
5669
6072
|
{
|
|
5670
6073
|
id: "table",
|
|
5671
6074
|
name: "Table",
|
|
5672
6075
|
image: "assets/variant-table.png",
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
6076
|
+
layout: {
|
|
6077
|
+
type: "Column",
|
|
6078
|
+
children: ["tokens"],
|
|
6079
|
+
columnAlign: "Start",
|
|
6080
|
+
columnResizing: "Fill",
|
|
6081
|
+
gap: "Medium"
|
|
6082
|
+
},
|
|
5676
6083
|
maxColumns: 1,
|
|
5677
6084
|
defaultColumns: 1,
|
|
5678
|
-
appearance: {
|
|
6085
|
+
appearance: {
|
|
6086
|
+
isBordered: false,
|
|
6087
|
+
hasBackground: false,
|
|
6088
|
+
isEditorPresentationDifferent: false
|
|
6089
|
+
}
|
|
5679
6090
|
},
|
|
5680
6091
|
{
|
|
5681
6092
|
id: "grid",
|
|
5682
6093
|
name: "Grid",
|
|
5683
6094
|
image: "assets/variant-grid.png",
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
6095
|
+
layout: {
|
|
6096
|
+
type: "Column",
|
|
6097
|
+
children: ["tokens"],
|
|
6098
|
+
columnAlign: "Start",
|
|
6099
|
+
columnResizing: "Fill",
|
|
6100
|
+
gap: "Medium"
|
|
6101
|
+
},
|
|
5687
6102
|
maxColumns: 4,
|
|
5688
6103
|
defaultColumns: 1,
|
|
5689
|
-
appearance: {
|
|
6104
|
+
appearance: {
|
|
6105
|
+
isBordered: false,
|
|
6106
|
+
hasBackground: false,
|
|
6107
|
+
isEditorPresentationDifferent: false
|
|
6108
|
+
}
|
|
5690
6109
|
},
|
|
5691
6110
|
{
|
|
5692
6111
|
id: "color-stack",
|
|
5693
6112
|
name: "Color stack",
|
|
5694
6113
|
image: "assets/variant-color-stack.png",
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
6114
|
+
layout: {
|
|
6115
|
+
type: "Column",
|
|
6116
|
+
children: ["tokens"],
|
|
6117
|
+
columnAlign: "Start",
|
|
6118
|
+
columnResizing: "Fill",
|
|
6119
|
+
gap: "Medium"
|
|
6120
|
+
},
|
|
5698
6121
|
maxColumns: 1,
|
|
5699
6122
|
defaultColumns: 1,
|
|
5700
|
-
appearance: {
|
|
6123
|
+
appearance: {
|
|
6124
|
+
isBordered: false,
|
|
6125
|
+
hasBackground: false,
|
|
6126
|
+
isEditorPresentationDifferent: false
|
|
6127
|
+
}
|
|
5701
6128
|
},
|
|
5702
6129
|
{
|
|
5703
6130
|
id: "color-contrast-grid",
|
|
5704
6131
|
name: "Color contrast grid",
|
|
5705
6132
|
image: "assets/variant-color-contrast-grid.png",
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
6133
|
+
layout: {
|
|
6134
|
+
type: "Column",
|
|
6135
|
+
children: ["tokens"],
|
|
6136
|
+
columnAlign: "Start",
|
|
6137
|
+
columnResizing: "Fill",
|
|
6138
|
+
gap: "Medium"
|
|
6139
|
+
},
|
|
5709
6140
|
maxColumns: 1,
|
|
5710
6141
|
defaultColumns: 1,
|
|
5711
|
-
appearance: {
|
|
6142
|
+
appearance: {
|
|
6143
|
+
isBordered: false,
|
|
6144
|
+
hasBackground: false,
|
|
6145
|
+
isEditorPresentationDifferent: false
|
|
6146
|
+
}
|
|
5712
6147
|
}
|
|
5713
6148
|
],
|
|
5714
6149
|
defaultVariantKey: "table"
|
|
5715
6150
|
},
|
|
5716
6151
|
behavior: {
|
|
5717
6152
|
dataType: "Token",
|
|
5718
|
-
|
|
5719
|
-
|
|
6153
|
+
entities: {
|
|
6154
|
+
selectionType: "Entity",
|
|
6155
|
+
maxSelected: 0
|
|
6156
|
+
}
|
|
5720
6157
|
},
|
|
5721
6158
|
editorOptions: {
|
|
5722
6159
|
onboarding: {
|
|
@@ -5724,15 +6161,16 @@ var blocks = [
|
|
|
5724
6161
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/token/tokens/general-84NRgxGl#section-token-list-06"
|
|
5725
6162
|
}
|
|
5726
6163
|
},
|
|
5727
|
-
appearance: {
|
|
6164
|
+
appearance: {
|
|
6165
|
+
isBordered: false,
|
|
6166
|
+
hasBackground: false
|
|
6167
|
+
}
|
|
5728
6168
|
},
|
|
5729
6169
|
{
|
|
5730
6170
|
id: "io.supernova.block.token-group",
|
|
5731
6171
|
name: "Token group",
|
|
5732
6172
|
description: "Show a group of design tokens",
|
|
5733
6173
|
category: "Tokens",
|
|
5734
|
-
icon: void 0,
|
|
5735
|
-
documentationLink: void 0,
|
|
5736
6174
|
searchKeywords: ["color", "typography", "spacing", "grid", "material", "theme", "accessibility", "contrast"],
|
|
5737
6175
|
item: {
|
|
5738
6176
|
properties: [
|
|
@@ -5740,64 +6178,108 @@ var blocks = [
|
|
|
5740
6178
|
id: "tokens",
|
|
5741
6179
|
name: "Tokens",
|
|
5742
6180
|
type: "Token",
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
6181
|
+
options: {
|
|
6182
|
+
renderLayoutAs: "List",
|
|
6183
|
+
defaultTheme: "none",
|
|
6184
|
+
defaultValuePreview: "splitView"
|
|
6185
|
+
},
|
|
6186
|
+
variantOptions: {
|
|
6187
|
+
grid: {
|
|
6188
|
+
renderLayoutAs: "Grid"
|
|
6189
|
+
}
|
|
6190
|
+
}
|
|
5746
6191
|
}
|
|
5747
6192
|
],
|
|
5748
|
-
appearance: {
|
|
6193
|
+
appearance: {
|
|
6194
|
+
isBordered: false,
|
|
6195
|
+
hasBackground: false
|
|
6196
|
+
},
|
|
5749
6197
|
variants: [
|
|
5750
6198
|
{
|
|
5751
6199
|
id: "table",
|
|
5752
6200
|
name: "Table",
|
|
5753
6201
|
image: "assets/variant-table.png",
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
6202
|
+
layout: {
|
|
6203
|
+
type: "Column",
|
|
6204
|
+
children: ["tokens"],
|
|
6205
|
+
columnAlign: "Start",
|
|
6206
|
+
columnResizing: "Fill",
|
|
6207
|
+
gap: "Medium"
|
|
6208
|
+
},
|
|
5757
6209
|
maxColumns: 1,
|
|
5758
6210
|
defaultColumns: 1,
|
|
5759
|
-
appearance: {
|
|
6211
|
+
appearance: {
|
|
6212
|
+
isBordered: false,
|
|
6213
|
+
hasBackground: false,
|
|
6214
|
+
isEditorPresentationDifferent: false
|
|
6215
|
+
}
|
|
5760
6216
|
},
|
|
5761
6217
|
{
|
|
5762
6218
|
id: "grid",
|
|
5763
6219
|
name: "Grid",
|
|
5764
6220
|
image: "assets/variant-grid.png",
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
6221
|
+
layout: {
|
|
6222
|
+
type: "Column",
|
|
6223
|
+
children: ["tokens"],
|
|
6224
|
+
columnAlign: "Start",
|
|
6225
|
+
columnResizing: "Fill",
|
|
6226
|
+
gap: "Medium"
|
|
6227
|
+
},
|
|
5768
6228
|
maxColumns: 4,
|
|
5769
6229
|
defaultColumns: 1,
|
|
5770
|
-
appearance: {
|
|
6230
|
+
appearance: {
|
|
6231
|
+
isBordered: false,
|
|
6232
|
+
hasBackground: false,
|
|
6233
|
+
isEditorPresentationDifferent: false
|
|
6234
|
+
}
|
|
5771
6235
|
},
|
|
5772
6236
|
{
|
|
5773
6237
|
id: "color-stack",
|
|
5774
6238
|
name: "Color stack",
|
|
5775
6239
|
image: "assets/variant-color-stack.png",
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
6240
|
+
layout: {
|
|
6241
|
+
type: "Column",
|
|
6242
|
+
children: ["tokens"],
|
|
6243
|
+
columnAlign: "Start",
|
|
6244
|
+
columnResizing: "Fill",
|
|
6245
|
+
gap: "Medium"
|
|
6246
|
+
},
|
|
5779
6247
|
maxColumns: 2,
|
|
5780
6248
|
defaultColumns: 1,
|
|
5781
|
-
appearance: {
|
|
6249
|
+
appearance: {
|
|
6250
|
+
isBordered: false,
|
|
6251
|
+
hasBackground: false,
|
|
6252
|
+
isEditorPresentationDifferent: false
|
|
6253
|
+
}
|
|
5782
6254
|
},
|
|
5783
6255
|
{
|
|
5784
6256
|
id: "color-contrast-grid",
|
|
5785
6257
|
name: "Color contrast grid",
|
|
5786
6258
|
image: "assets/variant-color-contrast-grid.png",
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
6259
|
+
layout: {
|
|
6260
|
+
type: "Column",
|
|
6261
|
+
children: ["tokens"],
|
|
6262
|
+
columnAlign: "Start",
|
|
6263
|
+
columnResizing: "Fill",
|
|
6264
|
+
gap: "Medium"
|
|
6265
|
+
},
|
|
5790
6266
|
maxColumns: 1,
|
|
5791
6267
|
defaultColumns: 1,
|
|
5792
|
-
appearance: {
|
|
6268
|
+
appearance: {
|
|
6269
|
+
isBordered: false,
|
|
6270
|
+
hasBackground: false,
|
|
6271
|
+
isEditorPresentationDifferent: false
|
|
6272
|
+
}
|
|
5793
6273
|
}
|
|
5794
6274
|
],
|
|
5795
6275
|
defaultVariantKey: "table"
|
|
5796
6276
|
},
|
|
5797
6277
|
behavior: {
|
|
5798
6278
|
dataType: "Token",
|
|
5799
|
-
|
|
5800
|
-
|
|
6279
|
+
entities: {
|
|
6280
|
+
selectionType: "Group",
|
|
6281
|
+
maxSelected: 1
|
|
6282
|
+
}
|
|
5801
6283
|
},
|
|
5802
6284
|
editorOptions: {
|
|
5803
6285
|
onboarding: {
|
|
@@ -5805,7 +6287,675 @@ var blocks = [
|
|
|
5805
6287
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/token/tokens/general-84NRgxGl#section-token-group-09"
|
|
5806
6288
|
}
|
|
5807
6289
|
},
|
|
5808
|
-
appearance: {
|
|
6290
|
+
appearance: {
|
|
6291
|
+
isBordered: false,
|
|
6292
|
+
hasBackground: false
|
|
6293
|
+
}
|
|
6294
|
+
},
|
|
6295
|
+
{
|
|
6296
|
+
id: "io.supernova.block.code",
|
|
6297
|
+
name: "Code",
|
|
6298
|
+
description: "Code description",
|
|
6299
|
+
category: "Code",
|
|
6300
|
+
searchKeywords: ["code"],
|
|
6301
|
+
item: {
|
|
6302
|
+
properties: [
|
|
6303
|
+
{
|
|
6304
|
+
id: "code",
|
|
6305
|
+
name: "Code",
|
|
6306
|
+
type: "Code",
|
|
6307
|
+
options: {}
|
|
6308
|
+
}
|
|
6309
|
+
],
|
|
6310
|
+
appearance: {
|
|
6311
|
+
isBordered: false,
|
|
6312
|
+
hasBackground: false
|
|
6313
|
+
},
|
|
6314
|
+
variants: [
|
|
6315
|
+
{
|
|
6316
|
+
id: "default",
|
|
6317
|
+
name: "Default",
|
|
6318
|
+
layout: {
|
|
6319
|
+
type: "Column",
|
|
6320
|
+
children: ["code"],
|
|
6321
|
+
columnAlign: "Start",
|
|
6322
|
+
columnResizing: "Fill",
|
|
6323
|
+
gap: "Medium"
|
|
6324
|
+
},
|
|
6325
|
+
maxColumns: 1,
|
|
6326
|
+
defaultColumns: 1,
|
|
6327
|
+
appearance: {
|
|
6328
|
+
isBordered: false,
|
|
6329
|
+
hasBackground: false,
|
|
6330
|
+
isEditorPresentationDifferent: false
|
|
6331
|
+
}
|
|
6332
|
+
}
|
|
6333
|
+
],
|
|
6334
|
+
defaultVariantKey: "default"
|
|
6335
|
+
},
|
|
6336
|
+
behavior: {
|
|
6337
|
+
dataType: "Item",
|
|
6338
|
+
items: {
|
|
6339
|
+
numberOfItems: 1,
|
|
6340
|
+
allowLinks: false
|
|
6341
|
+
}
|
|
6342
|
+
},
|
|
6343
|
+
editorOptions: {
|
|
6344
|
+
onboarding: {
|
|
6345
|
+
helpText: "Code descriptor."
|
|
6346
|
+
}
|
|
6347
|
+
},
|
|
6348
|
+
appearance: {
|
|
6349
|
+
isBordered: false,
|
|
6350
|
+
hasBackground: false
|
|
6351
|
+
}
|
|
6352
|
+
},
|
|
6353
|
+
{
|
|
6354
|
+
id: "io.supernova.block.code-react",
|
|
6355
|
+
name: "React code",
|
|
6356
|
+
description: "Render React code",
|
|
6357
|
+
category: "Code",
|
|
6358
|
+
searchKeywords: ["code", "react", "snippet", "storybook", "editor", "example"],
|
|
6359
|
+
item: {
|
|
6360
|
+
properties: [
|
|
6361
|
+
{
|
|
6362
|
+
id: "code",
|
|
6363
|
+
name: "Code",
|
|
6364
|
+
type: "CodeSandbox",
|
|
6365
|
+
options: {
|
|
6366
|
+
renderLayoutAs: "PreviewOnTop"
|
|
6367
|
+
},
|
|
6368
|
+
variantOptions: {
|
|
6369
|
+
codeTop: {
|
|
6370
|
+
renderLayoutAs: "PreviewOnBottom"
|
|
6371
|
+
},
|
|
6372
|
+
codeLeft: {
|
|
6373
|
+
renderLayoutAs: "PreviewOnRight"
|
|
6374
|
+
},
|
|
6375
|
+
codeRight: {
|
|
6376
|
+
renderLayoutAs: "PreviewOnLeft"
|
|
6377
|
+
}
|
|
6378
|
+
}
|
|
6379
|
+
}
|
|
6380
|
+
],
|
|
6381
|
+
appearance: {
|
|
6382
|
+
isBordered: false,
|
|
6383
|
+
hasBackground: false
|
|
6384
|
+
},
|
|
6385
|
+
variants: [
|
|
6386
|
+
{
|
|
6387
|
+
id: "codeBottom",
|
|
6388
|
+
name: "Full width, code bottom",
|
|
6389
|
+
image: "thumbnails/RenderCode_CodeBottom.png",
|
|
6390
|
+
description: "Full-width block of code, with a preview on top.",
|
|
6391
|
+
layout: {
|
|
6392
|
+
type: "Column",
|
|
6393
|
+
children: ["code"],
|
|
6394
|
+
columnAlign: "Start",
|
|
6395
|
+
columnResizing: "Fill",
|
|
6396
|
+
gap: "Medium"
|
|
6397
|
+
},
|
|
6398
|
+
maxColumns: 1,
|
|
6399
|
+
defaultColumns: 1,
|
|
6400
|
+
appearance: {
|
|
6401
|
+
isBordered: false,
|
|
6402
|
+
hasBackground: false,
|
|
6403
|
+
isEditorPresentationDifferent: false
|
|
6404
|
+
}
|
|
6405
|
+
},
|
|
6406
|
+
{
|
|
6407
|
+
id: "codeTop",
|
|
6408
|
+
name: "Full width, code top",
|
|
6409
|
+
image: "thumbnails/RenderCode_CodeTop.png",
|
|
6410
|
+
description: "Full-width block of code, with a preview on bottom.",
|
|
6411
|
+
layout: {
|
|
6412
|
+
type: "Column",
|
|
6413
|
+
children: ["code"],
|
|
6414
|
+
columnAlign: "Start",
|
|
6415
|
+
columnResizing: "Fill",
|
|
6416
|
+
gap: "Medium"
|
|
6417
|
+
},
|
|
6418
|
+
maxColumns: 1,
|
|
6419
|
+
defaultColumns: 1,
|
|
6420
|
+
appearance: {
|
|
6421
|
+
isBordered: false,
|
|
6422
|
+
hasBackground: false,
|
|
6423
|
+
isEditorPresentationDifferent: false
|
|
6424
|
+
}
|
|
6425
|
+
},
|
|
6426
|
+
{
|
|
6427
|
+
id: "codeLeft",
|
|
6428
|
+
name: "Side by side, code left",
|
|
6429
|
+
image: "thumbnails/RenderCode_CodeLeft.png",
|
|
6430
|
+
description: "Side-by-side preview and code, with code on the left.",
|
|
6431
|
+
layout: {
|
|
6432
|
+
type: "Column",
|
|
6433
|
+
children: ["code"],
|
|
6434
|
+
columnAlign: "Start",
|
|
6435
|
+
columnResizing: "Fill",
|
|
6436
|
+
gap: "Medium"
|
|
6437
|
+
},
|
|
6438
|
+
maxColumns: 1,
|
|
6439
|
+
defaultColumns: 1,
|
|
6440
|
+
appearance: {
|
|
6441
|
+
isBordered: false,
|
|
6442
|
+
hasBackground: false,
|
|
6443
|
+
isEditorPresentationDifferent: false
|
|
6444
|
+
}
|
|
6445
|
+
},
|
|
6446
|
+
{
|
|
6447
|
+
id: "codeRight",
|
|
6448
|
+
name: "Side by side, code right",
|
|
6449
|
+
image: "thumbnails/RenderCode_CodeRight.png",
|
|
6450
|
+
description: "Side-by-side preview and code, with code on the right.",
|
|
6451
|
+
layout: {
|
|
6452
|
+
type: "Column",
|
|
6453
|
+
children: ["code"],
|
|
6454
|
+
columnAlign: "Start",
|
|
6455
|
+
columnResizing: "Fill",
|
|
6456
|
+
gap: "Medium"
|
|
6457
|
+
},
|
|
6458
|
+
maxColumns: 1,
|
|
6459
|
+
defaultColumns: 1,
|
|
6460
|
+
appearance: {
|
|
6461
|
+
isBordered: false,
|
|
6462
|
+
hasBackground: false,
|
|
6463
|
+
isEditorPresentationDifferent: false
|
|
6464
|
+
}
|
|
6465
|
+
}
|
|
6466
|
+
],
|
|
6467
|
+
defaultVariantKey: "codeBottom"
|
|
6468
|
+
},
|
|
6469
|
+
behavior: {
|
|
6470
|
+
dataType: "Item",
|
|
6471
|
+
items: {
|
|
6472
|
+
numberOfItems: 1,
|
|
6473
|
+
allowLinks: false
|
|
6474
|
+
}
|
|
6475
|
+
},
|
|
6476
|
+
editorOptions: {
|
|
6477
|
+
onboarding: {
|
|
6478
|
+
helpText: "Display rendered code example",
|
|
6479
|
+
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/code/render-react-code-vxufnkFm"
|
|
6480
|
+
}
|
|
6481
|
+
},
|
|
6482
|
+
appearance: {
|
|
6483
|
+
isBordered: false,
|
|
6484
|
+
hasBackground: false
|
|
6485
|
+
}
|
|
6486
|
+
},
|
|
6487
|
+
{
|
|
6488
|
+
id: "io.supernova.block.link",
|
|
6489
|
+
name: "Link",
|
|
6490
|
+
description: "Preview of a link",
|
|
6491
|
+
category: "Media",
|
|
6492
|
+
searchKeywords: [],
|
|
6493
|
+
item: {
|
|
6494
|
+
properties: [
|
|
6495
|
+
{
|
|
6496
|
+
id: "block.links.property.url",
|
|
6497
|
+
name: "URL",
|
|
6498
|
+
type: "EmbedURL",
|
|
6499
|
+
options: {
|
|
6500
|
+
defaultHeight: 120,
|
|
6501
|
+
allowResize: false
|
|
6502
|
+
}
|
|
6503
|
+
}
|
|
6504
|
+
],
|
|
6505
|
+
appearance: {
|
|
6506
|
+
isBordered: false,
|
|
6507
|
+
hasBackground: false
|
|
6508
|
+
},
|
|
6509
|
+
variants: [
|
|
6510
|
+
{
|
|
6511
|
+
id: "default",
|
|
6512
|
+
name: "Default",
|
|
6513
|
+
layout: {
|
|
6514
|
+
type: "Column",
|
|
6515
|
+
children: ["block.links.property.url"],
|
|
6516
|
+
columnAlign: "Start",
|
|
6517
|
+
columnResizing: "Fill",
|
|
6518
|
+
gap: "Medium"
|
|
6519
|
+
},
|
|
6520
|
+
maxColumns: 1,
|
|
6521
|
+
defaultColumns: 1,
|
|
6522
|
+
appearance: {
|
|
6523
|
+
isBordered: false,
|
|
6524
|
+
hasBackground: false,
|
|
6525
|
+
isEditorPresentationDifferent: false
|
|
6526
|
+
}
|
|
6527
|
+
}
|
|
6528
|
+
],
|
|
6529
|
+
defaultVariantKey: "default"
|
|
6530
|
+
},
|
|
6531
|
+
behavior: {
|
|
6532
|
+
dataType: "Item",
|
|
6533
|
+
items: {
|
|
6534
|
+
numberOfItems: 1,
|
|
6535
|
+
allowLinks: false
|
|
6536
|
+
}
|
|
6537
|
+
},
|
|
6538
|
+
editorOptions: {},
|
|
6539
|
+
appearance: {
|
|
6540
|
+
isBordered: false,
|
|
6541
|
+
hasBackground: false
|
|
6542
|
+
}
|
|
6543
|
+
},
|
|
6544
|
+
{
|
|
6545
|
+
id: "io.supernova.block.assets",
|
|
6546
|
+
name: "Assets",
|
|
6547
|
+
description: "Display icons or illustrations",
|
|
6548
|
+
category: "Assets",
|
|
6549
|
+
searchKeywords: ["icons", "illustrations", "grid", "svg", "logos", "theme"],
|
|
6550
|
+
item: {
|
|
6551
|
+
properties: [
|
|
6552
|
+
{
|
|
6553
|
+
id: "assets",
|
|
6554
|
+
name: "Assets",
|
|
6555
|
+
type: "Asset",
|
|
6556
|
+
options: {}
|
|
6557
|
+
}
|
|
6558
|
+
],
|
|
6559
|
+
appearance: {
|
|
6560
|
+
isBordered: false,
|
|
6561
|
+
hasBackground: false
|
|
6562
|
+
},
|
|
6563
|
+
variants: [
|
|
6564
|
+
{
|
|
6565
|
+
id: "default",
|
|
6566
|
+
name: "Simple grid",
|
|
6567
|
+
image: "assets/variant-default.png",
|
|
6568
|
+
description: "A simple grid of assets. Both the title and description are displayed below the preview.",
|
|
6569
|
+
layout: {
|
|
6570
|
+
type: "Column",
|
|
6571
|
+
children: ["assets"],
|
|
6572
|
+
columnAlign: "Start",
|
|
6573
|
+
columnResizing: "Fill",
|
|
6574
|
+
gap: "Medium"
|
|
6575
|
+
},
|
|
6576
|
+
maxColumns: 1,
|
|
6577
|
+
defaultColumns: 1,
|
|
6578
|
+
appearance: {
|
|
6579
|
+
isBordered: false,
|
|
6580
|
+
hasBackground: false,
|
|
6581
|
+
isEditorPresentationDifferent: false
|
|
6582
|
+
}
|
|
6583
|
+
},
|
|
6584
|
+
{
|
|
6585
|
+
id: "square-grid",
|
|
6586
|
+
name: "Square grid",
|
|
6587
|
+
image: "assets/variant-square-grid.png",
|
|
6588
|
+
description: "Bordered square grid tailored for displaying icon assets. Only the title is displayed.",
|
|
6589
|
+
layout: {
|
|
6590
|
+
type: "Column",
|
|
6591
|
+
children: ["assets"],
|
|
6592
|
+
columnAlign: "Start",
|
|
6593
|
+
columnResizing: "Fill",
|
|
6594
|
+
gap: "Medium"
|
|
6595
|
+
},
|
|
6596
|
+
maxColumns: 1,
|
|
6597
|
+
defaultColumns: 1,
|
|
6598
|
+
appearance: {
|
|
6599
|
+
isBordered: false,
|
|
6600
|
+
hasBackground: false,
|
|
6601
|
+
isEditorPresentationDifferent: false
|
|
6602
|
+
}
|
|
6603
|
+
},
|
|
6604
|
+
{
|
|
6605
|
+
id: "borderless-grid",
|
|
6606
|
+
name: "Borderless grid",
|
|
6607
|
+
image: "assets/variant-color-stack.png",
|
|
6608
|
+
description: "Borderless grid, perfect for displaying assets of the same height. Only the title is visible.",
|
|
6609
|
+
layout: {
|
|
6610
|
+
type: "Column",
|
|
6611
|
+
children: ["assets"],
|
|
6612
|
+
columnAlign: "Start",
|
|
6613
|
+
columnResizing: "Fill",
|
|
6614
|
+
gap: "Medium"
|
|
6615
|
+
},
|
|
6616
|
+
maxColumns: 1,
|
|
6617
|
+
defaultColumns: 1,
|
|
6618
|
+
appearance: {
|
|
6619
|
+
isBordered: false,
|
|
6620
|
+
hasBackground: false,
|
|
6621
|
+
isEditorPresentationDifferent: false
|
|
6622
|
+
}
|
|
6623
|
+
}
|
|
6624
|
+
],
|
|
6625
|
+
defaultVariantKey: "default"
|
|
6626
|
+
},
|
|
6627
|
+
behavior: {
|
|
6628
|
+
dataType: "Asset",
|
|
6629
|
+
entities: {
|
|
6630
|
+
selectionType: "Entity",
|
|
6631
|
+
maxSelected: 0
|
|
6632
|
+
}
|
|
6633
|
+
},
|
|
6634
|
+
editorOptions: {
|
|
6635
|
+
onboarding: {
|
|
6636
|
+
helpText: "Display a grid of icons or illustrations.",
|
|
6637
|
+
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/media-and-assets/asset/general-xa6EgXb2"
|
|
6638
|
+
}
|
|
6639
|
+
},
|
|
6640
|
+
appearance: {
|
|
6641
|
+
isBordered: false,
|
|
6642
|
+
hasBackground: false
|
|
6643
|
+
}
|
|
6644
|
+
},
|
|
6645
|
+
{
|
|
6646
|
+
id: "io.supernova.block.figma-frames",
|
|
6647
|
+
name: "Figma frames",
|
|
6648
|
+
description: "Display Figma frames as images",
|
|
6649
|
+
category: "Figma",
|
|
6650
|
+
searchKeywords: ["figma", "frames", "image"],
|
|
6651
|
+
item: {
|
|
6652
|
+
properties: [
|
|
6653
|
+
{
|
|
6654
|
+
id: "figmaFrames",
|
|
6655
|
+
name: "Figma Frames (tbd)",
|
|
6656
|
+
type: "Asset",
|
|
6657
|
+
options: {}
|
|
6658
|
+
}
|
|
6659
|
+
],
|
|
6660
|
+
appearance: {
|
|
6661
|
+
isBordered: false,
|
|
6662
|
+
hasBackground: false
|
|
6663
|
+
},
|
|
6664
|
+
variants: [
|
|
6665
|
+
{
|
|
6666
|
+
id: "bordered",
|
|
6667
|
+
name: "Bordered",
|
|
6668
|
+
image: "assets/variant-default.png",
|
|
6669
|
+
description: "Tiles with background and border, great for larger sets of frames.",
|
|
6670
|
+
layout: {
|
|
6671
|
+
type: "Column",
|
|
6672
|
+
children: ["figmaFrames"],
|
|
6673
|
+
columnAlign: "Start",
|
|
6674
|
+
columnResizing: "Fill",
|
|
6675
|
+
gap: "Medium"
|
|
6676
|
+
},
|
|
6677
|
+
maxColumns: 1,
|
|
6678
|
+
defaultColumns: 1,
|
|
6679
|
+
appearance: {
|
|
6680
|
+
isBordered: false,
|
|
6681
|
+
hasBackground: false,
|
|
6682
|
+
isEditorPresentationDifferent: false
|
|
6683
|
+
}
|
|
6684
|
+
},
|
|
6685
|
+
{
|
|
6686
|
+
id: "plain",
|
|
6687
|
+
name: "Plain",
|
|
6688
|
+
image: "assets/variant-square-grid.png",
|
|
6689
|
+
description: "Frame as it is in Figma with no extra formatting, great for single images.",
|
|
6690
|
+
layout: {
|
|
6691
|
+
type: "Column",
|
|
6692
|
+
children: ["figmaFrames"],
|
|
6693
|
+
columnAlign: "Start",
|
|
6694
|
+
columnResizing: "Fill",
|
|
6695
|
+
gap: "Medium"
|
|
6696
|
+
},
|
|
6697
|
+
maxColumns: 1,
|
|
6698
|
+
defaultColumns: 1,
|
|
6699
|
+
appearance: {
|
|
6700
|
+
isBordered: false,
|
|
6701
|
+
hasBackground: false,
|
|
6702
|
+
isEditorPresentationDifferent: false
|
|
6703
|
+
}
|
|
6704
|
+
}
|
|
6705
|
+
],
|
|
6706
|
+
defaultVariantKey: "bordered"
|
|
6707
|
+
},
|
|
6708
|
+
behavior: {
|
|
6709
|
+
dataType: "FigmaFrame",
|
|
6710
|
+
entities: {
|
|
6711
|
+
selectionType: "Entity",
|
|
6712
|
+
maxSelected: 0
|
|
6713
|
+
}
|
|
6714
|
+
},
|
|
6715
|
+
editorOptions: {
|
|
6716
|
+
onboarding: {
|
|
6717
|
+
helpText: "Display Figma frames as images.",
|
|
6718
|
+
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/figma/figma-frames/general-f3IYC5dg"
|
|
6719
|
+
}
|
|
6720
|
+
},
|
|
6721
|
+
appearance: {
|
|
6722
|
+
isBordered: false,
|
|
6723
|
+
hasBackground: false
|
|
6724
|
+
}
|
|
6725
|
+
},
|
|
6726
|
+
{
|
|
6727
|
+
id: "io.supernova.block.release-notes",
|
|
6728
|
+
name: "Release notes",
|
|
6729
|
+
description: "Show version release notes",
|
|
6730
|
+
category: "Other",
|
|
6731
|
+
searchKeywords: ["version", "changelog", "history"],
|
|
6732
|
+
item: {
|
|
6733
|
+
properties: [],
|
|
6734
|
+
appearance: {
|
|
6735
|
+
isBordered: false,
|
|
6736
|
+
hasBackground: false
|
|
6737
|
+
},
|
|
6738
|
+
variants: [
|
|
6739
|
+
{
|
|
6740
|
+
id: "default",
|
|
6741
|
+
name: "Default",
|
|
6742
|
+
layout: {
|
|
6743
|
+
type: "Column",
|
|
6744
|
+
children: [],
|
|
6745
|
+
columnAlign: "Start",
|
|
6746
|
+
columnResizing: "Fill",
|
|
6747
|
+
gap: "Medium"
|
|
6748
|
+
},
|
|
6749
|
+
maxColumns: 1,
|
|
6750
|
+
defaultColumns: 1,
|
|
6751
|
+
appearance: {
|
|
6752
|
+
isBordered: false,
|
|
6753
|
+
hasBackground: false,
|
|
6754
|
+
isEditorPresentationDifferent: false
|
|
6755
|
+
}
|
|
6756
|
+
}
|
|
6757
|
+
],
|
|
6758
|
+
defaultVariantKey: "default"
|
|
6759
|
+
},
|
|
6760
|
+
behavior: {
|
|
6761
|
+
dataType: "Item",
|
|
6762
|
+
items: {
|
|
6763
|
+
numberOfItems: 1,
|
|
6764
|
+
allowLinks: false
|
|
6765
|
+
}
|
|
6766
|
+
},
|
|
6767
|
+
editorOptions: {
|
|
6768
|
+
onboarding: {
|
|
6769
|
+
helpText: "Show formatted release notes from all previous released versions"
|
|
6770
|
+
}
|
|
6771
|
+
},
|
|
6772
|
+
appearance: {
|
|
6773
|
+
isBordered: false,
|
|
6774
|
+
hasBackground: false
|
|
6775
|
+
}
|
|
6776
|
+
},
|
|
6777
|
+
{
|
|
6778
|
+
id: "io.supernova.block.component-checklist",
|
|
6779
|
+
name: "Component checklist",
|
|
6780
|
+
description: "Highlight specific features of your components",
|
|
6781
|
+
category: "Components",
|
|
6782
|
+
searchKeywords: ["components", "health", "properties", "overview", "status"],
|
|
6783
|
+
item: {
|
|
6784
|
+
properties: [
|
|
6785
|
+
{
|
|
6786
|
+
id: "components",
|
|
6787
|
+
name: "Components",
|
|
6788
|
+
type: "Component",
|
|
6789
|
+
options: {
|
|
6790
|
+
renderLayoutAs: "List"
|
|
6791
|
+
}
|
|
6792
|
+
}
|
|
6793
|
+
],
|
|
6794
|
+
appearance: {
|
|
6795
|
+
isBordered: false,
|
|
6796
|
+
hasBackground: false
|
|
6797
|
+
},
|
|
6798
|
+
variants: [
|
|
6799
|
+
{
|
|
6800
|
+
id: "default",
|
|
6801
|
+
name: "Default",
|
|
6802
|
+
layout: {
|
|
6803
|
+
type: "Column",
|
|
6804
|
+
children: ["components"],
|
|
6805
|
+
columnAlign: "Start",
|
|
6806
|
+
columnResizing: "Fill",
|
|
6807
|
+
gap: "Medium"
|
|
6808
|
+
},
|
|
6809
|
+
maxColumns: 1,
|
|
6810
|
+
defaultColumns: 1,
|
|
6811
|
+
appearance: {
|
|
6812
|
+
isBordered: false,
|
|
6813
|
+
hasBackground: false,
|
|
6814
|
+
isEditorPresentationDifferent: false
|
|
6815
|
+
}
|
|
6816
|
+
}
|
|
6817
|
+
],
|
|
6818
|
+
defaultVariantKey: "default"
|
|
6819
|
+
},
|
|
6820
|
+
behavior: {
|
|
6821
|
+
dataType: "Component",
|
|
6822
|
+
entities: {
|
|
6823
|
+
selectionType: "Entity",
|
|
6824
|
+
maxSelected: 1
|
|
6825
|
+
}
|
|
6826
|
+
},
|
|
6827
|
+
editorOptions: {
|
|
6828
|
+
onboarding: {
|
|
6829
|
+
helpText: "Highlight specific features of your components.",
|
|
6830
|
+
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/component/component-checklist-NXepPIpZ"
|
|
6831
|
+
}
|
|
6832
|
+
},
|
|
6833
|
+
appearance: {
|
|
6834
|
+
isBordered: false,
|
|
6835
|
+
hasBackground: false
|
|
6836
|
+
}
|
|
6837
|
+
},
|
|
6838
|
+
{
|
|
6839
|
+
id: "io.supernova.block.component-checklist-all",
|
|
6840
|
+
name: "Component overview table",
|
|
6841
|
+
description: "Show the overview of all your components",
|
|
6842
|
+
category: "Components",
|
|
6843
|
+
searchKeywords: ["components", "health", "properties", "overview", "status"],
|
|
6844
|
+
item: {
|
|
6845
|
+
properties: [
|
|
6846
|
+
{
|
|
6847
|
+
id: "components",
|
|
6848
|
+
name: "Components",
|
|
6849
|
+
type: "Component",
|
|
6850
|
+
options: {
|
|
6851
|
+
renderLayoutAs: "List"
|
|
6852
|
+
}
|
|
6853
|
+
}
|
|
6854
|
+
],
|
|
6855
|
+
appearance: {
|
|
6856
|
+
isBordered: false,
|
|
6857
|
+
hasBackground: false
|
|
6858
|
+
},
|
|
6859
|
+
variants: [
|
|
6860
|
+
{
|
|
6861
|
+
id: "default",
|
|
6862
|
+
name: "Default",
|
|
6863
|
+
layout: {
|
|
6864
|
+
type: "Column",
|
|
6865
|
+
children: ["components"],
|
|
6866
|
+
columnAlign: "Start",
|
|
6867
|
+
columnResizing: "Fill",
|
|
6868
|
+
gap: "Medium"
|
|
6869
|
+
},
|
|
6870
|
+
maxColumns: 1,
|
|
6871
|
+
defaultColumns: 1,
|
|
6872
|
+
appearance: {
|
|
6873
|
+
isBordered: false,
|
|
6874
|
+
hasBackground: false,
|
|
6875
|
+
isEditorPresentationDifferent: false
|
|
6876
|
+
}
|
|
6877
|
+
}
|
|
6878
|
+
],
|
|
6879
|
+
defaultVariantKey: "default"
|
|
6880
|
+
},
|
|
6881
|
+
behavior: {
|
|
6882
|
+
dataType: "Component",
|
|
6883
|
+
entities: {
|
|
6884
|
+
selectionType: "Group",
|
|
6885
|
+
maxSelected: 1
|
|
6886
|
+
}
|
|
6887
|
+
},
|
|
6888
|
+
editorOptions: {
|
|
6889
|
+
onboarding: {
|
|
6890
|
+
helpText: "Show the overview of all your components",
|
|
6891
|
+
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/component/component-overview-table-W8eOtJ5t"
|
|
6892
|
+
}
|
|
6893
|
+
},
|
|
6894
|
+
appearance: {
|
|
6895
|
+
isBordered: false,
|
|
6896
|
+
hasBackground: false
|
|
6897
|
+
}
|
|
6898
|
+
},
|
|
6899
|
+
{
|
|
6900
|
+
id: "io.supernova.block.component-health",
|
|
6901
|
+
name: "Component health",
|
|
6902
|
+
description: "Show component health and additional attributes",
|
|
6903
|
+
category: "Components",
|
|
6904
|
+
searchKeywords: ["components", "health", "properties", "overview", "status"],
|
|
6905
|
+
item: {
|
|
6906
|
+
properties: [
|
|
6907
|
+
{
|
|
6908
|
+
id: "components",
|
|
6909
|
+
name: "Components",
|
|
6910
|
+
type: "Component",
|
|
6911
|
+
options: {
|
|
6912
|
+
renderLayoutAs: "List"
|
|
6913
|
+
}
|
|
6914
|
+
}
|
|
6915
|
+
],
|
|
6916
|
+
appearance: {
|
|
6917
|
+
isBordered: false,
|
|
6918
|
+
hasBackground: false
|
|
6919
|
+
},
|
|
6920
|
+
variants: [
|
|
6921
|
+
{
|
|
6922
|
+
id: "default",
|
|
6923
|
+
name: "Default",
|
|
6924
|
+
layout: {
|
|
6925
|
+
type: "Column",
|
|
6926
|
+
children: ["components"],
|
|
6927
|
+
columnAlign: "Start",
|
|
6928
|
+
columnResizing: "Fill",
|
|
6929
|
+
gap: "Medium"
|
|
6930
|
+
},
|
|
6931
|
+
maxColumns: 1,
|
|
6932
|
+
defaultColumns: 1,
|
|
6933
|
+
appearance: {
|
|
6934
|
+
isBordered: false,
|
|
6935
|
+
hasBackground: false,
|
|
6936
|
+
isEditorPresentationDifferent: false
|
|
6937
|
+
}
|
|
6938
|
+
}
|
|
6939
|
+
],
|
|
6940
|
+
defaultVariantKey: "default"
|
|
6941
|
+
},
|
|
6942
|
+
behavior: {
|
|
6943
|
+
dataType: "Component",
|
|
6944
|
+
entities: {
|
|
6945
|
+
selectionType: "Entity",
|
|
6946
|
+
maxSelected: 1
|
|
6947
|
+
}
|
|
6948
|
+
},
|
|
6949
|
+
editorOptions: {
|
|
6950
|
+
onboarding: {
|
|
6951
|
+
helpText: "Show component health and additional attributes",
|
|
6952
|
+
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/component/component-health-sezSxEED"
|
|
6953
|
+
}
|
|
6954
|
+
},
|
|
6955
|
+
appearance: {
|
|
6956
|
+
isBordered: false,
|
|
6957
|
+
hasBackground: false
|
|
6958
|
+
}
|
|
5809
6959
|
}
|
|
5810
6960
|
];
|
|
5811
6961
|
|