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