@flowgram.ai/document 0.1.30 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -827,6 +827,7 @@ interface FlowTransitionLine {
827
827
  arrow?: boolean;
828
828
  renderKey?: string;
829
829
  isHorizontal?: boolean;
830
+ isDraggingLine?: boolean;
830
831
  activated?: boolean;
831
832
  side?: LABEL_SIDE_TYPE;
832
833
  style?: React.CSSProperties;
package/dist/index.d.ts CHANGED
@@ -827,6 +827,7 @@ interface FlowTransitionLine {
827
827
  arrow?: boolean;
828
828
  renderKey?: string;
829
829
  isHorizontal?: boolean;
830
+ isDraggingLine?: boolean;
830
831
  activated?: boolean;
831
832
  side?: LABEL_SIDE_TYPE;
832
833
  style?: React.CSSProperties;
package/dist/index.js CHANGED
@@ -1921,18 +1921,16 @@ var FlowDocument = class {
1921
1921
  parent: node
1922
1922
  });
1923
1923
  addedNodes.push(blockIconNode);
1924
- if (blocks.length > 0) {
1925
- const inlineBlocksNode = this.addNode({
1926
- id: `$inlineBlocks$${node.id}`,
1927
- type: "inlineBlocks" /* INLINE_BLOCKS */,
1928
- originParent: node,
1929
- parent: node
1930
- });
1931
- addedNodes.push(inlineBlocksNode);
1932
- blocks.forEach((blockData) => {
1933
- this.addBlock(node, blockData, addedNodes);
1934
- });
1935
- }
1924
+ const inlineBlocksNode = this.addNode({
1925
+ id: `$inlineBlocks$${node.id}`,
1926
+ type: "inlineBlocks" /* INLINE_BLOCKS */,
1927
+ originParent: node,
1928
+ parent: node
1929
+ });
1930
+ addedNodes.push(inlineBlocksNode);
1931
+ blocks.forEach((blockData) => {
1932
+ this.addBlock(node, blockData, addedNodes);
1933
+ });
1936
1934
  return addedNodes;
1937
1935
  }
1938
1936
  /**