@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.
- package/dist/{chunk-TPLJJKAU.js → chunk-64PUANNH.js} +2 -2
- package/dist/{chunk-KVSM3APM.js → chunk-ITDZ72JE.js} +2 -2
- package/dist/{chunk-LV3EXUQY.js → chunk-RFMUATWB.js} +2 -2
- package/dist/{chunk-LV3EXUQY.js.map → chunk-RFMUATWB.js.map} +1 -1
- package/dist/{chunk-7NJWM7ZE.js → chunk-WO4JAAKP.js} +3 -3
- 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-BOrZHfEq.d.cts → designSystem-D49xVfr8.d.cts} +1 -1
- package/dist/{designSystem-BOrZHfEq.d.ts → designSystem-D49xVfr8.d.ts} +1 -1
- package/dist/{ideaSize-CLDKeyqD.d.cts → ideaSize-BTJu6thN.d.cts} +1 -1
- package/dist/{ideaSize-DxxGy2E8.d.ts → ideaSize-RKbms8K6.d.ts} +1 -1
- package/dist/{index-CcPRwVUL.d.ts → index-CcF0Jvmb.d.ts} +1 -1
- package/dist/{index-BmILeKj6.d.cts → index-Dt--T2l8.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 +5 -5
- package/dist/layout/index.d.cts +2 -2
- package/dist/layout/index.d.ts +2 -2
- package/dist/{mindmap-C3Qr0qKW.d.cts → mindmap-BO3YD5qu.d.cts} +1 -1
- package/dist/{mindmap-DHeVa86G.d.ts → mindmap-D0Of0jaZ.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 +3 -3
- 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 +1 -1
- package/src/generated/designSystem.ts +1 -1
- /package/dist/{chunk-TPLJJKAU.js.map → chunk-64PUANNH.js.map} +0 -0
- /package/dist/{chunk-KVSM3APM.js.map → chunk-ITDZ72JE.js.map} +0 -0
- /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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-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-
|
|
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-
|
|
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-
|
|
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-
|
|
182
|
+
} from "./chunk-RFMUATWB.js";
|
|
183
|
+
import "./chunk-VLGR5PZX.js";
|
|
184
184
|
|
|
185
185
|
// src/spatial/spatialIndex.ts
|
|
186
186
|
import RBush from "rbush";
|
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-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 */
|
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-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-
|
|
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-
|
|
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.
|