@brightspace-ui/core 2.14.0 → 2.14.3
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/html-block/html-block.js +5 -5
- package/components/tag-list/tag-list-item-mixin.js +6 -5
- package/lang/ar.js +2 -2
- package/lang/cy.js +2 -2
- package/lang/da.js +2 -2
- package/lang/de.js +2 -2
- package/lang/es-es.js +2 -2
- package/lang/es.js +3 -3
- package/lang/fr-fr.js +2 -2
- package/lang/fr.js +2 -2
- package/lang/hi.js +2 -2
- package/lang/ja.js +2 -2
- package/lang/ko.js +2 -2
- package/lang/nl.js +2 -2
- package/lang/pt.js +2 -2
- package/lang/sv.js +2 -2
- package/lang/tr.js +2 -2
- package/lang/zh-cn.js +2 -2
- package/lang/zh-tw.js +2 -2
- package/package.json +2 -2
|
@@ -6,11 +6,6 @@ import { requestInstance } from '../../mixins/provider-mixin.js';
|
|
|
6
6
|
import { RtlMixin } from '../../mixins/rtl-mixin.js';
|
|
7
7
|
|
|
8
8
|
export const htmlBlockContentStyles = css`
|
|
9
|
-
.d2l-html-block-compact {
|
|
10
|
-
font-size: 0.8rem;
|
|
11
|
-
font-weight: 400;
|
|
12
|
-
line-height: 1.5; /* 1.2rem / 0.8rem */
|
|
13
|
-
}
|
|
14
9
|
.d2l-html-block-rendered {
|
|
15
10
|
line-height: 1.47; /* 1.4rem / 0.95rem */
|
|
16
11
|
}
|
|
@@ -20,6 +15,11 @@ export const htmlBlockContentStyles = css`
|
|
|
20
15
|
.d2l-html-block-rendered > :last-child {
|
|
21
16
|
margin-bottom: 0;
|
|
22
17
|
}
|
|
18
|
+
.d2l-html-block-compact {
|
|
19
|
+
font-size: 0.8rem;
|
|
20
|
+
font-weight: 400;
|
|
21
|
+
line-height: 1.5; /* 1.2rem / 0.8rem */
|
|
22
|
+
}
|
|
23
23
|
h1, h2, h3, h4, h5, h6, b, strong, b *, strong * {
|
|
24
24
|
font-weight: bold;
|
|
25
25
|
}
|
|
@@ -16,6 +16,7 @@ export const TagListItemMixin = superclass => class extends LocalizeCoreElement(
|
|
|
16
16
|
return {
|
|
17
17
|
/**
|
|
18
18
|
* Enables the option to clear a tag list item. The `d2l-tag-list-item-clear` event will be dispatched when the user selects to delete the item. The consumer must handle the actual item deletion.
|
|
19
|
+
* @type {boolean}
|
|
19
20
|
*/
|
|
20
21
|
clearable: { type: Boolean },
|
|
21
22
|
/**
|
|
@@ -63,12 +64,12 @@ export const TagListItemMixin = superclass => class extends LocalizeCoreElement(
|
|
|
63
64
|
overflow: hidden;
|
|
64
65
|
text-overflow: ellipsis;
|
|
65
66
|
}
|
|
66
|
-
:host(:focus) .tag-list-item-container,
|
|
67
|
-
:host(:focus:hover) .tag-list-item-container {
|
|
67
|
+
:host(:focus-visible) .tag-list-item-container,
|
|
68
|
+
:host(:focus-visible:hover) .tag-list-item-container {
|
|
68
69
|
box-shadow: inset 0 0 0 2px var(--d2l-color-celestine), 0 2px 4px rgba(0, 0, 0, 0.03);
|
|
69
70
|
}
|
|
70
71
|
:host(:hover) .tag-list-item-container,
|
|
71
|
-
:host(:focus) .tag-list-item-container {
|
|
72
|
+
:host(:focus-visible) .tag-list-item-container {
|
|
72
73
|
background-color: var(--d2l-color-sylvite);
|
|
73
74
|
}
|
|
74
75
|
:host(:hover) .tag-list-item-container {
|
|
@@ -114,11 +115,11 @@ export const TagListItemMixin = superclass => class extends LocalizeCoreElement(
|
|
|
114
115
|
// ignore focus events coming from inside the tag content
|
|
115
116
|
if (e.composedPath()[0] !== this) return;
|
|
116
117
|
/** @ignore */
|
|
117
|
-
container.dispatchEvent(new FocusEvent('focus', { bubbles:
|
|
118
|
+
container.dispatchEvent(new FocusEvent('focus', { bubbles: false, cancelable: true }));
|
|
118
119
|
});
|
|
119
120
|
this.addEventListener('blur', () => {
|
|
120
121
|
/** @ignore */
|
|
121
|
-
container.dispatchEvent(new FocusEvent('blur', { bubbles:
|
|
122
|
+
container.dispatchEvent(new FocusEvent('blur', { bubbles: false, cancelable: true }));
|
|
122
123
|
});
|
|
123
124
|
this.addEventListener('keydown', this._handleKeydown);
|
|
124
125
|
}
|
package/lang/ar.js
CHANGED
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
102
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "زيادة {count} إضافي",
|
|
105
|
+
"components.tag-list.show-less": "إظهار أقل",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "تقسيم العرض القابل للضبط",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "السهم المتّجه إلى اليسار أو إلى اليمين لضبط حجم لوحات العرض",
|
package/lang/cy.js
CHANGED
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
102
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "+ {count}
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "+ {count} yn rhagor",
|
|
105
|
+
"components.tag-list.show-less": "Dangos Llai",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "Gwedd Hollt Addasadwy",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "Saeth i'r chwith neu'r dde i addasu maint y paneli gweld",
|
package/lang/da.js
CHANGED
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
102
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "+ {count}
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "+ {count} mere",
|
|
105
|
+
"components.tag-list.show-less": "Vis færre",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "Justerbar delt visning",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "Pil til venstre eller højre for at justere størrelsen på visningspaneler",
|
package/lang/de.js
CHANGED
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
102
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "+ {count}
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "+ {count} weitere",
|
|
105
|
+
"components.tag-list.show-less": "Weniger anzeigen",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "Anpassbare geteilte Ansicht",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "Pfeil nach links oder rechts, um die Größe der Ansichtsbereiche anzupassen",
|
package/lang/es-es.js
CHANGED
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
102
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "+ {count}
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "+ {count} más",
|
|
105
|
+
"components.tag-list.show-less": "Mostrar menos",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "Vista dividida ajustable",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "Flecha hacia la izquierda o la derecha para ajustar el tamaño de los paneles de visualización",
|
package/lang/es.js
CHANGED
|
@@ -97,12 +97,12 @@ export default {
|
|
|
97
97
|
"components.tabs.next": "Desplazarse hacia adelante",
|
|
98
98
|
"components.tabs.previous": "Desplazarse hacia atrás",
|
|
99
99
|
"components.tag-list.clear": "Click to remove item {value}",
|
|
100
|
+
"components.tag-list.clear-all": "Clear All",
|
|
100
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
101
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
|
-
"components.tag-list.clear-all": "Clear All",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "+ {count}
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "+ {count} más",
|
|
105
|
+
"components.tag-list.show-less": "Mostrar menos",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "Pantalla dividida ajustable",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "Utilice la flecha izquierda o derecha para ajustar el tamaño de los paneles de visualización",
|
package/lang/fr-fr.js
CHANGED
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
102
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "{count} de plus",
|
|
105
|
+
"components.tag-list.show-less": "Afficher moins",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "Vue fractionnée réglable",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "Flèche vers la gauche ou vers la droite pour régler la taille des panneaux d’affichage",
|
package/lang/fr.js
CHANGED
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
102
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "+ {count}
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "+ {count} de plus",
|
|
105
|
+
"components.tag-list.show-less": "Afficher moins",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "Vue partagée réglable",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "Utiliser la flèche vers la gauche ou vers la droite pour régler la taille des volets d'affichage",
|
package/lang/hi.js
CHANGED
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
102
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "+ {count}
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "+ {count} और",
|
|
105
|
+
"components.tag-list.show-less": "कम दिखाएँ",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "समायोजन योग्य विभाजन दृश्य",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "दृश्य पैनल्स का आकार समायोजित करने के लिए तीर बाएँ या दाएँ करें",
|
package/lang/ja.js
CHANGED
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
102
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "+ {count}
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "+ {count} 件追加",
|
|
105
|
+
"components.tag-list.show-less": "少なく表示",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "調整可能な分割ビュー",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "左矢印または右矢印を使用して、ビューパネルのサイズを調整します",
|
package/lang/ko.js
CHANGED
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
102
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "{count}개 더",
|
|
105
|
+
"components.tag-list.show-less": "간단히 표시",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "조정 가능한 분할 보기",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "왼쪽 또는 오른쪽 화살표로 보기 패널의 크기 조정",
|
package/lang/nl.js
CHANGED
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
102
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "+ {count}
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "+ {count} extra",
|
|
105
|
+
"components.tag-list.show-less": "Minder weergeven",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "Instelbare gesplitste weergave",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "Pijl naar links of rechts om de grootte van de weergavevensters aan te passen",
|
package/lang/pt.js
CHANGED
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
102
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "+ {count}
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "+ {count} mais",
|
|
105
|
+
"components.tag-list.show-less": "Mostrar menos",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "Exibição dividida ajustável",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "Use a seta para a esquerda ou para a direita para ajustar o tamanho dos painéis de exibição",
|
package/lang/sv.js
CHANGED
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
102
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "+ {count}
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "+ {count} till",
|
|
105
|
+
"components.tag-list.show-less": "Visa färre",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "Justerbar delad vy",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "Pil vänster eller höger för att justera storleken på vypaneler",
|
package/lang/tr.js
CHANGED
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
102
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "+
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "+{count} tane daha",
|
|
105
|
+
"components.tag-list.show-less": "Daha Azını Göster",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "Ayarlanabilir Bölünmüş Görüntü",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "Görüntü panellerinin boyutunu ayarlamak için sol veya sağ okları kullanın",
|
package/lang/zh-cn.js
CHANGED
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
102
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "+ {count}
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "+ {count} 个",
|
|
105
|
+
"components.tag-list.show-less": "显示更少",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "可调分屏视图",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "向左或向右箭头可调整视图面板的大小",
|
package/lang/zh-tw.js
CHANGED
|
@@ -101,8 +101,8 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
102
102
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
103
103
|
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
104
|
-
"components.tag-list.num-hidden": "
|
|
105
|
-
"components.tag-list.show-less": "
|
|
104
|
+
"components.tag-list.num-hidden": "還有 {count} 個",
|
|
105
|
+
"components.tag-list.show-less": "顯示更少",
|
|
106
106
|
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
107
107
|
"templates.primary-secondary.adjustableSplitView": "可調整的分割檢視",
|
|
108
108
|
"templates.primary-secondary.keyboardHorizontal": "向左或向右箭頭可調整檢視面板的大小",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.3",
|
|
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",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"axe-core": "^4",
|
|
53
53
|
"chalk": "^5",
|
|
54
54
|
"eslint": "^8",
|
|
55
|
-
"eslint-config-brightspace": "^0.
|
|
55
|
+
"eslint-config-brightspace": "^0.17",
|
|
56
56
|
"eslint-plugin-html": "^6",
|
|
57
57
|
"eslint-plugin-import": "^2",
|
|
58
58
|
"eslint-plugin-lit": "^1",
|