@brightspace-ui/core 3.54.0 → 3.55.1
Sign up to get free protection for your applications and to get access to all the features.
- package/components/meter/README.md +4 -2
- package/components/meter/demo/meter.html +1 -0
- package/components/meter/meter-linear.js +3 -1
- 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/hi.js +1 -1
- package/lang/ja.js +1 -1
- 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/lang/tr.js +1 -1
- package/lang/zh-cn.js +1 -1
- package/lang/zh-tw.js +1 -1
- package/package.json +1 -1
@@ -56,12 +56,14 @@ Linear meters show a horizontal progress bar.
|
|
56
56
|
|
57
57
|
* `value` (required, Number): Current number of completed units. A positive, non-zero number that is less than or equal to `max`.
|
58
58
|
* `max` (Number, default: `100`): Max number of units that are being measured by this meter. A positive, non-zero number.
|
59
|
-
* `percent` Boolean: Shows a percentage instead of `value/max`.
|
60
|
-
* `text-inline` Boolean: Keeps the meter to a single line.
|
59
|
+
* `percent` (Boolean): Shows a percentage instead of `value/max`.
|
60
|
+
* `text-inline` (Boolean): Keeps the meter to a single line.
|
61
|
+
* `text` (String): Context information about what the meter is about. Adding one of the following between `{}` (e.g., `{x/y}`) causes replacements:
|
61
62
|
* `%` in the string will be replaced with percentage value
|
62
63
|
* `x/y` in the string will be replaced with fraction with the proper language support
|
63
64
|
* **DEPRECATED** `x` in the string will be replaced with `value`
|
64
65
|
* **DEPRECATED** `y` in the string will be replaced with `max`
|
66
|
+
* `text-hidden` (Boolean): Hides the text visually
|
65
67
|
<!-- docs: end hidden content -->
|
66
68
|
|
67
69
|
## Radial meter [d2l-meter-radial]
|
@@ -42,6 +42,7 @@
|
|
42
42
|
<d2l-meter-linear value="3" max="6"></d2l-meter-linear>
|
43
43
|
<d2l-meter-linear value="3" max="6" percent></d2l-meter-linear>
|
44
44
|
<d2l-meter-linear value="3" max="6" text="Visited: {x/y}" percent></d2l-meter-linear>
|
45
|
+
<d2l-meter-linear value="3" max="6" text="Visited: {x/y}" percent text-hidden></d2l-meter-linear>
|
45
46
|
<d2l-meter-linear value="3" max="6" text="Visited: {%}"></d2l-meter-linear>
|
46
47
|
<d2l-meter-linear value="3" max="6" text="You're doing great!" percent></d2l-meter-linear>
|
47
48
|
</div>
|
@@ -115,7 +115,9 @@ class MeterLinear extends MeterMixin(RtlMixin(LitElement)) {
|
|
115
115
|
'd2l-meter-linear-primary-ltr': !this.percent,
|
116
116
|
'd2l-meter-linear-primary': true
|
117
117
|
};
|
118
|
-
const secondaryTextElement = secondary
|
118
|
+
const secondaryTextElement = secondary && !this.textHidden
|
119
|
+
? html`<div class="d2l-meter-linear-secondary">${secondary}</div>`
|
120
|
+
: nothing;
|
119
121
|
|
120
122
|
return html `
|
121
123
|
<div
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "يحتوي على أحداث.",
|
6
6
|
"components.calendar.notSelected": "لم يتم التحديد.",
|
7
7
|
"components.calendar.selected": "تم التحديد.",
|
8
8
|
"components.calendar.show": "إظهار {month}",
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "Yn Cynnwys Digwyddiadau.",
|
6
6
|
"components.calendar.notSelected": "Heb ei Ddewis.",
|
7
7
|
"components.calendar.selected": "Wedi'i Ddewis.",
|
8
8
|
"components.calendar.show": "Dangos {month}",
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "Har begivenheder.",
|
6
6
|
"components.calendar.notSelected": "Ikke valgt.",
|
7
7
|
"components.calendar.selected": "Valgt.",
|
8
8
|
"components.calendar.show": "Vis {month}",
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "Hat Ereignisse.",
|
6
6
|
"components.calendar.notSelected": "Nicht ausgewählt.",
|
7
7
|
"components.calendar.selected": "Ausgewählt.",
|
8
8
|
"components.calendar.show": "{month} anzeigen",
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "Tiene eventos.",
|
6
6
|
"components.calendar.notSelected": "No seleccionado.",
|
7
7
|
"components.calendar.selected": "Seleccionado.",
|
8
8
|
"components.calendar.show": "Mostrar {month}",
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "Tiene eventos.",
|
6
6
|
"components.calendar.notSelected": "No seleccionado.",
|
7
7
|
"components.calendar.selected": "Seleccionado.",
|
8
8
|
"components.calendar.show": "Mostrar {month}",
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "A des événements.",
|
6
6
|
"components.calendar.notSelected": "Non sélectionné.",
|
7
7
|
"components.calendar.selected": "Sélectionné.",
|
8
8
|
"components.calendar.show": "Afficher {month}",
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "Comprend des événements.",
|
6
6
|
"components.calendar.notSelected": "Non sélectionné(e)",
|
7
7
|
"components.calendar.selected": "Sélectionné(e).",
|
8
8
|
"components.calendar.show": "Afficher {month}",
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "ईवेंट हैं।",
|
6
6
|
"components.calendar.notSelected": "चयनित नहीं।",
|
7
7
|
"components.calendar.selected": "चयनित।",
|
8
8
|
"components.calendar.show": "{month} दिखाएँ",
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "イベントがあります。",
|
6
6
|
"components.calendar.notSelected": "選択されていません。",
|
7
7
|
"components.calendar.selected": "選択されています。",
|
8
8
|
"components.calendar.show": "{month} を表示",
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "이벤트가 있습니다.",
|
6
6
|
"components.calendar.notSelected": "선택되지 않음.",
|
7
7
|
"components.calendar.selected": "선택됨.",
|
8
8
|
"components.calendar.show": "{month} 표시",
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "Bevat gebeurtenissen.",
|
6
6
|
"components.calendar.notSelected": "Niet geselecteerd.",
|
7
7
|
"components.calendar.selected": "Geselecteerd.",
|
8
8
|
"components.calendar.show": "{month} weergeven",
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "Tem eventos.",
|
6
6
|
"components.calendar.notSelected": "Não selecionado.",
|
7
7
|
"components.calendar.selected": "Selecionado.",
|
8
8
|
"components.calendar.show": "Mostrar {month}",
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "Har händelser.",
|
6
6
|
"components.calendar.notSelected": "Inte vald.",
|
7
7
|
"components.calendar.selected": "Markerad.",
|
8
8
|
"components.calendar.show": "Visa {month}",
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "Olayları Var.",
|
6
6
|
"components.calendar.notSelected": "Seçili Değil.",
|
7
7
|
"components.calendar.selected": "Seçili.",
|
8
8
|
"components.calendar.show": "{month} Göster",
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "有事件。",
|
6
6
|
"components.calendar.notSelected": "未选择。",
|
7
7
|
"components.calendar.selected": "已选择。",
|
8
8
|
"components.calendar.show": "显示 {month}",
|
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.calendar.hasEvents": "
|
5
|
+
"components.calendar.hasEvents": "有事件。",
|
6
6
|
"components.calendar.notSelected": "未選取。",
|
7
7
|
"components.calendar.selected": "已選取。",
|
8
8
|
"components.calendar.show": "顯示{month}",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.55.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",
|