@visualli/core 0.2.1 → 0.2.3
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-RFMUATWB.js → chunk-2AB4FH2E.js} +2 -2
- package/dist/{chunk-RFMUATWB.js.map → chunk-2AB4FH2E.js.map} +1 -1
- package/dist/{chunk-ITDZ72JE.js → chunk-2EVIMAJN.js} +2 -2
- package/dist/chunk-2EVIMAJN.js.map +1 -0
- package/dist/{chunk-UAMEJG2C.js → chunk-3ZEH2SFM.js} +9 -1
- package/dist/chunk-3ZEH2SFM.js.map +1 -0
- package/dist/{chunk-LOQLNYB3.js → chunk-GWR7CGWW.js} +2 -2
- package/dist/{chunk-64PUANNH.js → chunk-HONAB36P.js} +2 -2
- package/dist/{chunk-W2CAOOJJ.js → chunk-RHUW2OCC.js} +2 -2
- package/dist/{chunk-WO4JAAKP.js → chunk-RLZO3KIN.js} +3 -3
- package/dist/{chunk-P6PKWVYF.js → chunk-S6H66I62.js} +2 -2
- 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.cjs.map +1 -1
- package/dist/constants/index.d.cts +2 -2
- package/dist/constants/index.d.ts +2 -2
- package/dist/constants/index.js +2 -2
- package/dist/{designSystem-D49xVfr8.d.cts → designSystem-BcBLKHJO.d.cts} +1 -1
- package/dist/{designSystem-D49xVfr8.d.ts → designSystem-BcBLKHJO.d.ts} +1 -1
- package/dist/{ideaSize-BTJu6thN.d.cts → ideaSize-BxYgVM2m.d.cts} +1 -1
- package/dist/{ideaSize-RKbms8K6.d.ts → ideaSize-DBcumOej.d.ts} +1 -1
- package/dist/{index-Dt--T2l8.d.cts → index-BD-rumDI.d.cts} +1 -1
- package/dist/{index-CcF0Jvmb.d.ts → index-CnQ3Vcwr.d.ts} +1 -1
- package/dist/index.cjs +9 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15 -5
- package/dist/index.d.ts +15 -5
- package/dist/index.js +8 -8
- package/dist/layout/index.d.cts +2 -2
- package/dist/layout/index.d.ts +2 -2
- package/dist/{mindmap-BO3YD5qu.d.cts → mindmap-Acjoll04.d.cts} +1 -1
- package/dist/{mindmap-D0Of0jaZ.d.ts → mindmap-BwFtEDQV.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/performance/index.cjs.map +1 -1
- package/dist/performance/index.js +2 -2
- 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.cjs.map +1 -1
- package/dist/viewport/index.d.cts +2 -2
- package/dist/viewport/index.d.ts +2 -2
- package/dist/viewport/index.js +2 -2
- package/package.json +1 -1
- package/src/generated/designSystem.ts +1 -1
- package/src/generated/geometry/color.ts +4 -0
- package/src/generated/geometry/interaction.ts +6 -0
- package/dist/chunk-ITDZ72JE.js.map +0 -1
- package/dist/chunk-UAMEJG2C.js.map +0 -1
- /package/dist/{chunk-LOQLNYB3.js.map → chunk-GWR7CGWW.js.map} +0 -0
- /package/dist/{chunk-64PUANNH.js.map → chunk-HONAB36P.js.map} +0 -0
- /package/dist/{chunk-W2CAOOJJ.js.map → chunk-RHUW2OCC.js.map} +0 -0
- /package/dist/{chunk-WO4JAAKP.js.map → chunk-RLZO3KIN.js.map} +0 -0
- /package/dist/{chunk-P6PKWVYF.js.map → chunk-S6H66I62.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TopicName$1, M as METRICS, a as ThemeName } from './designSystem-
|
|
1
|
+
import { T as TopicName$1, M as METRICS, a as ThemeName } from './designSystem-BcBLKHJO.cjs';
|
|
2
2
|
|
|
3
3
|
/** The eight topics, in the order missing colors cycle through. */
|
|
4
4
|
declare const TOPIC_ORDER: readonly ["teal", "harbor", "iris", "berry", "coral", "amber", "sun", "stone"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TopicName$1, M as METRICS, a as ThemeName } from './designSystem-
|
|
1
|
+
import { T as TopicName$1, M as METRICS, a as ThemeName } from './designSystem-BcBLKHJO.js';
|
|
2
2
|
|
|
3
3
|
/** The eight topics, in the order missing colors cycle through. */
|
|
4
4
|
declare const TOPIC_ORDER: readonly ["teal", "harbor", "iris", "berry", "coral", "amber", "sun", "stone"];
|
package/dist/index.cjs
CHANGED
|
@@ -528,7 +528,7 @@ function countLayersBeneath(doc, nodeId, visited = /* @__PURE__ */ new Set()) {
|
|
|
528
528
|
}
|
|
529
529
|
|
|
530
530
|
// src/generated/designSystem.ts
|
|
531
|
-
var DESIGN_SYSTEM_VERSION = "0.
|
|
531
|
+
var DESIGN_SYSTEM_VERSION = "0.3.0";
|
|
532
532
|
var THEME_NAMES = [
|
|
533
533
|
"light",
|
|
534
534
|
"dark",
|
|
@@ -1806,6 +1806,14 @@ var GESTURE = {
|
|
|
1806
1806
|
* page (touch-action: pan-x pan-y); two fingers that land together pinch the map. */
|
|
1807
1807
|
appTouchAction: "none",
|
|
1808
1808
|
embeddedTouchAction: "pan-x pan-y",
|
|
1809
|
+
/** Press and move on the empty canvas to pan the contents (mouse and pen; touch pans with two fingers, so one finger
|
|
1810
|
+
* still scrolls an embedded page). A press that moves less than `panSlop` px is a click. */
|
|
1811
|
+
dragPan: true,
|
|
1812
|
+
panPointers: ["mouse", "pen"],
|
|
1813
|
+
panSlop: 6,
|
|
1814
|
+
/** Moving an idea starts once the press has moved this far (px), by pointerModeFor: a mouse ('hover') sooner, a finger
|
|
1815
|
+
* or pen ('touch') later, so taps still work. */
|
|
1816
|
+
ideaDragSlop: { hover: 4, touch: 10 },
|
|
1809
1817
|
/** Zoom never navigates: stepping inside and backing out stay explicit (tap an idea / Step inside, the depth trail,
|
|
1810
1818
|
* Escape or Backspace). */
|
|
1811
1819
|
zoomNavigates: false
|