@brightspace-ui/core 3.74.2 → 3.75.1

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.
@@ -315,7 +315,7 @@ class AlertToast extends LitElement {
315
315
  this.dispatchEvent(new CustomEvent(
316
316
  'd2l-alert-toast-resize', {
317
317
  bubbles: true,
318
- composed: false,
318
+ composed: true,
319
319
  detail: { bottom, heightDifference: (newHeight - oldHeight), opening, closing: false }
320
320
  }
321
321
  ));
@@ -327,7 +327,7 @@ class AlertToast extends LitElement {
327
327
  }
328
328
 
329
329
  _handleSiblingResize(e) {
330
- if (e?.target === this || !this.open) return;
330
+ if (e?.composedPath()[0] === this || !this.open) return;
331
331
 
332
332
  if (!e.detail.opening) {
333
333
  const containerBottom = this._innerContainer.getBoundingClientRect().bottom;
@@ -444,7 +444,7 @@ class AlertToast extends LitElement {
444
444
  this.dispatchEvent(new CustomEvent(
445
445
  'd2l-alert-toast-close', {
446
446
  bubbles: true,
447
- composed: false,
447
+ composed: true,
448
448
  detail: { bottom, heightDifference: -this._height, opening: false, closing: true }
449
449
  }
450
450
  ));
@@ -54,7 +54,7 @@
54
54
  <template>
55
55
  <d2l-demo-selection>
56
56
  <d2l-selection-controls>
57
- <d2l-selection-action text="Bookmark" icon="tier1:bookmark-hollow" requires-selection></d2l-selection-action>
57
+ <d2l-selection-action text="Bookmark" icon="tier1:bookmark-hollow" max-selection-count="2" requires-selection></d2l-selection-action>
58
58
  <d2l-selection-action text="Settings" icon="tier1:gear"></d2l-selection-action>
59
59
  <d2l-selection-action-dropdown text="Actions 1" requires-selection>
60
60
  <d2l-dropdown-menu>
@@ -100,7 +100,7 @@
100
100
  <template>
101
101
  <d2l-demo-selection-pageable item-count="5">
102
102
  <d2l-selection-controls select-all-pages-allowed>
103
- <d2l-selection-action text="Bookmark" icon="tier1:bookmark-hollow" requires-selection></d2l-selection-action>
103
+ <d2l-selection-action text="Bookmark" icon="tier1:bookmark-hollow" max-selection-count="4" requires-selection></d2l-selection-action>
104
104
  <d2l-selection-action text="Settings" icon="tier1:gear"></d2l-selection-action>
105
105
  </d2l-selection-controls>
106
106
 
@@ -4,7 +4,6 @@ import { DropdownOpenerMixin } from '../dropdown/dropdown-opener-mixin.js';
4
4
  import { dropdownOpenerStyles } from '../dropdown/dropdown-opener-styles.js';
5
5
  import { FocusMixin } from '../../mixins/focus/focus-mixin.js';
6
6
  import { ifDefined } from 'lit/directives/if-defined.js';
7
- import { LocalizeCoreElement } from '../../helpers/localize-core-element.js';
8
7
  import { SelectionActionMixin } from './selection-action-mixin.js';
9
8
 
10
9
  /**
@@ -12,7 +11,7 @@ import { SelectionActionMixin } from './selection-action-mixin.js';
12
11
  * @slot - Dropdown content (e.g., "d2l-dropdown-content", "d2l-dropdown-menu" or "d2l-dropdown-tabs")
13
12
  * @fires d2l-selection-observer-subscribe - Internal event
14
13
  */
15
- class ActionDropdown extends FocusMixin(LocalizeCoreElement(SelectionActionMixin(DropdownOpenerMixin(LitElement)))) {
14
+ class ActionDropdown extends FocusMixin(SelectionActionMixin(DropdownOpenerMixin(LitElement))) {
16
15
 
17
16
  static get properties() {
18
17
  return {
@@ -33,11 +32,13 @@ class ActionDropdown extends FocusMixin(LocalizeCoreElement(SelectionActionMixin
33
32
  }
34
33
 
35
34
  render() {
35
+ const disabledTooltip = this._disabledTooltip || (this.disabled && this.disabledTooltip ? this.disabledTooltip : undefined);
36
+
36
37
  return html`
37
38
  <d2l-button-subtle
38
39
  class="vdiff-target"
39
- ?disabled=${this.disabled}
40
- disabled-tooltip="${ifDefined(this.disabled ? this.localize('components.selection.action-hint') : undefined)}"
40
+ ?disabled="${this.disabled}"
41
+ disabled-tooltip="${ifDefined(disabledTooltip)}"
41
42
  icon="tier1:chevron-down"
42
43
  icon-right
43
44
  text=${this.text}></d2l-button-subtle>
@@ -1,20 +1,29 @@
1
+ import { formatNumber } from '@brightspace-ui/intl/lib/number.js';
2
+ import { LocalizeCoreElement } from '../../helpers/localize-core-element.js';
1
3
  import { SelectionInfo } from './selection-mixin.js';
2
4
  import { SelectionObserverMixin } from './selection-observer-mixin.js';
3
5
 
4
- export const SelectionActionMixin = superclass => class extends SelectionObserverMixin(superclass) {
6
+ export const SelectionActionMixin = superclass => class extends LocalizeCoreElement(SelectionObserverMixin(superclass)) {
5
7
 
6
8
  static get properties() {
7
9
  return {
10
+ /**
11
+ * Disables bulk actions in the list or table controls once the selection limit is reached, but does not prevent further selection
12
+ * @type {number}
13
+ */
14
+ maxSelectionCount: { type: Number, attribute: 'max-selection-count' },
8
15
  /**
9
16
  * Whether the action requires one or more selected items
10
17
  * @type {boolean}
11
18
  */
12
- requiresSelection: { type: Boolean, attribute: 'requires-selection', reflect: true }
19
+ requiresSelection: { type: Boolean, attribute: 'requires-selection', reflect: true },
20
+ _disabledTooltip: { state: true }
13
21
  };
14
22
  }
15
23
 
16
24
  constructor() {
17
25
  super();
26
+ this.maxSelectionCount = Infinity;
18
27
  this.requiresSelection = false;
19
28
  }
20
29
 
@@ -24,7 +33,21 @@ export const SelectionActionMixin = superclass => class extends SelectionObserve
24
33
 
25
34
  set selectionInfo(value) {
26
35
  super.selectionInfo = value;
27
- this.disabled = (this.requiresSelection && this.selectionInfo.state === SelectionInfo.states.none);
36
+
37
+ // if these rules are not set, we let the consumer manage the disabled property if they want
38
+ if (!this.requiresSelection && this.maxSelectionCount === Infinity) return;
39
+
40
+ if (this.selectionInfo.keys.length > this.maxSelectionCount || (this.selectionInfo.state === SelectionInfo.states.allPages && this._provider?.itemCount > this.maxSelectionCount)) {
41
+ this.disabled = true;
42
+ this._disabledTooltip = this.localize('components.selection.action-max-hint', { count: this.maxSelectionCount, countFormatted: formatNumber(this.maxSelectionCount) });
43
+ } else if (this.requiresSelection && this.selectionInfo.state === SelectionInfo.states.none) {
44
+ this.disabled = true;
45
+ this._disabledTooltip = this.localize('components.selection.action-required-hint');
46
+ } else {
47
+ this.disabled = false;
48
+ this._disabledTooltip = undefined;
49
+ }
50
+
28
51
  }
29
52
 
30
53
  };
@@ -3,7 +3,6 @@ import { css, html, LitElement } from 'lit';
3
3
  import { ButtonMixin } from '../button/button-mixin.js';
4
4
  import { FocusMixin } from '../../mixins/focus/focus-mixin.js';
5
5
  import { ifDefined } from 'lit/directives/if-defined.js';
6
- import { LocalizeCoreElement } from '../../helpers/localize-core-element.js';
7
6
  import { SelectionActionMixin } from './selection-action-mixin.js';
8
7
  import { SelectionInfo } from './selection-mixin.js';
9
8
 
@@ -12,7 +11,7 @@ import { SelectionInfo } from './selection-mixin.js';
12
11
  * @fires d2l-selection-action-click - Dispatched when the user clicks the action button. The `SelectionInfo` is provided as the event `detail`. If `requires-selection` was specified then the event will only be dispatched if items are selected.
13
12
  * @fires d2l-selection-observer-subscribe - Internal event
14
13
  */
15
- class Action extends FocusMixin(LocalizeCoreElement(SelectionActionMixin(ButtonMixin(LitElement)))) {
14
+ class Action extends FocusMixin(SelectionActionMixin(ButtonMixin(LitElement))) {
16
15
 
17
16
  static get properties() {
18
17
  return {
@@ -55,12 +54,14 @@ class Action extends FocusMixin(LocalizeCoreElement(SelectionActionMixin(ButtonM
55
54
  }
56
55
 
57
56
  render() {
57
+ const disabledTooltip = this._disabledTooltip || (this.disabled && this.disabledTooltip ? this.disabledTooltip : undefined);
58
+
58
59
  return html`
59
60
  <d2l-button-subtle
60
61
  class="vdiff-target"
61
62
  @click="${this._handleActionClick}"
62
63
  ?disabled="${this.disabled}"
63
- disabled-tooltip="${ifDefined(this.disabled ? this.localize('components.selection.action-hint') : undefined)}"
64
+ disabled-tooltip="${ifDefined(disabledTooltip)}"
64
65
  icon="${ifDefined(this.icon)}"
65
66
  text="${this.text}">
66
67
  </d2l-button-subtle>
@@ -10928,6 +10928,12 @@
10928
10928
  "description": "REQUIRED: Text for the dropdown opener button",
10929
10929
  "type": "string"
10930
10930
  },
10931
+ {
10932
+ "name": "max-selection-count",
10933
+ "description": "Disables bulk actions in the list or table controls once the selection limit is reached, but does not prevent further selection",
10934
+ "type": "number",
10935
+ "default": "\"Infinity\""
10936
+ },
10931
10937
  {
10932
10938
  "name": "requires-selection",
10933
10939
  "description": "Whether the action requires one or more selected items",
@@ -10965,6 +10971,13 @@
10965
10971
  "description": "REQUIRED: Text for the dropdown opener button",
10966
10972
  "type": "string"
10967
10973
  },
10974
+ {
10975
+ "name": "maxSelectionCount",
10976
+ "attribute": "max-selection-count",
10977
+ "description": "Disables bulk actions in the list or table controls once the selection limit is reached, but does not prevent further selection",
10978
+ "type": "number",
10979
+ "default": "\"Infinity\""
10980
+ },
10968
10981
  {
10969
10982
  "name": "requiresSelection",
10970
10983
  "attribute": "requires-selection",
@@ -10979,8 +10992,7 @@
10979
10992
  "type": "string"
10980
10993
  },
10981
10994
  {
10982
- "name": "selectionInfo",
10983
- "type": "SelectionInfo"
10995
+ "name": "selectionInfo"
10984
10996
  },
10985
10997
  {
10986
10998
  "name": "dropdownOpener",
@@ -11036,6 +11048,12 @@
11036
11048
  "path": "./components/selection/selection-action-menu-item.js",
11037
11049
  "description": "An action menu-item component used within selection controls such as d2l-list and d2l-list-controls.",
11038
11050
  "attributes": [
11051
+ {
11052
+ "name": "max-selection-count",
11053
+ "description": "Disables bulk actions in the list or table controls once the selection limit is reached, but does not prevent further selection",
11054
+ "type": "number",
11055
+ "default": "\"Infinity\""
11056
+ },
11039
11057
  {
11040
11058
  "name": "requires-selection",
11041
11059
  "description": "Whether the action requires one or more selected items",
@@ -11065,6 +11083,13 @@
11065
11083
  }
11066
11084
  ],
11067
11085
  "properties": [
11086
+ {
11087
+ "name": "maxSelectionCount",
11088
+ "attribute": "max-selection-count",
11089
+ "description": "Disables bulk actions in the list or table controls once the selection limit is reached, but does not prevent further selection",
11090
+ "type": "number",
11091
+ "default": "\"Infinity\""
11092
+ },
11068
11093
  {
11069
11094
  "name": "requiresSelection",
11070
11095
  "attribute": "requires-selection",
@@ -11079,8 +11104,7 @@
11079
11104
  "type": "string"
11080
11105
  },
11081
11106
  {
11082
- "name": "selectionInfo",
11083
- "type": "SelectionInfo"
11107
+ "name": "selectionInfo"
11084
11108
  },
11085
11109
  {
11086
11110
  "name": "text",
@@ -11142,6 +11166,12 @@
11142
11166
  "description": "REQUIRED: The text for the action",
11143
11167
  "type": "string"
11144
11168
  },
11169
+ {
11170
+ "name": "max-selection-count",
11171
+ "description": "Disables bulk actions in the list or table controls once the selection limit is reached, but does not prevent further selection",
11172
+ "type": "number",
11173
+ "default": "\"Infinity\""
11174
+ },
11145
11175
  {
11146
11176
  "name": "requires-selection",
11147
11177
  "description": "Whether the action requires one or more selected items",
@@ -11178,6 +11208,13 @@
11178
11208
  "description": "REQUIRED: The text for the action",
11179
11209
  "type": "string"
11180
11210
  },
11211
+ {
11212
+ "name": "maxSelectionCount",
11213
+ "attribute": "max-selection-count",
11214
+ "description": "Disables bulk actions in the list or table controls once the selection limit is reached, but does not prevent further selection",
11215
+ "type": "number",
11216
+ "default": "\"Infinity\""
11217
+ },
11181
11218
  {
11182
11219
  "name": "requiresSelection",
11183
11220
  "attribute": "requires-selection",
@@ -11192,8 +11229,7 @@
11192
11229
  "type": "string"
11193
11230
  },
11194
11231
  {
11195
- "name": "selectionInfo",
11196
- "type": "SelectionInfo"
11232
+ "name": "selectionInfo"
11197
11233
  },
11198
11234
  {
11199
11235
  "name": "disabledTooltip",
package/lang/ar.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, one {{countFormatted} مادة واحد} other {{countFormatted} من المواد}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} من أصل {totalCountFormatted} مادة واحدة} other {{countFormatted} من أصل {totalCountFormatted} من المواد}}",
113
113
  "components.pager-load-more.status-loading": "تحميل المزيد من المواد",
114
- "components.selection.action-hint": "حدد مادة لتنفيذ هذا الإجراء.",
114
+ "components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "حدد مادة لتنفيذ هذا الإجراء",
115
116
  "components.selection.select-all": "تحديد الكل",
116
117
  "components.selection.select-all-items": "تحديد كل المواد الـ {count}.",
117
118
  "components.selection.selected": "تم تحديد {count}",
package/lang/cy.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, one {{countFormatted} eitem} other {{countFormatted} o eitemau}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} o {totalCountFormatted} eitem} other {{countFormatted} o {totalCountFormatted} eitemau}}",
113
113
  "components.pager-load-more.status-loading": "Llwytho rhagor o eitemau",
114
- "components.selection.action-hint": "Dewiswch eitem i gyflawni'r weithred hon.",
114
+ "components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "Dewiswch eitem i gyflawni'r weithred hon",
115
116
  "components.selection.select-all": "Dewis y Cyfan",
116
117
  "components.selection.select-all-items": "Dewis Pob {count} Eitem",
117
118
  "components.selection.selected": "{count} wedi’u dewis.",
package/lang/da.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, one {{countFormatted} element} other {{countFormatted} elementer}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} af {totalCountFormatted} element} other {{countFormatted} af {totalCountFormatted} elementer}}",
113
113
  "components.pager-load-more.status-loading": "Indlæser flere elementer",
114
- "components.selection.action-hint": "Vælg et element for at udføre denne handling.",
114
+ "components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "Vælg et element for at udføre denne handling",
115
116
  "components.selection.select-all": "Vælg alle",
116
117
  "components.selection.select-all-items": "Vælg alle {count} elementer",
117
118
  "components.selection.selected": "{count} valgt",
package/lang/de.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, one {{countFormatted} Element} other {{countFormatted} Elemente}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} von {totalCountFormatted} Element} other {{countFormatted} von {totalCountFormatted} Elemente}}",
113
113
  "components.pager-load-more.status-loading": "Weitere Elemente werden geladen",
114
- "components.selection.action-hint": "Wählen Sie ein Element aus, um diese Aktion auszuführen.",
114
+ "components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "Wählen Sie ein Element aus, um diese Aktion auszuführen",
115
116
  "components.selection.select-all": "Alle auswählen",
116
117
  "components.selection.select-all-items": "Alle {count} Elemente auswählen",
117
118
  "components.selection.selected": "{count} ausgewählt",
package/lang/en-gb.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, one {{countFormatted} item} other {{countFormatted} items}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} of {totalCountFormatted} item} other {{countFormatted} of {totalCountFormatted} items}}",
113
113
  "components.pager-load-more.status-loading": "Loading more items",
114
- "components.selection.action-hint": "Select an item to perform this action.",
114
+ "components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "Select an item to perform this action",
115
116
  "components.selection.select-all": "Select All",
116
117
  "components.selection.select-all-items": "Select All {count} Items",
117
118
  "components.selection.selected": "{count} selected",
package/lang/en.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, one {{countFormatted} item} other {{countFormatted} items}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} of {totalCountFormatted} item} other {{countFormatted} of {totalCountFormatted} items}}",
113
113
  "components.pager-load-more.status-loading": "Loading more items",
114
- "components.selection.action-hint": "Select an item to perform this action.",
114
+ "components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "Select an item to perform this action",
115
116
  "components.selection.select-all": "Select All",
116
117
  "components.selection.select-all-items": "Select All {count} Items",
117
118
  "components.selection.selected": "{count} selected",
package/lang/es-es.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, one {{countFormatted} elemento} other {{countFormatted} elementos}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} de {totalCountFormatted} elemento} other {{countFormatted} de {totalCountFormatted} elementos}}",
113
113
  "components.pager-load-more.status-loading": "Cargando más elementos",
114
- "components.selection.action-hint": "Seleccione un elemento para realizar esta acción.",
114
+ "components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "Seleccione un elemento para realizar esta acción",
115
116
  "components.selection.select-all": "Seleccionar todo",
116
117
  "components.selection.select-all-items": "Seleccione los {count} elementos",
117
118
  "components.selection.selected": "{count} seleccionados",
package/lang/es.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, one {{countFormatted} elemento} other {{countFormatted} elementos}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} de {totalCountFormatted} elemento} other {{countFormatted} de {totalCountFormatted} elementos}}",
113
113
  "components.pager-load-more.status-loading": "Cargando más elementos",
114
- "components.selection.action-hint": "Seleccione un elemento para realizar esta acción.",
114
+ "components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "Seleccione un elemento para realizar esta acción",
115
116
  "components.selection.select-all": "Seleccionar todo",
116
117
  "components.selection.select-all-items": "Seleccione todos los {count} elementos",
117
118
  "components.selection.selected": "{count} seleccionados",
package/lang/fr-fr.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, one {{countFormatted} élément} other {{countFormatted} éléments}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} sur {totalCountFormatted} élément} other {{countFormatted} sur {totalCountFormatted} éléments}}",
113
113
  "components.pager-load-more.status-loading": "Charger plus d’éléments",
114
- "components.selection.action-hint": "Sélectionnez un élément pour exécuter cette action.",
114
+ "components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "Sélectionnez un élément pour exécuter cette action",
115
116
  "components.selection.select-all": "Tout sélectionner",
116
117
  "components.selection.select-all-items": "Sélectionner tous les {count} éléments",
117
118
  "components.selection.selected": "{count} sélectionnés",
package/lang/fr.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, one {{countFormatted} élément} other {{countFormatted} éléments}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} de {totalCountFormatted} élément} other {{countFormatted} de {totalCountFormatted} éléments}}",
113
113
  "components.pager-load-more.status-loading": "Chargement d'autres d'éléments",
114
- "components.selection.action-hint": "Sélectionner un élément pour exécuter cette action.",
114
+ "components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "Sélectionner un élément pour exécuter cette action",
115
116
  "components.selection.select-all": "Tout sélectionner",
116
117
  "components.selection.select-all-items": "Sélectionner tous les {count} éléments",
117
118
  "components.selection.selected": "{count} sélectionné(s)",
package/lang/hi.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, one {{countFormatted} आइटम} other {{countFormatted} आइटम}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, one {{totalCountFormatted} में से {countFormatted} आइटम} other {{totalCountFormatted} में से {countFormatted} आइटम}}",
113
113
  "components.pager-load-more.status-loading": "और आइटम लोड करना",
114
- "components.selection.action-hint": "यह कार्रवाई निष्पादित करने के लिए कोई आइटम का चयन करें।",
114
+ "components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "यह कार्रवाई निष्पादित करने के लिए कोई आइटम का चयन करें।",
115
116
  "components.selection.select-all": "सभी का चयन करें",
116
117
  "components.selection.select-all-items": "सभी {count} आइटम चुनें।",
117
118
  "components.selection.selected": "{count} चयनित",
package/lang/ja.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, other {{countFormatted} 個の項目}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, other {{countFormatted}/{totalCountFormatted} 個の項目}}",
113
113
  "components.pager-load-more.status-loading": "さらに項目を読み込み中",
114
- "components.selection.action-hint": "このアクションを実行するための項目を選択します。",
114
+ "components.selection.action-max-hint": "{count, plural, other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "このアクションを実行するための項目を選択します。",
115
116
  "components.selection.select-all": "すべて選択",
116
117
  "components.selection.select-all-items": "{count} 個の項目をすべて選択",
117
118
  "components.selection.selected": "{count} 個を選択済み",
package/lang/ko.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, other {해당 항목 수 {countFormatted}개}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, other {{totalCountFormatted}개 항목 중 {countFormatted}개}}",
113
113
  "components.pager-load-more.status-loading": "더 많은 항목 로드",
114
- "components.selection.action-hint": " 작업을 수행할 항목을 선택하십시오.",
114
+ "components.selection.action-max-hint": "{count, plural, other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "이 작업을 수행할 항목을 선택하십시오",
115
116
  "components.selection.select-all": "모두 선택",
116
117
  "components.selection.select-all-items": "{count}개 항목을 모두 선택하십시오.",
117
118
  "components.selection.selected": "{count}개 선택됨",
package/lang/nl.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, one {{countFormatted} item} other {{countFormatted} items}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} van {totalCountFormatted} artikel} other {{countFormatted} van {totalCountFormatted} artikelen}}",
113
113
  "components.pager-load-more.status-loading": "Er worden meer items geladen",
114
- "components.selection.action-hint": "Selecteer een item om deze actie uit te voeren.",
114
+ "components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "Selecteer een item om deze actie uit te voeren",
115
116
  "components.selection.select-all": "Alles selecteren",
116
117
  "components.selection.select-all-items": "Alle {count} records selecteren",
117
118
  "components.selection.selected": "{count} geselecteerd",
package/lang/pt.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, one {{countFormatted} item} other {{countFormatted} itens}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} de {totalCountFormatted} item} other {{countFormatted} de {totalCountFormatted} itens}}",
113
113
  "components.pager-load-more.status-loading": "Carregando mais itens",
114
- "components.selection.action-hint": "Selecione um item para realizar esta ação.",
114
+ "components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "Selecione um item para realizar esta ação",
115
116
  "components.selection.select-all": "Selecionar tudo",
116
117
  "components.selection.select-all-items": "Selecione todos os {count} itens",
117
118
  "components.selection.selected": "{count} selecionados",
package/lang/sv.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, one {{countFormatted} objekt} other {{countFormatted} objekt}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} av {totalCountFormatted} objekt} other {{countFormatted} av {totalCountFormatted} objekt}}",
113
113
  "components.pager-load-more.status-loading": "Läser in fler objekt",
114
- "components.selection.action-hint": "Välj ett objekt för att utföra åtgärden.",
114
+ "components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "Välj ett objekt för att utföra åtgärden",
115
116
  "components.selection.select-all": "Välj alla",
116
117
  "components.selection.select-all-items": "Välj alla {count} objekt",
117
118
  "components.selection.selected": "{count} valda",
package/lang/tr.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, one {{countFormatted} öğe} other {{countFormatted} öğe}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} / {totalCountFormatted} öğe} other {{countFormatted} / {totalCountFormatted} öğe}}",
113
113
  "components.pager-load-more.status-loading": "Daha fazla öğe yükleniyor",
114
- "components.selection.action-hint": "Bu eylemi gerçekleştirebilmek için bir öğe seçin.",
114
+ "components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "Bu eylemi gerçekleştirebilmek için bir öğe seçin",
115
116
  "components.selection.select-all": "Tümünü Seç",
116
117
  "components.selection.select-all-items": "{count} Öğenin Tamamını Seç",
117
118
  "components.selection.selected": "{count} öğe seçildi",
package/lang/zh-cn.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, other {{countFormatted} 项}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, other {{countFormatted}/{totalCountFormatted} 项}}",
113
113
  "components.pager-load-more.status-loading": "加载更多项目",
114
- "components.selection.action-hint": "选择一个项目后才能执行此操作。",
114
+ "components.selection.action-max-hint": "{count, plural, other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "选择一个项目后才能执行此操作。",
115
116
  "components.selection.select-all": "全选",
116
117
  "components.selection.select-all-items": "选择全部 {count} 个项目",
117
118
  "components.selection.selected": "已选 {count}",
package/lang/zh-tw.js CHANGED
@@ -111,7 +111,8 @@ export default {
111
111
  "components.pageable.info": "{count, plural, other {{countFormatted} 個項目}}",
112
112
  "components.pageable.info-with-total": "{totalCount, plural, other {{countFormatted} 項,共 {totalCountFormatted} 項}}",
113
113
  "components.pager-load-more.status-loading": "正在載入更多項目",
114
- "components.selection.action-hint": "選取項目以執行此動作。",
114
+ "components.selection.action-max-hint": "{count, plural, other {Disabled when more than {countFormatted} items are selected}}",
115
+ "components.selection.action-required-hint": "選取項目以執行此動作。",
115
116
  "components.selection.select-all": "全選",
116
117
  "components.selection.select-all-items": "選取所有 {count} 個項目",
117
118
  "components.selection.selected": "已選取 {count} 個",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.74.2",
3
+ "version": "3.75.1",
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",