@brightspace-ui/core 3.134.1 → 3.134.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.
@@ -1,6 +1,8 @@
1
+ import { PropertyRequiredMixin } from '../../mixins/property-required/property-required-mixin.js';
2
+
1
3
  const defaultLines = 2;
2
4
 
3
- export const MenuItemMixin = superclass => class extends superclass {
5
+ export const MenuItemMixin = superclass => class extends PropertyRequiredMixin(superclass) {
4
6
 
5
7
  static get properties() {
6
8
  return {
@@ -45,7 +47,7 @@ export const MenuItemMixin = superclass => class extends superclass {
45
47
  * REQUIRED: Text displayed by the menu item
46
48
  * @type {string}
47
49
  */
48
- text: { type: String },
50
+ text: { type: String, required: true },
49
51
  /**
50
52
  * ACCESSIBILITY: A description of the menu item that will be used by screen readers for additional context
51
53
  * @type {string}
@@ -3,6 +3,7 @@ import '../icons/icon.js';
3
3
  import './menu-item-return.js';
4
4
  import { css, html, LitElement } from 'lit';
5
5
  import { HierarchicalViewMixin } from '../hierarchical-view/hierarchical-view-mixin.js';
6
+ import { PropertyRequiredMixin } from '../../mixins/property-required/property-required-mixin.js';
6
7
  import { ThemeMixin } from '../../mixins/theme/theme-mixin.js';
7
8
 
8
9
  const keyCodes = {
@@ -20,7 +21,7 @@ const keyCodes = {
20
21
  * @slot - Menu items
21
22
  * @fires d2l-menu-resize - Dispatched when size of menu changes (e.g., when nested menu of a different size is opened)
22
23
  */
23
- class Menu extends ThemeMixin(HierarchicalViewMixin(LitElement)) {
24
+ class Menu extends PropertyRequiredMixin(ThemeMixin(HierarchicalViewMixin(LitElement))) {
24
25
 
25
26
  static get properties() {
26
27
  return {
@@ -32,7 +33,7 @@ class Menu extends ThemeMixin(HierarchicalViewMixin(LitElement)) {
32
33
  * ACCESSIBILITY: Acts as the primary label for the menu (REQUIRED for root menu)
33
34
  * @type {string}
34
35
  */
35
- label: { type: String },
36
+ label: { type: String, required: true },
36
37
  /**
37
38
  * @ignore
38
39
  */
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "خيارات أخرى",
6
6
  "components.calendar.hasEvents": "يحتوي على أحداث.",
7
7
  "components.calendar.notSelected": "لم يتم التحديد.",
8
8
  "components.calendar.selected": "تم التحديد.",
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "Opsiynau Eraill",
6
6
  "components.calendar.hasEvents": "Yn Cynnwys Digwyddiadau.",
7
7
  "components.calendar.notSelected": "Heb ei Ddewis.",
8
8
  "components.calendar.selected": "Wedi’i Ddewis.",
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "Andre indstillinger",
6
6
  "components.calendar.hasEvents": "Har begivenheder.",
7
7
  "components.calendar.notSelected": "Ikke valgt.",
8
8
  "components.calendar.selected": "Valgt.",
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "Sonstige Optionen",
6
6
  "components.calendar.hasEvents": "Hat Ereignisse.",
7
7
  "components.calendar.notSelected": "Nicht ausgewählt.",
8
8
  "components.calendar.selected": "Ausgewählt.",
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "Otras opciones",
6
6
  "components.calendar.hasEvents": "Tiene eventos.",
7
7
  "components.calendar.notSelected": "No seleccionado.",
8
8
  "components.calendar.selected": "Seleccionado.",
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "Otras opciones",
6
6
  "components.calendar.hasEvents": "Tiene eventos.",
7
7
  "components.calendar.notSelected": "No seleccionado.",
8
8
  "components.calendar.selected": "Seleccionado.",
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "Autres options",
6
6
  "components.calendar.hasEvents": "A des événements.",
7
7
  "components.calendar.notSelected": "Non sélectionné.",
8
8
  "components.calendar.selected": "Sélectionné.",
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "Autres options",
6
6
  "components.calendar.hasEvents": "Comprend des événements.",
7
7
  "components.calendar.notSelected": "Non sélectionné(e)",
8
8
  "components.calendar.selected": "Sélectionné(e).",
package/lang/haw.js CHANGED
@@ -2,7 +2,7 @@ export default {
2
2
  "components.alert.close": "Pani i ka makaʻala",
3
3
  "components.breadcrumbs.breadcrumb": "Palapalapala",
4
4
  "components.button-add.addItem": "Pākuʻi Mea",
5
- "components.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": " Koho ʻē aʻe",
6
6
  "components.calendar.hasEvents": "Loaʻa nā hanana.",
7
7
  "components.calendar.notSelected": "ʻAʻole i koho ʻia.",
8
8
  "components.calendar.selected": "Koho ʻia.",
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "अन्य विकल्प",
6
6
  "components.calendar.hasEvents": "ईवेंट हैं।",
7
7
  "components.calendar.notSelected": "चयनित नहीं।",
8
8
  "components.calendar.selected": "चयनित।",
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "その他のオプション",
6
6
  "components.calendar.hasEvents": "イベントがあります。",
7
7
  "components.calendar.notSelected": "選択されていません。",
8
8
  "components.calendar.selected": "選択されています。",
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "기타 옵션",
6
6
  "components.calendar.hasEvents": "이벤트가 있습니다.",
7
7
  "components.calendar.notSelected": "선택되지 않음.",
8
8
  "components.calendar.selected": "선택됨.",
package/lang/mi.js CHANGED
@@ -2,7 +2,7 @@ export default {
2
2
  "components.alert.close": "Kati Matohi",
3
3
  "components.breadcrumbs.breadcrumb": "Pānui",
4
4
  "components.button-add.addItem": "Tāpiri Tūemi",
5
- "components.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "Ētahi atu kōwhiringa",
6
6
  "components.calendar.hasEvents": "He takatu ēnei.",
7
7
  "components.calendar.notSelected": "Kāore i tīpakona.",
8
8
  "components.calendar.selected": "I tīpakona.",
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "Overige opties",
6
6
  "components.calendar.hasEvents": "Bevat gebeurtenissen.",
7
7
  "components.calendar.notSelected": "Niet geselecteerd.",
8
8
  "components.calendar.selected": "Geselecteerd.",
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "Outras Opções",
6
6
  "components.calendar.hasEvents": "Tem eventos.",
7
7
  "components.calendar.notSelected": "Não selecionado.",
8
8
  "components.calendar.selected": "Selecionado.",
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "Andra alternativ",
6
6
  "components.calendar.hasEvents": "Har händelser.",
7
7
  "components.calendar.notSelected": "Inte vald.",
8
8
  "components.calendar.selected": "Markerad.",
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "Diğer Seçenekler",
6
6
  "components.calendar.hasEvents": "Olayları Var.",
7
7
  "components.calendar.notSelected": "Seçili Değil.",
8
8
  "components.calendar.selected": "Seçili.",
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "其他选项",
6
6
  "components.calendar.hasEvents": "有事件。",
7
7
  "components.calendar.notSelected": "未选择。",
8
8
  "components.calendar.selected": "已选择。",
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.button-split.otherOptions": "Other Options",
5
+ "components.button-split.otherOptions": "其他選項",
6
6
  "components.calendar.hasEvents": "有事件。",
7
7
  "components.calendar.notSelected": "未選取。",
8
8
  "components.calendar.selected": "已選取。",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.134.1",
3
+ "version": "3.134.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",