@visualli/core 0.2.6 → 0.2.7

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-FEEKCDPA.js → chunk-2GTJNTYI.js} +2 -2
  2. package/dist/{chunk-FEEKCDPA.js.map → chunk-2GTJNTYI.js.map} +1 -1
  3. package/dist/{chunk-NAD7MZBV.js → chunk-4RN36Q7J.js} +2 -2
  4. package/dist/{chunk-DWNGUFVO.js → chunk-KIE654CJ.js} +2 -2
  5. package/dist/{chunk-MWH3ZD3M.js → chunk-TDLZKTP7.js} +4 -4
  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-iPxr-Jg1.d.cts → designSystem-BLfisQR0.d.cts} +1 -1
  13. package/dist/{designSystem-iPxr-Jg1.d.ts → designSystem-BLfisQR0.d.ts} +1 -1
  14. package/dist/{ideaSize-CF07GZsk.d.cts → ideaSize-3jKlpNWG.d.cts} +1 -1
  15. package/dist/{ideaSize-1DVxFGFy.d.ts → ideaSize-Dqq1BOUH.d.ts} +1 -1
  16. package/dist/{index-BWlG6Y6W.d.ts → index-BqBDVAmE.d.ts} +1 -1
  17. package/dist/{index-CRwgyyWU.d.cts → index-Ckhboq53.d.cts} +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-B07E1EHv.d.cts → mindmap-B0Sffsds.d.cts} +1 -1
  26. package/dist/{mindmap-B-MSJt-m.d.ts → mindmap-CASD52ux.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-NAD7MZBV.js.map → chunk-4RN36Q7J.js.map} +0 -0
  43. /package/dist/{chunk-DWNGUFVO.js.map → chunk-KIE654CJ.js.map} +0 -0
  44. /package/dist/{chunk-MWH3ZD3M.js.map → chunk-TDLZKTP7.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-B07E1EHv.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-B07E1EHv.cjs';
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';
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-CF07GZsk.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-CRwgyyWU.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-iPxr-Jg1.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';
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-B-MSJt-m.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-B-MSJt-m.js';
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';
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-1DVxFGFy.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-BWlG6Y6W.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-iPxr-Jg1.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';
19
19
  export { Connection, Container, Extension, Layer, Meta, Node } from '@visualli/bindings';
20
20
 
21
21
  interface BoundingBox {
package/dist/index.js CHANGED
@@ -23,12 +23,6 @@ import {
23
23
  getRenderConfigForQuality,
24
24
  isFeatureEnabled
25
25
  } from "./chunk-S6H66I62.js";
26
- import {
27
- checkCollision,
28
- getNodeBounds,
29
- optimizeLayout,
30
- resolveCollisions
31
- } from "./chunk-LI3BVD6H.js";
32
26
  import {
33
27
  VisualliParseError,
34
28
  calculateDistance,
@@ -49,7 +43,7 @@ import {
49
43
  parseVisualliFile,
50
44
  parseVisualliFromMongoDB,
51
45
  resolveNodeOverlaps
52
- } from "./chunk-MWH3ZD3M.js";
46
+ } from "./chunk-TDLZKTP7.js";
53
47
  import {
54
48
  BLOB_SHAPES,
55
49
  ELLIPSE,
@@ -81,17 +75,10 @@ import {
81
75
  shapeOfLevel,
82
76
  wrapInShape,
83
77
  wrapLines
84
- } from "./chunk-NAD7MZBV.js";
78
+ } from "./chunk-4RN36Q7J.js";
85
79
  import {
86
80
  LAYOUT_SPACING
87
81
  } from "./chunk-N7HCYULH.js";
88
- import {
89
- applyCircularLayout,
90
- applyLinearHorizontalLayout,
91
- applyLinearVerticalLayout,
92
- calculateMinimumRadius,
93
- calculateOptimalRadiusPercentage
94
- } from "./chunk-GQMFBYLK.js";
95
82
  import {
96
83
  FPSMonitor,
97
84
  MemoryMonitor,
@@ -155,6 +142,19 @@ import {
155
142
  pointerModeFor,
156
143
  zoomAround
157
144
  } 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-DWNGUFVO.js";
178
+ } from "./chunk-KIE654CJ.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-FEEKCDPA.js";
188
+ } from "./chunk-2GTJNTYI.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-B07E1EHv.cjs';
2
- import '../designSystem-iPxr-Jg1.cjs';
1
+ import { F as FlatNode, d as MindMapNode } from '../mindmap-B0Sffsds.cjs';
2
+ import '../designSystem-BLfisQR0.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-B-MSJt-m.js';
2
- import '../designSystem-iPxr-Jg1.js';
1
+ import { F as FlatNode, d as MindMapNode } from '../mindmap-CASD52ux.js';
2
+ import '../designSystem-BLfisQR0.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-iPxr-Jg1.cjs';
1
+ import { T as TopicName } from './designSystem-BLfisQR0.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-iPxr-Jg1.js';
1
+ import { T as TopicName } from './designSystem-BLfisQR0.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.