@visualli/core 0.2.18 → 0.2.19

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-EGXQEULM.js → chunk-BLKZE5LK.js} +7 -7
  2. package/dist/{chunk-6GAKZATW.js → chunk-BZPD3BAU.js} +2 -2
  3. package/dist/{chunk-3UZU4SK5.js → chunk-CFJOFMIR.js} +2 -2
  4. package/dist/{chunk-6LHBNFP4.js → chunk-TSI4JXW2.js} +2 -1
  5. package/dist/{chunk-6LHBNFP4.js.map → chunk-TSI4JXW2.js.map} +1 -1
  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-D1TEwtFB.d.cts → designSystem-8QfXOH7W.d.cts} +1 -0
  13. package/dist/{designSystem-D1TEwtFB.d.ts → designSystem-8QfXOH7W.d.ts} +1 -0
  14. package/dist/{ideaSize-D3bwx7nU.d.ts → ideaSize-CjiX1PKT.d.ts} +1 -1
  15. package/dist/{ideaSize-BNzONHMD.d.cts → ideaSize-q5pcHkXk.d.cts} +1 -1
  16. package/dist/{index-b1eML2o2.d.ts → index-CT1t9oKv.d.ts} +1 -1
  17. package/dist/{index-CpNpxxTi.d.cts → index-D0C6wWgJ.d.cts} +1 -1
  18. package/dist/index.cjs +1 -0
  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 +8 -8
  23. package/dist/layout/index.d.cts +2 -2
  24. package/dist/layout/index.d.ts +2 -2
  25. package/dist/{mindmap-GAjdtx5S.d.ts → mindmap-BX8h8W--.d.ts} +1 -1
  26. package/dist/{mindmap-BkGXWW3M.d.cts → mindmap-C-ol0EO8.d.cts} +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 -0
  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 -0
  42. /package/dist/{chunk-EGXQEULM.js.map → chunk-BLKZE5LK.js.map} +0 -0
  43. /package/dist/{chunk-6GAKZATW.js.map → chunk-BZPD3BAU.js.map} +0 -0
  44. /package/dist/{chunk-3UZU4SK5.js.map → chunk-CFJOFMIR.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-BkGXWW3M.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-BkGXWW3M.cjs';
1
+ import { R as RenderConfig, N as NodeSelection, F as FlatNode, M as MindMapConnection, V as ViewportState } from './mindmap-C-ol0EO8.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-C-ol0EO8.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-BNzONHMD.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-CpNpxxTi.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-D1TEwtFB.cjs';
16
+ export { I as IdeaMeasure, a as approximateMeasure, i as ideaKindOf } from './ideaSize-q5pcHkXk.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-D0C6wWgJ.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-8QfXOH7W.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-GAjdtx5S.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-GAjdtx5S.js';
1
+ import { R as RenderConfig, N as NodeSelection, F as FlatNode, M as MindMapConnection, V as ViewportState } from './mindmap-BX8h8W--.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-BX8h8W--.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-D3bwx7nU.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-b1eML2o2.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-D1TEwtFB.js';
16
+ export { I as IdeaMeasure, a as approximateMeasure, i as ideaKindOf } from './ideaSize-CjiX1PKT.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-CT1t9oKv.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-8QfXOH7W.js';
19
19
  export { Connection, Container, Extension, Layer, Meta, Node } from '@visualli/bindings';
20
20
 
21
21
  interface BoundingBox {
package/dist/index.js CHANGED
@@ -10,7 +10,6 @@ import {
10
10
  worldToScreen,
11
11
  zoomViewport
12
12
  } from "./chunk-YU3KV4UY.js";
13
- import "./chunk-LSPDGEVE.js";
14
13
  import {
15
14
  DEFAULT_RENDER_CONFIG,
16
15
  FEATURE_FLAGS,
@@ -23,6 +22,7 @@ import {
23
22
  getRenderConfigForQuality,
24
23
  isFeatureEnabled
25
24
  } from "./chunk-2JCBDPOL.js";
25
+ import "./chunk-LSPDGEVE.js";
26
26
  import {
27
27
  checkCollision,
28
28
  getNodeBounds,
@@ -49,7 +49,10 @@ import {
49
49
  parseVisualliFile,
50
50
  parseVisualliFromMongoDB,
51
51
  resolveNodeOverlaps
52
- } from "./chunk-EGXQEULM.js";
52
+ } from "./chunk-BLKZE5LK.js";
53
+ import {
54
+ LAYOUT_SPACING
55
+ } from "./chunk-N7HCYULH.js";
53
56
  import {
54
57
  BLOB_SHAPES,
55
58
  ELLIPSE,
@@ -81,10 +84,7 @@ import {
81
84
  shapeOfLevel,
82
85
  wrapInShape,
83
86
  wrapLines
84
- } from "./chunk-3UZU4SK5.js";
85
- import {
86
- LAYOUT_SPACING
87
- } from "./chunk-N7HCYULH.js";
87
+ } from "./chunk-CFJOFMIR.js";
88
88
  import {
89
89
  applyCircularLayout,
90
90
  applyLinearHorizontalLayout,
@@ -179,7 +179,7 @@ import {
179
179
  topicFor,
180
180
  topicFromName,
181
181
  topicStyle
182
- } from "./chunk-6GAKZATW.js";
182
+ } from "./chunk-BZPD3BAU.js";
183
183
  import {
184
184
  CANVAS_STYLE,
185
185
  DESIGN_SYSTEM_VERSION,
@@ -189,7 +189,7 @@ import {
189
189
  TOKENS,
190
190
  TOPICS,
191
191
  TYPE_STYLES
192
- } from "./chunk-6LHBNFP4.js";
192
+ } from "./chunk-TSI4JXW2.js";
193
193
  import "./chunk-VLGR5PZX.js";
194
194
 
195
195
  // src/spatial/spatialIndex.ts
@@ -1,5 +1,5 @@
1
- import { F as FlatNode, d as MindMapNode } from '../mindmap-BkGXWW3M.cjs';
2
- import '../designSystem-D1TEwtFB.cjs';
1
+ import { F as FlatNode, d as MindMapNode } from '../mindmap-C-ol0EO8.cjs';
2
+ import '../designSystem-8QfXOH7W.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-GAjdtx5S.js';
2
- import '../designSystem-D1TEwtFB.js';
1
+ import { F as FlatNode, d as MindMapNode } from '../mindmap-BX8h8W--.js';
2
+ import '../designSystem-8QfXOH7W.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-D1TEwtFB.js';
1
+ import { T as TopicName } from './designSystem-8QfXOH7W.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.
@@ -1,4 +1,4 @@
1
- import { T as TopicName } from './designSystem-D1TEwtFB.cjs';
1
+ import { T as TopicName } from './designSystem-8QfXOH7W.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.