@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.mjs CHANGED
@@ -1742,7 +1742,8 @@ var PageBlockGuideline = z39.object({
1742
1742
  asset: nullishToOptional(PageBlockAsset),
1743
1743
  type: z39.string(),
1744
1744
  imageAlt: nullishToOptional(z39.string()),
1745
- imageCaption: nullishToOptional(z39.string())
1745
+ imageCaption: nullishToOptional(z39.string()),
1746
+ imageAlignment: nullishToOptional(PageBlockAlignment)
1746
1747
  });
1747
1748
  var PageBlockBaseV1 = z39.object({
1748
1749
  persistentId: z39.string(),
@@ -7604,14 +7605,9 @@ var ListTreeBuilder = class {
7604
7605
  return void 0;
7605
7606
  }
7606
7607
  if (block.data.indentLevel <= 0) {
7607
- if (this.rootNode.listType === list.listType) {
7608
- this.rootNode.children.push(...list.leadingChildren);
7609
- return;
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];