@brightspace-ui/core 3.220.1 → 3.220.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.
@@ -69,8 +69,8 @@ class ListDemoNested extends LitElement {
69
69
  `;
70
70
  }
71
71
 
72
- updated(changedProperties) {
73
- super.updated(changedProperties);
72
+ willUpdate(changedProperties) {
73
+ super.willUpdate(changedProperties);
74
74
  if (changedProperties.has('demoItemKey')) {
75
75
  this._items = listDemos[this.demoItemKey] ?? [];
76
76
  this._loadedItems = this._items;
@@ -192,8 +192,8 @@ class DemoListItemCustom extends ListItemMixin(LitElement) {
192
192
  return this._renderListItem(itemTemplates);
193
193
  }
194
194
 
195
- updated(changedProperties) {
196
- super.updated(changedProperties);
195
+ willUpdate(changedProperties) {
196
+ super.willUpdate(changedProperties);
197
197
  if (changedProperties.has('key')) {
198
198
  this.label = `Label for ${this.key}`;
199
199
  }
@@ -89,7 +89,8 @@ export const ListItemExpandCollapseMixin = superclass => class extends SkeletonM
89
89
  }
90
90
  }
91
91
 
92
- updated(changedProperties) {
92
+ willUpdate(changedProperties) {
93
+ super.willUpdate(changedProperties);
93
94
  if (changedProperties.has('_siblingHasNestedItems') || changedProperties.has('expandable')) {
94
95
  this._renderExpandCollapseSlot = this.expandable || this._siblingHasNestedItems;
95
96
  }
@@ -260,9 +260,8 @@ class List extends PageableMixin(SelectionMixin(LitElement)) {
260
260
  ${this._renderPagerContainer()}
261
261
  `;
262
262
  }
263
-
264
- updated(changedProperties) {
265
- super.updated(changedProperties);
263
+ willUpdate(changedProperties) {
264
+ super.willUpdate(changedProperties);
266
265
  if (changedProperties.has('breakpoints') && changedProperties.get('breakpoints') !== undefined) {
267
266
  this.resizedCallback(this.offsetWidth, true);
268
267
  }
@@ -21,8 +21,8 @@ export const PageableMixin = superclass => class extends CollectionMixin(supercl
21
21
  });
22
22
  }
23
23
 
24
- firstUpdated(changedProperties) {
25
- super.firstUpdated(changedProperties);
24
+ firstUpdated() {
25
+ super.firstUpdated();
26
26
  this._updateItemShowingCount();
27
27
  }
28
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.220.1",
3
+ "version": "3.220.2",
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",