@ucalgary-design-system/fieldset 1.0.5 → 1.0.6

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
  # @ucalgary-design-system/fieldset
2
2
 
3
+ ## 1.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - a50dc9b: Updated dependencies
8
+
3
9
  ## 1.0.5
4
10
 
5
11
  ### Patch Changes
package/index.js CHANGED
@@ -204,11 +204,11 @@ class f extends HTMLElement {
204
204
  this[r] = S ?? ((n = this._$Ej) == null ? void 0 : n.get(r)) ?? S, this._$Em = null;
205
205
  }
206
206
  }
207
- requestUpdate(t, e, s) {
208
- var r;
207
+ requestUpdate(t, e, s, r = !1, o) {
208
+ var n;
209
209
  if (t !== void 0) {
210
- const o = this.constructor, n = this[t];
211
- if (s ?? (s = o.getPropertyOptions(t)), !((s.hasChanged ?? E)(n, e) || s.useDefault && s.reflect && n === ((r = this._$Ej) == null ? void 0 : r.get(t)) && !this.hasAttribute(o._$Eu(t, s)))) return;
210
+ const a = this.constructor;
211
+ if (r === !1 && (o = this[t]), s ?? (s = a.getPropertyOptions(t)), !((s.hasChanged ?? E)(o, e) || s.useDefault && s.reflect && o === ((n = this._$Ej) == null ? void 0 : n.get(t)) && !this.hasAttribute(a._$Eu(t, s)))) return;
212
212
  this.C(t, e, s);
213
213
  }
214
214
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
@@ -284,7 +284,7 @@ class f extends HTMLElement {
284
284
  firstUpdated(t) {
285
285
  }
286
286
  }
287
- f.elementStyles = [], f.shadowRootOptions = { mode: "open" }, f[m("elementProperties")] = /* @__PURE__ */ new Map(), f[m("finalized")] = /* @__PURE__ */ new Map(), g == null || g({ ReactiveElement: f }), (d.reactiveElementVersions ?? (d.reactiveElementVersions = [])).push("2.1.1");
287
+ f.elementStyles = [], f.shadowRootOptions = { mode: "open" }, f[m("elementProperties")] = /* @__PURE__ */ new Map(), f[m("finalized")] = /* @__PURE__ */ new Map(), g == null || g({ ReactiveElement: f }), (d.reactiveElementVersions ?? (d.reactiveElementVersions = [])).push("2.1.2");
288
288
  /**
289
289
  * @license
290
290
  * Copyright 2017 Google LLC
@@ -297,7 +297,7 @@ const I = { attribute: !0, type: String, converter: b, reflect: !1, hasChanged:
297
297
  const { name: n } = e;
298
298
  return { set(a) {
299
299
  const h = t.get.call(this);
300
- t.set.call(this, a), this.requestUpdate(n, h, i);
300
+ t.set.call(this, a), this.requestUpdate(n, h, i, !0, a);
301
301
  }, init(a) {
302
302
  return a !== void 0 && this.C(n, void 0, i, a), a;
303
303
  } };
@@ -306,7 +306,7 @@ const I = { attribute: !0, type: String, converter: b, reflect: !1, hasChanged:
306
306
  const { name: n } = e;
307
307
  return function(a) {
308
308
  const h = this[n];
309
- t.call(this, a), this.requestUpdate(n, h, i);
309
+ t.call(this, a), this.requestUpdate(n, h, i, !0, a);
310
310
  };
311
311
  }
312
312
  throw Error("Unsupported decorator location: " + s);
@@ -330,7 +330,7 @@ let l = class extends C {
330
330
  // Iterate over children (checkboxes/radios) and update disabled/errored states.
331
331
  _updateChildren() {
332
332
  if (this.hasChildNodes())
333
- for (const i of this.children)
333
+ for (const i of Array.from(this.children))
334
334
  i.disabled = this.disabled, i.errors = this.error, i.error = !1, i.required = !1;
335
335
  }
336
336
  // Catch & handle any updates to the fieldset disabled/errored states.
package/package.json CHANGED
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "name": "@ucalgary-design-system/fieldset",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
+ "description": "A web component for Fieldset",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
4
8
  "type": "module",
5
9
  "main": "index.js",
6
10
  "module": "index.js",
@@ -16,8 +20,7 @@
16
20
  "@ucalgary-design-system/tokens": "^1.0.4",
17
21
  "lit": "^3.2.1"
18
22
  },
19
- "description": "A web component for Fieldset",
20
- "publishConfig": {
21
- "access": "public"
23
+ "dependencies": {
24
+ "lerna": "^9.0.3"
22
25
  }
23
26
  }