@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.
Files changed (62) hide show
  1. package/dist/{chunk-RFMUATWB.js → chunk-2AB4FH2E.js} +2 -2
  2. package/dist/{chunk-RFMUATWB.js.map → chunk-2AB4FH2E.js.map} +1 -1
  3. package/dist/{chunk-ITDZ72JE.js → chunk-2EVIMAJN.js} +2 -2
  4. package/dist/chunk-2EVIMAJN.js.map +1 -0
  5. package/dist/{chunk-UAMEJG2C.js → chunk-3ZEH2SFM.js} +9 -1
  6. package/dist/chunk-3ZEH2SFM.js.map +1 -0
  7. package/dist/{chunk-LOQLNYB3.js → chunk-GWR7CGWW.js} +2 -2
  8. package/dist/{chunk-64PUANNH.js → chunk-HONAB36P.js} +2 -2
  9. package/dist/{chunk-W2CAOOJJ.js → chunk-RHUW2OCC.js} +2 -2
  10. package/dist/{chunk-WO4JAAKP.js → chunk-RLZO3KIN.js} +3 -3
  11. package/dist/{chunk-P6PKWVYF.js → chunk-S6H66I62.js} +2 -2
  12. package/dist/config/index.cjs.map +1 -1
  13. package/dist/config/index.d.cts +4 -4
  14. package/dist/config/index.d.ts +4 -4
  15. package/dist/config/index.js +2 -2
  16. package/dist/constants/index.cjs.map +1 -1
  17. package/dist/constants/index.d.cts +2 -2
  18. package/dist/constants/index.d.ts +2 -2
  19. package/dist/constants/index.js +2 -2
  20. package/dist/{designSystem-D49xVfr8.d.cts → designSystem-BcBLKHJO.d.cts} +1 -1
  21. package/dist/{designSystem-D49xVfr8.d.ts → designSystem-BcBLKHJO.d.ts} +1 -1
  22. package/dist/{ideaSize-BTJu6thN.d.cts → ideaSize-BxYgVM2m.d.cts} +1 -1
  23. package/dist/{ideaSize-RKbms8K6.d.ts → ideaSize-DBcumOej.d.ts} +1 -1
  24. package/dist/{index-Dt--T2l8.d.cts → index-BD-rumDI.d.cts} +1 -1
  25. package/dist/{index-CcF0Jvmb.d.ts → index-CnQ3Vcwr.d.ts} +1 -1
  26. package/dist/index.cjs +9 -1
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.d.cts +15 -5
  29. package/dist/index.d.ts +15 -5
  30. package/dist/index.js +8 -8
  31. package/dist/layout/index.d.cts +2 -2
  32. package/dist/layout/index.d.ts +2 -2
  33. package/dist/{mindmap-BO3YD5qu.d.cts → mindmap-Acjoll04.d.cts} +1 -1
  34. package/dist/{mindmap-D0Of0jaZ.d.ts → mindmap-BwFtEDQV.d.ts} +1 -1
  35. package/dist/parser/index.cjs.map +1 -1
  36. package/dist/parser/index.d.cts +3 -3
  37. package/dist/parser/index.d.ts +3 -3
  38. package/dist/parser/index.js +3 -3
  39. package/dist/performance/index.cjs.map +1 -1
  40. package/dist/performance/index.js +2 -2
  41. package/dist/theme/index.cjs +1 -1
  42. package/dist/theme/index.cjs.map +1 -1
  43. package/dist/theme/index.d.cts +2 -2
  44. package/dist/theme/index.d.ts +2 -2
  45. package/dist/theme/index.js +2 -2
  46. package/dist/types/index.d.cts +2 -2
  47. package/dist/types/index.d.ts +2 -2
  48. package/dist/viewport/index.cjs.map +1 -1
  49. package/dist/viewport/index.d.cts +2 -2
  50. package/dist/viewport/index.d.ts +2 -2
  51. package/dist/viewport/index.js +2 -2
  52. package/package.json +1 -1
  53. package/src/generated/designSystem.ts +1 -1
  54. package/src/generated/geometry/color.ts +4 -0
  55. package/src/generated/geometry/interaction.ts +6 -0
  56. package/dist/chunk-ITDZ72JE.js.map +0 -1
  57. package/dist/chunk-UAMEJG2C.js.map +0 -1
  58. /package/dist/{chunk-LOQLNYB3.js.map → chunk-GWR7CGWW.js.map} +0 -0
  59. /package/dist/{chunk-64PUANNH.js.map → chunk-HONAB36P.js.map} +0 -0
  60. /package/dist/{chunk-W2CAOOJJ.js.map → chunk-RHUW2OCC.js.map} +0 -0
  61. /package/dist/{chunk-WO4JAAKP.js.map → chunk-RLZO3KIN.js.map} +0 -0
  62. /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-D49xVfr8.cjs';
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-D49xVfr8.js';
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.2.1";
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