@brightspace-ui/core 2.182.1 → 2.183.0
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/empty-state/README.md +10 -6
- 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
@@ -32,10 +32,10 @@ Empty state components are used to convey that there is no data available to be
|
|
32
32
|
|
33
33
|
<!-- docs: start best practices -->
|
34
34
|
<!-- docs: start dos -->
|
35
|
-
*
|
36
|
-
*
|
37
|
-
*
|
38
|
-
*
|
35
|
+
* Use clear language to indicate there is no data available
|
36
|
+
* Offer concise guidance about next steps
|
37
|
+
* Include an [Empty State Action](#d2l-empty-state-action-button) or [Link](#d2l-empty-state-action-link) if it can help the user
|
38
|
+
* Replace the entire content with its empty state; do not show an empty table or list header
|
39
39
|
<!-- docs: end dos -->
|
40
40
|
|
41
41
|
<!-- docs: start donts -->
|
@@ -84,7 +84,9 @@ The `illustration-name` property can be set to use one of the preset illustratio
|
|
84
84
|
|
85
85
|
## Empty State Action Button [d2l-empty-state-action-button]
|
86
86
|
|
87
|
-
`d2l-empty-state-action-button`
|
87
|
+
Use a `d2l-empty-state-action-button` to add a button that provides users with an easy next step, assuming the next step is to perform an action. If the next step is to navigate to another page, consider using an [Empty State Action Link](#d2l-empty-state-action-link) instead.
|
88
|
+
|
89
|
+
To add the button, place a `d2l-empty-state-action-button` component inside of the default slot of `empty-state-simple` or `empty-state-illustrated`. Only a single action can be placed within an empty state component.
|
88
90
|
|
89
91
|
The `primary` attribute can be set to render a primary button in place of the default subtle button. Note that the `primary` attribute is only valid when placed within `empty-state-illustrated` components and will have no effect on `empty-state-simple`.
|
90
92
|
|
@@ -117,7 +119,9 @@ The `primary` attribute can be set to render a primary button in place of the de
|
|
117
119
|
|
118
120
|
## Empty State Action Link [d2l-empty-state-action-link]
|
119
121
|
|
120
|
-
`d2l-empty-state-action-link`
|
122
|
+
Use a `d2l-empty-state-action-link` to add a link that provides users with an easy next step, provided the next step is to navigate to another page. If the next step is actually an action, use an [Empty State Action Button](#d2l-empty-state-action-button) instead.
|
123
|
+
|
124
|
+
To add the link, place a `d2l-empty-state-action-link` component inside of the default slot of `empty-state-simple` or `empty-state-illustrated`. Only a single action can be placed within an empty state component.
|
121
125
|
|
122
126
|
<!-- docs: demo code properties name:d2l-empty-state-action-link -->
|
123
127
|
```html
|
package/lang/ar.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "إظهار {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "إغلاق مربع الحوار هذا",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "مهم!",
|
11
11
|
"components.dropdown.close": "إغلاق",
|
12
12
|
"components.filter.activeFilters": "عوامل تصفية نشطة:",
|
13
13
|
"components.filter.clear": "مسح",
|
package/lang/cy.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Dangos {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Cau'r dialog hwn",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "Critigol!",
|
11
11
|
"components.dropdown.close": "Cau",
|
12
12
|
"components.filter.activeFilters": "Dim Hidlwyr Gweithredol:",
|
13
13
|
"components.filter.clear": "Clirio",
|
package/lang/da.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Vis {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Luk denne dialogboks",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "Kritisk!",
|
11
11
|
"components.dropdown.close": "Luk",
|
12
12
|
"components.filter.activeFilters": "Aktive filtre:",
|
13
13
|
"components.filter.clear": "Ryd",
|
package/lang/de.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "{month} anzeigen",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Dieses Dialogfeld schließen",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "Kritisch!",
|
11
11
|
"components.dropdown.close": "Schließen",
|
12
12
|
"components.filter.activeFilters": "Aktive Filter:",
|
13
13
|
"components.filter.clear": "Löschen",
|
package/lang/es-es.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Mostrar {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Cerrar este cuadro de diálogo",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "¡Crítico!",
|
11
11
|
"components.dropdown.close": "Cerrar",
|
12
12
|
"components.filter.activeFilters": "Filtros activos:",
|
13
13
|
"components.filter.clear": "Borrar",
|
package/lang/es.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Mostrar {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Cerrar este cuadro de diálogo",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "¡Crucial!",
|
11
11
|
"components.dropdown.close": "Cerrar",
|
12
12
|
"components.filter.activeFilters": "Filtros activos:",
|
13
13
|
"components.filter.clear": "Borrar",
|
package/lang/fr-fr.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Afficher {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Fermer cette boîte de dialogue",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "Critique !",
|
11
11
|
"components.dropdown.close": "Fermer",
|
12
12
|
"components.filter.activeFilters": "Filtres actifs :",
|
13
13
|
"components.filter.clear": "Effacer",
|
package/lang/fr.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Afficher {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Fermer cette boîte de dialogue",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "Essentiel!",
|
11
11
|
"components.dropdown.close": "Fermer",
|
12
12
|
"components.filter.activeFilters": "Filtres actifs :",
|
13
13
|
"components.filter.clear": "Effacer",
|
package/lang/hi.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "{month} दिखाएँ",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "यह संवाद बंद करें",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "महत्वपूर्ण!",
|
11
11
|
"components.dropdown.close": "बंद करें",
|
12
12
|
"components.filter.activeFilters": "सक्रिय फ़िल्टर्स:",
|
13
13
|
"components.filter.clear": "साफ़ करें",
|
package/lang/ja.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "{month} を表示",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "このダイアログを閉じる",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "重大です!",
|
11
11
|
"components.dropdown.close": "閉じる",
|
12
12
|
"components.filter.activeFilters": "アクティブフィルタ:",
|
13
13
|
"components.filter.clear": "クリア",
|
package/lang/ko.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "{month} 표시",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "이 대화 상자 닫기",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "중요!",
|
11
11
|
"components.dropdown.close": "닫기",
|
12
12
|
"components.filter.activeFilters": "활성 필터:",
|
13
13
|
"components.filter.clear": "지우기",
|
package/lang/nl.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "{month} weergeven",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Dit dialoogvenster sluiten",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "Kritiek!",
|
11
11
|
"components.dropdown.close": "Sluiten",
|
12
12
|
"components.filter.activeFilters": "Actieve filters:",
|
13
13
|
"components.filter.clear": "Wissen",
|
package/lang/pt.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Mostrar {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Fechar esta caixa de diálogo",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "Crítico!",
|
11
11
|
"components.dropdown.close": "Fechar",
|
12
12
|
"components.filter.activeFilters": "Filtros ativos:",
|
13
13
|
"components.filter.clear": "Limpar",
|
package/lang/sv.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "Visa {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Stäng dialogrutan",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "Viktigt!",
|
11
11
|
"components.dropdown.close": "Stäng",
|
12
12
|
"components.filter.activeFilters": "Aktiva filter:",
|
13
13
|
"components.filter.clear": "Rensa",
|
package/lang/tr.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "{month} Göster",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Bu iletişim kutusunu kapat",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "Kritik!",
|
11
11
|
"components.dropdown.close": "Kapat",
|
12
12
|
"components.filter.activeFilters": "Etkin Filtreler:",
|
13
13
|
"components.filter.clear": "Temizle",
|
package/lang/zh-cn.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "显示 {month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "关闭此对话框",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "严重问题!",
|
11
11
|
"components.dropdown.close": "关闭",
|
12
12
|
"components.filter.activeFilters": "活动筛选器:",
|
13
13
|
"components.filter.clear": "清除",
|
package/lang/zh-tw.js
CHANGED
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
"components.calendar.show": "顯示{month}",
|
8
8
|
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "關閉此對話方塊",
|
10
|
-
"components.dialog.critical": "
|
10
|
+
"components.dialog.critical": "重大!",
|
11
11
|
"components.dropdown.close": "關閉",
|
12
12
|
"components.filter.activeFilters": "啟用中的篩選器:",
|
13
13
|
"components.filter.clear": "清除",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.183.0",
|
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",
|