@visualli/core 0.2.0 → 0.2.1

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-TPLJJKAU.js → chunk-64PUANNH.js} +2 -2
  2. package/dist/{chunk-KVSM3APM.js → chunk-ITDZ72JE.js} +2 -2
  3. package/dist/{chunk-LV3EXUQY.js → chunk-RFMUATWB.js} +2 -2
  4. package/dist/{chunk-LV3EXUQY.js.map → chunk-RFMUATWB.js.map} +1 -1
  5. package/dist/{chunk-7NJWM7ZE.js → chunk-WO4JAAKP.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-BOrZHfEq.d.cts → designSystem-D49xVfr8.d.cts} +1 -1
  13. package/dist/{designSystem-BOrZHfEq.d.ts → designSystem-D49xVfr8.d.ts} +1 -1
  14. package/dist/{ideaSize-CLDKeyqD.d.cts → ideaSize-BTJu6thN.d.cts} +1 -1
  15. package/dist/{ideaSize-DxxGy2E8.d.ts → ideaSize-RKbms8K6.d.ts} +1 -1
  16. package/dist/{index-CcPRwVUL.d.ts → index-CcF0Jvmb.d.ts} +1 -1
  17. package/dist/{index-BmILeKj6.d.cts → index-Dt--T2l8.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 +5 -5
  23. package/dist/layout/index.d.cts +2 -2
  24. package/dist/layout/index.d.ts +2 -2
  25. package/dist/{mindmap-C3Qr0qKW.d.cts → mindmap-BO3YD5qu.d.cts} +1 -1
  26. package/dist/{mindmap-DHeVa86G.d.ts → mindmap-D0Of0jaZ.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 +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-TPLJJKAU.js.map → chunk-64PUANNH.js.map} +0 -0
  43. /package/dist/{chunk-KVSM3APM.js.map → chunk-ITDZ72JE.js.map} +0 -0
  44. /package/dist/{chunk-7NJWM7ZE.js.map → chunk-WO4JAAKP.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-C3Qr0qKW.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-C3Qr0qKW.cjs';
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';
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-CLDKeyqD.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-BmILeKj6.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-BOrZHfEq.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';
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-DHeVa86G.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-DHeVa86G.js';
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';
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-DxxGy2E8.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-CcPRwVUL.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-BOrZHfEq.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';
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-TPLJJKAU.js";
31
+ } from "./chunk-64PUANNH.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-7NJWM7ZE.js";
70
+ } from "./chunk-WO4JAAKP.js";
71
71
  import {
72
72
  IDEA,
73
73
  LABEL_GROWTH,
@@ -150,7 +150,6 @@ import {
150
150
  pointerModeFor,
151
151
  zoomAround
152
152
  } from "./chunk-UAMEJG2C.js";
153
- import "./chunk-VLGR5PZX.js";
154
153
  import {
155
154
  CUSTOM,
156
155
  TOPIC_ORDER,
@@ -170,7 +169,7 @@ import {
170
169
  topicFor,
171
170
  topicFromName,
172
171
  topicStyle
173
- } from "./chunk-KVSM3APM.js";
172
+ } from "./chunk-ITDZ72JE.js";
174
173
  import {
175
174
  CANVAS_STYLE,
176
175
  DESIGN_SYSTEM_VERSION,
@@ -180,7 +179,8 @@ import {
180
179
  TOKENS,
181
180
  TOPICS,
182
181
  TYPE_STYLES
183
- } from "./chunk-LV3EXUQY.js";
182
+ } from "./chunk-RFMUATWB.js";
183
+ import "./chunk-VLGR5PZX.js";
184
184
 
185
185
  // src/spatial/spatialIndex.ts
186
186
  import RBush from "rbush";
@@ -1,5 +1,5 @@
1
- import { F as FlatNode, d as MindMapNode } from '../mindmap-C3Qr0qKW.cjs';
2
- import '../designSystem-BOrZHfEq.cjs';
1
+ import { F as FlatNode, d as MindMapNode } from '../mindmap-BO3YD5qu.cjs';
2
+ import '../designSystem-D49xVfr8.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-DHeVa86G.js';
2
- import '../designSystem-BOrZHfEq.js';
1
+ import { F as FlatNode, d as MindMapNode } from '../mindmap-D0Of0jaZ.js';
2
+ import '../designSystem-D49xVfr8.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-BOrZHfEq.cjs';
1
+ import { T as TopicName } from './designSystem-D49xVfr8.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-BOrZHfEq.js';
1
+ import { T as TopicName } from './designSystem-D49xVfr8.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.