@supernova-studio/client 0.54.20 → 0.54.22
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 +2386 -54
- package/dist/index.d.ts +2386 -54
- package/dist/index.js +449 -787
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +899 -1237
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/client.ts +26 -0
- package/src/api/dto/design-systems/members.ts +2 -2
- package/src/api/dto/users/user.ts +5 -0
- package/src/api/dto/workspaces/index.ts +1 -0
- package/src/api/dto/workspaces/invitations.ts +15 -0
- package/src/api/dto/workspaces/workspace.ts +15 -0
- package/src/api/endpoints/design-systems.ts +36 -0
- package/src/api/endpoints/index.ts +3 -0
- package/src/api/endpoints/users.ts +10 -0
- package/src/api/endpoints/workspaces.ts +26 -0
- package/src/api/index.ts +3 -0
- package/src/api/transport/index.ts +2 -0
- package/src/api/transport/request-executor-error.ts +18 -0
- package/src/api/transport/request-executor.ts +72 -0
- package/src/yjs/docs-editor/mock.ts +264 -778
package/dist/index.js
CHANGED
|
@@ -294,7 +294,8 @@ var FeaturesSummary = _zod.z.object({
|
|
|
294
294
|
customDocumentationExporter: featureToggleSchema,
|
|
295
295
|
protectedPages: featureToggleSchema,
|
|
296
296
|
approvals: featureToggleSchema,
|
|
297
|
-
selectivePublishing: featureToggleSchema
|
|
297
|
+
selectivePublishing: featureToggleSchema,
|
|
298
|
+
designSystemAccessModes: featureToggleSchema
|
|
298
299
|
});
|
|
299
300
|
var InvoiceSchema = _zod.z.object({
|
|
300
301
|
id: _zod.z.string(),
|
|
@@ -5136,8 +5137,8 @@ var DTODesignSystemMembersUpdateResponse = _zod.z.object({
|
|
|
5136
5137
|
ok: _zod.z.literal(true)
|
|
5137
5138
|
});
|
|
5138
5139
|
var DTODesignSystemMembersUpdatePayload = _zod.z.object({
|
|
5139
|
-
inviteUserIds: _zod.z.string().array(),
|
|
5140
|
-
removeUserIds: _zod.z.string().array()
|
|
5140
|
+
inviteUserIds: _zod.z.string().array().optional(),
|
|
5141
|
+
removeUserIds: _zod.z.string().array().optional()
|
|
5141
5142
|
});
|
|
5142
5143
|
|
|
5143
5144
|
// src/api/dto/design-systems/version.ts
|
|
@@ -5452,6 +5453,17 @@ var DTOIntegrationsGetListResponse = _zod.z.object({
|
|
|
5452
5453
|
integrations: DTOIntegration.array()
|
|
5453
5454
|
});
|
|
5454
5455
|
|
|
5456
|
+
// src/api/dto/workspaces/invitations.ts
|
|
5457
|
+
|
|
5458
|
+
var DTOWorkspaceInvitationInput = _zod.z.object({
|
|
5459
|
+
email: _zod.z.string().email(),
|
|
5460
|
+
role: WorkspaceRoleSchema
|
|
5461
|
+
});
|
|
5462
|
+
var DTOWorkspaceInvitationsListInput = _zod.z.object({
|
|
5463
|
+
invites: DTOWorkspaceInvitationInput.array().max(100),
|
|
5464
|
+
designSystemId: _zod.z.string().optional()
|
|
5465
|
+
});
|
|
5466
|
+
|
|
5455
5467
|
// src/api/dto/workspaces/membership.ts
|
|
5456
5468
|
|
|
5457
5469
|
|
|
@@ -5489,6 +5501,12 @@ var DTOWorkspace = _zod.z.object({
|
|
|
5489
5501
|
subscription: Subscription,
|
|
5490
5502
|
npmRegistry: DTONpmRegistryConfig.optional()
|
|
5491
5503
|
});
|
|
5504
|
+
var DTOWorkspaceCreateInput = _zod.z.object({
|
|
5505
|
+
name: _zod.z.string()
|
|
5506
|
+
});
|
|
5507
|
+
var DTOWorkspaceCreateResponse = _zod.z.object({
|
|
5508
|
+
workspace: DTOWorkspace
|
|
5509
|
+
});
|
|
5492
5510
|
|
|
5493
5511
|
// src/api/dto/workspaces/membership.ts
|
|
5494
5512
|
var DTOWorkspaceRole = _zod.z.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
|
|
@@ -6379,6 +6397,152 @@ var DTOUser = _zod.z.object({
|
|
|
6379
6397
|
email: _zod.z.string(),
|
|
6380
6398
|
profile: DTOUserProfile
|
|
6381
6399
|
});
|
|
6400
|
+
var DTOUserGetResponse = _zod.z.object({
|
|
6401
|
+
user: DTOUser
|
|
6402
|
+
});
|
|
6403
|
+
|
|
6404
|
+
// src/api/endpoints/design-systems.ts
|
|
6405
|
+
|
|
6406
|
+
var DesignSystemsEndpoint = class {
|
|
6407
|
+
constructor(requestExecutor) {
|
|
6408
|
+
this.requestExecutor = requestExecutor;
|
|
6409
|
+
}
|
|
6410
|
+
create(body) {
|
|
6411
|
+
return this.requestExecutor.json("/design-systems", DTODesignSystemCreateResponse, { method: "POST", body });
|
|
6412
|
+
}
|
|
6413
|
+
list(wsId) {
|
|
6414
|
+
return this.requestExecutor.json(`/workspaces/${wsId}/design-systems`, DTODesignSystemsListResponse);
|
|
6415
|
+
}
|
|
6416
|
+
get(dsId) {
|
|
6417
|
+
return this.requestExecutor.json(`/design-systems/${dsId}`, _zod.z.any());
|
|
6418
|
+
}
|
|
6419
|
+
delete(dsId) {
|
|
6420
|
+
return this.requestExecutor.json(`/design-systems/${dsId}`, _zod.z.any(), { method: "DELETE" });
|
|
6421
|
+
}
|
|
6422
|
+
editMembers(dsId, body) {
|
|
6423
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/members`, DTODesignSystemMembersUpdateResponse, {
|
|
6424
|
+
method: "POST",
|
|
6425
|
+
body
|
|
6426
|
+
});
|
|
6427
|
+
}
|
|
6428
|
+
};
|
|
6429
|
+
|
|
6430
|
+
// src/api/endpoints/users.ts
|
|
6431
|
+
var UsersEndpoint = class {
|
|
6432
|
+
constructor(requestExecutor) {
|
|
6433
|
+
this.requestExecutor = requestExecutor;
|
|
6434
|
+
}
|
|
6435
|
+
getMe() {
|
|
6436
|
+
return this.requestExecutor.json("/users/me", DTOUserGetResponse);
|
|
6437
|
+
}
|
|
6438
|
+
};
|
|
6439
|
+
|
|
6440
|
+
// src/api/endpoints/workspaces.ts
|
|
6441
|
+
|
|
6442
|
+
var WorkspacesEndpoint = class {
|
|
6443
|
+
constructor(requestExecutor) {
|
|
6444
|
+
this.requestExecutor = requestExecutor;
|
|
6445
|
+
}
|
|
6446
|
+
create(body) {
|
|
6447
|
+
return this.requestExecutor.json("/workspaces", DTOWorkspaceCreateResponse, {
|
|
6448
|
+
method: "POST",
|
|
6449
|
+
body: {
|
|
6450
|
+
...body,
|
|
6451
|
+
product: "free",
|
|
6452
|
+
priceId: "yearly"
|
|
6453
|
+
}
|
|
6454
|
+
});
|
|
6455
|
+
}
|
|
6456
|
+
delete(workspaceId) {
|
|
6457
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}`, _zod.z.any(), { method: "DELETE" });
|
|
6458
|
+
}
|
|
6459
|
+
invite(workspaceId, body) {
|
|
6460
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, _zod.z.any(), { method: "POST", body });
|
|
6461
|
+
}
|
|
6462
|
+
};
|
|
6463
|
+
|
|
6464
|
+
// src/api/transport/request-executor-error.ts
|
|
6465
|
+
var RequestExecutorError = class _RequestExecutorError extends Error {
|
|
6466
|
+
constructor(type, message, cause) {
|
|
6467
|
+
super(`${type}: ${message}`, { cause });
|
|
6468
|
+
__publicField(this, "type");
|
|
6469
|
+
this.type = type;
|
|
6470
|
+
}
|
|
6471
|
+
static serverError(endpoint, status, bodyText) {
|
|
6472
|
+
return new _RequestExecutorError("ServerError", `Endpoint ${endpoint} returned ${status}
|
|
6473
|
+
${bodyText}`);
|
|
6474
|
+
}
|
|
6475
|
+
static responseParsingError(endpoint, cause) {
|
|
6476
|
+
return new _RequestExecutorError("ResponseParsingError", `Endpoint ${endpoint} returned incompatible JSON`, cause);
|
|
6477
|
+
}
|
|
6478
|
+
};
|
|
6479
|
+
|
|
6480
|
+
// src/api/transport/request-executor.ts
|
|
6481
|
+
var _nodefetch = require('node-fetch'); var _nodefetch2 = _interopRequireDefault(_nodefetch);
|
|
6482
|
+
|
|
6483
|
+
var ResponseWrapper = _zod.z.object({
|
|
6484
|
+
result: _zod.z.record(_zod.z.any())
|
|
6485
|
+
});
|
|
6486
|
+
var RequestExecutor = class {
|
|
6487
|
+
constructor(testServerConfig) {
|
|
6488
|
+
__publicField(this, "testServerConfig");
|
|
6489
|
+
this.testServerConfig = testServerConfig;
|
|
6490
|
+
}
|
|
6491
|
+
async json(path, schema, requestInit = {}) {
|
|
6492
|
+
const defaultHeaders = {
|
|
6493
|
+
Accept: "application/json"
|
|
6494
|
+
};
|
|
6495
|
+
if (requestInit.body)
|
|
6496
|
+
defaultHeaders["Content-Type"] = "application/json";
|
|
6497
|
+
if (this.testServerConfig.accessToken) {
|
|
6498
|
+
defaultHeaders["Authorization"] = `Bearer ${this.testServerConfig.accessToken}`;
|
|
6499
|
+
}
|
|
6500
|
+
let body;
|
|
6501
|
+
if (requestInit.body && typeof requestInit.body === "object")
|
|
6502
|
+
body = JSON.stringify(requestInit.body);
|
|
6503
|
+
const response = await _nodefetch2.default.call(void 0, this.fullUrl(path), {
|
|
6504
|
+
...requestInit,
|
|
6505
|
+
headers: {
|
|
6506
|
+
...requestInit.headers,
|
|
6507
|
+
...defaultHeaders
|
|
6508
|
+
},
|
|
6509
|
+
body
|
|
6510
|
+
});
|
|
6511
|
+
const endpoint = `${_nullishCoalesce(requestInit.method, () => ( "GET"))} ${path}`;
|
|
6512
|
+
if (!response.ok) {
|
|
6513
|
+
const bodyString = await response.text();
|
|
6514
|
+
throw RequestExecutorError.serverError(endpoint, response.status, bodyString);
|
|
6515
|
+
}
|
|
6516
|
+
const wrapperParseResult = ResponseWrapper.safeParse(await response.json());
|
|
6517
|
+
if (!wrapperParseResult.success) {
|
|
6518
|
+
throw RequestExecutorError.responseParsingError(endpoint, wrapperParseResult.error);
|
|
6519
|
+
}
|
|
6520
|
+
const responseParseResult = schema.safeParse(wrapperParseResult.data.result);
|
|
6521
|
+
if (!responseParseResult.success) {
|
|
6522
|
+
throw RequestExecutorError.responseParsingError(endpoint, responseParseResult.error);
|
|
6523
|
+
}
|
|
6524
|
+
return responseParseResult.data;
|
|
6525
|
+
}
|
|
6526
|
+
fullUrl(path) {
|
|
6527
|
+
return `https://${this.testServerConfig.host}/api/v2${path}`;
|
|
6528
|
+
}
|
|
6529
|
+
};
|
|
6530
|
+
|
|
6531
|
+
// src/api/client.ts
|
|
6532
|
+
var SupernovaApiClient = class {
|
|
6533
|
+
constructor(config) {
|
|
6534
|
+
__publicField(this, "users");
|
|
6535
|
+
__publicField(this, "workspaces");
|
|
6536
|
+
__publicField(this, "designSystems");
|
|
6537
|
+
const requestExecutor = new RequestExecutor({
|
|
6538
|
+
host: config.host,
|
|
6539
|
+
accessToken: config.accessToken
|
|
6540
|
+
});
|
|
6541
|
+
this.users = new UsersEndpoint(requestExecutor);
|
|
6542
|
+
this.workspaces = new WorkspacesEndpoint(requestExecutor);
|
|
6543
|
+
this.designSystems = new DesignSystemsEndpoint(requestExecutor);
|
|
6544
|
+
}
|
|
6545
|
+
};
|
|
6382
6546
|
|
|
6383
6547
|
// src/utils/hash.ts
|
|
6384
6548
|
function hash(input) {
|
|
@@ -8783,10 +8947,7 @@ var blocks = [
|
|
|
8783
8947
|
},
|
|
8784
8948
|
behavior: {
|
|
8785
8949
|
dataType: "Item",
|
|
8786
|
-
items: {
|
|
8787
|
-
numberOfItems: 1,
|
|
8788
|
-
allowLinks: false
|
|
8789
|
-
}
|
|
8950
|
+
items: { numberOfItems: 1, allowLinks: false }
|
|
8790
8951
|
},
|
|
8791
8952
|
editorOptions: {
|
|
8792
8953
|
onboarding: {
|
|
@@ -8844,10 +9005,7 @@ var blocks = [
|
|
|
8844
9005
|
},
|
|
8845
9006
|
behavior: {
|
|
8846
9007
|
dataType: "Item",
|
|
8847
|
-
items: {
|
|
8848
|
-
numberOfItems: 1,
|
|
8849
|
-
allowLinks: false
|
|
8850
|
-
}
|
|
9008
|
+
items: { numberOfItems: 1, allowLinks: false }
|
|
8851
9009
|
},
|
|
8852
9010
|
editorOptions: {
|
|
8853
9011
|
onboarding: {
|
|
@@ -8864,26 +9022,21 @@ var blocks = [
|
|
|
8864
9022
|
},
|
|
8865
9023
|
{
|
|
8866
9024
|
id: "io.supernova.block.ordered-list",
|
|
8867
|
-
name: "
|
|
8868
|
-
description: "
|
|
9025
|
+
name: "Numbered list",
|
|
9026
|
+
description: "An ordered list with numbers",
|
|
8869
9027
|
category: "Text",
|
|
8870
9028
|
icon: "https://cdn-assets.supernova.io/blocks/icons/list-ordered.svg",
|
|
8871
|
-
searchKeywords: ["ol"],
|
|
9029
|
+
searchKeywords: ["ol", "ordered"],
|
|
8872
9030
|
item: {
|
|
8873
9031
|
properties: [
|
|
8874
9032
|
{
|
|
8875
9033
|
id: "text",
|
|
8876
9034
|
name: "Text",
|
|
8877
9035
|
type: "MultiRichText",
|
|
8878
|
-
options: {
|
|
8879
|
-
multiRichTextStyle: "OL"
|
|
8880
|
-
}
|
|
9036
|
+
options: { multiRichTextStyle: "OL" }
|
|
8881
9037
|
}
|
|
8882
9038
|
],
|
|
8883
|
-
appearance: {
|
|
8884
|
-
isBordered: true,
|
|
8885
|
-
hasBackground: false
|
|
8886
|
-
},
|
|
9039
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
8887
9040
|
variants: [
|
|
8888
9041
|
{
|
|
8889
9042
|
id: "default",
|
|
@@ -8902,13 +9055,7 @@ var blocks = [
|
|
|
8902
9055
|
],
|
|
8903
9056
|
defaultVariantKey: "default"
|
|
8904
9057
|
},
|
|
8905
|
-
behavior: {
|
|
8906
|
-
dataType: "Item",
|
|
8907
|
-
items: {
|
|
8908
|
-
numberOfItems: 1,
|
|
8909
|
-
allowLinks: false
|
|
8910
|
-
}
|
|
8911
|
-
},
|
|
9058
|
+
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
8912
9059
|
editorOptions: {
|
|
8913
9060
|
onboarding: {
|
|
8914
9061
|
helpText: "Display a sequence of numbers or letters to indicate order.",
|
|
@@ -8924,7 +9071,7 @@ var blocks = [
|
|
|
8924
9071
|
},
|
|
8925
9072
|
{
|
|
8926
9073
|
id: "io.supernova.block.unordered-list",
|
|
8927
|
-
name: "
|
|
9074
|
+
name: "Bulleted list",
|
|
8928
9075
|
description: "A list with bullet points",
|
|
8929
9076
|
category: "Text",
|
|
8930
9077
|
icon: "https://cdn-assets.supernova.io/blocks/icons/list-unordered.svg",
|
|
@@ -8935,15 +9082,10 @@ var blocks = [
|
|
|
8935
9082
|
id: "text",
|
|
8936
9083
|
name: "Text",
|
|
8937
9084
|
type: "MultiRichText",
|
|
8938
|
-
options: {
|
|
8939
|
-
multiRichTextStyle: "UL"
|
|
8940
|
-
}
|
|
9085
|
+
options: { multiRichTextStyle: "UL" }
|
|
8941
9086
|
}
|
|
8942
9087
|
],
|
|
8943
|
-
appearance: {
|
|
8944
|
-
isBordered: true,
|
|
8945
|
-
hasBackground: false
|
|
8946
|
-
},
|
|
9088
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
8947
9089
|
variants: [
|
|
8948
9090
|
{
|
|
8949
9091
|
id: "default",
|
|
@@ -8962,13 +9104,7 @@ var blocks = [
|
|
|
8962
9104
|
],
|
|
8963
9105
|
defaultVariantKey: "default"
|
|
8964
9106
|
},
|
|
8965
|
-
behavior: {
|
|
8966
|
-
dataType: "Item",
|
|
8967
|
-
items: {
|
|
8968
|
-
numberOfItems: 1,
|
|
8969
|
-
allowLinks: false
|
|
8970
|
-
}
|
|
8971
|
-
},
|
|
9107
|
+
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
8972
9108
|
editorOptions: {
|
|
8973
9109
|
onboarding: {
|
|
8974
9110
|
helpText: "A list of items displayed with bullet points without a specific sequence.",
|
|
@@ -8982,6 +9118,148 @@ var blocks = [
|
|
|
8982
9118
|
showBlockHeaderInEditor: false
|
|
8983
9119
|
}
|
|
8984
9120
|
},
|
|
9121
|
+
{
|
|
9122
|
+
id: "io.supernova.block.do-dont-guidelines",
|
|
9123
|
+
name: "Guidelines",
|
|
9124
|
+
description: "Document your Do's and Don'ts.",
|
|
9125
|
+
category: "Guidelines",
|
|
9126
|
+
icon: "https://cdn-assets.supernova.io/blocks/icons/guidelines.svg",
|
|
9127
|
+
searchKeywords: ["do", "dont", "caution", "rules"],
|
|
9128
|
+
item: {
|
|
9129
|
+
properties: [
|
|
9130
|
+
{
|
|
9131
|
+
id: "block.do-dont-guidelines.property.image",
|
|
9132
|
+
name: "Image",
|
|
9133
|
+
type: "Image",
|
|
9134
|
+
options: { allowCaption: true }
|
|
9135
|
+
},
|
|
9136
|
+
{
|
|
9137
|
+
id: "block.do-dont-guidelines.property.type",
|
|
9138
|
+
name: "Type",
|
|
9139
|
+
type: "SingleSelect",
|
|
9140
|
+
options: {
|
|
9141
|
+
defaultChoice: "do",
|
|
9142
|
+
choices: [
|
|
9143
|
+
{ value: "do", name: "Do", color: "Green", icon: "CheckCircle" },
|
|
9144
|
+
{ value: "dont", name: "Don't", color: "Red", icon: "CrossCircle" },
|
|
9145
|
+
{ value: "caution", name: "Caution", color: "Orange", icon: "Alert" }
|
|
9146
|
+
],
|
|
9147
|
+
singleSelectStyle: "ToggleButton"
|
|
9148
|
+
}
|
|
9149
|
+
},
|
|
9150
|
+
{
|
|
9151
|
+
id: "block.do-dont-guidelines.property.description",
|
|
9152
|
+
name: "Description",
|
|
9153
|
+
type: "RichTextEditor",
|
|
9154
|
+
options: {
|
|
9155
|
+
allowedInlineStyles: ["Bold", "Italic", "Strikethrough", "UL", "OL", "Link", "InlineCode"],
|
|
9156
|
+
placeholder: "Add description"
|
|
9157
|
+
}
|
|
9158
|
+
}
|
|
9159
|
+
],
|
|
9160
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
9161
|
+
variants: [
|
|
9162
|
+
{
|
|
9163
|
+
id: "simple",
|
|
9164
|
+
name: "Simple",
|
|
9165
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/guidelines-simple.svg",
|
|
9166
|
+
description: "With a minimalist badge at the top, this design is great for content guidelines.",
|
|
9167
|
+
layout: {
|
|
9168
|
+
type: "Column",
|
|
9169
|
+
children: [
|
|
9170
|
+
"block.do-dont-guidelines.property.type",
|
|
9171
|
+
"block.do-dont-guidelines.property.image",
|
|
9172
|
+
"block.do-dont-guidelines.property.description"
|
|
9173
|
+
],
|
|
9174
|
+
columnAlign: "Start",
|
|
9175
|
+
columnResizing: "Fill",
|
|
9176
|
+
gap: "Medium"
|
|
9177
|
+
},
|
|
9178
|
+
maxColumns: 3,
|
|
9179
|
+
defaultColumns: 2,
|
|
9180
|
+
appearance: {}
|
|
9181
|
+
},
|
|
9182
|
+
{
|
|
9183
|
+
id: "prominent",
|
|
9184
|
+
name: "Prominent",
|
|
9185
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/guidelines-prominent.svg",
|
|
9186
|
+
description: "Recommended when you need guidelines that need to stand out.",
|
|
9187
|
+
layout: {
|
|
9188
|
+
type: "Column",
|
|
9189
|
+
children: [
|
|
9190
|
+
"block.do-dont-guidelines.property.type",
|
|
9191
|
+
"block.do-dont-guidelines.property.image",
|
|
9192
|
+
"block.do-dont-guidelines.property.description"
|
|
9193
|
+
],
|
|
9194
|
+
columnAlign: "Start",
|
|
9195
|
+
columnResizing: "Fill",
|
|
9196
|
+
gap: "Medium"
|
|
9197
|
+
},
|
|
9198
|
+
maxColumns: 3,
|
|
9199
|
+
defaultColumns: 1,
|
|
9200
|
+
appearance: { isEditorPresentationDifferent: true }
|
|
9201
|
+
},
|
|
9202
|
+
{
|
|
9203
|
+
id: "contained",
|
|
9204
|
+
name: "Contained",
|
|
9205
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/guidelines-contained.svg",
|
|
9206
|
+
description: "Perfect for component guidelines with spacious images.",
|
|
9207
|
+
layout: {
|
|
9208
|
+
type: "Column",
|
|
9209
|
+
children: [
|
|
9210
|
+
"block.do-dont-guidelines.property.type",
|
|
9211
|
+
"block.do-dont-guidelines.property.image",
|
|
9212
|
+
"block.do-dont-guidelines.property.description"
|
|
9213
|
+
],
|
|
9214
|
+
columnAlign: "Start",
|
|
9215
|
+
columnResizing: "Fill",
|
|
9216
|
+
gap: "Medium"
|
|
9217
|
+
},
|
|
9218
|
+
maxColumns: 3,
|
|
9219
|
+
defaultColumns: 1,
|
|
9220
|
+
appearance: { isEditorPresentationDifferent: true }
|
|
9221
|
+
},
|
|
9222
|
+
{
|
|
9223
|
+
id: "side-border",
|
|
9224
|
+
name: "Side border",
|
|
9225
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/guidelines-side-border.svg",
|
|
9226
|
+
description: "The side border makes this variant well-suited for longer text guidelines.",
|
|
9227
|
+
layout: {
|
|
9228
|
+
type: "Column",
|
|
9229
|
+
children: [
|
|
9230
|
+
"block.do-dont-guidelines.property.type",
|
|
9231
|
+
"block.do-dont-guidelines.property.image",
|
|
9232
|
+
"block.do-dont-guidelines.property.description"
|
|
9233
|
+
],
|
|
9234
|
+
columnAlign: "Start",
|
|
9235
|
+
columnResizing: "Fill",
|
|
9236
|
+
gap: "Medium"
|
|
9237
|
+
},
|
|
9238
|
+
maxColumns: 3,
|
|
9239
|
+
defaultColumns: 1,
|
|
9240
|
+
appearance: { isEditorPresentationDifferent: true }
|
|
9241
|
+
}
|
|
9242
|
+
],
|
|
9243
|
+
defaultVariantKey: "simple"
|
|
9244
|
+
},
|
|
9245
|
+
behavior: {
|
|
9246
|
+
dataType: "Item",
|
|
9247
|
+
items: { numberOfItems: -1, allowLinks: false, newItemLabel: "Add guideline" }
|
|
9248
|
+
},
|
|
9249
|
+
editorOptions: {
|
|
9250
|
+
onboarding: {
|
|
9251
|
+
helpText: "Use link block to document your Do/Don't guidelines for your components and patterns.",
|
|
9252
|
+
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/links/shortcuts/general-jVfNifo4"
|
|
9253
|
+
},
|
|
9254
|
+
newItemLabel: "Add guideline"
|
|
9255
|
+
},
|
|
9256
|
+
appearance: {
|
|
9257
|
+
isBordered: true,
|
|
9258
|
+
hasBackground: false,
|
|
9259
|
+
isEditorPresentationDifferent: false,
|
|
9260
|
+
showBlockHeaderInEditor: false
|
|
9261
|
+
}
|
|
9262
|
+
},
|
|
8985
9263
|
{
|
|
8986
9264
|
id: "io.supernova.block.divider",
|
|
8987
9265
|
name: "Divider",
|
|
@@ -8990,18 +9268,8 @@ var blocks = [
|
|
|
8990
9268
|
icon: "https://cdn-assets.supernova.io/blocks/icons/divider.svg",
|
|
8991
9269
|
searchKeywords: ["hr", "line", "rule", "separator"],
|
|
8992
9270
|
item: {
|
|
8993
|
-
properties: [
|
|
8994
|
-
|
|
8995
|
-
id: "divider",
|
|
8996
|
-
name: "Divider",
|
|
8997
|
-
type: "Divider",
|
|
8998
|
-
options: {}
|
|
8999
|
-
}
|
|
9000
|
-
],
|
|
9001
|
-
appearance: {
|
|
9002
|
-
isBordered: true,
|
|
9003
|
-
hasBackground: false
|
|
9004
|
-
},
|
|
9271
|
+
properties: [{ id: "divider", name: "Divider", type: "Divider", options: {} }],
|
|
9272
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
9005
9273
|
variants: [
|
|
9006
9274
|
{
|
|
9007
9275
|
id: "default",
|
|
@@ -9020,13 +9288,7 @@ var blocks = [
|
|
|
9020
9288
|
],
|
|
9021
9289
|
defaultVariantKey: "default"
|
|
9022
9290
|
},
|
|
9023
|
-
behavior: {
|
|
9024
|
-
dataType: "Item",
|
|
9025
|
-
items: {
|
|
9026
|
-
numberOfItems: 1,
|
|
9027
|
-
allowLinks: false
|
|
9028
|
-
}
|
|
9029
|
-
},
|
|
9291
|
+
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
9030
9292
|
editorOptions: {
|
|
9031
9293
|
onboarding: {
|
|
9032
9294
|
helpText: "A thematic break or horizontal rule, often used to separate content or define a change in topic.",
|
|
@@ -9053,27 +9315,15 @@ var blocks = [
|
|
|
9053
9315
|
id: "text",
|
|
9054
9316
|
name: "Text",
|
|
9055
9317
|
type: "RichText",
|
|
9056
|
-
options: {
|
|
9057
|
-
placeholder: "Write a quote...",
|
|
9058
|
-
richTextStyle: "Quote"
|
|
9059
|
-
}
|
|
9318
|
+
options: { placeholder: "Write a quote...", richTextStyle: "Quote" }
|
|
9060
9319
|
}
|
|
9061
9320
|
],
|
|
9062
|
-
appearance: {
|
|
9063
|
-
isBordered: true,
|
|
9064
|
-
hasBackground: false
|
|
9065
|
-
},
|
|
9321
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
9066
9322
|
variants: [
|
|
9067
9323
|
{
|
|
9068
9324
|
id: "default",
|
|
9069
9325
|
name: "Default",
|
|
9070
|
-
layout: {
|
|
9071
|
-
type: "Column",
|
|
9072
|
-
children: ["text"],
|
|
9073
|
-
columnAlign: "Start",
|
|
9074
|
-
columnResizing: "Fill",
|
|
9075
|
-
gap: "Medium"
|
|
9076
|
-
},
|
|
9326
|
+
layout: { type: "Column", children: ["text"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
9077
9327
|
maxColumns: 1,
|
|
9078
9328
|
defaultColumns: 1,
|
|
9079
9329
|
appearance: {}
|
|
@@ -9081,13 +9331,7 @@ var blocks = [
|
|
|
9081
9331
|
],
|
|
9082
9332
|
defaultVariantKey: "default"
|
|
9083
9333
|
},
|
|
9084
|
-
behavior: {
|
|
9085
|
-
dataType: "Item",
|
|
9086
|
-
items: {
|
|
9087
|
-
numberOfItems: 1,
|
|
9088
|
-
allowLinks: false
|
|
9089
|
-
}
|
|
9090
|
-
},
|
|
9334
|
+
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
9091
9335
|
editorOptions: {
|
|
9092
9336
|
onboarding: {
|
|
9093
9337
|
helpText: "Use a blockquote to set off a quotation or cited content from the main text.",
|
|
@@ -9114,27 +9358,15 @@ var blocks = [
|
|
|
9114
9358
|
id: "text",
|
|
9115
9359
|
name: "Text",
|
|
9116
9360
|
type: "RichText",
|
|
9117
|
-
options: {
|
|
9118
|
-
placeholder: "Highlight some information...",
|
|
9119
|
-
richTextStyle: "Callout"
|
|
9120
|
-
}
|
|
9361
|
+
options: { placeholder: "Highlight some information...", richTextStyle: "Callout" }
|
|
9121
9362
|
}
|
|
9122
9363
|
],
|
|
9123
|
-
appearance: {
|
|
9124
|
-
isBordered: true,
|
|
9125
|
-
hasBackground: false
|
|
9126
|
-
},
|
|
9364
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
9127
9365
|
variants: [
|
|
9128
9366
|
{
|
|
9129
9367
|
id: "default",
|
|
9130
9368
|
name: "Default",
|
|
9131
|
-
layout: {
|
|
9132
|
-
type: "Column",
|
|
9133
|
-
children: ["text"],
|
|
9134
|
-
columnAlign: "Start",
|
|
9135
|
-
columnResizing: "Fill",
|
|
9136
|
-
gap: "Medium"
|
|
9137
|
-
},
|
|
9369
|
+
layout: { type: "Column", children: ["text"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
9138
9370
|
maxColumns: 1,
|
|
9139
9371
|
defaultColumns: 1,
|
|
9140
9372
|
appearance: {}
|
|
@@ -9142,13 +9374,7 @@ var blocks = [
|
|
|
9142
9374
|
],
|
|
9143
9375
|
defaultVariantKey: "default"
|
|
9144
9376
|
},
|
|
9145
|
-
behavior: {
|
|
9146
|
-
dataType: "Item",
|
|
9147
|
-
items: {
|
|
9148
|
-
numberOfItems: 1,
|
|
9149
|
-
allowLinks: false
|
|
9150
|
-
}
|
|
9151
|
-
},
|
|
9377
|
+
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
9152
9378
|
editorOptions: {
|
|
9153
9379
|
onboarding: {
|
|
9154
9380
|
helpText: "Use to highlight a section of text.",
|
|
@@ -9175,26 +9401,15 @@ var blocks = [
|
|
|
9175
9401
|
id: "image",
|
|
9176
9402
|
name: "Image",
|
|
9177
9403
|
type: "Image",
|
|
9178
|
-
options: {
|
|
9179
|
-
allowCaption: true
|
|
9180
|
-
}
|
|
9404
|
+
options: { allowCaption: true }
|
|
9181
9405
|
}
|
|
9182
9406
|
],
|
|
9183
|
-
appearance: {
|
|
9184
|
-
isBordered: true,
|
|
9185
|
-
hasBackground: false
|
|
9186
|
-
},
|
|
9407
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
9187
9408
|
variants: [
|
|
9188
9409
|
{
|
|
9189
9410
|
id: "default",
|
|
9190
9411
|
name: "Default",
|
|
9191
|
-
layout: {
|
|
9192
|
-
type: "Column",
|
|
9193
|
-
children: ["image"],
|
|
9194
|
-
columnAlign: "Start",
|
|
9195
|
-
columnResizing: "Fill",
|
|
9196
|
-
gap: "Medium"
|
|
9197
|
-
},
|
|
9412
|
+
layout: { type: "Column", children: ["image"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
9198
9413
|
maxColumns: 1,
|
|
9199
9414
|
defaultColumns: 1,
|
|
9200
9415
|
appearance: {}
|
|
@@ -9202,13 +9417,7 @@ var blocks = [
|
|
|
9202
9417
|
],
|
|
9203
9418
|
defaultVariantKey: "default"
|
|
9204
9419
|
},
|
|
9205
|
-
behavior: {
|
|
9206
|
-
dataType: "Item",
|
|
9207
|
-
items: {
|
|
9208
|
-
numberOfItems: 1,
|
|
9209
|
-
allowLinks: false
|
|
9210
|
-
}
|
|
9211
|
-
},
|
|
9420
|
+
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
9212
9421
|
editorOptions: {
|
|
9213
9422
|
onboarding: {
|
|
9214
9423
|
helpText: "Use to display an image or Figma image.",
|
|
@@ -9235,48 +9444,27 @@ var blocks = [
|
|
|
9235
9444
|
id: "block.links.property.image",
|
|
9236
9445
|
name: "Image",
|
|
9237
9446
|
type: "Image",
|
|
9238
|
-
options: {
|
|
9239
|
-
aspectRatio: "Landscape",
|
|
9240
|
-
allowCaption: false
|
|
9241
|
-
},
|
|
9447
|
+
options: { aspectRatio: "Landscape", allowCaption: false },
|
|
9242
9448
|
variantOptions: {
|
|
9243
|
-
iconOnTop: {
|
|
9244
|
-
|
|
9245
|
-
|
|
9246
|
-
},
|
|
9247
|
-
imageOnLeft: {
|
|
9248
|
-
width: "Medium"
|
|
9249
|
-
},
|
|
9250
|
-
iconOnLeft: {
|
|
9251
|
-
width: "Icon",
|
|
9252
|
-
aspectRatio: "Square"
|
|
9253
|
-
}
|
|
9449
|
+
iconOnTop: { width: "Icon", aspectRatio: "Square" },
|
|
9450
|
+
imageOnLeft: { width: "Medium" },
|
|
9451
|
+
iconOnLeft: { width: "Icon", aspectRatio: "Square" }
|
|
9254
9452
|
}
|
|
9255
9453
|
},
|
|
9256
9454
|
{
|
|
9257
9455
|
id: "block.links.property.title",
|
|
9258
9456
|
name: "Title",
|
|
9259
9457
|
type: "Text",
|
|
9260
|
-
options: {
|
|
9261
|
-
textStyle: "Title5",
|
|
9262
|
-
placeholder: "Add title"
|
|
9263
|
-
}
|
|
9458
|
+
options: { textStyle: "Title5", placeholder: "Add title", allowLineBreaks: false }
|
|
9264
9459
|
},
|
|
9265
9460
|
{
|
|
9266
9461
|
id: "block.links.property.description",
|
|
9267
9462
|
name: "Short description",
|
|
9268
9463
|
type: "Text",
|
|
9269
|
-
options: {
|
|
9270
|
-
textStyle: "Default",
|
|
9271
|
-
color: "NeutralFaded",
|
|
9272
|
-
placeholder: "Add description"
|
|
9273
|
-
}
|
|
9464
|
+
options: { textStyle: "Default", color: "NeutralFaded", placeholder: "Add description" }
|
|
9274
9465
|
}
|
|
9275
9466
|
],
|
|
9276
|
-
appearance: {
|
|
9277
|
-
isBordered: true,
|
|
9278
|
-
hasBackground: false
|
|
9279
|
-
},
|
|
9467
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
9280
9468
|
variants: [
|
|
9281
9469
|
{
|
|
9282
9470
|
id: "imageOnTop",
|
|
@@ -9373,11 +9561,7 @@ var blocks = [
|
|
|
9373
9561
|
},
|
|
9374
9562
|
behavior: {
|
|
9375
9563
|
dataType: "Item",
|
|
9376
|
-
items: {
|
|
9377
|
-
numberOfItems: -1,
|
|
9378
|
-
allowLinks: true,
|
|
9379
|
-
newItemLabel: "Add shortcut"
|
|
9380
|
-
}
|
|
9564
|
+
items: { numberOfItems: -1, allowLinks: true, newItemLabel: "Add shortcut" }
|
|
9381
9565
|
},
|
|
9382
9566
|
editorOptions: {
|
|
9383
9567
|
onboarding: {
|
|
@@ -9414,21 +9598,12 @@ var blocks = [
|
|
|
9414
9598
|
}
|
|
9415
9599
|
}
|
|
9416
9600
|
],
|
|
9417
|
-
appearance: {
|
|
9418
|
-
isBordered: true,
|
|
9419
|
-
hasBackground: false
|
|
9420
|
-
},
|
|
9601
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
9421
9602
|
variants: [
|
|
9422
9603
|
{
|
|
9423
9604
|
id: "default",
|
|
9424
9605
|
name: "Default",
|
|
9425
|
-
layout: {
|
|
9426
|
-
type: "Column",
|
|
9427
|
-
children: ["embed"],
|
|
9428
|
-
columnAlign: "Start",
|
|
9429
|
-
columnResizing: "Fill",
|
|
9430
|
-
gap: "Medium"
|
|
9431
|
-
},
|
|
9606
|
+
layout: { type: "Column", children: ["embed"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
9432
9607
|
maxColumns: 1,
|
|
9433
9608
|
defaultColumns: 1,
|
|
9434
9609
|
appearance: {}
|
|
@@ -9436,13 +9611,7 @@ var blocks = [
|
|
|
9436
9611
|
],
|
|
9437
9612
|
defaultVariantKey: "default"
|
|
9438
9613
|
},
|
|
9439
|
-
behavior: {
|
|
9440
|
-
dataType: "Item",
|
|
9441
|
-
items: {
|
|
9442
|
-
numberOfItems: 1,
|
|
9443
|
-
allowLinks: false
|
|
9444
|
-
}
|
|
9445
|
-
},
|
|
9614
|
+
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
9446
9615
|
editorOptions: {
|
|
9447
9616
|
onboarding: {
|
|
9448
9617
|
helpText: "Embed a Figma canvas or prototype to your documentation.",
|
|
@@ -9469,28 +9638,15 @@ var blocks = [
|
|
|
9469
9638
|
id: "embed",
|
|
9470
9639
|
name: "Storybook URL",
|
|
9471
9640
|
type: "Storybook",
|
|
9472
|
-
options: {
|
|
9473
|
-
allowCaption: true,
|
|
9474
|
-
allowResize: true,
|
|
9475
|
-
defaultHeight: 400
|
|
9476
|
-
}
|
|
9641
|
+
options: { allowCaption: true, allowResize: true, defaultHeight: 400 }
|
|
9477
9642
|
}
|
|
9478
9643
|
],
|
|
9479
|
-
appearance: {
|
|
9480
|
-
isBordered: true,
|
|
9481
|
-
hasBackground: false
|
|
9482
|
-
},
|
|
9644
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
9483
9645
|
variants: [
|
|
9484
9646
|
{
|
|
9485
9647
|
id: "default",
|
|
9486
9648
|
name: "Default",
|
|
9487
|
-
layout: {
|
|
9488
|
-
type: "Column",
|
|
9489
|
-
children: ["embed"],
|
|
9490
|
-
columnAlign: "Start",
|
|
9491
|
-
columnResizing: "Fill",
|
|
9492
|
-
gap: "Medium"
|
|
9493
|
-
},
|
|
9649
|
+
layout: { type: "Column", children: ["embed"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
9494
9650
|
maxColumns: 1,
|
|
9495
9651
|
defaultColumns: 1,
|
|
9496
9652
|
appearance: {}
|
|
@@ -9498,13 +9654,7 @@ var blocks = [
|
|
|
9498
9654
|
],
|
|
9499
9655
|
defaultVariantKey: "default"
|
|
9500
9656
|
},
|
|
9501
|
-
behavior: {
|
|
9502
|
-
dataType: "Item",
|
|
9503
|
-
items: {
|
|
9504
|
-
numberOfItems: 1,
|
|
9505
|
-
allowLinks: false
|
|
9506
|
-
}
|
|
9507
|
-
},
|
|
9657
|
+
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
9508
9658
|
editorOptions: {
|
|
9509
9659
|
onboarding: {
|
|
9510
9660
|
helpText: "Embed a Storybook story to your documentation.",
|
|
@@ -9539,21 +9689,12 @@ var blocks = [
|
|
|
9539
9689
|
}
|
|
9540
9690
|
}
|
|
9541
9691
|
],
|
|
9542
|
-
appearance: {
|
|
9543
|
-
isBordered: true,
|
|
9544
|
-
hasBackground: false
|
|
9545
|
-
},
|
|
9692
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
9546
9693
|
variants: [
|
|
9547
9694
|
{
|
|
9548
9695
|
id: "default",
|
|
9549
9696
|
name: "Default",
|
|
9550
|
-
layout: {
|
|
9551
|
-
type: "Column",
|
|
9552
|
-
children: ["embed"],
|
|
9553
|
-
columnAlign: "Start",
|
|
9554
|
-
columnResizing: "Fill",
|
|
9555
|
-
gap: "Medium"
|
|
9556
|
-
},
|
|
9697
|
+
layout: { type: "Column", children: ["embed"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
9557
9698
|
maxColumns: 1,
|
|
9558
9699
|
defaultColumns: 1,
|
|
9559
9700
|
appearance: {}
|
|
@@ -9561,13 +9702,7 @@ var blocks = [
|
|
|
9561
9702
|
],
|
|
9562
9703
|
defaultVariantKey: "default"
|
|
9563
9704
|
},
|
|
9564
|
-
behavior: {
|
|
9565
|
-
dataType: "Item",
|
|
9566
|
-
items: {
|
|
9567
|
-
numberOfItems: 1,
|
|
9568
|
-
allowLinks: false
|
|
9569
|
-
}
|
|
9570
|
-
},
|
|
9705
|
+
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
9571
9706
|
editorOptions: {
|
|
9572
9707
|
onboarding: {
|
|
9573
9708
|
helpText: "Embed a YouTube video to your documentation.",
|
|
@@ -9595,55 +9730,40 @@ var blocks = [
|
|
|
9595
9730
|
name: "Lottie URL",
|
|
9596
9731
|
type: "URL",
|
|
9597
9732
|
description: "Add URL to your Lottie animation file. We support .json and .lottie file extensions.",
|
|
9598
|
-
options: {
|
|
9599
|
-
urlValidationRegex: "^(http|https)://.*.(json|lottie)$"
|
|
9600
|
-
}
|
|
9733
|
+
options: { urlValidationRegex: "^(http|https)://.*.(json|lottie)$" }
|
|
9601
9734
|
},
|
|
9602
9735
|
{
|
|
9603
9736
|
id: "height",
|
|
9604
9737
|
name: "Height",
|
|
9605
9738
|
type: "Number",
|
|
9606
|
-
options: {
|
|
9607
|
-
defaultValue: 270
|
|
9608
|
-
}
|
|
9739
|
+
options: { defaultValue: 270 }
|
|
9609
9740
|
},
|
|
9610
9741
|
{
|
|
9611
9742
|
id: "width",
|
|
9612
9743
|
name: "Width",
|
|
9613
9744
|
type: "Number",
|
|
9614
|
-
options: {
|
|
9615
|
-
defaultValue: 400
|
|
9616
|
-
}
|
|
9745
|
+
options: { defaultValue: 400 }
|
|
9617
9746
|
},
|
|
9618
9747
|
{
|
|
9619
9748
|
id: "autoplay",
|
|
9620
9749
|
name: "Autoplay",
|
|
9621
9750
|
type: "Boolean",
|
|
9622
|
-
options: {
|
|
9623
|
-
defaultValue: true
|
|
9624
|
-
}
|
|
9751
|
+
options: { defaultValue: true }
|
|
9625
9752
|
},
|
|
9626
9753
|
{
|
|
9627
9754
|
id: "loop",
|
|
9628
9755
|
name: "Loop",
|
|
9629
9756
|
type: "Boolean",
|
|
9630
|
-
options: {
|
|
9631
|
-
defaultValue: true
|
|
9632
|
-
}
|
|
9757
|
+
options: { defaultValue: true }
|
|
9633
9758
|
},
|
|
9634
9759
|
{
|
|
9635
9760
|
id: "playerControls",
|
|
9636
9761
|
name: "Show player controls",
|
|
9637
9762
|
type: "Boolean",
|
|
9638
|
-
options: {
|
|
9639
|
-
defaultValue: true
|
|
9640
|
-
}
|
|
9763
|
+
options: { defaultValue: true }
|
|
9641
9764
|
}
|
|
9642
9765
|
],
|
|
9643
|
-
appearance: {
|
|
9644
|
-
isBordered: true,
|
|
9645
|
-
hasBackground: false
|
|
9646
|
-
},
|
|
9766
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
9647
9767
|
variants: [
|
|
9648
9768
|
{
|
|
9649
9769
|
id: "default",
|
|
@@ -9664,13 +9784,7 @@ var blocks = [
|
|
|
9664
9784
|
],
|
|
9665
9785
|
defaultVariantKey: "default"
|
|
9666
9786
|
},
|
|
9667
|
-
behavior: {
|
|
9668
|
-
dataType: "Item",
|
|
9669
|
-
items: {
|
|
9670
|
-
numberOfItems: 1,
|
|
9671
|
-
allowLinks: false
|
|
9672
|
-
}
|
|
9673
|
-
},
|
|
9787
|
+
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
9674
9788
|
editorOptions: {
|
|
9675
9789
|
onboarding: {
|
|
9676
9790
|
helpText: "Embed a Lottie animation to your documentation.",
|
|
@@ -9705,10 +9819,7 @@ var blocks = [
|
|
|
9705
9819
|
}
|
|
9706
9820
|
}
|
|
9707
9821
|
],
|
|
9708
|
-
appearance: {
|
|
9709
|
-
isBordered: true,
|
|
9710
|
-
hasBackground: false
|
|
9711
|
-
},
|
|
9822
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
9712
9823
|
variants: [
|
|
9713
9824
|
{
|
|
9714
9825
|
id: "default",
|
|
@@ -9727,13 +9838,7 @@ var blocks = [
|
|
|
9727
9838
|
],
|
|
9728
9839
|
defaultVariantKey: "default"
|
|
9729
9840
|
},
|
|
9730
|
-
behavior: {
|
|
9731
|
-
dataType: "Item",
|
|
9732
|
-
items: {
|
|
9733
|
-
numberOfItems: 1,
|
|
9734
|
-
allowLinks: false
|
|
9735
|
-
}
|
|
9736
|
-
},
|
|
9841
|
+
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
9737
9842
|
editorOptions: {
|
|
9738
9843
|
onboarding: {
|
|
9739
9844
|
helpText: "Embed any page to your documentation as an iframe.",
|
|
@@ -9760,15 +9865,10 @@ var blocks = [
|
|
|
9760
9865
|
id: "markdownUrl",
|
|
9761
9866
|
name: "Markdown URL",
|
|
9762
9867
|
type: "Markdown",
|
|
9763
|
-
options: {
|
|
9764
|
-
urlValidationRegex: "^(https?://)?(www\\.)?.+\\.md(\\?.*)?$"
|
|
9765
|
-
}
|
|
9868
|
+
options: { urlValidationRegex: "^(https?://)?(www\\.)?.+\\.md(\\?.*)?$" }
|
|
9766
9869
|
}
|
|
9767
9870
|
],
|
|
9768
|
-
appearance: {
|
|
9769
|
-
isBordered: true,
|
|
9770
|
-
hasBackground: false
|
|
9771
|
-
},
|
|
9871
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
9772
9872
|
variants: [
|
|
9773
9873
|
{
|
|
9774
9874
|
id: "plain",
|
|
@@ -9818,13 +9918,7 @@ var blocks = [
|
|
|
9818
9918
|
],
|
|
9819
9919
|
defaultVariantKey: "plain"
|
|
9820
9920
|
},
|
|
9821
|
-
behavior: {
|
|
9822
|
-
dataType: "Item",
|
|
9823
|
-
items: {
|
|
9824
|
-
numberOfItems: 1,
|
|
9825
|
-
allowLinks: false
|
|
9826
|
-
}
|
|
9827
|
-
},
|
|
9921
|
+
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
9828
9922
|
editorOptions: {
|
|
9829
9923
|
onboarding: {
|
|
9830
9924
|
helpText: "Render any markdown file directly inside of your documentation.",
|
|
@@ -9846,29 +9940,13 @@ var blocks = [
|
|
|
9846
9940
|
icon: "https://cdn-assets.supernova.io/blocks/icons/v2/table.svg",
|
|
9847
9941
|
searchKeywords: ["grid", "data", "spreadsheet", "api"],
|
|
9848
9942
|
item: {
|
|
9849
|
-
properties: [
|
|
9850
|
-
|
|
9851
|
-
id: "table",
|
|
9852
|
-
name: "Table",
|
|
9853
|
-
type: "Table",
|
|
9854
|
-
options: {}
|
|
9855
|
-
}
|
|
9856
|
-
],
|
|
9857
|
-
appearance: {
|
|
9858
|
-
isBordered: true,
|
|
9859
|
-
hasBackground: false
|
|
9860
|
-
},
|
|
9943
|
+
properties: [{ id: "table", name: "Table", type: "Table", options: {} }],
|
|
9944
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
9861
9945
|
variants: [
|
|
9862
9946
|
{
|
|
9863
9947
|
id: "default",
|
|
9864
9948
|
name: "Default",
|
|
9865
|
-
layout: {
|
|
9866
|
-
type: "Column",
|
|
9867
|
-
children: ["table"],
|
|
9868
|
-
columnAlign: "Start",
|
|
9869
|
-
columnResizing: "Fill",
|
|
9870
|
-
gap: "Medium"
|
|
9871
|
-
},
|
|
9949
|
+
layout: { type: "Column", children: ["table"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
9872
9950
|
maxColumns: 1,
|
|
9873
9951
|
defaultColumns: 1,
|
|
9874
9952
|
appearance: {}
|
|
@@ -9876,13 +9954,7 @@ var blocks = [
|
|
|
9876
9954
|
],
|
|
9877
9955
|
defaultVariantKey: "default"
|
|
9878
9956
|
},
|
|
9879
|
-
behavior: {
|
|
9880
|
-
dataType: "Item",
|
|
9881
|
-
items: {
|
|
9882
|
-
numberOfItems: 1,
|
|
9883
|
-
allowLinks: false
|
|
9884
|
-
}
|
|
9885
|
-
},
|
|
9957
|
+
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
9886
9958
|
editorOptions: {
|
|
9887
9959
|
onboarding: {
|
|
9888
9960
|
helpText: "Use for displaying data in a tabular format.",
|
|
@@ -9919,34 +9991,17 @@ var blocks = [
|
|
|
9919
9991
|
id: "tokens",
|
|
9920
9992
|
name: "Tokens",
|
|
9921
9993
|
type: "Token",
|
|
9922
|
-
options: {
|
|
9923
|
-
|
|
9924
|
-
defaultTheme: "none",
|
|
9925
|
-
defaultValuePreview: "Split"
|
|
9926
|
-
},
|
|
9927
|
-
variantOptions: {
|
|
9928
|
-
grid: {
|
|
9929
|
-
renderLayoutAs: "Grid"
|
|
9930
|
-
}
|
|
9931
|
-
}
|
|
9994
|
+
options: { renderLayoutAs: "List", defaultTheme: "none", defaultValuePreview: "Split" },
|
|
9995
|
+
variantOptions: { grid: { renderLayoutAs: "Grid" } }
|
|
9932
9996
|
}
|
|
9933
9997
|
],
|
|
9934
|
-
appearance: {
|
|
9935
|
-
isBordered: true,
|
|
9936
|
-
hasBackground: false
|
|
9937
|
-
},
|
|
9998
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
9938
9999
|
variants: [
|
|
9939
10000
|
{
|
|
9940
10001
|
id: "table",
|
|
9941
10002
|
name: "Table",
|
|
9942
10003
|
image: "https://cdn-assets.supernova.io/blocks/variants/tokens-table.svg",
|
|
9943
|
-
layout: {
|
|
9944
|
-
type: "Column",
|
|
9945
|
-
children: ["tokens"],
|
|
9946
|
-
columnAlign: "Start",
|
|
9947
|
-
columnResizing: "Fill",
|
|
9948
|
-
gap: "Medium"
|
|
9949
|
-
},
|
|
10004
|
+
layout: { type: "Column", children: ["tokens"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
9950
10005
|
maxColumns: 1,
|
|
9951
10006
|
defaultColumns: 1,
|
|
9952
10007
|
appearance: {}
|
|
@@ -9955,13 +10010,7 @@ var blocks = [
|
|
|
9955
10010
|
id: "grid",
|
|
9956
10011
|
name: "Grid",
|
|
9957
10012
|
image: "https://cdn-assets.supernova.io/blocks/variants/tokens-grid.svg",
|
|
9958
|
-
layout: {
|
|
9959
|
-
type: "Column",
|
|
9960
|
-
children: ["tokens"],
|
|
9961
|
-
columnAlign: "Start",
|
|
9962
|
-
columnResizing: "Fill",
|
|
9963
|
-
gap: "Medium"
|
|
9964
|
-
},
|
|
10013
|
+
layout: { type: "Column", children: ["tokens"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
9965
10014
|
maxColumns: 4,
|
|
9966
10015
|
defaultColumns: 1,
|
|
9967
10016
|
appearance: {}
|
|
@@ -9969,13 +10018,7 @@ var blocks = [
|
|
|
9969
10018
|
],
|
|
9970
10019
|
defaultVariantKey: "table"
|
|
9971
10020
|
},
|
|
9972
|
-
behavior: {
|
|
9973
|
-
dataType: "Token",
|
|
9974
|
-
entities: {
|
|
9975
|
-
selectionType: "EntityAndGroup",
|
|
9976
|
-
maxSelected: 0
|
|
9977
|
-
}
|
|
9978
|
-
},
|
|
10021
|
+
behavior: { dataType: "Token", entities: { selectionType: "EntityAndGroup", maxSelected: 0 } },
|
|
9979
10022
|
editorOptions: {
|
|
9980
10023
|
onboarding: {
|
|
9981
10024
|
helpText: "Show a group of design tokens. Automatically display all subgroups too.",
|
|
@@ -10002,50 +10045,26 @@ var blocks = [
|
|
|
10002
10045
|
id: "tokens",
|
|
10003
10046
|
name: "Tokens",
|
|
10004
10047
|
type: "Token",
|
|
10005
|
-
options: {
|
|
10006
|
-
allowedTypes: ["Color"],
|
|
10007
|
-
allowPropertySelection: false,
|
|
10008
|
-
allowThemeSelection: true
|
|
10009
|
-
}
|
|
10048
|
+
options: { allowedTypes: ["Color"], allowPropertySelection: false, allowThemeSelection: true }
|
|
10010
10049
|
}
|
|
10011
10050
|
],
|
|
10012
|
-
appearance: {
|
|
10013
|
-
isBordered: true,
|
|
10014
|
-
hasBackground: false
|
|
10015
|
-
},
|
|
10051
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
10016
10052
|
variants: [
|
|
10017
10053
|
{
|
|
10018
10054
|
id: "default",
|
|
10019
10055
|
name: "Default",
|
|
10020
10056
|
image: "https://cdn-assets.supernova.io/blocks/variants/tokens-color-stack.svg",
|
|
10021
|
-
layout: {
|
|
10022
|
-
type: "Column",
|
|
10023
|
-
children: ["tokens"],
|
|
10024
|
-
columnAlign: "Start",
|
|
10025
|
-
columnResizing: "Fill",
|
|
10026
|
-
gap: "Medium"
|
|
10027
|
-
},
|
|
10057
|
+
layout: { type: "Column", children: ["tokens"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
10028
10058
|
maxColumns: 2,
|
|
10029
10059
|
defaultColumns: 1,
|
|
10030
|
-
appearance: {
|
|
10031
|
-
isEditorPresentationDifferent: true
|
|
10032
|
-
}
|
|
10060
|
+
appearance: { isEditorPresentationDifferent: true }
|
|
10033
10061
|
}
|
|
10034
10062
|
],
|
|
10035
10063
|
defaultVariantKey: "default"
|
|
10036
10064
|
},
|
|
10037
|
-
behavior: {
|
|
10038
|
-
dataType: "Token",
|
|
10039
|
-
entities: {
|
|
10040
|
-
selectionType: "EntityAndGroup",
|
|
10041
|
-
maxSelected: 0
|
|
10042
|
-
}
|
|
10043
|
-
},
|
|
10065
|
+
behavior: { dataType: "Token", entities: { selectionType: "EntityAndGroup", maxSelected: 0 } },
|
|
10044
10066
|
editorOptions: {
|
|
10045
|
-
onboarding: {
|
|
10046
|
-
helpText: "The best way to display colors",
|
|
10047
|
-
documentationLink: "https://learn.supernova.io"
|
|
10048
|
-
}
|
|
10067
|
+
onboarding: { helpText: "The best way to display colors", documentationLink: "https://learn.supernova.io" }
|
|
10049
10068
|
},
|
|
10050
10069
|
appearance: {
|
|
10051
10070
|
isBordered: true,
|
|
@@ -10067,46 +10086,25 @@ var blocks = [
|
|
|
10067
10086
|
id: "tokens",
|
|
10068
10087
|
name: "Tokens",
|
|
10069
10088
|
type: "Token",
|
|
10070
|
-
options: {
|
|
10071
|
-
allowedTypes: ["Color"],
|
|
10072
|
-
allowPropertySelection: false,
|
|
10073
|
-
allowThemeSelection: false
|
|
10074
|
-
}
|
|
10089
|
+
options: { allowedTypes: ["Color"], allowPropertySelection: false, allowThemeSelection: false }
|
|
10075
10090
|
}
|
|
10076
10091
|
],
|
|
10077
|
-
appearance: {
|
|
10078
|
-
isBordered: true,
|
|
10079
|
-
hasBackground: false
|
|
10080
|
-
},
|
|
10092
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
10081
10093
|
variants: [
|
|
10082
10094
|
{
|
|
10083
10095
|
id: "default",
|
|
10084
10096
|
name: "Default",
|
|
10085
10097
|
image: "https://cdn-assets.supernova.io/blocks/variants/contrast-grid-large.svg",
|
|
10086
10098
|
description: "Visualize accessibility of your colors by automatically calculating their color contrast ratio.",
|
|
10087
|
-
layout: {
|
|
10088
|
-
type: "Column",
|
|
10089
|
-
children: ["tokens"],
|
|
10090
|
-
columnAlign: "Start",
|
|
10091
|
-
columnResizing: "Fill",
|
|
10092
|
-
gap: "Medium"
|
|
10093
|
-
},
|
|
10099
|
+
layout: { type: "Column", children: ["tokens"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
10094
10100
|
maxColumns: 1,
|
|
10095
10101
|
defaultColumns: 1,
|
|
10096
|
-
appearance: {
|
|
10097
|
-
isEditorPresentationDifferent: true
|
|
10098
|
-
}
|
|
10102
|
+
appearance: { isEditorPresentationDifferent: true }
|
|
10099
10103
|
}
|
|
10100
10104
|
],
|
|
10101
10105
|
defaultVariantKey: "default"
|
|
10102
10106
|
},
|
|
10103
|
-
behavior: {
|
|
10104
|
-
dataType: "Token",
|
|
10105
|
-
entities: {
|
|
10106
|
-
selectionType: "EntityAndGroup",
|
|
10107
|
-
maxSelected: 0
|
|
10108
|
-
}
|
|
10109
|
-
},
|
|
10107
|
+
behavior: { dataType: "Token", entities: { selectionType: "EntityAndGroup", maxSelected: 0 } },
|
|
10110
10108
|
editorOptions: {
|
|
10111
10109
|
onboarding: {
|
|
10112
10110
|
helpText: "Visualize accessibility of your colors by automatically calculating their color contrast ratio.",
|
|
@@ -10128,29 +10126,13 @@ var blocks = [
|
|
|
10128
10126
|
icon: "https://cdn-assets.supernova.io/blocks/icons/code.svg",
|
|
10129
10127
|
searchKeywords: ["code"],
|
|
10130
10128
|
item: {
|
|
10131
|
-
properties: [
|
|
10132
|
-
|
|
10133
|
-
id: "code",
|
|
10134
|
-
name: "Code",
|
|
10135
|
-
type: "Code",
|
|
10136
|
-
options: {}
|
|
10137
|
-
}
|
|
10138
|
-
],
|
|
10139
|
-
appearance: {
|
|
10140
|
-
isBordered: true,
|
|
10141
|
-
hasBackground: false
|
|
10142
|
-
},
|
|
10129
|
+
properties: [{ id: "code", name: "Code", type: "Code", options: {} }],
|
|
10130
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
10143
10131
|
variants: [
|
|
10144
10132
|
{
|
|
10145
10133
|
id: "default",
|
|
10146
10134
|
name: "Default",
|
|
10147
|
-
layout: {
|
|
10148
|
-
type: "Column",
|
|
10149
|
-
children: ["code"],
|
|
10150
|
-
columnAlign: "Start",
|
|
10151
|
-
columnResizing: "Fill",
|
|
10152
|
-
gap: "Medium"
|
|
10153
|
-
},
|
|
10135
|
+
layout: { type: "Column", children: ["code"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
10154
10136
|
maxColumns: 1,
|
|
10155
10137
|
defaultColumns: 1,
|
|
10156
10138
|
appearance: {}
|
|
@@ -10158,18 +10140,8 @@ var blocks = [
|
|
|
10158
10140
|
],
|
|
10159
10141
|
defaultVariantKey: "default"
|
|
10160
10142
|
},
|
|
10161
|
-
behavior: {
|
|
10162
|
-
|
|
10163
|
-
items: {
|
|
10164
|
-
numberOfItems: 1,
|
|
10165
|
-
allowLinks: false
|
|
10166
|
-
}
|
|
10167
|
-
},
|
|
10168
|
-
editorOptions: {
|
|
10169
|
-
onboarding: {
|
|
10170
|
-
helpText: "Code descriptor."
|
|
10171
|
-
}
|
|
10172
|
-
},
|
|
10143
|
+
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
10144
|
+
editorOptions: { onboarding: { helpText: "Code descriptor." } },
|
|
10173
10145
|
appearance: {
|
|
10174
10146
|
isBordered: false,
|
|
10175
10147
|
hasBackground: false,
|
|
@@ -10190,39 +10162,22 @@ var blocks = [
|
|
|
10190
10162
|
id: "code",
|
|
10191
10163
|
name: "Code",
|
|
10192
10164
|
type: "CodeSandbox",
|
|
10193
|
-
options: {
|
|
10194
|
-
renderLayoutAs: "PreviewOnTop"
|
|
10195
|
-
},
|
|
10165
|
+
options: { renderLayoutAs: "PreviewOnTop" },
|
|
10196
10166
|
variantOptions: {
|
|
10197
|
-
codeTop: {
|
|
10198
|
-
|
|
10199
|
-
}
|
|
10200
|
-
codeLeft: {
|
|
10201
|
-
renderLayoutAs: "PreviewOnRight"
|
|
10202
|
-
},
|
|
10203
|
-
codeRight: {
|
|
10204
|
-
renderLayoutAs: "PreviewOnLeft"
|
|
10205
|
-
}
|
|
10167
|
+
codeTop: { renderLayoutAs: "PreviewOnBottom" },
|
|
10168
|
+
codeLeft: { renderLayoutAs: "PreviewOnRight" },
|
|
10169
|
+
codeRight: { renderLayoutAs: "PreviewOnLeft" }
|
|
10206
10170
|
}
|
|
10207
10171
|
}
|
|
10208
10172
|
],
|
|
10209
|
-
appearance: {
|
|
10210
|
-
isBordered: true,
|
|
10211
|
-
hasBackground: false
|
|
10212
|
-
},
|
|
10173
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
10213
10174
|
variants: [
|
|
10214
10175
|
{
|
|
10215
10176
|
id: "codeBottom",
|
|
10216
10177
|
name: "Full width, code bottom",
|
|
10217
10178
|
image: "https://cdn-assets.supernova.io/blocks/variants/react-code-bottom.svg",
|
|
10218
10179
|
description: "Full-width block of code, with a preview on top.",
|
|
10219
|
-
layout: {
|
|
10220
|
-
type: "Column",
|
|
10221
|
-
children: ["code"],
|
|
10222
|
-
columnAlign: "Start",
|
|
10223
|
-
columnResizing: "Fill",
|
|
10224
|
-
gap: "Medium"
|
|
10225
|
-
},
|
|
10180
|
+
layout: { type: "Column", children: ["code"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
10226
10181
|
maxColumns: 1,
|
|
10227
10182
|
defaultColumns: 1,
|
|
10228
10183
|
appearance: {}
|
|
@@ -10232,13 +10187,7 @@ var blocks = [
|
|
|
10232
10187
|
name: "Full width, code top",
|
|
10233
10188
|
image: "https://cdn-assets.supernova.io/blocks/variants/react-code-top.svg",
|
|
10234
10189
|
description: "Full-width block of code, with a preview on bottom.",
|
|
10235
|
-
layout: {
|
|
10236
|
-
type: "Column",
|
|
10237
|
-
children: ["code"],
|
|
10238
|
-
columnAlign: "Start",
|
|
10239
|
-
columnResizing: "Fill",
|
|
10240
|
-
gap: "Medium"
|
|
10241
|
-
},
|
|
10190
|
+
layout: { type: "Column", children: ["code"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
10242
10191
|
maxColumns: 1,
|
|
10243
10192
|
defaultColumns: 1,
|
|
10244
10193
|
appearance: {}
|
|
@@ -10248,13 +10197,7 @@ var blocks = [
|
|
|
10248
10197
|
name: "Side by side, code left",
|
|
10249
10198
|
image: "https://cdn-assets.supernova.io/blocks/variants/react-code-left.svg",
|
|
10250
10199
|
description: "Side-by-side preview and code, with code on the left.",
|
|
10251
|
-
layout: {
|
|
10252
|
-
type: "Column",
|
|
10253
|
-
children: ["code"],
|
|
10254
|
-
columnAlign: "Start",
|
|
10255
|
-
columnResizing: "Fill",
|
|
10256
|
-
gap: "Medium"
|
|
10257
|
-
},
|
|
10200
|
+
layout: { type: "Column", children: ["code"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
10258
10201
|
maxColumns: 1,
|
|
10259
10202
|
defaultColumns: 1,
|
|
10260
10203
|
appearance: {}
|
|
@@ -10264,13 +10207,7 @@ var blocks = [
|
|
|
10264
10207
|
name: "Side by side, code right",
|
|
10265
10208
|
image: "https://cdn-assets.supernova.io/blocks/variants/react-code-right.svg",
|
|
10266
10209
|
description: "Side-by-side preview and code, with code on the right.",
|
|
10267
|
-
layout: {
|
|
10268
|
-
type: "Column",
|
|
10269
|
-
children: ["code"],
|
|
10270
|
-
columnAlign: "Start",
|
|
10271
|
-
columnResizing: "Fill",
|
|
10272
|
-
gap: "Medium"
|
|
10273
|
-
},
|
|
10210
|
+
layout: { type: "Column", children: ["code"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
10274
10211
|
maxColumns: 1,
|
|
10275
10212
|
defaultColumns: 1,
|
|
10276
10213
|
appearance: {}
|
|
@@ -10278,13 +10215,7 @@ var blocks = [
|
|
|
10278
10215
|
],
|
|
10279
10216
|
defaultVariantKey: "codeBottom"
|
|
10280
10217
|
},
|
|
10281
|
-
behavior: {
|
|
10282
|
-
dataType: "Item",
|
|
10283
|
-
items: {
|
|
10284
|
-
numberOfItems: 1,
|
|
10285
|
-
allowLinks: false
|
|
10286
|
-
}
|
|
10287
|
-
},
|
|
10218
|
+
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
10288
10219
|
editorOptions: {
|
|
10289
10220
|
onboarding: {
|
|
10290
10221
|
helpText: "Display rendered code example",
|
|
@@ -10300,37 +10231,21 @@ var blocks = [
|
|
|
10300
10231
|
},
|
|
10301
10232
|
{
|
|
10302
10233
|
id: "io.supernova.block.assets",
|
|
10303
|
-
name: "Assets",
|
|
10304
|
-
description: "Display icons or illustrations",
|
|
10305
|
-
category: "Assets",
|
|
10306
|
-
icon: "https://cdn-assets.supernova.io/blocks/icons/v2/assets.svg",
|
|
10307
|
-
searchKeywords: ["icons", "illustrations", "grid", "svg", "logos"],
|
|
10308
|
-
item: {
|
|
10309
|
-
properties: [
|
|
10310
|
-
|
|
10311
|
-
id: "assets",
|
|
10312
|
-
name: "Assets",
|
|
10313
|
-
type: "Asset",
|
|
10314
|
-
options: {}
|
|
10315
|
-
}
|
|
10316
|
-
],
|
|
10317
|
-
appearance: {
|
|
10318
|
-
isBordered: true,
|
|
10319
|
-
hasBackground: false
|
|
10320
|
-
},
|
|
10234
|
+
name: "Assets",
|
|
10235
|
+
description: "Display icons or illustrations",
|
|
10236
|
+
category: "Assets",
|
|
10237
|
+
icon: "https://cdn-assets.supernova.io/blocks/icons/v2/assets.svg",
|
|
10238
|
+
searchKeywords: ["icons", "illustrations", "grid", "svg", "logos"],
|
|
10239
|
+
item: {
|
|
10240
|
+
properties: [{ id: "assets", name: "Assets", type: "Asset", options: {} }],
|
|
10241
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
10321
10242
|
variants: [
|
|
10322
10243
|
{
|
|
10323
10244
|
id: "default",
|
|
10324
10245
|
name: "Simple grid",
|
|
10325
10246
|
image: "https://cdn-assets.supernova.io/blocks/variants/assets-simple-grid.svg",
|
|
10326
10247
|
description: "A simple grid of assets. Both the title and description are displayed below the preview.",
|
|
10327
|
-
layout: {
|
|
10328
|
-
type: "Column",
|
|
10329
|
-
children: ["assets"],
|
|
10330
|
-
columnAlign: "Start",
|
|
10331
|
-
columnResizing: "Fill",
|
|
10332
|
-
gap: "Medium"
|
|
10333
|
-
},
|
|
10248
|
+
layout: { type: "Column", children: ["assets"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
10334
10249
|
maxColumns: 8,
|
|
10335
10250
|
defaultColumns: 1,
|
|
10336
10251
|
appearance: {}
|
|
@@ -10340,47 +10255,25 @@ var blocks = [
|
|
|
10340
10255
|
name: "Square grid",
|
|
10341
10256
|
image: "https://cdn-assets.supernova.io/blocks/variants/assets-square-grid.svg",
|
|
10342
10257
|
description: "Bordered square grid tailored for displaying icon assets. Only the title is displayed.",
|
|
10343
|
-
layout: {
|
|
10344
|
-
type: "Column",
|
|
10345
|
-
children: ["assets"],
|
|
10346
|
-
columnAlign: "Start",
|
|
10347
|
-
columnResizing: "Fill",
|
|
10348
|
-
gap: "Medium"
|
|
10349
|
-
},
|
|
10258
|
+
layout: { type: "Column", children: ["assets"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
10350
10259
|
maxColumns: 8,
|
|
10351
10260
|
defaultColumns: 1,
|
|
10352
|
-
appearance: {
|
|
10353
|
-
isEditorPresentationDifferent: true
|
|
10354
|
-
}
|
|
10261
|
+
appearance: { isEditorPresentationDifferent: true }
|
|
10355
10262
|
},
|
|
10356
10263
|
{
|
|
10357
10264
|
id: "borderless-grid",
|
|
10358
10265
|
name: "Borderless grid",
|
|
10359
10266
|
image: "https://cdn-assets.supernova.io/blocks/variants/assets-borderless-grid.svg",
|
|
10360
10267
|
description: "Borderless grid, perfect for displaying assets of the same height. Only the title is visible.",
|
|
10361
|
-
layout: {
|
|
10362
|
-
type: "Column",
|
|
10363
|
-
children: ["assets"],
|
|
10364
|
-
columnAlign: "Start",
|
|
10365
|
-
columnResizing: "Fill",
|
|
10366
|
-
gap: "Medium"
|
|
10367
|
-
},
|
|
10268
|
+
layout: { type: "Column", children: ["assets"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
10368
10269
|
maxColumns: 8,
|
|
10369
10270
|
defaultColumns: 1,
|
|
10370
|
-
appearance: {
|
|
10371
|
-
isEditorPresentationDifferent: true
|
|
10372
|
-
}
|
|
10271
|
+
appearance: { isEditorPresentationDifferent: true }
|
|
10373
10272
|
}
|
|
10374
10273
|
],
|
|
10375
10274
|
defaultVariantKey: "default"
|
|
10376
10275
|
},
|
|
10377
|
-
behavior: {
|
|
10378
|
-
dataType: "Asset",
|
|
10379
|
-
entities: {
|
|
10380
|
-
selectionType: "EntityAndGroup",
|
|
10381
|
-
maxSelected: 0
|
|
10382
|
-
}
|
|
10383
|
-
},
|
|
10276
|
+
behavior: { dataType: "Asset", entities: { selectionType: "EntityAndGroup", maxSelected: 0 } },
|
|
10384
10277
|
editorOptions: {
|
|
10385
10278
|
onboarding: {
|
|
10386
10279
|
helpText: "Display a grid of icons or illustrations.",
|
|
@@ -10410,10 +10303,7 @@ var blocks = [
|
|
|
10410
10303
|
options: {}
|
|
10411
10304
|
}
|
|
10412
10305
|
],
|
|
10413
|
-
appearance: {
|
|
10414
|
-
isBordered: true,
|
|
10415
|
-
hasBackground: false
|
|
10416
|
-
},
|
|
10306
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
10417
10307
|
variants: [
|
|
10418
10308
|
{
|
|
10419
10309
|
id: "bordered",
|
|
@@ -10450,13 +10340,7 @@ var blocks = [
|
|
|
10450
10340
|
],
|
|
10451
10341
|
defaultVariantKey: "bordered"
|
|
10452
10342
|
},
|
|
10453
|
-
behavior: {
|
|
10454
|
-
dataType: "FigmaNode",
|
|
10455
|
-
entities: {
|
|
10456
|
-
selectionType: "Entity",
|
|
10457
|
-
maxSelected: 0
|
|
10458
|
-
}
|
|
10459
|
-
},
|
|
10343
|
+
behavior: { dataType: "FigmaNode", entities: { selectionType: "Entity", maxSelected: 0 } },
|
|
10460
10344
|
editorOptions: {
|
|
10461
10345
|
onboarding: {
|
|
10462
10346
|
helpText: "Generate images from Figma layers",
|
|
@@ -10479,23 +10363,14 @@ var blocks = [
|
|
|
10479
10363
|
searchKeywords: ["version", "changelog", "history"],
|
|
10480
10364
|
item: {
|
|
10481
10365
|
properties: [],
|
|
10482
|
-
appearance: {
|
|
10483
|
-
isBordered: true,
|
|
10484
|
-
hasBackground: false
|
|
10485
|
-
},
|
|
10366
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
10486
10367
|
variants: [
|
|
10487
10368
|
{
|
|
10488
10369
|
id: "default",
|
|
10489
10370
|
name: "Default",
|
|
10490
10371
|
image: "https://cdn-assets.supernova.io/blocks/variants/release-notes-2.svg",
|
|
10491
10372
|
description: "Show formatted release notes from all previously released versions.",
|
|
10492
|
-
layout: {
|
|
10493
|
-
type: "Column",
|
|
10494
|
-
children: [],
|
|
10495
|
-
columnAlign: "Start",
|
|
10496
|
-
columnResizing: "Fill",
|
|
10497
|
-
gap: "Medium"
|
|
10498
|
-
},
|
|
10373
|
+
layout: { type: "Column", children: [], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
|
|
10499
10374
|
maxColumns: 1,
|
|
10500
10375
|
defaultColumns: 1,
|
|
10501
10376
|
appearance: {}
|
|
@@ -10503,13 +10378,7 @@ var blocks = [
|
|
|
10503
10378
|
],
|
|
10504
10379
|
defaultVariantKey: "default"
|
|
10505
10380
|
},
|
|
10506
|
-
behavior: {
|
|
10507
|
-
dataType: "Item",
|
|
10508
|
-
items: {
|
|
10509
|
-
numberOfItems: 1,
|
|
10510
|
-
allowLinks: false
|
|
10511
|
-
}
|
|
10512
|
-
},
|
|
10381
|
+
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
10513
10382
|
editorOptions: {
|
|
10514
10383
|
onboarding: {
|
|
10515
10384
|
helpText: "Show formatted release notes from all previously released versions."
|
|
@@ -10535,31 +10404,22 @@ var blocks = [
|
|
|
10535
10404
|
id: "components",
|
|
10536
10405
|
name: "Components",
|
|
10537
10406
|
type: "Component",
|
|
10538
|
-
options: {
|
|
10539
|
-
renderLayoutAs: "List"
|
|
10540
|
-
}
|
|
10407
|
+
options: { renderLayoutAs: "List" }
|
|
10541
10408
|
},
|
|
10542
10409
|
{
|
|
10543
10410
|
id: "title",
|
|
10544
10411
|
name: "Title",
|
|
10545
10412
|
type: "Text",
|
|
10546
|
-
options: {
|
|
10547
|
-
defaultValue: "Component checklist"
|
|
10548
|
-
}
|
|
10413
|
+
options: { defaultValue: "Component checklist" }
|
|
10549
10414
|
},
|
|
10550
10415
|
{
|
|
10551
10416
|
id: "showDescription",
|
|
10552
10417
|
name: "Show description",
|
|
10553
10418
|
type: "Boolean",
|
|
10554
|
-
options: {
|
|
10555
|
-
defaultValue: true
|
|
10556
|
-
}
|
|
10419
|
+
options: { defaultValue: true }
|
|
10557
10420
|
}
|
|
10558
10421
|
],
|
|
10559
|
-
appearance: {
|
|
10560
|
-
isBordered: true,
|
|
10561
|
-
hasBackground: false
|
|
10562
|
-
},
|
|
10422
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
10563
10423
|
variants: [
|
|
10564
10424
|
{
|
|
10565
10425
|
id: "default",
|
|
@@ -10574,20 +10434,12 @@ var blocks = [
|
|
|
10574
10434
|
},
|
|
10575
10435
|
maxColumns: 1,
|
|
10576
10436
|
defaultColumns: 1,
|
|
10577
|
-
appearance: {
|
|
10578
|
-
isEditorPresentationDifferent: true
|
|
10579
|
-
}
|
|
10437
|
+
appearance: { isEditorPresentationDifferent: true }
|
|
10580
10438
|
}
|
|
10581
10439
|
],
|
|
10582
10440
|
defaultVariantKey: "default"
|
|
10583
10441
|
},
|
|
10584
|
-
behavior: {
|
|
10585
|
-
dataType: "Component",
|
|
10586
|
-
entities: {
|
|
10587
|
-
selectionType: "Entity",
|
|
10588
|
-
maxSelected: 1
|
|
10589
|
-
}
|
|
10590
|
-
},
|
|
10442
|
+
behavior: { dataType: "Component", entities: { selectionType: "Entity", maxSelected: 1 } },
|
|
10591
10443
|
editorOptions: {
|
|
10592
10444
|
onboarding: {
|
|
10593
10445
|
helpText: "Highlight specific component properties",
|
|
@@ -10614,23 +10466,16 @@ var blocks = [
|
|
|
10614
10466
|
id: "components",
|
|
10615
10467
|
name: "Components",
|
|
10616
10468
|
type: "Component",
|
|
10617
|
-
options: {
|
|
10618
|
-
renderLayoutAs: "Table"
|
|
10619
|
-
}
|
|
10469
|
+
options: { renderLayoutAs: "Table" }
|
|
10620
10470
|
},
|
|
10621
10471
|
{
|
|
10622
10472
|
id: "showLastUpdatedColumn",
|
|
10623
10473
|
name: "Show last updated column",
|
|
10624
10474
|
type: "Boolean",
|
|
10625
|
-
options: {
|
|
10626
|
-
defaultValue: true
|
|
10627
|
-
}
|
|
10475
|
+
options: { defaultValue: true }
|
|
10628
10476
|
}
|
|
10629
10477
|
],
|
|
10630
|
-
appearance: {
|
|
10631
|
-
isBordered: true,
|
|
10632
|
-
hasBackground: false
|
|
10633
|
-
},
|
|
10478
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
10634
10479
|
variants: [
|
|
10635
10480
|
{
|
|
10636
10481
|
id: "default",
|
|
@@ -10645,20 +10490,12 @@ var blocks = [
|
|
|
10645
10490
|
},
|
|
10646
10491
|
maxColumns: 1,
|
|
10647
10492
|
defaultColumns: 1,
|
|
10648
|
-
appearance: {
|
|
10649
|
-
isEditorPresentationDifferent: true
|
|
10650
|
-
}
|
|
10493
|
+
appearance: { isEditorPresentationDifferent: true }
|
|
10651
10494
|
}
|
|
10652
10495
|
],
|
|
10653
10496
|
defaultVariantKey: "default"
|
|
10654
10497
|
},
|
|
10655
|
-
behavior: {
|
|
10656
|
-
dataType: "Component",
|
|
10657
|
-
entities: {
|
|
10658
|
-
selectionType: "Group",
|
|
10659
|
-
maxSelected: 1
|
|
10660
|
-
}
|
|
10661
|
-
},
|
|
10498
|
+
behavior: { dataType: "Component", entities: { selectionType: "Group", maxSelected: 1 } },
|
|
10662
10499
|
editorOptions: {
|
|
10663
10500
|
onboarding: {
|
|
10664
10501
|
helpText: "Show an overview of all your components",
|
|
@@ -10685,15 +10522,10 @@ var blocks = [
|
|
|
10685
10522
|
id: "components",
|
|
10686
10523
|
name: "Components",
|
|
10687
10524
|
type: "Component",
|
|
10688
|
-
options: {
|
|
10689
|
-
renderLayoutAs: "List"
|
|
10690
|
-
}
|
|
10525
|
+
options: { renderLayoutAs: "List" }
|
|
10691
10526
|
}
|
|
10692
10527
|
],
|
|
10693
|
-
appearance: {
|
|
10694
|
-
isBordered: true,
|
|
10695
|
-
hasBackground: false
|
|
10696
|
-
},
|
|
10528
|
+
appearance: { isBordered: true, hasBackground: false },
|
|
10697
10529
|
variants: [
|
|
10698
10530
|
{
|
|
10699
10531
|
id: "default",
|
|
@@ -10708,20 +10540,12 @@ var blocks = [
|
|
|
10708
10540
|
},
|
|
10709
10541
|
maxColumns: 1,
|
|
10710
10542
|
defaultColumns: 1,
|
|
10711
|
-
appearance: {
|
|
10712
|
-
isEditorPresentationDifferent: true
|
|
10713
|
-
}
|
|
10543
|
+
appearance: { isEditorPresentationDifferent: true }
|
|
10714
10544
|
}
|
|
10715
10545
|
],
|
|
10716
10546
|
defaultVariantKey: "default"
|
|
10717
10547
|
},
|
|
10718
|
-
behavior: {
|
|
10719
|
-
dataType: "Component",
|
|
10720
|
-
entities: {
|
|
10721
|
-
selectionType: "Entity",
|
|
10722
|
-
maxSelected: 1
|
|
10723
|
-
}
|
|
10724
|
-
},
|
|
10548
|
+
behavior: { dataType: "Component", entities: { selectionType: "Entity", maxSelected: 1 } },
|
|
10725
10549
|
editorOptions: {
|
|
10726
10550
|
onboarding: {
|
|
10727
10551
|
helpText: "Show component health and additional attributes",
|
|
@@ -10734,179 +10558,6 @@ var blocks = [
|
|
|
10734
10558
|
isEditorPresentationDifferent: false,
|
|
10735
10559
|
showBlockHeaderInEditor: false
|
|
10736
10560
|
}
|
|
10737
|
-
},
|
|
10738
|
-
{
|
|
10739
|
-
id: "io.supernova.block.do-dont-guidelines",
|
|
10740
|
-
name: "Guidelines",
|
|
10741
|
-
description: "Do/Don't rules and best practices.",
|
|
10742
|
-
category: "Guidelines",
|
|
10743
|
-
icon: "https://cdn-assets.supernova.io/blocks/icons/guidelines.svg",
|
|
10744
|
-
searchKeywords: ["dont", "caution", "rules"],
|
|
10745
|
-
item: {
|
|
10746
|
-
properties: [
|
|
10747
|
-
{
|
|
10748
|
-
id: "block.do-dont-guidelines.property.image",
|
|
10749
|
-
name: "Image",
|
|
10750
|
-
type: "Image",
|
|
10751
|
-
options: {
|
|
10752
|
-
allowCaption: false
|
|
10753
|
-
}
|
|
10754
|
-
},
|
|
10755
|
-
{
|
|
10756
|
-
id: "block.do-dont-guidelines.property.type",
|
|
10757
|
-
name: "Type",
|
|
10758
|
-
type: "SingleSelect",
|
|
10759
|
-
options: {
|
|
10760
|
-
defaultChoice: "do",
|
|
10761
|
-
choices: [
|
|
10762
|
-
{
|
|
10763
|
-
value: "do",
|
|
10764
|
-
name: "Do",
|
|
10765
|
-
color: "Green",
|
|
10766
|
-
icon: "CheckCircle"
|
|
10767
|
-
},
|
|
10768
|
-
{
|
|
10769
|
-
value: "dont",
|
|
10770
|
-
name: "Don't",
|
|
10771
|
-
color: "Red",
|
|
10772
|
-
icon: "CrossCircle"
|
|
10773
|
-
},
|
|
10774
|
-
{
|
|
10775
|
-
value: "caution",
|
|
10776
|
-
name: "Caution",
|
|
10777
|
-
color: "Orange",
|
|
10778
|
-
icon: "Alert"
|
|
10779
|
-
}
|
|
10780
|
-
],
|
|
10781
|
-
singleSelectStyle: "ToggleButton"
|
|
10782
|
-
}
|
|
10783
|
-
},
|
|
10784
|
-
{
|
|
10785
|
-
id: "block.do-dont-guidelines.property.description",
|
|
10786
|
-
name: "Description",
|
|
10787
|
-
type: "RichTextEditor",
|
|
10788
|
-
options: {
|
|
10789
|
-
allowedInlineStyles: ["Bold", "Italic", "Strikethrough", "UL", "OL", "Link", "InlineCode"],
|
|
10790
|
-
allowMultiline: true,
|
|
10791
|
-
placeholder: "Add description"
|
|
10792
|
-
}
|
|
10793
|
-
}
|
|
10794
|
-
],
|
|
10795
|
-
appearance: {
|
|
10796
|
-
isBordered: true,
|
|
10797
|
-
hasBackground: false
|
|
10798
|
-
},
|
|
10799
|
-
variants: [
|
|
10800
|
-
{
|
|
10801
|
-
id: "simple",
|
|
10802
|
-
name: "Simple",
|
|
10803
|
-
image: "https://cdn-assets.supernova.io/blocks/variants/guidelines-simple.svg",
|
|
10804
|
-
description: "With a minimalist badge at the top, this design is great for content guidelines.",
|
|
10805
|
-
layout: {
|
|
10806
|
-
type: "Column",
|
|
10807
|
-
children: [
|
|
10808
|
-
"block.do-dont-guidelines.property.type",
|
|
10809
|
-
"block.do-dont-guidelines.property.image",
|
|
10810
|
-
"block.do-dont-guidelines.property.description"
|
|
10811
|
-
],
|
|
10812
|
-
columnAlign: "Start",
|
|
10813
|
-
columnResizing: "Fill",
|
|
10814
|
-
gap: "Medium"
|
|
10815
|
-
},
|
|
10816
|
-
maxColumns: 3,
|
|
10817
|
-
defaultColumns: 2,
|
|
10818
|
-
appearance: {}
|
|
10819
|
-
},
|
|
10820
|
-
{
|
|
10821
|
-
id: "prominent",
|
|
10822
|
-
name: "Prominent",
|
|
10823
|
-
image: "https://cdn-assets.supernova.io/blocks/variants/guidelines-prominent.svg",
|
|
10824
|
-
description: "Recommended when you need guidelines that need to stand out.",
|
|
10825
|
-
layout: {
|
|
10826
|
-
type: "Column",
|
|
10827
|
-
children: [
|
|
10828
|
-
"block.do-dont-guidelines.property.type",
|
|
10829
|
-
"block.do-dont-guidelines.property.image",
|
|
10830
|
-
"block.do-dont-guidelines.property.description"
|
|
10831
|
-
],
|
|
10832
|
-
columnAlign: "Start",
|
|
10833
|
-
columnResizing: "Fill",
|
|
10834
|
-
gap: "Medium"
|
|
10835
|
-
},
|
|
10836
|
-
maxColumns: 3,
|
|
10837
|
-
defaultColumns: 1,
|
|
10838
|
-
appearance: {
|
|
10839
|
-
isEditorPresentationDifferent: true
|
|
10840
|
-
}
|
|
10841
|
-
},
|
|
10842
|
-
{
|
|
10843
|
-
id: "contained",
|
|
10844
|
-
name: "Contained",
|
|
10845
|
-
image: "https://cdn-assets.supernova.io/blocks/variants/guidelines-contained.svg",
|
|
10846
|
-
description: "Perfect for component guidelines with spacious images.",
|
|
10847
|
-
layout: {
|
|
10848
|
-
type: "Column",
|
|
10849
|
-
children: [
|
|
10850
|
-
"block.do-dont-guidelines.property.type",
|
|
10851
|
-
"block.do-dont-guidelines.property.image",
|
|
10852
|
-
"block.do-dont-guidelines.property.description"
|
|
10853
|
-
],
|
|
10854
|
-
columnAlign: "Start",
|
|
10855
|
-
columnResizing: "Fill",
|
|
10856
|
-
gap: "Medium"
|
|
10857
|
-
},
|
|
10858
|
-
maxColumns: 3,
|
|
10859
|
-
defaultColumns: 1,
|
|
10860
|
-
appearance: {
|
|
10861
|
-
isEditorPresentationDifferent: true
|
|
10862
|
-
}
|
|
10863
|
-
},
|
|
10864
|
-
{
|
|
10865
|
-
id: "side-border",
|
|
10866
|
-
name: "Side border",
|
|
10867
|
-
image: "https://cdn-assets.supernova.io/blocks/variants/guidelines-side-border.svg",
|
|
10868
|
-
description: "The side border makes this variant well-suited for longer text guidelines.",
|
|
10869
|
-
layout: {
|
|
10870
|
-
type: "Column",
|
|
10871
|
-
children: [
|
|
10872
|
-
"block.do-dont-guidelines.property.type",
|
|
10873
|
-
"block.do-dont-guidelines.property.image",
|
|
10874
|
-
"block.do-dont-guidelines.property.description"
|
|
10875
|
-
],
|
|
10876
|
-
columnAlign: "Start",
|
|
10877
|
-
columnResizing: "Fill",
|
|
10878
|
-
gap: "Medium"
|
|
10879
|
-
},
|
|
10880
|
-
maxColumns: 3,
|
|
10881
|
-
defaultColumns: 1,
|
|
10882
|
-
appearance: {
|
|
10883
|
-
isEditorPresentationDifferent: true
|
|
10884
|
-
}
|
|
10885
|
-
}
|
|
10886
|
-
],
|
|
10887
|
-
defaultVariantKey: "simple"
|
|
10888
|
-
},
|
|
10889
|
-
behavior: {
|
|
10890
|
-
dataType: "Item",
|
|
10891
|
-
items: {
|
|
10892
|
-
numberOfItems: -1,
|
|
10893
|
-
allowLinks: false,
|
|
10894
|
-
newItemLabel: "Add guideline"
|
|
10895
|
-
}
|
|
10896
|
-
},
|
|
10897
|
-
editorOptions: {
|
|
10898
|
-
onboarding: {
|
|
10899
|
-
helpText: "Use link block to document your Do/Don't guidelines for your components and patterns.",
|
|
10900
|
-
documentationLink: "https://learn.supernova.io/latest/documentation/types-of-blocks/links/shortcuts/general-jVfNifo4"
|
|
10901
|
-
},
|
|
10902
|
-
newItemLabel: "Add guideline"
|
|
10903
|
-
},
|
|
10904
|
-
appearance: {
|
|
10905
|
-
isBordered: true,
|
|
10906
|
-
hasBackground: false,
|
|
10907
|
-
isEditorPresentationDifferent: false,
|
|
10908
|
-
showBlockHeaderInEditor: false
|
|
10909
|
-
}
|
|
10910
10561
|
}
|
|
10911
10562
|
];
|
|
10912
10563
|
|
|
@@ -11882,5 +11533,16 @@ var BackendVersionRoomYDoc = class {
|
|
|
11882
11533
|
|
|
11883
11534
|
|
|
11884
11535
|
|
|
11885
|
-
exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.DTOAppBootstrapDataQuery = DTOAppBootstrapDataQuery; exports.DTOAppBootstrapDataResponse = DTOAppBootstrapDataResponse; exports.DTOAssetRenderConfiguration = DTOAssetRenderConfiguration; exports.DTOBrand = DTOBrand; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCreateBrandInput = DTOCreateBrandInput; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateElementPropertyDefinitionInputV2 = DTOCreateElementPropertyDefinitionInputV2; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODataSource = DTODataSource; exports.DTODataSourceCreationResponse = DTODataSourceCreationResponse; exports.DTODataSourceFigma = DTODataSourceFigma; exports.DTODataSourceFigmaCloud = DTODataSourceFigmaCloud; exports.DTODataSourceFigmaVariablesPlugin = DTODataSourceFigmaVariablesPlugin; exports.DTODataSourceTokenStudio = DTODataSourceTokenStudio; exports.DTODataSourcesListResponse = DTODataSourcesListResponse; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODeleteElementPropertyDefinitionInputV2 = DTODeleteElementPropertyDefinitionInputV2; exports.DTODesignElementsDataDiffResponse = DTODesignElementsDataDiffResponse; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemCreateInput = DTODesignSystemCreateInput; exports.DTODesignSystemCreateResponse = DTODesignSystemCreateResponse; exports.DTODesignSystemMember = DTODesignSystemMember; exports.DTODesignSystemMemberListResponse = DTODesignSystemMemberListResponse; exports.DTODesignSystemMembersUpdatePayload = DTODesignSystemMembersUpdatePayload; exports.DTODesignSystemMembersUpdateResponse = DTODesignSystemMembersUpdateResponse; exports.DTODesignSystemUpdateInput = DTODesignSystemUpdateInput; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODesignSystemsListResponse = DTODesignSystemsListResponse; exports.DTODiffCountBase = DTODiffCountBase; exports.DTODocumentationDraftChangeType = DTODocumentationDraftChangeType; exports.DTODocumentationDraftState = DTODocumentationDraftState; exports.DTODocumentationDraftStateCreated = DTODocumentationDraftStateCreated; exports.DTODocumentationDraftStateDeleted = DTODocumentationDraftStateDeleted; exports.DTODocumentationDraftStateUpdated = DTODocumentationDraftStateUpdated; exports.DTODocumentationGroupApprovalState = DTODocumentationGroupApprovalState; 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.DTODocumentationGroupRestoreActionInput = DTODocumentationGroupRestoreActionInput; exports.DTODocumentationGroupRestoreActionOutput = DTODocumentationGroupRestoreActionOutput; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageApprovalState = DTODocumentationPageApprovalState; exports.DTODocumentationPageApprovalStateChangeActionInput = DTODocumentationPageApprovalStateChangeActionInput; exports.DTODocumentationPageApprovalStateChangeActionOutput = DTODocumentationPageApprovalStateChangeActionOutput; exports.DTODocumentationPageApprovalStateChangeInput = DTODocumentationPageApprovalStateChangeInput; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; 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.DTODocumentationPageRestoreActionInput = DTODocumentationPageRestoreActionInput; exports.DTODocumentationPageRestoreActionOutput = DTODocumentationPageRestoreActionOutput; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageSnapshot = DTODocumentationPageSnapshot; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationPublishMetadata = DTODocumentationPublishMetadata; exports.DTODocumentationPublishTypeQueryParams = DTODocumentationPublishTypeQueryParams; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODownloadAssetsRequest = DTODownloadAssetsRequest; exports.DTODownloadAssetsResponse = DTODownloadAssetsResponse; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionsGetResponse = DTOElementPropertyDefinitionsGetResponse; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValuesGetResponse = DTOElementPropertyValuesGetResponse; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOExportJob = DTOExportJob; exports.DTOExportJobCreatedBy = DTOExportJobCreatedBy; exports.DTOExportJobDesignSystemPreview = DTOExportJobDesignSystemPreview; exports.DTOExportJobDesignSystemVersionPreview = DTOExportJobDesignSystemVersionPreview; exports.DTOExportJobDestinations = DTOExportJobDestinations; exports.DTOExportJobResponse = DTOExportJobResponse; exports.DTOExportJobResult = DTOExportJobResult; exports.DTOExportJobsListFilter = DTOExportJobsListFilter; exports.DTOExporter = DTOExporter; exports.DTOExporterCreateInput = DTOExporterCreateInput; exports.DTOExporterCreateOutput = DTOExporterCreateOutput; exports.DTOExporterGitProviderEnum = DTOExporterGitProviderEnum; exports.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterProperty = DTOExporterProperty; exports.DTOExporterPropertyListResponse = DTOExporterPropertyListResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaComponent = DTOFigmaComponent; exports.DTOFigmaComponentListResponse = DTOFigmaComponentListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderFormat = DTOFigmaNodeRenderFormat; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOGitBranch = DTOGitBranch; exports.DTOGitOrganization = DTOGitOrganization; exports.DTOGitProject = DTOGitProject; exports.DTOGitRepository = DTOGitRepository; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationCredentials = DTOIntegrationCredentials; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOLiveblocksAuthResponse = DTOLiveblocksAuthResponse; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTONpmRegistryConfigConstants = DTONpmRegistryConfigConstants; exports.DTOPageBlockColorV2 = DTOPageBlockColorV2; exports.DTOPageBlockDefinition = DTOPageBlockDefinition; exports.DTOPageBlockDefinitionBehavior = DTOPageBlockDefinitionBehavior; exports.DTOPageBlockDefinitionItem = DTOPageBlockDefinitionItem; exports.DTOPageBlockDefinitionLayout = DTOPageBlockDefinitionLayout; exports.DTOPageBlockDefinitionProperty = DTOPageBlockDefinitionProperty; exports.DTOPageBlockDefinitionVariant = DTOPageBlockDefinitionVariant; exports.DTOPageBlockItemV2 = DTOPageBlockItemV2; exports.DTOPagination = DTOPagination; exports.DTOPipeline = DTOPipeline; exports.DTOPipelineCreateBody = DTOPipelineCreateBody; exports.DTOPipelineTriggerBody = DTOPipelineTriggerBody; exports.DTOPipelineUpdateBody = DTOPipelineUpdateBody; exports.DTOPropertyDefinitionCreateActionInputV2 = DTOPropertyDefinitionCreateActionInputV2; exports.DTOPropertyDefinitionCreateActionOutputV2 = DTOPropertyDefinitionCreateActionOutputV2; exports.DTOPropertyDefinitionDeleteActionInputV2 = DTOPropertyDefinitionDeleteActionInputV2; exports.DTOPropertyDefinitionDeleteActionOutputV2 = DTOPropertyDefinitionDeleteActionOutputV2; exports.DTOPropertyDefinitionUpdateActionInputV2 = DTOPropertyDefinitionUpdateActionInputV2; exports.DTOPropertyDefinitionUpdateActionOutputV2 = DTOPropertyDefinitionUpdateActionOutputV2; exports.DTOPublishDocumentationChanges = DTOPublishDocumentationChanges; exports.DTOPublishDocumentationRequest = DTOPublishDocumentationRequest; exports.DTOPublishDocumentationResponse = DTOPublishDocumentationResponse; exports.DTORenderedAssetFile = DTORenderedAssetFile; exports.DTORestoreDocumentationGroupInput = DTORestoreDocumentationGroupInput; exports.DTORestoreDocumentationPageInput = DTORestoreDocumentationPageInput; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateElementPropertyDefinitionInputV2 = DTOUpdateElementPropertyDefinitionInputV2; exports.DTOUpdateUserNotificationSettingsPayload = DTOUpdateUserNotificationSettingsPayload; exports.DTOUpdateVersionInput = DTOUpdateVersionInput; exports.DTOUser = DTOUser; exports.DTOUserNotificationSettingsResponse = DTOUserNotificationSettingsResponse; exports.DTOUserProfile = DTOUserProfile; exports.DTOUserProfileUpdatePayload = DTOUserProfileUpdatePayload; exports.DTOUserProfileUpdateResponse = DTOUserProfileUpdateResponse; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceIntegrationGetGitObjectsInput = DTOWorkspaceIntegrationGetGitObjectsInput; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.ListTreeBuilder = ListTreeBuilder; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.VersionRoomBaseYDoc = VersionRoomBaseYDoc; exports.VersionSQSPayload = VersionSQSPayload; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.applyPrivacyConfigurationToNestedItems = applyPrivacyConfigurationToNestedItems; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateElementParentChain = calculateElementParentChain; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPageToDTOV2 = documentationPageToDTOV2; exports.documentationPagesFixedConfigurationToDTOV1 = documentationPagesFixedConfigurationToDTOV1; exports.documentationPagesFixedConfigurationToDTOV2 = documentationPagesFixedConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV1 = elementGroupsToDocumentationGroupFixedConfigurationDTOV1; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV2 = elementGroupsToDocumentationGroupFixedConfigurationDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.generateHash = generateHash; exports.generatePageContentHash = generatePageContentHash; exports.getDtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1; exports.getDtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.gitBranchToDto = gitBranchToDto; exports.gitOrganizationToDto = gitOrganizationToDto; exports.gitProjectToDto = gitProjectToDto; exports.gitRepositoryToDto = gitRepositoryToDto; exports.innerEditorProsemirrorSchema = innerEditorProsemirrorSchema; exports.integrationCredentialToDto = integrationCredentialToDto; exports.integrationToDto = integrationToDto; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.mainEditorProsemirrorSchema = mainEditorProsemirrorSchema; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYDoc = pageToYDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pipelineToDto = pipelineToDto; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorDocToRichTextPropertyValue = prosemirrorDocToRichTextPropertyValue; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.richTextPropertyValueToProsemirror = richTextPropertyValueToProsemirror; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
|
|
11536
|
+
|
|
11537
|
+
|
|
11538
|
+
|
|
11539
|
+
|
|
11540
|
+
|
|
11541
|
+
|
|
11542
|
+
|
|
11543
|
+
|
|
11544
|
+
|
|
11545
|
+
|
|
11546
|
+
|
|
11547
|
+
exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.DTOAppBootstrapDataQuery = DTOAppBootstrapDataQuery; exports.DTOAppBootstrapDataResponse = DTOAppBootstrapDataResponse; exports.DTOAssetRenderConfiguration = DTOAssetRenderConfiguration; exports.DTOBrand = DTOBrand; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCreateBrandInput = DTOCreateBrandInput; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateElementPropertyDefinitionInputV2 = DTOCreateElementPropertyDefinitionInputV2; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODataSource = DTODataSource; exports.DTODataSourceCreationResponse = DTODataSourceCreationResponse; exports.DTODataSourceFigma = DTODataSourceFigma; exports.DTODataSourceFigmaCloud = DTODataSourceFigmaCloud; exports.DTODataSourceFigmaVariablesPlugin = DTODataSourceFigmaVariablesPlugin; exports.DTODataSourceTokenStudio = DTODataSourceTokenStudio; exports.DTODataSourcesListResponse = DTODataSourcesListResponse; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODeleteElementPropertyDefinitionInputV2 = DTODeleteElementPropertyDefinitionInputV2; exports.DTODesignElementsDataDiffResponse = DTODesignElementsDataDiffResponse; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemCreateInput = DTODesignSystemCreateInput; exports.DTODesignSystemCreateResponse = DTODesignSystemCreateResponse; exports.DTODesignSystemMember = DTODesignSystemMember; exports.DTODesignSystemMemberListResponse = DTODesignSystemMemberListResponse; exports.DTODesignSystemMembersUpdatePayload = DTODesignSystemMembersUpdatePayload; exports.DTODesignSystemMembersUpdateResponse = DTODesignSystemMembersUpdateResponse; exports.DTODesignSystemUpdateInput = DTODesignSystemUpdateInput; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODesignSystemsListResponse = DTODesignSystemsListResponse; exports.DTODiffCountBase = DTODiffCountBase; exports.DTODocumentationDraftChangeType = DTODocumentationDraftChangeType; exports.DTODocumentationDraftState = DTODocumentationDraftState; exports.DTODocumentationDraftStateCreated = DTODocumentationDraftStateCreated; exports.DTODocumentationDraftStateDeleted = DTODocumentationDraftStateDeleted; exports.DTODocumentationDraftStateUpdated = DTODocumentationDraftStateUpdated; exports.DTODocumentationGroupApprovalState = DTODocumentationGroupApprovalState; 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.DTODocumentationGroupRestoreActionInput = DTODocumentationGroupRestoreActionInput; exports.DTODocumentationGroupRestoreActionOutput = DTODocumentationGroupRestoreActionOutput; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageApprovalState = DTODocumentationPageApprovalState; exports.DTODocumentationPageApprovalStateChangeActionInput = DTODocumentationPageApprovalStateChangeActionInput; exports.DTODocumentationPageApprovalStateChangeActionOutput = DTODocumentationPageApprovalStateChangeActionOutput; exports.DTODocumentationPageApprovalStateChangeInput = DTODocumentationPageApprovalStateChangeInput; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; 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.DTODocumentationPageRestoreActionInput = DTODocumentationPageRestoreActionInput; exports.DTODocumentationPageRestoreActionOutput = DTODocumentationPageRestoreActionOutput; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageSnapshot = DTODocumentationPageSnapshot; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationPublishMetadata = DTODocumentationPublishMetadata; exports.DTODocumentationPublishTypeQueryParams = DTODocumentationPublishTypeQueryParams; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODownloadAssetsRequest = DTODownloadAssetsRequest; exports.DTODownloadAssetsResponse = DTODownloadAssetsResponse; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionsGetResponse = DTOElementPropertyDefinitionsGetResponse; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValuesGetResponse = DTOElementPropertyValuesGetResponse; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOExportJob = DTOExportJob; exports.DTOExportJobCreatedBy = DTOExportJobCreatedBy; exports.DTOExportJobDesignSystemPreview = DTOExportJobDesignSystemPreview; exports.DTOExportJobDesignSystemVersionPreview = DTOExportJobDesignSystemVersionPreview; exports.DTOExportJobDestinations = DTOExportJobDestinations; exports.DTOExportJobResponse = DTOExportJobResponse; exports.DTOExportJobResult = DTOExportJobResult; exports.DTOExportJobsListFilter = DTOExportJobsListFilter; exports.DTOExporter = DTOExporter; exports.DTOExporterCreateInput = DTOExporterCreateInput; exports.DTOExporterCreateOutput = DTOExporterCreateOutput; exports.DTOExporterGitProviderEnum = DTOExporterGitProviderEnum; exports.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterProperty = DTOExporterProperty; exports.DTOExporterPropertyListResponse = DTOExporterPropertyListResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaComponent = DTOFigmaComponent; exports.DTOFigmaComponentListResponse = DTOFigmaComponentListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderFormat = DTOFigmaNodeRenderFormat; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOGitBranch = DTOGitBranch; exports.DTOGitOrganization = DTOGitOrganization; exports.DTOGitProject = DTOGitProject; exports.DTOGitRepository = DTOGitRepository; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationCredentials = DTOIntegrationCredentials; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOLiveblocksAuthResponse = DTOLiveblocksAuthResponse; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTONpmRegistryConfigConstants = DTONpmRegistryConfigConstants; exports.DTOPageBlockColorV2 = DTOPageBlockColorV2; exports.DTOPageBlockDefinition = DTOPageBlockDefinition; exports.DTOPageBlockDefinitionBehavior = DTOPageBlockDefinitionBehavior; exports.DTOPageBlockDefinitionItem = DTOPageBlockDefinitionItem; exports.DTOPageBlockDefinitionLayout = DTOPageBlockDefinitionLayout; exports.DTOPageBlockDefinitionProperty = DTOPageBlockDefinitionProperty; exports.DTOPageBlockDefinitionVariant = DTOPageBlockDefinitionVariant; exports.DTOPageBlockItemV2 = DTOPageBlockItemV2; exports.DTOPagination = DTOPagination; exports.DTOPipeline = DTOPipeline; exports.DTOPipelineCreateBody = DTOPipelineCreateBody; exports.DTOPipelineTriggerBody = DTOPipelineTriggerBody; exports.DTOPipelineUpdateBody = DTOPipelineUpdateBody; exports.DTOPropertyDefinitionCreateActionInputV2 = DTOPropertyDefinitionCreateActionInputV2; exports.DTOPropertyDefinitionCreateActionOutputV2 = DTOPropertyDefinitionCreateActionOutputV2; exports.DTOPropertyDefinitionDeleteActionInputV2 = DTOPropertyDefinitionDeleteActionInputV2; exports.DTOPropertyDefinitionDeleteActionOutputV2 = DTOPropertyDefinitionDeleteActionOutputV2; exports.DTOPropertyDefinitionUpdateActionInputV2 = DTOPropertyDefinitionUpdateActionInputV2; exports.DTOPropertyDefinitionUpdateActionOutputV2 = DTOPropertyDefinitionUpdateActionOutputV2; exports.DTOPublishDocumentationChanges = DTOPublishDocumentationChanges; exports.DTOPublishDocumentationRequest = DTOPublishDocumentationRequest; exports.DTOPublishDocumentationResponse = DTOPublishDocumentationResponse; exports.DTORenderedAssetFile = DTORenderedAssetFile; exports.DTORestoreDocumentationGroupInput = DTORestoreDocumentationGroupInput; exports.DTORestoreDocumentationPageInput = DTORestoreDocumentationPageInput; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateElementPropertyDefinitionInputV2 = DTOUpdateElementPropertyDefinitionInputV2; exports.DTOUpdateUserNotificationSettingsPayload = DTOUpdateUserNotificationSettingsPayload; exports.DTOUpdateVersionInput = DTOUpdateVersionInput; exports.DTOUser = DTOUser; exports.DTOUserGetResponse = DTOUserGetResponse; exports.DTOUserNotificationSettingsResponse = DTOUserNotificationSettingsResponse; exports.DTOUserProfile = DTOUserProfile; exports.DTOUserProfileUpdatePayload = DTOUserProfileUpdatePayload; exports.DTOUserProfileUpdateResponse = DTOUserProfileUpdateResponse; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceCreateInput = DTOWorkspaceCreateInput; exports.DTOWorkspaceCreateResponse = DTOWorkspaceCreateResponse; exports.DTOWorkspaceIntegrationGetGitObjectsInput = DTOWorkspaceIntegrationGetGitObjectsInput; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceInvitationInput = DTOWorkspaceInvitationInput; exports.DTOWorkspaceInvitationsListInput = DTOWorkspaceInvitationsListInput; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DesignSystemsEndpoint = DesignSystemsEndpoint; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.ListTreeBuilder = ListTreeBuilder; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.RequestExecutor = RequestExecutor; exports.RequestExecutorError = RequestExecutorError; exports.SupernovaApiClient = SupernovaApiClient; exports.UsersEndpoint = UsersEndpoint; exports.VersionRoomBaseYDoc = VersionRoomBaseYDoc; exports.VersionSQSPayload = VersionSQSPayload; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.WorkspacesEndpoint = WorkspacesEndpoint; exports.applyPrivacyConfigurationToNestedItems = applyPrivacyConfigurationToNestedItems; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateElementParentChain = calculateElementParentChain; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPageToDTOV2 = documentationPageToDTOV2; exports.documentationPagesFixedConfigurationToDTOV1 = documentationPagesFixedConfigurationToDTOV1; exports.documentationPagesFixedConfigurationToDTOV2 = documentationPagesFixedConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV1 = elementGroupsToDocumentationGroupFixedConfigurationDTOV1; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV2 = elementGroupsToDocumentationGroupFixedConfigurationDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.generateHash = generateHash; exports.generatePageContentHash = generatePageContentHash; exports.getDtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1; exports.getDtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.gitBranchToDto = gitBranchToDto; exports.gitOrganizationToDto = gitOrganizationToDto; exports.gitProjectToDto = gitProjectToDto; exports.gitRepositoryToDto = gitRepositoryToDto; exports.innerEditorProsemirrorSchema = innerEditorProsemirrorSchema; exports.integrationCredentialToDto = integrationCredentialToDto; exports.integrationToDto = integrationToDto; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.mainEditorProsemirrorSchema = mainEditorProsemirrorSchema; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYDoc = pageToYDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pipelineToDto = pipelineToDto; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorDocToRichTextPropertyValue = prosemirrorDocToRichTextPropertyValue; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.richTextPropertyValueToProsemirror = richTextPropertyValueToProsemirror; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
|
|
11886
11548
|
//# sourceMappingURL=index.js.map
|