@brightspace-ui/core 2.85.6 → 2.85.8

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.
@@ -125,6 +125,11 @@ export const HierarchicalViewMixin = superclass => class extends superclass {
125
125
  }
126
126
 
127
127
  requestAnimationFrame(() => {
128
+ /* If the view was disconnected before this could run, just bail. There can be some
129
+ odd race conditions with d2l-overflow-group where this can happen and results in
130
+ JavaScript errors finding the root view. */
131
+ if (!this.isConnected) return;
132
+
128
133
  if (typeof(IntersectionObserver) !== 'function') {
129
134
  this.__autoSize(this);
130
135
  }
@@ -9,12 +9,6 @@ export const ListItemCheckboxMixin = superclass => class extends SkeletonMixin(s
9
9
 
10
10
  static get properties() {
11
11
  return {
12
- /**
13
- * **Selection:** Disables the input
14
- * @type {boolean}
15
- * @ignore
16
- */
17
- disabled: { type: Boolean }, // deprecated
18
12
  /**
19
13
  * **Selection:** Disables selection
20
14
  * @type {boolean}
@@ -101,10 +95,6 @@ export const ListItemCheckboxMixin = superclass => class extends SkeletonMixin(s
101
95
  if (!suppressEvent) this._dispatchSelected(selected);
102
96
  }
103
97
 
104
- willUpdate(changedProperties) {
105
- if (changedProperties.has('disabled')) this.selectionDisabled = this.disabled;
106
- }
107
-
108
98
  async _dispatchSelected(value) {
109
99
  /* wait for internal state to be updated in case of action-click case so that a consumer
110
100
  calling getSelectionInfo will get the correct state */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.85.6",
3
+ "version": "2.85.8",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",