@visualli/core 0.2.1 → 0.2.2

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-ITDZ72JE.js → chunk-J7CFTLNA.js} +2 -2
  2. package/dist/{chunk-RFMUATWB.js → chunk-PIXX5QJC.js} +2 -2
  3. package/dist/{chunk-RFMUATWB.js.map → chunk-PIXX5QJC.js.map} +1 -1
  4. package/dist/{chunk-64PUANNH.js → chunk-R26XEBH5.js} +2 -2
  5. package/dist/{chunk-WO4JAAKP.js → chunk-VUADCPRQ.js} +3 -3
  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-D49xVfr8.d.cts → designSystem-Ck7h42Q0.d.cts} +1 -1
  13. package/dist/{designSystem-D49xVfr8.d.ts → designSystem-Ck7h42Q0.d.ts} +1 -1
  14. package/dist/{ideaSize-BTJu6thN.d.cts → ideaSize-D3xY8I3f.d.cts} +1 -1
  15. package/dist/{ideaSize-RKbms8K6.d.ts → ideaSize-DcV698-q.d.ts} +1 -1
  16. package/dist/{index-CcF0Jvmb.d.ts → index-B8lZ0mWU.d.ts} +1 -1
  17. package/dist/{index-Dt--T2l8.d.cts → index-DNFnKC6r.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 +4 -4
  23. package/dist/layout/index.d.cts +2 -2
  24. package/dist/layout/index.d.ts +2 -2
  25. package/dist/{mindmap-D0Of0jaZ.d.ts → mindmap-BpbtqEhC.d.ts} +1 -1
  26. package/dist/{mindmap-BO3YD5qu.d.cts → mindmap-DXj-_dkM.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 +3 -3
  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 +1 -1
  41. package/src/generated/designSystem.ts +1 -1
  42. /package/dist/{chunk-ITDZ72JE.js.map → chunk-J7CFTLNA.js.map} +0 -0
  43. /package/dist/{chunk-64PUANNH.js.map → chunk-R26XEBH5.js.map} +0 -0
  44. /package/dist/{chunk-WO4JAAKP.js.map → chunk-VUADCPRQ.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-BO3YD5qu.cjs';
2
- export { a as IDEA, I as IdeaKind, L as LABEL_GROWTH, b as MindMapConfig, c as MindMapData, d as MindMapNode, e as NodeMap, S as SpatialBounds, T as TopLevelConnection, i as ideaSize, l as labelGrowth, w as wrapLines } from './mindmap-BO3YD5qu.cjs';
1
+ import { R as RenderConfig, N as NodeSelection, F as FlatNode, M as MindMapConnection, V as ViewportState } from './mindmap-DXj-_dkM.cjs';
2
+ export { a as IDEA, I as IdeaKind, L as LABEL_GROWTH, b as MindMapConfig, c as MindMapData, d as MindMapNode, e as NodeMap, S as SpatialBounds, T as TopLevelConnection, i as ideaSize, l as labelGrowth, w as wrapLines } from './mindmap-DXj-_dkM.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, 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-BTJu6thN.cjs';
17
- export { C as CUSTOM, a as Comfort, I as IdeaColor, M as Metrics, R as ResolvedComfort, T as TOPIC_ORDER, b as ThemeEnv, c as ThemeFamily, d as ThemeInput, e as TopicStyle, f as customColor, g as getTokens, i as ideaColor, h as ideaStyle, j as isContrastTheme, k as isDarkTheme, l as isFocusTheme, m as isThemeName, n as labelScale, o as metricsFor, r as resolveComfort, p as resolveTheme, t as token, q as topicFor, s as topicFromName, u as topicStyle } from './index-Dt--T2l8.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-D49xVfr8.cjs';
16
+ export { I as IdeaMeasure, a as approximateMeasure, i as ideaKindOf } from './ideaSize-D3xY8I3f.cjs';
17
+ export { C as CUSTOM, a as Comfort, I as IdeaColor, M as Metrics, R as ResolvedComfort, T as TOPIC_ORDER, b as ThemeEnv, c as ThemeFamily, d as ThemeInput, e as TopicStyle, f as customColor, g as getTokens, i as ideaColor, h as ideaStyle, j as isContrastTheme, k as isDarkTheme, l as isFocusTheme, m as isThemeName, n as labelScale, o as metricsFor, r as resolveComfort, p as resolveTheme, t as token, q as topicFor, s as topicFromName, u as topicStyle } from './index-DNFnKC6r.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-Ck7h42Q0.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-D0Of0jaZ.js';
2
- export { a as IDEA, I as IdeaKind, L as LABEL_GROWTH, b as MindMapConfig, c as MindMapData, d as MindMapNode, e as NodeMap, S as SpatialBounds, T as TopLevelConnection, i as ideaSize, l as labelGrowth, w as wrapLines } from './mindmap-D0Of0jaZ.js';
1
+ import { R as RenderConfig, N as NodeSelection, F as FlatNode, M as MindMapConnection, V as ViewportState } from './mindmap-BpbtqEhC.js';
2
+ export { a as IDEA, I as IdeaKind, L as LABEL_GROWTH, b as MindMapConfig, c as MindMapData, d as MindMapNode, e as NodeMap, S as SpatialBounds, T as TopLevelConnection, i as ideaSize, l as labelGrowth, w as wrapLines } from './mindmap-BpbtqEhC.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, 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-RKbms8K6.js';
17
- export { C as CUSTOM, a as Comfort, I as IdeaColor, M as Metrics, R as ResolvedComfort, T as TOPIC_ORDER, b as ThemeEnv, c as ThemeFamily, d as ThemeInput, e as TopicStyle, f as customColor, g as getTokens, i as ideaColor, h as ideaStyle, j as isContrastTheme, k as isDarkTheme, l as isFocusTheme, m as isThemeName, n as labelScale, o as metricsFor, r as resolveComfort, p as resolveTheme, t as token, q as topicFor, s as topicFromName, u as topicStyle } from './index-CcF0Jvmb.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-D49xVfr8.js';
16
+ export { I as IdeaMeasure, a as approximateMeasure, i as ideaKindOf } from './ideaSize-DcV698-q.js';
17
+ export { C as CUSTOM, a as Comfort, I as IdeaColor, M as Metrics, R as ResolvedComfort, T as TOPIC_ORDER, b as ThemeEnv, c as ThemeFamily, d as ThemeInput, e as TopicStyle, f as customColor, g as getTokens, i as ideaColor, h as ideaStyle, j as isContrastTheme, k as isDarkTheme, l as isFocusTheme, m as isThemeName, n as labelScale, o as metricsFor, r as resolveComfort, p as resolveTheme, t as token, q as topicFor, s as topicFromName, u as topicStyle } from './index-B8lZ0mWU.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-Ck7h42Q0.js';
19
19
  export { Connection, Container, Extension, Layer, Meta, Node } from '@visualli/bindings';
20
20
 
21
21
  interface BoundingBox {
package/dist/index.js CHANGED
@@ -28,7 +28,7 @@ import {
28
28
  ringsFor,
29
29
  shapeForLevel,
30
30
  shapeOfLevel
31
- } from "./chunk-64PUANNH.js";
31
+ } from "./chunk-R26XEBH5.js";
32
32
  import {
33
33
  DEFAULT_RENDER_CONFIG,
34
34
  FEATURE_FLAGS,
@@ -67,7 +67,7 @@ import {
67
67
  parseVisualliFile,
68
68
  parseVisualliFromMongoDB,
69
69
  resolveNodeOverlaps
70
- } from "./chunk-WO4JAAKP.js";
70
+ } from "./chunk-VUADCPRQ.js";
71
71
  import {
72
72
  IDEA,
73
73
  LABEL_GROWTH,
@@ -169,7 +169,7 @@ import {
169
169
  topicFor,
170
170
  topicFromName,
171
171
  topicStyle
172
- } from "./chunk-ITDZ72JE.js";
172
+ } from "./chunk-J7CFTLNA.js";
173
173
  import {
174
174
  CANVAS_STYLE,
175
175
  DESIGN_SYSTEM_VERSION,
@@ -179,7 +179,7 @@ import {
179
179
  TOKENS,
180
180
  TOPICS,
181
181
  TYPE_STYLES
182
- } from "./chunk-RFMUATWB.js";
182
+ } from "./chunk-PIXX5QJC.js";
183
183
  import "./chunk-VLGR5PZX.js";
184
184
 
185
185
  // src/spatial/spatialIndex.ts
@@ -1,5 +1,5 @@
1
- import { F as FlatNode, d as MindMapNode } from '../mindmap-BO3YD5qu.cjs';
2
- import '../designSystem-D49xVfr8.cjs';
1
+ import { F as FlatNode, d as MindMapNode } from '../mindmap-DXj-_dkM.cjs';
2
+ import '../designSystem-Ck7h42Q0.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-D0Of0jaZ.js';
2
- import '../designSystem-D49xVfr8.js';
1
+ import { F as FlatNode, d as MindMapNode } from '../mindmap-BpbtqEhC.js';
2
+ import '../designSystem-Ck7h42Q0.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-D49xVfr8.js';
1
+ import { T as TopicName } from './designSystem-Ck7h42Q0.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-D49xVfr8.cjs';
1
+ import { T as TopicName } from './designSystem-Ck7h42Q0.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.