@supernova-studio/client 0.23.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +4532 -14
- package/dist/index.d.ts +4532 -14
- package/dist/index.js +296 -191
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +586 -481
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/elements/documentation/group.ts +2 -2
- package/src/api/dto/elements/elements-action-v2.ts +3 -3
- package/src/api/dto/elements/figma-nodes/figma-node.ts +2 -2
- package/src/api/dto/elements/figma-nodes/node-actions-v2.ts +6 -6
- package/src/api/dto/elements/get-elements-v2.ts +6 -6
- package/src/api/dto/index.ts +1 -0
- package/src/api/dto/workspaces/index.ts +3 -0
- package/src/api/dto/workspaces/membership.ts +29 -0
- package/src/api/dto/workspaces/npm-registry.ts +31 -0
- package/src/api/dto/workspaces/workspace.ts +16 -0
- package/src/yjs/docs-editor/blocks-to-prosemirror.ts +17 -1
- package/src/yjs/docs-editor/mock.ts +135 -119
- package/src/yjs/docs-editor/prosemirror-to-blocks.ts +19 -9
package/dist/index.js
CHANGED
|
@@ -159,25 +159,43 @@ var PostStripeCheckoutOutputSchema = _zod.z.object({
|
|
|
159
159
|
id: _zod.z.string(),
|
|
160
160
|
url: _zod.z.string().nullish()
|
|
161
161
|
});
|
|
162
|
+
function zodCreateInputOmit() {
|
|
163
|
+
return {
|
|
164
|
+
id: true,
|
|
165
|
+
createdAt: true,
|
|
166
|
+
updatedAt: true
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
function zodUpdateInputOmit() {
|
|
170
|
+
return {
|
|
171
|
+
id: true,
|
|
172
|
+
createdAt: true,
|
|
173
|
+
updatedAt: true,
|
|
174
|
+
persistentId: true
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
function nullishToOptional(type) {
|
|
178
|
+
return type.nullish().transform((t) => _nullishCoalesce(t, () => ( void 0)));
|
|
179
|
+
}
|
|
162
180
|
var Customer = _zod.z.object({
|
|
163
181
|
id: _zod.z.string()
|
|
164
182
|
});
|
|
165
183
|
var Address = _zod.z.object({
|
|
166
|
-
street1: _zod.z.string()
|
|
167
|
-
street2: _zod.z.string()
|
|
168
|
-
city: _zod.z.string()
|
|
169
|
-
postal: _zod.z.string()
|
|
170
|
-
country: _zod.z.string()
|
|
171
|
-
state: _zod.z.string()
|
|
184
|
+
street1: nullishToOptional(_zod.z.string()),
|
|
185
|
+
street2: nullishToOptional(_zod.z.string()),
|
|
186
|
+
city: nullishToOptional(_zod.z.string()),
|
|
187
|
+
postal: nullishToOptional(_zod.z.string()),
|
|
188
|
+
country: nullishToOptional(_zod.z.string()),
|
|
189
|
+
state: nullishToOptional(_zod.z.string())
|
|
172
190
|
});
|
|
173
191
|
var BillingDetails = _zod.z.object({
|
|
174
|
-
address: Address
|
|
175
|
-
email: _zod.z.string()
|
|
176
|
-
companyName: _zod.z.string()
|
|
177
|
-
companyId: _zod.z.string()
|
|
178
|
-
notes: _zod.z.string()
|
|
179
|
-
vat: _zod.z.string()
|
|
180
|
-
poNumber: _zod.z.string()
|
|
192
|
+
address: nullishToOptional(Address),
|
|
193
|
+
email: nullishToOptional(_zod.z.string()),
|
|
194
|
+
companyName: nullishToOptional(_zod.z.string()),
|
|
195
|
+
companyId: nullishToOptional(_zod.z.string()),
|
|
196
|
+
notes: nullishToOptional(_zod.z.string()),
|
|
197
|
+
vat: nullishToOptional(_zod.z.string()),
|
|
198
|
+
poNumber: nullishToOptional(_zod.z.string())
|
|
181
199
|
});
|
|
182
200
|
var featureLimitedSchema = _zod.z.object({
|
|
183
201
|
max: _zod.z.number(),
|
|
@@ -633,24 +651,6 @@ var SizeOrUndefined = Size.optional().transform((v) => {
|
|
|
633
651
|
return void 0;
|
|
634
652
|
return v;
|
|
635
653
|
});
|
|
636
|
-
function zodCreateInputOmit() {
|
|
637
|
-
return {
|
|
638
|
-
id: true,
|
|
639
|
-
createdAt: true,
|
|
640
|
-
updatedAt: true
|
|
641
|
-
};
|
|
642
|
-
}
|
|
643
|
-
function zodUpdateInputOmit() {
|
|
644
|
-
return {
|
|
645
|
-
id: true,
|
|
646
|
-
createdAt: true,
|
|
647
|
-
updatedAt: true,
|
|
648
|
-
persistentId: true
|
|
649
|
-
};
|
|
650
|
-
}
|
|
651
|
-
function nullishToOptional(type) {
|
|
652
|
-
return type.nullish().transform((t) => _nullishCoalesce(t, () => ( void 0)));
|
|
653
|
-
}
|
|
654
654
|
var PageBlockCalloutType = _zod.z.enum(["Info", "Primary", "Success", "Warning", "Error"]);
|
|
655
655
|
var PageBlockTypeV1 = _zod.z.enum([
|
|
656
656
|
"Text",
|
|
@@ -908,6 +908,16 @@ var PageBlockColorV2 = _zod.z.object({
|
|
|
908
908
|
value: _zod.z.string(),
|
|
909
909
|
referencedTokenId: _zod.z.string().optional()
|
|
910
910
|
});
|
|
911
|
+
var PageBlockAssetEntityMeta = _zod.z.object({
|
|
912
|
+
title: _zod.z.string().optional(),
|
|
913
|
+
description: _zod.z.string().optional(),
|
|
914
|
+
backgroundColor: PageBlockColorV2.optional()
|
|
915
|
+
});
|
|
916
|
+
var PageBlockFigmaNodeEntityMeta = _zod.z.object({
|
|
917
|
+
title: _zod.z.string().optional(),
|
|
918
|
+
description: _zod.z.string().optional(),
|
|
919
|
+
backgroundColor: PageBlockColorV2.optional()
|
|
920
|
+
});
|
|
911
921
|
var PageBlockAppearanceV2 = _zod.z.object({
|
|
912
922
|
itemBackgroundColor: PageBlockColorV2.optional(),
|
|
913
923
|
numberOfColumns: _zod.z.number().optional()
|
|
@@ -943,10 +953,7 @@ var PageBlockItemAssetValue = _zod.z.object({
|
|
|
943
953
|
_zod.z.object({
|
|
944
954
|
entityId: _zod.z.string(),
|
|
945
955
|
entityType: _zod.z.enum(["Asset", "AssetGroup"]),
|
|
946
|
-
entityMeta:
|
|
947
|
-
title: _zod.z.string().optional(),
|
|
948
|
-
description: _zod.z.string().optional()
|
|
949
|
-
}).optional()
|
|
956
|
+
entityMeta: PageBlockAssetEntityMeta.optional()
|
|
950
957
|
})
|
|
951
958
|
)
|
|
952
959
|
});
|
|
@@ -963,6 +970,7 @@ var PageBlockItemCodeValue = _zod.z.object({
|
|
|
963
970
|
});
|
|
964
971
|
var PageBlockItemSandboxValue = _zod.z.object({
|
|
965
972
|
showCode: _zod.z.boolean().optional(),
|
|
973
|
+
showControls: _zod.z.boolean().optional(),
|
|
966
974
|
backgroundColor: _zod.z.string().optional(),
|
|
967
975
|
alignPreview: _zod.z.enum(["Left", "Center"]).optional(),
|
|
968
976
|
previewHeight: _zod.z.number().optional(),
|
|
@@ -996,14 +1004,11 @@ var PageBlockItemFigmaNodeValue = _zod.z.object({
|
|
|
996
1004
|
selectedPropertyIds: _zod.z.array(_zod.z.string()).optional(),
|
|
997
1005
|
showSearch: _zod.z.boolean().optional(),
|
|
998
1006
|
previewContainerSize: PageBlockPreviewContainerSize.optional(),
|
|
999
|
-
backgroundColor:
|
|
1007
|
+
backgroundColor: PageBlockColorV2.optional(),
|
|
1000
1008
|
value: _zod.z.array(
|
|
1001
1009
|
_zod.z.object({
|
|
1002
1010
|
entityId: _zod.z.string(),
|
|
1003
|
-
entityMeta:
|
|
1004
|
-
title: _zod.z.string().optional(),
|
|
1005
|
-
description: _zod.z.string().optional()
|
|
1006
|
-
}).optional()
|
|
1011
|
+
entityMeta: PageBlockFigmaNodeEntityMeta.optional()
|
|
1007
1012
|
})
|
|
1008
1013
|
)
|
|
1009
1014
|
});
|
|
@@ -1068,6 +1073,7 @@ var PageBlockItemUrlValue = _zod.z.object({
|
|
|
1068
1073
|
});
|
|
1069
1074
|
var PageBlockItemTableRichTextNode = _zod.z.object({
|
|
1070
1075
|
type: _zod.z.literal("RichText"),
|
|
1076
|
+
id: _zod.z.string(),
|
|
1071
1077
|
value: PageBlockItemRichTextValue.shape.value
|
|
1072
1078
|
});
|
|
1073
1079
|
var PageBlockItemTableMultiRichTextNode = _zod.z.object({
|
|
@@ -1076,6 +1082,7 @@ var PageBlockItemTableMultiRichTextNode = _zod.z.object({
|
|
|
1076
1082
|
});
|
|
1077
1083
|
var PageBlockItemTableImageNode = _zod.z.object({
|
|
1078
1084
|
type: _zod.z.literal("Image"),
|
|
1085
|
+
id: _zod.z.string(),
|
|
1079
1086
|
caption: PageBlockItemImageValue.shape.caption,
|
|
1080
1087
|
value: PageBlockItemImageValue.shape.value
|
|
1081
1088
|
});
|
|
@@ -2180,8 +2187,8 @@ var WorkspaceProfile = _zod.z.object({
|
|
|
2180
2187
|
name: _zod.z.string(),
|
|
2181
2188
|
handle: _zod.z.string(),
|
|
2182
2189
|
color: _zod.z.string(),
|
|
2183
|
-
avatar: _zod.z.string()
|
|
2184
|
-
billingDetails: BillingDetails
|
|
2190
|
+
avatar: nullishToOptional(_zod.z.string()),
|
|
2191
|
+
billingDetails: nullishToOptional(BillingDetails)
|
|
2185
2192
|
});
|
|
2186
2193
|
var Workspace = _zod.z.object({
|
|
2187
2194
|
id: _zod.z.string(),
|
|
@@ -3657,14 +3664,14 @@ var DTOCreateDocumentationGroupInput = _zod.z.object({
|
|
|
3657
3664
|
});
|
|
3658
3665
|
var DTOUpdateDocumentationGroupInput = _zod.z.object({
|
|
3659
3666
|
// Identifier of the group to update
|
|
3660
|
-
id: _zod.z.string()
|
|
3667
|
+
id: _zod.z.string(),
|
|
3661
3668
|
// Group properties
|
|
3662
3669
|
title: _zod.z.string().optional(),
|
|
3663
3670
|
configuration: DocumentationItemConfigurationV2.optional()
|
|
3664
3671
|
});
|
|
3665
3672
|
var DTOMoveDocumentationGroupInput = _zod.z.object({
|
|
3666
3673
|
// Identifier of the group to update
|
|
3667
|
-
id: _zod.z.string()
|
|
3674
|
+
id: _zod.z.string(),
|
|
3668
3675
|
// Group placement properties
|
|
3669
3676
|
parentPersistentId: _zod.z.string().uuid(),
|
|
3670
3677
|
afterPersistentId: _zod.z.string().uuid().optional()
|
|
@@ -3894,7 +3901,7 @@ var DTOFigmaNode = FigmaFileStructure.omit({
|
|
|
3894
3901
|
}).extend({
|
|
3895
3902
|
data: DTOFigmaNodeData
|
|
3896
3903
|
});
|
|
3897
|
-
var
|
|
3904
|
+
var DTOFigmaNodeRenderInput = _zod.z.object({
|
|
3898
3905
|
// Id of a design system's data source representing a linked Figma file
|
|
3899
3906
|
sourceId: _zod.z.string(),
|
|
3900
3907
|
// Id of a node within the Figma file
|
|
@@ -3903,13 +3910,13 @@ var DTOFigmaNodeCreateInput = _zod.z.object({
|
|
|
3903
3910
|
|
|
3904
3911
|
// src/api/dto/elements/figma-nodes/node-actions-v2.ts
|
|
3905
3912
|
|
|
3906
|
-
var
|
|
3913
|
+
var DTOFigmaNodeRenderActionOutput = _zod.z.object({
|
|
3907
3914
|
type: _zod.z.literal("FigmaNodeRender"),
|
|
3908
3915
|
figmaNodes: _zod.z.array(DTOFigmaNode)
|
|
3909
3916
|
});
|
|
3910
|
-
var
|
|
3917
|
+
var DTOFigmaNodeRenderActionInput = _zod.z.object({
|
|
3911
3918
|
type: _zod.z.literal("FigmaNodeRender"),
|
|
3912
|
-
input:
|
|
3919
|
+
input: DTOFigmaNodeRenderInput.array()
|
|
3913
3920
|
});
|
|
3914
3921
|
|
|
3915
3922
|
// src/api/dto/elements/elements-action-v2.ts
|
|
@@ -3930,7 +3937,7 @@ var DTOElementActionOutput = _zod.z.discriminatedUnion("type", [
|
|
|
3930
3937
|
DTODocumentationGroupDeleteActionOutputV2,
|
|
3931
3938
|
DTODocumentationTabGroupDeleteActionOutputV2,
|
|
3932
3939
|
// // Figma frames
|
|
3933
|
-
|
|
3940
|
+
DTOFigmaNodeRenderActionOutput
|
|
3934
3941
|
]);
|
|
3935
3942
|
var DTOElementActionInput = _zod.z.discriminatedUnion("type", [
|
|
3936
3943
|
// Documentation pages
|
|
@@ -3948,19 +3955,70 @@ var DTOElementActionInput = _zod.z.discriminatedUnion("type", [
|
|
|
3948
3955
|
DTODocumentationGroupDeleteActionInputV2,
|
|
3949
3956
|
DTODocumentationTabGroupDeleteActionInputV2,
|
|
3950
3957
|
// Figma frames
|
|
3951
|
-
|
|
3958
|
+
DTOFigmaNodeRenderActionInput
|
|
3952
3959
|
]);
|
|
3953
3960
|
|
|
3954
3961
|
// src/api/dto/elements/get-elements-v2.ts
|
|
3955
3962
|
|
|
3956
|
-
var
|
|
3957
|
-
var
|
|
3958
|
-
types: _zod.z.string().transform((val) => val.split(",").map((v) =>
|
|
3963
|
+
var DTOElementsGetTypeFilter = _zod.z.enum(["FigmaNode"]);
|
|
3964
|
+
var DTOElementsGetQuerySchema = _zod.z.object({
|
|
3965
|
+
types: _zod.z.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
|
|
3959
3966
|
});
|
|
3960
3967
|
var DTOElementsGetOutput = _zod.z.object({
|
|
3961
3968
|
figmaNodes: _zod.z.array(DTOFigmaNode).optional()
|
|
3962
3969
|
});
|
|
3963
3970
|
|
|
3971
|
+
// src/api/dto/workspaces/membership.ts
|
|
3972
|
+
|
|
3973
|
+
|
|
3974
|
+
// src/api/dto/workspaces/workspace.ts
|
|
3975
|
+
|
|
3976
|
+
|
|
3977
|
+
// src/api/dto/workspaces/npm-registry.ts
|
|
3978
|
+
|
|
3979
|
+
var DTONpmRegistryConfig = _zod.z.object({
|
|
3980
|
+
// Registry basic configuration
|
|
3981
|
+
registryType: NpmRegistryType,
|
|
3982
|
+
registryUrl: _zod.z.string(),
|
|
3983
|
+
customRegistryUrl: _zod.z.string().optional(),
|
|
3984
|
+
// URL of Supernova NPM packages proxy
|
|
3985
|
+
proxyUrl: _zod.z.string(),
|
|
3986
|
+
// Auth configuration
|
|
3987
|
+
authType: NpmRegistryAuthType,
|
|
3988
|
+
accessToken: _zod.z.literal("redacted").optional(),
|
|
3989
|
+
username: _zod.z.string().optional(),
|
|
3990
|
+
password: _zod.z.literal("redacted").optional(),
|
|
3991
|
+
// NPM package scopes for whih the proxy should be enabled
|
|
3992
|
+
enabledScopes: _zod.z.array(_zod.z.string()),
|
|
3993
|
+
// True if client should bypass Supernova proxy and connect directly to the registry
|
|
3994
|
+
// (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
|
|
3995
|
+
bypassProxy: _zod.z.boolean()
|
|
3996
|
+
});
|
|
3997
|
+
|
|
3998
|
+
// src/api/dto/workspaces/workspace.ts
|
|
3999
|
+
var DTOWorkspace = _zod.z.object({
|
|
4000
|
+
id: _zod.z.string(),
|
|
4001
|
+
profile: WorkspaceProfile,
|
|
4002
|
+
subscription: Subscription,
|
|
4003
|
+
npmRegistry: DTONpmRegistryConfig.optional()
|
|
4004
|
+
});
|
|
4005
|
+
|
|
4006
|
+
// src/api/dto/workspaces/membership.ts
|
|
4007
|
+
var DTOWorkspaceRole = _zod.z.enum(["Owner", "Admin", "Creator", "Viewer", "Billing"]);
|
|
4008
|
+
var DTOUserWorkspaceMembership = _zod.z.object({
|
|
4009
|
+
// Workspace the user is a member of
|
|
4010
|
+
workspace: DTOWorkspace,
|
|
4011
|
+
// Assigned role the user has in the workspace
|
|
4012
|
+
role: DTOWorkspaceRole,
|
|
4013
|
+
// Role that determines actual permissions the user has in the workspace
|
|
4014
|
+
// E.g. this is different from the default role when editors are downgraded to viewers
|
|
4015
|
+
// when a workspace's subscription is downgraded to free tier
|
|
4016
|
+
effectiveRole: DTOWorkspaceRole
|
|
4017
|
+
});
|
|
4018
|
+
var DTOUserWorkspaceMembershipsResponse = _zod.z.object({
|
|
4019
|
+
membership: _zod.z.array(DTOUserWorkspaceMembership)
|
|
4020
|
+
});
|
|
4021
|
+
|
|
3964
4022
|
// src/api/payloads/documentation/block-definitions.ts
|
|
3965
4023
|
|
|
3966
4024
|
var DTOGetBlockDefinitionsOutput = _zod.z.object({
|
|
@@ -5087,13 +5145,28 @@ function serializeTableNode(node) {
|
|
|
5087
5145
|
case "RichText":
|
|
5088
5146
|
return {
|
|
5089
5147
|
type: "paragraph",
|
|
5148
|
+
attrs: {
|
|
5149
|
+
id: node.id,
|
|
5150
|
+
definitionId: "io.supernova.block.rich-text"
|
|
5151
|
+
},
|
|
5090
5152
|
...serializeRichTextNodePart(node.value)
|
|
5091
5153
|
};
|
|
5092
5154
|
case "Image":
|
|
5093
5155
|
return {
|
|
5094
5156
|
type: "image",
|
|
5095
5157
|
attrs: {
|
|
5096
|
-
|
|
5158
|
+
id: node.id,
|
|
5159
|
+
definitionId: "io.supernova.block.image",
|
|
5160
|
+
items: JSON.stringify([
|
|
5161
|
+
{
|
|
5162
|
+
id: node.id,
|
|
5163
|
+
props: {
|
|
5164
|
+
image: {
|
|
5165
|
+
value: node.value
|
|
5166
|
+
}
|
|
5167
|
+
}
|
|
5168
|
+
}
|
|
5169
|
+
])
|
|
5097
5170
|
}
|
|
5098
5171
|
};
|
|
5099
5172
|
}
|
|
@@ -5113,7 +5186,7 @@ function serializeBlockNodeAttributes(input) {
|
|
|
5113
5186
|
};
|
|
5114
5187
|
}
|
|
5115
5188
|
function richTextHeadingLevel(property) {
|
|
5116
|
-
const style = _optionalChain([property, 'access',
|
|
5189
|
+
const style = _optionalChain([property, 'access', _12 => _12.options, 'optionalAccess', _13 => _13.richTextStyle]);
|
|
5117
5190
|
if (!style)
|
|
5118
5191
|
return void 0;
|
|
5119
5192
|
switch (style) {
|
|
@@ -5211,7 +5284,7 @@ function serializeAsCustomBlock(block, definition) {
|
|
|
5211
5284
|
linksTo: i.linksTo
|
|
5212
5285
|
};
|
|
5213
5286
|
});
|
|
5214
|
-
const columns = _optionalChain([block, 'access',
|
|
5287
|
+
const columns = _optionalChain([block, 'access', _14 => _14.data, 'access', _15 => _15.appearance, 'optionalAccess', _16 => _16.numberOfColumns]);
|
|
5215
5288
|
return {
|
|
5216
5289
|
type: "blockNode",
|
|
5217
5290
|
attrs: {
|
|
@@ -5245,7 +5318,6 @@ var blocks = [
|
|
|
5245
5318
|
name: "Text",
|
|
5246
5319
|
type: "RichText",
|
|
5247
5320
|
options: {
|
|
5248
|
-
placeholder: "Start writing with plain text",
|
|
5249
5321
|
richTextStyle: "Default"
|
|
5250
5322
|
}
|
|
5251
5323
|
}
|
|
@@ -5299,7 +5371,7 @@ var blocks = [
|
|
|
5299
5371
|
name: "Title 1",
|
|
5300
5372
|
description: "Main sections within the page",
|
|
5301
5373
|
category: "Text",
|
|
5302
|
-
searchKeywords: ["heading"],
|
|
5374
|
+
searchKeywords: ["heading", "h1"],
|
|
5303
5375
|
item: {
|
|
5304
5376
|
properties: [
|
|
5305
5377
|
{
|
|
@@ -5361,7 +5433,7 @@ var blocks = [
|
|
|
5361
5433
|
name: "Title 2",
|
|
5362
5434
|
description: "Section subheadings",
|
|
5363
5435
|
category: "Text",
|
|
5364
|
-
searchKeywords: ["heading"],
|
|
5436
|
+
searchKeywords: ["heading", "h2"],
|
|
5365
5437
|
item: {
|
|
5366
5438
|
properties: [
|
|
5367
5439
|
{
|
|
@@ -5423,7 +5495,7 @@ var blocks = [
|
|
|
5423
5495
|
name: "Title 3",
|
|
5424
5496
|
description: "Further subsections",
|
|
5425
5497
|
category: "Text",
|
|
5426
|
-
searchKeywords: ["heading"],
|
|
5498
|
+
searchKeywords: ["heading", "h3"],
|
|
5427
5499
|
item: {
|
|
5428
5500
|
properties: [
|
|
5429
5501
|
{
|
|
@@ -5485,7 +5557,7 @@ var blocks = [
|
|
|
5485
5557
|
name: "Title 4",
|
|
5486
5558
|
description: "Details in subsections",
|
|
5487
5559
|
category: "Text",
|
|
5488
|
-
searchKeywords: ["heading"],
|
|
5560
|
+
searchKeywords: ["heading", "h4"],
|
|
5489
5561
|
item: {
|
|
5490
5562
|
properties: [
|
|
5491
5563
|
{
|
|
@@ -5547,7 +5619,7 @@ var blocks = [
|
|
|
5547
5619
|
name: "Title 5",
|
|
5548
5620
|
description: "Nuanced details or sub-points",
|
|
5549
5621
|
category: "Text",
|
|
5550
|
-
searchKeywords: ["heading"],
|
|
5622
|
+
searchKeywords: ["heading", "h5"],
|
|
5551
5623
|
item: {
|
|
5552
5624
|
properties: [
|
|
5553
5625
|
{
|
|
@@ -5670,7 +5742,7 @@ var blocks = [
|
|
|
5670
5742
|
name: "Unordered list",
|
|
5671
5743
|
description: "A list with bullet points",
|
|
5672
5744
|
category: "Text",
|
|
5673
|
-
searchKeywords: ["ul"],
|
|
5745
|
+
searchKeywords: ["ul", "bullet points"],
|
|
5674
5746
|
item: {
|
|
5675
5747
|
properties: [
|
|
5676
5748
|
{
|
|
@@ -5798,7 +5870,7 @@ var blocks = [
|
|
|
5798
5870
|
name: "Text",
|
|
5799
5871
|
type: "RichText",
|
|
5800
5872
|
options: {
|
|
5801
|
-
placeholder: "
|
|
5873
|
+
placeholder: "Write a quote...",
|
|
5802
5874
|
richTextStyle: "Quote"
|
|
5803
5875
|
}
|
|
5804
5876
|
}
|
|
@@ -5860,6 +5932,7 @@ var blocks = [
|
|
|
5860
5932
|
name: "Text",
|
|
5861
5933
|
type: "RichText",
|
|
5862
5934
|
options: {
|
|
5935
|
+
placeholder: "Highlight some information...",
|
|
5863
5936
|
richTextStyle: "Callout"
|
|
5864
5937
|
}
|
|
5865
5938
|
}
|
|
@@ -5977,29 +6050,11 @@ var blocks = [
|
|
|
5977
6050
|
searchKeywords: [],
|
|
5978
6051
|
item: {
|
|
5979
6052
|
properties: [
|
|
5980
|
-
{
|
|
5981
|
-
id: "block.links.property.title",
|
|
5982
|
-
name: "Title",
|
|
5983
|
-
type: "Text",
|
|
5984
|
-
options: {
|
|
5985
|
-
textStyle: "Title5"
|
|
5986
|
-
}
|
|
5987
|
-
},
|
|
5988
|
-
{
|
|
5989
|
-
id: "block.links.property.description",
|
|
5990
|
-
name: "Short description",
|
|
5991
|
-
type: "Text",
|
|
5992
|
-
options: {
|
|
5993
|
-
textStyle: "Default",
|
|
5994
|
-
color: "NeutralFaded"
|
|
5995
|
-
}
|
|
5996
|
-
},
|
|
5997
6053
|
{
|
|
5998
6054
|
id: "block.links.property.image",
|
|
5999
6055
|
name: "Image",
|
|
6000
6056
|
type: "Image",
|
|
6001
6057
|
options: {
|
|
6002
|
-
width: "Medium",
|
|
6003
6058
|
aspectRatio: "Landscape",
|
|
6004
6059
|
allowCaption: false
|
|
6005
6060
|
},
|
|
@@ -6013,6 +6068,25 @@ var blocks = [
|
|
|
6013
6068
|
aspectRatio: "Square"
|
|
6014
6069
|
}
|
|
6015
6070
|
}
|
|
6071
|
+
},
|
|
6072
|
+
{
|
|
6073
|
+
id: "block.links.property.title",
|
|
6074
|
+
name: "Title",
|
|
6075
|
+
type: "Text",
|
|
6076
|
+
options: {
|
|
6077
|
+
textStyle: "Title5",
|
|
6078
|
+
placeholder: "Add title"
|
|
6079
|
+
}
|
|
6080
|
+
},
|
|
6081
|
+
{
|
|
6082
|
+
id: "block.links.property.description",
|
|
6083
|
+
name: "Short description",
|
|
6084
|
+
type: "Text",
|
|
6085
|
+
options: {
|
|
6086
|
+
textStyle: "Default",
|
|
6087
|
+
color: "NeutralFaded",
|
|
6088
|
+
placeholder: "Add description"
|
|
6089
|
+
}
|
|
6016
6090
|
}
|
|
6017
6091
|
],
|
|
6018
6092
|
appearance: {
|
|
@@ -6023,7 +6097,7 @@ var blocks = [
|
|
|
6023
6097
|
{
|
|
6024
6098
|
id: "imageOnTop",
|
|
6025
6099
|
name: "Image on top",
|
|
6026
|
-
image: "assets/
|
|
6100
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/shortcuts-image-on-top.svg",
|
|
6027
6101
|
layout: {
|
|
6028
6102
|
type: "Column",
|
|
6029
6103
|
children: ["block.links.property.image", "block.links.property.title", "block.links.property.description"],
|
|
@@ -6042,7 +6116,7 @@ var blocks = [
|
|
|
6042
6116
|
{
|
|
6043
6117
|
id: "imageOnLeft",
|
|
6044
6118
|
name: "Image on left",
|
|
6045
|
-
image: "assets/
|
|
6119
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/shortcuts-leading-image.svg",
|
|
6046
6120
|
layout: {
|
|
6047
6121
|
type: "Row",
|
|
6048
6122
|
children: [
|
|
@@ -6076,7 +6150,7 @@ var blocks = [
|
|
|
6076
6150
|
{
|
|
6077
6151
|
id: "iconOnTop",
|
|
6078
6152
|
name: "Icon on top",
|
|
6079
|
-
image: "assets/
|
|
6153
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/shortcuts-icon-on-top.svg",
|
|
6080
6154
|
layout: {
|
|
6081
6155
|
type: "Column",
|
|
6082
6156
|
children: ["block.links.property.image", "block.links.property.title", "block.links.property.description"],
|
|
@@ -6095,7 +6169,7 @@ var blocks = [
|
|
|
6095
6169
|
{
|
|
6096
6170
|
id: "iconOnLeft",
|
|
6097
6171
|
name: "Icon on left",
|
|
6098
|
-
image: "assets/
|
|
6172
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/shortcuts-leading-icon.svg",
|
|
6099
6173
|
layout: {
|
|
6100
6174
|
type: "Row",
|
|
6101
6175
|
children: [
|
|
@@ -6195,8 +6269,8 @@ var blocks = [
|
|
|
6195
6269
|
behavior: {
|
|
6196
6270
|
dataType: "Token",
|
|
6197
6271
|
entities: {
|
|
6198
|
-
selectionType: "
|
|
6199
|
-
maxSelected:
|
|
6272
|
+
selectionType: "EntityAndGroup",
|
|
6273
|
+
maxSelected: 0
|
|
6200
6274
|
}
|
|
6201
6275
|
},
|
|
6202
6276
|
editorOptions: {
|
|
@@ -6351,7 +6425,23 @@ var blocks = [
|
|
|
6351
6425
|
name: "Lottie URL",
|
|
6352
6426
|
type: "URL",
|
|
6353
6427
|
options: {
|
|
6354
|
-
urlValidationRegex: "^(https
|
|
6428
|
+
urlValidationRegex: "^(http|https)://.*.(json|lottie)$"
|
|
6429
|
+
}
|
|
6430
|
+
},
|
|
6431
|
+
{
|
|
6432
|
+
id: "height",
|
|
6433
|
+
name: "Height",
|
|
6434
|
+
type: "Number",
|
|
6435
|
+
options: {
|
|
6436
|
+
defaultValue: 270
|
|
6437
|
+
}
|
|
6438
|
+
},
|
|
6439
|
+
{
|
|
6440
|
+
id: "width",
|
|
6441
|
+
name: "Width",
|
|
6442
|
+
type: "Number",
|
|
6443
|
+
options: {
|
|
6444
|
+
defaultValue: 400
|
|
6355
6445
|
}
|
|
6356
6446
|
},
|
|
6357
6447
|
{
|
|
@@ -6369,6 +6459,14 @@ var blocks = [
|
|
|
6369
6459
|
options: {
|
|
6370
6460
|
defaultValue: true
|
|
6371
6461
|
}
|
|
6462
|
+
},
|
|
6463
|
+
{
|
|
6464
|
+
id: "playerControls",
|
|
6465
|
+
name: "Show player controls",
|
|
6466
|
+
type: "Boolean",
|
|
6467
|
+
options: {
|
|
6468
|
+
defaultValue: true
|
|
6469
|
+
}
|
|
6372
6470
|
}
|
|
6373
6471
|
],
|
|
6374
6472
|
appearance: {
|
|
@@ -6379,9 +6477,10 @@ var blocks = [
|
|
|
6379
6477
|
{
|
|
6380
6478
|
id: "default",
|
|
6381
6479
|
name: "Default",
|
|
6480
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/lottie.svg",
|
|
6382
6481
|
layout: {
|
|
6383
6482
|
type: "Column",
|
|
6384
|
-
children: ["url", "autoplay", "loop"],
|
|
6483
|
+
children: ["url", "height", "width", "autoplay", "loop", "playerControls"],
|
|
6385
6484
|
columnAlign: "Start",
|
|
6386
6485
|
columnResizing: "Fill",
|
|
6387
6486
|
gap: "Medium"
|
|
@@ -6391,7 +6490,7 @@ var blocks = [
|
|
|
6391
6490
|
appearance: {
|
|
6392
6491
|
isBordered: false,
|
|
6393
6492
|
hasBackground: false,
|
|
6394
|
-
isEditorPresentationDifferent:
|
|
6493
|
+
isEditorPresentationDifferent: true
|
|
6395
6494
|
}
|
|
6396
6495
|
}
|
|
6397
6496
|
],
|
|
@@ -6554,7 +6653,9 @@ var blocks = [
|
|
|
6554
6653
|
id: "markdownUrl",
|
|
6555
6654
|
name: "Markdown URL",
|
|
6556
6655
|
type: "Markdown",
|
|
6557
|
-
options: {
|
|
6656
|
+
options: {
|
|
6657
|
+
urlValidationRegex: "^(https?://)?(www.)?.+.md$"
|
|
6658
|
+
}
|
|
6558
6659
|
}
|
|
6559
6660
|
],
|
|
6560
6661
|
appearance: {
|
|
@@ -6565,7 +6666,7 @@ var blocks = [
|
|
|
6565
6666
|
{
|
|
6566
6667
|
id: "plain",
|
|
6567
6668
|
name: "Plain",
|
|
6568
|
-
image: "assets/
|
|
6669
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/markdown-plain.svg",
|
|
6569
6670
|
layout: {
|
|
6570
6671
|
type: "Column",
|
|
6571
6672
|
children: ["markdownUrl"],
|
|
@@ -6584,7 +6685,7 @@ var blocks = [
|
|
|
6584
6685
|
{
|
|
6585
6686
|
id: "bordered",
|
|
6586
6687
|
name: "Bordered",
|
|
6587
|
-
image: "assets/
|
|
6688
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/markdown-bordered.svg",
|
|
6588
6689
|
layout: {
|
|
6589
6690
|
type: "Column",
|
|
6590
6691
|
children: ["markdownUrl"],
|
|
@@ -6603,7 +6704,7 @@ var blocks = [
|
|
|
6603
6704
|
{
|
|
6604
6705
|
id: "boxed",
|
|
6605
6706
|
name: "Boxed",
|
|
6606
|
-
image: "assets/
|
|
6707
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/markdown-boxed.svg",
|
|
6607
6708
|
layout: {
|
|
6608
6709
|
type: "Column",
|
|
6609
6710
|
children: ["markdownUrl"],
|
|
@@ -6714,7 +6815,7 @@ var blocks = [
|
|
|
6714
6815
|
options: {
|
|
6715
6816
|
renderLayoutAs: "List",
|
|
6716
6817
|
defaultTheme: "none",
|
|
6717
|
-
defaultValuePreview: "
|
|
6818
|
+
defaultValuePreview: "Split"
|
|
6718
6819
|
}
|
|
6719
6820
|
}
|
|
6720
6821
|
],
|
|
@@ -6725,8 +6826,8 @@ var blocks = [
|
|
|
6725
6826
|
variants: [
|
|
6726
6827
|
{
|
|
6727
6828
|
id: "table",
|
|
6728
|
-
name: "Table
|
|
6729
|
-
image: "assets/
|
|
6829
|
+
name: "Table row",
|
|
6830
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/tokens-table.svg",
|
|
6730
6831
|
layout: {
|
|
6731
6832
|
type: "Column",
|
|
6732
6833
|
children: ["tokens"],
|
|
@@ -6744,8 +6845,8 @@ var blocks = [
|
|
|
6744
6845
|
},
|
|
6745
6846
|
{
|
|
6746
6847
|
id: "grid",
|
|
6747
|
-
name: "Grid
|
|
6748
|
-
image: "assets/
|
|
6848
|
+
name: "Grid item",
|
|
6849
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/tokens-grid.svg",
|
|
6749
6850
|
layout: {
|
|
6750
6851
|
type: "Column",
|
|
6751
6852
|
children: ["tokens"],
|
|
@@ -6764,7 +6865,7 @@ var blocks = [
|
|
|
6764
6865
|
{
|
|
6765
6866
|
id: "color-stack",
|
|
6766
6867
|
name: "Color stack item",
|
|
6767
|
-
image: "assets/
|
|
6868
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/tokens-color-stack.svg",
|
|
6768
6869
|
layout: {
|
|
6769
6870
|
type: "Column",
|
|
6770
6871
|
children: ["tokens"],
|
|
@@ -6806,7 +6907,7 @@ var blocks = [
|
|
|
6806
6907
|
name: "Token list",
|
|
6807
6908
|
description: "Show a list of design tokens",
|
|
6808
6909
|
category: "Tokens",
|
|
6809
|
-
searchKeywords: ["color", "typography", "spacing", "grid", "material", "theme"
|
|
6910
|
+
searchKeywords: ["color", "typography", "spacing", "grid", "material", "theme"],
|
|
6810
6911
|
item: {
|
|
6811
6912
|
properties: [
|
|
6812
6913
|
{
|
|
@@ -6816,7 +6917,7 @@ var blocks = [
|
|
|
6816
6917
|
options: {
|
|
6817
6918
|
renderLayoutAs: "List",
|
|
6818
6919
|
defaultTheme: "none",
|
|
6819
|
-
defaultValuePreview: "
|
|
6920
|
+
defaultValuePreview: "Split"
|
|
6820
6921
|
},
|
|
6821
6922
|
variantOptions: {
|
|
6822
6923
|
grid: {
|
|
@@ -6833,7 +6934,7 @@ var blocks = [
|
|
|
6833
6934
|
{
|
|
6834
6935
|
id: "table",
|
|
6835
6936
|
name: "Table",
|
|
6836
|
-
image: "assets/
|
|
6937
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/tokens-table.svg",
|
|
6837
6938
|
layout: {
|
|
6838
6939
|
type: "Column",
|
|
6839
6940
|
children: ["tokens"],
|
|
@@ -6852,7 +6953,7 @@ var blocks = [
|
|
|
6852
6953
|
{
|
|
6853
6954
|
id: "grid",
|
|
6854
6955
|
name: "Grid",
|
|
6855
|
-
image: "assets/
|
|
6956
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/tokens-grid.svg",
|
|
6856
6957
|
layout: {
|
|
6857
6958
|
type: "Column",
|
|
6858
6959
|
children: ["tokens"],
|
|
@@ -6871,26 +6972,7 @@ var blocks = [
|
|
|
6871
6972
|
{
|
|
6872
6973
|
id: "color-stack",
|
|
6873
6974
|
name: "Color stack",
|
|
6874
|
-
image: "assets/
|
|
6875
|
-
layout: {
|
|
6876
|
-
type: "Column",
|
|
6877
|
-
children: ["tokens"],
|
|
6878
|
-
columnAlign: "Start",
|
|
6879
|
-
columnResizing: "Fill",
|
|
6880
|
-
gap: "Medium"
|
|
6881
|
-
},
|
|
6882
|
-
maxColumns: 1,
|
|
6883
|
-
defaultColumns: 1,
|
|
6884
|
-
appearance: {
|
|
6885
|
-
isBordered: false,
|
|
6886
|
-
hasBackground: false,
|
|
6887
|
-
isEditorPresentationDifferent: false
|
|
6888
|
-
}
|
|
6889
|
-
},
|
|
6890
|
-
{
|
|
6891
|
-
id: "color-contrast-grid",
|
|
6892
|
-
name: "Color contrast grid",
|
|
6893
|
-
image: "assets/variant-color-contrast-grid.png",
|
|
6975
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/tokens-color-stack.svg",
|
|
6894
6976
|
layout: {
|
|
6895
6977
|
type: "Column",
|
|
6896
6978
|
children: ["tokens"],
|
|
@@ -6932,7 +7014,7 @@ var blocks = [
|
|
|
6932
7014
|
name: "Token group",
|
|
6933
7015
|
description: "Show a group of design tokens",
|
|
6934
7016
|
category: "Tokens",
|
|
6935
|
-
searchKeywords: ["color", "typography", "spacing", "grid", "material", "theme"
|
|
7017
|
+
searchKeywords: ["color", "typography", "spacing", "grid", "material", "theme"],
|
|
6936
7018
|
item: {
|
|
6937
7019
|
properties: [
|
|
6938
7020
|
{
|
|
@@ -6942,7 +7024,7 @@ var blocks = [
|
|
|
6942
7024
|
options: {
|
|
6943
7025
|
renderLayoutAs: "List",
|
|
6944
7026
|
defaultTheme: "none",
|
|
6945
|
-
defaultValuePreview: "
|
|
7027
|
+
defaultValuePreview: "Split"
|
|
6946
7028
|
},
|
|
6947
7029
|
variantOptions: {
|
|
6948
7030
|
grid: {
|
|
@@ -6959,7 +7041,7 @@ var blocks = [
|
|
|
6959
7041
|
{
|
|
6960
7042
|
id: "table",
|
|
6961
7043
|
name: "Table",
|
|
6962
|
-
image: "assets/
|
|
7044
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/tokens-table.svg",
|
|
6963
7045
|
layout: {
|
|
6964
7046
|
type: "Column",
|
|
6965
7047
|
children: ["tokens"],
|
|
@@ -6978,7 +7060,7 @@ var blocks = [
|
|
|
6978
7060
|
{
|
|
6979
7061
|
id: "grid",
|
|
6980
7062
|
name: "Grid",
|
|
6981
|
-
image: "assets/
|
|
7063
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/tokens-grid.svg",
|
|
6982
7064
|
layout: {
|
|
6983
7065
|
type: "Column",
|
|
6984
7066
|
children: ["tokens"],
|
|
@@ -6997,7 +7079,7 @@ var blocks = [
|
|
|
6997
7079
|
{
|
|
6998
7080
|
id: "color-stack",
|
|
6999
7081
|
name: "Color stack",
|
|
7000
|
-
image: "assets/
|
|
7082
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/tokens-color-stack.svg",
|
|
7001
7083
|
layout: {
|
|
7002
7084
|
type: "Column",
|
|
7003
7085
|
children: ["tokens"],
|
|
@@ -7012,25 +7094,6 @@ var blocks = [
|
|
|
7012
7094
|
hasBackground: false,
|
|
7013
7095
|
isEditorPresentationDifferent: false
|
|
7014
7096
|
}
|
|
7015
|
-
},
|
|
7016
|
-
{
|
|
7017
|
-
id: "color-contrast-grid",
|
|
7018
|
-
name: "Color contrast grid",
|
|
7019
|
-
image: "assets/variant-color-contrast-grid.png",
|
|
7020
|
-
layout: {
|
|
7021
|
-
type: "Column",
|
|
7022
|
-
children: ["tokens"],
|
|
7023
|
-
columnAlign: "Start",
|
|
7024
|
-
columnResizing: "Fill",
|
|
7025
|
-
gap: "Medium"
|
|
7026
|
-
},
|
|
7027
|
-
maxColumns: 1,
|
|
7028
|
-
defaultColumns: 1,
|
|
7029
|
-
appearance: {
|
|
7030
|
-
isBordered: false,
|
|
7031
|
-
hasBackground: false,
|
|
7032
|
-
isEditorPresentationDifferent: false
|
|
7033
|
-
}
|
|
7034
7097
|
}
|
|
7035
7098
|
],
|
|
7036
7099
|
defaultVariantKey: "table"
|
|
@@ -7044,7 +7107,7 @@ var blocks = [
|
|
|
7044
7107
|
},
|
|
7045
7108
|
editorOptions: {
|
|
7046
7109
|
onboarding: {
|
|
7047
|
-
helpText: "Show a group of design tokens.
|
|
7110
|
+
helpText: "Show a group of design tokens. Automatically display all subgroups too.",
|
|
7048
7111
|
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/token/tokens/general-84NRgxGl#section-token-group-09"
|
|
7049
7112
|
}
|
|
7050
7113
|
},
|
|
@@ -7147,7 +7210,7 @@ var blocks = [
|
|
|
7147
7210
|
{
|
|
7148
7211
|
id: "codeBottom",
|
|
7149
7212
|
name: "Full width, code bottom",
|
|
7150
|
-
image: "
|
|
7213
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/react-code-bottom.svg",
|
|
7151
7214
|
description: "Full-width block of code, with a preview on top.",
|
|
7152
7215
|
layout: {
|
|
7153
7216
|
type: "Column",
|
|
@@ -7167,7 +7230,7 @@ var blocks = [
|
|
|
7167
7230
|
{
|
|
7168
7231
|
id: "codeTop",
|
|
7169
7232
|
name: "Full width, code top",
|
|
7170
|
-
image: "
|
|
7233
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/react-code-top.svg",
|
|
7171
7234
|
description: "Full-width block of code, with a preview on bottom.",
|
|
7172
7235
|
layout: {
|
|
7173
7236
|
type: "Column",
|
|
@@ -7187,7 +7250,7 @@ var blocks = [
|
|
|
7187
7250
|
{
|
|
7188
7251
|
id: "codeLeft",
|
|
7189
7252
|
name: "Side by side, code left",
|
|
7190
|
-
image: "
|
|
7253
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/react-code-left.svg",
|
|
7191
7254
|
description: "Side-by-side preview and code, with code on the left.",
|
|
7192
7255
|
layout: {
|
|
7193
7256
|
type: "Column",
|
|
@@ -7207,7 +7270,7 @@ var blocks = [
|
|
|
7207
7270
|
{
|
|
7208
7271
|
id: "codeRight",
|
|
7209
7272
|
name: "Side by side, code right",
|
|
7210
|
-
image: "
|
|
7273
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/react-code-right.svg",
|
|
7211
7274
|
description: "Side-by-side preview and code, with code on the right.",
|
|
7212
7275
|
layout: {
|
|
7213
7276
|
type: "Column",
|
|
@@ -7325,7 +7388,7 @@ var blocks = [
|
|
|
7325
7388
|
{
|
|
7326
7389
|
id: "default",
|
|
7327
7390
|
name: "Simple grid",
|
|
7328
|
-
image: "assets/
|
|
7391
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/assets-simple-grid.svg",
|
|
7329
7392
|
description: "A simple grid of assets. Both the title and description are displayed below the preview.",
|
|
7330
7393
|
layout: {
|
|
7331
7394
|
type: "Column",
|
|
@@ -7345,7 +7408,7 @@ var blocks = [
|
|
|
7345
7408
|
{
|
|
7346
7409
|
id: "square-grid",
|
|
7347
7410
|
name: "Square grid",
|
|
7348
|
-
image: "assets/
|
|
7411
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/assets-square-grid.svg",
|
|
7349
7412
|
description: "Bordered square grid tailored for displaying icon assets. Only the title is displayed.",
|
|
7350
7413
|
layout: {
|
|
7351
7414
|
type: "Column",
|
|
@@ -7365,7 +7428,7 @@ var blocks = [
|
|
|
7365
7428
|
{
|
|
7366
7429
|
id: "borderless-grid",
|
|
7367
7430
|
name: "Borderless grid",
|
|
7368
|
-
image: "assets/
|
|
7431
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/assets-borderless-grid.svg",
|
|
7369
7432
|
description: "Borderless grid, perfect for displaying assets of the same height. Only the title is visible.",
|
|
7370
7433
|
layout: {
|
|
7371
7434
|
type: "Column",
|
|
@@ -7388,7 +7451,7 @@ var blocks = [
|
|
|
7388
7451
|
behavior: {
|
|
7389
7452
|
dataType: "Asset",
|
|
7390
7453
|
entities: {
|
|
7391
|
-
selectionType: "
|
|
7454
|
+
selectionType: "EntityAndGroup",
|
|
7392
7455
|
maxSelected: 0
|
|
7393
7456
|
}
|
|
7394
7457
|
},
|
|
@@ -7404,7 +7467,7 @@ var blocks = [
|
|
|
7404
7467
|
}
|
|
7405
7468
|
},
|
|
7406
7469
|
{
|
|
7407
|
-
id: "io.supernova.block.figma-
|
|
7470
|
+
id: "io.supernova.block.figma-frames",
|
|
7408
7471
|
name: "Figma frames",
|
|
7409
7472
|
description: "Display Figma frames as images",
|
|
7410
7473
|
category: "Figma",
|
|
@@ -7412,9 +7475,9 @@ var blocks = [
|
|
|
7412
7475
|
item: {
|
|
7413
7476
|
properties: [
|
|
7414
7477
|
{
|
|
7415
|
-
id: "
|
|
7416
|
-
name: "Figma Frames
|
|
7417
|
-
type: "
|
|
7478
|
+
id: "figmaNodes",
|
|
7479
|
+
name: "Figma Frames",
|
|
7480
|
+
type: "FigmaNode",
|
|
7418
7481
|
options: {}
|
|
7419
7482
|
}
|
|
7420
7483
|
],
|
|
@@ -7426,11 +7489,11 @@ var blocks = [
|
|
|
7426
7489
|
{
|
|
7427
7490
|
id: "bordered",
|
|
7428
7491
|
name: "Bordered",
|
|
7429
|
-
image: "assets/
|
|
7492
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/figma-nodes-boxed.svg",
|
|
7430
7493
|
description: "Tiles with background and border, great for larger sets of frames.",
|
|
7431
7494
|
layout: {
|
|
7432
7495
|
type: "Column",
|
|
7433
|
-
children: ["
|
|
7496
|
+
children: ["figmaNodes"],
|
|
7434
7497
|
columnAlign: "Start",
|
|
7435
7498
|
columnResizing: "Fill",
|
|
7436
7499
|
gap: "Medium"
|
|
@@ -7446,11 +7509,11 @@ var blocks = [
|
|
|
7446
7509
|
{
|
|
7447
7510
|
id: "plain",
|
|
7448
7511
|
name: "Plain",
|
|
7449
|
-
image: "assets/
|
|
7512
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/figma-nodes-plain.svg",
|
|
7450
7513
|
description: "Frame as it is in Figma with no extra formatting, great for single images.",
|
|
7451
7514
|
layout: {
|
|
7452
7515
|
type: "Column",
|
|
7453
|
-
children: ["
|
|
7516
|
+
children: ["figmaNodes"],
|
|
7454
7517
|
columnAlign: "Start",
|
|
7455
7518
|
columnResizing: "Fill",
|
|
7456
7519
|
gap: "Medium"
|
|
@@ -7500,6 +7563,7 @@ var blocks = [
|
|
|
7500
7563
|
{
|
|
7501
7564
|
id: "default",
|
|
7502
7565
|
name: "Default",
|
|
7566
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/release-notes.svg",
|
|
7503
7567
|
layout: {
|
|
7504
7568
|
type: "Column",
|
|
7505
7569
|
children: [],
|
|
@@ -7512,7 +7576,7 @@ var blocks = [
|
|
|
7512
7576
|
appearance: {
|
|
7513
7577
|
isBordered: false,
|
|
7514
7578
|
hasBackground: false,
|
|
7515
|
-
isEditorPresentationDifferent:
|
|
7579
|
+
isEditorPresentationDifferent: true
|
|
7516
7580
|
}
|
|
7517
7581
|
}
|
|
7518
7582
|
],
|
|
@@ -7550,6 +7614,22 @@ var blocks = [
|
|
|
7550
7614
|
options: {
|
|
7551
7615
|
renderLayoutAs: "List"
|
|
7552
7616
|
}
|
|
7617
|
+
},
|
|
7618
|
+
{
|
|
7619
|
+
id: "showDescription",
|
|
7620
|
+
name: "Show description",
|
|
7621
|
+
type: "Boolean",
|
|
7622
|
+
options: {
|
|
7623
|
+
defaultValue: true
|
|
7624
|
+
}
|
|
7625
|
+
},
|
|
7626
|
+
{
|
|
7627
|
+
id: "title",
|
|
7628
|
+
name: "Title",
|
|
7629
|
+
type: "Text",
|
|
7630
|
+
options: {
|
|
7631
|
+
defaultValue: "Component checklist"
|
|
7632
|
+
}
|
|
7553
7633
|
}
|
|
7554
7634
|
],
|
|
7555
7635
|
appearance: {
|
|
@@ -7560,9 +7640,10 @@ var blocks = [
|
|
|
7560
7640
|
{
|
|
7561
7641
|
id: "default",
|
|
7562
7642
|
name: "Default",
|
|
7643
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/component-checklist.svg",
|
|
7563
7644
|
layout: {
|
|
7564
7645
|
type: "Column",
|
|
7565
|
-
children: ["components"],
|
|
7646
|
+
children: ["components", "showDescription", "title"],
|
|
7566
7647
|
columnAlign: "Start",
|
|
7567
7648
|
columnResizing: "Fill",
|
|
7568
7649
|
gap: "Medium"
|
|
@@ -7572,7 +7653,7 @@ var blocks = [
|
|
|
7572
7653
|
appearance: {
|
|
7573
7654
|
isBordered: false,
|
|
7574
7655
|
hasBackground: false,
|
|
7575
|
-
isEditorPresentationDifferent:
|
|
7656
|
+
isEditorPresentationDifferent: true
|
|
7576
7657
|
}
|
|
7577
7658
|
}
|
|
7578
7659
|
],
|
|
@@ -7609,7 +7690,15 @@ var blocks = [
|
|
|
7609
7690
|
name: "Components",
|
|
7610
7691
|
type: "Component",
|
|
7611
7692
|
options: {
|
|
7612
|
-
renderLayoutAs: "
|
|
7693
|
+
renderLayoutAs: "Table"
|
|
7694
|
+
}
|
|
7695
|
+
},
|
|
7696
|
+
{
|
|
7697
|
+
id: "showLastUpdatedColumn",
|
|
7698
|
+
name: "Show last updated column",
|
|
7699
|
+
type: "Boolean",
|
|
7700
|
+
options: {
|
|
7701
|
+
defaultValue: true
|
|
7613
7702
|
}
|
|
7614
7703
|
}
|
|
7615
7704
|
],
|
|
@@ -7621,9 +7710,10 @@ var blocks = [
|
|
|
7621
7710
|
{
|
|
7622
7711
|
id: "default",
|
|
7623
7712
|
name: "Default",
|
|
7713
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/component-overview-table.svg",
|
|
7624
7714
|
layout: {
|
|
7625
7715
|
type: "Column",
|
|
7626
|
-
children: ["components"],
|
|
7716
|
+
children: ["components", "showLastUpdatedColumn"],
|
|
7627
7717
|
columnAlign: "Start",
|
|
7628
7718
|
columnResizing: "Fill",
|
|
7629
7719
|
gap: "Medium"
|
|
@@ -7633,7 +7723,7 @@ var blocks = [
|
|
|
7633
7723
|
appearance: {
|
|
7634
7724
|
isBordered: false,
|
|
7635
7725
|
hasBackground: false,
|
|
7636
|
-
isEditorPresentationDifferent:
|
|
7726
|
+
isEditorPresentationDifferent: true
|
|
7637
7727
|
}
|
|
7638
7728
|
}
|
|
7639
7729
|
],
|
|
@@ -7682,6 +7772,7 @@ var blocks = [
|
|
|
7682
7772
|
{
|
|
7683
7773
|
id: "default",
|
|
7684
7774
|
name: "Default",
|
|
7775
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/component-health.svg",
|
|
7685
7776
|
layout: {
|
|
7686
7777
|
type: "Column",
|
|
7687
7778
|
children: ["components"],
|
|
@@ -7694,7 +7785,7 @@ var blocks = [
|
|
|
7694
7785
|
appearance: {
|
|
7695
7786
|
isBordered: false,
|
|
7696
7787
|
hasBackground: false,
|
|
7697
|
-
isEditorPresentationDifferent:
|
|
7788
|
+
isEditorPresentationDifferent: true
|
|
7698
7789
|
}
|
|
7699
7790
|
}
|
|
7700
7791
|
],
|
|
@@ -7837,7 +7928,7 @@ function parseAsMultiRichText(prosemirrorNode, definition, property) {
|
|
|
7837
7928
|
value: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map((listItem) => {
|
|
7838
7929
|
if (listItem.type !== "listItem")
|
|
7839
7930
|
return null;
|
|
7840
|
-
if (!_optionalChain([listItem, 'access',
|
|
7931
|
+
if (!_optionalChain([listItem, 'access', _17 => _17.content, 'optionalAccess', _18 => _18.length]))
|
|
7841
7932
|
return parseRichText([]);
|
|
7842
7933
|
const paragraph = listItem.content[0];
|
|
7843
7934
|
if (paragraph.type !== "paragraph")
|
|
@@ -7880,7 +7971,7 @@ function parseRichTextAttribute(mark) {
|
|
|
7880
7971
|
const href = getProsemirrorAttribute(mark, "href", _zod.z.string().optional());
|
|
7881
7972
|
return {
|
|
7882
7973
|
type: "Link",
|
|
7883
|
-
openInNewWindow: _optionalChain([mark, 'access',
|
|
7974
|
+
openInNewWindow: _optionalChain([mark, 'access', _19 => _19.attrs, 'optionalAccess', _20 => _20.target]) !== "_self",
|
|
7884
7975
|
documentationItemId: itemId,
|
|
7885
7976
|
link: href
|
|
7886
7977
|
};
|
|
@@ -7893,17 +7984,17 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
7893
7984
|
return null;
|
|
7894
7985
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
7895
7986
|
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", _zod.z.boolean().optional()) !== false;
|
|
7896
|
-
const tableChild = _optionalChain([prosemirrorNode, 'access',
|
|
7987
|
+
const tableChild = _optionalChain([prosemirrorNode, 'access', _21 => _21.content, 'optionalAccess', _22 => _22.find, 'call', _23 => _23((c) => c.type === "table")]);
|
|
7897
7988
|
if (!tableChild) {
|
|
7898
7989
|
return emptyTable(id, variantId, 0);
|
|
7899
7990
|
}
|
|
7900
|
-
const rows = _nullishCoalesce(_optionalChain([tableChild, 'access',
|
|
7991
|
+
const rows = _nullishCoalesce(_optionalChain([tableChild, 'access', _24 => _24.content, 'optionalAccess', _25 => _25.filter, 'call', _26 => _26((c) => c.type === "tableRow" && !!_optionalChain([c, 'access', _27 => _27.content, 'optionalAccess', _28 => _28.length]))]), () => ( []));
|
|
7901
7992
|
if (!rows.length) {
|
|
7902
7993
|
return emptyTable(id, variantId, 0);
|
|
7903
7994
|
}
|
|
7904
|
-
const rowHeaderCells = _nullishCoalesce(_optionalChain([rows, 'access',
|
|
7905
|
-
const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access',
|
|
7906
|
-
const hasHeaderRow = _optionalChain([rows, 'access',
|
|
7995
|
+
const rowHeaderCells = _nullishCoalesce(_optionalChain([rows, 'access', _29 => _29[0], 'access', _30 => _30.content, 'optionalAccess', _31 => _31.filter, 'call', _32 => _32((c) => c.type === "tableHeader"), 'access', _33 => _33.length]), () => ( 0));
|
|
7996
|
+
const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access', _34 => _34.content, 'optionalAccess', _35 => _35[0], 'optionalAccess', _36 => _36.type]) === "tableHeader").length;
|
|
7997
|
+
const hasHeaderRow = _optionalChain([rows, 'access', _37 => _37[0], 'access', _38 => _38.content, 'optionalAccess', _39 => _39.length]) === rowHeaderCells;
|
|
7907
7998
|
const hasHeaderColumn = rows.length === columnHeaderCells;
|
|
7908
7999
|
const tableValue = {
|
|
7909
8000
|
showBorder: hasBorder,
|
|
@@ -7967,25 +8058,33 @@ function parseTableCellAlignment(alignment) {
|
|
|
7967
8058
|
}
|
|
7968
8059
|
}
|
|
7969
8060
|
function parseAsTableNode(prosemirrorNode) {
|
|
8061
|
+
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
8062
|
+
if (!id)
|
|
8063
|
+
return null;
|
|
7970
8064
|
switch (prosemirrorNode.type) {
|
|
7971
8065
|
case "paragraph":
|
|
7972
8066
|
return {
|
|
7973
8067
|
type: "RichText",
|
|
8068
|
+
id,
|
|
7974
8069
|
value: parseRichText(_nullishCoalesce(prosemirrorNode.content, () => ( [])))
|
|
7975
8070
|
};
|
|
7976
8071
|
case "image":
|
|
7977
|
-
const
|
|
7978
|
-
if (!
|
|
8072
|
+
const items = getProsemirrorAttribute(prosemirrorNode, "items", _zod.z.string());
|
|
8073
|
+
if (!items)
|
|
8074
|
+
return null;
|
|
8075
|
+
const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
|
|
8076
|
+
if (!parsedItems.success)
|
|
8077
|
+
return null;
|
|
8078
|
+
const rawImagePropertyValue = _optionalChain([parsedItems, 'access', _40 => _40.data, 'access', _41 => _41[0], 'optionalAccess', _42 => _42.props, 'access', _43 => _43.image]);
|
|
8079
|
+
if (!rawImagePropertyValue)
|
|
8080
|
+
return null;
|
|
8081
|
+
const imagePropertyValueParseResult = PageBlockItemImageValue.safeParse(rawImagePropertyValue);
|
|
8082
|
+
if (!imagePropertyValueParseResult.success)
|
|
7979
8083
|
return null;
|
|
7980
8084
|
return {
|
|
7981
8085
|
type: "Image",
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
resource: {
|
|
7985
|
-
resourceId: "",
|
|
7986
|
-
url
|
|
7987
|
-
}
|
|
7988
|
-
}
|
|
8086
|
+
id,
|
|
8087
|
+
value: imagePropertyValueParseResult.data.value
|
|
7989
8088
|
};
|
|
7990
8089
|
default:
|
|
7991
8090
|
return null;
|
|
@@ -8031,6 +8130,7 @@ function emptyTableCellContent() {
|
|
|
8031
8130
|
return [
|
|
8032
8131
|
{
|
|
8033
8132
|
type: "RichText",
|
|
8133
|
+
id: "",
|
|
8034
8134
|
value: { spans: [] }
|
|
8035
8135
|
}
|
|
8036
8136
|
];
|
|
@@ -8187,7 +8287,7 @@ function getProsemirrorBlockVariantId(prosemirrorNode) {
|
|
|
8187
8287
|
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(_zod.z.string()));
|
|
8188
8288
|
}
|
|
8189
8289
|
function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
|
|
8190
|
-
const parsedAttr = validationSchema.safeParse(_optionalChain([prosemirrorNode, 'access',
|
|
8290
|
+
const parsedAttr = validationSchema.safeParse(_optionalChain([prosemirrorNode, 'access', _44 => _44.attrs, 'optionalAccess', _45 => _45[attributeName]]));
|
|
8191
8291
|
if (parsedAttr.success) {
|
|
8192
8292
|
return parsedAttr.data;
|
|
8193
8293
|
} else {
|
|
@@ -8291,5 +8391,10 @@ function mapByUnique2(items, keyFn) {
|
|
|
8291
8391
|
|
|
8292
8392
|
|
|
8293
8393
|
|
|
8294
|
-
|
|
8394
|
+
|
|
8395
|
+
|
|
8396
|
+
|
|
8397
|
+
|
|
8398
|
+
|
|
8399
|
+
exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabGroupInput = DTOCreateDocumentationTabGroupInput; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODesignSystem = DTODesignSystem; exports.DTODocumentationGroupCreateActionInputV2 = DTODocumentationGroupCreateActionInputV2; exports.DTODocumentationGroupCreateActionOutputV2 = DTODocumentationGroupCreateActionOutputV2; exports.DTODocumentationGroupDeleteActionInputV2 = DTODocumentationGroupDeleteActionInputV2; exports.DTODocumentationGroupDeleteActionOutputV2 = DTODocumentationGroupDeleteActionOutputV2; exports.DTODocumentationGroupDuplicateActionInputV2 = DTODocumentationGroupDuplicateActionInputV2; exports.DTODocumentationGroupDuplicateActionOutputV2 = DTODocumentationGroupDuplicateActionOutputV2; exports.DTODocumentationGroupMoveActionInputV2 = DTODocumentationGroupMoveActionInputV2; exports.DTODocumentationGroupMoveActionOutputV2 = DTODocumentationGroupMoveActionOutputV2; exports.DTODocumentationGroupStructureV2 = DTODocumentationGroupStructureV2; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationPageCreateActionInputV2 = DTODocumentationPageCreateActionInputV2; exports.DTODocumentationPageCreateActionOutputV2 = DTODocumentationPageCreateActionOutputV2; exports.DTODocumentationPageDeleteActionInputV2 = DTODocumentationPageDeleteActionInputV2; exports.DTODocumentationPageDeleteActionOutputV2 = DTODocumentationPageDeleteActionOutputV2; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageStructureV2 = DTODocumentationPageStructureV2; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationTabGroupCreateActionInputV2 = DTODocumentationTabGroupCreateActionInputV2; exports.DTODocumentationTabGroupCreateActionOutputV2 = DTODocumentationTabGroupCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.PageBlockEditorModel = PageBlockEditorModel2; exports.blockDefinitionForBlock = blockDefinitionForBlock; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateElementParentChain = calculateElementParentChain; exports.documentationElementsToHierarchyDto = documentationElementsToHierarchyDto; exports.documentationHierarchyToYjs = documentationHierarchyToYjs; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.documentationPagesToStructureDTOV2 = documentationPagesToStructureDTOV2; exports.elementGroupsToDocumentationGroupDTO = elementGroupsToDocumentationGroupDTO; exports.elementGroupsToDocumentationGroupStructureDTO = elementGroupsToDocumentationGroupStructureDTO; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pmSchema = pmSchema; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorNodeToBlock = prosemirrorNodeToBlock; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
|
|
8295
8400
|
//# sourceMappingURL=index.js.map
|