@brightspace-ui/core 3.134.2 → 3.135.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.
- package/components/list/list-item-drag-drop-mixin.js +1 -0
- package/components/list/list-item-mixin.js +4 -1
- package/components/list/list-item-nav-mixin.js +2 -9
- package/lang/ar.js +1 -1
- package/lang/cy.js +1 -1
- package/lang/da.js +1 -1
- package/lang/de.js +1 -1
- package/lang/es-es.js +1 -1
- package/lang/es.js +1 -1
- package/lang/fr-fr.js +1 -1
- package/lang/fr.js +1 -1
- package/lang/haw.js +1 -1
- package/lang/hi.js +1 -1
- package/lang/ja.js +1 -1
- package/lang/ko.js +1 -1
- package/lang/mi.js +1 -1
- package/lang/nl.js +1 -1
- package/lang/pt.js +1 -1
- package/lang/sv.js +1 -1
- package/lang/tr.js +1 -1
- package/lang/zh-cn.js +1 -1
- package/lang/zh-tw.js +1 -1
- package/package.json +1 -1
@@ -341,6 +341,7 @@ export const ListItemDragDropMixin = superclass => class extends superclass {
|
|
341
341
|
:host([selected]) d2l-list-item-drag-handle,
|
342
342
|
:host([current]) d2l-list-item-drag-handle,
|
343
343
|
:host([_focusing-elem]) d2l-list-item-drag-handle,
|
344
|
+
:host([_list-item-new-styles][_focusing]) d2l-list-item-drag-handle,
|
344
345
|
d2l-list-item-drag-handle:hover,
|
345
346
|
d2l-list-item-drag-handle.d2l-hovering,
|
346
347
|
d2l-list-item-drag-handle.d2l-focusing {
|
@@ -637,7 +637,10 @@ export const ListItemMixin = superclass => class extends composeMixins(
|
|
637
637
|
return node.role === 'row' || node.role === 'listitem';
|
638
638
|
}
|
639
639
|
|
640
|
-
_onFocusIn() {
|
640
|
+
_onFocusIn(e) {
|
641
|
+
if (this._listItemNewStyles) {
|
642
|
+
e.stopPropagation(); // prevent _focusing from being set on the parent
|
643
|
+
}
|
641
644
|
this._focusing = true;
|
642
645
|
if (this.role !== 'row' || !tabPressed || hasDisplayedKeyboardTooltip) return;
|
643
646
|
this._displayKeyboardTooltip = true;
|
@@ -1,7 +1,5 @@
|
|
1
1
|
import '../colors/colors.js';
|
2
2
|
import { css } from 'lit';
|
3
|
-
import { findComposedAncestor } from '../../helpers/dom.js';
|
4
|
-
import { getComposedActiveElement } from '../../helpers/focus.js';
|
5
3
|
import { ListItemLinkMixin } from './list-item-link-mixin.js';
|
6
4
|
|
7
5
|
export const ListItemNavMixin = superclass => class extends ListItemLinkMixin(superclass) {
|
@@ -119,15 +117,10 @@ export const ListItemNavMixin = superclass => class extends ListItemLinkMixin(su
|
|
119
117
|
super._handleLinkClick(e);
|
120
118
|
}
|
121
119
|
|
120
|
+
/* clean up (including _focusingElem) with GAUD-7495-list-item-new-styles flag */
|
122
121
|
#handleFocusIn(e) {
|
123
122
|
e.stopPropagation(); // prevent _focusing from being set on the parent
|
124
|
-
|
125
|
-
const activeElement = getComposedActiveElement();
|
126
|
-
const parentListItem = findComposedAncestor(activeElement, (node) => node.role === 'row' || node.role === 'listitem');
|
127
|
-
if (parentListItem && parentListItem === this) {
|
128
|
-
this._focusingElem = true;
|
129
|
-
}
|
130
|
-
});
|
123
|
+
this._focusingElem = true;
|
131
124
|
}
|
132
125
|
|
133
126
|
#handleFocusOut() {
|
package/lang/ar.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "إغلاق التنبيه",
|
3
3
|
"components.breadcrumbs.breadcrumb": "شريط التنقل",
|
4
4
|
"components.button-add.addItem": "إضافة عنصر",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "خيارات أخرى",
|
6
6
|
"components.calendar.hasEvents": "يحتوي على أحداث.",
|
7
7
|
"components.calendar.notSelected": "لم يتم التحديد.",
|
8
8
|
"components.calendar.selected": "تم التحديد.",
|
package/lang/cy.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "Cau Hysbysiad",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Briwsionyn Bara",
|
4
4
|
"components.button-add.addItem": "Ychwanegu Eitem",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "Opsiynau Eraill",
|
6
6
|
"components.calendar.hasEvents": "Yn Cynnwys Digwyddiadau.",
|
7
7
|
"components.calendar.notSelected": "Heb ei Ddewis.",
|
8
8
|
"components.calendar.selected": "Wedi’i Ddewis.",
|
package/lang/da.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "Luk besked",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Brødkrumme",
|
4
4
|
"components.button-add.addItem": "Tilføj element",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "Andre indstillinger",
|
6
6
|
"components.calendar.hasEvents": "Har begivenheder.",
|
7
7
|
"components.calendar.notSelected": "Ikke valgt.",
|
8
8
|
"components.calendar.selected": "Valgt.",
|
package/lang/de.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "Benachrichtigung schließen",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Brotkrümelnavigation",
|
4
4
|
"components.button-add.addItem": "Element hinzufügen",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "Sonstige Optionen",
|
6
6
|
"components.calendar.hasEvents": "Hat Ereignisse.",
|
7
7
|
"components.calendar.notSelected": "Nicht ausgewählt.",
|
8
8
|
"components.calendar.selected": "Ausgewählt.",
|
package/lang/es-es.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "Cerrar alerta",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Ruta de navegación",
|
4
4
|
"components.button-add.addItem": "Agregar elemento",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "Otras opciones",
|
6
6
|
"components.calendar.hasEvents": "Tiene eventos.",
|
7
7
|
"components.calendar.notSelected": "No seleccionado.",
|
8
8
|
"components.calendar.selected": "Seleccionado.",
|
package/lang/es.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "Cerrar alerta",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Ruta de navegación",
|
4
4
|
"components.button-add.addItem": "Agregar elemento",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "Otras opciones",
|
6
6
|
"components.calendar.hasEvents": "Tiene eventos.",
|
7
7
|
"components.calendar.notSelected": "No seleccionado.",
|
8
8
|
"components.calendar.selected": "Seleccionado.",
|
package/lang/fr-fr.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "Fermer l’alerte",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Chemin de navigation",
|
4
4
|
"components.button-add.addItem": "Ajouter un élément",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "Autres options",
|
6
6
|
"components.calendar.hasEvents": "A des événements.",
|
7
7
|
"components.calendar.notSelected": "Non sélectionné.",
|
8
8
|
"components.calendar.selected": "Sélectionné.",
|
package/lang/fr.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "Fermer l’alerte",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Chemin de navigation",
|
4
4
|
"components.button-add.addItem": "Ajouter un élément",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "Autres options",
|
6
6
|
"components.calendar.hasEvents": "Comprend des événements.",
|
7
7
|
"components.calendar.notSelected": "Non sélectionné(e)",
|
8
8
|
"components.calendar.selected": "Sélectionné(e).",
|
package/lang/haw.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "Pani i ka makaʻala",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Palapalapala",
|
4
4
|
"components.button-add.addItem": "Pākuʻi Mea",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "Nā Koho ʻē aʻe",
|
6
6
|
"components.calendar.hasEvents": "Loaʻa nā hanana.",
|
7
7
|
"components.calendar.notSelected": "ʻAʻole i koho ʻia.",
|
8
8
|
"components.calendar.selected": "Koho ʻia.",
|
package/lang/hi.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "अलर्ट बंद करें",
|
3
3
|
"components.breadcrumbs.breadcrumb": "ब्रेडक्रंब",
|
4
4
|
"components.button-add.addItem": "आइटम जोड़ें",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "अन्य विकल्प",
|
6
6
|
"components.calendar.hasEvents": "ईवेंट हैं।",
|
7
7
|
"components.calendar.notSelected": "चयनित नहीं।",
|
8
8
|
"components.calendar.selected": "चयनित।",
|
package/lang/ja.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "アラートを閉じる",
|
3
3
|
"components.breadcrumbs.breadcrumb": "階層",
|
4
4
|
"components.button-add.addItem": "項目の追加",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "その他のオプション",
|
6
6
|
"components.calendar.hasEvents": "イベントがあります。",
|
7
7
|
"components.calendar.notSelected": "選択されていません。",
|
8
8
|
"components.calendar.selected": "選択されています。",
|
package/lang/ko.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "경보 닫기",
|
3
3
|
"components.breadcrumbs.breadcrumb": "이동 경로",
|
4
4
|
"components.button-add.addItem": "항목 추가",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "기타 옵션",
|
6
6
|
"components.calendar.hasEvents": "이벤트가 있습니다.",
|
7
7
|
"components.calendar.notSelected": "선택되지 않음.",
|
8
8
|
"components.calendar.selected": "선택됨.",
|
package/lang/mi.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "Kati Matohi",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Pānui",
|
4
4
|
"components.button-add.addItem": "Tāpiri Tūemi",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "Ētahi atu kōwhiringa",
|
6
6
|
"components.calendar.hasEvents": "He takatu ēnei.",
|
7
7
|
"components.calendar.notSelected": "Kāore i tīpakona.",
|
8
8
|
"components.calendar.selected": "I tīpakona.",
|
package/lang/nl.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "Waarschuwing sluiten",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Kruimelpad",
|
4
4
|
"components.button-add.addItem": "Item toevoegen",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "Overige opties",
|
6
6
|
"components.calendar.hasEvents": "Bevat gebeurtenissen.",
|
7
7
|
"components.calendar.notSelected": "Niet geselecteerd.",
|
8
8
|
"components.calendar.selected": "Geselecteerd.",
|
package/lang/pt.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "Fechar alerta",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Auxiliar de navegação",
|
4
4
|
"components.button-add.addItem": "Adicionar item",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "Outras Opções",
|
6
6
|
"components.calendar.hasEvents": "Tem eventos.",
|
7
7
|
"components.calendar.notSelected": "Não selecionado.",
|
8
8
|
"components.calendar.selected": "Selecionado.",
|
package/lang/sv.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "Stängningsvarning",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Sökväg",
|
4
4
|
"components.button-add.addItem": "Lägg till objekt",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "Andra alternativ",
|
6
6
|
"components.calendar.hasEvents": "Har händelser.",
|
7
7
|
"components.calendar.notSelected": "Inte vald.",
|
8
8
|
"components.calendar.selected": "Markerad.",
|
package/lang/tr.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "Kapatma Uyarısı",
|
3
3
|
"components.breadcrumbs.breadcrumb": "İçerik Haritası",
|
4
4
|
"components.button-add.addItem": "Öğe Ekle",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "Diğer Seçenekler",
|
6
6
|
"components.calendar.hasEvents": "Olayları Var.",
|
7
7
|
"components.calendar.notSelected": "Seçili Değil.",
|
8
8
|
"components.calendar.selected": "Seçili.",
|
package/lang/zh-cn.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "关闭提醒",
|
3
3
|
"components.breadcrumbs.breadcrumb": "痕迹导航",
|
4
4
|
"components.button-add.addItem": "添加项目",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "其他选项",
|
6
6
|
"components.calendar.hasEvents": "有事件。",
|
7
7
|
"components.calendar.notSelected": "未选择。",
|
8
8
|
"components.calendar.selected": "已选择。",
|
package/lang/zh-tw.js
CHANGED
@@ -2,7 +2,7 @@ export default {
|
|
2
2
|
"components.alert.close": "關閉警示",
|
3
3
|
"components.breadcrumbs.breadcrumb": "導覽路徑",
|
4
4
|
"components.button-add.addItem": "新增項目",
|
5
|
-
"components.button-split.otherOptions": "
|
5
|
+
"components.button-split.otherOptions": "其他選項",
|
6
6
|
"components.calendar.hasEvents": "有事件。",
|
7
7
|
"components.calendar.notSelected": "未選取。",
|
8
8
|
"components.calendar.selected": "已選取。",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.135.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",
|