@brightspace-ui/core 3.276.0 → 3.278.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.
@@ -196,104 +196,104 @@
196
196
  ]
197
197
  },
198
198
  {
199
- "name": "d2l-backdrop-dirty-overlay",
200
- "path": "./components/backdrop/backdrop-dirty-overlay.js",
201
- "description": "The `d2l-backdrop-dirty-overlay` component is used to render a dialog with text and an action over another element that needs to be refreshed after user input.",
199
+ "name": "d2l-backdrop-loading",
200
+ "path": "./components/backdrop/backdrop-loading.js",
201
+ "description": "A component for displaying a semi-transparent backdrop and a loading spinner over the containing element",
202
202
  "attributes": [
203
203
  {
204
- "name": "description",
205
- "description": "The text displayed on the dirty state overlay.",
204
+ "name": "for",
205
+ "description": "Used to identify content that the backdrop should make inert",
206
+ "type": "string"
207
+ },
208
+ {
209
+ "name": "freshness-stale-button-text",
210
+ "description": "The button text in the overlay when 'stale'",
206
211
  "type": "string"
207
212
  },
208
213
  {
209
- "name": "action",
210
- "description": "The text displayed on the button of the dirty state overlay when the 'dirty' dataState is set.",
214
+ "name": "freshness-stale-text",
215
+ "description": "The text message in the overlay when 'stale'",
211
216
  "type": "string"
217
+ },
218
+ {
219
+ "name": "freshness",
220
+ "description": "The freshness of the component data",
221
+ "type": "'fresh'|'stale'|'loading'",
222
+ "default": "\"\\\"fresh\\\"\""
212
223
  }
213
224
  ],
214
225
  "properties": [
215
226
  {
216
- "name": "description",
217
- "attribute": "description",
218
- "description": "The text displayed on the dirty state overlay.",
227
+ "name": "for",
228
+ "attribute": "for",
229
+ "description": "Used to identify content that the backdrop should make inert",
219
230
  "type": "string"
220
231
  },
221
232
  {
222
- "name": "action",
223
- "attribute": "action",
224
- "description": "The text displayed on the button of the dirty state overlay when the 'dirty' dataState is set.",
233
+ "name": "styles",
234
+ "type": "array",
235
+ "default": "[null]"
236
+ },
237
+ {
238
+ "name": "freshnessStaleButtonText",
239
+ "attribute": "freshness-stale-button-text",
240
+ "description": "The button text in the overlay when 'stale'",
225
241
  "type": "string"
226
242
  },
227
243
  {
228
- "name": "styles",
229
- "type": "array",
230
- "default": "[\"bodyCompactStyles\",\"overlayStyles\",null]"
231
- }
232
- ],
233
- "events": [
244
+ "name": "freshnessStaleText",
245
+ "attribute": "freshness-stale-text",
246
+ "description": "The text message in the overlay when 'stale'",
247
+ "type": "string"
248
+ },
234
249
  {
235
- "name": "d2l-backdrop-dirty-overlay-action",
236
- "description": "Dispatched when the action button on the overlay is clicked"
250
+ "name": "freshness",
251
+ "attribute": "freshness",
252
+ "description": "The freshness of the component data",
253
+ "type": "'fresh'|'stale'|'loading'",
254
+ "default": "\"\\\"fresh\\\"\""
237
255
  }
238
256
  ]
239
257
  },
240
258
  {
241
- "name": "d2l-backdrop-loading",
242
- "path": "./components/backdrop/backdrop-loading.js",
243
- "description": "A component for displaying a semi-transparent backdrop and a loading spinner over the containing element",
259
+ "name": "d2l-backdrop-stale-overlay",
260
+ "path": "./components/backdrop/backdrop-stale-overlay.js",
261
+ "description": "A component to render as an overlay over another element with stale data.",
244
262
  "attributes": [
245
263
  {
246
- "name": "for",
247
- "description": "Used to identify content that the backdrop should make inert",
248
- "type": "string"
249
- },
250
- {
251
- "name": "dirty-text",
252
- "description": "The text displayed on the dirty state overlay when the 'dirty' dataState is set.",
264
+ "name": "button-text",
265
+ "description": "The action button text",
253
266
  "type": "string"
254
267
  },
255
268
  {
256
- "name": "dirty-button-text",
257
- "description": "The text displayed on the button of the dirty state overlay when the 'dirty' dataState is set.",
269
+ "name": "text",
270
+ "description": "The text displayed on the overlay",
258
271
  "type": "string"
259
- },
260
- {
261
- "name": "dataState",
262
- "description": "The state of data in the element being overlaid. Set to 'clean' when the data represents the user's latest selections, 'dirty' when the data does not represent the user's latest selections, and 'loading' if the data is being actively refreshed",
263
- "type": "'clean'|'dirty'|'loading'",
264
- "default": "\"clean\""
265
272
  }
266
273
  ],
267
274
  "properties": [
268
275
  {
269
- "name": "for",
270
- "attribute": "for",
271
- "description": "Used to identify content that the backdrop should make inert",
272
- "type": "string"
273
- },
274
- {
275
- "name": "dirtyText",
276
- "attribute": "dirty-text",
277
- "description": "The text displayed on the dirty state overlay when the 'dirty' dataState is set.",
276
+ "name": "buttonText",
277
+ "attribute": "button-text",
278
+ "description": "The action button text",
278
279
  "type": "string"
279
280
  },
280
281
  {
281
- "name": "dirtyButtonText",
282
- "attribute": "dirty-button-text",
283
- "description": "The text displayed on the button of the dirty state overlay when the 'dirty' dataState is set.",
282
+ "name": "text",
283
+ "attribute": "text",
284
+ "description": "The text displayed on the overlay",
284
285
  "type": "string"
285
286
  },
286
287
  {
287
288
  "name": "styles",
288
289
  "type": "array",
289
- "default": "[null]"
290
- },
290
+ "default": "[\"bodyCompactStyles\",null]"
291
+ }
292
+ ],
293
+ "events": [
291
294
  {
292
- "name": "dataState",
293
- "attribute": "dataState",
294
- "description": "The state of data in the element being overlaid. Set to 'clean' when the data represents the user's latest selections, 'dirty' when the data does not represent the user's latest selections, and 'loading' if the data is being actively refreshed",
295
- "type": "'clean'|'dirty'|'loading'",
296
- "default": "\"clean\""
295
+ "name": "d2l-backdrop-stale-overlay-action",
296
+ "description": "Dispatched when the action button on the overlay is clicked"
297
297
  }
298
298
  ]
299
299
  },
@@ -15743,20 +15743,20 @@
15743
15743
  "default": "\"default\""
15744
15744
  },
15745
15745
  {
15746
- "name": "dataState",
15747
- "description": "The state of data in the table. Set to 'clean' when the data represents the user's latest selections, 'dirty' when the data does not represent the user's latest selections, and 'loading' if the data is being actively refreshed",
15748
- "type": "'clean'|'dirty'|'loading'",
15749
- "default": "\"clean\""
15746
+ "name": "freshness-stale-button-text",
15747
+ "description": "The button text in the overlay when 'stale'",
15748
+ "type": "string"
15750
15749
  },
15751
15750
  {
15752
- "name": "dirty-text",
15753
- "description": "The text displayed on the dirty state overlay when the 'dirty' dataState is set.",
15751
+ "name": "freshness-stale-text",
15752
+ "description": "The text message in the overlay when 'stale'",
15754
15753
  "type": "string"
15755
15754
  },
15756
15755
  {
15757
- "name": "dirty-button-text",
15758
- "description": "The text displayed on the button dirty state overlay when the 'dirty' dataState is set.",
15759
- "type": "string"
15756
+ "name": "freshness",
15757
+ "description": "The freshness of the component data",
15758
+ "type": "'fresh'|'stale'|'loading'",
15759
+ "default": "\"fresh\""
15760
15760
  },
15761
15761
  {
15762
15762
  "name": "item-count",
@@ -15840,23 +15840,23 @@
15840
15840
  "default": "\"default\""
15841
15841
  },
15842
15842
  {
15843
- "name": "dataState",
15844
- "attribute": "dataState",
15845
- "description": "The state of data in the table. Set to 'clean' when the data represents the user's latest selections, 'dirty' when the data does not represent the user's latest selections, and 'loading' if the data is being actively refreshed",
15846
- "type": "'clean'|'dirty'|'loading'",
15847
- "default": "\"clean\""
15843
+ "name": "freshnessStaleButtonText",
15844
+ "attribute": "freshness-stale-button-text",
15845
+ "description": "The button text in the overlay when 'stale'",
15846
+ "type": "string"
15848
15847
  },
15849
15848
  {
15850
- "name": "dirtyText",
15851
- "attribute": "dirty-text",
15852
- "description": "The text displayed on the dirty state overlay when the 'dirty' dataState is set.",
15849
+ "name": "freshnessStaleText",
15850
+ "attribute": "freshness-stale-text",
15851
+ "description": "The text message in the overlay when 'stale'",
15853
15852
  "type": "string"
15854
15853
  },
15855
15854
  {
15856
- "name": "dirtyButtonText",
15857
- "attribute": "dirty-button-text",
15858
- "description": "The text displayed on the button dirty state overlay when the 'dirty' dataState is set.",
15859
- "type": "string"
15855
+ "name": "freshness",
15856
+ "attribute": "freshness",
15857
+ "description": "The freshness of the component data",
15858
+ "type": "'fresh'|'stale'|'loading'",
15859
+ "default": "\"fresh\""
15860
15860
  },
15861
15861
  {
15862
15862
  "name": "itemCount",
@@ -15879,8 +15879,8 @@
15879
15879
  ],
15880
15880
  "events": [
15881
15881
  {
15882
- "name": "d2l-table-dirty-button-clicked",
15883
- "description": "Dispatched when the action button on the dirty overlay is clicked"
15882
+ "name": "d2l-table-stale-button-click",
15883
+ "description": "Dispatched when the action button on the stale overlay is clicked"
15884
15884
  }
15885
15885
  ],
15886
15886
  "slots": [
@@ -16214,20 +16214,20 @@
16214
16214
  "default": "\"default\""
16215
16215
  },
16216
16216
  {
16217
- "name": "dataState",
16218
- "description": "The state of data in the table. Set to 'clean' when the data represents the user's latest selections, 'dirty' when the data does not represent the user's latest selections, and 'loading' if the data is being actively refreshed",
16219
- "type": "'clean'|'dirty'|'loading'",
16220
- "default": "\"clean\""
16217
+ "name": "freshness-stale-button-text",
16218
+ "description": "The button text in the overlay when 'stale'",
16219
+ "type": "string"
16221
16220
  },
16222
16221
  {
16223
- "name": "dirty-text",
16224
- "description": "The text displayed on the dirty state overlay when the 'dirty' dataState is set.",
16222
+ "name": "freshness-stale-text",
16223
+ "description": "The text message in the overlay when 'stale'",
16225
16224
  "type": "string"
16226
16225
  },
16227
16226
  {
16228
- "name": "dirty-button-text",
16229
- "description": "The text displayed on the button dirty state overlay when the 'dirty' dataState is set.",
16230
- "type": "string"
16227
+ "name": "freshness",
16228
+ "description": "The freshness of the component data",
16229
+ "type": "'fresh'|'stale'|'loading'",
16230
+ "default": "\"\\\"fresh\\\"\""
16231
16231
  },
16232
16232
  {
16233
16233
  "name": "item-count",
@@ -16275,23 +16275,23 @@
16275
16275
  "default": "\"default\""
16276
16276
  },
16277
16277
  {
16278
- "name": "dataState",
16279
- "attribute": "dataState",
16280
- "description": "The state of data in the table. Set to 'clean' when the data represents the user's latest selections, 'dirty' when the data does not represent the user's latest selections, and 'loading' if the data is being actively refreshed",
16281
- "type": "'clean'|'dirty'|'loading'",
16282
- "default": "\"clean\""
16278
+ "name": "freshnessStaleButtonText",
16279
+ "attribute": "freshness-stale-button-text",
16280
+ "description": "The button text in the overlay when 'stale'",
16281
+ "type": "string"
16283
16282
  },
16284
16283
  {
16285
- "name": "dirtyText",
16286
- "attribute": "dirty-text",
16287
- "description": "The text displayed on the dirty state overlay when the 'dirty' dataState is set.",
16284
+ "name": "freshnessStaleText",
16285
+ "attribute": "freshness-stale-text",
16286
+ "description": "The text message in the overlay when 'stale'",
16288
16287
  "type": "string"
16289
16288
  },
16290
16289
  {
16291
- "name": "dirtyButtonText",
16292
- "attribute": "dirty-button-text",
16293
- "description": "The text displayed on the button dirty state overlay when the 'dirty' dataState is set.",
16294
- "type": "string"
16290
+ "name": "freshness",
16291
+ "attribute": "freshness",
16292
+ "description": "The freshness of the component data",
16293
+ "type": "'fresh'|'stale'|'loading'",
16294
+ "default": "\"\\\"fresh\\\"\""
16295
16295
  },
16296
16296
  {
16297
16297
  "name": "itemCount",
@@ -16314,8 +16314,8 @@
16314
16314
  ],
16315
16315
  "events": [
16316
16316
  {
16317
- "name": "d2l-table-dirty-button-clicked",
16318
- "description": "Dispatched when the action button on the dirty overlay is clicked"
16317
+ "name": "d2l-table-stale-button-click",
16318
+ "description": "Dispatched when the action button on the stale overlay is clicked"
16319
16319
  }
16320
16320
  ],
16321
16321
  "slots": [
package/lang/ar.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "إغلاق التنبيه",
3
3
  "components.backdrop-loading.loadingAnnouncement": "جارٍ التحميل",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "اكتمل التحميل.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "مسار التنقل",
6
7
  "components.button-add.addItem": "إضافة عنصر",
7
8
  "components.button-copy.copied": "تم النسخ!",
package/lang/ca.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Tanca l’alerta",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Carregant.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Càrrega completa.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "Breadcrumb",
6
7
  "components.button-add.addItem": "Afegeix element",
7
8
  "components.button-copy.copied": "S’ha copiat!",
package/lang/cy.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Cau Hysbysiad",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Wrthi’n llwytho.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Llwytho wedi Gorffen.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "Briwsionyn Bara",
6
7
  "components.button-add.addItem": "Ychwanegu Eitem",
7
8
  "components.button-copy.copied": "Wedi’i gopïo!",
package/lang/da.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Luk besked",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Indlæser.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Indlæsning fuldført.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "Brødkrumme",
6
7
  "components.button-add.addItem": "Tilføj element",
7
8
  "components.button-copy.copied": "Kopieret!",
package/lang/de.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Benachrichtigung schließen",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Wird geladen.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Ladevorgang abgeschlossen.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "Brotkrümelnavigation",
6
7
  "components.button-add.addItem": "Element hinzufügen",
7
8
  "components.button-copy.copied": "Kopiert.",
package/lang/en-gb.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Close Alert",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Loading.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Loading Complete.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "Breadcrumb",
6
7
  "components.button-add.addItem": "Add Item",
7
8
  "components.button-copy.copied": "Copied!",
package/lang/en.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Close Alert",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Loading.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Loading Complete.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "Breadcrumb",
6
7
  "components.button-add.addItem": "Add Item",
7
8
  "components.button-copy.copied": "Copied!",
package/lang/es-es.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Cerrar alerta",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Cargando.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Carga completa.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "Ruta de navegación",
6
7
  "components.button-add.addItem": "Agregar elemento",
7
8
  "components.button-copy.copied": "¡Copiado!",
package/lang/es.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Cerrar alerta",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Cargando.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Carga completa.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "Ruta de navegación",
6
7
  "components.button-add.addItem": "Agregar elemento",
7
8
  "components.button-copy.copied": "Copiado.",
package/lang/fr-fr.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Fermer l’alerte",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Chargement.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Chargement terminé.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "Chemin de navigation",
6
7
  "components.button-add.addItem": "Ajouter un élément",
7
8
  "components.button-copy.copied": "Copie effectuée !",
package/lang/fr.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Fermer l’alerte",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Chargement.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Chargement terminé.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "Chemin de navigation",
6
7
  "components.button-add.addItem": "Ajouter un élément",
7
8
  "components.button-copy.copied": "Copié!",
package/lang/haw.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Pani i ka makaʻala",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Ke hoʻouka nei.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Ua pau ka hoʻouka ʻana.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "Palapalapala",
6
7
  "components.button-add.addItem": "Pākuʻi Mea",
7
8
  "components.button-copy.copied": "Kope ʻia!",
package/lang/hi.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "अलर्ट बंद करें",
3
3
  "components.backdrop-loading.loadingAnnouncement": "लोड हो रही है।",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "लोड करना पूरा हुआ।",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "ब्रेडक्रंब",
6
7
  "components.button-add.addItem": "आइटम जोड़ें",
7
8
  "components.button-copy.copied": "कॉपी किया गया!",
package/lang/ja.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "アラートを閉じる",
3
3
  "components.backdrop-loading.loadingAnnouncement": "読み込み中。",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "読み込みが完了しました。",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "階層",
6
7
  "components.button-add.addItem": "項目の追加",
7
8
  "components.button-copy.copied": "コピーできました。",
package/lang/ko.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "경보 닫기",
3
3
  "components.backdrop-loading.loadingAnnouncement": "로드 중.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "로드 완료.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "이동 경로",
6
7
  "components.button-add.addItem": "항목 추가",
7
8
  "components.button-copy.copied": "복사 완료!",
package/lang/mi.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Kati Matohi",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Kei te uta.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Kua Oti te Utaina.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "Pānui",
6
7
  "components.button-add.addItem": "Tāpiri Tūemi",
7
8
  "components.button-copy.copied": "Kua tāruatia!",
package/lang/nl.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Waarschuwing sluiten",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Laden.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Laden voltooid.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "Kruimelpad",
6
7
  "components.button-add.addItem": "Item toevoegen",
7
8
  "components.button-copy.copied": "Gekopieerd!",
package/lang/pt.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Fechar alerta",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Carregando.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Carregamento concluído.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "Auxiliar de navegação",
6
7
  "components.button-add.addItem": "Adicionar item",
7
8
  "components.button-copy.copied": "Copiado!",
package/lang/sv.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Stängningsvarning",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Läser in.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Inläsning slutförd.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "Sökväg",
6
7
  "components.button-add.addItem": "Lägg till objekt",
7
8
  "components.button-copy.copied": "Kopierat!",
package/lang/th.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "ปิดการแจ้งเตือน",
3
3
  "components.backdrop-loading.loadingAnnouncement": "กำลังโหลด",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "การโหลดเสร็จสิ้น",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "แถบนำทาง",
6
7
  "components.button-add.addItem": "เพิ่มรายการ",
7
8
  "components.button-copy.copied": "คัดลอกแล้ว!",
package/lang/tr.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Kapatma Uyarısı",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Yükleniyor.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Yükleme Tamamlandı.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "İçerik Haritası",
6
7
  "components.button-add.addItem": "Öğe Ekle",
7
8
  "components.button-copy.copied": "Kopyalandı!",
package/lang/vi.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "Đóng Cảnh Báo",
3
3
  "components.backdrop-loading.loadingAnnouncement": "Đang tải.",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "Quá trình tải hoàn tất.",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "Đường dẫn",
6
7
  "components.button-add.addItem": "Thêm mục",
7
8
  "components.button-copy.copied": "Đã sao chép!",
package/lang/zh-cn.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "关闭提醒",
3
3
  "components.backdrop-loading.loadingAnnouncement": "正在加载。",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "加载完成。",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "痕迹导航",
6
7
  "components.button-add.addItem": "添加项目",
7
8
  "components.button-copy.copied": "已复制!",
package/lang/zh-tw.js CHANGED
@@ -2,6 +2,7 @@ export default {
2
2
  "components.alert.close": "關閉警示",
3
3
  "components.backdrop-loading.loadingAnnouncement": "正在載入。",
4
4
  "components.backdrop-loading.loadingCompleteAnnouncement": "載入完成。",
5
+ "components.backdrop-stale-overlay.message": "This data is out of date.",
5
6
  "components.breadcrumbs.breadcrumb": "導覽路徑",
6
7
  "components.button-add.addItem": "新增項目",
7
8
  "components.button-copy.copied": "複製成功!",
@@ -0,0 +1,35 @@
1
+ export const freshness = Object.freeze({
2
+ fresh: 'fresh',
3
+ stale: 'stale',
4
+ loading: 'loading'
5
+ });
6
+
7
+ export const FreshnessMixin = superclass => class extends superclass {
8
+
9
+ static properties = {
10
+ /**
11
+ * The freshness of the component data
12
+ * @type {'fresh'|'stale'|'loading'}
13
+ * @default "fresh"
14
+ */
15
+ freshness: { type: String, attribute: 'freshness', reflect: true },
16
+ /**
17
+ * The button text in the overlay when 'stale'
18
+ * @type {string}
19
+ */
20
+ freshnessStaleButtonText: {
21
+ type: String, attribute: 'freshness-stale-button-text', reflect: true },
22
+ /**
23
+ * The text message in the overlay when 'stale'
24
+ * @type {string}
25
+ */
26
+ freshnessStaleText: {
27
+ type: String, attribute: 'freshness-stale-text', reflect: true }
28
+ };
29
+
30
+ constructor() {
31
+ super();
32
+ this.freshness = freshness.fresh;
33
+ }
34
+
35
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.276.0",
3
+ "version": "3.278.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",