@brightspace-ui/core 2.99.0 → 2.100.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.
@@ -135,7 +135,7 @@ class CollapsiblePanel extends FocusMixin(RtlMixin(LitElement)) {
135
135
  box-shadow: 0 8px 12px -9px rgba(0, 0, 0, 0.3);
136
136
  position: sticky;
137
137
  top: 0;
138
- z-index: 11; /* must be greater greater than list-items with open dropdowns or tooltips */
138
+ z-index: 12; /* must be greater greater than list-items with open dropdowns or tooltips */
139
139
  }
140
140
  .d2l-collapsible-panel.focused.scrolled .d2l-collapsible-panel-header {
141
141
  top: 2px;
@@ -1,9 +1,9 @@
1
- # Collapsible Containers
2
-
3
- ## Expand Collapse Content [d2l-expand-collapse-content]
1
+ # Expand Collapse Content
4
2
 
5
3
  The `d2l-expand-collapse-content` element can be used to create expandable and collapsible content. This component only provides the logic to expand and collapse the content; controlling when and how it expands or collapses is the responsibility of the user.
6
4
 
5
+ ## Expand Collapse Content [d2l-expand-collapse-content]
6
+
7
7
  <!-- docs: demo live name:d2l-expand-collapse-content autoSize:false display:block size:small -->
8
8
  ```html
9
9
  <script type="module">
@@ -40,29 +40,3 @@ The `d2l-expand-collapse-content` element can be used to create expandable and c
40
40
 
41
41
  To make your usage of `d2l-expand-collapse-content` accessible, the [`aria-expanded` attribute](https://www.w3.org/TR/wai-aria/#aria-expanded) should be added to the element that controls expanding and collapsing the content with `"true"` or `"false"` to indicate that the content is expanded or collapsed.
42
42
 
43
- ## More-Less [d2l-more-less]
44
-
45
- The `d2l-more-less` element can be used to minimize the display of long content, while providing a way to reveal the full content.
46
-
47
- <!-- docs: demo live name:d2l-more-less -->
48
- ```html
49
- <script type="module">
50
- import '@brightspace-ui/core/components/more-less/more-less.js';
51
- </script>
52
- <d2l-more-less>
53
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
54
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
55
- </d2l-more-less>
56
- ```
57
-
58
- <!-- docs: start hidden content -->
59
- ### Properties
60
-
61
- | Property | Type | Description |
62
- |---|---|---|
63
- | `blur-color` | String | Gradient HEX formatted color of the blurring effect (defaults to white). |
64
- | `expanded` | Boolean | Specifies the expanded/collapsed state of the content |
65
- | `h-align` | String | A value of `text` aligns the leading edge of text |
66
- | `height` | String, default: `'4em'` | Maximum height of the content when in "less" mode. The `d2l-more-less` element itself will take up additional vertical space for the fading effect as well as the more/less button itself. |
67
- | `inactive` | Boolean | Whether the component is active or inactive |
68
- <!-- docs: end hidden content -->
@@ -108,10 +108,13 @@ export const ListItemMixin = superclass => class extends composeMixins(
108
108
  display: none;
109
109
  }
110
110
 
111
- :host([_tooltip-showing]),
112
- :host([_dropdown-open]) {
111
+ :host([_dropdown-open]),
112
+ :host([_focusing]) {
113
113
  z-index: 10; /* must be greater than adjacent selected items (if this is increased, d2l-collapsible-panel must be updated too) */
114
114
  }
115
+ :host([_tooltip-showing]) {
116
+ z-index: 11; /* must be greater than adjacent selected items (if this is increased, d2l-collapsible-panel must be updated too) */
117
+ }
115
118
  :host([_fullscreen-within]) {
116
119
  position: fixed; /* required for Safari */
117
120
  z-index: 1000; /* must be greater than floating workflow buttons */
@@ -1,3 +1,28 @@
1
- # More-Less
1
+ # More/Less
2
2
 
3
- See [more-less](https://github.com/BrightspaceUI/core/tree/main/components/expand-collapse/README.md#more-less-d2l-more-less).
3
+ The `d2l-more-less` element can be used to minimize the display of long content, while providing a way to reveal the full content.
4
+
5
+ ## More-Less [d2l-more-less]
6
+
7
+ <!-- docs: demo live name:d2l-more-less -->
8
+ ```html
9
+ <script type="module">
10
+ import '@brightspace-ui/core/components/more-less/more-less.js';
11
+ </script>
12
+ <d2l-more-less>
13
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
14
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
15
+ </d2l-more-less>
16
+ ```
17
+
18
+ <!-- docs: start hidden content -->
19
+ ### Properties
20
+
21
+ | Property | Type | Description |
22
+ |---|---|---|
23
+ | `blur-color` | String | Gradient HEX formatted color of the blurring effect (defaults to white). |
24
+ | `expanded` | Boolean | Specifies the expanded/collapsed state of the content |
25
+ | `h-align` | String | A value of `text` aligns the leading edge of text |
26
+ | `height` | String, default: `'4em'` | Maximum height of the content when in "less" mode. The `d2l-more-less` element itself will take up additional vertical space for the fading effect as well as the more/less button itself. |
27
+ | `inactive` | Boolean | Whether the component is active or inactive |
28
+ <!-- docs: end hidden content -->
package/lang/ar.js CHANGED
@@ -34,7 +34,7 @@ export default {
34
34
  "components.form-error-summary.errorSummary": "{count, plural, one {تم العثور على {count} خطأ في المعلومات التي أرسلتها} other {تم العثور على {count} من الأخطاء في المعلومات التي أرسلتها}}",
35
35
  "components.input-color.backgroundColor": "لون الخلفية",
36
36
  "components.input-color.foregroundColor": "لون المقدمة",
37
- "components.input-color.none": "بلا",
37
+ "components.input-color.none": "لا شيء",
38
38
  "components.input-date-range.endDate": "تاريخ الانتهاء",
39
39
  "components.input-date-range.errorBadInput": "يجب أن يكون تاريخ {startLabel} قبل {endLabel}",
40
40
  "components.input-date-range.startDate": "تاريخ البدء",
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "مرئي.",
107
107
  "components.switch.hidden": "مخفي",
108
108
  "components.switch.conditions": "يجب استيفاء الشروط",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "إجراءات للجدول",
110
110
  "components.tabs.next": "التمرير إلى الأمام",
111
111
  "components.tabs.previous": "التمرير إلى الخلف",
112
112
  "components.tag-list.clear": "انقر فوق، أو اضغط على مسافة للخلف، أو اضغط على مفتاح حذف لإزالة العنصر {value}",
package/lang/cy.js CHANGED
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "Gweladwy.",
107
107
  "components.switch.hidden": "Cudd",
108
108
  "components.switch.conditions": "Rhaid bodloni’r amodau",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "Camau gweithredu ar gyfer y tabl",
110
110
  "components.tabs.next": "Sgrolio Ymlaen",
111
111
  "components.tabs.previous": "Sgrolio Yn Ôl",
112
112
  "components.tag-list.clear": "Cliciwch, pwyswch yn ôl, neu pwyswch y bysell dileu i dynnu’r eitem {value}",
package/lang/da.js CHANGED
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "Synlig.",
107
107
  "components.switch.hidden": "Skjult",
108
108
  "components.switch.conditions": "Betingelserne skal være opfyldt",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "Handlinger for tabel",
110
110
  "components.tabs.next": "Rul frem",
111
111
  "components.tabs.previous": "Rul tilbage",
112
112
  "components.tag-list.clear": "Klik, tryk på tilbagetasten, eller tryk på slettasten for at fjerne element {value}",
package/lang/de.js CHANGED
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "Sichtbar.",
107
107
  "components.switch.hidden": "Ausgeblendet",
108
108
  "components.switch.conditions": "Bedingungen müssen erfüllt sein",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "Aktionen für Tabelle",
110
110
  "components.tabs.next": "Weiterblättern",
111
111
  "components.tabs.previous": "Zurückblättern",
112
112
  "components.tag-list.clear": "Klicken Sie, drücken Sie die Rücktaste, oder drücken Sie die Entfernen-Taste, um das Element {value} zu entfernen",
package/lang/es-es.js CHANGED
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "Visible.", // mfv-translated
107
107
  "components.switch.hidden": "Oculto",
108
108
  "components.switch.conditions": "Deben cumplirse las condiciones",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "Acciones para la tabla",
110
110
  "components.tabs.next": "Desplazarse hacia delante",
111
111
  "components.tabs.previous": "Desplazarse hacia atrás",
112
112
  "components.tag-list.clear": "Haga clic, pulse Retroceso o pulse la tecla Supr para eliminar el elemento {value}",
package/lang/es.js CHANGED
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "Visible.", // mfv-translated
107
107
  "components.switch.hidden": "Oculto",
108
108
  "components.switch.conditions": "Se deben cumplir las condiciones",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "Acciones de la tabla",
110
110
  "components.tabs.next": "Desplazarse hacia adelante",
111
111
  "components.tabs.previous": "Desplazarse hacia atrás",
112
112
  "components.tag-list.clear": "Haga clic, presione Retroceso o presione la tecla Suprimir para eliminar el elemento {value}",
package/lang/fr-fr.js CHANGED
@@ -32,7 +32,7 @@ export default {
32
32
  "components.form-element.input.url.typeMismatch": "URL non valide",
33
33
  "components.form-element.valueMissing": "{label} est requis.",
34
34
  "components.form-error-summary.errorSummary": "{count, plural, one {{count} erreur trouvée dans les informations soumises} other {{count} erreurs trouvées dans les informations soumises}}",
35
- "components.input-color.backgroundColor": "Couleur de l'arrière-plan",
35
+ "components.input-color.backgroundColor": "Couleur de larrière-plan",
36
36
  "components.input-color.foregroundColor": "Couleur de l’avant-plan",
37
37
  "components.input-color.none": "Aucune",
38
38
  "components.input-date-range.endDate": "Date de fin",
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "Visible.", // mfv-translated
107
107
  "components.switch.hidden": "Masqué",
108
108
  "components.switch.conditions": "Les conditions doivent être remplies",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "Actions du tableau",
110
110
  "components.tabs.next": "Faire défiler vers l'avant",
111
111
  "components.tabs.previous": "Faire défiler vers l'arrière",
112
112
  "components.tag-list.clear": "Cliquez sur l’élément, appuyez sur la touche Retour arrière ou sur la touche Suppr pour supprimer l’élément {value}",
package/lang/fr.js CHANGED
@@ -32,8 +32,8 @@ export default {
32
32
  "components.form-element.input.url.typeMismatch": "L'URL n'est pas valide",
33
33
  "components.form-element.valueMissing": "{label} est requis.",
34
34
  "components.form-error-summary.errorSummary": "{count, plural, one {Il y avait {count} erreur trouvée dans les informations que vous avez soumises} other {Il y avait {count} erreurs trouvées dans les informations que vous avez soumises}}",
35
- "components.input-color.backgroundColor": "Couleur d'arrière-plan",
36
- "components.input-color.foregroundColor": "Couleur de lavant-plan",
35
+ "components.input-color.backgroundColor": "Couleur darrière-plan",
36
+ "components.input-color.foregroundColor": "Couleur de l'avant-plan",
37
37
  "components.input-color.none": "Aucun",
38
38
  "components.input-date-range.endDate": "Date de fin",
39
39
  "components.input-date-range.errorBadInput": "{startLabel} doit précéder {endLabel}",
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "Visible.", // mfv-translated
107
107
  "components.switch.hidden": "Masqué(e)",
108
108
  "components.switch.conditions": "Les conditions doivent être remplies",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "Actions pour la table",
110
110
  "components.tabs.next": "Défilement avant",
111
111
  "components.tabs.previous": "Défilement arrière",
112
112
  "components.tag-list.clear": "Cliquez sur le bouton, appuyez sur retour arrière ou appuyez sur la touche de suppression pour supprimer l’élément {value}",
package/lang/hi.js CHANGED
@@ -33,7 +33,7 @@ export default {
33
33
  "components.form-element.valueMissing": "{label} आवश्यक है।",
34
34
  "components.form-error-summary.errorSummary": "{count, plural, one {आपके द्वारा सबमिट की गई जानकारी में {count} त्रुटियाँ पाई गईं} other {आपके द्वारा सबमिट की गई जानकारी में {count} त्रुटियाँ पाई गईं}}",
35
35
  "components.input-color.backgroundColor": "पृष्ठभूमि का रंग",
36
- "components.input-color.foregroundColor": "अग्रभूमि रंग",
36
+ "components.input-color.foregroundColor": "अग्रभूमि का रंग",
37
37
  "components.input-color.none": "कोई नहीं",
38
38
  "components.input-date-range.endDate": "समाप्ति तारीख़",
39
39
  "components.input-date-range.errorBadInput": "{startLabel} {endLabel} से पहले का होना चाहिए",
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "दृश्यमान।",
107
107
  "components.switch.hidden": "छुपा हुआ",
108
108
  "components.switch.conditions": "शर्तें पूरी होनी चाहिए",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "तालिका के लिए क्रियाएँ",
110
110
  "components.tabs.next": "आगे स्क्रॉल करें",
111
111
  "components.tabs.previous": "पीछे स्क्रॉल करें",
112
112
  "components.tag-list.clear": "{value} को हटाने के लिए क्लिक करें, बैकस्पेस दबाएँ, या हटाएँ कुंजी को दबाएँ",
package/lang/ja.js CHANGED
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "表示。",
107
107
  "components.switch.hidden": "非表示",
108
108
  "components.switch.conditions": "条件が一致する必要があります",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "テーブルのアクション",
110
110
  "components.tabs.next": "前方にスクロール",
111
111
  "components.tabs.previous": "後方にスクロール",
112
112
  "components.tag-list.clear": "クリックする、Backspace キーを押す、または Delete キーを押すと項目 {value} が削除されます",
package/lang/ko.js CHANGED
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "표시.",
107
107
  "components.switch.hidden": "숨김",
108
108
  "components.switch.conditions": "조건을 충족해야 합니다",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "표에 대한 작업",
110
110
  "components.tabs.next": "앞으로 스크롤",
111
111
  "components.tabs.previous": "뒤로 스크롤",
112
112
  "components.tag-list.clear": "항목 {value}을(를) 제거하려면 클릭하거나, 백스페이스 또는 삭제 키를 누릅니다.",
package/lang/nl.js CHANGED
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "Zichtbaar.",
107
107
  "components.switch.hidden": "Verborgen",
108
108
  "components.switch.conditions": "Er moet aan de voorwaarden worden voldaan",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "Acties voor tabel",
110
110
  "components.tabs.next": "Naar voren scrollen",
111
111
  "components.tabs.previous": "Naar achteren scrollen",
112
112
  "components.tag-list.clear": "Klik, druk op Backspace of druk op de Delete-toets om item {value} te verwijderen",
package/lang/pt.js CHANGED
@@ -32,8 +32,8 @@ export default {
32
32
  "components.form-element.input.url.typeMismatch": "URL inválido",
33
33
  "components.form-element.valueMissing": "{label} é obrigatório.",
34
34
  "components.form-error-summary.errorSummary": "{count, plural, one {{count} erro foi encontrado nas informações enviadas} other {{count} erros foram encontrados nas informações enviadas}}",
35
- "components.input-color.backgroundColor": "Cor do Plano de Fundo",
36
- "components.input-color.foregroundColor": "Cor do Primeiro Plano",
35
+ "components.input-color.backgroundColor": "Cor do Plano de fundo",
36
+ "components.input-color.foregroundColor": "Cor do Primeiro plano",
37
37
  "components.input-color.none": "Nenhum",
38
38
  "components.input-date-range.endDate": "Data final",
39
39
  "components.input-date-range.errorBadInput": "{startLabel} precisa ser anterior a {endLabel}",
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "Visível.",
107
107
  "components.switch.hidden": "Oculto",
108
108
  "components.switch.conditions": "As condições devem ser atendidas",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "Ações para a tabela",
110
110
  "components.tabs.next": "Ir para frente",
111
111
  "components.tabs.previous": "Ir para trás",
112
112
  "components.tag-list.clear": "Clique em, pressione Backspace ou pressione a tecla Delete para remover o item {value}",
package/lang/sv.js CHANGED
@@ -34,7 +34,7 @@ export default {
34
34
  "components.form-error-summary.errorSummary": "{count, plural, one {Det finns {count} fel i informationen som du skickade} other {Det finns {count} fel i informationen som du skickade}}",
35
35
  "components.input-color.backgroundColor": "Bakgrundsfärg",
36
36
  "components.input-color.foregroundColor": "Förgrundsfärg",
37
- "components.input-color.none": "Inget",
37
+ "components.input-color.none": "Inga",
38
38
  "components.input-date-range.endDate": "Slutdatum",
39
39
  "components.input-date-range.errorBadInput": "{startLabel} måste vara före {endLabel}",
40
40
  "components.input-date-range.startDate": "Startdatum",
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "Synlig.",
107
107
  "components.switch.hidden": "Dold",
108
108
  "components.switch.conditions": "Villkoren måste uppfyllas",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "Åtgärder för tabell",
110
110
  "components.tabs.next": "Bläddra framåt",
111
111
  "components.tabs.previous": "Bläddra bakåt",
112
112
  "components.tag-list.clear": "Klicka, tryck på backstegstangenten eller Delete-tangenten för att ta bort objektet {value}",
package/lang/tr.js CHANGED
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "Görünür.",
107
107
  "components.switch.hidden": "Gizli",
108
108
  "components.switch.conditions": "Koşullar karşılanmalıdır",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "Tablo için eylemler",
110
110
  "components.tabs.next": "İleri Kaydır",
111
111
  "components.tabs.previous": "Geri Kaydır",
112
112
  "components.tag-list.clear": "Öğe {value} değerini kaldırmak için tıklatın, geri al tuşuna veya sil tuşuna basın",
package/lang/zh-cn.js CHANGED
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "可见。",
107
107
  "components.switch.hidden": "隐藏",
108
108
  "components.switch.conditions": "必须符合条件",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "对表格的操作",
110
110
  "components.tabs.next": "向前滚动",
111
111
  "components.tabs.previous": "向后滚动",
112
112
  "components.tag-list.clear": "单击、按退格键或按 Delete 键以移除项目 {value}",
package/lang/zh-tw.js CHANGED
@@ -106,7 +106,7 @@ export default {
106
106
  "components.switch.visibleWithPeriod": "可見。",
107
107
  "components.switch.hidden": "隱藏",
108
108
  "components.switch.conditions": "必須符合條件",
109
- "components.table-controls.label": "Actions for table",
109
+ "components.table-controls.label": "表格動作",
110
110
  "components.tabs.next": "向前捲動",
111
111
  "components.tabs.previous": "向後捲動",
112
112
  "components.tag-list.clear": "按一下、按下退格鍵或按下刪除鍵以移除項目 {value}",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.99.0",
3
+ "version": "2.100.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",