@brightspace-ui/labs 2.11.2 → 2.11.4

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/package.json CHANGED
@@ -79,5 +79,5 @@
79
79
  "@lit/context": "^1.1.3",
80
80
  "lit": "^3"
81
81
  },
82
- "version": "2.11.2"
82
+ "version": "2.11.4"
83
83
  }
@@ -111,6 +111,8 @@ class AttributePicker extends ArrowKeysMixin(LocalizeLabsElement(LitElement)) {
111
111
  box-shadow: none;
112
112
  box-sizing: border-box;
113
113
  flex-grow: 1;
114
+ font-family: inherit;
115
+ font-size: inherit;
114
116
  min-height: 1.55rem;
115
117
  outline: none;
116
118
  padding: 0 !important;
@@ -12,7 +12,8 @@ export default class ReactiveStore {
12
12
  constructor() {
13
13
  this._pubSub = new PubSub();
14
14
  this._state = {};
15
- this._defineProperties(this.constructor.properties);
15
+
16
+ this.#defineProperties(this.constructor.prototype);
16
17
  }
17
18
 
18
19
  createConsumer() {
@@ -36,7 +37,13 @@ export default class ReactiveStore {
36
37
  this._pubSub.unsubscribe(callback);
37
38
  }
38
39
 
39
- _defineProperties(properties) {
40
+ #defineProperties(proto) {
41
+ if (!(proto instanceof ReactiveStore)) return;
42
+ this.#defineProperties(Object.getPrototypeOf(proto));
43
+
44
+ const { properties } = proto.constructor;
45
+ if (!properties) return;
46
+
40
47
  Object.keys(properties).forEach((property) => {
41
48
  Object.defineProperty(this, property, {
42
49
  get() {