@brightspace-ui/core 2.3.0 → 2.3.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/inputs/input-text.js +7 -3
- package/components/list/list-item-generic-layout.js +2 -0
- package/lang/cy.js +2 -2
- package/lang/da.js +1 -1
- package/lang/de.js +2 -2
- package/lang/fr-fr.js +1 -1
- package/lang/hi.js +2 -2
- package/lang/ko.js +1 -1
- package/lang/nl.js +1 -1
- package/lang/pt.js +1 -1
- package/lang/sv.js +1 -1
- package/package.json +1 -1
|
@@ -469,11 +469,15 @@ class InputText extends FocusMixin(LabelledMixin(FormElementMixin(SkeletonMixin(
|
|
|
469
469
|
}
|
|
470
470
|
|
|
471
471
|
_getAriaLabel() {
|
|
472
|
+
let label;
|
|
472
473
|
if (this.label && (this.labelHidden || this.labelledBy)) {
|
|
473
|
-
|
|
474
|
+
label = this.label;
|
|
475
|
+
} else if (this.hasAttribute('aria-label')) {
|
|
476
|
+
label = this.getAttribute('aria-label');
|
|
474
477
|
}
|
|
475
|
-
if (
|
|
476
|
-
|
|
478
|
+
if (label) {
|
|
479
|
+
const unitLabel = this.unit ? ` ${this.unit}` : '';
|
|
480
|
+
return `${label}${unitLabel}`;
|
|
477
481
|
}
|
|
478
482
|
return undefined;
|
|
479
483
|
}
|
package/lang/cy.js
CHANGED
|
@@ -18,10 +18,10 @@ export default {
|
|
|
18
18
|
"components.filter.clearDescription": "Wrthi’n clirio hidlwyd ar gyfer: {filterName}",
|
|
19
19
|
"components.filter.clearDescriptionSingle": "Clirio Hidlwyr",
|
|
20
20
|
"components.filter.loading": "Wrthi’n llwytho hidlyddion",
|
|
21
|
-
"components.filter.filterCountDescription": "{number, plural, zero {
|
|
21
|
+
"components.filter.filterCountDescription": "{number, plural, zero {Dim hildwyr wedi'u gweithredu.} one {1 hidlydd wedi'i weithredu.} other {{number} hidlydd wedi'u gweithredu.}}",
|
|
22
22
|
"components.filter.filters": "Hidlyddion",
|
|
23
23
|
"components.filter.noFilters": "Dim hidlyddion ar gael",
|
|
24
|
-
"components.filter.searchResults": "{number, plural, zero {Dim canlyniadau chwilio} one {1 canlyniad chwilio} other {{number}
|
|
24
|
+
"components.filter.searchResults": "{number, plural, zero {Dim canlyniadau chwilio} one {1 canlyniad chwilio} other {{number} canlyniad chwilio}}",
|
|
25
25
|
"components.filter.singleDimensionDescription": "Hidlo yn ôl: {filterName}",
|
|
26
26
|
"components.form-element.defaultError": "Mae {label} yn annilys.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Maes",
|
package/lang/da.js
CHANGED
|
@@ -21,7 +21,7 @@ export default {
|
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, =0 {Ingen filtre anvendt.} one {1 filter anvendt.} other {{number} filtre anvendt.}}",
|
|
22
22
|
"components.filter.filters": "Filtre",
|
|
23
23
|
"components.filter.noFilters": "Ingen tilgængelige filtre",
|
|
24
|
-
"components.filter.searchResults": "{number, plural, =0 {
|
|
24
|
+
"components.filter.searchResults": "{number, plural, =0 {Ingen søgeresultater} one {1 søgeresultat} other {{number} søgeresultater}}",
|
|
25
25
|
"components.filter.singleDimensionDescription": "Filtrer efter: {filterName}",
|
|
26
26
|
"components.form-element.defaultError": "{label} er ugyldigt.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Felt",
|
package/lang/de.js
CHANGED
|
@@ -18,10 +18,10 @@ export default {
|
|
|
18
18
|
"components.filter.clearDescription": "Filter für {filterName} löschen",
|
|
19
19
|
"components.filter.clearDescriptionSingle": "Filter löschen",
|
|
20
20
|
"components.filter.loading": "Filter werden geladen",
|
|
21
|
-
"components.filter.filterCountDescription": "{number, plural, =0 {Keine Filter angewendet.} one {1
|
|
21
|
+
"components.filter.filterCountDescription": "{number, plural, =0 {Keine Filter angewendet.} one {1 Filter angewendet.} other {{number} Filter angewendet.}}",
|
|
22
22
|
"components.filter.filters": "Filter",
|
|
23
23
|
"components.filter.noFilters": "Keine verfügbaren Filter",
|
|
24
|
-
"components.filter.searchResults": "{number, plural, =0 {Keine Suchergebnisse} one {1
|
|
24
|
+
"components.filter.searchResults": "{number, plural, =0 {Keine Suchergebnisse} one {1 Suchergebnis} other {{number} Suchergebnisse}}",
|
|
25
25
|
"components.filter.singleDimensionDescription": "Filtern nach: {filterName}",
|
|
26
26
|
"components.form-element.defaultError": "{label} ist ungültig.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Feld",
|
package/lang/fr-fr.js
CHANGED
|
@@ -21,7 +21,7 @@ export default {
|
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, =0 {Aucun filtre appliqué.} one {1 filtre appliqué.} other {{number} filtres appliqués.}}",
|
|
22
22
|
"components.filter.filters": "Filtres",
|
|
23
23
|
"components.filter.noFilters": "Aucun filtre disponible",
|
|
24
|
-
"components.filter.searchResults": "{number, plural, =0 {
|
|
24
|
+
"components.filter.searchResults": "{number, plural, =0 {Aucun résultat de recherche} one {1 résultat de recherche} other {{number} résultats de recherche}}",
|
|
25
25
|
"components.filter.singleDimensionDescription": "Filtrer par : {filterName}",
|
|
26
26
|
"components.form-element.defaultError": "{label} n'est pas valide.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Champ",
|
package/lang/hi.js
CHANGED
|
@@ -70,9 +70,9 @@ export default {
|
|
|
70
70
|
"components.list-item-tooltip.up-down-key": "ऊपर/नीचे",
|
|
71
71
|
"components.list-item-tooltip.up-down-desc": "सूची के आइटम के बीच फोकस ले जाएँ।",
|
|
72
72
|
"components.list-item-tooltip.left-right-key": "बायाँ/दायाँ",
|
|
73
|
-
"components.list-item-tooltip.left-right-desc": "मौजूदा आइटम में
|
|
73
|
+
"components.list-item-tooltip.left-right-desc": "मौजूदा आइटम में फ़ोकस को इधर से उधर ले जाएँ।",
|
|
74
74
|
"components.list-item-tooltip.page-up-down-key": "पेज ऊपर/नीचे",
|
|
75
|
-
"components.list-item-tooltip.page-up-down-desc": "एक बार में पाँच आइटम पर
|
|
75
|
+
"components.list-item-tooltip.page-up-down-desc": "एक बार में पाँच आइटम पर फ़ोकस ले जाएँ।",
|
|
76
76
|
"components.list-item-drag-handle-tooltip.title": "क्रम बदलने के लिए कीबोर्ड नियंत्रण:",
|
|
77
77
|
"components.list-item-drag-handle-tooltip.enter-key": "डालें",
|
|
78
78
|
"components.list-item-drag-handle-tooltip.enter-desc": "कीबोर्ड का क्रम बदलना मोड को टॉगल करें।",
|
package/lang/ko.js
CHANGED
|
@@ -18,7 +18,7 @@ export default {
|
|
|
18
18
|
"components.filter.clearDescription": "{filterName}에 대한 필터를 지웁니다.",
|
|
19
19
|
"components.filter.clearDescriptionSingle": "필터 지우기",
|
|
20
20
|
"components.filter.loading": "필터 로드 중",
|
|
21
|
-
"components.filter.filterCountDescription": "{number, plural, =0 {적용된 필터 없음.} other {{number}개 필터
|
|
21
|
+
"components.filter.filterCountDescription": "{number, plural, =0 {적용된 필터 없음.} other {{number}개 필터 적용됨.}}",
|
|
22
22
|
"components.filter.filters": "개 필터",
|
|
23
23
|
"components.filter.noFilters": "사용 가능한 필터가 없습니다",
|
|
24
24
|
"components.filter.searchResults": "{number, plural, =0 {검색 결과 없음} other {{number}개 검색 결과}}",
|
package/lang/nl.js
CHANGED
|
@@ -18,7 +18,7 @@ export default {
|
|
|
18
18
|
"components.filter.clearDescription": "Filters wissen voor {filterName}",
|
|
19
19
|
"components.filter.clearDescriptionSingle": "Filters wissen",
|
|
20
20
|
"components.filter.loading": "Laden van filters",
|
|
21
|
-
"components.filter.filterCountDescription": "{number, plural, =0 {
|
|
21
|
+
"components.filter.filterCountDescription": "{number, plural, =0 {Geen filters toegepast.} one {1 filter toegepast.} other {{number} filters toegepast.}}",
|
|
22
22
|
"components.filter.filters": "Filters",
|
|
23
23
|
"components.filter.noFilters": "Geen beschikbare filters",
|
|
24
24
|
"components.filter.searchResults": "{number, plural, =0 {Geen zoekresultaten} one {1 zoekresultaat} other {{number} zoekresultaten}}",
|
package/lang/pt.js
CHANGED
|
@@ -18,7 +18,7 @@ export default {
|
|
|
18
18
|
"components.filter.clearDescription": "Limpar filtros para: {filterName}",
|
|
19
19
|
"components.filter.clearDescriptionSingle": "Limpar filtros",
|
|
20
20
|
"components.filter.loading": "Carregar filtros",
|
|
21
|
-
"components.filter.filterCountDescription": "{number, plural, =0 {Nenhum filtro aplicado.} one {
|
|
21
|
+
"components.filter.filterCountDescription": "{number, plural, =0 {Nenhum filtro aplicado.} one {1 filtro aplicado.} other {{number} filtros aplicados.}}",
|
|
22
22
|
"components.filter.filters": "Filtros",
|
|
23
23
|
"components.filter.noFilters": "Não há filtros disponíveis",
|
|
24
24
|
"components.filter.searchResults": "{number, plural, =0 {Sem resultados para a pesquisa} one {1 resultado para a pesquisa} other {{number} resultados para a pesquisa}}",
|
package/lang/sv.js
CHANGED
|
@@ -21,7 +21,7 @@ export default {
|
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, =0 {Inga filter tillämpade.} one {1 filter tillämpat.} other {{number} filter tillämpade.}}",
|
|
22
22
|
"components.filter.filters": "Filter",
|
|
23
23
|
"components.filter.noFilters": "Inga tillgängliga filter",
|
|
24
|
-
"components.filter.searchResults": "{number, plural, =0 {
|
|
24
|
+
"components.filter.searchResults": "{number, plural, =0 {Inga sökresultat} one {1 sökresultat} other {{number} sökresultat}}",
|
|
25
25
|
"components.filter.singleDimensionDescription": "Filtrera efter: {filterName}",
|
|
26
26
|
"components.form-element.defaultError": "{label} är ogiltig.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Fält",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.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",
|