@brightspace-ui/core 3.344.12 → 3.345.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.
@@ -133,9 +133,6 @@ class ButtonIcon extends SlottedIconMixin(PropertyRequiredMixin(ThemeMixin(Butto
133
133
  constructor() {
134
134
  super();
135
135
  this.translucent = false;
136
-
137
- /** @internal */
138
- this._buttonId = getUniqueId();
139
136
  /** @internal */
140
137
  this._describedById = getUniqueId();
141
138
  this._iconRequired = true;
@@ -145,29 +142,31 @@ class ButtonIcon extends SlottedIconMixin(PropertyRequiredMixin(ThemeMixin(Butto
145
142
  return html`
146
143
  <button
147
144
  aria-describedby="${ifDefined(this.description ? this._describedById : undefined)}"
148
- aria-disabled="${ifDefined(this.disabled && this.disabledTooltip ? 'true' : undefined)}"
145
+ aria-disabled="${this._ariaDisabled}"
149
146
  aria-expanded="${ifDefined(this.expanded)}"
150
147
  aria-haspopup="${ifDefined(this.ariaHaspopup)}"
151
148
  aria-label="${this.ariaLabel ? this.ariaLabel : ifDefined(this.text)}"
152
149
  ?autofocus="${this.autofocus}"
153
- ?disabled="${this.disabled && !this.disabledTooltip}"
150
+ ?disabled="${this._disabled}"
154
151
  form="${ifDefined(this.form)}"
155
152
  formaction="${ifDefined(this.formaction)}"
156
153
  formenctype="${ifDefined(this.formenctype)}"
157
154
  formmethod="${ifDefined(this.formmethod)}"
158
155
  ?formnovalidate="${this.formnovalidate}"
159
156
  formtarget="${ifDefined(this.formtarget)}"
160
- id="${this._buttonId}"
157
+ id="${this.#buttonId}"
161
158
  name="${ifDefined(this.name)}"
162
159
  title="${ifDefined(this.text)}"
163
160
  type="${this._getType()}">
164
161
  ${this._renderIcon()}
165
162
  </button>
166
163
  ${this.description ? html`<span id="${this._describedById}" hidden>${this.description}</span>` : null}
167
- ${this.disabled && this.disabledTooltip ? html`<d2l-tooltip class="vdiff-target" for="${this._buttonId}">${this.disabledTooltip}</d2l-tooltip>` : ''}
164
+ ${this._renderDisabledTooltip(this.#buttonId)}
168
165
  `;
169
166
  }
170
167
 
168
+ #buttonId = getUniqueId();
169
+
171
170
  }
172
171
 
173
172
  customElements.define('d2l-button-icon', ButtonIcon);
@@ -1,6 +1,7 @@
1
+ import { DisabledTooltipMixin } from '../../mixins/disabled-tooltip/disabled-tooltip-mixin.js';
1
2
  import { FocusMixin } from '../../mixins/focus/focus-mixin.js';
2
3
 
3
- export const ButtonMixin = superclass => class extends FocusMixin(superclass) {
4
+ export const ButtonMixin = superclass => class extends DisabledTooltipMixin(FocusMixin(superclass)) {
4
5
 
5
6
  static properties = {
6
7
  /**
@@ -25,16 +26,6 @@ export const ButtonMixin = superclass => class extends FocusMixin(superclass) {
25
26
  * @type {'true' | 'false'}
26
27
  */
27
28
  expanded: { type: String, reflect: true, attribute: 'expanded' },
28
- /**
29
- * Disables the button
30
- * @type {boolean}
31
- */
32
- disabled: { type: Boolean, reflect: true },
33
- /**
34
- * Tooltip text when disabled
35
- * @type {string}
36
- */
37
- disabledTooltip: { type: String, attribute: 'disabled-tooltip' },
38
29
  /**
39
30
  * @ignore
40
31
  */
@@ -71,7 +62,6 @@ export const ButtonMixin = superclass => class extends FocusMixin(superclass) {
71
62
 
72
63
  constructor() {
73
64
  super();
74
- this.disabled = false;
75
65
 
76
66
  /** @ignore */
77
67
  this.autofocus = false;
@@ -80,27 +70,6 @@ export const ButtonMixin = superclass => class extends FocusMixin(superclass) {
80
70
  this.type = 'button';
81
71
  }
82
72
 
83
- /**
84
- * @attr disabled - Disables the button
85
- */
86
- get disabled() { return this._disabled; }
87
- set disabled(value) {
88
- const oldValue = this._disabled;
89
- this._disabled = value;
90
- this.requestUpdate('disabled', oldValue);
91
- }
92
-
93
- /**
94
- * @attr disabled-tooltip - Tooltip text when disabled
95
- * @type {string}
96
- */
97
- get disabledTooltip() { return this._disabledTooltip; }
98
- set disabledTooltip(value) {
99
- const oldValue = this._disabledTooltip;
100
- this._disabledTooltip = value;
101
- this.requestUpdate('disabledTooltip', oldValue);
102
- }
103
-
104
73
  static get focusElementSelector() {
105
74
  return 'button';
106
75
  }
@@ -6,6 +6,7 @@ import '../icons/icon.js';
6
6
  import '../menu/menu.js';
7
7
  import { css, html, LitElement } from 'lit';
8
8
  import { classMap } from 'lit/directives/class-map.js';
9
+ import { DisabledTooltipMixin } from '../../mixins/disabled-tooltip/disabled-tooltip-mixin.js';
9
10
  import { FocusMixin } from '../../mixins/focus/focus-mixin.js';
10
11
  import { ifDefined } from 'lit/directives/if-defined.js';
11
12
  import { LocalizeCoreElement } from '../../helpers/localize-core-element.js';
@@ -14,7 +15,7 @@ import { PropertyRequiredMixin } from '../../mixins/property-required/property-r
14
15
  /**
15
16
  * A split button that provides a main action button and slot for a menu.
16
17
  */
17
- class ButtonSplit extends FocusMixin(PropertyRequiredMixin(LocalizeCoreElement(LitElement))) {
18
+ class ButtonSplit extends DisabledTooltipMixin(FocusMixin(PropertyRequiredMixin(LocalizeCoreElement(LitElement)))) {
18
19
 
19
20
  static properties = {
20
21
  /**
@@ -22,16 +23,6 @@ class ButtonSplit extends FocusMixin(PropertyRequiredMixin(LocalizeCoreElement(L
22
23
  * @type {string}
23
24
  */
24
25
  description: { type: String },
25
- /**
26
- * Disables the main action and dropdown opener buttons
27
- * @type {boolean}
28
- */
29
- disabled: { type: Boolean, reflect: true },
30
- /**
31
- * Tooltip text when disabled
32
- * @type {string}
33
- */
34
- disabledTooltip: { type: String, attribute: 'disabled-tooltip' },
35
26
  /**
36
27
  * REQUIRED: Key of the main action
37
28
  * @type {string}
@@ -166,8 +166,6 @@ class ButtonSubtle extends SlottedIconMixin(ButtonMixin(LitElement)) {
166
166
  super();
167
167
  this.iconRight = false;
168
168
  this.slim = false;
169
-
170
- this._buttonId = getUniqueId();
171
169
  this._describedById = getUniqueId();
172
170
  }
173
171
 
@@ -179,20 +177,20 @@ class ButtonSubtle extends SlottedIconMixin(ButtonMixin(LitElement)) {
179
177
  return html`
180
178
  <button
181
179
  aria-describedby="${ifDefined(this.description ? this._describedById : undefined)}"
182
- aria-disabled="${ifDefined(this.disabled && this.disabledTooltip ? 'true' : undefined)}"
180
+ aria-disabled="${this._ariaDisabled}"
183
181
  aria-expanded="${ifDefined(this.expanded)}"
184
182
  aria-haspopup="${ifDefined(this.ariaHaspopup)}"
185
183
  aria-label="${ifDefined(this.ariaLabel)}"
186
184
  ?autofocus="${this.autofocus}"
187
185
  class="${classMap(buttonClasses)}"
188
- ?disabled="${this.disabled && !this.disabledTooltip}"
186
+ ?disabled="${this._disabled}"
189
187
  form="${ifDefined(this.form)}"
190
188
  formaction="${ifDefined(this.formaction)}"
191
189
  formenctype="${ifDefined(this.formenctype)}"
192
190
  formmethod="${ifDefined(this.formmethod)}"
193
191
  ?formnovalidate="${this.formnovalidate}"
194
192
  formtarget="${ifDefined(this.formtarget)}"
195
- id="${this._buttonId}"
193
+ id="${this.#buttonId}"
196
194
  name="${ifDefined(this.name)}"
197
195
  type="${this._getType()}">
198
196
  ${this._renderIcon()}
@@ -202,10 +200,12 @@ class ButtonSubtle extends SlottedIconMixin(ButtonMixin(LitElement)) {
202
200
  </span>
203
201
  </button>
204
202
  ${this.description ? html`<span id="${this._describedById}" hidden>${this.description}</span>` : null}
205
- ${this.disabled && this.disabledTooltip ? html`<d2l-tooltip class="vdiff-target" for="${this._buttonId}">${this.disabledTooltip}</d2l-tooltip>` : ''}
203
+ ${this._renderDisabledTooltip(this.#buttonId)}
206
204
  `;
207
205
  }
208
206
 
207
+ #buttonId = getUniqueId();
208
+
209
209
  }
210
210
 
211
211
  customElements.define('d2l-button-subtle', ButtonSubtle);
@@ -96,8 +96,6 @@ class Button extends ButtonMixin(LitElement) {
96
96
  super();
97
97
  this.primary = false;
98
98
 
99
- /** @internal */
100
- this._buttonId = getUniqueId();
101
99
  /** @internal */
102
100
  this._describedById = getUniqueId();
103
101
  }
@@ -106,27 +104,29 @@ class Button extends ButtonMixin(LitElement) {
106
104
  return html`
107
105
  <button
108
106
  aria-describedby="${ifDefined(this.description ? this._describedById : undefined)}"
109
- aria-disabled="${ifDefined(this.disabled && this.disabledTooltip ? 'true' : undefined)}"
107
+ aria-disabled="${this._ariaDisabled}"
110
108
  aria-expanded="${ifDefined(this.expanded)}"
111
109
  aria-haspopup="${ifDefined(this.ariaHaspopup)}"
112
110
  aria-label="${ifDefined(this.ariaLabel)}"
113
111
  ?autofocus="${this.autofocus}"
114
112
  class="d2l-label-text"
115
- ?disabled="${this.disabled && !this.disabledTooltip}"
113
+ ?disabled="${this._disabled}"
116
114
  form="${ifDefined(this.form)}"
117
115
  formaction="${ifDefined(this.formaction)}"
118
116
  formenctype="${ifDefined(this.formenctype)}"
119
117
  formmethod="${ifDefined(this.formmethod)}"
120
118
  ?formnovalidate="${this.formnovalidate}"
121
119
  formtarget="${ifDefined(this.formtarget)}"
122
- id="${this._buttonId}"
120
+ id="${this.#buttonId}"
123
121
  name="${ifDefined(this.name)}"
124
122
  type="${this._getType()}">
125
123
  <slot></slot>
126
124
  </button>
127
125
  ${this.description ? html`<span id="${this._describedById}" hidden>${this.description}</span>` : null}
128
- ${this.disabled && this.disabledTooltip ? html`<d2l-tooltip class="vdiff-target" for="${this._buttonId}">${this.disabledTooltip}</d2l-tooltip>` : ''}
126
+ ${this._renderDisabledTooltip(this.#buttonId)}
129
127
  `;
130
128
  }
129
+
130
+ #buttonId = getUniqueId();
131
131
  }
132
132
  customElements.define('d2l-button', Button);
@@ -22,7 +22,7 @@ const HINT_TYPES = {
22
22
  // US137000 - prevent Lit default converter from converting undefined to 0
23
23
  const numberConverter = {
24
24
  fromAttribute: (attr) => { return !attr ? undefined : Number(attr); },
25
- toAttribute: (prop) => { return String(prop); }
25
+ toAttribute: (prop) => { return String(prop); }
26
26
  };
27
27
 
28
28
  function formatValue(value, options, numDecimalDigits) {
@@ -17,7 +17,7 @@ function _getInputBaseStyleDelegates(selector, focusSelector) {
17
17
  ${focusSelector ? `${focusSelector},` : ''}
18
18
  ${selector}:${focusClass}:not(:disabled),
19
19
  ${selector}:hover:not(:disabled)`,
20
- style: fullSelector => css`
20
+ style: fullSelector => css`
21
21
  ${fullSelector} {
22
22
  border-color: var(--d2l-theme-border-color-focus);
23
23
  border-width: 2px;
@@ -619,7 +619,7 @@
619
619
  },
620
620
  {
621
621
  "name": "disabled",
622
- "description": "Disables the button",
622
+ "description": "Disables the control",
623
623
  "type": "boolean",
624
624
  "default": "false"
625
625
  }
@@ -667,20 +667,20 @@
667
667
  "description": "Wether the controlled element is expanded. Replaces 'aria-expanded'",
668
668
  "type": "'true' | 'false'"
669
669
  },
670
+ {
671
+ "name": "isButtonMixin",
672
+ "type": "boolean"
673
+ },
670
674
  {
671
675
  "name": "disabledTooltip",
672
676
  "attribute": "disabled-tooltip",
673
677
  "description": "Tooltip text when disabled",
674
678
  "type": "string"
675
679
  },
676
- {
677
- "name": "isButtonMixin",
678
- "type": "boolean"
679
- },
680
680
  {
681
681
  "name": "disabled",
682
682
  "attribute": "disabled",
683
- "description": "Disables the button",
683
+ "description": "Disables the control",
684
684
  "type": "boolean",
685
685
  "default": "false"
686
686
  },
@@ -1016,11 +1016,6 @@
1016
1016
  "description": "ACCESSIBILITY: A description to be added to the main action button for accessibility when text does not provide enough context",
1017
1017
  "type": "string"
1018
1018
  },
1019
- {
1020
- "name": "disabled-tooltip",
1021
- "description": "Tooltip text when disabled",
1022
- "type": "string"
1023
- },
1024
1019
  {
1025
1020
  "name": "key",
1026
1021
  "description": "REQUIRED: Key of the main action",
@@ -1032,14 +1027,19 @@
1032
1027
  "type": "string"
1033
1028
  },
1034
1029
  {
1035
- "name": "disabled",
1036
- "description": "Disables the main action and dropdown opener buttons",
1030
+ "name": "primary",
1031
+ "description": "Styles the buttons as a primary buttons",
1037
1032
  "type": "boolean",
1038
1033
  "default": "false"
1039
1034
  },
1040
1035
  {
1041
- "name": "primary",
1042
- "description": "Styles the buttons as a primary buttons",
1036
+ "name": "disabled-tooltip",
1037
+ "description": "Tooltip text when disabled",
1038
+ "type": "string"
1039
+ },
1040
+ {
1041
+ "name": "disabled",
1042
+ "description": "Disables the control",
1043
1043
  "type": "boolean",
1044
1044
  "default": "false"
1045
1045
  }
@@ -1051,12 +1051,6 @@
1051
1051
  "description": "ACCESSIBILITY: A description to be added to the main action button for accessibility when text does not provide enough context",
1052
1052
  "type": "string"
1053
1053
  },
1054
- {
1055
- "name": "disabledTooltip",
1056
- "attribute": "disabled-tooltip",
1057
- "description": "Tooltip text when disabled",
1058
- "type": "string"
1059
- },
1060
1054
  {
1061
1055
  "name": "key",
1062
1056
  "attribute": "key",
@@ -1074,16 +1068,22 @@
1074
1068
  "default": "\"css`\\n\\t\\t:host {\\n\\t\\t\\tdisplay: inline-block;\\n\\t\\t}\\n\\t\\t:host([hidden]) {\\n\\t\\t\\tdisplay: none;\\n\\t\\t}\\n\\t\\t.container {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tgap: 2px;\\n\\t\\t}\\n\\t\\t.main-action {\\n\\t\\t\\t--d2l-button-start-end-radius: 0;\\n\\t\\t\\t--d2l-button-end-end-radius: 0;\\n\\t\\t}\\n\\t\\t.d2l-dropdown-opener {\\n\\t\\t\\t--d2l-button-start-start-radius: 0;\\n\\t\\t\\t--d2l-button-end-start-radius: 0;\\n\\t\\t\\t--d2l-button-padding-inline-end: 0.6rem;\\n\\t\\t\\t--d2l-button-padding-inline-start: 0.6rem;\\n\\t\\t}\\n\\t\\t.d2l-dropdown-opener[primary] > d2l-icon {\\n\\t\\t\\tcolor: #ffffff;\\n\\t\\t}\\n\\t\\t::slotted(:not(d2l-button-split-item)) {\\n\\t\\t\\tdisplay: none;\\n\\t\\t}\\n\\t\\t.main-action-focus-visible .d2l-dropdown-opener {\\n\\t\\t\\t--d2l-button-padding-inline-start: calc(0.6rem - 4px);\\n\\t\\t\\tmargin-inline-start: 4px;\\n\\t\\t}\\n\\t\\t.menu-opener-focus-visible .main-action {\\n\\t\\t\\t--d2l-button-padding-inline-end: calc(1.5rem - 4px);\\n\\t\\t\\tmargin-inline-end: 4px;\\n\\t\\t}\\n\\t`\""
1075
1069
  },
1076
1070
  {
1077
- "name": "disabled",
1078
- "attribute": "disabled",
1079
- "description": "Disables the main action and dropdown opener buttons",
1071
+ "name": "primary",
1072
+ "attribute": "primary",
1073
+ "description": "Styles the buttons as a primary buttons",
1080
1074
  "type": "boolean",
1081
1075
  "default": "false"
1082
1076
  },
1083
1077
  {
1084
- "name": "primary",
1085
- "attribute": "primary",
1086
- "description": "Styles the buttons as a primary buttons",
1078
+ "name": "disabledTooltip",
1079
+ "attribute": "disabled-tooltip",
1080
+ "description": "Tooltip text when disabled",
1081
+ "type": "string"
1082
+ },
1083
+ {
1084
+ "name": "disabled",
1085
+ "attribute": "disabled",
1086
+ "description": "Disables the control",
1087
1087
  "type": "boolean",
1088
1088
  "default": "false"
1089
1089
  }
@@ -1205,7 +1205,7 @@
1205
1205
  },
1206
1206
  {
1207
1207
  "name": "disabled",
1208
- "description": "Disables the button",
1208
+ "description": "Disables the control",
1209
1209
  "type": "boolean",
1210
1210
  "default": "false"
1211
1211
  }
@@ -1260,20 +1260,20 @@
1260
1260
  "description": "Wether the controlled element is expanded. Replaces 'aria-expanded'",
1261
1261
  "type": "'true' | 'false'"
1262
1262
  },
1263
+ {
1264
+ "name": "isButtonMixin",
1265
+ "type": "boolean"
1266
+ },
1263
1267
  {
1264
1268
  "name": "disabledTooltip",
1265
1269
  "attribute": "disabled-tooltip",
1266
1270
  "description": "Tooltip text when disabled",
1267
1271
  "type": "string"
1268
1272
  },
1269
- {
1270
- "name": "isButtonMixin",
1271
- "type": "boolean"
1272
- },
1273
1273
  {
1274
1274
  "name": "disabled",
1275
1275
  "attribute": "disabled",
1276
- "description": "Disables the button",
1276
+ "description": "Disables the control",
1277
1277
  "type": "boolean",
1278
1278
  "default": "false"
1279
1279
  }
@@ -1353,7 +1353,7 @@
1353
1353
  },
1354
1354
  {
1355
1355
  "name": "disabled",
1356
- "description": "Disables the button",
1356
+ "description": "Disables the control",
1357
1357
  "type": "boolean",
1358
1358
  "default": "false"
1359
1359
  }
@@ -1383,20 +1383,20 @@
1383
1383
  "description": "Wether the controlled element is expanded. Replaces 'aria-expanded'",
1384
1384
  "type": "'true' | 'false'"
1385
1385
  },
1386
+ {
1387
+ "name": "isButtonMixin",
1388
+ "type": "boolean"
1389
+ },
1386
1390
  {
1387
1391
  "name": "disabledTooltip",
1388
1392
  "attribute": "disabled-tooltip",
1389
1393
  "description": "Tooltip text when disabled",
1390
1394
  "type": "string"
1391
1395
  },
1392
- {
1393
- "name": "isButtonMixin",
1394
- "type": "boolean"
1395
- },
1396
1396
  {
1397
1397
  "name": "disabled",
1398
1398
  "attribute": "disabled",
1399
- "description": "Disables the button",
1399
+ "description": "Disables the control",
1400
1400
  "type": "boolean",
1401
1401
  "default": "false"
1402
1402
  }
@@ -14767,7 +14767,7 @@
14767
14767
  },
14768
14768
  {
14769
14769
  "name": "disabled",
14770
- "description": "Disables the button",
14770
+ "description": "Disables the control",
14771
14771
  "type": "boolean",
14772
14772
  "default": "false"
14773
14773
  }
@@ -14823,20 +14823,20 @@
14823
14823
  "description": "Wether the controlled element is expanded. Replaces 'aria-expanded'",
14824
14824
  "type": "'true' | 'false'"
14825
14825
  },
14826
+ {
14827
+ "name": "isButtonMixin",
14828
+ "type": "boolean"
14829
+ },
14826
14830
  {
14827
14831
  "name": "disabledTooltip",
14828
14832
  "attribute": "disabled-tooltip",
14829
14833
  "description": "Tooltip text when disabled",
14830
14834
  "type": "string"
14831
14835
  },
14832
- {
14833
- "name": "isButtonMixin",
14834
- "type": "boolean"
14835
- },
14836
14836
  {
14837
14837
  "name": "disabled",
14838
14838
  "attribute": "disabled",
14839
- "description": "Disables the button",
14839
+ "description": "Disables the control",
14840
14840
  "type": "boolean",
14841
14841
  "default": "false"
14842
14842
  }
@@ -18371,6 +18371,38 @@
18371
18371
  }
18372
18372
  ]
18373
18373
  },
18374
+ {
18375
+ "name": "disabled-tooltip-test",
18376
+ "path": "./mixins/disabled-tooltip/test/disabled-tooltip-mixin-test.js",
18377
+ "attributes": [
18378
+ {
18379
+ "name": "disabled-tooltip",
18380
+ "description": "Tooltip text when disabled",
18381
+ "type": "string"
18382
+ },
18383
+ {
18384
+ "name": "disabled",
18385
+ "description": "Disables the control",
18386
+ "type": "boolean",
18387
+ "default": "false"
18388
+ }
18389
+ ],
18390
+ "properties": [
18391
+ {
18392
+ "name": "disabledTooltip",
18393
+ "attribute": "disabled-tooltip",
18394
+ "description": "Tooltip text when disabled",
18395
+ "type": "string"
18396
+ },
18397
+ {
18398
+ "name": "disabled",
18399
+ "attribute": "disabled",
18400
+ "description": "Disables the control",
18401
+ "type": "boolean",
18402
+ "default": "false"
18403
+ }
18404
+ ]
18405
+ },
18374
18406
  {
18375
18407
  "name": "d2l-greeting",
18376
18408
  "path": "./mixins/localize/demo/localize-mixin-greeting.js",
package/lang/ga.js CHANGED
@@ -1,258 +1,290 @@
1
1
  export default {
2
- "components.alert.close": "Close Alert",
3
- "components.backdrop-loading.loadingAnnouncement": "Loading.",
4
- "components.backdrop-loading.loadingCompleteAnnouncement": "Loading Complete.",
5
- "components.backdrop-stale-overlay.message": "This data is out of date.",
6
- "components.breadcrumbs.breadcrumb": "Breadcrumb",
7
- "components.button-add.addItem": "Add Item",
8
- "components.button-copy.copied": "Copied!",
9
- "components.button-copy.error": "Copy failed. Try again, or try copying manually.",
10
- "components.button-split.otherOptions": "Other Options",
11
- "components.calendar.hasEvents": "Has Events.",
12
- "components.calendar.notSelected": "Not Selected.",
13
- "components.calendar.selected": "Selected.",
14
- "components.calendar.show": "Show {month}",
2
+ "components.alert.close": "Dún an foláireamh",
3
+ "components.backdrop-loading.loadingAnnouncement": "Ag luchtú.",
4
+ "components.backdrop-loading.loadingCompleteAnnouncement": "Luchtú Críochnaithe.",
5
+ "components.backdrop-stale-overlay.message": "Tá an t-eolas seo as dáta.",
6
+ "components.breadcrumbs.breadcrumb": "Rian Loirg",
7
+ "components.button-add.addItem": "Cuir mír leis",
8
+ "components.button-copy.copied": "Cóipeáilte!",
9
+ "components.button-copy.error": "Theip ar an gcóipeáil. Bain triail eile as, nó bain triail as cóipeáil de láimh.",
10
+ "components.button-split.otherOptions": "Roghanna Eile",
11
+ "components.calendar.hasEvents": "Tá Imeachtaí Ann",
12
+ "components.calendar.notSelected": "Gan roghnú.",
13
+ "components.calendar.selected": "Roghnaithe.",
14
+ "components.calendar.show": "Taispeáin {month}",
15
15
  "components.count-badge.plus": "{number}+",
16
- "components.dialog.close": "Close this dialog",
17
- "components.dialog.critical": "Critical!",
18
- "components.dropdown.close": "Close",
19
- "components.filter.activeFilters": "Active Filters:",
20
- "components.filter.additionalContentTooltip": "Use <b>left/right arrow keys</b> to move focus inside this list item",
21
- "components.filter.clear": "Clear",
22
- "components.filter.clearAll": "Clear All",
23
- "components.filter.clearAllAnnounce": "Clearing all filters",
24
- "components.filter.clearAllAnnounceOverride": "Clearing all filters for: {filterText}",
25
- "components.filter.clearAllDescription": "Clear all filters",
26
- "components.filter.clearAllDescriptionOverride": "Clear all filters for: {filterText}",
27
- "components.filter.clearAnnounce": "Clearing filters for: {filterName}",
28
- "components.filter.clearDescription": "Clear filters for: {filterName}",
16
+ "components.dialog.close": "Dún an dialóg seo",
17
+ "components.dialog.critical": "Criticiúil!",
18
+ "components.dropdown.close": "Dún",
19
+ "components.filter.activeFilters": "Scagairí Gníomhacha:",
20
+ "components.filter.additionalContentTooltip": "Úsáid na heochracha saigheada <b>chlé/dheis</b> chun fócas a bhogadh taobh istigh den mhír liosta seo",
21
+ "components.filter.clear": "Glan",
22
+ "components.filter.clearAll": "Glan gach rud",
23
+ "components.filter.clearAllAnnounce": "Gach scagaire á ghlanadh",
24
+ "components.filter.clearAllAnnounceOverride": "Gach scagaire á ghlanadh le haghaidh: {filterText}",
25
+ "components.filter.clearAllDescription": "Glan na scagairí go léir",
26
+ "components.filter.clearAllDescriptionOverride": "Glan na scagairí go léir le haghaidh: {filterText}",
27
+ "components.filter.clearAnnounce": "Scagairí a ghlanadh le haghaidh: {filterName}",
28
+ "components.filter.clearDescription": "Glan scagairí le haghaidh: {filterName}",
29
29
  "components.filter.filterCountDescription":
30
30
  `{number, plural,
31
- =0 {No filters applied.}
32
- one {{number} filter applied.}
33
- other {{number} filters applied.}
31
+ =0 {Níor cuireadh aon scagaire i bhfeidhm.}
32
+ one {{number} scagaire curtha i bhfeidhm.}
33
+ two {{number} scagaire curtha i bhfeidhm.}
34
+ few {{number} scagaire curtha i bhfeidhm.}
35
+ many {{number} scagaire curtha i bhfeidhm.}
36
+ other {{number} scagairí curtha i bhfeidhm.}
34
37
  }`,
35
- "components.filter.filters": "Filters",
36
- "components.filter.loading": "Loading filters",
37
- "components.filter.noFilters": "No available filters",
38
+ "components.filter.filters": "Scagairí",
39
+ "components.filter.loading": "Scagairí á luchtú",
40
+ "components.filter.noFilters": "Gan scagairí ar fáil",
38
41
  "components.filter.searchResults":
39
42
  `{number, plural,
40
- =0 {No search results}
41
- one {{number} search result}
42
- other {{number} search results}
43
+ =0 {Gan torthaí cuardaigh}
44
+ one {{number} toradh cuardaigh}
45
+ two {{number} thoradh cuardaigh}
46
+ few {{number} thoradh cuardaigh}
47
+ many {{number} dtoradh cuardaigh}
48
+ other {{number} torthaí cuardaigh}
43
49
  }`,
44
- "components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
45
- "components.filter.singleDimensionDescription": "Filter by: {filterName}",
50
+ "components.filter.selectedFirstListLabel": "{headerText}. Taispeántar na scagairí roghnaithe ar dtús.",
51
+ "components.filter.singleDimensionDescription": "Scag de réir: {filterName}",
46
52
  "components.filter-dimension-set-date-text-value.textDays":
47
53
  `{num, plural,
48
- =0 {Today}
49
- one {Last {num} day}
50
- other {Last {num} days}
54
+ =0 {Inniu}
55
+ =2 {Na {num} lá dheireanacha}
56
+ one {An lá {num} dheireanach}
57
+ few {Na {num} lá dheireanacha}
58
+ many {Na {num} lá dheireanacha}
59
+ other {Na {num} lá dheireanacha}
51
60
  }`,
52
61
  "components.filter-dimension-set-date-text-value.textHours":
53
62
  `{num, plural,
54
- =1 {Last hour}
55
- other {Last {num} hours}
63
+ =1 {An uair dheireanach}
64
+ =2 {Na {num} uair an chloig dheireanacha}
65
+ few {Na {num} uair an chloig dheireanacha}
66
+ many {Na {num} uair an chloig dheireanacha}
67
+ other {Na {num} uair an chloig dheireanacha}
56
68
  }`,
57
- "components.filter-dimension-set-date-text-value.textMonths": "Last {num} months",
58
- "components.filter-dimension-set-date-time-range-value.label": "{text}, expand to choose dates",
59
- "components.filter-dimension-set-date-time-range-value.text": "Custom date range",
60
- "components.filter-dimension-set-date-time-range-value.valueTextRange": "{startValue} to {endValue}",
61
- "components.filter-dimension-set-date-time-range-value.valueTextRangeEndOnly": "Before {endValue}",
62
- "components.filter-dimension-set-date-time-range-value.valueTextRangeStartOnly": "After {startValue}",
63
- "components.form-element.defaultError": "{label} is invalid",
64
- "components.form-element.defaultFieldLabel": "Field",
65
- "components.form-element.input.email.typeMismatch": "Email is not valid",
69
+ "components.filter-dimension-set-date-text-value.textMonths": "{num} mhí anuas",
70
+ "components.filter-dimension-set-date-time-range-value.label": "{text}, leathnaigh chun dátaí a roghnú",
71
+ "components.filter-dimension-set-date-time-range-value.text": "Raon dáta saincheaptha",
72
+ "components.filter-dimension-set-date-time-range-value.valueTextRange": "{startValue} go {endValue}",
73
+ "components.filter-dimension-set-date-time-range-value.valueTextRangeEndOnly": "Roimh {endValue}",
74
+ "components.filter-dimension-set-date-time-range-value.valueTextRangeStartOnly": "Tar éis {startValue}",
75
+ "components.form-element.defaultError": "Tá {label} neamhbhailí",
76
+ "components.form-element.defaultFieldLabel": "Réimse",
77
+ "components.form-element.input.email.typeMismatch": "Níl an ríomhphost bailí",
66
78
  "components.form-element.input.number.rangeError":
67
79
  `{minExclusive, select,
68
80
  true {{maxExclusive, select,
69
- true {Number must be greater than {min} and less than {max}.}
70
- other {Number must be greater than {min} and less than or equal to {max}.}
81
+ true {Caithfidh an uimhir a bheith níos mó ná {min} agus níos lú ná {max}.}
82
+ other {Caithfidh an uimhir a bheith níos mó ná {min} agus níos lú ná nó cothrom le {max}.}
71
83
  }}
72
84
  other {{maxExclusive, select,
73
- true {Number must be greater than or equal to {min} and less than {max}.}
74
- other {Number must be greater than or equal to {min} and less than or equal to {max}.}
85
+ true {Caithfidh an uimhir a bheith níos mó ná nó cothrom le {min} agus níos lú ná {max}.}
86
+ other {Caithfidh an uimhir a bheith níos mó ná nó cothrom le {min} agus níos lú ná nó cothrom le {max}.}
75
87
  }}
76
88
  }`,
77
89
  "components.form-element.input.number.rangeOverflow":
78
90
  `{maxExclusive, select,
79
- true {Number must be less than {max}.}
80
- other {Number must be less than or equal to {max}.}
91
+ true {Caithfidh an uimhir a bheith níos lú ná {max}.}
92
+ other {Caithfidh an uimhir a bheith níos lú ná nó cothrom le {max}.}
81
93
  }`,
82
94
  "components.form-element.input.number.rangeUnderflow":
83
95
  `{minExclusive, select,
84
- true {Number must be greater than {min}.}
85
- other {Number must be greater than or equal to {min}.}
96
+ true {Caithfidh an uimhir a bheith níos mó ná {min}.}
97
+ other {Caithfidh an uimhir a bheith níos mó ná nó cothrom le {min}.}
86
98
  }`,
87
- "components.form-element.input.text.tooShort": "{label} must be at least {minlength} characters",
88
- "components.form-element.input.url.typeMismatch": "URL is not valid",
89
- "components.form-element.valueMissing": "{label} is required",
99
+ "components.form-element.input.text.tooShort": "Ní mór {label} a bheith ar a laghad {minlength} carachtair",
100
+ "components.form-element.input.url.typeMismatch": "Níl an URL bailí",
101
+ "components.form-element.valueMissing": "Tá {label} riachtanach",
90
102
  "components.form-error-summary.errorSummary":
91
103
  `{count, plural,
92
- one {There was {count} error found in the information you submitted}
93
- other {There were {count} errors found in the information you submitted}
104
+ =2 {Fuarthas {count} earráidí san fhaisnéis a chuir tú isteach}
105
+ one {Fuarthas {count} earráid san fhaisnéis a chuir tú isteach}
106
+ few {Fuarthas {count} earráidí san fhaisnéis a chuir tú isteach}
107
+ many {Fuarthas {count} earráidí san fhaisnéis a chuir tú isteach}
108
+ other {Fuarthas {count} earráidí san fhaisnéis a chuir tú isteach}
94
109
  }`,
95
- "components.form-error-summary.text": "Toggle error details",
96
- "components.input-color.backgroundColor": "Background Color",
97
- "components.input-color.foregroundColor": "Foreground Color",
98
- "components.input-color.none": "None",
99
- "components.input-date.clear": "Clear",
100
- "components.input-date.errorMaxDateOnly": "Date must be before or on {maxDate}",
101
- "components.input-date.errorMinDateOnly": "Date must be on or after {minDate}",
102
- "components.input-date.errorOutsideRange": "Date must be between {minDate} and {maxDate}",
103
- "components.input-date.now": "Now",
104
- "components.input-date.openInstructions": "Use date format {format}. Arrow down or press enter to access mini-calendar.",
105
- "components.input-date.revert": "{label} reverted to previous value.",
106
- "components.input-date.today": "Today",
107
- "components.input-date.useDateFormat": "Use date format {format}.",
108
- "components.input-date-range.endDate": "End Date",
109
- "components.input-date-range.errorBadInput": "{startLabel} must be before {endLabel}",
110
- "components.input-date-range.interactive-label": "Date range input",
111
- "components.input-date-range.startDate": "Start Date",
112
- "components.input-date-time.date": "Date",
113
- "components.input-date-time.errorMaxDateOnly": "Date must be before or on {maxDate}",
114
- "components.input-date-time.errorMinDateOnly": "Date must be on or after {minDate}",
115
- "components.input-date-time.errorOutsideRange": "Date must be between {minDate} and {maxDate}",
116
- "components.input-date-time.time": "Time",
117
- "components.input-date-time-range.endDate": "End Date",
118
- "components.input-date-time-range.errorBadInput": "{startLabel} must be before {endLabel}",
119
- "components.input-date-time-range.interactive-label": "Date and time range input",
120
- "components.input-date-time-range.startDate": "Start Date",
121
- "components.input-date-time-range-to.to": "to",
122
- "components.input-number.hintDecimalDuplicate": "There’s already a decimal in this number",
123
- "components.input-number.hintDecimalIncorrectComma": "To add a decimal use the comma “,” character",
124
- "components.input-number.hintDecimalIncorrectPeriod": "To add a decimal use the period “.” character",
125
- "components.input-number.hintInteger": "This field only accepts integer values (no decimals)",
126
- "components.input-search.clear": "Clear Search",
127
- "components.input-search.defaultPlaceholder": "Search...",
128
- "components.input-search.search": "Search",
129
- "components.input-time-range.endTime": "End Time",
130
- "components.input-time-range.errorBadInput": "{startLabel} must be before {endLabel}",
131
- "components.input-time-range.startTime": "Start Time",
132
- "components.interactive.instructions": "Press Enter to interact, Escape to exit",
133
- "components.link.open-in-new-window": "Opens in a new window.",
134
- "components.list.keyboard": "Use <b>arrow keys</b> to move focus inside this list, or <b>page up/down</b> to move up or down by 5",
135
- "components.list-controls.label": "Actions for list",
136
- "components.list-item.addItem": "Add Item",
137
- "components.list-item-drag-handle.default": "Reorder item action for {name}",
138
- "components.list-item-drag-handle.keyboard": "Reorder item, current position {currentPosition} out of {size}. To move this item, press up or down arrows.",
139
- "components.list-item-drag-handle.side-to-side.keyboard": "Reorder item, current position {currentPosition} out of {size}. To move this item, press left or right arrows.",
140
- "components.list-item-drag-handle-tooltip.enter-desc": "Toggle keyboard reorder mode.",
141
- "components.list-item-drag-handle-tooltip.enter-key": "Enter",
142
- "components.list-item-drag-handle-tooltip.left-right-desc": "Change the nesting level.",
143
- "components.list-item-drag-handle-tooltip.left-right-key": "Left/Right",
144
- "components.list-item-drag-handle-tooltip.side-to-side.left-right-desc": "Move item left or right in the list.",
145
- "components.list-item-drag-handle-tooltip.side-to-side.up-down-desc": "Move item left or right in the list.",
146
- "components.list-item-drag-handle-tooltip.title": "Keyboard Controls for Reordering:",
147
- "components.list-item-drag-handle-tooltip.up-down-desc": "Move item up or down in the list.",
148
- "components.list-item-drag-handle-tooltip.up-down-key": "Up/Down",
149
- "components.menu-item-return.return": "Return to previous menu.",
150
- "components.menu-item-return.returnCurrentlyShowing": "Return to previous menu. You are viewing {menuTitle}.",
110
+ "components.form-error-summary.text": "Scoránaigh mionsonraí earráide",
111
+ "components.input-color.backgroundColor": "Dath Cúlra",
112
+ "components.input-color.foregroundColor": "Dath Réamhra",
113
+ "components.input-color.none": "Ceann ar bith",
114
+ "components.input-date.clear": "Glan",
115
+ "components.input-date.errorMaxDateOnly": "Ní mór an dáta a bheith roimh nó ar {maxDate}",
116
+ "components.input-date.errorMinDateOnly": "Ní mór an dáta a bheith ar {minDate} nó ina dhiaidh",
117
+ "components.input-date.errorOutsideRange": "Ní mór go mbeadh an dáta idir {minDate} agus {maxDate}",
118
+ "components.input-date.now": "Anois",
119
+ "components.input-date.openInstructions": "Úsáid formáid dháta {format}. Brúigh an saighead síos nó brúigh isteach chun rochtain a fháil ar an bhféilire beag.",
120
+ "components.input-date.revert": "{label} curtha ar ais go dtí an luach roimhe seo.",
121
+ "components.input-date.today": "Inniu",
122
+ "components.input-date.useDateFormat": "Úsáid formáid dháta {format}.",
123
+ "components.input-date-range.endDate": "Dáta Deiridh",
124
+ "components.input-date-range.errorBadInput": "Ní mór {startLabel} a bheith roimh {endLabel}",
125
+ "components.input-date-range.interactive-label": "Ionchur raon dáta",
126
+ "components.input-date-range.startDate": "Dáta Tosaigh",
127
+ "components.input-date-time.date": "Dáta",
128
+ "components.input-date-time.errorMaxDateOnly": "Ní mór an dáta a bheith roimh nó ar {maxDate}",
129
+ "components.input-date-time.errorMinDateOnly": "Ní mór an dáta a bheith ar {minDate} nó ina dhiaidh",
130
+ "components.input-date-time.errorOutsideRange": "Ní mór go mbeadh an dáta idir {minDate} agus {maxDate}",
131
+ "components.input-date-time.time": "Am",
132
+ "components.input-date-time-range.endDate": "Dáta Deiridh",
133
+ "components.input-date-time-range.errorBadInput": "Ní mór {startLabel} a bheith roimh {endLabel}",
134
+ "components.input-date-time-range.interactive-label": "Ionchur dáta agus ama",
135
+ "components.input-date-time-range.startDate": "Dáta Tosaigh",
136
+ "components.input-date-time-range-to.to": "go",
137
+ "components.input-number.hintDecimalDuplicate": "Tá deachúlach san uimhir seo cheana féin",
138
+ "components.input-number.hintDecimalIncorrectComma": "Chun deachúlach a chur leis, bain úsáid as an gcarachtar camóg “,”",
139
+ "components.input-number.hintDecimalIncorrectPeriod": "Chun deachúlach a chur leis, bain úsáid as an gcarachtar ponc “.”.",
140
+ "components.input-number.hintInteger": "Ní ghlacann an réimse seo ach luachanna slánuimhreacha (gan deachúlacha)",
141
+ "components.input-search.clear": "Glan an cuardach",
142
+ "components.input-search.defaultPlaceholder": "Cuardaigh...",
143
+ "components.input-search.search": "Cuardaigh",
144
+ "components.input-time-range.endTime": "Am Deiridh",
145
+ "components.input-time-range.errorBadInput": "Ní mór {startLabel} a bheith roimh {endLabel}",
146
+ "components.input-time-range.startTime": "Am Tosaigh",
147
+ "components.interactive.instructions": "Brúigh Iontráil chun idirghníomhú, Éalú chun imeacht",
148
+ "components.link.open-in-new-window": "Osclaíonn sé i bhfuinneog nua.",
149
+ "components.list.keyboard": "Úsáid <b>na heochracha saigheada</b> chun fócas a bhogadh taobh istigh den liosta seo, nó <b>leathanach suas/síos</b> chun bogadh suas nó síos 5",
150
+ "components.list-controls.label": "Gníomhartha don liosta",
151
+ "components.list-item.addItem": "Cuir mír leis",
152
+ "components.list-item-drag-handle.default": "Gníomh athordaithe míre le haghaidh {name}",
153
+ "components.list-item-drag-handle.keyboard": "Athordaigh mír, suíomh reatha {currentPosition} as {size}. Chun an mhír seo a bhogadh, brúigh na saigheada suas nó anuas.",
154
+ "components.list-item-drag-handle.side-to-side.keyboard": "Athordaigh mír, suíomh reatha {currentPosition} as {size}. Chun an mhír seo a bhogadh, brúigh na saigheada ar chlé nó ar dheis.",
155
+ "components.list-item-drag-handle-tooltip.enter-desc": "Scoránaigh mód athordaithe an mhéarchláir.",
156
+ "components.list-item-drag-handle-tooltip.enter-key": "Iontráil",
157
+ "components.list-item-drag-handle-tooltip.left-right-desc": "Athraigh an leibhéal neadaithe.",
158
+ "components.list-item-drag-handle-tooltip.left-right-key": "Clé/Deas",
159
+ "components.list-item-drag-handle-tooltip.side-to-side.left-right-desc": "Bog an mhír ar chlé nó ar dheis sa liosta.",
160
+ "components.list-item-drag-handle-tooltip.side-to-side.up-down-desc": "Bog an mhír ar chlé nó ar dheis sa liosta.",
161
+ "components.list-item-drag-handle-tooltip.title": "Rialuithe Méarchláir le haghaidh Athordú:",
162
+ "components.list-item-drag-handle-tooltip.up-down-desc": "Bog an mhír suas nó síos sa liosta.",
163
+ "components.list-item-drag-handle-tooltip.up-down-key": "Suas/Síos",
164
+ "components.menu-item-return.return": "Fill ar an roghchlár roimhe seo.",
165
+ "components.menu-item-return.returnCurrentlyShowing": "Fill ar an roghchlár roimhe seo. Tá tú ag féachaint ar {menuTitle}.",
151
166
  "components.meter-mixin.commaSeperatedAria": "{term1}, {term2}",
152
167
  "components.meter-mixin.fraction": "{x}∕{y}",
153
- "components.meter-mixin.fractionAria": "{x} out of {y}",
154
- "components.meter-mixin.progressIndicator": "Progress Indicator",
155
- "components.more-less.less": "less",
156
- "components.more-less.more": "more",
157
- "components.object-property-list.item-placeholder-text": "Placeholder Item",
158
- "components.overflow-group.moreActions": "More Actions",
159
- "components.page.footer-region-label": "Footer",
160
- "components.page.header-nav-label": "Main",
161
- "components.page.side-nav-divider-label": "Side Navigation Divider",
162
- "components.page.side-nav-label": "Side",
163
- "components.page.side-nav-scrim": "Main content is currently hidden by the Side Navigation Panel. Close the panel to access.",
164
- "components.page.supporting-divider-label": "Supporting Panel Divider",
165
- "components.page.supporting-label": "Supporting",
166
- "components.page.supporting-scrim": "Main content is currently hidden by the Supporting Panel. Close the panel to access.",
168
+ "components.meter-mixin.fractionAria": "{x} de {y}",
169
+ "components.meter-mixin.progressIndicator": "Táscaire Dul Chun Cinn",
170
+ "components.more-less.less": "níos lú",
171
+ "components.more-less.more": "níos mó",
172
+ "components.object-property-list.item-placeholder-text": "Mír ionaid",
173
+ "components.overflow-group.moreActions": "Tuilleadh Gníomhartha",
174
+ "components.page.footer-region-label": "Bunlíne",
175
+ "components.page.header-nav-label": "Príomh",
176
+ "components.page.side-nav-divider-label": "Deighilteoir Nascleanúna Taobh",
177
+ "components.page.side-nav-label": "Taobh",
178
+ "components.page.side-nav-scrim": "Tá an príomhábhar faoi cheilt faoi láthair ag an bPainéal Nascleanúna Taobh. Dún an painéal chun rochtain a fháil.",
179
+ "components.page.supporting-divider-label": "Deighilteoir an Phainéil Tacaíochta",
180
+ "components.page.supporting-label": "Tacaíocht",
181
+ "components.page.supporting-scrim": "Tá an príomhábhar faoi cheilt ag an bPainéal Tacaíochta faoi láthair. Dún an painéal chun rochtain a fháil.",
167
182
  "components.pageable.info":
168
183
  `{count, plural,
169
- one {{countFormatted} item}
170
- other {{countFormatted} items}
184
+ =2 {{countFormatted} míreanna}
185
+ one {{countFormatted} mír}
186
+ few {{countFormatted} míreanna}
187
+ many {{countFormatted} míreanna}
188
+ other {{countFormatted} míreanna}
171
189
  }`,
172
190
  "components.pageable.info-with-total":
173
191
  `{totalCount, plural,
174
- one {{countFormatted} of {totalCountFormatted} item}
175
- other {{countFormatted} of {totalCountFormatted} items}
192
+ =2 {{countFormatted} as{totalCountFormatted} míreanna}
193
+ one {{countFormatted} as {totalCountFormatted} mhír}
194
+ few {{countFormatted} as {totalCountFormatted} míreanna}
195
+ many {{countFormatted} as{totalCountFormatted} míreanna}
196
+ other {{countFormatted} as{totalCountFormatted} míreanna}
176
197
  }`,
177
- "components.pager-load-more.action": "Load More",
178
- "components.pager-load-more.action-with-page-size": "Load {count} More",
179
- "components.pager-load-more.status-loading": "Loading more items",
180
- "components.scroll-wrapper.scroll-left": "Scroll left",
181
- "components.scroll-wrapper.scroll-right": "Scroll right",
198
+ "components.pager-load-more.action": "Luchtaigh Tuilleadh",
199
+ "components.pager-load-more.action-with-page-size": "Luchtaigh {count} níos mó",
200
+ "components.pager-load-more.status-loading": "Tuilleadh earraí á luchtú",
201
+ "components.scroll-wrapper.scroll-left": "Scrollaigh ar chlé",
202
+ "components.scroll-wrapper.scroll-right": "Scrollaigh ar dheis",
182
203
  "components.selection.action-max-hint":
183
204
  `{count, plural,
184
- one {Disabled when more than {countFormatted} item is selected}
185
- other {Disabled when more than {countFormatted} items are selected}
205
+ =2 {Díchumasaithe nuair a roghnaítear níos mó ná {countFormatted} mhír}
206
+ one {Díchumasaithe nuair a roghnaítear níos mó ná {countFormatted} mhír}
207
+ few {Díchumasaithe nuair a roghnaítear níos mó ná {countFormatted} mhír}
208
+ many {Díchumasaithe nuair a roghnaítear níos mó ná {countFormatted} mhír}
209
+ other {Díchumasaithe nuair a roghnaítear níos mó ná {countFormatted} mhír}
186
210
  }`,
187
- "components.selection.action-required-hint": "Select an item to perform this action",
188
- "components.selection.select-all": "Select All",
211
+ "components.selection.action-required-hint": "Roghnaigh mír chun an gníomh seo a dhéanamh",
212
+ "components.selection.select-all": "Roghnaigh Uile",
189
213
  "components.selection.select-all-items":
190
214
  `{count, plural,
191
- =1 {Select Item}
192
- one {Select All {countFormatted} Item}
193
- other {Select All {countFormatted} Items}
215
+ =1 {Roghnaigh mír}
216
+ =2 {Roghnaigh na {countFormatted} mír go léir}
217
+ few {Roghnaigh na {countFormatted} mír go léir}
218
+ many {Roghnaigh na {countFormatted} mír go léir}
219
+ other {Roghnaigh na {countFormatted} mír go léir}
194
220
  }`,
195
- "components.selection.selected": "{count} selected",
196
- "components.selection.selected-plus": "{count}+ selected",
197
- "components.selection-controls.label": "Actions for selection",
198
- "components.skip-nav.skipToMainContent": "skip to main content",
199
- "components.sort.label": "Sort",
200
- "components.sort.text": "Sort: {selectedItemText}",
201
- "components.switch.conditions": "Conditions must be met",
202
- "components.switch.hidden": "Hidden",
203
- "components.switch.visible": "Visible",
204
- "components.switch.visibleWithPeriod": "Visible.",
205
- "components.table-col-sort-button.addSortOrder": "Select to add sort order",
206
- "components.table-col-sort-button.changeSortOrder": "Select to change sort order",
221
+ "components.selection.selected": "{count} roghnaithe",
222
+ "components.selection.selected-plus": "{count}+ roghnaithe",
223
+ "components.selection-controls.label": "Gníomhartha le haghaidh roghnaithe",
224
+ "components.skip-nav.skipToMainContent": "scipeáil chuig an bpríomhábhar",
225
+ "components.sort.label": "Sórtáil",
226
+ "components.sort.text": "Sórtáil: {selectedItemText}",
227
+ "components.switch.conditions": "Ní mór coinníollacha a chomhlíonadh",
228
+ "components.switch.hidden": "Folaithe",
229
+ "components.switch.visible": "Infheicthe",
230
+ "components.switch.visibleWithPeriod": "Infheicthe.",
231
+ "components.table-col-sort-button.addSortOrder": "Roghnaigh chun ordú sórtála a chur leis",
232
+ "components.table-col-sort-button.changeSortOrder": "Roghnaigh chun ordú sórtála a athrú",
207
233
  "components.table-col-sort-button.title":
208
234
  `{sourceType, select,
209
235
  dates {{direction, select,
210
- desc {Sorted new to old}
211
- other {Sorted old to new}
236
+ desc {Sórtáilte ó nua go sean}
237
+ other {Sórtáilte ó shean go nua}
212
238
  }}
213
239
  numbers {{direction, select,
214
- desc {Sorted high to low}
215
- other {Sorted low to high}
240
+ desc {Sórtáilte ó ard go híseal}
241
+ other {Sórtáilte ó íseal go hard}
216
242
  }}
217
243
  words {{direction, select,
218
- desc {Sorted Z to A}
219
- other {Sorted A to Z}
244
+ desc {Sórtáilte ó Z go A}
245
+ other {Sórtáilte ó A go Z}
220
246
  }}
221
- value {Sorted {selectedMenuItemText}}
247
+ value {Sórtáilte: {selectedMenuItemText}}
222
248
  other {{direction, select,
223
- desc {Sorted descending}
224
- other {Sorted ascending}
249
+ desc {Sórtáilte in ord íslitheach}
250
+ other {Sórtáilte in ord ardaitheach}
225
251
  }}
226
252
  }`,
227
- "components.table-controls.label": "Actions for table",
228
- "components.tabs.next": "Scroll Forward",
229
- "components.tabs.previous": "Scroll Backward",
230
- "components.tag-list.clear": "Click, press backspace, or press delete key to remove item {value}",
231
- "components.tag-list.clear-all": "Clear All",
232
- "components.tag-list.cleared-all": "Removed all tag list items",
233
- "components.tag-list.cleared-item": "Removed tag list item {value}",
234
- "components.tag-list.interactive-label": "Tag List, {count} items",
235
- "components.tag-list.num-hidden": "+ {count} more",
253
+ "components.table-controls.label": "Gníomhartha don tábla",
254
+ "components.tabs.next": "Scrolláil ar Aghaidh",
255
+ "components.tabs.previous": "Scrollaigh Siar",
256
+ "components.tag-list.clear": "Cliceáil, brúigh backspace, nó brúigh an eochair “Scrios” chun mír {value} a bhaint",
257
+ "components.tag-list.clear-all": "Glan gach rud",
258
+ "components.tag-list.cleared-all": "Baineadh gach mír liosta clibeanna",
259
+ "components.tag-list.cleared-item": "Baineadh mír liosta clibeanna {value}",
260
+ "components.tag-list.interactive-label": "Liosta Clibeanna, {count} míreanna",
261
+ "components.tag-list.num-hidden": "+ {count} eile",
236
262
  "components.tag-list.role-description":
237
263
  `{count, plural,
238
- =0 {Tag List with 0 items}
239
- one {Tag List with {count} item}
240
- other {Tag List with {count} items}
264
+ =0 {Liosta Clibeanna ina bhfuil 0 mír}
265
+ =2 {Liosta Clibeanna ina bhfuil {count} míreanna}
266
+ one {Liosta Clibeanna ina bhfuil {count} mhír}
267
+ few {Liosta Clibeanna ina bhfuil {count} míreanna}
268
+ many {Liosta Clibeanna ina bhfuil {count} míreanna}
269
+ other {Liosta Clibeanna ina bhfuil {count} míreanna}
241
270
  }`,
242
- "components.tag-list.show-less": "Show Less",
243
- "components.tag-list.show-more-description": "Select to show hidden tag list items",
244
- "components.tag-list-item.role-description": "Tag",
245
- "components.tag-list-item.tooltip-arrow-keys": "Arrow Keys",
246
- "components.tag-list-item.tooltip-arrow-keys-desc": "Move between tags",
247
- "components.tag-list-item.tooltip-delete-key": "Backspace/Delete",
248
- "components.tag-list-item.tooltip-delete-key-desc": "Delete the focused tag",
249
- "components.tag-list-item.tooltip-title": "Keyboard Controls",
271
+ "components.tag-list.show-less": "Taispeáin níos lú",
272
+ "components.tag-list.show-more-description": "Roghnaigh chun míreanna liosta clibeanna i bhfolach a thaispeáint",
273
+ "components.tag-list-item.role-description": "Clib",
274
+ "components.tag-list-item.tooltip-arrow-keys": "Eochracha Saigheada",
275
+ "components.tag-list-item.tooltip-arrow-keys-desc": "Bog idir clibeanna",
276
+ "components.tag-list-item.tooltip-delete-key": "Cúlspas/Scrios",
277
+ "components.tag-list-item.tooltip-delete-key-desc": "Scrios an clib fócais",
278
+ "components.tag-list-item.tooltip-title": "Rialuithe Méarchláir",
250
279
  "components.view-switcher.role-description":
251
280
  `{count, plural,
252
- =0 {View Switcher with 0 items}
253
- one {View Switcher with {count} item}
254
- other {View Switcher with {count} items}
281
+ =0 {Malartóir Amhairc ina bhfuil 0 mír}
282
+ =2 {Malartóir Amhairc ina bhfuil {count} míreanna}
283
+ one {Malartóir Amhairc ina bhfuil {count} mhír}
284
+ few {Malartóir Amhairc ina bhfuil {count} míreanna}
285
+ many {Malartóir Amhairc ina bhfuil {count} míreanna}
286
+ other {Malartóir Amhairc ina bhfuil {count} míreanna}
255
287
  }`,
256
- "templates.primary-secondary.divider": "Secondary panel divider",
257
- "templates.primary-secondary.secondary-panel": "Secondary panel"
288
+ "templates.primary-secondary.divider": "Deighilteoir an Phainéil Thánaistigh",
289
+ "templates.primary-secondary.secondary-panel": "Painéal tánaisteach"
258
290
  };
@@ -0,0 +1,42 @@
1
+ import { html, nothing } from 'lit';
2
+ import { ifDefined } from 'lit/directives/if-defined.js';
3
+
4
+ export const DisabledTooltipMixin = superclass => class extends superclass {
5
+ static properties = {
6
+ /**
7
+ * Disables the control
8
+ * @type {boolean}
9
+ */
10
+ disabled: { type: Boolean, reflect: true },
11
+ /**
12
+ * Tooltip text when disabled
13
+ * @type {string}
14
+ */
15
+ disabledTooltip: { type: String, attribute: 'disabled-tooltip' }
16
+ };
17
+
18
+ constructor() {
19
+ super();
20
+ this.disabled = false;
21
+ }
22
+
23
+ get _ariaDisabled() {
24
+ return ifDefined(this.disabled && this.disabledTooltip ? 'true' : undefined);
25
+ }
26
+
27
+ get _disabled() {
28
+ return this.disabled && !this.disabledTooltip;
29
+ }
30
+
31
+ _renderDisabledTooltip(controlId, { align = undefined, forceShow = false, position = undefined } = {}) {
32
+ if (!this.disabled || !this.disabledTooltip) return nothing;
33
+ return html`<d2l-tooltip
34
+ align=${ifDefined(align)}
35
+ class="vdiff-target"
36
+ for="${controlId}"
37
+ ?force-show=${forceShow}
38
+ position=${ifDefined(position)}>
39
+ ${this.disabledTooltip}
40
+ </d2l-tooltip>`;
41
+ }
42
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.344.12",
3
+ "version": "3.345.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",
@@ -55,7 +55,7 @@
55
55
  "@rollup/plugin-dynamic-import-vars": "^2",
56
56
  "@rollup/plugin-node-resolve": "^16",
57
57
  "@rollup/plugin-replace": "^6",
58
- "@stylistic/eslint-plugin": "^5",
58
+ "@stylistic/eslint-plugin": "^6",
59
59
  "@web/dev-server": "^1.0",
60
60
  "chalk": "^6",
61
61
  "eslint": "^9",