@warp-ds/elements 2.0.2-next.1 → 2.0.2-next.3
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.
|
@@ -3345,7 +3345,7 @@ ${JSON.stringify(directions)}`
|
|
|
3345
3345
|
]);
|
|
3346
3346
|
}
|
|
3347
3347
|
get _arrowHtml() {
|
|
3348
|
-
return this.noArrow ? "" : html2`<div id="arrow"
|
|
3348
|
+
return this.noArrow ? "" : html2`<div id="arrow" class="${this._arrowClasses}"></div>`;
|
|
3349
3349
|
}
|
|
3350
3350
|
get _activeVariantClasses() {
|
|
3351
3351
|
const variantProps = {
|
|
@@ -3518,19 +3518,16 @@ ${JSON.stringify(directions)}`
|
|
|
3518
3518
|
${this.placement === "right-start" || this.placement === "right" || this.placement === "right-end" || this.placement === "bottom-start" || this.placement === "bottom" || this.placement === "bottom-end" ? html2`
|
|
3519
3519
|
<slot name="target"></slot>
|
|
3520
3520
|
|
|
3521
|
-
<div
|
|
3522
|
-
|
|
3523
|
-
role="${this.tooltip ? "tooltip" : "img"}"
|
|
3524
|
-
aria-label="${this.defaultAriaLabel()}"
|
|
3525
|
-
class="${this._wrapperClasses}">
|
|
3526
|
-
${this._arrowHtml}
|
|
3521
|
+
<div id="attention" class="${this._wrapperClasses}">
|
|
3522
|
+
<div role="${this.tooltip ? "tooltip" : "img"}" aria-label="${this.defaultAriaLabel()}">${this._arrowHtml}</div>
|
|
3527
3523
|
<slot name="message"></slot>
|
|
3528
3524
|
${this.canClose ? this._closeBtnHtml : nothing}
|
|
3529
3525
|
</div>
|
|
3530
3526
|
` : html2`
|
|
3531
3527
|
<div id="attention" class="${this._wrapperClasses}">
|
|
3532
3528
|
<slot name="message"></slot>
|
|
3533
|
-
${this.
|
|
3529
|
+
<div role="${this.tooltip ? "tooltip" : "img"}" aria-label="${this.defaultAriaLabel()}">${this._arrowHtml}</div>
|
|
3530
|
+
${this.canClose ? this._closeBtnHtml : nothing}
|
|
3534
3531
|
</div>
|
|
3535
3532
|
<slot name="target"></slot>
|
|
3536
3533
|
`}
|