@gramlot/gramlot 0.3.17 → 0.3.19

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 (41) hide show
  1. package/dist/components/editors/__init__.py +1 -1
  2. package/dist/components/editors/assets/collection.js +1 -1
  3. package/dist/components/editors/assets/index.js +1 -1
  4. package/dist/components/inputs/__init__.py +1 -1
  5. package/dist/components/inputs/assets/collection.js +1 -1
  6. package/dist/components/inputs/assets/index.js +1 -1
  7. package/dist/components/layout/__init__.py +1 -1
  8. package/dist/components/layout/assets/collection.js +2 -2
  9. package/dist/components/layout/assets/index.js +1 -1
  10. package/dist/components/tree/__init__.py +1 -1
  11. package/dist/components/tree/assets/collection.js +1 -1
  12. package/dist/components/tree/assets/index.js +1 -1
  13. package/dist/gramlot.js +1099 -620
  14. package/dist/gramlot.min.js +41 -39
  15. package/package.json +2 -2
  16. package/src/binding/data-binder.js +71 -0
  17. package/src/binding/providers.js +7 -4
  18. package/src/binding/router.js +3 -1
  19. package/src/binding/runtime.js +9 -1
  20. package/src/builder/binding.json +49 -0
  21. package/src/components/window-surface.js +1 -1
  22. package/src/frame-messages.js +142 -73
  23. package/src/gramlot.d.ts +6 -3
  24. package/src/gramlot.js +10 -3
  25. package/src/handlers/rpc-handler.js +1 -1
  26. package/src/handlers/subscriptions-handler.js +20 -14
  27. package/src/index-page-styles.js +1 -1
  28. package/src/page-store-connection.js +220 -0
  29. package/src/server-adapter.d.ts +4 -3
  30. package/src/server-adapter.js +6 -5
  31. package/src/view/labelbox.js +4 -2
  32. package/src/websocket-transport.d.ts +10 -0
  33. package/src/websocket-transport.js +13 -0
  34. package/themes/gramlot-base/theme.css +6 -0
  35. package/themes/gramlot-compact/theme.css +6 -0
  36. package/themes/joanna/theme.css +6 -0
  37. package/themes/mela/theme.css +6 -0
  38. package/themes/mimi/theme.css +6 -0
  39. package/themes/palettes/compact.css +6 -0
  40. package/themes/palettes/joanna.css +6 -0
  41. package/themes/palettes/mimi.css +6 -0
@@ -8,6 +8,6 @@ mygramlot = GramlotCollection(
8
8
  module="assets/index.js",
9
9
  css=(),
10
10
  dependencies=(),
11
- build_id="sha256:e7c2e81d08ac2a5048651f545458a0d7f83af12ac95c98093d7747bfb5472269",
11
+ build_id="sha256:6c9fcc427aadb7ad38a5aaa78cfb6e8be160720ca43e431507d954488d1bc2a8",
12
12
  files=("assets/collection.js", "assets/index.js", "commands.json", "grammar.json",),
13
13
  )
@@ -111533,7 +111533,7 @@ var Bag = class _Bag {
111533
111533
  if (p >= 0) {
111534
111534
  const node = this._nodes.pop(p);
111535
111535
  if (this.backref) {
111536
- this._onNodeDeleted(node, p, reason);
111536
+ this._onNodeDeleted(node, p, null, reason);
111537
111537
  }
111538
111538
  return node;
111539
111539
  }
@@ -1,2 +1,2 @@
1
1
  export {default} from "./collection.js";
2
- export const buildId = "sha256:e7c2e81d08ac2a5048651f545458a0d7f83af12ac95c98093d7747bfb5472269";
2
+ export const buildId = "sha256:6c9fcc427aadb7ad38a5aaa78cfb6e8be160720ca43e431507d954488d1bc2a8";
@@ -8,6 +8,6 @@ mygramlot = GramlotCollection(
8
8
  module="assets/index.js",
9
9
  css=(),
10
10
  dependencies=(),
11
- build_id="sha256:53c60e7e7414fa3a73c067a1dd3e2266cfd9dbf9e83762c65d7a289eda8bdc3b",
11
+ build_id="sha256:6031287aa782b1190f98599925f20ad4af548de7f9a32cdde7448fbac6a4a8ce",
12
12
  files=("assets/collection.js", "assets/index.js", "commands.json", "grammar.json",),
13
13
  )
@@ -14307,7 +14307,7 @@ var Bag = class _Bag {
14307
14307
  if (p >= 0) {
14308
14308
  const node = this._nodes.pop(p);
14309
14309
  if (this.backref) {
14310
- this._onNodeDeleted(node, p, reason);
14310
+ this._onNodeDeleted(node, p, null, reason);
14311
14311
  }
14312
14312
  return node;
14313
14313
  }
@@ -1,2 +1,2 @@
1
1
  export {default} from "./collection.js";
2
- export const buildId = "sha256:53c60e7e7414fa3a73c067a1dd3e2266cfd9dbf9e83762c65d7a289eda8bdc3b";
2
+ export const buildId = "sha256:6031287aa782b1190f98599925f20ad4af548de7f9a32cdde7448fbac6a4a8ce";
@@ -8,6 +8,6 @@ mygramlot = GramlotCollection(
8
8
  module="assets/index.js",
9
9
  css=(),
10
10
  dependencies=(),
11
- build_id="sha256:edc714b4da34a6815ad202a3e3e7945f145415ba4543e058589615c06d295543",
11
+ build_id="sha256:5dc580e4c9fce6697cfbbee96494ae5856595b1646d4b1fc30fab8108592e7d8",
12
12
  files=("assets/collection.js", "assets/index.js", "commands.json", "grammar.json",),
13
13
  )
@@ -16025,7 +16025,7 @@ var Bag = class _Bag {
16025
16025
  if (p >= 0) {
16026
16026
  const node = this._nodes.pop(p);
16027
16027
  if (this.backref) {
16028
- this._onNodeDeleted(node, p, reason);
16028
+ this._onNodeDeleted(node, p, null, reason);
16029
16029
  }
16030
16030
  return node;
16031
16031
  }
@@ -24707,7 +24707,7 @@ var WindowSurface = class {
24707
24707
  .window-surface dialog[data-maximized]{max-width:100vw;max-height:100dvh;border-radius:0}
24708
24708
  .window-surface dialog::backdrop{background:var(--gramlot-window-backdrop,#0006)}
24709
24709
  .window-surface .titlebar{display:flex;align-items:center;gap:4px;flex:none;min-height:max(32px,var(--gramlot-tab-height,32px));padding:3px 5px 3px 12px;
24710
- background:color-mix(in srgb,var(--gramlot-surface,Canvas) 60%,var(--gramlot-surface-subtle,#edf1f7));border-bottom:1px solid var(--gramlot-border,#d5dce5)}
24710
+ background:var(--gramlot-header-background,#303946);color:var(--gramlot-header-color,#fff);border-bottom:1px solid var(--gramlot-border,#d5dce5)}
24711
24711
  .window-surface .title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1em;font-weight:600}
24712
24712
  .window-surface .titlebar[data-movable]{cursor:move;touch-action:none;user-select:none}
24713
24713
  .window-surface button{font:inherit;color:inherit;background:transparent;border:0;border-radius:4px;cursor:pointer;min-width:max(24px,var(--gramlot-touch-target,0px));min-height:max(24px,var(--gramlot-touch-target,0px))}
@@ -1,2 +1,2 @@
1
1
  export {default} from "./collection.js";
2
- export const buildId = "sha256:edc714b4da34a6815ad202a3e3e7945f145415ba4543e058589615c06d295543";
2
+ export const buildId = "sha256:5dc580e4c9fce6697cfbbee96494ae5856595b1646d4b1fc30fab8108592e7d8";
@@ -8,6 +8,6 @@ mygramlot = GramlotCollection(
8
8
  module="assets/index.js",
9
9
  css=(),
10
10
  dependencies=(),
11
- build_id="sha256:7626a8b2e60d71cc4f2c839ae1e727184cecf06e3497874d7d648506049ace12",
11
+ build_id="sha256:475ca03a85a344e18e41a311054edb9199919875ca1c6e76c2f50e4d52af9524",
12
12
  files=("assets/collection.js", "assets/index.js", "commands.json", "grammar.json",),
13
13
  )
@@ -15457,7 +15457,7 @@ var Bag = class _Bag {
15457
15457
  if (p >= 0) {
15458
15458
  const node = this._nodes.pop(p);
15459
15459
  if (this.backref) {
15460
- this._onNodeDeleted(node, p, reason);
15460
+ this._onNodeDeleted(node, p, null, reason);
15461
15461
  }
15462
15462
  return node;
15463
15463
  }
@@ -1,2 +1,2 @@
1
1
  export {default} from "./collection.js";
2
- export const buildId = "sha256:7626a8b2e60d71cc4f2c839ae1e727184cecf06e3497874d7d648506049ace12";
2
+ export const buildId = "sha256:475ca03a85a344e18e41a311054edb9199919875ca1c6e76c2f50e4d52af9524";