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