@visualli/core 0.2.8 → 0.2.9

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 (63) hide show
  1. package/dist/{chunk-KGMYFGOQ.js → chunk-4O42KVJ5.js} +4 -4
  2. package/dist/{chunk-3ZEH2SFM.js → chunk-6US6V2BX.js} +1 -1
  3. package/dist/chunk-6US6V2BX.js.map +1 -0
  4. package/dist/{chunk-GWR7CGWW.js → chunk-AQY3VHRM.js} +2 -2
  5. package/dist/{chunk-AGETXG4X.js → chunk-DRTDHK4R.js} +2 -2
  6. package/dist/{chunk-RHUW2OCC.js → chunk-HRRGKHUD.js} +2 -2
  7. package/dist/{chunk-7VTPJVPD.js → chunk-TJF6R4WH.js} +12 -2
  8. package/dist/chunk-TJF6R4WH.js.map +1 -0
  9. package/dist/{chunk-RCD6QRGP.js → chunk-WGLWQQKC.js} +2 -2
  10. package/dist/{chunk-S6H66I62.js → chunk-WKZHCJAT.js} +2 -2
  11. package/dist/config/index.cjs +1 -0
  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-3oCvYiUC.d.cts → designSystem-C6DKkmV8.d.cts} +3 -1
  21. package/dist/{designSystem-3oCvYiUC.d.ts → designSystem-C6DKkmV8.d.ts} +3 -1
  22. package/dist/{ideaSize-ACLfsm--.d.ts → ideaSize-B4lvLW5S.d.ts} +1 -1
  23. package/dist/{ideaSize-C9H3aWFn.d.cts → ideaSize-CTA03TLY.d.cts} +1 -1
  24. package/dist/{index-D2DF4f5h.d.ts → index-BSG3ACvL.d.ts} +1 -1
  25. package/dist/{index-4pAzpHHV.d.cts → index-CzKgW53y.d.cts} +1 -1
  26. package/dist/index.cjs +11 -1
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.d.cts +5 -5
  29. package/dist/index.d.ts +5 -5
  30. package/dist/index.js +15 -15
  31. package/dist/layout/index.d.cts +2 -2
  32. package/dist/layout/index.d.ts +2 -2
  33. package/dist/{mindmap-CYDXg2oE.d.ts → mindmap-B59ENw1g.d.ts} +1 -1
  34. package/dist/{mindmap-Bx-_0NxF.d.cts → mindmap-D2M47Mxn.d.cts} +1 -1
  35. package/dist/parser/index.cjs +9 -0
  36. package/dist/parser/index.cjs.map +1 -1
  37. package/dist/parser/index.d.cts +3 -3
  38. package/dist/parser/index.d.ts +3 -3
  39. package/dist/parser/index.js +4 -4
  40. package/dist/performance/index.cjs.map +1 -1
  41. package/dist/performance/index.js +2 -2
  42. package/dist/theme/index.cjs +11 -1
  43. package/dist/theme/index.cjs.map +1 -1
  44. package/dist/theme/index.d.cts +2 -2
  45. package/dist/theme/index.d.ts +2 -2
  46. package/dist/theme/index.js +2 -2
  47. package/dist/types/index.d.cts +2 -2
  48. package/dist/types/index.d.ts +2 -2
  49. package/dist/viewport/index.cjs.map +1 -1
  50. package/dist/viewport/index.d.cts +2 -2
  51. package/dist/viewport/index.d.ts +2 -2
  52. package/dist/viewport/index.js +2 -2
  53. package/package.json +2 -2
  54. package/src/generated/designSystem.ts +11 -1
  55. package/src/generated/geometry/interaction.ts +17 -0
  56. package/dist/chunk-3ZEH2SFM.js.map +0 -1
  57. package/dist/chunk-7VTPJVPD.js.map +0 -1
  58. /package/dist/{chunk-KGMYFGOQ.js.map → chunk-4O42KVJ5.js.map} +0 -0
  59. /package/dist/{chunk-GWR7CGWW.js.map → chunk-AQY3VHRM.js.map} +0 -0
  60. /package/dist/{chunk-AGETXG4X.js.map → chunk-DRTDHK4R.js.map} +0 -0
  61. /package/dist/{chunk-RHUW2OCC.js.map → chunk-HRRGKHUD.js.map} +0 -0
  62. /package/dist/{chunk-RCD6QRGP.js.map → chunk-WGLWQQKC.js.map} +0 -0
  63. /package/dist/{chunk-S6H66I62.js.map → chunk-WKZHCJAT.js.map} +0 -0
@@ -1,5 +1,5 @@
1
- import { R as RenderConfig } from '../mindmap-CYDXg2oE.js';
2
- import '../designSystem-3oCvYiUC.js';
1
+ import { R as RenderConfig } from '../mindmap-B59ENw1g.js';
2
+ import '../designSystem-C6DKkmV8.js';
3
3
 
4
4
  declare const FPS_TARGET = 60;
5
5
  declare const FPS_WARNING_THRESHOLD = 45;
@@ -9,7 +9,7 @@ import {
9
9
  getRecommendedRenderConfig,
10
10
  getRenderConfigForQuality,
11
11
  isFeatureEnabled
12
- } from "../chunk-S6H66I62.js";
12
+ } from "../chunk-WKZHCJAT.js";
13
13
  import {
14
14
  LAYOUT_SPACING
15
15
  } from "../chunk-N7HCYULH.js";
@@ -55,7 +55,7 @@ import {
55
55
  ZOOM_DEFAULT,
56
56
  ZOOM_MAX,
57
57
  ZOOM_MIN
58
- } from "../chunk-3ZEH2SFM.js";
58
+ } from "../chunk-6US6V2BX.js";
59
59
  export {
60
60
  CIRCULAR_REFERENCE_MAX_DEPTH,
61
61
  CLICK_THRESHOLD,
@@ -1,5 +1,5 @@
1
1
  /** Version of the design system these modules were generated from. */
2
- declare const DESIGN_SYSTEM_VERSION: "0.3.4";
2
+ declare const DESIGN_SYSTEM_VERSION: "0.3.6";
3
3
  declare const THEME_NAMES: readonly ["light", "dark", "focus-light", "focus-dark", "colorsafe-light", "colorsafe-dark", "contrast-light", "contrast-dark"];
4
4
  type ThemeName = (typeof THEME_NAMES)[number];
5
5
  /** Every token for every theme (each theme already merged over "light"). Keys match the CSS custom properties. */
@@ -32,6 +32,7 @@ declare const METRICS: {
32
32
  readonly durationBase: 240;
33
33
  readonly durationZoom: 500;
34
34
  readonly durationReveal: 420;
35
+ readonly durationAutoplay: 7000;
35
36
  readonly staggerReveal: 70;
36
37
  readonly zChrome: 10;
37
38
  readonly zCard: 20;
@@ -44,6 +45,7 @@ declare const METRICS_REDUCED_MOTION: {
44
45
  readonly durationBase: 0;
45
46
  readonly durationZoom: 0;
46
47
  readonly durationReveal: 0;
48
+ readonly durationAutoplay: 0;
47
49
  readonly staggerReveal: 0;
48
50
  };
49
51
  /** Canvas type styles (family is a token name: font-hand, font-note, font-ui ...). */
@@ -1,5 +1,5 @@
1
1
  /** Version of the design system these modules were generated from. */
2
- declare const DESIGN_SYSTEM_VERSION: "0.3.4";
2
+ declare const DESIGN_SYSTEM_VERSION: "0.3.6";
3
3
  declare const THEME_NAMES: readonly ["light", "dark", "focus-light", "focus-dark", "colorsafe-light", "colorsafe-dark", "contrast-light", "contrast-dark"];
4
4
  type ThemeName = (typeof THEME_NAMES)[number];
5
5
  /** Every token for every theme (each theme already merged over "light"). Keys match the CSS custom properties. */
@@ -32,6 +32,7 @@ declare const METRICS: {
32
32
  readonly durationBase: 240;
33
33
  readonly durationZoom: 500;
34
34
  readonly durationReveal: 420;
35
+ readonly durationAutoplay: 7000;
35
36
  readonly staggerReveal: 70;
36
37
  readonly zChrome: 10;
37
38
  readonly zCard: 20;
@@ -44,6 +45,7 @@ declare const METRICS_REDUCED_MOTION: {
44
45
  readonly durationBase: 0;
45
46
  readonly durationZoom: 0;
46
47
  readonly durationReveal: 0;
48
+ readonly durationAutoplay: 0;
47
49
  readonly staggerReveal: 0;
48
50
  };
49
51
  /** Canvas type styles (family is a token name: font-hand, font-note, font-ui ...). */
@@ -1,4 +1,4 @@
1
- import { I as IdeaKind } from './mindmap-CYDXg2oE.js';
1
+ import { I as IdeaKind } from './mindmap-B59ENw1g.js';
2
2
  import { V as VisualliLayer } from './layer-B2A3Ki48.js';
3
3
 
4
4
  /** Width in px of `text` in the idea label's face at `px` (the label's weight; readable type adds its tracking). */
@@ -1,4 +1,4 @@
1
- import { I as IdeaKind } from './mindmap-Bx-_0NxF.cjs';
1
+ import { I as IdeaKind } from './mindmap-D2M47Mxn.cjs';
2
2
  import { V as VisualliLayer } from './layer-B2A3Ki48.cjs';
3
3
 
4
4
  /** Width in px of `text` in the idea label's face at `px` (the label's weight; readable type adds its tracking). */
@@ -1,4 +1,4 @@
1
- import { T as TopicName$1, M as METRICS, a as ThemeName } from './designSystem-3oCvYiUC.js';
1
+ import { T as TopicName$1, M as METRICS, a as ThemeName } from './designSystem-C6DKkmV8.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"];
@@ -1,4 +1,4 @@
1
- import { T as TopicName$1, M as METRICS, a as ThemeName } from './designSystem-3oCvYiUC.cjs';
1
+ import { T as TopicName$1, M as METRICS, a as ThemeName } from './designSystem-C6DKkmV8.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"];
package/dist/index.cjs CHANGED
@@ -535,7 +535,7 @@ function countLayersBeneath(doc, nodeId, visited = /* @__PURE__ */ new Set()) {
535
535
  }
536
536
 
537
537
  // src/generated/designSystem.ts
538
- var DESIGN_SYSTEM_VERSION = "0.3.4";
538
+ var DESIGN_SYSTEM_VERSION = "0.3.6";
539
539
  var THEME_NAMES = [
540
540
  "light",
541
541
  "dark",
@@ -611,6 +611,7 @@ var TOKENS = {
611
611
  "duration-base": "240ms",
612
612
  "duration-zoom": "500ms",
613
613
  "duration-reveal": "420ms",
614
+ "duration-autoplay": "7000ms",
614
615
  "stagger-reveal": "70ms",
615
616
  "ease-zoom": "cubic-bezier(0.2, 0.8, 0.2, 1)",
616
617
  "ease-standard": "cubic-bezier(0.4, 0, 0.2, 1)",
@@ -683,6 +684,7 @@ var TOKENS = {
683
684
  "duration-base": "240ms",
684
685
  "duration-zoom": "500ms",
685
686
  "duration-reveal": "420ms",
687
+ "duration-autoplay": "7000ms",
686
688
  "stagger-reveal": "70ms",
687
689
  "ease-zoom": "cubic-bezier(0.2, 0.8, 0.2, 1)",
688
690
  "ease-standard": "cubic-bezier(0.4, 0, 0.2, 1)",
@@ -755,6 +757,7 @@ var TOKENS = {
755
757
  "duration-base": "240ms",
756
758
  "duration-zoom": "500ms",
757
759
  "duration-reveal": "420ms",
760
+ "duration-autoplay": "7000ms",
758
761
  "stagger-reveal": "70ms",
759
762
  "ease-zoom": "cubic-bezier(0.2, 0.8, 0.2, 1)",
760
763
  "ease-standard": "cubic-bezier(0.4, 0, 0.2, 1)",
@@ -827,6 +830,7 @@ var TOKENS = {
827
830
  "duration-base": "240ms",
828
831
  "duration-zoom": "500ms",
829
832
  "duration-reveal": "420ms",
833
+ "duration-autoplay": "7000ms",
830
834
  "stagger-reveal": "70ms",
831
835
  "ease-zoom": "cubic-bezier(0.2, 0.8, 0.2, 1)",
832
836
  "ease-standard": "cubic-bezier(0.4, 0, 0.2, 1)",
@@ -899,6 +903,7 @@ var TOKENS = {
899
903
  "duration-base": "240ms",
900
904
  "duration-zoom": "500ms",
901
905
  "duration-reveal": "420ms",
906
+ "duration-autoplay": "7000ms",
902
907
  "stagger-reveal": "70ms",
903
908
  "ease-zoom": "cubic-bezier(0.2, 0.8, 0.2, 1)",
904
909
  "ease-standard": "cubic-bezier(0.4, 0, 0.2, 1)",
@@ -971,6 +976,7 @@ var TOKENS = {
971
976
  "duration-base": "240ms",
972
977
  "duration-zoom": "500ms",
973
978
  "duration-reveal": "420ms",
979
+ "duration-autoplay": "7000ms",
974
980
  "stagger-reveal": "70ms",
975
981
  "ease-zoom": "cubic-bezier(0.2, 0.8, 0.2, 1)",
976
982
  "ease-standard": "cubic-bezier(0.4, 0, 0.2, 1)",
@@ -1043,6 +1049,7 @@ var TOKENS = {
1043
1049
  "duration-base": "240ms",
1044
1050
  "duration-zoom": "500ms",
1045
1051
  "duration-reveal": "420ms",
1052
+ "duration-autoplay": "7000ms",
1046
1053
  "stagger-reveal": "70ms",
1047
1054
  "ease-zoom": "cubic-bezier(0.2, 0.8, 0.2, 1)",
1048
1055
  "ease-standard": "cubic-bezier(0.4, 0, 0.2, 1)",
@@ -1115,6 +1122,7 @@ var TOKENS = {
1115
1122
  "duration-base": "240ms",
1116
1123
  "duration-zoom": "500ms",
1117
1124
  "duration-reveal": "420ms",
1125
+ "duration-autoplay": "7000ms",
1118
1126
  "stagger-reveal": "70ms",
1119
1127
  "ease-zoom": "cubic-bezier(0.2, 0.8, 0.2, 1)",
1120
1128
  "ease-standard": "cubic-bezier(0.4, 0, 0.2, 1)",
@@ -1158,6 +1166,7 @@ var METRICS = {
1158
1166
  "durationBase": 240,
1159
1167
  "durationZoom": 500,
1160
1168
  "durationReveal": 420,
1169
+ "durationAutoplay": 7e3,
1161
1170
  "staggerReveal": 70,
1162
1171
  "zChrome": 10,
1163
1172
  "zCard": 20,
@@ -1169,6 +1178,7 @@ var METRICS_REDUCED_MOTION = {
1169
1178
  "durationBase": 0,
1170
1179
  "durationZoom": 0,
1171
1180
  "durationReveal": 0,
1181
+ "durationAutoplay": 0,
1172
1182
  "staggerReveal": 0
1173
1183
  };
1174
1184
  var TYPE_STYLES = {