@brightspace-ui-labs/facet-filter-sort 4.1.1 → 4.1.5

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.
@@ -155,7 +155,8 @@ class LabsFilterDropdownCategory extends LocalizeStaticMixin(TabPanelMixin(LitEl
155
155
  const oldVal = this._categoryText;
156
156
  if (oldVal !== val) {
157
157
  this._categoryText = val;
158
- this.requestUpdate().then(() => {
158
+ this.requestUpdate();
159
+ this.updateComplete.then(() => {
159
160
  this._updateTabText(this._categoryText, this.selectedOptionCount);
160
161
  });
161
162
  }
@@ -169,7 +170,8 @@ class LabsFilterDropdownCategory extends LocalizeStaticMixin(TabPanelMixin(LitEl
169
170
  const oldVal = this._selectedOptionCount;
170
171
  if (oldVal !== val) {
171
172
  this._selectedOptionCount = val;
172
- this.requestUpdate().then(() => {
173
+ this.requestUpdate();
174
+ this.updateComplete.then(() => {
173
175
  this._updateTabText(this.categoryText, this._selectedOptionCount);
174
176
  });
175
177
  }
@@ -190,6 +192,7 @@ class LabsFilterDropdownCategory extends LocalizeStaticMixin(TabPanelMixin(LitEl
190
192
  return html`
191
193
  <div class="d2l-labs-filter-dropdown-page-search" ?hidden="${this.disableSearch}">
192
194
  <d2l-input-search @d2l-input-search-searched="${this._handleSearchChange}"
195
+ label="${this.localize('searchBy', 'category', this.categoryText)}"
193
196
  placeholder="${this.localize('searchBy', 'category', this.categoryText)}"
194
197
  value="${ifDefined(this.searchValue)}">
195
198
  </d2l-input-search>
package/package.json CHANGED
@@ -34,11 +34,11 @@
34
34
  "polymer-cli": "^1",
35
35
  "wct-browser-legacy": "^1"
36
36
  },
37
- "version": "4.1.1",
37
+ "version": "4.1.5",
38
38
  "dependencies": {
39
39
  "@brightspace-ui/core": "^1",
40
40
  "d2l-localize-behavior": "BrightspaceUI/localize-behavior#semver:^2",
41
- "@brightspace-ui-labs/multi-select": "BrightspaceUILabs/multi-select#semver:^4",
41
+ "@brightspace-ui-labs/multi-select": "^5",
42
42
  "d2l-polymer-behaviors": "Brightspace/d2l-polymer-behaviors-ui#semver:^2",
43
43
  "d2l-typography": "BrightspaceUI/typography#semver:^7",
44
44
  "lit-element": "^2",