@ucalgary-design-system/text-area 1.0.2 → 1.0.3
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 +6 -0
- package/index.js +7 -7
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
package/index.js
CHANGED
|
@@ -204,11 +204,11 @@ class u extends HTMLElement {
|
|
|
204
204
|
this[s] = E ?? ((a = this._$Ej) == null ? void 0 : a.get(s)) ?? E, this._$Em = null;
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
requestUpdate(t, e, r) {
|
|
208
|
-
var
|
|
207
|
+
requestUpdate(t, e, r, s = !1, o) {
|
|
208
|
+
var a;
|
|
209
209
|
if (t !== void 0) {
|
|
210
|
-
const
|
|
211
|
-
if (r ?? (r =
|
|
210
|
+
const n = this.constructor;
|
|
211
|
+
if (s === !1 && (o = this[t]), r ?? (r = n.getPropertyOptions(t)), !((r.hasChanged ?? _)(o, e) || r.useDefault && r.reflect && o === ((a = this._$Ej) == null ? void 0 : a.get(t)) && !this.hasAttribute(n._$Eu(t, r)))) return;
|
|
212
212
|
this.C(t, e, r);
|
|
213
213
|
}
|
|
214
214
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -284,7 +284,7 @@ class u extends HTMLElement {
|
|
|
284
284
|
firstUpdated(t) {
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
-
u.elementStyles = [], u.shadowRootOptions = { mode: "open" }, u[f("elementProperties")] = /* @__PURE__ */ new Map(), u[f("finalized")] = /* @__PURE__ */ new Map(), v == null || v({ ReactiveElement: u }), (c.reactiveElementVersions ?? (c.reactiveElementVersions = [])).push("2.1.
|
|
287
|
+
u.elementStyles = [], u.shadowRootOptions = { mode: "open" }, u[f("elementProperties")] = /* @__PURE__ */ new Map(), u[f("finalized")] = /* @__PURE__ */ new Map(), v == null || v({ ReactiveElement: u }), (c.reactiveElementVersions ?? (c.reactiveElementVersions = [])).push("2.1.2");
|
|
288
288
|
/**
|
|
289
289
|
* @license
|
|
290
290
|
* Copyright 2017 Google LLC
|
|
@@ -297,7 +297,7 @@ const N = { attribute: !0, type: String, converter: $, reflect: !1, hasChanged:
|
|
|
297
297
|
const { name: a } = e;
|
|
298
298
|
return { set(n) {
|
|
299
299
|
const d = t.get.call(this);
|
|
300
|
-
t.set.call(this, n), this.requestUpdate(a, d, i);
|
|
300
|
+
t.set.call(this, n), this.requestUpdate(a, d, i, !0, n);
|
|
301
301
|
}, init(n) {
|
|
302
302
|
return n !== void 0 && this.C(a, void 0, i, n), n;
|
|
303
303
|
} };
|
|
@@ -306,7 +306,7 @@ const N = { attribute: !0, type: String, converter: $, reflect: !1, hasChanged:
|
|
|
306
306
|
const { name: a } = e;
|
|
307
307
|
return function(n) {
|
|
308
308
|
const d = this[a];
|
|
309
|
-
t.call(this, n), this.requestUpdate(a, d, i);
|
|
309
|
+
t.call(this, n), this.requestUpdate(a, d, i, !0, n);
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
312
|
throw Error("Unsupported decorator location: " + r);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ucalgary-design-system/text-area",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "A web component for TextArea",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -16,8 +16,11 @@
|
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
18
|
"@ucalgary-design-system/core": "^1.0.10",
|
|
19
|
-
"@ucalgary-design-system/tokens": "^1.0.0",
|
|
20
19
|
"@ucalgary-design-system/helper-components": "^1.0.2",
|
|
20
|
+
"@ucalgary-design-system/tokens": "^1.0.0",
|
|
21
21
|
"lit": "^3.2.1"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"lerna": "^9.0.3"
|
|
22
25
|
}
|
|
23
26
|
}
|