@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.
- package/dist/{chunk-FEEKCDPA.js → chunk-2GTJNTYI.js} +2 -2
- package/dist/{chunk-FEEKCDPA.js.map → chunk-2GTJNTYI.js.map} +1 -1
- package/dist/{chunk-NAD7MZBV.js → chunk-4RN36Q7J.js} +2 -2
- package/dist/{chunk-DWNGUFVO.js → chunk-KIE654CJ.js} +2 -2
- package/dist/{chunk-MWH3ZD3M.js → chunk-TDLZKTP7.js} +4 -4
- package/dist/config/index.cjs.map +1 -1
- package/dist/config/index.d.cts +4 -4
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +2 -2
- package/dist/constants/index.d.cts +2 -2
- package/dist/constants/index.d.ts +2 -2
- package/dist/{designSystem-iPxr-Jg1.d.cts → designSystem-BLfisQR0.d.cts} +1 -1
- package/dist/{designSystem-iPxr-Jg1.d.ts → designSystem-BLfisQR0.d.ts} +1 -1
- package/dist/{ideaSize-CF07GZsk.d.cts → ideaSize-3jKlpNWG.d.cts} +1 -1
- package/dist/{ideaSize-1DVxFGFy.d.ts → ideaSize-Dqq1BOUH.d.ts} +1 -1
- package/dist/{index-BWlG6Y6W.d.ts → index-BqBDVAmE.d.ts} +1 -1
- package/dist/{index-CRwgyyWU.d.cts → index-Ckhboq53.d.cts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +17 -17
- package/dist/layout/index.d.cts +2 -2
- package/dist/layout/index.d.ts +2 -2
- package/dist/{mindmap-B07E1EHv.d.cts → mindmap-B0Sffsds.d.cts} +1 -1
- package/dist/{mindmap-B-MSJt-m.d.ts → mindmap-CASD52ux.d.ts} +1 -1
- package/dist/parser/index.cjs.map +1 -1
- package/dist/parser/index.d.cts +3 -3
- package/dist/parser/index.d.ts +3 -3
- package/dist/parser/index.js +4 -4
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.cjs.map +1 -1
- package/dist/theme/index.d.cts +2 -2
- package/dist/theme/index.d.ts +2 -2
- package/dist/theme/index.js +2 -2
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/viewport/index.d.cts +2 -2
- package/dist/viewport/index.d.ts +2 -2
- package/package.json +2 -2
- package/src/generated/designSystem.ts +1 -1
- /package/dist/{chunk-NAD7MZBV.js.map → chunk-4RN36Q7J.js.map} +0 -0
- /package/dist/{chunk-DWNGUFVO.js.map → chunk-KIE654CJ.js.map} +0 -0
- /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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
188
|
+
} from "./chunk-2GTJNTYI.js";
|
|
189
189
|
import "./chunk-VLGR5PZX.js";
|
|
190
190
|
|
|
191
191
|
// src/spatial/spatialIndex.ts
|
package/dist/layout/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FlatNode, d as MindMapNode } from '../mindmap-
|
|
2
|
-
import '../designSystem-
|
|
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 */
|
package/dist/layout/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FlatNode, d as MindMapNode } from '../mindmap-
|
|
2
|
-
import '../designSystem-
|
|
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-
|
|
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-
|
|
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.
|