@supernova-studio/client 0.52.8 → 0.52.9
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 +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +5 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/yjs/docs-editor/list-tree-builder.ts +3 -11
package/dist/index.d.mts
CHANGED
|
@@ -19692,6 +19692,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
19692
19692
|
} | null | undefined;
|
|
19693
19693
|
imageAlt?: string | null | undefined;
|
|
19694
19694
|
imageCaption?: string | null | undefined;
|
|
19695
|
+
imageAlignment?: "Left" | "Center" | "Right" | "Stretch" | null | undefined;
|
|
19695
19696
|
}[] | null | undefined;
|
|
19696
19697
|
customBlockKey?: string | null | undefined;
|
|
19697
19698
|
customBlockProperties?: {
|
|
@@ -20257,6 +20258,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
20257
20258
|
} | null | undefined;
|
|
20258
20259
|
imageAlt?: string | null | undefined;
|
|
20259
20260
|
imageCaption?: string | null | undefined;
|
|
20261
|
+
imageAlignment?: "Left" | "Center" | "Right" | "Stretch" | null | undefined;
|
|
20260
20262
|
}[] | null | undefined;
|
|
20261
20263
|
customBlockKey?: string | null | undefined;
|
|
20262
20264
|
customBlockProperties?: {
|
|
@@ -21046,6 +21048,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21046
21048
|
} | null | undefined;
|
|
21047
21049
|
imageAlt?: string | null | undefined;
|
|
21048
21050
|
imageCaption?: string | null | undefined;
|
|
21051
|
+
imageAlignment?: "Left" | "Center" | "Right" | "Stretch" | null | undefined;
|
|
21049
21052
|
}[] | null | undefined;
|
|
21050
21053
|
customBlockKey?: string | null | undefined;
|
|
21051
21054
|
customBlockProperties?: {
|
|
@@ -21264,6 +21267,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21264
21267
|
} | null | undefined;
|
|
21265
21268
|
imageAlt?: string | null | undefined;
|
|
21266
21269
|
imageCaption?: string | null | undefined;
|
|
21270
|
+
imageAlignment?: "Left" | "Center" | "Right" | "Stretch" | null | undefined;
|
|
21267
21271
|
}[] | null | undefined;
|
|
21268
21272
|
customBlockKey?: string | null | undefined;
|
|
21269
21273
|
customBlockProperties?: {
|
|
@@ -21600,6 +21604,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21600
21604
|
} | null | undefined;
|
|
21601
21605
|
imageAlt?: string | null | undefined;
|
|
21602
21606
|
imageCaption?: string | null | undefined;
|
|
21607
|
+
imageAlignment?: "Left" | "Center" | "Right" | "Stretch" | null | undefined;
|
|
21603
21608
|
}[] | null | undefined;
|
|
21604
21609
|
customBlockKey?: string | null | undefined;
|
|
21605
21610
|
customBlockProperties?: {
|
|
@@ -21818,6 +21823,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21818
21823
|
} | null | undefined;
|
|
21819
21824
|
imageAlt?: string | null | undefined;
|
|
21820
21825
|
imageCaption?: string | null | undefined;
|
|
21826
|
+
imageAlignment?: "Left" | "Center" | "Right" | "Stretch" | null | undefined;
|
|
21821
21827
|
}[] | null | undefined;
|
|
21822
21828
|
customBlockKey?: string | null | undefined;
|
|
21823
21829
|
customBlockProperties?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -19692,6 +19692,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
19692
19692
|
} | null | undefined;
|
|
19693
19693
|
imageAlt?: string | null | undefined;
|
|
19694
19694
|
imageCaption?: string | null | undefined;
|
|
19695
|
+
imageAlignment?: "Left" | "Center" | "Right" | "Stretch" | null | undefined;
|
|
19695
19696
|
}[] | null | undefined;
|
|
19696
19697
|
customBlockKey?: string | null | undefined;
|
|
19697
19698
|
customBlockProperties?: {
|
|
@@ -20257,6 +20258,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
20257
20258
|
} | null | undefined;
|
|
20258
20259
|
imageAlt?: string | null | undefined;
|
|
20259
20260
|
imageCaption?: string | null | undefined;
|
|
20261
|
+
imageAlignment?: "Left" | "Center" | "Right" | "Stretch" | null | undefined;
|
|
20260
20262
|
}[] | null | undefined;
|
|
20261
20263
|
customBlockKey?: string | null | undefined;
|
|
20262
20264
|
customBlockProperties?: {
|
|
@@ -21046,6 +21048,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21046
21048
|
} | null | undefined;
|
|
21047
21049
|
imageAlt?: string | null | undefined;
|
|
21048
21050
|
imageCaption?: string | null | undefined;
|
|
21051
|
+
imageAlignment?: "Left" | "Center" | "Right" | "Stretch" | null | undefined;
|
|
21049
21052
|
}[] | null | undefined;
|
|
21050
21053
|
customBlockKey?: string | null | undefined;
|
|
21051
21054
|
customBlockProperties?: {
|
|
@@ -21264,6 +21267,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21264
21267
|
} | null | undefined;
|
|
21265
21268
|
imageAlt?: string | null | undefined;
|
|
21266
21269
|
imageCaption?: string | null | undefined;
|
|
21270
|
+
imageAlignment?: "Left" | "Center" | "Right" | "Stretch" | null | undefined;
|
|
21267
21271
|
}[] | null | undefined;
|
|
21268
21272
|
customBlockKey?: string | null | undefined;
|
|
21269
21273
|
customBlockProperties?: {
|
|
@@ -21600,6 +21604,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21600
21604
|
} | null | undefined;
|
|
21601
21605
|
imageAlt?: string | null | undefined;
|
|
21602
21606
|
imageCaption?: string | null | undefined;
|
|
21607
|
+
imageAlignment?: "Left" | "Center" | "Right" | "Stretch" | null | undefined;
|
|
21603
21608
|
}[] | null | undefined;
|
|
21604
21609
|
customBlockKey?: string | null | undefined;
|
|
21605
21610
|
customBlockProperties?: {
|
|
@@ -21818,6 +21823,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21818
21823
|
} | null | undefined;
|
|
21819
21824
|
imageAlt?: string | null | undefined;
|
|
21820
21825
|
imageCaption?: string | null | undefined;
|
|
21826
|
+
imageAlignment?: "Left" | "Center" | "Right" | "Stretch" | null | undefined;
|
|
21821
21827
|
}[] | null | undefined;
|
|
21822
21828
|
customBlockKey?: string | null | undefined;
|
|
21823
21829
|
customBlockProperties?: {
|
package/dist/index.js
CHANGED
|
@@ -1742,7 +1742,8 @@ var PageBlockGuideline = _zod.z.object({
|
|
|
1742
1742
|
asset: nullishToOptional(PageBlockAsset),
|
|
1743
1743
|
type: _zod.z.string(),
|
|
1744
1744
|
imageAlt: nullishToOptional(_zod.z.string()),
|
|
1745
|
-
imageCaption: nullishToOptional(_zod.z.string())
|
|
1745
|
+
imageCaption: nullishToOptional(_zod.z.string()),
|
|
1746
|
+
imageAlignment: nullishToOptional(PageBlockAlignment)
|
|
1746
1747
|
});
|
|
1747
1748
|
var PageBlockBaseV1 = _zod.z.object({
|
|
1748
1749
|
persistentId: _zod.z.string(),
|
|
@@ -7604,14 +7605,9 @@ var ListTreeBuilder = class {
|
|
|
7604
7605
|
return void 0;
|
|
7605
7606
|
}
|
|
7606
7607
|
if (block.data.indentLevel <= 0) {
|
|
7607
|
-
|
|
7608
|
-
|
|
7609
|
-
|
|
7610
|
-
} else {
|
|
7611
|
-
const flushed = this.flush();
|
|
7612
|
-
this.rootNode = list;
|
|
7613
|
-
return flushed;
|
|
7614
|
-
}
|
|
7608
|
+
const flushed = this.flush();
|
|
7609
|
+
this.rootNode = list;
|
|
7610
|
+
return flushed;
|
|
7615
7611
|
}
|
|
7616
7612
|
const listParent = this.getParentOfDepth(block.data.indentLevel);
|
|
7617
7613
|
const lastChild = listParent.children[listParent.children.length - 1];
|