stickyflow 0.12.0 → 0.12.1

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 (48) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/binding/index.cjs +8 -8
  3. package/dist/binding/index.d.cts +4 -4
  4. package/dist/binding/index.d.ts +4 -4
  5. package/dist/binding/index.js +2 -2
  6. package/dist/{chunk-EG7VZJZX.cjs → chunk-5JPONNKW.cjs} +7 -7
  7. package/dist/{chunk-EG7VZJZX.cjs.map → chunk-5JPONNKW.cjs.map} +1 -1
  8. package/dist/{chunk-3XPNGIMV.cjs → chunk-6TTSSFCF.cjs} +4 -4
  9. package/dist/{chunk-3XPNGIMV.cjs.map → chunk-6TTSSFCF.cjs.map} +1 -1
  10. package/dist/{chunk-UCOMSZPC.js → chunk-LLBTELO3.js} +4 -3
  11. package/dist/chunk-LLBTELO3.js.map +1 -0
  12. package/dist/{chunk-Q4OIDWT6.js → chunk-NZPLAEDJ.js} +3 -3
  13. package/dist/{chunk-Q4OIDWT6.js.map → chunk-NZPLAEDJ.js.map} +1 -1
  14. package/dist/{chunk-LDRUTQF7.js → chunk-P7HTMWBT.js} +3 -3
  15. package/dist/{chunk-LDRUTQF7.js.map → chunk-P7HTMWBT.js.map} +1 -1
  16. package/dist/{chunk-ZE2KRWOM.cjs → chunk-PSC7G6NL.cjs} +4 -3
  17. package/dist/chunk-PSC7G6NL.cjs.map +1 -0
  18. package/dist/index.cjs +14 -14
  19. package/dist/index.d.cts +5 -5
  20. package/dist/index.d.ts +5 -5
  21. package/dist/index.js +3 -3
  22. package/dist/interaction/index.cjs +1 -1
  23. package/dist/interaction/index.cjs.map +1 -1
  24. package/dist/interaction/index.d.cts +2 -2
  25. package/dist/interaction/index.d.ts +2 -2
  26. package/dist/interaction/index.js +1 -1
  27. package/dist/interaction/index.js.map +1 -1
  28. package/dist/{render-BDO4S5uF.d.cts → render-BMhLssMa.d.cts} +1 -0
  29. package/dist/{render-BDO4S5uF.d.ts → render-BMhLssMa.d.ts} +1 -0
  30. package/dist/{runtime-DaconR36.d.ts → runtime-7Tpn2PHh.d.ts} +2 -2
  31. package/dist/{runtime-BJDaqo6f.d.cts → runtime-BPBjVGa6.d.cts} +2 -2
  32. package/dist/{runtimeTypes-BE_GI1yU.d.ts → runtimeTypes-Bt9twc5R.d.ts} +1 -1
  33. package/dist/{runtimeTypes-BE_nllY6.d.cts → runtimeTypes-CRv6IJs-.d.cts} +1 -1
  34. package/dist/stickyflow-diagram.global.js +1 -1
  35. package/dist/stickyflow-diagram.global.js.map +1 -1
  36. package/dist/{types-CZJzycKw.d.cts → types-BnU5MZNj.d.cts} +1 -1
  37. package/dist/{types-Dp8JVZLB.d.ts → types-CLZFgmcG.d.ts} +1 -1
  38. package/dist/viewer/index.cjs +7 -7
  39. package/dist/viewer/index.d.cts +4 -4
  40. package/dist/viewer/index.d.ts +4 -4
  41. package/dist/viewer/index.js +2 -2
  42. package/dist/web-component/index.cjs +4 -4
  43. package/dist/web-component/index.d.cts +2 -2
  44. package/dist/web-component/index.d.ts +2 -2
  45. package/dist/web-component/index.js +2 -2
  46. package/package.json +1 -1
  47. package/dist/chunk-UCOMSZPC.js.map +0 -1
  48. package/dist/chunk-ZE2KRWOM.cjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { O as SceneRole, Q as ShaderParameter, J as RenderOptions } from './render-BDO4S5uF.cjs';
1
+ import { O as SceneRole, Q as ShaderParameter, J as RenderOptions } from './render-BMhLssMa.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-BDO4S5uF.js';
1
+ import { O as SceneRole, Q as ShaderParameter, J as RenderOptions } from './render-BMhLssMa.js';
2
2
 
3
3
  type Unsubscribe = () => void;
4
4
  declare class Emitter<EventMap extends object> {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunk3XPNGIMV_cjs = require('../chunk-3XPNGIMV.cjs');
4
- require('../chunk-ZE2KRWOM.cjs');
3
+ var chunk6TTSSFCF_cjs = require('../chunk-6TTSSFCF.cjs');
4
+ require('../chunk-PSC7G6NL.cjs');
5
5
  require('../chunk-3OF37CZX.cjs');
6
6
  require('../chunk-SKGJXCAO.cjs');
7
7
 
@@ -9,23 +9,23 @@ require('../chunk-SKGJXCAO.cjs');
9
9
 
10
10
  Object.defineProperty(exports, "SHADER_DEFAULTS", {
11
11
  enumerable: true,
12
- get: function () { return chunk3XPNGIMV_cjs.SHADER_DEFAULTS; }
12
+ get: function () { return chunk6TTSSFCF_cjs.SHADER_DEFAULTS; }
13
13
  });
14
14
  Object.defineProperty(exports, "connectInteraction", {
15
15
  enumerable: true,
16
- get: function () { return chunk3XPNGIMV_cjs.connectInteraction; }
16
+ get: function () { return chunk6TTSSFCF_cjs.connectInteraction; }
17
17
  });
18
18
  Object.defineProperty(exports, "createViewer", {
19
19
  enumerable: true,
20
- get: function () { return chunk3XPNGIMV_cjs.createViewer; }
20
+ get: function () { return chunk6TTSSFCF_cjs.createViewer; }
21
21
  });
22
22
  Object.defineProperty(exports, "registerShaderProgram", {
23
23
  enumerable: true,
24
- get: function () { return chunk3XPNGIMV_cjs.registerShaderProgram; }
24
+ get: function () { return chunk6TTSSFCF_cjs.registerShaderProgram; }
25
25
  });
26
26
  Object.defineProperty(exports, "shaderProgram", {
27
27
  enumerable: true,
28
- get: function () { return chunk3XPNGIMV_cjs.shaderProgram; }
28
+ get: function () { return chunk6TTSSFCF_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-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-BE_nllY6.cjs';
4
- import { Q as ShaderParameter } from '../render-BDO4S5uF.cjs';
1
+ import { V as Viewer, a as ViewerOptions } from '../types-BnU5MZNj.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-BnU5MZNj.cjs';
3
+ import { b as BindingRuntime } from '../runtimeTypes-CRv6IJs-.cjs';
4
+ import { Q as ShaderParameter } from '../render-BMhLssMa.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-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-BE_GI1yU.js';
4
- import { Q as ShaderParameter } from '../render-BDO4S5uF.js';
1
+ import { V as Viewer, a as ViewerOptions } from '../types-CLZFgmcG.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-CLZFgmcG.js';
3
+ import { b as BindingRuntime } from '../runtimeTypes-Bt9twc5R.js';
4
+ import { Q as ShaderParameter } from '../render-BMhLssMa.js';
5
5
 
6
6
  interface InteractionOptions {
7
7
  enabled?: () => boolean;
@@ -1,5 +1,5 @@
1
- export { SHADER_DEFAULTS, connectInteraction, createViewer, registerShaderProgram, shaderProgram } from '../chunk-Q4OIDWT6.js';
2
- import '../chunk-UCOMSZPC.js';
1
+ export { SHADER_DEFAULTS, connectInteraction, createViewer, registerShaderProgram, shaderProgram } from '../chunk-NZPLAEDJ.js';
2
+ import '../chunk-LLBTELO3.js';
3
3
  import '../chunk-FYSJMUJI.js';
4
4
  import '../chunk-4SXXMOXR.js';
5
5
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunk3XPNGIMV_cjs = require('../chunk-3XPNGIMV.cjs');
4
- var chunkZE2KRWOM_cjs = require('../chunk-ZE2KRWOM.cjs');
3
+ var chunk6TTSSFCF_cjs = require('../chunk-6TTSSFCF.cjs');
4
+ var chunkPSC7G6NL_cjs = require('../chunk-PSC7G6NL.cjs');
5
5
  require('../chunk-3OF37CZX.cjs');
6
6
  require('../chunk-SKGJXCAO.cjs');
7
7
 
@@ -43,7 +43,7 @@ function showRenderError(container, error) {
43
43
  container.replaceChildren(box);
44
44
  }
45
45
  function mountInteractiveDiagram(container, source, config) {
46
- return chunk3XPNGIMV_cjs.createViewer({
46
+ return chunk6TTSSFCF_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 = chunkZE2KRWOM_cjs.render(source, { padding: config.padding }).svg;
55
+ container.innerHTML = chunkPSC7G6NL_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-CZJzycKw.cjs';
2
- import '../render-BDO4S5uF.cjs';
1
+ import { V as Viewer } from '../types-BnU5MZNj.cjs';
2
+ import '../render-BMhLssMa.cjs';
3
3
 
4
4
  interface DiagramConfig {
5
5
  source: string | null;
@@ -1,5 +1,5 @@
1
- import { V as Viewer } from '../types-Dp8JVZLB.js';
2
- import '../render-BDO4S5uF.js';
1
+ import { V as Viewer } from '../types-CLZFgmcG.js';
2
+ import '../render-BMhLssMa.js';
3
3
 
4
4
  interface DiagramConfig {
5
5
  source: string | null;
@@ -1,5 +1,5 @@
1
- import { createViewer } from '../chunk-Q4OIDWT6.js';
2
- import { render } from '../chunk-UCOMSZPC.js';
1
+ import { createViewer } from '../chunk-NZPLAEDJ.js';
2
+ import { render } from '../chunk-LLBTELO3.js';
3
3
  import '../chunk-FYSJMUJI.js';
4
4
  import '../chunk-4SXXMOXR.js';
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stickyflow",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "Framework-independent SFL parser, render-scene, SVG runtime and interactive viewer.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",