@brightspace-ui/core 2.122.1 → 2.123.0

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.
@@ -195,6 +195,7 @@ The `d2l-filter-dimension-set` component is the main dimension type that will wo
195
195
  | `loading` | Boolean | Whether the values for this dimension are still loading and a loading spinner should be displayed |
196
196
  | `search-type` | String, default: `automatic` | `automatic` provides basic case-insensitive text comparison searching, `none` disables the search input, and `manual` fires an event for the consumer to handle the search and pass the keys of the values to be displayed |
197
197
  | `select-all` | Boolean | Whether to show a select all checkbox and selection summary for this dimension |
198
+ | `selected-first` | Boolean | Whether to render the selected items at the top of the filter |
198
199
  | `selection-single` | Boolean | Whether only one value can be selected at a time for this dimension |
199
200
  | `text` | String, required | Text for the dimension in the menu |
200
201
  | `value-only-active-filter-text` | Boolean | Whether to hide the dimension in the text sent to active filter subscribers |
@@ -57,11 +57,11 @@
57
57
  </template>
58
58
  </d2l-demo-snippet>
59
59
 
60
- <h2>Single Set Dimension - Header Text</h2>
60
+ <h2>Single Set Dimension - Header Text and Selected First</h2>
61
61
  <d2l-demo-snippet>
62
62
  <template>
63
63
  <d2l-filter id="filter-single">
64
- <d2l-filter-dimension-set key="course" introductory-text="Filter content by courses. Start typing any course name to explore." header-text="Skills Promoted at Your Company" text="Course" select-all>
64
+ <d2l-filter-dimension-set key="course" introductory-text="Filter content by courses. Start typing any course name to explore." header-text="Skills Promoted at Your Company" text="Course" select-all selected-first>
65
65
  <d2l-filter-dimension-set-value key="art" text="Art" count="12"></d2l-filter-dimension-set-value>
66
66
  <d2l-filter-dimension-set-value key="astronomy" text="Astronomy" count="2" selected></d2l-filter-dimension-set-value>
67
67
  <d2l-filter-dimension-set-value key="biology" text="Biology" count="15"></d2l-filter-dimension-set-value>
@@ -94,7 +94,7 @@
94
94
  <d2l-filter-dimension-set-value key="writerscraft" text="Writer's Craft"></d2l-filter-dimension-set-value>
95
95
  <d2l-filter-dimension-set-empty-state slot="search-empty-state" description="Search returned no results." action-text="Do something" action-href="https://d2l.com/"></d2l-filter-dimension-set-empty-state>
96
96
  </d2l-filter-dimension-set>
97
- <d2l-filter-dimension-set key="role" text="Role">
97
+ <d2l-filter-dimension-set key="role" text="Role" selected-first>
98
98
  <d2l-filter-dimension-set-value key="admin" text="Admin" count="0"></d2l-filter-dimension-set-value>
99
99
  <d2l-filter-dimension-set-value key="instructor" text="Instructor" count="22"></d2l-filter-dimension-set-value>
100
100
  <d2l-filter-dimension-set-value key="student" text="Student" count="50"></d2l-filter-dimension-set-value>
@@ -41,6 +41,11 @@ class FilterDimensionSet extends LitElement {
41
41
  * @type {boolean}
42
42
  */
43
43
  selectAll: { type: Boolean, attribute: 'select-all' },
44
+ /**
45
+ * Whether to render the selected items at the top of the filter
46
+ * @type {boolean}
47
+ */
48
+ selectedFirst: { type: Boolean, attribute: 'selected-first' },
44
49
  /**
45
50
  * Whether only one value can be selected at a time for this dimension
46
51
  * @type {boolean}
@@ -66,6 +71,7 @@ class FilterDimensionSet extends LitElement {
66
71
  this.loading = false;
67
72
  this.searchType = 'automatic';
68
73
  this.selectAll = false;
74
+ this.selectedFirst = false;
69
75
  this.selectionSingle = false;
70
76
  this.text = '';
71
77
  this.valueOnlyActiveFilterText = false;
@@ -275,6 +275,18 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
275
275
  `;
276
276
  }
277
277
 
278
+ update(changedProperties) {
279
+ if (
280
+ changedProperties.has('opened')
281
+ && this.opened
282
+ && this._dimensions.length === 1
283
+ && this._dimensions[0].selectedFirst
284
+ ) {
285
+ this._updateDimensionShouldBubble(this._dimensions[0]);
286
+ }
287
+ super.update(changedProperties);
288
+ }
289
+
278
290
  requestFilterClearAll() {
279
291
  this._handleClearAll();
280
292
  }
@@ -505,6 +517,17 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
505
517
  listLabel = dimension.headerText;
506
518
  }
507
519
 
520
+ let selectedListItems = nothing;
521
+ let listItems = nothing;
522
+ if (dimension.selectedFirst) {
523
+ if (listLabel) listLabel = this.localize('components.filter.selectedFirstListLabel', { headerText: dimension.headerText });
524
+ selectedListItems = dimension.values.filter(item => item.shouldBubble).map(item => this._createSetDimensionItem(item));
525
+
526
+ listItems = dimension.values.filter(item => !item.shouldBubble).map(item => this._createSetDimensionItem(item));
527
+ } else {
528
+ listItems = dimension.values.map(item => this._createSetDimensionItem(item));
529
+ }
530
+
508
531
  return html`
509
532
  ${searchResults}
510
533
  <d2l-list
@@ -515,25 +538,30 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
515
538
  label="${ifDefined(listLabel)}"
516
539
  ?selection-single="${dimension.selectionSingle}"
517
540
  separators="between">
541
+ ${selectedListItems}
518
542
  ${listHeader}
519
- ${dimension.values.map(item => html`
520
- <d2l-list-item
521
- ?selection-disabled="${item.disabled}"
522
- ?hidden="${item.hidden}"
523
- key="${item.key}"
524
- label="${item.text}"
525
- selectable
526
- ?selected="${item.selected}">
527
- <div class="d2l-filter-dimension-set-value d2l-body-compact">
528
- <div class="d2l-filter-dimension-set-value-text">${item.text}</div>
529
- ${item.count !== undefined ? html`<div class="d2l-body-small">(${formatNumber(item.count)})</div>` : nothing}
530
- </div>
531
- </d2l-list-item>
532
- `)}
543
+ ${listItems}
533
544
  </d2l-list>
534
545
  `;
535
546
  }
536
547
 
548
+ _createSetDimensionItem(item) {
549
+ return html`
550
+ <d2l-list-item
551
+ ?selection-disabled="${item.disabled}"
552
+ ?hidden="${item.hidden}"
553
+ key="${item.key}"
554
+ label="${item.text}"
555
+ selectable
556
+ ?selected="${item.selected}">
557
+ <div class="d2l-filter-dimension-set-value d2l-body-compact">
558
+ <div class="d2l-filter-dimension-set-value-text">${item.text}</div>
559
+ ${item.count !== undefined ? html`<div class="d2l-body-small">(${formatNumber(item.count)})</div>` : nothing}
560
+ </div>
561
+ </d2l-list-item>
562
+ `;
563
+ }
564
+
537
565
  _dispatchChangeEvent(dimension, change) {
538
566
  this._setDimensionChangeEvent(dimension, change, false);
539
567
 
@@ -689,6 +717,7 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
689
717
  this._activeDimensionKey = e.detail.sourceView.getAttribute('data-key');
690
718
  const dimension = this._dimensions.find(dimension => dimension.key === this._activeDimensionKey);
691
719
  if (dimension.introductoryText) announce(dimension.introductoryText);
720
+ if (dimension.selectedFirst) this._updateDimensionShouldBubble(dimension);
692
721
  this._dispatchDimensionFirstOpenEvent(this._activeDimensionKey);
693
722
  }
694
723
 
@@ -720,6 +749,10 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
720
749
  const searchValue = e.detail.value.trim();
721
750
  dimension.searchValue = searchValue;
722
751
 
752
+ if (dimension.selectedFirst) {
753
+ this._updateDimensionShouldBubble(dimension);
754
+ }
755
+
723
756
  if (dimension.searchType === 'automatic' || searchValue === '') {
724
757
  this._performDimensionSearch(dimension);
725
758
  } else if (dimension.searchType === 'manual') {
@@ -763,6 +796,7 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
763
796
  info.introductoryText = dimension.introductoryText;
764
797
  info.searchType = dimension.searchType;
765
798
  info.searchValue = '';
799
+ info.selectedFirst = dimension.selectedFirst;
766
800
  info.selectionSingle = dimension.selectionSingle;
767
801
  if (dimension.selectAll && !dimension.selectionSingle) info.selectAllIdPrefix = SET_DIMENSION_ID_PREFIX;
768
802
  info.searchEmptyState = dimension.getSearchEmptyState();
@@ -917,6 +951,12 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
917
951
  subscribers.forEach(subscriber => subscriber.updateActiveFilters(this.id, this._activeFilters));
918
952
  }
919
953
 
954
+ _updateDimensionShouldBubble(dimension) {
955
+ for (const value of dimension.values) {
956
+ value.shouldBubble = value.selected;
957
+ }
958
+ }
959
+
920
960
  }
921
961
 
922
962
  customElements.define('d2l-filter', Filter);
@@ -1,7 +1,7 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" height="24" width="24" viewBox="0 0 24 24">
2
- <g fill="#494c4e" fill-rule="evenodd">
3
- <circle cx="18.011" cy="6.989" r="1.996"/>
4
- <path d="M21.005 4.993a1 1 0 0 1-.706-1.7l2-2A1 1 0 1 1 23.708 2.7l-2 2a1 1 0 0 1-.703.293zm-2.994-.998a1 1 0 0 1-1-1V2a1 1 0 0 1 2 0v1a1 1 0 0 1-1 .995zm0 8.984a1 1 0 0 1-1-1v-1a1 1 0 0 1 2 0v1a1 1 0 0 1-1 1z"/>
5
- <path d="M18.011 3.995a1 1 0 0 1-1-1V2a1 1 0 0 1 2 0v1a1 1 0 0 1-1 .995zm0 8.984a1 1 0 0 1-1-1v-1a1 1 0 0 1 2 0v1a1 1 0 0 1-1 1zm-3.993-4.991h-1a1 1 0 0 1 0-2h1a1 1 0 0 1 0 2zm8.982 0h-1a1 1 0 0 1 0-2h1a1 1 0 0 1 0 2zm-7.984-2.995a1 1 0 0 1-.706-.293l-2-2a1 1 0 0 1 1.415-1.408l2 2a1 1 0 0 1-.709 1.701zM23 12.979a1 1 0 0 1-.706-.292l-2-2a1 1 0 0 1 1.412-1.412l2 2A1 1 0 0 1 23 12.979zm-11.021-.998c.237 0 .465.093.633.261l.145.145a.9.9 0 0 1 0 1.267l-9.088 9.088a.9.9 0 0 1-1.267 0l-.145-.142a.9.9 0 0 1 0-1.267l9.089-9.089a.893.893 0 0 1 .633-.261v-.002zm0-1.998a2.873 2.873 0 0 0-2.045.846l-9.088 9.09a2.9 2.9 0 0 0 0 4.09l.145.145a2.895 2.895 0 0 0 4.09 0l9.089-9.088a2.9 2.9 0 0 0 0-4.09l-.146-.146a2.872 2.872 0 0 0-2.045-.846v-.001z"/>
6
- </g>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
+ <g fill="#494c4e">
3
+ <path d="M18.011 7.985a1.996 1.996 0 1 0 0-3.992 1.996 1.996 0 0 0 0 3.992Z"/>
4
+ <path fill-rule="evenodd" d="M20.935 4.063a1 1 0 0 1-.706-1.7l2-2a.999.999 0 1 1 1.409 1.407l-2 2a1 1 0 0 1-.703.293Zm-2.924-1.068a1 1 0 0 1-1-1V1a1 1 0 1 1 2 0v1a1 1 0 0 1-1 .995Zm0 8.984a1 1 0 0 1-1-1v-1a1 1 0 1 1 2 0v1a1 1 0 0 1-1 1Z" clip-rule="evenodd"/>
5
+ <path fill-rule="evenodd" d="M18.011 2.995a1 1 0 0 1-1-1V1a1 1 0 0 1 2 0v1a1 1 0 0 1-1 .995Zm0 8.984a1 1 0 0 1-1-1v-1a1 1 0 0 1 2 0v1a1 1 0 0 1-1 1Zm-3.993-4.991h-1a1 1 0 1 1 0-2h1a1 1 0 1 1 0 2Zm8.982 0h-1a1 1 0 1 1 0-2h1a1 1 0 1 1 0 2Zm-7.984-2.995a1 1 0 0 1-.706-.293l-2-2A1 1 0 0 1 13.725.292l2 2a1 1 0 0 1-.709 1.701ZM23 11.979a1 1 0 0 1-.706-.292l-2-2a1 1 0 0 1 1.412-1.412l2 2A1 1 0 0 1 23 11.979Zm-11.021-.998c.237 0 .465.093.633.261l.145.145a.9.9 0 0 1 0 1.267l-9.088 9.088a.9.9 0 0 1-1.267 0l-.145-.142a.9.9 0 0 1 0-1.267l9.089-9.089a.893.893 0 0 1 .633-.261v-.002Zm0-1.998a2.873 2.873 0 0 0-2.045.846l-9.088 9.09a2.9 2.9 0 0 0 0 4.09l.145.145a2.895 2.895 0 0 0 4.09 0l9.089-9.088a2.9 2.9 0 0 0 0-4.09l-.146-.146a2.872 2.872 0 0 0-2.045-.846v-.001Z" clip-rule="evenodd"/>
6
+ </g>
7
7
  </svg>
@@ -3796,6 +3796,12 @@
3796
3796
  "type": "boolean",
3797
3797
  "default": "false"
3798
3798
  },
3799
+ {
3800
+ "name": "selected-first",
3801
+ "description": "Whether to render the selected items at the top of the filter",
3802
+ "type": "boolean",
3803
+ "default": "false"
3804
+ },
3799
3805
  {
3800
3806
  "name": "selection-single",
3801
3807
  "description": "Whether only one value can be selected at a time for this dimension",
@@ -3857,6 +3863,13 @@
3857
3863
  "type": "boolean",
3858
3864
  "default": "false"
3859
3865
  },
3866
+ {
3867
+ "name": "selectedFirst",
3868
+ "attribute": "selected-first",
3869
+ "description": "Whether to render the selected items at the top of the filter",
3870
+ "type": "boolean",
3871
+ "default": "false"
3872
+ },
3860
3873
  {
3861
3874
  "name": "selectionSingle",
3862
3875
  "attribute": "selection-single",
@@ -1,9 +1,9 @@
1
1
  // auto-generated
2
- export const val = `<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24" viewBox="0 0 24 24">
3
- <g fill="#494c4e" fill-rule="evenodd">
4
- <circle cx="18.011" cy="6.989" r="1.996"/>
5
- <path d="M21.005 4.993a1 1 0 0 1-.706-1.7l2-2A1 1 0 1 1 23.708 2.7l-2 2a1 1 0 0 1-.703.293zm-2.994-.998a1 1 0 0 1-1-1V2a1 1 0 0 1 2 0v1a1 1 0 0 1-1 .995zm0 8.984a1 1 0 0 1-1-1v-1a1 1 0 0 1 2 0v1a1 1 0 0 1-1 1z"/>
6
- <path d="M18.011 3.995a1 1 0 0 1-1-1V2a1 1 0 0 1 2 0v1a1 1 0 0 1-1 .995zm0 8.984a1 1 0 0 1-1-1v-1a1 1 0 0 1 2 0v1a1 1 0 0 1-1 1zm-3.993-4.991h-1a1 1 0 0 1 0-2h1a1 1 0 0 1 0 2zm8.982 0h-1a1 1 0 0 1 0-2h1a1 1 0 0 1 0 2zm-7.984-2.995a1 1 0 0 1-.706-.293l-2-2a1 1 0 0 1 1.415-1.408l2 2a1 1 0 0 1-.709 1.701zM23 12.979a1 1 0 0 1-.706-.292l-2-2a1 1 0 0 1 1.412-1.412l2 2A1 1 0 0 1 23 12.979zm-11.021-.998c.237 0 .465.093.633.261l.145.145a.9.9 0 0 1 0 1.267l-9.088 9.088a.9.9 0 0 1-1.267 0l-.145-.142a.9.9 0 0 1 0-1.267l9.089-9.089a.893.893 0 0 1 .633-.261v-.002zm0-1.998a2.873 2.873 0 0 0-2.045.846l-9.088 9.09a2.9 2.9 0 0 0 0 4.09l.145.145a2.895 2.895 0 0 0 4.09 0l9.089-9.088a2.9 2.9 0 0 0 0-4.09l-.146-.146a2.872 2.872 0 0 0-2.045-.846v-.001z"/>
7
- </g>
2
+ export const val = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
3
+ <g fill="#494c4e">
4
+ <path d="M18.011 7.985a1.996 1.996 0 1 0 0-3.992 1.996 1.996 0 0 0 0 3.992Z"/>
5
+ <path fill-rule="evenodd" d="M20.935 4.063a1 1 0 0 1-.706-1.7l2-2a.999.999 0 1 1 1.409 1.407l-2 2a1 1 0 0 1-.703.293Zm-2.924-1.068a1 1 0 0 1-1-1V1a1 1 0 1 1 2 0v1a1 1 0 0 1-1 .995Zm0 8.984a1 1 0 0 1-1-1v-1a1 1 0 1 1 2 0v1a1 1 0 0 1-1 1Z" clip-rule="evenodd"/>
6
+ <path fill-rule="evenodd" d="M18.011 2.995a1 1 0 0 1-1-1V1a1 1 0 0 1 2 0v1a1 1 0 0 1-1 .995Zm0 8.984a1 1 0 0 1-1-1v-1a1 1 0 0 1 2 0v1a1 1 0 0 1-1 1Zm-3.993-4.991h-1a1 1 0 1 1 0-2h1a1 1 0 1 1 0 2Zm8.982 0h-1a1 1 0 1 1 0-2h1a1 1 0 1 1 0 2Zm-7.984-2.995a1 1 0 0 1-.706-.293l-2-2A1 1 0 0 1 13.725.292l2 2a1 1 0 0 1-.709 1.701ZM23 11.979a1 1 0 0 1-.706-.292l-2-2a1 1 0 0 1 1.412-1.412l2 2A1 1 0 0 1 23 11.979Zm-11.021-.998c.237 0 .465.093.633.261l.145.145a.9.9 0 0 1 0 1.267l-9.088 9.088a.9.9 0 0 1-1.267 0l-.145-.142a.9.9 0 0 1 0-1.267l9.089-9.089a.893.893 0 0 1 .633-.261v-.002Zm0-1.998a2.873 2.873 0 0 0-2.045.846l-9.088 9.09a2.9 2.9 0 0 0 0 4.09l.145.145a2.895 2.895 0 0 0 4.09 0l9.089-9.088a2.9 2.9 0 0 0 0-4.09l-.146-.146a2.872 2.872 0 0 0-2.045-.846v-.001Z" clip-rule="evenodd"/>
7
+ </g>
8
8
  </svg>
9
9
  `;
package/lang/ar.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "عوامل التصفية",
22
22
  "components.filter.noFilters": "ما من عوامل تصفية متوفرة",
23
23
  "components.filter.searchResults": "{number, plural, =0 {ما من نتائج بحث} one {{number} نتيجة بحث}‏ other {{number} من نتائج البحث}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "التصفية حسب: {filterName}",
25
26
  "components.form-element.defaultError": "{label} غير صالحة.",
26
27
  "components.form-element.defaultFieldLabel": "الحقل",
package/lang/cy.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "Hidlyddion",
22
22
  "components.filter.noFilters": "Dim hidlyddion ar gael",
23
23
  "components.filter.searchResults": "{number, plural, =0 {Dim canlyniadau chwilio} one {{number} canlyniad chwilio} other {{number} canlyniadau chwilio}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "Hidlo yn ôl: {filterName}",
25
26
  "components.form-element.defaultError": "Mae {label} yn annilys.",
26
27
  "components.form-element.defaultFieldLabel": "Maes",
package/lang/da.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "Filtre",
22
22
  "components.filter.noFilters": "Ingen tilgængelige filtre",
23
23
  "components.filter.searchResults": "{number, plural, =0 {Ingen søgeresultater} one {{number} søgeresultat} other {{number} søgeresultater}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "Filtrer efter: {filterName}",
25
26
  "components.form-element.defaultError": "{label} er ugyldigt.",
26
27
  "components.form-element.defaultFieldLabel": "Felt",
package/lang/de.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "Filter",
22
22
  "components.filter.noFilters": "Keine verfügbaren Filter",
23
23
  "components.filter.searchResults": "{number, plural, =0 {Kein Suchergebnis} one {{number} Suchergebnis} other {{number} Suchergebnisse}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "Filtern nach: {filterName}",
25
26
  "components.form-element.defaultError": "{label} ist ungültig.",
26
27
  "components.form-element.defaultFieldLabel": "Feld",
package/lang/en-gb.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "Filters",
22
22
  "components.filter.noFilters": "No available filters",
23
23
  "components.filter.searchResults": "{number, plural, =0 {No search results} one {{number} search result} other {{number} search results}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "Filter by: {filterName}",
25
26
  "components.form-element.defaultError": "{label} is invalid.",
26
27
  "components.form-element.defaultFieldLabel": "Field",
package/lang/en.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "Filters",
22
22
  "components.filter.noFilters": "No available filters",
23
23
  "components.filter.searchResults": "{number, plural, =0 {No search results} one {{number} search result} other {{number} search results}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "Filter by: {filterName}",
25
26
  "components.form-element.defaultError": "{label} is invalid.",
26
27
  "components.form-element.defaultFieldLabel": "Field",
package/lang/es-es.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "Filtros",
22
22
  "components.filter.noFilters": "No hay filtros disponibles",
23
23
  "components.filter.searchResults": "{number, plural, =0 {No hay resultados de búsqueda} one {{number} resultado de búsqueda} other {{number} resultados de búsqueda}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "Filtrar por: {filterName}",
25
26
  "components.form-element.defaultError": "{label} no es válido.",
26
27
  "components.form-element.defaultFieldLabel": "Campo",
package/lang/es.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "Filtros",
22
22
  "components.filter.noFilters": "No hay filtros disponibles",
23
23
  "components.filter.searchResults": "{number, plural, =0 {No se encontraron resultados de búsqueda} one {{number} resultado de búsqueda} other {{number} resultados de búsqueda}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "Filtrar por: {filterName}",
25
26
  "components.form-element.defaultError": "{label} no es válida.",
26
27
  "components.form-element.defaultFieldLabel": "Campo",
package/lang/fr-fr.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "Filtres",
22
22
  "components.filter.noFilters": "Aucun filtre disponible",
23
23
  "components.filter.searchResults": "{number, plural, =0 {Aucun résultat de recherche} one {{number} résultat de recherche} other {{number} résultats de recherche}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "Filtrer par : {filterName}",
25
26
  "components.form-element.defaultError": "{label} n'est pas valide.",
26
27
  "components.form-element.defaultFieldLabel": "Champ",
package/lang/fr.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "Filtres",
22
22
  "components.filter.noFilters": "Aucun filtre disponible",
23
23
  "components.filter.searchResults": "{number, plural, =0 {Aucun résultat de recherche} one {{number} résultat de recherche} other {{number} résultats de recherche}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "Filtrer par : {filterName}",
25
26
  "components.form-element.defaultError": "{label} n'est pas valide.",
26
27
  "components.form-element.defaultFieldLabel": "Champ",
package/lang/hi.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "फ़िल्टर्स",
22
22
  "components.filter.noFilters": "कोई उपलब्ध फ़िल्टर्स नहीं",
23
23
  "components.filter.searchResults": "{number, plural, =0 {कोई खोज परिणाम नहीं} one {{number} खोज परिणाम} other {{number} खोज परिणाम}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "इसके अनुसार फ़िल्टर करें: {filterName}",
25
26
  "components.form-element.defaultError": "{label} अमान्य है।",
26
27
  "components.form-element.defaultFieldLabel": "फ़ील्ड",
package/lang/ja.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "フィルタ",
22
22
  "components.filter.noFilters": "使用可能なフィルタはありません",
23
23
  "components.filter.searchResults": "{number, plural, =0 {検索結果なし} other {{number} 件の検索結果}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "フィルタ条件: {filterName}",
25
26
  "components.form-element.defaultError": "{label} は無効です。",
26
27
  "components.form-element.defaultFieldLabel": "フィールド",
package/lang/ko.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "개 필터",
22
22
  "components.filter.noFilters": "사용 가능한 필터가 없습니다",
23
23
  "components.filter.searchResults": "{number, plural, =0 {검색 결과 없음} other {{number}개 검색 결과}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "필터 기준: {filterName}",
25
26
  "components.form-element.defaultError": "{label}이(가) 잘못되었습니다.",
26
27
  "components.form-element.defaultFieldLabel": "필드",
package/lang/nl.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "Filters", // mfv-translated
22
22
  "components.filter.noFilters": "Geen beschikbare filters",
23
23
  "components.filter.searchResults": "{number, plural, =0 {Geen zoekresultaten} one {{number} zoekresultaat} other {{number} zoekresultaten}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "Filter op {filterName}",
25
26
  "components.form-element.defaultError": "{label} is ongeldig.",
26
27
  "components.form-element.defaultFieldLabel": "Veld",
package/lang/pt.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "Filtros",
22
22
  "components.filter.noFilters": "Não há filtros disponíveis",
23
23
  "components.filter.searchResults": "{number, plural, =0 {Sem resultados para a pesquisa} one {{number} resultado para a pesquisa} other {{number} resultados para a pesquisa}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "Filtrar por: {filterName}",
25
26
  "components.form-element.defaultError": "{label} é inválido.",
26
27
  "components.form-element.defaultFieldLabel": "Campo",
package/lang/sv.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "Filter",
22
22
  "components.filter.noFilters": "Inga tillgängliga filter",
23
23
  "components.filter.searchResults": "{number, plural, =0 {Inga sökresultat} one {{number} sökresultat} other {{number} sökresultat}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "Filtrera efter: {filterName}",
25
26
  "components.form-element.defaultError": "{label} är ogiltig.",
26
27
  "components.form-element.defaultFieldLabel": "Fält",
package/lang/tr.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "Filtre",
22
22
  "components.filter.noFilters": "Uygun filtre yok",
23
23
  "components.filter.searchResults": "{number, plural, =0 {Arama sonucu yok} one {{number} arama sonucu} other {{number} arama sonucu}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "Filtreleme ölçütü: {filterName}",
25
26
  "components.form-element.defaultError": "{label} geçersiz.",
26
27
  "components.form-element.defaultFieldLabel": "Alan",
package/lang/zh-cn.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "个筛选条件",
22
22
  "components.filter.noFilters": "无可用筛选器",
23
23
  "components.filter.searchResults": "{number, plural, =0 {无搜索结果} other {{number} 个搜索结果}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "筛选依据:{filterName}",
25
26
  "components.form-element.defaultError": "{label} 无效。",
26
27
  "components.form-element.defaultFieldLabel": "字段",
package/lang/zh-tw.js CHANGED
@@ -21,6 +21,7 @@ export default {
21
21
  "components.filter.filters": "篩選器",
22
22
  "components.filter.noFilters": "沒有可用的篩選條件",
23
23
  "components.filter.searchResults": "{number, plural, =0 {無搜尋結果} other {{number} 個搜尋結果}}",
24
+ "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
24
25
  "components.filter.singleDimensionDescription": "按此條件篩選:{filterName}",
25
26
  "components.form-element.defaultError": "{label} 無效。",
26
27
  "components.form-element.defaultFieldLabel": "欄位",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.122.1",
3
+ "version": "2.123.0",
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",