@brightspace-ui/core 2.67.4 → 2.68.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.
@@ -46,6 +46,10 @@ class ListHeader extends SelectionHeader {
46
46
  'd2l-list-header-extend-separator': this._extendSeparator
47
47
  };
48
48
  }
49
+
50
+ _getSelectionHeaderLabel() {
51
+ return this.localize('components.list-header.label');
52
+ }
49
53
  }
50
54
 
51
55
  customElements.define('d2l-list-header', ListHeader);
@@ -4,6 +4,7 @@ import './selection-select-all-pages.js';
4
4
  import './selection-summary.js';
5
5
  import { css, html, LitElement } from 'lit';
6
6
  import { classMap } from 'lit/directives/class-map.js';
7
+ import { ifDefined } from 'lit/directives/if-defined.js';
7
8
  import { LocalizeCoreElement } from '../../helpers/localize-core-element.js';
8
9
  import { RtlMixin } from '../../mixins/rtl-mixin.js';
9
10
  import { SelectionObserverMixin } from './selection-observer-mixin.js';
@@ -127,9 +128,10 @@ export class SelectionHeader extends SelectionObserverMixin(RtlMixin(LocalizeCor
127
128
 
128
129
  render() {
129
130
  const classes = this._getSelectionHeaderContainerClasses();
131
+ const label = (this._hasActions || !this.noSelection) ? this._getSelectionHeaderLabel() : null;
130
132
  return html`
131
133
  <div class="d2l-sticky-edge"></div>
132
- <div class="${classMap(classes)}">
134
+ <section class="${classMap(classes)}" aria-label="${ifDefined(label)}">
133
135
  ${this.noSelection ? null : html`
134
136
  <d2l-selection-select-all></d2l-selection-select-all>
135
137
  <d2l-selection-summary
@@ -142,7 +144,7 @@ export class SelectionHeader extends SelectionObserverMixin(RtlMixin(LocalizeCor
142
144
  <div class="d2l-selection-header-actions">
143
145
  <d2l-overflow-group opener-type="icon"><slot @slotchange="${this._handleSlotChange}"></slot></d2l-overflow-group>
144
146
  </div>
145
- </div>
147
+ </section>
146
148
  ${!this.noSticky ? html`<div class="d2l-selection-header-shadow"></div>` : null}
147
149
  `;
148
150
  }
@@ -162,6 +164,10 @@ export class SelectionHeader extends SelectionObserverMixin(RtlMixin(LocalizeCor
162
164
  };
163
165
  }
164
166
 
167
+ _getSelectionHeaderLabel() {
168
+ return this.localize('components.selection-header.label');
169
+ }
170
+
165
171
  _handleSlotChange(e) {
166
172
  this._hasActions = (e.target.assignedNodes({ flatten: true }).filter(node => node.nodeType === Node.ELEMENT_NODE).length > 0);
167
173
  }
@@ -106,7 +106,7 @@ class AnimationState {
106
106
  this.styleAttrUse = true;
107
107
  }
108
108
 
109
- const hasHiddenAttr = this.elem.getAttribute('hidden') !== null ? true : false;
109
+ const hasHiddenAttr = this.elem.getAttribute('hidden') !== null;
110
110
  if (hasHiddenAttr) {
111
111
  this.elem.removeAttribute('hidden');
112
112
  }
package/lang/ar.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "يجب أن يكون تاريخ {startLabel} قبل {endLabel}",
66
66
  "components.input-time-range.startTime": "وقت البدء",
67
67
  "components.interactive.instructions": "اضغط على Enter للتفاعل، وEscape للخروج",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "إعادة ترتيب إجراء المادة لـ {name}",
69
70
  "components.list-item-drag-handle.keyboard": "إعادة ترتيب المواد، الموضع الحالي {currentPosition} من أصل {size}. لنقل هذه المادة، اضغط على السهم المتجه إلى أعلى أو السهم المتجه إلى أسفل.",
70
71
  "components.list-item-tooltip.title": "التنقل عبر لوحة المفاتيح للقوائم:",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "تحديد الكل",
100
101
  "components.selection.select-all-items": "تحديد كل المواد الـ {count}.",
101
102
  "components.selection.selected": "تم تحديد {count}",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "مرئي",
103
105
  "components.switch.visibleWithPeriod": "مرئي.",
104
106
  "components.switch.hidden": "مخفي",
package/lang/cy.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "Rhaid i {startLabel} fod cyn {endLabel}",
66
66
  "components.input-time-range.startTime": "Amser Dechrau",
67
67
  "components.interactive.instructions": "Pwyswch Enter i ryngweithio, Escape i adael",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "Aildrefnu gweithred eitem ar gyfer {name}",
69
70
  "components.list-item-drag-handle.keyboard": "Aildrefnu eitemau, safle presennol {currentPosition} allan o {size}. I symud yr eitem hon, pwyswch y saeth i fyny neu'r saeth i lawr.",
70
71
  "components.list-item-tooltip.title": "Llywio Bysellfwrdd ar gyfer Rhestrau:",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "Dewis y Cyfan",
100
101
  "components.selection.select-all-items": "Dewis Pob {count} Eitem",
101
102
  "components.selection.selected": "{count} wedi’u dewis.",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "Gweladwy",
103
105
  "components.switch.visibleWithPeriod": "Gweladwy.",
104
106
  "components.switch.hidden": "Cudd",
package/lang/da.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "{startLabel} skal være før {endLabel}",
66
66
  "components.input-time-range.startTime": "Starttidspunkt",
67
67
  "components.interactive.instructions": "Tryk på Enter for at interagere, Escape for at afslutte",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "Omarranger elementhandling for {name}",
69
70
  "components.list-item-drag-handle.keyboard": "Omarranger element, aktuel position {currentPosition} ud af {size}. For at flytte dette element skal du trykke på pil op eller pil ned.",
70
71
  "components.list-item-tooltip.title": "Tastaturnavigering for lister:",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "Vælg alle",
100
101
  "components.selection.select-all-items": "Vælg alle {count} elementer",
101
102
  "components.selection.selected": "{count} valgt",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "Synlig",
103
105
  "components.switch.visibleWithPeriod": "Synlig.",
104
106
  "components.switch.hidden": "Skjult",
package/lang/de.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "{startLabel} muss vor {endLabel} liegen",
66
66
  "components.input-time-range.startTime": "Startzeit",
67
67
  "components.interactive.instructions": "Drücken Sie die Eingabetaste zum Interagieren oder die Escape-Taste, um das Fenster zu schließen",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "Elementaktion für {name} neu anordnen",
69
70
  "components.list-item-drag-handle.keyboard": "Elemente neu anordnen; aktuelle Position: {currentPosition} von {size}. Drücken Sie zum Bewegen dieses Elements auf den Pfeil nach oben oder den Pfeil nach unten.",
70
71
  "components.list-item-tooltip.title": "Tastaturnavigation für Listen:",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "Alle auswählen",
100
101
  "components.selection.select-all-items": "Alle {count} Elemente auswählen",
101
102
  "components.selection.selected": "{count} ausgewählt",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "Sichtbar",
103
105
  "components.switch.visibleWithPeriod": "Sichtbar.",
104
106
  "components.switch.hidden": "Ausgeblendet",
package/lang/en.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "{startLabel} must be before {endLabel}",
66
66
  "components.input-time-range.startTime": "Start Time",
67
67
  "components.interactive.instructions": "Press Enter to interact, Escape to exit",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "Reorder item action for {name}",
69
70
  "components.list-item-drag-handle.keyboard": "Reorder item, current position {currentPosition} out of {size}. To move this item, press up or down arrows.",
70
71
  "components.list-item-tooltip.title": "Keyboard Navigation for Lists:",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "Select All",
100
101
  "components.selection.select-all-items": "Select All {count} Items",
101
102
  "components.selection.selected": "{count} selected",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "Visible",
103
105
  "components.switch.visibleWithPeriod": "Visible.",
104
106
  "components.switch.hidden": "Hidden",
package/lang/es-es.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "{startLabel} debe ser anterior a {endLabel}",
66
66
  "components.input-time-range.startTime": "Hora de inicio",
67
67
  "components.interactive.instructions": "Pulse Enter para interactuar y Escape para salir",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "Reordenar acción de elemento para {name}",
69
70
  "components.list-item-drag-handle.keyboard": "Reordenar elementos, posición actual {currentPosition} de {size}. Para mover este elemento, pulse las flechas arriba o abajo.",
70
71
  "components.list-item-tooltip.title": "Navegación de listas con el teclado:",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "Seleccionar todo",
100
101
  "components.selection.select-all-items": "Seleccione los {count} elementos",
101
102
  "components.selection.selected": "{count} seleccionados",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "Visible", // mfv-translated
103
105
  "components.switch.visibleWithPeriod": "Visible.", // mfv-translated
104
106
  "components.switch.hidden": "Oculto",
package/lang/es.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "{startLabel} debe estar antes de {endLabel}",
66
66
  "components.input-time-range.startTime": "Hora de inicio",
67
67
  "components.interactive.instructions": "Presione Intro para interactuar y Escape para salir",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "Acción de reordenar elemento de {name}",
69
70
  "components.list-item-drag-handle.keyboard": "Reordenar elemento, posición actual {currentPosition} de {size}. Para mover este elemento, presione las flechas hacia arriba o hacia abajo.",
70
71
  "components.list-item-tooltip.title": "Navegación con el teclado para listas:",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "Seleccionar todo",
100
101
  "components.selection.select-all-items": "Seleccione todos los {count} elementos",
101
102
  "components.selection.selected": "{count} seleccionados",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "Visible", // mfv-translated
103
105
  "components.switch.visibleWithPeriod": "Visible.", // mfv-translated
104
106
  "components.switch.hidden": "Oculto",
package/lang/fr-fr.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "{startLabel} doit être antérieur à {endLabel}",
66
66
  "components.input-time-range.startTime": "Heure de début",
67
67
  "components.interactive.instructions": "Appuyer sur entrée pour interagir, sur Echap pour quitter",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "Action de réorganisation de l'élément pour {name}",
69
70
  "components.list-item-drag-handle.keyboard": "Réordonner les éléments, position actuelle {currentPosition} sur {size}. Pour déplacer cet élément, appuyez sur les flèches vers le haut ou vers le bas.",
70
71
  "components.list-item-tooltip.title": "Navigation au clavier pour les listes :",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "Tout sélectionner",
100
101
  "components.selection.select-all-items": "Sélectionner tous les {count} éléments",
101
102
  "components.selection.selected": "{count} sélectionnés",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "Visible", // mfv-translated
103
105
  "components.switch.visibleWithPeriod": "Visible.", // mfv-translated
104
106
  "components.switch.hidden": "Masqué",
package/lang/fr.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "{startLabel} doit précéder {endLabel}",
66
66
  "components.input-time-range.startTime": "Heure de début",
67
67
  "components.interactive.instructions": "Appuyez sur Entrée pour interagir, sur Échapper pour quitter",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "Réordonner l'action de l'élément pour {name}",
69
70
  "components.list-item-drag-handle.keyboard": "Réorganiser les éléments, position actuelle {currentPosition} de {size}. Pour déplacer cet élément, utilisez les flèches vers le haut et vers le bas.",
70
71
  "components.list-item-tooltip.title": "Navigation au clavier pour les listes :",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "Tout sélectionner",
100
101
  "components.selection.select-all-items": "Sélectionner tous les {count} éléments",
101
102
  "components.selection.selected": "{count} sélectionné(s)",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "Visible", // mfv-translated
103
105
  "components.switch.visibleWithPeriod": "Visible.", // mfv-translated
104
106
  "components.switch.hidden": "Masqué(e)",
package/lang/hi.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "{startLabel} {endLabel} से पहले का होना चाहिए",
66
66
  "components.input-time-range.startTime": "प्रारंभ समय",
67
67
  "components.interactive.instructions": "बातचीत करने के लिए Enter दबाएँ, बाहर निकलने के लिए Escape दबाएँ",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "{name} के लिए आइटम कार्रवाई का क्रम बदलें",
69
70
  "components.list-item-drag-handle.keyboard": "आइटम का क्रम बदलें, {size} में से वर्तमान स्थिति {currentPosition} इस आइटम को ले जाने के लिए, ऊपर या नीचे तीर दबाएँ।",
70
71
  "components.list-item-tooltip.title": "सूचियों के लिए कीबोर्ड नेविगेशन:",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "सभी का चयन करें",
100
101
  "components.selection.select-all-items": "सभी {count} आइटम चुनें।",
101
102
  "components.selection.selected": "{count} चयनित",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "दृश्यमान",
103
105
  "components.switch.visibleWithPeriod": "दृश्यमान।",
104
106
  "components.switch.hidden": "छुपा हुआ",
package/lang/ja.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "{startLabel} は {endLabel} より前にする必要があります",
66
66
  "components.input-time-range.startTime": "開始時刻",
67
67
  "components.interactive.instructions": "対話を始めるには Enter キー、終了するには Esc キーを押します",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "{name} の項目並べ替えアクション",
69
70
  "components.list-item-drag-handle.keyboard": "項目の並べ替え、現在の位置 {currentPosition}、サイズ {size}。この項目を移動するには、上矢印または下矢印を押します。",
70
71
  "components.list-item-tooltip.title": "リストのキーボードナビゲーション:",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "すべて選択",
100
101
  "components.selection.select-all-items": "{count} 個の項目をすべて選択",
101
102
  "components.selection.selected": "{count} 個を選択済み",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "表示",
103
105
  "components.switch.visibleWithPeriod": "表示。",
104
106
  "components.switch.hidden": "非表示",
package/lang/ko.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "{startLabel}은(는) {endLabel} 앞에 있어야 합니다",
66
66
  "components.input-time-range.startTime": "시작 시각",
67
67
  "components.interactive.instructions": "Enter를 눌러 상호 작용하고 Esc를 눌러 종료합니다",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "{name}에 대한 항목 작업 재정렬",
69
70
  "components.list-item-drag-handle.keyboard": "전체 {size}에서 현재 위치 {currentPosition} 항목 재정렬 이 항목을 이동하라면 위쪽 또는 아래쪽 화살표를 누르십시오.",
70
71
  "components.list-item-tooltip.title": "목록에 대한 키보드 탐색:",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "모두 선택",
100
101
  "components.selection.select-all-items": "{count}개 항목을 모두 선택하십시오.",
101
102
  "components.selection.selected": "{count}개 선택됨",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "표시",
103
105
  "components.switch.visibleWithPeriod": "표시.",
104
106
  "components.switch.hidden": "숨김",
package/lang/nl.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "{startLabel} moet voor {endLabel} liggen",
66
66
  "components.input-time-range.startTime": "Starttijd",
67
67
  "components.interactive.instructions": "Druk op Enter om te communiceren, druk op Escape om af te sluiten",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "Itemactie voor {name} opnieuw rangschikken",
69
70
  "components.list-item-drag-handle.keyboard": "Items opnieuw rangschikken, huidige positie {currentPosition} van {size}. Als u dit item wilt verplaatsen, drukt u op de pijl omhoog of omlaag.",
70
71
  "components.list-item-tooltip.title": "Toetsenbordnavigatie voor lijsten:",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "Alles selecteren",
100
101
  "components.selection.select-all-items": "Alle {count} records selecteren",
101
102
  "components.selection.selected": "{count} geselecteerd",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "Zichtbaar",
103
105
  "components.switch.visibleWithPeriod": "Zichtbaar.",
104
106
  "components.switch.hidden": "Verborgen",
package/lang/pt.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "{startLabel} precisa ser anterior a {endLabel}",
66
66
  "components.input-time-range.startTime": "Hora de início",
67
67
  "components.interactive.instructions": "Pressione Enter para interagir, Escape para sair",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "Reordenar ação de item para {name}",
69
70
  "components.list-item-drag-handle.keyboard": "Reordenar item, posição atual {currentPosition} de {size}. Para mover este item, pressione as setas para cima ou para baixo.",
70
71
  "components.list-item-tooltip.title": "Navegação do teclado para listas:",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "Selecionar tudo",
100
101
  "components.selection.select-all-items": "Selecione todos os {count} itens",
101
102
  "components.selection.selected": "{count} selecionados",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "Visível",
103
105
  "components.switch.visibleWithPeriod": "Visível.",
104
106
  "components.switch.hidden": "Oculto",
package/lang/sv.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "{startLabel} måste vara före {endLabel}",
66
66
  "components.input-time-range.startTime": "Starttid",
67
67
  "components.interactive.instructions": "Tryck på Enter för att interagera och Escape för att avsluta",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "Åtgärd för att ändra ordning på objekt för {name}",
69
70
  "components.list-item-drag-handle.keyboard": "Flytta objekt. Aktuell position: {currentPosition} av {size}. Om du vill flytta det här objektet trycker du på uppåt- eller nedåtpilen.",
70
71
  "components.list-item-tooltip.title": "Tangentbordsnavigering för listor:",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "Välj alla",
100
101
  "components.selection.select-all-items": "Välj alla {count} objekt",
101
102
  "components.selection.selected": "{count} valda",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "Synlig",
103
105
  "components.switch.visibleWithPeriod": "Synlig.",
104
106
  "components.switch.hidden": "Dold",
package/lang/tr.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "{startLabel}, {endLabel} tarihinden önce olmalıdır",
66
66
  "components.input-time-range.startTime": "Başlangıç Saati",
67
67
  "components.interactive.instructions": "Etkileşim kurmak için Enter tuşuna, çıkmak için Escape tuşuna basın",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "{name} için öğe eylemini yeniden sırala",
69
70
  "components.list-item-drag-handle.keyboard": "Öğeyi yeniden sırala, mevcut konum {currentPosition} / {size}. Bu öğeyi taşımak için yukarı veya aşağı oklara basın.",
70
71
  "components.list-item-tooltip.title": "Listeler için Klavye ile Gezinme:",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "Tümünü Seç",
100
101
  "components.selection.select-all-items": "{count} Öğenin Tamamını Seç",
101
102
  "components.selection.selected": "{count} öğe seçildi",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "Görünür",
103
105
  "components.switch.visibleWithPeriod": "Görünür.",
104
106
  "components.switch.hidden": "Gizli",
package/lang/zh-cn.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "{startLabel} 必须早于 {endLabel}",
66
66
  "components.input-time-range.startTime": "开始时间",
67
67
  "components.interactive.instructions": "按 Enter 键进行交互,按 Esc 键退出",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "对 {name} 的项目操作重新排序",
69
70
  "components.list-item-drag-handle.keyboard": "对项目重新排序,当前位置 {currentPosition} 超出 {size}。要移动此项目,请按向上或向下箭头。",
70
71
  "components.list-item-tooltip.title": "列表的键盘导航:",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "全选",
100
101
  "components.selection.select-all-items": "选择全部 {count} 个项目",
101
102
  "components.selection.selected": "已选 {count}",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "可见",
103
105
  "components.switch.visibleWithPeriod": "可见。",
104
106
  "components.switch.hidden": "隐藏",
package/lang/zh-tw.js CHANGED
@@ -65,6 +65,7 @@ export default {
65
65
  "components.input-time-range.errorBadInput": "{startLabel} 必須早於 {endLabel}",
66
66
  "components.input-time-range.startTime": "開始時間",
67
67
  "components.interactive.instructions": "按下 Enter 來互動,按下 Escape 即可結束",
68
+ "components.list-header.label": "Actions for list",
68
69
  "components.list-item-drag-handle.default": "重新排序 {name} 的項目動作",
69
70
  "components.list-item-drag-handle.keyboard": "重新排序項目,目前位置 {currentPosition},總共為 {size}。若要移除這個項目,請按向上或向下箭頭。",
70
71
  "components.list-item-tooltip.title": "清單的鍵盤導覽:",
@@ -99,6 +100,7 @@ export default {
99
100
  "components.selection.select-all": "全選",
100
101
  "components.selection.select-all-items": "選取所有 {count} 個項目",
101
102
  "components.selection.selected": "已選取 {count} 個",
103
+ "components.selection-header.label": "Actions for selection",
102
104
  "components.switch.visible": "可見",
103
105
  "components.switch.visibleWithPeriod": "可見。",
104
106
  "components.switch.hidden": "隱藏",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.67.4",
3
+ "version": "2.68.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",
@@ -56,7 +56,7 @@
56
56
  "axe-core": "^4",
57
57
  "chalk": "^5",
58
58
  "eslint": "^8",
59
- "eslint-config-brightspace": "^0.19",
59
+ "eslint-config-brightspace": "^0.20",
60
60
  "glob-all": "^3",
61
61
  "lit-analyzer": "^1",
62
62
  "messageformat-validator": "^2",
@@ -64,7 +64,7 @@
64
64
  "rollup": "^3",
65
65
  "rollup-plugin-copy": "^3",
66
66
  "rollup-plugin-delete": "^2",
67
- "sinon": "^14",
67
+ "sinon": "^15",
68
68
  "stylelint": "^14"
69
69
  },
70
70
  "dependencies": {