@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.
package/dist/index.js
CHANGED
|
@@ -4125,7 +4125,7 @@ ${JSON.stringify(directions)}`
|
|
|
4125
4125
|
]);
|
|
4126
4126
|
}
|
|
4127
4127
|
get _arrowHtml() {
|
|
4128
|
-
return this.noArrow ? "" : html9`<div id="arrow"
|
|
4128
|
+
return this.noArrow ? "" : html9`<div id="arrow" class="${this._arrowClasses}"></div>`;
|
|
4129
4129
|
}
|
|
4130
4130
|
get _activeVariantClasses() {
|
|
4131
4131
|
const variantProps = {
|
|
@@ -4298,19 +4298,16 @@ ${JSON.stringify(directions)}`
|
|
|
4298
4298
|
${this.placement === "right-start" || this.placement === "right" || this.placement === "right-end" || this.placement === "bottom-start" || this.placement === "bottom" || this.placement === "bottom-end" ? html9`
|
|
4299
4299
|
<slot name="target"></slot>
|
|
4300
4300
|
|
|
4301
|
-
<div
|
|
4302
|
-
|
|
4303
|
-
role="${this.tooltip ? "tooltip" : "img"}"
|
|
4304
|
-
aria-label="${this.defaultAriaLabel()}"
|
|
4305
|
-
class="${this._wrapperClasses}">
|
|
4306
|
-
${this._arrowHtml}
|
|
4301
|
+
<div id="attention" class="${this._wrapperClasses}">
|
|
4302
|
+
<div role="${this.tooltip ? "tooltip" : "img"}" aria-label="${this.defaultAriaLabel()}">${this._arrowHtml}</div>
|
|
4307
4303
|
<slot name="message"></slot>
|
|
4308
4304
|
${this.canClose ? this._closeBtnHtml : nothing}
|
|
4309
4305
|
</div>
|
|
4310
4306
|
` : html9`
|
|
4311
4307
|
<div id="attention" class="${this._wrapperClasses}">
|
|
4312
4308
|
<slot name="message"></slot>
|
|
4313
|
-
${this.
|
|
4309
|
+
<div role="${this.tooltip ? "tooltip" : "img"}" aria-label="${this.defaultAriaLabel()}">${this._arrowHtml}</div>
|
|
4310
|
+
${this.canClose ? this._closeBtnHtml : nothing}
|
|
4314
4311
|
</div>
|
|
4315
4312
|
<slot name="target"></slot>
|
|
4316
4313
|
`}
|