@threadlabs/looma 0.2.12 → 0.2.13

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.
@@ -2374,7 +2374,10 @@ ${o}
2374
2374
  }), [d];
2375
2375
  }
2376
2376
  function Rn(e, t, n, r, i, o) {
2377
- if (e.flow?.kind === "if" || e.flow?.kind === "each" || e.flow?.kind === "with" || e.flow?.kind === "match") return hi(e, t, n, r, i);
2377
+ if (e.flow?.kind === "if" || e.flow?.kind === "each" || e.flow?.kind === "with" || e.flow?.kind === "match") {
2378
+ if (i.committed && i.root?.getAttribute("data-looma-managed") === "framework" && o !== void 0) return [o];
2379
+ return hi(e, t, n, r, i);
2380
+ }
2378
2381
  let a = [];
2379
2382
  for (let s of mi(e.flow, t)) a.push(...ve(e, s, n, r, i, o));
2380
2383
  return a;
@@ -2402,7 +2402,10 @@ ${o}
2402
2402
  }), [d];
2403
2403
  }
2404
2404
  function Rn(e, t, n, r, i, o) {
2405
- if (e.flow?.kind === "if" || e.flow?.kind === "each" || e.flow?.kind === "with" || e.flow?.kind === "match") return hi(e, t, n, r, i);
2405
+ if (e.flow?.kind === "if" || e.flow?.kind === "each" || e.flow?.kind === "with" || e.flow?.kind === "match") {
2406
+ if (i.committed && i.root?.getAttribute("data-looma-managed") === "framework" && o !== void 0) return [o];
2407
+ return hi(e, t, n, r, i);
2408
+ }
2406
2409
  let a = [];
2407
2410
  for (let s of mi(e.flow, t)) a.push(...ve(e, s, n, r, i, o));
2408
2411
  return a;
@@ -3,7 +3,7 @@ import {
3
3
  controllerFor,
4
4
  manageComponentLifecycle,
5
5
  registerLoomaPackage
6
- } from "./chunk-VWX2Q4XM.js";
6
+ } from "./chunk-KW2YPKIP.js";
7
7
  import "./chunk-MLKGABMK.js";
8
8
  export {
9
9
  attachLoomaComponent,
package/dist/index.cjs CHANGED
@@ -7166,7 +7166,10 @@ ${o}
7166
7166
  }), [d];
7167
7167
  }
7168
7168
  function Rn(e, t, n, r, i, o) {
7169
- if (e.flow?.kind === "if" || e.flow?.kind === "each" || e.flow?.kind === "with" || e.flow?.kind === "match") return hi(e, t, n, r, i);
7169
+ if (e.flow?.kind === "if" || e.flow?.kind === "each" || e.flow?.kind === "with" || e.flow?.kind === "match") {
7170
+ if (i.committed && i.root?.getAttribute("data-looma-managed") === "framework" && o !== void 0) return [o];
7171
+ return hi(e, t, n, r, i);
7172
+ }
7170
7173
  let a = [];
7171
7174
  for (let s of mi(e.flow, t)) a.push(...ve(e, s, n, r, i, o));
7172
7175
  return a;
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  controllerFor,
8
8
  manageComponentLifecycle,
9
9
  registerLoomaPackage
10
- } from "./chunk-VWX2Q4XM.js";
10
+ } from "./chunk-KW2YPKIP.js";
11
11
  import "./chunk-MLKGABMK.js";
12
12
 
13
13
  // src/input-modality.ts
package/dist/loader.cjs CHANGED
@@ -7142,7 +7142,10 @@ ${o}
7142
7142
  }), [d];
7143
7143
  }
7144
7144
  function Rn(e, t, n, r, i, o) {
7145
- if (e.flow?.kind === "if" || e.flow?.kind === "each" || e.flow?.kind === "with" || e.flow?.kind === "match") return hi(e, t, n, r, i);
7145
+ if (e.flow?.kind === "if" || e.flow?.kind === "each" || e.flow?.kind === "with" || e.flow?.kind === "match") {
7146
+ if (i.committed && i.root?.getAttribute("data-looma-managed") === "framework" && o !== void 0) return [o];
7147
+ return hi(e, t, n, r, i);
7148
+ }
7146
7149
  let a = [];
7147
7150
  for (let s of mi(e.flow, t)) a.push(...ve(e, s, n, r, i, o));
7148
7151
  return a;
package/dist/loader.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-A5MSXQ7Y.js";
5
5
  import {
6
6
  registerLoomaPackage
7
- } from "./chunk-VWX2Q4XM.js";
7
+ } from "./chunk-KW2YPKIP.js";
8
8
  import "./chunk-MLKGABMK.js";
9
9
 
10
10
  // src/loader.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threadlabs/looma",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "type": "module",
5
5
  "description": "Looma declarative components, responsive layout primitives, a complete editor, and supported Vue adapters.",
6
6
  "license": "MIT",
@@ -872,7 +872,7 @@ var UiCombobox_default = /* @__PURE__ */ _defineComponent10({
872
872
  -1
873
873
  /* CACHED */
874
874
  ))
875
- ], 16, _hoisted_19);
875
+ ], -2, _hoisted_19);
876
876
  };
877
877
  }
878
878
  });
@@ -2370,7 +2370,7 @@ var UiTreeItem_default = /* @__PURE__ */ _defineComponent32({
2370
2370
  -1
2371
2371
  /* CACHED */
2372
2372
  ))
2373
- ], 16, _hoisted_129);
2373
+ ], -2, _hoisted_129);
2374
2374
  };
2375
2375
  }
2376
2376
  });
@@ -10,7 +10,7 @@ import {
10
10
  UiEditorToolbar_default,
11
11
  createAdapterComponent,
12
12
  toHTMLElement
13
- } from "../chunk-5USSUZFI.js";
13
+ } from "../chunk-AGMSZCSE.js";
14
14
 
15
15
  // src/editor/index.ts
16
16
  import "@threadlabs/looma/editor";
package/vue/index.js CHANGED
@@ -43,7 +43,7 @@ import {
43
43
  Tree,
44
44
  TreeItem,
45
45
  VUE_ADAPTER_NOTE
46
- } from "./chunk-5USSUZFI.js";
46
+ } from "./chunk-AGMSZCSE.js";
47
47
  export {
48
48
  ADAPTER_COMPONENT_TAG_MAP,
49
49
  AffordanceScope,