@brightspace-ui/core 3.150.0 → 3.150.2

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.
@@ -6,7 +6,6 @@ import { buttonStyles } from './button-styles.js';
6
6
  import { FocusMixin } from '../../mixins/focus/focus-mixin.js';
7
7
  import { getUniqueId } from '../../helpers/uniqueId.js';
8
8
  import { ifDefined } from 'lit/directives/if-defined.js';
9
- import { RtlMixin } from '../../mixins/rtl/rtl-mixin.js';
10
9
  import { ThemeMixin } from '../../mixins/theme/theme-mixin.js';
11
10
 
12
11
  const keyCodes = Object.freeze({
@@ -33,7 +32,7 @@ export const moveActions = Object.freeze({
33
32
  * A button component that provides a move action via a single button.
34
33
  * @fires d2l-button-move-action - Dispatched when move action occurs
35
34
  */
36
- class ButtonMove extends ThemeMixin(FocusMixin(RtlMixin(LitElement))) {
35
+ class ButtonMove extends ThemeMixin(FocusMixin(LitElement)) {
37
36
 
38
37
  static get properties() {
39
38
  return {
@@ -140,7 +139,7 @@ class ButtonMove extends ThemeMixin(FocusMixin(RtlMixin(LitElement))) {
140
139
  .up-layer,
141
140
  .down-layer {
142
141
  height: 1.2rem;
143
- left: -0.2rem;
142
+ inset-inline-start: -0.2rem;
144
143
  position: absolute;
145
144
  width: 1.3rem;
146
145
  }
@@ -150,11 +149,6 @@ class ButtonMove extends ThemeMixin(FocusMixin(RtlMixin(LitElement))) {
150
149
  .down-layer {
151
150
  bottom: -0.35rem;
152
151
  }
153
- :host([dir="rtl"]) .up-layer,
154
- :host([dir="rtl"]) .down-layer {
155
- left: auto;
156
- right: -0.2rem;
157
- }
158
152
 
159
153
  /* Firefox includes a hidden border which messes up button dimensions */
160
154
  button::-moz-focus-inner {
@@ -194,7 +194,7 @@ class TagList extends LocalizeCoreElement(InteractiveMixin(ArrowKeysMixin(LitEle
194
194
  aria-label="${this.description}"
195
195
  class="${classMap(containerClasses)}"
196
196
  role="group"
197
- aria-roledescription="${this.localize('components.tag-list.role-description')}"
197
+ aria-roledescription="${this.localize('components.tag-list.role-description', { count: this._items ? this._items.length : 0 })}"
198
198
  @d2l-tag-list-item-clear="${this._handleItemDeleted}">
199
199
  <slot @slotchange="${this._handleSlotChange}" @focusout="${this._handleSlotFocusOut}" @focusin="${this._handleSlotFocusIn}"></slot>
200
200
  ${overflowButton}
package/lang/ar.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "تمت إزالة عنصر قائمة العلامات {value}",
210
210
  "components.tag-list.interactive-label": "قائمة العلامات، {count} من العناصر",
211
211
  "components.tag-list.num-hidden": "زيادة {count} إضافي",
212
- "components.tag-list.role-description": "قائمة العلامات",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "إظهار أقل",
214
219
  "components.tag-list.show-more-description": "حدد لإظهار عناصر قائمة العلامات المخفية",
215
220
  "components.tag-list-item.role-description": "العلامة",
package/lang/cy.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "Wedi tynnu’r eitem rhestr tag {value}",
210
210
  "components.tag-list.interactive-label": "Rhestr Tag, {count} o eitemau",
211
211
  "components.tag-list.num-hidden": "+ {count} yn rhagor",
212
- "components.tag-list.role-description": "Rhestr o Dagiau",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "Dangos Llai",
214
219
  "components.tag-list.show-more-description": "Dewis i ddangos eitemau rhestr tag cudd",
215
220
  "components.tag-list-item.role-description": "Tag",
package/lang/da.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "Fjernede taglisteelement {value}",
210
210
  "components.tag-list.interactive-label": "Tagliste, {count} elementer",
211
211
  "components.tag-list.num-hidden": "+ {count} mere",
212
- "components.tag-list.role-description": "Tagliste",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "Vis færre",
214
219
  "components.tag-list.show-more-description": "Vælg for at få vist skjulte taglisteelementer",
215
220
  "components.tag-list-item.role-description": "Tag",
package/lang/de.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "Element {value} der Tag-Liste wurde entfernt",
210
210
  "components.tag-list.interactive-label": "Tag-Liste, {count} Elemente",
211
211
  "components.tag-list.num-hidden": "+ {count} weitere",
212
- "components.tag-list.role-description": "Tag-Liste",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "Weniger anzeigen",
214
219
  "components.tag-list.show-more-description": "Wählen Sie diese Option, um ausgeblendete Elemente der Tag-Liste anzuzeigen",
215
220
  "components.tag-list-item.role-description": "Tag",
package/lang/en-gb.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "Removed tag list item {value}",
210
210
  "components.tag-list.interactive-label": "Tag List, {count} items",
211
211
  "components.tag-list.num-hidden": "+ {count} more",
212
- "components.tag-list.role-description": "Tag List",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "Show Less",
214
219
  "components.tag-list.show-more-description": "Select to show hidden tag list items",
215
220
  "components.tag-list-item.role-description": "Tag",
package/lang/en.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "Removed tag list item {value}",
210
210
  "components.tag-list.interactive-label": "Tag List, {count} items",
211
211
  "components.tag-list.num-hidden": "+ {count} more",
212
- "components.tag-list.role-description": "Tag List",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "Show Less",
214
219
  "components.tag-list.show-more-description": "Select to show hidden tag list items",
215
220
  "components.tag-list-item.role-description": "Tag",
package/lang/es-es.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "Se ha eliminado el elemento {value} de la lista de etiquetas",
210
210
  "components.tag-list.interactive-label": "Lista de etiquetas, {count} elementos",
211
211
  "components.tag-list.num-hidden": "+ {count} más",
212
- "components.tag-list.role-description": "Lista de etiquetas",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "Mostrar menos",
214
219
  "components.tag-list.show-more-description": "Seleccione esta opción para mostrar los elementos ocultos de la lista de etiquetas",
215
220
  "components.tag-list-item.role-description": "Etiqueta",
package/lang/es.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "Se eliminó el elemento {value} de la lista de etiquetas",
210
210
  "components.tag-list.interactive-label": "Lista de etiquetas, {count} elementos",
211
211
  "components.tag-list.num-hidden": "+ {count} más",
212
- "components.tag-list.role-description": "Lista de etiquetas",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "Mostrar menos",
214
219
  "components.tag-list.show-more-description": "Seleccione para mostrar los elementos ocultos de la lista de etiquetas",
215
220
  "components.tag-list-item.role-description": "Etiqueta",
package/lang/fr-fr.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "Suppression de l’élément de liste d’étiquettes {value}",
210
210
  "components.tag-list.interactive-label": "Liste d’étiquettes, {count} éléments",
211
211
  "components.tag-list.num-hidden": "{count} de plus",
212
- "components.tag-list.role-description": "Liste d’étiquettes",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "Afficher moins",
214
219
  "components.tag-list.show-more-description": "Sélectionnez cette option pour afficher les éléments de la liste d’étiquettes masquées",
215
220
  "components.tag-list-item.role-description": "Étiquette",
package/lang/fr.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "Élément {value} de la liste des balises supprimé",
210
210
  "components.tag-list.interactive-label": "Liste des balises, {count} éléments",
211
211
  "components.tag-list.num-hidden": "+ {count} de plus",
212
- "components.tag-list.role-description": "Liste des balises",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "Afficher moins",
214
219
  "components.tag-list.show-more-description": "Sélectionnez cette option pour afficher les éléments de la liste des balises cachées",
215
220
  "components.tag-list-item.role-description": "Marquer",
package/lang/haw.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "Wehe ʻia ka helu helu helu {value}",
210
210
  "components.tag-list.interactive-label": "Papa inoa inoa, {count} mau mea",
211
211
  "components.tag-list.num-hidden": "+ {count} hou aku",
212
- "components.tag-list.role-description": "Papa inoa inoa",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "Hōʻike liʻiliʻi",
214
219
  "components.tag-list.show-more-description": "E koho e hōʻike i nā mea papa inoa inoa huna",
215
220
  "components.tag-list-item.role-description": "Tag",
package/lang/hi.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "टैग लिस्ट आइटम {value} हटाए गए",
210
210
  "components.tag-list.interactive-label": "टैग लिस्ट, {count} आइटम",
211
211
  "components.tag-list.num-hidden": "+ {count} और",
212
- "components.tag-list.role-description": "टैग सूची",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "कम दिखाएँ",
214
219
  "components.tag-list.show-more-description": "छिपे हुए टैग लिस्ट आइटम दिखाने के लिए चुनें",
215
220
  "components.tag-list-item.role-description": "टैग",
package/lang/ja.js CHANGED
@@ -201,7 +201,11 @@ export default {
201
201
  "components.tag-list.cleared-item": "タグリスト項目 {value} を削除しました",
202
202
  "components.tag-list.interactive-label": "タグリスト、{count} 項目",
203
203
  "components.tag-list.num-hidden": "+ {count} 件追加",
204
- "components.tag-list.role-description": "タグリスト",
204
+ "components.tag-list.role-description":
205
+ `{count, plural,
206
+ =0 {Tag List with 0 items}
207
+ other {Tag List with {count} items}
208
+ }`,
205
209
  "components.tag-list.show-less": "少なく表示",
206
210
  "components.tag-list.show-more-description": "選択すると、非表示のタグリスト項目が表示されます",
207
211
  "components.tag-list-item.role-description": "タグ",
package/lang/ko.js CHANGED
@@ -201,7 +201,11 @@ export default {
201
201
  "components.tag-list.cleared-item": "태그 목록 항목 {value}을(를) 제거했습니다",
202
202
  "components.tag-list.interactive-label": "태그 목록, {count}개 항목",
203
203
  "components.tag-list.num-hidden": "{count}개 더",
204
- "components.tag-list.role-description": "태그 목록",
204
+ "components.tag-list.role-description":
205
+ `{count, plural,
206
+ =0 {Tag List with 0 items}
207
+ other {Tag List with {count} items}
208
+ }`,
205
209
  "components.tag-list.show-less": "간단히 표시",
206
210
  "components.tag-list.show-more-description": "숨겨진 태그 목록 항목을 표시하려면 선택합니다",
207
211
  "components.tag-list-item.role-description": "태그",
package/lang/mi.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "Kua tangohia te tūemi rārangi tūtohu {value}",
210
210
  "components.tag-list.interactive-label": "Rārangi Tūtohu, {count} tūemi",
211
211
  "components.tag-list.num-hidden": "+ {count} anō",
212
- "components.tag-list.role-description": "Rārangi Tūtohu",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "Whakaaturia mai kia iti iho",
214
219
  "components.tag-list.show-more-description": "Tīpakohia hei whakaatu i ngā tūemi rārangi tūtohu hunahuna",
215
220
  "components.tag-list-item.role-description": "Tūtohu",
package/lang/nl.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "Item {value} op de labellijst is verwijderd",
210
210
  "components.tag-list.interactive-label": "Labellijst, {count} items",
211
211
  "components.tag-list.num-hidden": "+ {count} extra",
212
- "components.tag-list.role-description": "Labellijst",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "Minder weergeven",
214
219
  "components.tag-list.show-more-description": "Selecteer deze optie om verborgen items op labellijsten weer te geven",
215
220
  "components.tag-list-item.role-description": "Label",
package/lang/pt.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "Item {value} da lista de etiquetas removido",
210
210
  "components.tag-list.interactive-label": "Lista de marcas, {count} itens",
211
211
  "components.tag-list.num-hidden": "+ {count} mais",
212
- "components.tag-list.role-description": "Lista de marcas",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "Mostrar menos",
214
219
  "components.tag-list.show-more-description": "Selecione para mostrar itens ocultos da lista de etiquetas",
215
220
  "components.tag-list-item.role-description": "Marca",
package/lang/sv.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "Ta bort tagglistobjektet {value}",
210
210
  "components.tag-list.interactive-label": "Tagglista, {count} objekt",
211
211
  "components.tag-list.num-hidden": "+ {count} till",
212
- "components.tag-list.role-description": "Tagglista",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "Visa färre",
214
219
  "components.tag-list.show-more-description": "Välj för att visa dolda tagglistobjekt",
215
220
  "components.tag-list-item.role-description": "Tagg",
package/lang/tr.js CHANGED
@@ -209,7 +209,12 @@ export default {
209
209
  "components.tag-list.cleared-item": "Kaldırılan etiket listesi öğesi {value}",
210
210
  "components.tag-list.interactive-label": "Etiket Listesi, {count} öğe",
211
211
  "components.tag-list.num-hidden": "+{count} tane daha",
212
- "components.tag-list.role-description": "Etiket Listesi",
212
+ "components.tag-list.role-description":
213
+ `{count, plural,
214
+ =0 {Tag List with 0 items}
215
+ one {Tag List with {count} item}
216
+ other {Tag List with {count} items}
217
+ }`,
213
218
  "components.tag-list.show-less": "Daha Azını Göster",
214
219
  "components.tag-list.show-more-description": "Gizli etiket listesi öğelerini göstermek için seçin",
215
220
  "components.tag-list-item.role-description": "Etiket",
package/lang/zh-cn.js CHANGED
@@ -201,7 +201,11 @@ export default {
201
201
  "components.tag-list.cleared-item": "已移除标签列表项目 {value}",
202
202
  "components.tag-list.interactive-label": "标签列表,{count} 个项目",
203
203
  "components.tag-list.num-hidden": "+ {count} 个",
204
- "components.tag-list.role-description": "标签列表",
204
+ "components.tag-list.role-description":
205
+ `{count, plural,
206
+ =0 {Tag List with 0 items}
207
+ other {Tag List with {count} items}
208
+ }`,
205
209
  "components.tag-list.show-less": "显示更少",
206
210
  "components.tag-list.show-more-description": "选择以显示隐藏的标签列表项目",
207
211
  "components.tag-list-item.role-description": "标记",
package/lang/zh-tw.js CHANGED
@@ -202,7 +202,11 @@ export default {
202
202
  "components.tag-list.cleared-item": "已移除標記清單項目 {value}",
203
203
  "components.tag-list.interactive-label": "標記清單,{count} 個項目",
204
204
  "components.tag-list.num-hidden": "還有 {count} 個",
205
- "components.tag-list.role-description": "標記列表",
205
+ "components.tag-list.role-description":
206
+ `{count, plural,
207
+ =0 {Tag List with 0 items}
208
+ other {Tag List with {count} items}
209
+ }`,
206
210
  "components.tag-list.show-less": "顯示更少",
207
211
  "components.tag-list.show-more-description": "選取以顯示隱藏的標記清單項目",
208
212
  "components.tag-list-item.role-description": "標記",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.150.0",
3
+ "version": "3.150.2",
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",