@brightspace-ui/core 3.227.11 → 3.227.13

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.
@@ -275,6 +275,7 @@ class InputCheckbox extends FormElementMixin(InputInlineHelpMixin(FocusMixin(Ske
275
275
  'd2l-input-checkbox-text-disabled': this.disabled
276
276
  };
277
277
  const ariaChecked = this.indeterminate ? 'mixed' : undefined;
278
+ const ariaExpanded = this._hasSupporting && this.supportingHiddenWhenUnchecked ? (supportingContentVisible ? 'true' : 'false') : undefined;
278
279
  const ariaLabel = (this.label && this.labelHidden) ? this.label : undefined;
279
280
  const label = (this.label && !this.labelHidden) ? this.label : nothing;
280
281
  const disabled = this.disabled || this.skeleton;
@@ -289,6 +290,7 @@ class InputCheckbox extends FormElementMixin(InputInlineHelpMixin(FocusMixin(Ske
289
290
  aria-checked="${ifDefined(ariaChecked)}"
290
291
  aria-describedby="${ifDefined(ariaDescribedByIds.length > 0 ? ariaDescribedByIds : undefined)}"
291
292
  aria-disabled="${ifDefined(disabled && this.disabledTooltip ? 'true' : undefined)}"
293
+ aria-expanded="${ifDefined(ariaExpanded)}"
292
294
  aria-label="${ifDefined(ariaLabel)}"
293
295
  @change="${this.#handleChange}"
294
296
  class="d2l-input-checkbox"
@@ -130,7 +130,7 @@ class ListItemGenericLayout extends LitElement {
130
130
  ::slotted([slot="control"]) {
131
131
  grid-column: control-start / control-end;
132
132
  pointer-events: none;
133
- width: 2.2rem;
133
+ width: 2.1rem;
134
134
  }
135
135
 
136
136
  ::slotted([slot="content"]) {
@@ -213,10 +213,10 @@ export const ListItemMixin = superclass => class extends composeMixins(
213
213
  }
214
214
 
215
215
  :host(:not([layout="tile"]):not([_render-expand-collapse-slot])) .d2l-list-item-content-extend-separators > [slot="control"] {
216
- width: 3rem;
216
+ width: 2.9rem;
217
217
  }
218
218
  :host(:not([layout="tile"]):not([_render-expand-collapse-slot])) .d2l-list-item-content-extend-separators > [slot="control"] ~ [slot="control-action"] [slot="content"] {
219
- padding-inline-start: 3rem;
219
+ padding-inline-start: 2.9rem;
220
220
  }
221
221
  :host(:not([_has-color-slot])) .d2l-list-item-content-extend-separators [slot="content"] {
222
222
  padding-inline: 0.9rem;
@@ -282,7 +282,7 @@ export const ListItemMixin = superclass => class extends composeMixins(
282
282
  }
283
283
 
284
284
  [slot="control"] ~ [slot="control-action"] [slot="content"] {
285
- padding-inline-start: 2.2rem; /* width of "control" slot set in generic-layout */
285
+ padding-inline-start: 2.1rem; /* width of "control" slot set in generic-layout */
286
286
  }
287
287
 
288
288
  [slot="content"] ::slotted([slot="illustration"]),
@@ -134,17 +134,14 @@ class List extends PageableMixin(SelectionMixin(LitElement)) {
134
134
  margin-right: 0.9rem;
135
135
  }
136
136
  :host([_breakpoint="1"]) {
137
- --d2l-list-item-illustration-margin-inline-end: 1rem;
138
137
  --d2l-list-item-illustration-max-height: 3.55rem;
139
138
  --d2l-list-item-illustration-max-width: 6rem;
140
139
  }
141
140
  :host([_breakpoint="2"]) {
142
- --d2l-list-item-illustration-margin-inline-end: 1rem;
143
141
  --d2l-list-item-illustration-max-height: 5.1rem;
144
142
  --d2l-list-item-illustration-max-width: 9rem;
145
143
  }
146
144
  :host([_breakpoint="3"]) {
147
- --d2l-list-item-illustration-margin-inline-end: 1rem;
148
145
  --d2l-list-item-illustration-max-height: 6rem;
149
146
  --d2l-list-item-illustration-max-width: 10.8rem;
150
147
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.227.11",
3
+ "version": "3.227.13",
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",