@visualli/core 0.2.18 → 0.2.20
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-6GAKZATW.js → chunk-BZPD3BAU.js} +2 -2
- package/dist/{chunk-3UZU4SK5.js → chunk-CFJOFMIR.js} +2 -2
- package/dist/{chunk-EGXQEULM.js → chunk-LXHVSBYK.js} +4 -4
- package/dist/{chunk-6LHBNFP4.js → chunk-TSI4JXW2.js} +2 -1
- package/dist/{chunk-6LHBNFP4.js.map → chunk-TSI4JXW2.js.map} +1 -1
- 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-D1TEwtFB.d.cts → designSystem-8QfXOH7W.d.cts} +1 -0
- package/dist/{designSystem-D1TEwtFB.d.ts → designSystem-8QfXOH7W.d.ts} +1 -0
- package/dist/{ideaSize-D3bwx7nU.d.ts → ideaSize-CjiX1PKT.d.ts} +1 -1
- package/dist/{ideaSize-BNzONHMD.d.cts → ideaSize-q5pcHkXk.d.cts} +1 -1
- package/dist/{index-b1eML2o2.d.ts → index-CT1t9oKv.d.ts} +1 -1
- package/dist/{index-CpNpxxTi.d.cts → index-D0C6wWgJ.d.cts} +1 -1
- package/dist/index.cjs +1 -0
- 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 +4 -4
- package/dist/layout/index.d.cts +2 -2
- package/dist/layout/index.d.ts +2 -2
- package/dist/{mindmap-GAjdtx5S.d.ts → mindmap-BX8h8W--.d.ts} +1 -1
- package/dist/{mindmap-BkGXWW3M.d.cts → mindmap-C-ol0EO8.d.cts} +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 -0
- 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 -0
- /package/dist/{chunk-6GAKZATW.js.map → chunk-BZPD3BAU.js.map} +0 -0
- /package/dist/{chunk-3UZU4SK5.js.map → chunk-CFJOFMIR.js.map} +0 -0
- /package/dist/{chunk-EGXQEULM.js.map → chunk-LXHVSBYK.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-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-
|
|
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-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-
|
|
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-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-
|
|
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-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
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
parseVisualliFile,
|
|
50
50
|
parseVisualliFromMongoDB,
|
|
51
51
|
resolveNodeOverlaps
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-LXHVSBYK.js";
|
|
53
53
|
import {
|
|
54
54
|
BLOB_SHAPES,
|
|
55
55
|
ELLIPSE,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
shapeOfLevel,
|
|
82
82
|
wrapInShape,
|
|
83
83
|
wrapLines
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-CFJOFMIR.js";
|
|
85
85
|
import {
|
|
86
86
|
LAYOUT_SPACING
|
|
87
87
|
} from "./chunk-N7HCYULH.js";
|
|
@@ -179,7 +179,7 @@ import {
|
|
|
179
179
|
topicFor,
|
|
180
180
|
topicFromName,
|
|
181
181
|
topicStyle
|
|
182
|
-
} from "./chunk-
|
|
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-
|
|
192
|
+
} from "./chunk-TSI4JXW2.js";
|
|
193
193
|
import "./chunk-VLGR5PZX.js";
|
|
194
194
|
|
|
195
195
|
// 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-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 */
|
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-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-
|
|
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-
|
|
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.
|