@brightspace-ui/core 2.71.3 → 2.71.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.
@@ -203,7 +203,8 @@ export const DialogMixin = superclass => class extends RtlMixin(superclass) {
203
203
  if (!this.shadowRoot) return;
204
204
  const content = this.shadowRoot.querySelector('.d2l-dialog-content');
205
205
  if (content) {
206
- const elementToFocus = this._findAutofocusElement(content) ?? getNextFocusable(content);
206
+ const autofocusElem = this._findAutofocusElement(content);
207
+ const elementToFocus = autofocusElem ? autofocusElem : getNextFocusable(content);
207
208
  if (isComposedAncestor(this.shadowRoot.querySelector('.d2l-dialog-inner'), elementToFocus)) {
208
209
  forceFocusVisible(elementToFocus, false);
209
210
  return;
@@ -34,7 +34,7 @@ export const SelectionObserverMixin = superclass => class extends superclass {
34
34
  requestAnimationFrame(() => {
35
35
  if (this.selectionFor) {
36
36
  this._handleSelectionFor();
37
- return this._provider?.subscribeObserver(this);
37
+ return this._provider ? this._provider.subscribeObserver(this) : undefined;
38
38
  }
39
39
 
40
40
  const evt = new CustomEvent('d2l-selection-observer-subscribe', {
package/lang/ar.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "يجب أن يكون تاريخ {startLabel} قبل {endLabel}",
65
65
  "components.input-time-range.startTime": "وقت البدء",
66
66
  "components.interactive.instructions": "اضغط على Enter للتفاعل، وEscape للخروج",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "إجراءات القائمة",
68
68
  "components.list-item-drag-handle.default": "إعادة ترتيب إجراء المادة لـ {name}",
69
69
  "components.list-item-drag-handle.keyboard": "إعادة ترتيب المواد، الموضع الحالي {currentPosition} من أصل {size}. لنقل هذه المادة، اضغط على السهم المتجه إلى أعلى أو السهم المتجه إلى أسفل.",
70
70
  "components.list-item-tooltip.title": "التنقل عبر لوحة المفاتيح للقوائم:",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "تحديد الكل",
100
100
  "components.selection.select-all-items": "تحديد كل المواد الـ {count}.",
101
101
  "components.selection.selected": "تم تحديد {count}",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "إجراءات التحديد",
103
103
  "components.switch.visible": "مرئي",
104
104
  "components.switch.visibleWithPeriod": "مرئي.",
105
105
  "components.switch.hidden": "مخفي",
package/lang/cy.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "Rhaid i {startLabel} fod cyn {endLabel}",
65
65
  "components.input-time-range.startTime": "Amser Dechrau",
66
66
  "components.interactive.instructions": "Pwyswch Enter i ryngweithio, Escape i adael",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "Camau gweithredu ar gyfer rhestr",
68
68
  "components.list-item-drag-handle.default": "Aildrefnu gweithred eitem ar gyfer {name}",
69
69
  "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
70
  "components.list-item-tooltip.title": "Llywio Bysellfwrdd ar gyfer Rhestrau:",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "Dewis y Cyfan",
100
100
  "components.selection.select-all-items": "Dewis Pob {count} Eitem",
101
101
  "components.selection.selected": "{count} wedi’u dewis.",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "Camau gweithredu ar gyfer detholiad",
103
103
  "components.switch.visible": "Gweladwy",
104
104
  "components.switch.visibleWithPeriod": "Gweladwy.",
105
105
  "components.switch.hidden": "Cudd",
package/lang/da.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "{startLabel} skal være før {endLabel}",
65
65
  "components.input-time-range.startTime": "Starttidspunkt",
66
66
  "components.interactive.instructions": "Tryk på Enter for at interagere, Escape for at afslutte",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "Handlinger for liste",
68
68
  "components.list-item-drag-handle.default": "Omarranger elementhandling for {name}",
69
69
  "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
70
  "components.list-item-tooltip.title": "Tastaturnavigering for lister:",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "Vælg alle",
100
100
  "components.selection.select-all-items": "Vælg alle {count} elementer",
101
101
  "components.selection.selected": "{count} valgt",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "Handlinger for valg",
103
103
  "components.switch.visible": "Synlig",
104
104
  "components.switch.visibleWithPeriod": "Synlig.",
105
105
  "components.switch.hidden": "Skjult",
package/lang/de.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "{startLabel} muss vor {endLabel} liegen",
65
65
  "components.input-time-range.startTime": "Startzeit",
66
66
  "components.interactive.instructions": "Drücken Sie die Eingabetaste zum Interagieren oder die Escape-Taste, um das Fenster zu schließen",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "Aktionen für Liste",
68
68
  "components.list-item-drag-handle.default": "Elementaktion für {name} neu anordnen",
69
69
  "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
70
  "components.list-item-tooltip.title": "Tastaturnavigation für Listen:",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "Alle auswählen",
100
100
  "components.selection.select-all-items": "Alle {count} Elemente auswählen",
101
101
  "components.selection.selected": "{count} ausgewählt",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "Aktionen für Auswahl",
103
103
  "components.switch.visible": "Sichtbar",
104
104
  "components.switch.visibleWithPeriod": "Sichtbar.",
105
105
  "components.switch.hidden": "Ausgeblendet",
package/lang/es-es.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "{startLabel} debe ser anterior a {endLabel}",
65
65
  "components.input-time-range.startTime": "Hora de inicio",
66
66
  "components.interactive.instructions": "Pulse Enter para interactuar y Escape para salir",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "Acciones para la lista",
68
68
  "components.list-item-drag-handle.default": "Reordenar acción de elemento para {name}",
69
69
  "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
70
  "components.list-item-tooltip.title": "Navegación de listas con el teclado:",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "Seleccionar todo",
100
100
  "components.selection.select-all-items": "Seleccione los {count} elementos",
101
101
  "components.selection.selected": "{count} seleccionados",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "Acciones para la selección",
103
103
  "components.switch.visible": "Visible", // mfv-translated
104
104
  "components.switch.visibleWithPeriod": "Visible.", // mfv-translated
105
105
  "components.switch.hidden": "Oculto",
package/lang/es.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "{startLabel} debe estar antes de {endLabel}",
65
65
  "components.input-time-range.startTime": "Hora de inicio",
66
66
  "components.interactive.instructions": "Presione Intro para interactuar y Escape para salir",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "Acciones para la lista",
68
68
  "components.list-item-drag-handle.default": "Acción de reordenar elemento de {name}",
69
69
  "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
70
  "components.list-item-tooltip.title": "Navegación con el teclado para listas:",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "Seleccionar todo",
100
100
  "components.selection.select-all-items": "Seleccione todos los {count} elementos",
101
101
  "components.selection.selected": "{count} seleccionados",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "Acciones para la selección",
103
103
  "components.switch.visible": "Visible", // mfv-translated
104
104
  "components.switch.visibleWithPeriod": "Visible.", // mfv-translated
105
105
  "components.switch.hidden": "Oculto",
package/lang/fr-fr.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "{startLabel} doit être antérieur à {endLabel}",
65
65
  "components.input-time-range.startTime": "Heure de début",
66
66
  "components.interactive.instructions": "Appuyer sur entrée pour interagir, sur Echap pour quitter",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "Actions pour la liste",
68
68
  "components.list-item-drag-handle.default": "Action de réorganisation de l'élément pour {name}",
69
69
  "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
70
  "components.list-item-tooltip.title": "Navigation au clavier pour les listes :",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "Tout sélectionner",
100
100
  "components.selection.select-all-items": "Sélectionner tous les {count} éléments",
101
101
  "components.selection.selected": "{count} sélectionnés",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "Actions pour la sélection",
103
103
  "components.switch.visible": "Visible", // mfv-translated
104
104
  "components.switch.visibleWithPeriod": "Visible.", // mfv-translated
105
105
  "components.switch.hidden": "Masqué",
package/lang/fr.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "{startLabel} doit précéder {endLabel}",
65
65
  "components.input-time-range.startTime": "Heure de début",
66
66
  "components.interactive.instructions": "Appuyez sur Entrée pour interagir, sur Échapper pour quitter",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "Actions pour la liste",
68
68
  "components.list-item-drag-handle.default": "Réordonner l'action de l'élément pour {name}",
69
69
  "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
70
  "components.list-item-tooltip.title": "Navigation au clavier pour les listes :",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "Tout sélectionner",
100
100
  "components.selection.select-all-items": "Sélectionner tous les {count} éléments",
101
101
  "components.selection.selected": "{count} sélectionné(s)",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "Actions à sélectionner",
103
103
  "components.switch.visible": "Visible", // mfv-translated
104
104
  "components.switch.visibleWithPeriod": "Visible.", // mfv-translated
105
105
  "components.switch.hidden": "Masqué(e)",
package/lang/hi.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "{startLabel} {endLabel} से पहले का होना चाहिए",
65
65
  "components.input-time-range.startTime": "प्रारंभ समय",
66
66
  "components.interactive.instructions": "बातचीत करने के लिए Enter दबाएँ, बाहर निकलने के लिए Escape दबाएँ",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "सूची के लिए क्रियाएँ",
68
68
  "components.list-item-drag-handle.default": "{name} के लिए आइटम कार्रवाई का क्रम बदलें",
69
69
  "components.list-item-drag-handle.keyboard": "आइटम का क्रम बदलें, {size} में से वर्तमान स्थिति {currentPosition} इस आइटम को ले जाने के लिए, ऊपर या नीचे तीर दबाएँ।",
70
70
  "components.list-item-tooltip.title": "सूचियों के लिए कीबोर्ड नेविगेशन:",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "सभी का चयन करें",
100
100
  "components.selection.select-all-items": "सभी {count} आइटम चुनें।",
101
101
  "components.selection.selected": "{count} चयनित",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "चयन के लिए क्रियाएँ",
103
103
  "components.switch.visible": "दृश्यमान",
104
104
  "components.switch.visibleWithPeriod": "दृश्यमान।",
105
105
  "components.switch.hidden": "छुपा हुआ",
package/lang/ja.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "{startLabel} は {endLabel} より前にする必要があります",
65
65
  "components.input-time-range.startTime": "開始時刻",
66
66
  "components.interactive.instructions": "対話を始めるには Enter キー、終了するには Esc キーを押します",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "リストのアクション",
68
68
  "components.list-item-drag-handle.default": "{name} の項目並べ替えアクション",
69
69
  "components.list-item-drag-handle.keyboard": "項目の並べ替え、現在の位置 {currentPosition}、サイズ {size}。この項目を移動するには、上矢印または下矢印を押します。",
70
70
  "components.list-item-tooltip.title": "リストのキーボードナビゲーション:",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "すべて選択",
100
100
  "components.selection.select-all-items": "{count} 個の項目をすべて選択",
101
101
  "components.selection.selected": "{count} 個を選択済み",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "選択のアクション",
103
103
  "components.switch.visible": "表示",
104
104
  "components.switch.visibleWithPeriod": "表示。",
105
105
  "components.switch.hidden": "非表示",
package/lang/ko.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "{startLabel}은(는) {endLabel} 앞에 있어야 합니다",
65
65
  "components.input-time-range.startTime": "시작 시각",
66
66
  "components.interactive.instructions": "Enter를 눌러 상호 작용하고 Esc를 눌러 종료합니다",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "목록에 대한 작업",
68
68
  "components.list-item-drag-handle.default": "{name}에 대한 항목 작업 재정렬",
69
69
  "components.list-item-drag-handle.keyboard": "전체 {size}에서 현재 위치 {currentPosition} 항목 재정렬 이 항목을 이동하라면 위쪽 또는 아래쪽 화살표를 누르십시오.",
70
70
  "components.list-item-tooltip.title": "목록에 대한 키보드 탐색:",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "모두 선택",
100
100
  "components.selection.select-all-items": "{count}개 항목을 모두 선택하십시오.",
101
101
  "components.selection.selected": "{count}개 선택됨",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "선택 작업",
103
103
  "components.switch.visible": "표시",
104
104
  "components.switch.visibleWithPeriod": "표시.",
105
105
  "components.switch.hidden": "숨김",
package/lang/nl.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "{startLabel} moet voor {endLabel} liggen",
65
65
  "components.input-time-range.startTime": "Starttijd",
66
66
  "components.interactive.instructions": "Druk op Enter om te communiceren, druk op Escape om af te sluiten",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "Acties voor lijst",
68
68
  "components.list-item-drag-handle.default": "Itemactie voor {name} opnieuw rangschikken",
69
69
  "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
70
  "components.list-item-tooltip.title": "Toetsenbordnavigatie voor lijsten:",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "Alles selecteren",
100
100
  "components.selection.select-all-items": "Alle {count} records selecteren",
101
101
  "components.selection.selected": "{count} geselecteerd",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "Acties voor selectie",
103
103
  "components.switch.visible": "Zichtbaar",
104
104
  "components.switch.visibleWithPeriod": "Zichtbaar.",
105
105
  "components.switch.hidden": "Verborgen",
package/lang/pt.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "{startLabel} precisa ser anterior a {endLabel}",
65
65
  "components.input-time-range.startTime": "Hora de início",
66
66
  "components.interactive.instructions": "Pressione Enter para interagir, Escape para sair",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "Ações para a lista",
68
68
  "components.list-item-drag-handle.default": "Reordenar ação de item para {name}",
69
69
  "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
70
  "components.list-item-tooltip.title": "Navegação do teclado para listas:",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "Selecionar tudo",
100
100
  "components.selection.select-all-items": "Selecione todos os {count} itens",
101
101
  "components.selection.selected": "{count} selecionados",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "Ações para seleção",
103
103
  "components.switch.visible": "Visível",
104
104
  "components.switch.visibleWithPeriod": "Visível.",
105
105
  "components.switch.hidden": "Oculto",
package/lang/sv.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "{startLabel} måste vara före {endLabel}",
65
65
  "components.input-time-range.startTime": "Starttid",
66
66
  "components.interactive.instructions": "Tryck på Enter för att interagera och Escape för att avsluta",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "Åtgärder för lista",
68
68
  "components.list-item-drag-handle.default": "Åtgärd för att ändra ordning på objekt för {name}",
69
69
  "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
70
  "components.list-item-tooltip.title": "Tangentbordsnavigering för listor:",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "Välj alla",
100
100
  "components.selection.select-all-items": "Välj alla {count} objekt",
101
101
  "components.selection.selected": "{count} valda",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "Åtgärder för val",
103
103
  "components.switch.visible": "Synlig",
104
104
  "components.switch.visibleWithPeriod": "Synlig.",
105
105
  "components.switch.hidden": "Dold",
package/lang/tr.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "{startLabel}, {endLabel} tarihinden önce olmalıdır",
65
65
  "components.input-time-range.startTime": "Başlangıç Saati",
66
66
  "components.interactive.instructions": "Etkileşim kurmak için Enter tuşuna, çıkmak için Escape tuşuna basın",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "Liste için eylemler",
68
68
  "components.list-item-drag-handle.default": "{name} için öğe eylemini yeniden sırala",
69
69
  "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
70
  "components.list-item-tooltip.title": "Listeler için Klavye ile Gezinme:",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "Tümünü Seç",
100
100
  "components.selection.select-all-items": "{count} Öğenin Tamamını Seç",
101
101
  "components.selection.selected": "{count} öğe seçildi",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "Seçim için eylemler",
103
103
  "components.switch.visible": "Görünür",
104
104
  "components.switch.visibleWithPeriod": "Görünür.",
105
105
  "components.switch.hidden": "Gizli",
package/lang/zh-cn.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "{startLabel} 必须早于 {endLabel}",
65
65
  "components.input-time-range.startTime": "开始时间",
66
66
  "components.interactive.instructions": "按 Enter 键进行交互,按 Esc 键退出",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "针对列表的操作",
68
68
  "components.list-item-drag-handle.default": "对 {name} 的项目操作重新排序",
69
69
  "components.list-item-drag-handle.keyboard": "对项目重新排序,当前位置 {currentPosition} 超出 {size}。要移动此项目,请按向上或向下箭头。",
70
70
  "components.list-item-tooltip.title": "列表的键盘导航:",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "全选",
100
100
  "components.selection.select-all-items": "选择全部 {count} 个项目",
101
101
  "components.selection.selected": "已选 {count}",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "针对所选内容的操作",
103
103
  "components.switch.visible": "可见",
104
104
  "components.switch.visibleWithPeriod": "可见。",
105
105
  "components.switch.hidden": "隐藏",
package/lang/zh-tw.js CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  "components.input-time-range.errorBadInput": "{startLabel} 必須早於 {endLabel}",
65
65
  "components.input-time-range.startTime": "開始時間",
66
66
  "components.interactive.instructions": "按下 Enter 來互動,按下 Escape 即可結束",
67
- "components.list-header.label": "Actions for list",
67
+ "components.list-header.label": "清單的動作",
68
68
  "components.list-item-drag-handle.default": "重新排序 {name} 的項目動作",
69
69
  "components.list-item-drag-handle.keyboard": "重新排序項目,目前位置 {currentPosition},總共為 {size}。若要移除這個項目,請按向上或向下箭頭。",
70
70
  "components.list-item-tooltip.title": "清單的鍵盤導覽:",
@@ -99,7 +99,7 @@ export default {
99
99
  "components.selection.select-all": "全選",
100
100
  "components.selection.select-all-items": "選取所有 {count} 個項目",
101
101
  "components.selection.selected": "已選取 {count} 個",
102
- "components.selection-header.label": "Actions for selection",
102
+ "components.selection-header.label": "選擇的動作",
103
103
  "components.switch.visible": "可見",
104
104
  "components.switch.visibleWithPeriod": "可見。",
105
105
  "components.switch.hidden": "隱藏",
@@ -130,7 +130,7 @@ export const LocalizeMixin = dedupeMixin(superclass => class extends superclass
130
130
 
131
131
  static _generatePossibleLanguages(config) {
132
132
 
133
- if (config?.useBrowserLangs) return navigator.languages.map(e => e.toLowerCase()).concat('en');
133
+ if (config && config.useBrowserLangs) return navigator.languages.map(e => e.toLowerCase()).concat('en');
134
134
 
135
135
  const { language, fallbackLanguage } = this.documentLocaleSettings;
136
136
  const langs = [ language, fallbackLanguage ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.71.3",
3
+ "version": "2.71.5",
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",
@@ -921,7 +921,7 @@ class TemplatePrimarySecondary extends FocusVisiblePolyfillMixin(RtlMixin(Locali
921
921
 
922
922
  render() {
923
923
  let tabindex;
924
- const size = this._size ?? 0;
924
+ const size = this._size ? this._size : 0;
925
925
  const secondaryPanelStyles = {};
926
926
  if (this._isResizable()) {
927
927
  secondaryPanelStyles[this._isMobile ? 'height' : 'width'] = `${size}px`;