fleetcor-lwc 1.4.4 → 1.4.6
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/README.md
CHANGED
|
@@ -129,6 +129,13 @@ $FLT_BUTTON_LINK_HOVER_COLOR: var(--flt-button-link-hover-color, #6b7280);
|
|
|
129
129
|
|
|
130
130
|
## Release Notes:
|
|
131
131
|
|
|
132
|
+
- v.1.4.6
|
|
133
|
+
- Bug fix at mobile Safari tooltip
|
|
134
|
+
|
|
135
|
+
- v.1.4.5
|
|
136
|
+
- Tooltip text align centred
|
|
137
|
+
|
|
138
|
+
---
|
|
132
139
|
- v.1.4.4
|
|
133
140
|
- Bug fix tooltip mobile positions
|
|
134
141
|
|
|
@@ -261,6 +261,7 @@ export default class Tooltip extends LightningElement {
|
|
|
261
261
|
this.corner = parseInt(this.corner)
|
|
262
262
|
window.addEventListener('scroll', this.update.bind(this))
|
|
263
263
|
window.addEventListener('resize', this.update.bind(this))
|
|
264
|
+
window.document.onclick = (event) => {}
|
|
264
265
|
}
|
|
265
266
|
}
|
|
266
267
|
|
|
@@ -292,7 +293,7 @@ export default class Tooltip extends LightningElement {
|
|
|
292
293
|
|
|
293
294
|
this.minimalWidth = getLineWidth(text)
|
|
294
295
|
if (this.minimalWidth < this.maxWidth) {
|
|
295
|
-
this.minimalWidth = this.minimalWidth + this.paddingX * 2 + 2 * this.delta +
|
|
296
|
+
this.minimalWidth = this.minimalWidth + this.paddingX * 2 + 2 * this.delta + 4
|
|
296
297
|
this.svgW = this.minimalWidth
|
|
297
298
|
} else {
|
|
298
299
|
this.minimalWidth = this.maxWidth
|