stickyflow 0.10.0 → 0.11.0

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 (60) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/binding/index.cjs +9 -9
  3. package/dist/binding/index.d.cts +4 -4
  4. package/dist/binding/index.d.ts +4 -4
  5. package/dist/binding/index.js +3 -3
  6. package/dist/{chunk-5PJ55GPG.cjs → chunk-5G3BEXQU.cjs} +1069 -713
  7. package/dist/chunk-5G3BEXQU.cjs.map +1 -0
  8. package/dist/{chunk-EGUPN56K.js → chunk-BFQWCOEC.js} +3 -3
  9. package/dist/{chunk-EGUPN56K.js.map → chunk-BFQWCOEC.js.map} +1 -1
  10. package/dist/{chunk-KRSX4UZ7.cjs → chunk-F24JURN2.cjs} +293 -46
  11. package/dist/chunk-F24JURN2.cjs.map +1 -0
  12. package/dist/{chunk-TECWZVIM.cjs → chunk-FXGXUWSI.cjs} +23 -23
  13. package/dist/{chunk-TECWZVIM.cjs.map → chunk-FXGXUWSI.cjs.map} +1 -1
  14. package/dist/{chunk-HRU6VOEC.js → chunk-G6IW2IX3.js} +44 -7
  15. package/dist/chunk-G6IW2IX3.js.map +1 -0
  16. package/dist/{chunk-SDOHUNBW.js → chunk-Q6QLU6YQ.js} +428 -72
  17. package/dist/chunk-Q6QLU6YQ.js.map +1 -0
  18. package/dist/{chunk-VPNOVRWP.js → chunk-RQYZNW2I.js} +262 -15
  19. package/dist/chunk-RQYZNW2I.js.map +1 -0
  20. package/dist/{chunk-L7CEX5JV.js → chunk-UB2ANTWF.js} +4 -4
  21. package/dist/{chunk-L7CEX5JV.js.map → chunk-UB2ANTWF.js.map} +1 -1
  22. package/dist/{chunk-LSEMXRB5.cjs → chunk-UHKFJBY5.cjs} +44 -7
  23. package/dist/chunk-UHKFJBY5.cjs.map +1 -0
  24. package/dist/{chunk-SCD3AHMY.cjs → chunk-WZA3DJJH.cjs} +15 -15
  25. package/dist/{chunk-SCD3AHMY.cjs.map → chunk-WZA3DJJH.cjs.map} +1 -1
  26. package/dist/index.cjs +36 -36
  27. package/dist/index.d.cts +5 -5
  28. package/dist/index.d.ts +5 -5
  29. package/dist/index.js +5 -5
  30. package/dist/interaction/index.cjs +240 -237
  31. package/dist/interaction/index.cjs.map +1 -1
  32. package/dist/interaction/index.d.cts +3 -3
  33. package/dist/interaction/index.d.ts +3 -3
  34. package/dist/interaction/index.js +6 -3
  35. package/dist/interaction/index.js.map +1 -1
  36. package/dist/{render-DU4lYbRl.d.cts → render-BDO4S5uF.d.cts} +16 -0
  37. package/dist/{render-DU4lYbRl.d.ts → render-BDO4S5uF.d.ts} +16 -0
  38. package/dist/{runtime-Bkv7QW7H.d.cts → runtime-C-C5v9po.d.cts} +2 -2
  39. package/dist/{runtime-DJ4K4_HZ.d.ts → runtime-lCAfU-1Q.d.ts} +2 -2
  40. package/dist/{runtimeTypes-C1shzoyr.d.ts → runtimeTypes-B7p6b1Bi.d.cts} +2 -2
  41. package/dist/{runtimeTypes-BvJBZLkr.d.cts → runtimeTypes-BDA_CfWh.d.ts} +2 -2
  42. package/dist/stickyflow-diagram.global.js +197 -44
  43. package/dist/stickyflow-diagram.global.js.map +1 -1
  44. package/dist/{types-B5jrEEcF.d.cts → types-CZJzycKw.d.cts} +1 -1
  45. package/dist/{types-B7IkZ0w4.d.ts → types-Dp8JVZLB.d.ts} +1 -1
  46. package/dist/viewer/index.cjs +9 -9
  47. package/dist/viewer/index.d.cts +4 -4
  48. package/dist/viewer/index.d.ts +4 -4
  49. package/dist/viewer/index.js +4 -4
  50. package/dist/web-component/index.cjs +6 -6
  51. package/dist/web-component/index.d.cts +2 -2
  52. package/dist/web-component/index.d.ts +2 -2
  53. package/dist/web-component/index.js +4 -4
  54. package/package.json +1 -1
  55. package/dist/chunk-5PJ55GPG.cjs.map +0 -1
  56. package/dist/chunk-HRU6VOEC.js.map +0 -1
  57. package/dist/chunk-KRSX4UZ7.cjs.map +0 -1
  58. package/dist/chunk-LSEMXRB5.cjs.map +0 -1
  59. package/dist/chunk-SDOHUNBW.js.map +0 -1
  60. package/dist/chunk-VPNOVRWP.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { O as SceneRole, Q as ShaderParameter, J as RenderOptions } from './render-DU4lYbRl.cjs';
1
+ import { O as SceneRole, Q as ShaderParameter, J as RenderOptions } from './render-BDO4S5uF.cjs';
2
2
 
3
3
  type Unsubscribe = () => void;
4
4
  declare class Emitter<EventMap extends object> {
@@ -1,4 +1,4 @@
1
- import { O as SceneRole, Q as ShaderParameter, J as RenderOptions } from './render-DU4lYbRl.js';
1
+ import { O as SceneRole, Q as ShaderParameter, J as RenderOptions } from './render-BDO4S5uF.js';
2
2
 
3
3
  type Unsubscribe = () => void;
4
4
  declare class Emitter<EventMap extends object> {
@@ -1,31 +1,31 @@
1
1
  'use strict';
2
2
 
3
- var chunkKRSX4UZ7_cjs = require('../chunk-KRSX4UZ7.cjs');
4
- require('../chunk-5PJ55GPG.cjs');
5
- require('../chunk-SCD3AHMY.cjs');
6
- require('../chunk-LSEMXRB5.cjs');
3
+ var chunkF24JURN2_cjs = require('../chunk-F24JURN2.cjs');
4
+ require('../chunk-5G3BEXQU.cjs');
5
+ require('../chunk-WZA3DJJH.cjs');
6
+ require('../chunk-UHKFJBY5.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "SHADER_DEFAULTS", {
11
11
  enumerable: true,
12
- get: function () { return chunkKRSX4UZ7_cjs.SHADER_DEFAULTS; }
12
+ get: function () { return chunkF24JURN2_cjs.SHADER_DEFAULTS; }
13
13
  });
14
14
  Object.defineProperty(exports, "connectInteraction", {
15
15
  enumerable: true,
16
- get: function () { return chunkKRSX4UZ7_cjs.connectInteraction; }
16
+ get: function () { return chunkF24JURN2_cjs.connectInteraction; }
17
17
  });
18
18
  Object.defineProperty(exports, "createViewer", {
19
19
  enumerable: true,
20
- get: function () { return chunkKRSX4UZ7_cjs.createViewer; }
20
+ get: function () { return chunkF24JURN2_cjs.createViewer; }
21
21
  });
22
22
  Object.defineProperty(exports, "registerShaderProgram", {
23
23
  enumerable: true,
24
- get: function () { return chunkKRSX4UZ7_cjs.registerShaderProgram; }
24
+ get: function () { return chunkF24JURN2_cjs.registerShaderProgram; }
25
25
  });
26
26
  Object.defineProperty(exports, "shaderProgram", {
27
27
  enumerable: true,
28
- get: function () { return chunkKRSX4UZ7_cjs.shaderProgram; }
28
+ get: function () { return chunkF24JURN2_cjs.shaderProgram; }
29
29
  });
30
30
  //# sourceMappingURL=index.cjs.map
31
31
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,7 @@
1
- import { V as Viewer, a as ViewerOptions } from '../types-B5jrEEcF.cjs';
2
- export { M as Modifiers, b as OwnerPointerEvent, O as OwnerRef, S as SceneDiff, c as SceneDiffEvent, d as SelectionChangeEvent, U as Unsubscribe, e as ViewBox, f as ViewerErrorEvent, g as ViewerEventHandler, h as ViewerEventMap, i as ViewerEventName, j as ViewerImageExportOptions, k as ViewerImageFormat, l as ViewerSource } from '../types-B5jrEEcF.cjs';
3
- import { b as BindingRuntime } from '../runtimeTypes-BvJBZLkr.cjs';
4
- import { Q as ShaderParameter } from '../render-DU4lYbRl.cjs';
1
+ import { V as Viewer, a as ViewerOptions } from '../types-CZJzycKw.cjs';
2
+ export { M as Modifiers, b as OwnerPointerEvent, O as OwnerRef, S as SceneDiff, c as SceneDiffEvent, d as SelectionChangeEvent, U as Unsubscribe, e as ViewBox, f as ViewerErrorEvent, g as ViewerEventHandler, h as ViewerEventMap, i as ViewerEventName, j as ViewerImageExportOptions, k as ViewerImageFormat, l as ViewerSource } from '../types-CZJzycKw.cjs';
3
+ import { b as BindingRuntime } from '../runtimeTypes-B7p6b1Bi.cjs';
4
+ import { Q as ShaderParameter } from '../render-BDO4S5uF.cjs';
5
5
 
6
6
  interface InteractionOptions {
7
7
  enabled?: () => boolean;
@@ -1,7 +1,7 @@
1
- import { V as Viewer, a as ViewerOptions } from '../types-B7IkZ0w4.js';
2
- export { M as Modifiers, b as OwnerPointerEvent, O as OwnerRef, S as SceneDiff, c as SceneDiffEvent, d as SelectionChangeEvent, U as Unsubscribe, e as ViewBox, f as ViewerErrorEvent, g as ViewerEventHandler, h as ViewerEventMap, i as ViewerEventName, j as ViewerImageExportOptions, k as ViewerImageFormat, l as ViewerSource } from '../types-B7IkZ0w4.js';
3
- import { b as BindingRuntime } from '../runtimeTypes-C1shzoyr.js';
4
- import { Q as ShaderParameter } from '../render-DU4lYbRl.js';
1
+ import { V as Viewer, a as ViewerOptions } from '../types-Dp8JVZLB.js';
2
+ export { M as Modifiers, b as OwnerPointerEvent, O as OwnerRef, S as SceneDiff, c as SceneDiffEvent, d as SelectionChangeEvent, U as Unsubscribe, e as ViewBox, f as ViewerErrorEvent, g as ViewerEventHandler, h as ViewerEventMap, i as ViewerEventName, j as ViewerImageExportOptions, k as ViewerImageFormat, l as ViewerSource } from '../types-Dp8JVZLB.js';
3
+ import { b as BindingRuntime } from '../runtimeTypes-BDA_CfWh.js';
4
+ import { Q as ShaderParameter } from '../render-BDO4S5uF.js';
5
5
 
6
6
  interface InteractionOptions {
7
7
  enabled?: () => boolean;
@@ -1,6 +1,6 @@
1
- export { SHADER_DEFAULTS, connectInteraction, createViewer, registerShaderProgram, shaderProgram } from '../chunk-VPNOVRWP.js';
2
- import '../chunk-SDOHUNBW.js';
3
- import '../chunk-EGUPN56K.js';
4
- import '../chunk-HRU6VOEC.js';
1
+ export { SHADER_DEFAULTS, connectInteraction, createViewer, registerShaderProgram, shaderProgram } from '../chunk-RQYZNW2I.js';
2
+ import '../chunk-Q6QLU6YQ.js';
3
+ import '../chunk-BFQWCOEC.js';
4
+ import '../chunk-G6IW2IX3.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkKRSX4UZ7_cjs = require('../chunk-KRSX4UZ7.cjs');
4
- var chunk5PJ55GPG_cjs = require('../chunk-5PJ55GPG.cjs');
5
- require('../chunk-SCD3AHMY.cjs');
6
- require('../chunk-LSEMXRB5.cjs');
3
+ var chunkF24JURN2_cjs = require('../chunk-F24JURN2.cjs');
4
+ var chunk5G3BEXQU_cjs = require('../chunk-5G3BEXQU.cjs');
5
+ require('../chunk-WZA3DJJH.cjs');
6
+ require('../chunk-UHKFJBY5.cjs');
7
7
 
8
8
  // src/runtime/webComponent/config.ts
9
9
  var OBSERVED_ATTRS = ["source", "interactive", "padding", "diagram-id"];
@@ -43,7 +43,7 @@ function showRenderError(container, error) {
43
43
  container.replaceChildren(box);
44
44
  }
45
45
  function mountInteractiveDiagram(container, source, config) {
46
- return chunkKRSX4UZ7_cjs.createViewer({
46
+ return chunkF24JURN2_cjs.createViewer({
47
47
  container,
48
48
  source,
49
49
  interactive: true,
@@ -52,7 +52,7 @@ function mountInteractiveDiagram(container, source, config) {
52
52
  });
53
53
  }
54
54
  function mountStaticDiagram(container, source, config) {
55
- container.innerHTML = chunk5PJ55GPG_cjs.render(source, { padding: config.padding }).svg;
55
+ container.innerHTML = chunk5G3BEXQU_cjs.render(source, { padding: config.padding }).svg;
56
56
  }
57
57
  function mountShadowDiagram(root, config) {
58
58
  const container = createShadowContainer(root);
@@ -1,5 +1,5 @@
1
- import { V as Viewer } from '../types-B5jrEEcF.cjs';
2
- import '../render-DU4lYbRl.cjs';
1
+ import { V as Viewer } from '../types-CZJzycKw.cjs';
2
+ import '../render-BDO4S5uF.cjs';
3
3
 
4
4
  interface DiagramConfig {
5
5
  source: string | null;
@@ -1,5 +1,5 @@
1
- import { V as Viewer } from '../types-B7IkZ0w4.js';
2
- import '../render-DU4lYbRl.js';
1
+ import { V as Viewer } from '../types-Dp8JVZLB.js';
2
+ import '../render-BDO4S5uF.js';
3
3
 
4
4
  interface DiagramConfig {
5
5
  source: string | null;
@@ -1,7 +1,7 @@
1
- import { createViewer } from '../chunk-VPNOVRWP.js';
2
- import { render } from '../chunk-SDOHUNBW.js';
3
- import '../chunk-EGUPN56K.js';
4
- import '../chunk-HRU6VOEC.js';
1
+ import { createViewer } from '../chunk-RQYZNW2I.js';
2
+ import { render } from '../chunk-Q6QLU6YQ.js';
3
+ import '../chunk-BFQWCOEC.js';
4
+ import '../chunk-G6IW2IX3.js';
5
5
 
6
6
  // src/runtime/webComponent/config.ts
7
7
  var OBSERVED_ATTRS = ["source", "interactive", "padding", "diagram-id"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stickyflow",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "Framework-independent SFL parser, render-scene, SVG runtime and interactive viewer.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",