@brightspace-ui/core 2.94.0 → 2.95.1
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/card/card-footer-link.js +6 -1
- package/components/collapsible-panel/collapsible-panel.js +6 -1
- package/components/count-badge/count-badge-icon.js +6 -1
- package/components/count-badge/count-badge.js +6 -1
- package/components/filter/filter-dimension-set.js +5 -9
- package/components/filter/filter.js +4 -5
- package/components/table/table-controls.js +4 -0
- package/lang/ar.js +1 -0
- package/lang/cy.js +1 -0
- package/lang/da.js +1 -0
- package/lang/de.js +1 -0
- package/lang/en-gb.js +1 -0
- package/lang/en.js +1 -0
- package/lang/es-es.js +1 -0
- package/lang/es.js +1 -0
- package/lang/fr-fr.js +1 -0
- package/lang/fr.js +1 -0
- package/lang/hi.js +1 -0
- package/lang/ja.js +1 -0
- package/lang/ko.js +1 -0
- package/lang/nl.js +1 -0
- package/lang/pt.js +1 -0
- package/lang/sv.js +1 -0
- package/lang/tr.js +1 -0
- package/lang/zh-cn.js +1 -0
- package/lang/zh-tw.js +1 -0
- package/mixins/focus-mixin.md +4 -3
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import '../colors/colors.js';
|
|
|
2
2
|
import '../count-badge/count-badge-icon.js';
|
|
3
3
|
import '../icons/icon.js';
|
|
4
4
|
import { css, html, LitElement } from 'lit';
|
|
5
|
+
import { FocusMixin } from '../../mixins/focus-mixin.js';
|
|
5
6
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
6
7
|
import { offscreenStyles } from '../offscreen/offscreen.js';
|
|
7
8
|
import { RtlMixin } from '../../mixins/rtl-mixin.js';
|
|
@@ -10,7 +11,7 @@ import { RtlMixin } from '../../mixins/rtl-mixin.js';
|
|
|
10
11
|
* An icon link that can be placed in the `footer` slot.
|
|
11
12
|
* @slot tooltip - slot for the link tooltip
|
|
12
13
|
*/
|
|
13
|
-
class CardFooterLink extends RtlMixin(LitElement) {
|
|
14
|
+
class CardFooterLink extends FocusMixin(RtlMixin(LitElement)) {
|
|
14
15
|
|
|
15
16
|
static get properties() {
|
|
16
17
|
return {
|
|
@@ -100,6 +101,10 @@ class CardFooterLink extends RtlMixin(LitElement) {
|
|
|
100
101
|
this.secondaryCountType = 'notification';
|
|
101
102
|
}
|
|
102
103
|
|
|
104
|
+
static get focusElementSelector() {
|
|
105
|
+
return 'a';
|
|
106
|
+
}
|
|
107
|
+
|
|
103
108
|
render() {
|
|
104
109
|
const noNumber = this.secondaryCount === undefined;
|
|
105
110
|
return html`
|
|
@@ -4,6 +4,7 @@ import '../expand-collapse/expand-collapse-content.js';
|
|
|
4
4
|
import { css, html, LitElement } from 'lit';
|
|
5
5
|
import { heading1Styles, heading2Styles, heading3Styles, heading4Styles } from '../typography/styles.js';
|
|
6
6
|
import { classMap } from 'lit/directives/class-map.js';
|
|
7
|
+
import { FocusMixin } from '../../mixins/focus-mixin.js';
|
|
7
8
|
import { offscreenStyles } from '../offscreen/offscreen.js';
|
|
8
9
|
import { RtlMixin } from '../../mixins/rtl-mixin.js';
|
|
9
10
|
|
|
@@ -25,7 +26,7 @@ const defaultHeading = 3;
|
|
|
25
26
|
* @fires d2l-collapsible-panel-expand - Dispatched when the panel is expanded
|
|
26
27
|
* @fires d2l-collapsible-panel-collapse - Dispatched when the panel is collapsed
|
|
27
28
|
*/
|
|
28
|
-
class CollapsiblePanel extends RtlMixin(LitElement) {
|
|
29
|
+
class CollapsiblePanel extends FocusMixin(RtlMixin(LitElement)) {
|
|
29
30
|
|
|
30
31
|
static get properties() {
|
|
31
32
|
return {
|
|
@@ -271,6 +272,10 @@ class CollapsiblePanel extends RtlMixin(LitElement) {
|
|
|
271
272
|
this._scrolled = false;
|
|
272
273
|
}
|
|
273
274
|
|
|
275
|
+
static get focusElementSelector() {
|
|
276
|
+
return 'button.d2l-offscreen';
|
|
277
|
+
}
|
|
278
|
+
|
|
274
279
|
disconnectedCallback() {
|
|
275
280
|
super.disconnectedCallback();
|
|
276
281
|
if (this._intersectionObserver) this._intersectionObserver.disconnect();
|
|
@@ -2,11 +2,12 @@ import '../colors/colors.js';
|
|
|
2
2
|
import '../icons/icon.js';
|
|
3
3
|
import { css, html, LitElement, unsafeCSS } from 'lit';
|
|
4
4
|
import { CountBadgeMixin } from './count-badge-mixin.js';
|
|
5
|
+
import { FocusMixin } from '../../mixins/focus-mixin.js';
|
|
5
6
|
import { getFocusPseudoClass } from '../../helpers/focus.js';
|
|
6
7
|
import { getUniqueId } from '../../helpers/uniqueId.js';
|
|
7
8
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
8
9
|
|
|
9
|
-
class CountBadgeIcon extends CountBadgeMixin(LitElement) {
|
|
10
|
+
class CountBadgeIcon extends FocusMixin(CountBadgeMixin(LitElement)) {
|
|
10
11
|
|
|
11
12
|
static get properties() {
|
|
12
13
|
return {
|
|
@@ -78,6 +79,10 @@ class CountBadgeIcon extends CountBadgeMixin(LitElement) {
|
|
|
78
79
|
this._badgeId = getUniqueId();
|
|
79
80
|
}
|
|
80
81
|
|
|
82
|
+
static get focusElementSelector() {
|
|
83
|
+
return 'd2l-icon';
|
|
84
|
+
}
|
|
85
|
+
|
|
81
86
|
render() {
|
|
82
87
|
let numberStyles = {
|
|
83
88
|
border: '2px solid white',
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import '../colors/colors.js';
|
|
2
2
|
import { css, html, LitElement, unsafeCSS } from 'lit';
|
|
3
3
|
import { CountBadgeMixin } from './count-badge-mixin.js';
|
|
4
|
+
import { FocusMixin } from '../../mixins/focus-mixin.js';
|
|
4
5
|
import { getFocusPseudoClass } from '../../helpers/focus.js';
|
|
5
6
|
import { getUniqueId } from '../../helpers/uniqueId.js';
|
|
6
7
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
7
8
|
|
|
8
|
-
class CountBadge extends CountBadgeMixin(LitElement) {
|
|
9
|
+
class CountBadge extends FocusMixin(CountBadgeMixin(LitElement)) {
|
|
9
10
|
|
|
10
11
|
static get styles() {
|
|
11
12
|
return [super.styles, css`
|
|
@@ -38,6 +39,10 @@ class CountBadge extends CountBadgeMixin(LitElement) {
|
|
|
38
39
|
this._badgeId = getUniqueId();
|
|
39
40
|
}
|
|
40
41
|
|
|
42
|
+
static get focusElementSelector() {
|
|
43
|
+
return '.d2l-count-badge-wrapper';
|
|
44
|
+
}
|
|
45
|
+
|
|
41
46
|
render() {
|
|
42
47
|
const tabbable = (this.tabStop || this.hasTooltip) && !(this.hideZero && this.number === 0) && !this.skeleton;
|
|
43
48
|
const innerHtml = html`
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { html, LitElement } from 'lit';
|
|
2
2
|
|
|
3
|
-
export const EmptyStateType = {
|
|
4
|
-
Search: 'search',
|
|
5
|
-
Set: 'set'
|
|
6
|
-
};
|
|
7
|
-
|
|
8
3
|
/**
|
|
9
4
|
* A component to represent the main filter dimension type - a set of possible values that can be selected.
|
|
10
5
|
* This component does not render anything, but instead gathers data needed for the d2l-filter.
|
|
@@ -104,11 +99,11 @@ class FilterDimensionSet extends LitElement {
|
|
|
104
99
|
}
|
|
105
100
|
|
|
106
101
|
getSearchEmptyState() {
|
|
107
|
-
return this._getEmptyState(this._searchEmptyStateSlot);
|
|
102
|
+
return this._getEmptyState(this._searchEmptyStateSlot, 'search');
|
|
108
103
|
}
|
|
109
104
|
|
|
110
105
|
getSetEmptyState() {
|
|
111
|
-
return this._getEmptyState(this._setEmptyStateSlot);
|
|
106
|
+
return this._getEmptyState(this._setEmptyStateSlot, 'set');
|
|
112
107
|
}
|
|
113
108
|
|
|
114
109
|
getValues() {
|
|
@@ -134,7 +129,7 @@ class FilterDimensionSet extends LitElement {
|
|
|
134
129
|
}));
|
|
135
130
|
}
|
|
136
131
|
|
|
137
|
-
_getEmptyState(emptyStateSlot) {
|
|
132
|
+
_getEmptyState(emptyStateSlot, emptyStateType) {
|
|
138
133
|
if (!emptyStateSlot) return null;
|
|
139
134
|
const nodes = emptyStateSlot.assignedNodes({ flatten: true });
|
|
140
135
|
const emptyState = nodes.find((node) => node.nodeType === Node.ELEMENT_NODE && node.tagName.toLowerCase() === 'd2l-filter-dimension-set-empty-state');
|
|
@@ -142,7 +137,8 @@ class FilterDimensionSet extends LitElement {
|
|
|
142
137
|
return {
|
|
143
138
|
actionHref: emptyState.actionHref,
|
|
144
139
|
actionText: emptyState.actionText,
|
|
145
|
-
description: emptyState.description
|
|
140
|
+
description: emptyState.description,
|
|
141
|
+
type: emptyStateType
|
|
146
142
|
};
|
|
147
143
|
}
|
|
148
144
|
|
|
@@ -22,7 +22,6 @@ import { bodyCompactStyles, bodySmallStyles, bodyStandardStyles } from '../typog
|
|
|
22
22
|
import { css, html, LitElement, nothing } from 'lit';
|
|
23
23
|
import { announce } from '../../helpers/announce.js';
|
|
24
24
|
import { classMap } from 'lit/directives/class-map.js';
|
|
25
|
-
import { EmptyStateType } from './filter-dimension-set.js';
|
|
26
25
|
import { FocusMixin } from '../../mixins/focus-mixin.js';
|
|
27
26
|
import { formatNumber } from '@brightspace-ui/intl/lib/number.js';
|
|
28
27
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
@@ -415,7 +414,7 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
|
|
|
415
414
|
`;
|
|
416
415
|
}
|
|
417
416
|
|
|
418
|
-
_createEmptyState(emptyState, dimensionKey
|
|
417
|
+
_createEmptyState(emptyState, dimensionKey) {
|
|
419
418
|
let emptyStateAction = nothing;
|
|
420
419
|
if (emptyState.actionText && emptyState.actionHref) {
|
|
421
420
|
emptyStateAction = html`
|
|
@@ -430,7 +429,7 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
|
|
|
430
429
|
<d2l-empty-state-action-button
|
|
431
430
|
@d2l-empty-state-action="${this._handleEmptyStateAction}"
|
|
432
431
|
data-dimension-key="${dimensionKey}"
|
|
433
|
-
data-type="${type}"
|
|
432
|
+
data-type="${emptyState.type}"
|
|
434
433
|
text="${emptyState.actionText}">
|
|
435
434
|
</d2l-empty-state-action-button>
|
|
436
435
|
`;
|
|
@@ -454,7 +453,7 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
|
|
|
454
453
|
|
|
455
454
|
if (this._isDimensionEmpty(dimension)) {
|
|
456
455
|
const emptyState = dimension.setEmptyState
|
|
457
|
-
? this._createEmptyState(dimension.setEmptyState, dimension.key
|
|
456
|
+
? this._createEmptyState(dimension.setEmptyState, dimension.key)
|
|
458
457
|
: html`
|
|
459
458
|
<d2l-empty-state-simple
|
|
460
459
|
class="d2l-filter-dimension-info-message"
|
|
@@ -476,7 +475,7 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
|
|
|
476
475
|
'd2l-offscreen': count !== 0
|
|
477
476
|
};
|
|
478
477
|
const emptyState = dimension.searchEmptyState && count === 0
|
|
479
|
-
? this._createEmptyState(dimension.searchEmptyState, dimension.key
|
|
478
|
+
? this._createEmptyState(dimension.searchEmptyState, dimension.key)
|
|
480
479
|
: html`
|
|
481
480
|
<d2l-empty-state-simple
|
|
482
481
|
class="d2l-filter-dimension-info-message"
|
package/lang/ar.js
CHANGED
|
@@ -106,6 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "مرئي.",
|
|
107
107
|
"components.switch.hidden": "مخفي",
|
|
108
108
|
"components.switch.conditions": "يجب استيفاء الشروط",
|
|
109
|
+
"components.table-controls.label": "Actions for table",
|
|
109
110
|
"components.tabs.next": "التمرير إلى الأمام",
|
|
110
111
|
"components.tabs.previous": "التمرير إلى الخلف",
|
|
111
112
|
"components.tag-list.clear": "انقر فوق، أو اضغط على مسافة للخلف، أو اضغط على مفتاح حذف لإزالة العنصر {value}",
|
package/lang/cy.js
CHANGED
|
@@ -106,6 +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": "Actions for table",
|
|
109
110
|
"components.tabs.next": "Sgrolio Ymlaen",
|
|
110
111
|
"components.tabs.previous": "Sgrolio Yn Ôl",
|
|
111
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,6 +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": "Actions for table",
|
|
109
110
|
"components.tabs.next": "Rul frem",
|
|
110
111
|
"components.tabs.previous": "Rul tilbage",
|
|
111
112
|
"components.tag-list.clear": "Klik, tryk på tilbagetasten, eller tryk på slettasten for at fjerne element {value}",
|
package/lang/de.js
CHANGED
|
@@ -106,6 +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": "Actions for table",
|
|
109
110
|
"components.tabs.next": "Weiterblättern",
|
|
110
111
|
"components.tabs.previous": "Zurückblättern",
|
|
111
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/en-gb.js
CHANGED
|
@@ -106,6 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "Visible.",
|
|
107
107
|
"components.switch.hidden": "Hidden",
|
|
108
108
|
"components.switch.conditions": "Conditions must be met",
|
|
109
|
+
"components.table-controls.label": "Actions for table",
|
|
109
110
|
"components.tabs.next": "Scroll Forward",
|
|
110
111
|
"components.tabs.previous": "Scroll Backward",
|
|
111
112
|
"components.tag-list.clear": "Click, press backspace, or press delete key to remove item {value}",
|
package/lang/en.js
CHANGED
|
@@ -106,6 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "Visible.",
|
|
107
107
|
"components.switch.hidden": "Hidden",
|
|
108
108
|
"components.switch.conditions": "Conditions must be met",
|
|
109
|
+
"components.table-controls.label": "Actions for table",
|
|
109
110
|
"components.tabs.next": "Scroll Forward",
|
|
110
111
|
"components.tabs.previous": "Scroll Backward",
|
|
111
112
|
"components.tag-list.clear": "Click, press backspace, or press delete key to remove item {value}",
|
package/lang/es-es.js
CHANGED
|
@@ -106,6 +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": "Actions for table",
|
|
109
110
|
"components.tabs.next": "Desplazarse hacia delante",
|
|
110
111
|
"components.tabs.previous": "Desplazarse hacia atrás",
|
|
111
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,6 +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": "Actions for table",
|
|
109
110
|
"components.tabs.next": "Desplazarse hacia adelante",
|
|
110
111
|
"components.tabs.previous": "Desplazarse hacia atrás",
|
|
111
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
|
@@ -106,6 +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 for table",
|
|
109
110
|
"components.tabs.next": "Faire défiler vers l'avant",
|
|
110
111
|
"components.tabs.previous": "Faire défiler vers l'arrière",
|
|
111
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
|
@@ -106,6 +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 for table",
|
|
109
110
|
"components.tabs.next": "Défilement avant",
|
|
110
111
|
"components.tabs.previous": "Défilement arrière",
|
|
111
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
|
@@ -106,6 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "दृश्यमान।",
|
|
107
107
|
"components.switch.hidden": "छुपा हुआ",
|
|
108
108
|
"components.switch.conditions": "शर्तें पूरी होनी चाहिए",
|
|
109
|
+
"components.table-controls.label": "Actions for table",
|
|
109
110
|
"components.tabs.next": "आगे स्क्रॉल करें",
|
|
110
111
|
"components.tabs.previous": "पीछे स्क्रॉल करें",
|
|
111
112
|
"components.tag-list.clear": "{value} को हटाने के लिए क्लिक करें, बैकस्पेस दबाएँ, या हटाएँ कुंजी को दबाएँ",
|
package/lang/ja.js
CHANGED
|
@@ -106,6 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "表示。",
|
|
107
107
|
"components.switch.hidden": "非表示",
|
|
108
108
|
"components.switch.conditions": "条件が一致する必要があります",
|
|
109
|
+
"components.table-controls.label": "Actions for table",
|
|
109
110
|
"components.tabs.next": "前方にスクロール",
|
|
110
111
|
"components.tabs.previous": "後方にスクロール",
|
|
111
112
|
"components.tag-list.clear": "クリックする、Backspace キーを押す、または Delete キーを押すと項目 {value} が削除されます",
|
package/lang/ko.js
CHANGED
|
@@ -106,6 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "표시.",
|
|
107
107
|
"components.switch.hidden": "숨김",
|
|
108
108
|
"components.switch.conditions": "조건을 충족해야 합니다",
|
|
109
|
+
"components.table-controls.label": "Actions for table",
|
|
109
110
|
"components.tabs.next": "앞으로 스크롤",
|
|
110
111
|
"components.tabs.previous": "뒤로 스크롤",
|
|
111
112
|
"components.tag-list.clear": "항목 {value}을(를) 제거하려면 클릭하거나, 백스페이스 또는 삭제 키를 누릅니다.",
|
package/lang/nl.js
CHANGED
|
@@ -106,6 +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": "Actions for table",
|
|
109
110
|
"components.tabs.next": "Naar voren scrollen",
|
|
110
111
|
"components.tabs.previous": "Naar achteren scrollen",
|
|
111
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
|
@@ -106,6 +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": "Actions for table",
|
|
109
110
|
"components.tabs.next": "Ir para frente",
|
|
110
111
|
"components.tabs.previous": "Ir para trás",
|
|
111
112
|
"components.tag-list.clear": "Clique em, pressione Backspace ou pressione a tecla Delete para remover o item {value}",
|
package/lang/sv.js
CHANGED
|
@@ -106,6 +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": "Actions for table",
|
|
109
110
|
"components.tabs.next": "Bläddra framåt",
|
|
110
111
|
"components.tabs.previous": "Bläddra bakåt",
|
|
111
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,6 +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": "Actions for table",
|
|
109
110
|
"components.tabs.next": "İleri Kaydır",
|
|
110
111
|
"components.tabs.previous": "Geri Kaydır",
|
|
111
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,6 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "可见。",
|
|
107
107
|
"components.switch.hidden": "隐藏",
|
|
108
108
|
"components.switch.conditions": "必须符合条件",
|
|
109
|
+
"components.table-controls.label": "Actions for table",
|
|
109
110
|
"components.tabs.next": "向前滚动",
|
|
110
111
|
"components.tabs.previous": "向后滚动",
|
|
111
112
|
"components.tag-list.clear": "单击、按退格键或按 Delete 键以移除项目 {value}",
|
package/lang/zh-tw.js
CHANGED
|
@@ -106,6 +106,7 @@ export default {
|
|
|
106
106
|
"components.switch.visibleWithPeriod": "可見。",
|
|
107
107
|
"components.switch.hidden": "隱藏",
|
|
108
108
|
"components.switch.conditions": "必須符合條件",
|
|
109
|
+
"components.table-controls.label": "Actions for table",
|
|
109
110
|
"components.tabs.next": "向前捲動",
|
|
110
111
|
"components.tabs.previous": "向後捲動",
|
|
111
112
|
"components.tag-list.clear": "按一下、按下退格鍵或按下刪除鍵以移除項目 {value}",
|
package/mixins/focus-mixin.md
CHANGED
|
@@ -12,13 +12,14 @@ Apply the mixin and set the static `focusElementSelector` to a CSS query selecto
|
|
|
12
12
|
import { FocusMixin } from '@brightspace-ui/core/mixins/focus-mixin.js';
|
|
13
13
|
|
|
14
14
|
class MyComponent extends FocusMixin(LitElement) {
|
|
15
|
-
|
|
15
|
+
|
|
16
16
|
// delegate focus to the underlying input
|
|
17
17
|
static get focusElementSelector() {
|
|
18
|
-
|
|
18
|
+
return 'input';
|
|
19
|
+
}
|
|
19
20
|
|
|
20
21
|
render() {
|
|
21
|
-
|
|
22
|
+
return html`<input type="text">`;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.95.1",
|
|
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",
|