@arcgis/lumina-compiler 4.34.0-next.86 → 4.34.0-next.88

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 (2) hide show
  1. package/dist/index.js +18 -9
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -90,8 +90,8 @@ const Ws = -1, Bs = -2, _s = /["']\.\.?\/[^'"]+/gu, _i = (e, t, i, n) => e.repla
90
90
  const a = u.join(n, r), c = !r.endsWith(".js") && !r.split("/").at(-1).includes(".") ? Bi(t.dir.distComponents, a, "") : a, l = ve(c, t.dir.distComponents, t);
91
91
  if (i === n && a === l)
92
92
  return s;
93
- const d = ce(i, l);
94
- return `${s[0]}${d}`;
93
+ const d = ce(i, l), p = s.endsWith("/") ? `${d}/` : d;
94
+ return `${s[0]}${p}`;
95
95
  }), ce = (e, t) => {
96
96
  const i = u.relative(e, t);
97
97
  return i.startsWith(".") ? i : `.${u.sep}${i}`;
@@ -681,12 +681,21 @@ const kr = "Fragment", it = "DynamicHtmlTag", nt = "DynamicSvgTag", Me = Symbol(
681
681
  * be set as an attribute since "class" matches the attribute name.
682
682
  */
683
683
  "class",
684
- // Microdata attributes (no equivalent properties)
685
- "itemProp",
686
- "itemScope",
687
- "itemType",
688
- "itemId",
689
- "itemRef",
684
+ /*
685
+ * Microdata attributes (no equivalent properties)
686
+ *
687
+ * This is named itemid rather than itemId to avoid conflict with the itemfid
688
+ * prop in arcgis-map, arcgis-scene, arcgis-embeddable-map, and dashboards.
689
+ * See https://devtopia.esri.com/WebGIS/arcgis-web-components/issues/6903
690
+ *
691
+ * The other microdata are lowercase for consistency and to avoid similar
692
+ * conflicts.
693
+ */
694
+ "itemprop",
695
+ "itemscope",
696
+ "itemtype",
697
+ "itemid",
698
+ "itemtef",
690
699
  // RDFa attributes (no equivalent properties)
691
700
  "about",
692
701
  "datatype",
@@ -3481,7 +3490,7 @@ const yi = {
3481
3490
  bindEvent: "event"
3482
3491
  };
3483
3492
  function Ea(e, t, i) {
3484
- return $a.has(e) ? e : e.startsWith("on") && t !== void 0 && o.isJsxExpression(t) && t.expression !== void 0 ? "event" : (Vi.has(e) || e.includes("-")) && (e !== "itemId" || i !== "arcgis-map" && i !== "arcgis-scene") ? "attribute" : !Pt(i) && (Xi.has(e) || (i === yt ? !1 : i === Me ? (
3493
+ return $a.has(e) ? e : e.startsWith("on") && t !== void 0 && o.isJsxExpression(t) && t.expression !== void 0 ? "event" : Vi.has(e) || e.includes("-") ? "attribute" : !Pt(i) && (Xi.has(e) || (i === yt ? !1 : i === Me ? (
3485
3494
  // When tag name is dynamic, we can't help but check if the prop name matches an "always attribute" in any html element
3486
3495
  Object.values(ht).some((r) => r.has(e))
3487
3496
  ) : ht[i]?.has(e) === !0)) ? Yt.has(e) ? "booleanAttribute" : "attribute" : i === "svg" || i === "math" || i === yt || i !== Me && ($t.has(i) || xt.has(i)) ? e in H.common.reflected || e in H.common.stringifiedReflected || e in H.common.stringifiedNonReflected ? "property" : Yt.has(e) ? "booleanAttribute" : "attribute" : "property";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/lumina-compiler",
3
- "version": "4.34.0-next.86",
3
+ "version": "4.34.0-next.88",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -18,9 +18,9 @@
18
18
  ],
19
19
  "license": "SEE LICENSE IN LICENSE.md",
20
20
  "dependencies": {
21
- "@arcgis/api-extractor": "4.34.0-next.86",
22
- "@arcgis/components-build-utils": "4.34.0-next.86",
23
- "@arcgis/toolkit": "4.34.0-next.86",
21
+ "@arcgis/api-extractor": "4.34.0-next.88",
22
+ "@arcgis/components-build-utils": "4.34.0-next.88",
23
+ "@arcgis/toolkit": "4.34.0-next.88",
24
24
  "chalk": "^5.4.1",
25
25
  "esbuild": "^0.25.5",
26
26
  "glob": "^11.0.3",
@@ -31,7 +31,7 @@
31
31
  "vitest-fail-on-console": "^0.7.1"
32
32
  },
33
33
  "peerDependencies": {
34
- "@arcgis/lumina": "~4.34.0-next.86",
34
+ "@arcgis/lumina": "~4.34.0-next.88",
35
35
  "lit": "^3.3.0",
36
36
  "typescript": "~5.8.3",
37
37
  "vite": "^7.0.0",