@supernova-studio/client 0.55.13 → 0.55.15
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 +34 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.js +37 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +37 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/design-systems/design-system.ts +7 -0
- package/src/yjs/docs-editor/mock.ts +32 -6
package/dist/index.mjs
CHANGED
|
@@ -5153,6 +5153,11 @@ var DTODesignSystem = DesignSystem.omit({
|
|
|
5153
5153
|
meta: ObjectMeta,
|
|
5154
5154
|
docExporterId: z178.string(),
|
|
5155
5155
|
sources: z178.array(z178.any()),
|
|
5156
|
+
/**
|
|
5157
|
+
* Whether or not user who is requesting the design system
|
|
5158
|
+
* has access to the design system's contents.
|
|
5159
|
+
*/
|
|
5160
|
+
isAvailableToUser: z178.boolean(),
|
|
5156
5161
|
role: WorkspaceRoleSchema.optional()
|
|
5157
5162
|
});
|
|
5158
5163
|
var DTODesignSystemResponse = z178.object({
|
|
@@ -10352,18 +10357,34 @@ var blocks = [
|
|
|
10352
10357
|
{
|
|
10353
10358
|
id: "io.supernova.block.code",
|
|
10354
10359
|
name: "Code",
|
|
10355
|
-
description: "
|
|
10360
|
+
description: "Display simple code examples",
|
|
10356
10361
|
category: "Code",
|
|
10357
10362
|
icon: "https://cdn-assets.supernova.io/blocks/icons/code.svg",
|
|
10358
10363
|
searchKeywords: ["code"],
|
|
10359
10364
|
item: {
|
|
10360
|
-
properties: [
|
|
10361
|
-
|
|
10365
|
+
properties: [
|
|
10366
|
+
{
|
|
10367
|
+
id: "code",
|
|
10368
|
+
name: "Code",
|
|
10369
|
+
type: "Code",
|
|
10370
|
+
options: {}
|
|
10371
|
+
}
|
|
10372
|
+
],
|
|
10373
|
+
appearance: {
|
|
10374
|
+
isBordered: true,
|
|
10375
|
+
hasBackground: false
|
|
10376
|
+
},
|
|
10362
10377
|
variants: [
|
|
10363
10378
|
{
|
|
10364
10379
|
id: "default",
|
|
10365
10380
|
name: "Default",
|
|
10366
|
-
layout: {
|
|
10381
|
+
layout: {
|
|
10382
|
+
type: "Column",
|
|
10383
|
+
children: ["code"],
|
|
10384
|
+
columnAlign: "Start",
|
|
10385
|
+
columnResizing: "Fill",
|
|
10386
|
+
gap: "Medium"
|
|
10387
|
+
},
|
|
10367
10388
|
maxColumns: 1,
|
|
10368
10389
|
defaultColumns: 1,
|
|
10369
10390
|
appearance: {}
|
|
@@ -10371,8 +10392,18 @@ var blocks = [
|
|
|
10371
10392
|
],
|
|
10372
10393
|
defaultVariantKey: "default"
|
|
10373
10394
|
},
|
|
10374
|
-
behavior: {
|
|
10375
|
-
|
|
10395
|
+
behavior: {
|
|
10396
|
+
dataType: "Item",
|
|
10397
|
+
items: {
|
|
10398
|
+
numberOfItems: 1,
|
|
10399
|
+
allowLinks: false
|
|
10400
|
+
}
|
|
10401
|
+
},
|
|
10402
|
+
editorOptions: {
|
|
10403
|
+
onboarding: {
|
|
10404
|
+
helpText: "Display simple code examples"
|
|
10405
|
+
}
|
|
10406
|
+
},
|
|
10376
10407
|
appearance: {
|
|
10377
10408
|
isBordered: false,
|
|
10378
10409
|
hasBackground: false,
|