@brightspace-ui/core 3.227.12 → 3.227.14
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.
|
@@ -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:
|
|
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:
|
|
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.
|
|
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"]),
|
package/components/list/list.js
CHANGED
|
@@ -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
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '../button/button-subtle.js';
|
|
2
2
|
import { css, html, LitElement } from 'lit';
|
|
3
|
+
import { isComposedAncestor, isVisible } from '../../helpers/dom.js';
|
|
3
4
|
import { classMap } from 'lit/directives/class-map.js';
|
|
4
5
|
import { getComposedActiveElement } from '../../helpers/focus.js';
|
|
5
6
|
import { getUniqueId } from '../../helpers/uniqueId.js';
|
|
6
7
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
7
|
-
import { isComposedAncestor } from '../../helpers/dom.js';
|
|
8
8
|
import { LocalizeCoreElement } from '../../helpers/localize-core-element.js';
|
|
9
9
|
import { overflowHiddenDeclarations } from '../../helpers/overflow.js';
|
|
10
10
|
import { styleMap } from 'lit/directives/style-map.js';
|
|
@@ -271,6 +271,7 @@ class MoreLess extends LocalizeCoreElement(LitElement) {
|
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
__reactToChanges() {
|
|
274
|
+
if (!isVisible(this) && this.__baseHeight > 0) return;
|
|
274
275
|
this.__transitionAdded = true;
|
|
275
276
|
this.__adjustToContent();
|
|
276
277
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.227.
|
|
3
|
+
"version": "3.227.14",
|
|
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",
|