@brightspace-ui/core
Advanced tools
Comparing version 3.64.1 to 3.64.2
@@ -88,2 +88,3 @@ import '../button/button-add.js'; | ||
_hovering: { type: Boolean, reflect: true }, | ||
_hoveringControl: { type: Boolean, attribute: '_hovering-control', reflect: true }, | ||
_hoveringPrimaryAction: { type: Boolean, attribute: '_hovering-primary-action', reflect: true }, | ||
@@ -301,2 +302,3 @@ _focusing: { type: Boolean, reflect: true }, | ||
:host([_hovering-control]) [slot="outside-control-container"], | ||
:host([_hovering-primary-action]) [slot="outside-control-container"], | ||
@@ -311,2 +313,3 @@ :host([_hovering-selection]) [slot="outside-control-container"], | ||
/* below hides the border under the d2l-button-add */ | ||
:host([_hovering-control]) [slot="outside-control-container"].hide-bottom-border, | ||
:host([_hovering-primary-action]) [slot="outside-control-container"].hide-bottom-border, | ||
@@ -327,2 +330,3 @@ :host([_hovering-selection]) [slot="outside-control-container"].hide-bottom-border, | ||
} | ||
:host([_hovering-control]) d2l-button-add, | ||
:host([_hovering-primary-action]) d2l-button-add, | ||
@@ -335,2 +339,3 @@ :host([_hovering-selection]) d2l-button-add, | ||
} | ||
:host([_hovering-control]) [slot="outside-control-container"], | ||
:host([_hovering-primary-action]) [slot="outside-control-container"], | ||
@@ -629,2 +634,7 @@ :host([_hovering-selection]) [slot="outside-control-container"] { | ||
_onMouseEnterControl() { | ||
this._hoveringControl = true; | ||
this._hovering = true; | ||
} | ||
_onMouseEnterPrimaryAction() { | ||
@@ -639,2 +649,7 @@ this._hoveringPrimaryAction = true; | ||
_onMouseLeaveControl() { | ||
this._hoveringControl = false; | ||
this._hovering = false; | ||
} | ||
_onMouseLeavePrimaryAction() { | ||
@@ -716,3 +731,7 @@ this._hoveringPrimaryAction = false; | ||
</div>` : nothing} | ||
<div slot="expand-collapse" class="d2l-list-expand-collapse" @click="${this._toggleExpandCollapse}"> | ||
<div slot="expand-collapse" | ||
class="d2l-list-expand-collapse" | ||
@click="${this._toggleExpandCollapse}" | ||
@mouseenter="${this._onMouseEnterControl}" | ||
@mouseleave="${this._onMouseLeaveControl}"> | ||
${this._renderExpandCollapse()} | ||
@@ -782,3 +801,7 @@ </div> | ||
_renderOutsideControlAction(dragTarget) { | ||
return html`<div slot="outside-control-action" @mouseenter="${this._onMouseEnter}" @mouseleave="${this._onMouseLeave}">${dragTarget}</div>`; | ||
return html`<div slot="outside-control-action" | ||
@mouseenter="${this._onMouseEnterControl}" | ||
@mouseleave="${this._onMouseLeaveControl}"> | ||
${dragTarget} | ||
</div>`; | ||
} | ||
@@ -785,0 +808,0 @@ |
{ | ||
"name": "@brightspace-ui/core", | ||
"version": "3.64.1", | ||
"version": "3.64.2", | ||
"description": "A collection of accessible, free, open-source web components for building Brightspace applications", | ||
@@ -5,0 +5,0 @@ "type": "module", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6006567
65900