@brightspace-ui/core 2.96.0 → 2.96.2
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 +5 -8
- package/lang/ar.js +2 -2
- 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 +2 -2
- package/lang/fr.js +3 -3
- package/lang/hi.js +2 -2
- package/lang/ja.js +1 -1
- package/lang/ko.js +1 -1
- package/lang/nl.js +1 -1
- package/lang/pt.js +3 -3
- package/lang/sv.js +2 -2
- 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
|
@@ -105,6 +105,7 @@ class DragState {
|
|
|
105
105
|
|
|
106
106
|
_cleanUpOnLeave() {
|
|
107
107
|
if (!this._activeDropTarget) return;
|
|
108
|
+
this._activeDropTarget._draggingOver = false;
|
|
108
109
|
this._activeDropTarget._dropLocation = dropLocation.void;
|
|
109
110
|
this._activeDropTarget._inTopArea = false;
|
|
110
111
|
this._activeDropTarget._inBottomArea = false;
|
|
@@ -363,7 +364,6 @@ export const ListItemDragDropMixin = superclass => class extends superclass {
|
|
|
363
364
|
|
|
364
365
|
firstUpdated(changedProperties) {
|
|
365
366
|
this.addEventListener('dragenter', this._onHostDragEnter.bind(this));
|
|
366
|
-
this.addEventListener('dragleave', this._onHostDragLeave.bind(this));
|
|
367
367
|
super.firstUpdated(changedProperties);
|
|
368
368
|
}
|
|
369
369
|
|
|
@@ -738,14 +738,16 @@ export const ListItemDragDropMixin = superclass => class extends superclass {
|
|
|
738
738
|
|
|
739
739
|
_onHostDragEnter(e) {
|
|
740
740
|
const dragState = getDragState();
|
|
741
|
-
if (this === dragState.dragTarget) return;
|
|
742
741
|
|
|
743
742
|
// check if any of the drag targets are ancestors of the drop target
|
|
744
743
|
const invalidDropTarget = dragState.dragTargets.find(dragTarget => {
|
|
745
744
|
return isComposedAncestor(dragTarget, this);
|
|
746
745
|
});
|
|
747
746
|
|
|
748
|
-
if (invalidDropTarget)
|
|
747
|
+
if (invalidDropTarget) {
|
|
748
|
+
dragState.clear();
|
|
749
|
+
return;
|
|
750
|
+
}
|
|
749
751
|
|
|
750
752
|
// assert that both the source and target are from the same list - may allow this in the future
|
|
751
753
|
const targetRoot = dragState.dragTargets[0] && dragState.dragTargets[0]._getRootList();
|
|
@@ -756,10 +758,6 @@ export const ListItemDragDropMixin = superclass => class extends superclass {
|
|
|
756
758
|
e.dataTransfer.dropEffect = 'move';
|
|
757
759
|
}
|
|
758
760
|
|
|
759
|
-
_onHostDragLeave() {
|
|
760
|
-
this._draggingOver = false;
|
|
761
|
-
}
|
|
762
|
-
|
|
763
761
|
_onTouchCancel() {
|
|
764
762
|
if (this._touchTimeoutId) clearTimeout(this._touchTimeoutId);
|
|
765
763
|
this._touchStarted = false;
|
|
@@ -798,7 +796,6 @@ export const ListItemDragDropMixin = superclass => class extends superclass {
|
|
|
798
796
|
if (!listItem) return;
|
|
799
797
|
// simulate host dragenter
|
|
800
798
|
if (listItem !== this && this._currentTouchListItem !== listItem) {
|
|
801
|
-
this._currentTouchListItem.dispatchEvent(createDragEvent('dragleave'));
|
|
802
799
|
listItem.dispatchEvent(createDragEvent('dragenter'));
|
|
803
800
|
this._currentTouchListItem = listItem;
|
|
804
801
|
}
|
package/lang/ar.js
CHANGED
|
@@ -34,7 +34,7 @@ export default {
|
|
|
34
34
|
"components.form-error-summary.errorSummary": "{count, plural, one {تم العثور على {count} خطأ في المعلومات التي أرسلتها} other {تم العثور على {count} من الأخطاء في المعلومات التي أرسلتها}}",
|
|
35
35
|
"components.input-color.backgroundColor": "لون الخلفية",
|
|
36
36
|
"components.input-color.foregroundColor": "لون المقدمة",
|
|
37
|
-
"components.input-color.none": "
|
|
37
|
+
"components.input-color.none": "لا شيء",
|
|
38
38
|
"components.input-date-range.endDate": "تاريخ الانتهاء",
|
|
39
39
|
"components.input-date-range.errorBadInput": "يجب أن يكون تاريخ {startLabel} قبل {endLabel}",
|
|
40
40
|
"components.input-date-range.startDate": "تاريخ البدء",
|
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "مرئي.",
|
|
107
107
|
"components.switch.hidden": "مخفي",
|
|
108
108
|
"components.switch.conditions": "يجب استيفاء الشروط",
|
|
109
|
-
"components.table-controls.label": "
|
|
109
|
+
"components.table-controls.label": "إجراءات للجدول",
|
|
110
110
|
"components.tabs.next": "التمرير إلى الأمام",
|
|
111
111
|
"components.tabs.previous": "التمرير إلى الخلف",
|
|
112
112
|
"components.tag-list.clear": "انقر فوق، أو اضغط على مسافة للخلف، أو اضغط على مفتاح حذف لإزالة العنصر {value}",
|
package/lang/cy.js
CHANGED
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "Gweladwy.",
|
|
107
107
|
"components.switch.hidden": "Cudd",
|
|
108
108
|
"components.switch.conditions": "Rhaid bodloni’r amodau",
|
|
109
|
-
"components.table-controls.label": "
|
|
109
|
+
"components.table-controls.label": "Camau gweithredu ar gyfer y tabl",
|
|
110
110
|
"components.tabs.next": "Sgrolio Ymlaen",
|
|
111
111
|
"components.tabs.previous": "Sgrolio Yn Ôl",
|
|
112
112
|
"components.tag-list.clear": "Cliciwch, pwyswch yn ôl, neu pwyswch y bysell dileu i dynnu’r eitem {value}",
|
package/lang/da.js
CHANGED
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "Synlig.",
|
|
107
107
|
"components.switch.hidden": "Skjult",
|
|
108
108
|
"components.switch.conditions": "Betingelserne skal være opfyldt",
|
|
109
|
-
"components.table-controls.label": "
|
|
109
|
+
"components.table-controls.label": "Handlinger for tabel",
|
|
110
110
|
"components.tabs.next": "Rul frem",
|
|
111
111
|
"components.tabs.previous": "Rul tilbage",
|
|
112
112
|
"components.tag-list.clear": "Klik, tryk på tilbagetasten, eller tryk på slettasten for at fjerne element {value}",
|
package/lang/de.js
CHANGED
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "Sichtbar.",
|
|
107
107
|
"components.switch.hidden": "Ausgeblendet",
|
|
108
108
|
"components.switch.conditions": "Bedingungen müssen erfüllt sein",
|
|
109
|
-
"components.table-controls.label": "
|
|
109
|
+
"components.table-controls.label": "Aktionen für Tabelle",
|
|
110
110
|
"components.tabs.next": "Weiterblättern",
|
|
111
111
|
"components.tabs.previous": "Zurückblättern",
|
|
112
112
|
"components.tag-list.clear": "Klicken Sie, drücken Sie die Rücktaste, oder drücken Sie die Entfernen-Taste, um das Element {value} zu entfernen",
|
package/lang/es-es.js
CHANGED
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "Visible.", // mfv-translated
|
|
107
107
|
"components.switch.hidden": "Oculto",
|
|
108
108
|
"components.switch.conditions": "Deben cumplirse las condiciones",
|
|
109
|
-
"components.table-controls.label": "
|
|
109
|
+
"components.table-controls.label": "Acciones para la tabla",
|
|
110
110
|
"components.tabs.next": "Desplazarse hacia delante",
|
|
111
111
|
"components.tabs.previous": "Desplazarse hacia atrás",
|
|
112
112
|
"components.tag-list.clear": "Haga clic, pulse Retroceso o pulse la tecla Supr para eliminar el elemento {value}",
|
package/lang/es.js
CHANGED
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "Visible.", // mfv-translated
|
|
107
107
|
"components.switch.hidden": "Oculto",
|
|
108
108
|
"components.switch.conditions": "Se deben cumplir las condiciones",
|
|
109
|
-
"components.table-controls.label": "
|
|
109
|
+
"components.table-controls.label": "Acciones de la tabla",
|
|
110
110
|
"components.tabs.next": "Desplazarse hacia adelante",
|
|
111
111
|
"components.tabs.previous": "Desplazarse hacia atrás",
|
|
112
112
|
"components.tag-list.clear": "Haga clic, presione Retroceso o presione la tecla Suprimir para eliminar el elemento {value}",
|
package/lang/fr-fr.js
CHANGED
|
@@ -32,7 +32,7 @@ export default {
|
|
|
32
32
|
"components.form-element.input.url.typeMismatch": "URL non valide",
|
|
33
33
|
"components.form-element.valueMissing": "{label} est requis.",
|
|
34
34
|
"components.form-error-summary.errorSummary": "{count, plural, one {{count} erreur trouvée dans les informations soumises} other {{count} erreurs trouvées dans les informations soumises}}",
|
|
35
|
-
"components.input-color.backgroundColor": "Couleur de l
|
|
35
|
+
"components.input-color.backgroundColor": "Couleur de l’arrière-plan",
|
|
36
36
|
"components.input-color.foregroundColor": "Couleur de l’avant-plan",
|
|
37
37
|
"components.input-color.none": "Aucune",
|
|
38
38
|
"components.input-date-range.endDate": "Date de fin",
|
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "Visible.", // mfv-translated
|
|
107
107
|
"components.switch.hidden": "Masqué",
|
|
108
108
|
"components.switch.conditions": "Les conditions doivent être remplies",
|
|
109
|
-
"components.table-controls.label": "Actions
|
|
109
|
+
"components.table-controls.label": "Actions du tableau",
|
|
110
110
|
"components.tabs.next": "Faire défiler vers l'avant",
|
|
111
111
|
"components.tabs.previous": "Faire défiler vers l'arrière",
|
|
112
112
|
"components.tag-list.clear": "Cliquez sur l’élément, appuyez sur la touche Retour arrière ou sur la touche Suppr pour supprimer l’élément {value}",
|
package/lang/fr.js
CHANGED
|
@@ -32,8 +32,8 @@ export default {
|
|
|
32
32
|
"components.form-element.input.url.typeMismatch": "L'URL n'est pas valide",
|
|
33
33
|
"components.form-element.valueMissing": "{label} est requis.",
|
|
34
34
|
"components.form-error-summary.errorSummary": "{count, plural, one {Il y avait {count} erreur trouvée dans les informations que vous avez soumises} other {Il y avait {count} erreurs trouvées dans les informations que vous avez soumises}}",
|
|
35
|
-
"components.input-color.backgroundColor": "Couleur d
|
|
36
|
-
"components.input-color.foregroundColor": "Couleur de l
|
|
35
|
+
"components.input-color.backgroundColor": "Couleur d’arrière-plan",
|
|
36
|
+
"components.input-color.foregroundColor": "Couleur de l'avant-plan",
|
|
37
37
|
"components.input-color.none": "Aucun",
|
|
38
38
|
"components.input-date-range.endDate": "Date de fin",
|
|
39
39
|
"components.input-date-range.errorBadInput": "{startLabel} doit précéder {endLabel}",
|
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "Visible.", // mfv-translated
|
|
107
107
|
"components.switch.hidden": "Masqué(e)",
|
|
108
108
|
"components.switch.conditions": "Les conditions doivent être remplies",
|
|
109
|
-
"components.table-controls.label": "Actions
|
|
109
|
+
"components.table-controls.label": "Actions pour la table",
|
|
110
110
|
"components.tabs.next": "Défilement avant",
|
|
111
111
|
"components.tabs.previous": "Défilement arrière",
|
|
112
112
|
"components.tag-list.clear": "Cliquez sur le bouton, appuyez sur retour arrière ou appuyez sur la touche de suppression pour supprimer l’élément {value}",
|
package/lang/hi.js
CHANGED
|
@@ -33,7 +33,7 @@ export default {
|
|
|
33
33
|
"components.form-element.valueMissing": "{label} आवश्यक है।",
|
|
34
34
|
"components.form-error-summary.errorSummary": "{count, plural, one {आपके द्वारा सबमिट की गई जानकारी में {count} त्रुटियाँ पाई गईं} other {आपके द्वारा सबमिट की गई जानकारी में {count} त्रुटियाँ पाई गईं}}",
|
|
35
35
|
"components.input-color.backgroundColor": "पृष्ठभूमि का रंग",
|
|
36
|
-
"components.input-color.foregroundColor": "अग्रभूमि रंग",
|
|
36
|
+
"components.input-color.foregroundColor": "अग्रभूमि का रंग",
|
|
37
37
|
"components.input-color.none": "कोई नहीं",
|
|
38
38
|
"components.input-date-range.endDate": "समाप्ति तारीख़",
|
|
39
39
|
"components.input-date-range.errorBadInput": "{startLabel} {endLabel} से पहले का होना चाहिए",
|
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "दृश्यमान।",
|
|
107
107
|
"components.switch.hidden": "छुपा हुआ",
|
|
108
108
|
"components.switch.conditions": "शर्तें पूरी होनी चाहिए",
|
|
109
|
-
"components.table-controls.label": "
|
|
109
|
+
"components.table-controls.label": "तालिका के लिए क्रियाएँ",
|
|
110
110
|
"components.tabs.next": "आगे स्क्रॉल करें",
|
|
111
111
|
"components.tabs.previous": "पीछे स्क्रॉल करें",
|
|
112
112
|
"components.tag-list.clear": "{value} को हटाने के लिए क्लिक करें, बैकस्पेस दबाएँ, या हटाएँ कुंजी को दबाएँ",
|
package/lang/ja.js
CHANGED
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "表示。",
|
|
107
107
|
"components.switch.hidden": "非表示",
|
|
108
108
|
"components.switch.conditions": "条件が一致する必要があります",
|
|
109
|
-
"components.table-controls.label": "
|
|
109
|
+
"components.table-controls.label": "テーブルのアクション",
|
|
110
110
|
"components.tabs.next": "前方にスクロール",
|
|
111
111
|
"components.tabs.previous": "後方にスクロール",
|
|
112
112
|
"components.tag-list.clear": "クリックする、Backspace キーを押す、または Delete キーを押すと項目 {value} が削除されます",
|
package/lang/ko.js
CHANGED
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "표시.",
|
|
107
107
|
"components.switch.hidden": "숨김",
|
|
108
108
|
"components.switch.conditions": "조건을 충족해야 합니다",
|
|
109
|
-
"components.table-controls.label": "
|
|
109
|
+
"components.table-controls.label": "표에 대한 작업",
|
|
110
110
|
"components.tabs.next": "앞으로 스크롤",
|
|
111
111
|
"components.tabs.previous": "뒤로 스크롤",
|
|
112
112
|
"components.tag-list.clear": "항목 {value}을(를) 제거하려면 클릭하거나, 백스페이스 또는 삭제 키를 누릅니다.",
|
package/lang/nl.js
CHANGED
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "Zichtbaar.",
|
|
107
107
|
"components.switch.hidden": "Verborgen",
|
|
108
108
|
"components.switch.conditions": "Er moet aan de voorwaarden worden voldaan",
|
|
109
|
-
"components.table-controls.label": "
|
|
109
|
+
"components.table-controls.label": "Acties voor tabel",
|
|
110
110
|
"components.tabs.next": "Naar voren scrollen",
|
|
111
111
|
"components.tabs.previous": "Naar achteren scrollen",
|
|
112
112
|
"components.tag-list.clear": "Klik, druk op Backspace of druk op de Delete-toets om item {value} te verwijderen",
|
package/lang/pt.js
CHANGED
|
@@ -32,8 +32,8 @@ export default {
|
|
|
32
32
|
"components.form-element.input.url.typeMismatch": "URL inválido",
|
|
33
33
|
"components.form-element.valueMissing": "{label} é obrigatório.",
|
|
34
34
|
"components.form-error-summary.errorSummary": "{count, plural, one {{count} erro foi encontrado nas informações enviadas} other {{count} erros foram encontrados nas informações enviadas}}",
|
|
35
|
-
"components.input-color.backgroundColor": "Cor do Plano de
|
|
36
|
-
"components.input-color.foregroundColor": "Cor do Primeiro
|
|
35
|
+
"components.input-color.backgroundColor": "Cor do Plano de fundo",
|
|
36
|
+
"components.input-color.foregroundColor": "Cor do Primeiro plano",
|
|
37
37
|
"components.input-color.none": "Nenhum",
|
|
38
38
|
"components.input-date-range.endDate": "Data final",
|
|
39
39
|
"components.input-date-range.errorBadInput": "{startLabel} precisa ser anterior a {endLabel}",
|
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "Visível.",
|
|
107
107
|
"components.switch.hidden": "Oculto",
|
|
108
108
|
"components.switch.conditions": "As condições devem ser atendidas",
|
|
109
|
-
"components.table-controls.label": "
|
|
109
|
+
"components.table-controls.label": "Ações para a tabela",
|
|
110
110
|
"components.tabs.next": "Ir para frente",
|
|
111
111
|
"components.tabs.previous": "Ir para trás",
|
|
112
112
|
"components.tag-list.clear": "Clique em, pressione Backspace ou pressione a tecla Delete para remover o item {value}",
|
package/lang/sv.js
CHANGED
|
@@ -34,7 +34,7 @@ export default {
|
|
|
34
34
|
"components.form-error-summary.errorSummary": "{count, plural, one {Det finns {count} fel i informationen som du skickade} other {Det finns {count} fel i informationen som du skickade}}",
|
|
35
35
|
"components.input-color.backgroundColor": "Bakgrundsfärg",
|
|
36
36
|
"components.input-color.foregroundColor": "Förgrundsfärg",
|
|
37
|
-
"components.input-color.none": "
|
|
37
|
+
"components.input-color.none": "Inga",
|
|
38
38
|
"components.input-date-range.endDate": "Slutdatum",
|
|
39
39
|
"components.input-date-range.errorBadInput": "{startLabel} måste vara före {endLabel}",
|
|
40
40
|
"components.input-date-range.startDate": "Startdatum",
|
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "Synlig.",
|
|
107
107
|
"components.switch.hidden": "Dold",
|
|
108
108
|
"components.switch.conditions": "Villkoren måste uppfyllas",
|
|
109
|
-
"components.table-controls.label": "
|
|
109
|
+
"components.table-controls.label": "Åtgärder för tabell",
|
|
110
110
|
"components.tabs.next": "Bläddra framåt",
|
|
111
111
|
"components.tabs.previous": "Bläddra bakåt",
|
|
112
112
|
"components.tag-list.clear": "Klicka, tryck på backstegstangenten eller Delete-tangenten för att ta bort objektet {value}",
|
package/lang/tr.js
CHANGED
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "Görünür.",
|
|
107
107
|
"components.switch.hidden": "Gizli",
|
|
108
108
|
"components.switch.conditions": "Koşullar karşılanmalıdır",
|
|
109
|
-
"components.table-controls.label": "
|
|
109
|
+
"components.table-controls.label": "Tablo için eylemler",
|
|
110
110
|
"components.tabs.next": "İleri Kaydır",
|
|
111
111
|
"components.tabs.previous": "Geri Kaydır",
|
|
112
112
|
"components.tag-list.clear": "Öğe {value} değerini kaldırmak için tıklatın, geri al tuşuna veya sil tuşuna basın",
|
package/lang/zh-cn.js
CHANGED
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "可见。",
|
|
107
107
|
"components.switch.hidden": "隐藏",
|
|
108
108
|
"components.switch.conditions": "必须符合条件",
|
|
109
|
-
"components.table-controls.label": "
|
|
109
|
+
"components.table-controls.label": "对表格的操作",
|
|
110
110
|
"components.tabs.next": "向前滚动",
|
|
111
111
|
"components.tabs.previous": "向后滚动",
|
|
112
112
|
"components.tag-list.clear": "单击、按退格键或按 Delete 键以移除项目 {value}",
|
package/lang/zh-tw.js
CHANGED
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "可見。",
|
|
107
107
|
"components.switch.hidden": "隱藏",
|
|
108
108
|
"components.switch.conditions": "必須符合條件",
|
|
109
|
-
"components.table-controls.label": "
|
|
109
|
+
"components.table-controls.label": "表格動作",
|
|
110
110
|
"components.tabs.next": "向前捲動",
|
|
111
111
|
"components.tabs.previous": "向後捲動",
|
|
112
112
|
"components.tag-list.clear": "按一下、按下退格鍵或按下刪除鍵以移除項目 {value}",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.96.
|
|
3
|
+
"version": "2.96.2",
|
|
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",
|