@brightspace-ui/core 2.146.0 → 2.146.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.
|
@@ -164,7 +164,7 @@ export const ListItemMixin = superclass => class extends composeMixins(
|
|
|
164
164
|
border-top: 0;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
.d2l-list-item-content-extend-separators > [slot="control"] {
|
|
167
|
+
:host(:not([_render-expand-collapse-slot])) .d2l-list-item-content-extend-separators > [slot="control"] {
|
|
168
168
|
width: 3rem;
|
|
169
169
|
}
|
|
170
170
|
:host(:not([_has-color-slot])) .d2l-list-item-content-extend-separators > [slot="content"],
|
|
@@ -290,8 +290,8 @@ export const ListItemMixin = superclass => class extends composeMixins(
|
|
|
290
290
|
d2l-selection-input {
|
|
291
291
|
margin: 0.55rem 0.55rem 0.55rem 0;
|
|
292
292
|
}
|
|
293
|
-
.d2l-list-item-content-extend-separators d2l-selection-input {
|
|
294
|
-
margin-
|
|
293
|
+
:host(:not([_render-expand-collapse-slot])) .d2l-list-item-content-extend-separators d2l-selection-input {
|
|
294
|
+
margin-inline-start: 0.9rem;
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
d2l-list-item-drag-handle {
|
|
@@ -301,9 +301,6 @@ export const ListItemMixin = superclass => class extends composeMixins(
|
|
|
301
301
|
margin-left: 0.9rem;
|
|
302
302
|
margin-right: 0;
|
|
303
303
|
}
|
|
304
|
-
:host([dir="rtl"]) .d2l-list-item-content-extend-separators d2l-selection-input {
|
|
305
|
-
margin-right: 0.9rem;
|
|
306
|
-
}
|
|
307
304
|
|
|
308
305
|
[slot="outside-control-container"] {
|
|
309
306
|
border: 1px solid transparent;
|
|
@@ -678,11 +675,12 @@ export const ListItemMixin = superclass => class extends composeMixins(
|
|
|
678
675
|
backgroundColor: this._hasColorSlot ? this.color : undefined
|
|
679
676
|
};
|
|
680
677
|
|
|
678
|
+
const alignNested = ((this.draggable && this.selectable) || (this.expandable && this.selectable && this.color)) ? 'control' : undefined;
|
|
681
679
|
const primaryAction = ((!this.noPrimaryAction && this._renderPrimaryAction) ? this._renderPrimaryAction(this._contentId) : null);
|
|
682
680
|
const tooltipForId = (primaryAction ? this._primaryActionId : (this.selectable ? this._checkboxId : null));
|
|
683
681
|
const innerView = html`
|
|
684
682
|
<d2l-list-item-generic-layout
|
|
685
|
-
align-nested="${ifDefined(
|
|
683
|
+
align-nested="${ifDefined(alignNested)}"
|
|
686
684
|
@focusin="${this._onFocusIn}"
|
|
687
685
|
@focusout="${this._onFocusOut}"
|
|
688
686
|
class="${classMap(classes)}"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.146.
|
|
3
|
+
"version": "2.146.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",
|