arethesis 0.1.4 → 0.1.5

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.5
4
+
5
+ ### Fixed
6
+
7
+ - `defineComponent`'s `templateId` option is now used. Components render that template on connect, and return to it after loading or binding. Before, they always looked for `#main`, so a template file without one rendered nothing.
8
+
3
9
  ## 0.1.4
4
10
 
5
11
  ### Fixed
@@ -3267,7 +3267,7 @@ var lt = class extends HTMLElement {
3267
3267
  static bindConfig;
3268
3268
  state = "idle";
3269
3269
  error = null;
3270
- mainTemplateId = "main";
3270
+ mainTemplateId = this.metadata?.templateId ?? "main";
3271
3271
  loadingTemplateId = "loading";
3272
3272
  errorTemplateId = "error";
3273
3273
  #e = null;
@@ -4776,7 +4776,7 @@ function Nt() {
4776
4776
  for (let [t, n] of Object.entries(e)) G.has(t) || G.register(t, n);
4777
4777
  }
4778
4778
  // src/version.ts
4779
- var Z = "0.1.4";
4779
+ var Z = "0.1.5";
4780
4780
  // src/plugins/date-utils.ts
4781
4781
  function Pt(e, t = {}) {
4782
4782
  let n = e instanceof HTMLInputElement ? e : e.querySelector("input"), r = new AbortController();
@@ -5342,4 +5342,4 @@ function Kt(e, t) {
5342
5342
  }
5343
5343
  export { A as $, rt as A, z as B, it as C, et as D, Ze as E, U as F, we as G, L as H, Ve as I, Se as J, j as K, We as L, tt as M, Xe as N, nt as O, W as P, _e as Q, Ke as R, lt as S, ot as T, I as U, R as V, De as W, ye as X, be as Y, ve as Z, _t as _, Bt as a, T as at, ft as b, It as c, _ as ct, Mt as d, u as dt, he as et, jt as f, l as ft, vt as g, i as gt, Ot as h, r as ht, Wt as i, ce as it, $e as j, G as k, Z as l, m as lt, kt as m, a as mt, Kt as n, fe as nt, Vt as o, C as ot, At as p, s as pt, N as q, Gt as r, ue as rt, Lt as s, v as st, Ut as t, k as tt, Nt as u, f as ut, gt as v, at as w, dt as x, ht as y, Ge as z };
5344
5344
 
5345
- //# sourceMappingURL=arethesis-Cu_lOx8o.js.map
5345
+ //# sourceMappingURL=arethesis-jPH9QdQE.js.map