@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.
@@ -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
- * Do make it clear that there is no data available to be displayed
36
- * Do include guidance on next steps if available, either as short instructions or as a Call to Action
37
- * Do use a link for navigation and a button for actions
38
- * Do replace the entire content with its empty state for accessibility
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` is an empty state action component that can be placed inside of the default slot of `empty-state-simple` or `empty-state-illustrated` to add a button action to the component. Only a single action can be placed within an empty state component.
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` is an empty state action component that can be placed inside of the default slot of `empty-state-simple` or `empty-state-illustrated` to add a link action to the component. Only a single action can be placed within an empty state component.
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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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.182.1",
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",