@visualli/core 0.2.7 → 0.2.8

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.
Files changed (44) hide show
  1. package/dist/{chunk-2GTJNTYI.js → chunk-7VTPJVPD.js} +2 -2
  2. package/dist/{chunk-2GTJNTYI.js.map → chunk-7VTPJVPD.js.map} +1 -1
  3. package/dist/{chunk-4RN36Q7J.js → chunk-AGETXG4X.js} +2 -2
  4. package/dist/{chunk-TDLZKTP7.js → chunk-KGMYFGOQ.js} +4 -4
  5. package/dist/{chunk-KIE654CJ.js → chunk-RCD6QRGP.js} +2 -2
  6. package/dist/config/index.cjs.map +1 -1
  7. package/dist/config/index.d.cts +4 -4
  8. package/dist/config/index.d.ts +4 -4
  9. package/dist/config/index.js +2 -2
  10. package/dist/constants/index.d.cts +2 -2
  11. package/dist/constants/index.d.ts +2 -2
  12. package/dist/{designSystem-BLfisQR0.d.cts → designSystem-3oCvYiUC.d.cts} +1 -1
  13. package/dist/{designSystem-BLfisQR0.d.ts → designSystem-3oCvYiUC.d.ts} +1 -1
  14. package/dist/{ideaSize-Dqq1BOUH.d.ts → ideaSize-ACLfsm--.d.ts} +1 -1
  15. package/dist/{ideaSize-3jKlpNWG.d.cts → ideaSize-C9H3aWFn.d.cts} +1 -1
  16. package/dist/{index-Ckhboq53.d.cts → index-4pAzpHHV.d.cts} +1 -1
  17. package/dist/{index-BqBDVAmE.d.ts → index-D2DF4f5h.d.ts} +1 -1
  18. package/dist/index.cjs +1 -1
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +5 -5
  21. package/dist/index.d.ts +5 -5
  22. package/dist/index.js +17 -17
  23. package/dist/layout/index.d.cts +2 -2
  24. package/dist/layout/index.d.ts +2 -2
  25. package/dist/{mindmap-B0Sffsds.d.cts → mindmap-Bx-_0NxF.d.cts} +1 -1
  26. package/dist/{mindmap-CASD52ux.d.ts → mindmap-CYDXg2oE.d.ts} +1 -1
  27. package/dist/parser/index.cjs.map +1 -1
  28. package/dist/parser/index.d.cts +3 -3
  29. package/dist/parser/index.d.ts +3 -3
  30. package/dist/parser/index.js +4 -4
  31. package/dist/theme/index.cjs +1 -1
  32. package/dist/theme/index.cjs.map +1 -1
  33. package/dist/theme/index.d.cts +2 -2
  34. package/dist/theme/index.d.ts +2 -2
  35. package/dist/theme/index.js +2 -2
  36. package/dist/types/index.d.cts +2 -2
  37. package/dist/types/index.d.ts +2 -2
  38. package/dist/viewport/index.d.cts +2 -2
  39. package/dist/viewport/index.d.ts +2 -2
  40. package/package.json +2 -2
  41. package/src/generated/designSystem.ts +1 -1
  42. /package/dist/{chunk-4RN36Q7J.js.map → chunk-AGETXG4X.js.map} +0 -0
  43. /package/dist/{chunk-TDLZKTP7.js.map → chunk-KGMYFGOQ.js.map} +0 -0
  44. /package/dist/{chunk-KIE654CJ.js.map → chunk-RCD6QRGP.js.map} +0 -0
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as RenderConfig, N as NodeSelection, F as FlatNode, M as MindMapConnection, V as ViewportState } from './mindmap-B0Sffsds.cjs';
2
- export { E as ELLIPSE, a as IDEA, I as IdeaKind, L as LABEL_GROWTH, b as MindMapConfig, c as MindMapData, d as MindMapNode, e as NodeMap, S as ShapeProfile, f as SpatialBounds, T as TopLevelConnection, i as ideaSize, l as labelGrowth, g as labelLayout, h as layoutGrowth, j as lineWidthsInShape, w as wrapInShape, k as wrapLines } from './mindmap-B0Sffsds.cjs';
1
+ import { R as RenderConfig, N as NodeSelection, F as FlatNode, M as MindMapConnection, V as ViewportState } from './mindmap-Bx-_0NxF.cjs';
2
+ export { E as ELLIPSE, a as IDEA, I as IdeaKind, L as LABEL_GROWTH, b as MindMapConfig, c as MindMapData, d as MindMapNode, e as NodeMap, S as ShapeProfile, f as SpatialBounds, T as TopLevelConnection, i as ideaSize, l as labelGrowth, g as labelLayout, h as layoutGrowth, j as lineWidthsInShape, w as wrapInShape, k as wrapLines } from './mindmap-Bx-_0NxF.cjs';
3
3
  import { V as VisualliDocument } from './document-MEJEfxl3.cjs';
4
4
  export { S as SemanticAnchor, a as VisualliMeta } from './document-MEJEfxl3.cjs';
5
5
  import { V as VisualliLayer } from './layer-B2A3Ki48.cjs';
@@ -13,9 +13,9 @@ export { WorldBounds, calculateViewportBounds, clampZoom, focusOnNode, isNodeInV
13
13
  export { FPSMonitor, MemoryMonitor, MemoryStats, PerformanceProfiler } from './performance/index.cjs';
14
14
  import * as zustand_vanilla from 'zustand/vanilla';
15
15
  export { BLOB_SHAPES, ConnectorGeometry, MAX_RINGS, NodeLike, RINGS, SHAPE, arrowPath, blobPath, blobProfile, blobRadius, connectorGeometry, drawBlob, edgePath, nodeBounds, nodeRadii, outlineRadius, ringCount, ringsFor, shapeForLevel, shapeOfLevel } from './config/index.cjs';
16
- export { I as IdeaMeasure, a as approximateMeasure, i as ideaKindOf } from './ideaSize-3jKlpNWG.cjs';
17
- export { C as CUSTOM, a as Comfort, I as IMMERSION, b as IdeaColor, M as Metrics, R as ResolvedComfort, T as TOPIC_ORDER, c as ThemeEnv, d as ThemeFamily, e as ThemeInput, f as TopicStyle, g as customColor, h as getTokens, i as ideaColor, j as ideaStyle, k as isContrastTheme, l as isDarkTheme, m as isFocusTheme, n as isThemeName, o as labelScale, p as metricsFor, r as resolveComfort, q as resolveTheme, t as token, s as topicFor, u as topicFromName, v as topicStyle } from './index-Ckhboq53.cjs';
18
- export { C as CANVAS_STYLE, D as DESIGN_SYSTEM_VERSION, M as METRICS, b as METRICS_REDUCED_MOTION, c as THEME_NAMES, d as TOKENS, e as TOPICS, f as TYPE_STYLES, a as ThemeName, T as TopicName } from './designSystem-BLfisQR0.cjs';
16
+ export { I as IdeaMeasure, a as approximateMeasure, i as ideaKindOf } from './ideaSize-C9H3aWFn.cjs';
17
+ export { C as CUSTOM, a as Comfort, I as IMMERSION, b as IdeaColor, M as Metrics, R as ResolvedComfort, T as TOPIC_ORDER, c as ThemeEnv, d as ThemeFamily, e as ThemeInput, f as TopicStyle, g as customColor, h as getTokens, i as ideaColor, j as ideaStyle, k as isContrastTheme, l as isDarkTheme, m as isFocusTheme, n as isThemeName, o as labelScale, p as metricsFor, r as resolveComfort, q as resolveTheme, t as token, s as topicFor, u as topicFromName, v as topicStyle } from './index-4pAzpHHV.cjs';
18
+ export { C as CANVAS_STYLE, D as DESIGN_SYSTEM_VERSION, M as METRICS, b as METRICS_REDUCED_MOTION, c as THEME_NAMES, d as TOKENS, e as TOPICS, f as TYPE_STYLES, a as ThemeName, T as TopicName } from './designSystem-3oCvYiUC.cjs';
19
19
  export { Connection, Container, Extension, Layer, Meta, Node } from '@visualli/bindings';
20
20
 
21
21
  interface BoundingBox {
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as RenderConfig, N as NodeSelection, F as FlatNode, M as MindMapConnection, V as ViewportState } from './mindmap-CASD52ux.js';
2
- export { E as ELLIPSE, a as IDEA, I as IdeaKind, L as LABEL_GROWTH, b as MindMapConfig, c as MindMapData, d as MindMapNode, e as NodeMap, S as ShapeProfile, f as SpatialBounds, T as TopLevelConnection, i as ideaSize, l as labelGrowth, g as labelLayout, h as layoutGrowth, j as lineWidthsInShape, w as wrapInShape, k as wrapLines } from './mindmap-CASD52ux.js';
1
+ import { R as RenderConfig, N as NodeSelection, F as FlatNode, M as MindMapConnection, V as ViewportState } from './mindmap-CYDXg2oE.js';
2
+ export { E as ELLIPSE, a as IDEA, I as IdeaKind, L as LABEL_GROWTH, b as MindMapConfig, c as MindMapData, d as MindMapNode, e as NodeMap, S as ShapeProfile, f as SpatialBounds, T as TopLevelConnection, i as ideaSize, l as labelGrowth, g as labelLayout, h as layoutGrowth, j as lineWidthsInShape, w as wrapInShape, k as wrapLines } from './mindmap-CYDXg2oE.js';
3
3
  import { V as VisualliDocument } from './document-BFBwn93X.js';
4
4
  export { S as SemanticAnchor, a as VisualliMeta } from './document-BFBwn93X.js';
5
5
  import { V as VisualliLayer } from './layer-B2A3Ki48.js';
@@ -13,9 +13,9 @@ export { WorldBounds, calculateViewportBounds, clampZoom, focusOnNode, isNodeInV
13
13
  export { FPSMonitor, MemoryMonitor, MemoryStats, PerformanceProfiler } from './performance/index.js';
14
14
  import * as zustand_vanilla from 'zustand/vanilla';
15
15
  export { BLOB_SHAPES, ConnectorGeometry, MAX_RINGS, NodeLike, RINGS, SHAPE, arrowPath, blobPath, blobProfile, blobRadius, connectorGeometry, drawBlob, edgePath, nodeBounds, nodeRadii, outlineRadius, ringCount, ringsFor, shapeForLevel, shapeOfLevel } from './config/index.js';
16
- export { I as IdeaMeasure, a as approximateMeasure, i as ideaKindOf } from './ideaSize-Dqq1BOUH.js';
17
- export { C as CUSTOM, a as Comfort, I as IMMERSION, b as IdeaColor, M as Metrics, R as ResolvedComfort, T as TOPIC_ORDER, c as ThemeEnv, d as ThemeFamily, e as ThemeInput, f as TopicStyle, g as customColor, h as getTokens, i as ideaColor, j as ideaStyle, k as isContrastTheme, l as isDarkTheme, m as isFocusTheme, n as isThemeName, o as labelScale, p as metricsFor, r as resolveComfort, q as resolveTheme, t as token, s as topicFor, u as topicFromName, v as topicStyle } from './index-BqBDVAmE.js';
18
- export { C as CANVAS_STYLE, D as DESIGN_SYSTEM_VERSION, M as METRICS, b as METRICS_REDUCED_MOTION, c as THEME_NAMES, d as TOKENS, e as TOPICS, f as TYPE_STYLES, a as ThemeName, T as TopicName } from './designSystem-BLfisQR0.js';
16
+ export { I as IdeaMeasure, a as approximateMeasure, i as ideaKindOf } from './ideaSize-ACLfsm--.js';
17
+ export { C as CUSTOM, a as Comfort, I as IMMERSION, b as IdeaColor, M as Metrics, R as ResolvedComfort, T as TOPIC_ORDER, c as ThemeEnv, d as ThemeFamily, e as ThemeInput, f as TopicStyle, g as customColor, h as getTokens, i as ideaColor, j as ideaStyle, k as isContrastTheme, l as isDarkTheme, m as isFocusTheme, n as isThemeName, o as labelScale, p as metricsFor, r as resolveComfort, q as resolveTheme, t as token, s as topicFor, u as topicFromName, v as topicStyle } from './index-D2DF4f5h.js';
18
+ export { C as CANVAS_STYLE, D as DESIGN_SYSTEM_VERSION, M as METRICS, b as METRICS_REDUCED_MOTION, c as THEME_NAMES, d as TOKENS, e as TOPICS, f as TYPE_STYLES, a as ThemeName, T as TopicName } from './designSystem-3oCvYiUC.js';
19
19
  export { Connection, Container, Extension, Layer, Meta, Node } from '@visualli/bindings';
20
20
 
21
21
  interface BoundingBox {
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ import {
43
43
  parseVisualliFile,
44
44
  parseVisualliFromMongoDB,
45
45
  resolveNodeOverlaps
46
- } from "./chunk-TDLZKTP7.js";
46
+ } from "./chunk-KGMYFGOQ.js";
47
47
  import {
48
48
  BLOB_SHAPES,
49
49
  ELLIPSE,
@@ -75,10 +75,23 @@ import {
75
75
  shapeOfLevel,
76
76
  wrapInShape,
77
77
  wrapLines
78
- } from "./chunk-4RN36Q7J.js";
78
+ } from "./chunk-AGETXG4X.js";
79
79
  import {
80
80
  LAYOUT_SPACING
81
81
  } from "./chunk-N7HCYULH.js";
82
+ import {
83
+ checkCollision,
84
+ getNodeBounds,
85
+ optimizeLayout,
86
+ resolveCollisions
87
+ } from "./chunk-LI3BVD6H.js";
88
+ import {
89
+ applyCircularLayout,
90
+ applyLinearHorizontalLayout,
91
+ applyLinearVerticalLayout,
92
+ calculateMinimumRadius,
93
+ calculateOptimalRadiusPercentage
94
+ } from "./chunk-GQMFBYLK.js";
82
95
  import {
83
96
  FPSMonitor,
84
97
  MemoryMonitor,
@@ -142,19 +155,6 @@ import {
142
155
  pointerModeFor,
143
156
  zoomAround
144
157
  } from "./chunk-3ZEH2SFM.js";
145
- import {
146
- checkCollision,
147
- getNodeBounds,
148
- optimizeLayout,
149
- resolveCollisions
150
- } from "./chunk-LI3BVD6H.js";
151
- import {
152
- applyCircularLayout,
153
- applyLinearHorizontalLayout,
154
- applyLinearVerticalLayout,
155
- calculateMinimumRadius,
156
- calculateOptimalRadiusPercentage
157
- } from "./chunk-GQMFBYLK.js";
158
158
  import {
159
159
  CUSTOM,
160
160
  IMMERSION,
@@ -175,7 +175,7 @@ import {
175
175
  topicFor,
176
176
  topicFromName,
177
177
  topicStyle
178
- } from "./chunk-KIE654CJ.js";
178
+ } from "./chunk-RCD6QRGP.js";
179
179
  import {
180
180
  CANVAS_STYLE,
181
181
  DESIGN_SYSTEM_VERSION,
@@ -185,7 +185,7 @@ import {
185
185
  TOKENS,
186
186
  TOPICS,
187
187
  TYPE_STYLES
188
- } from "./chunk-2GTJNTYI.js";
188
+ } from "./chunk-7VTPJVPD.js";
189
189
  import "./chunk-VLGR5PZX.js";
190
190
 
191
191
  // src/spatial/spatialIndex.ts
@@ -1,5 +1,5 @@
1
- import { F as FlatNode, d as MindMapNode } from '../mindmap-B0Sffsds.cjs';
2
- import '../designSystem-BLfisQR0.cjs';
1
+ import { F as FlatNode, d as MindMapNode } from '../mindmap-Bx-_0NxF.cjs';
2
+ import '../designSystem-3oCvYiUC.cjs';
3
3
 
4
4
  interface CircularLayoutOptions {
5
5
  /** Radius as a fraction of the container's minimum dimension (0–1). Default: 0.135 */
@@ -1,5 +1,5 @@
1
- import { F as FlatNode, d as MindMapNode } from '../mindmap-CASD52ux.js';
2
- import '../designSystem-BLfisQR0.js';
1
+ import { F as FlatNode, d as MindMapNode } from '../mindmap-CYDXg2oE.js';
2
+ import '../designSystem-3oCvYiUC.js';
3
3
 
4
4
  interface CircularLayoutOptions {
5
5
  /** Radius as a fraction of the container's minimum dimension (0–1). Default: 0.135 */
@@ -1,4 +1,4 @@
1
- import { T as TopicName } from './designSystem-BLfisQR0.cjs';
1
+ import { T as TopicName } from './designSystem-3oCvYiUC.cjs';
2
2
 
3
3
  type IdeaKind = 'root' | 'node' | 'mini';
4
4
  /** How much labels grow when zoomed out (`scale` = the map's zoom): never smaller than their size, up to these caps.
@@ -1,4 +1,4 @@
1
- import { T as TopicName } from './designSystem-BLfisQR0.js';
1
+ import { T as TopicName } from './designSystem-3oCvYiUC.js';
2
2
 
3
3
  type IdeaKind = 'root' | 'node' | 'mini';
4
4
  /** How much labels grow when zoomed out (`scale` = the map's zoom): never smaller than their size, up to these caps.