@getflip/swirl-components 0.108.0 → 0.108.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.
- package/components.json +1 -1
- package/dist/cjs/swirl-tooltip.cjs.entry.js +2 -2
- package/dist/collection/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/collection/components/swirl-tooltip/swirl-tooltip.css +1 -1
- package/dist/collection/components/swirl-tooltip/swirl-tooltip.js +1 -1
- package/dist/components/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/components/swirl-tooltip2.js +2 -2
- package/dist/esm/swirl-tooltip.entry.js +2 -2
- package/dist/swirl-components/p-bd58af17.entry.js +1 -0
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/swirl-components/p-f6698af0.entry.js +0 -1
package/components.json
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-506fe4ea.js');
|
|
6
6
|
const floatingUi_dom_esm = require('./floating-ui.dom.esm-39236b6a.js');
|
|
7
7
|
|
|
8
|
-
const swirlTooltipCss = ":host{display:inline-flex}:host *{box-sizing:border-box}.tooltip{display:inline-flex}.tooltip .tooltip__reference{display:inline-flex}.tooltip__popper{position:
|
|
8
|
+
const swirlTooltipCss = ":host{display:inline-flex}:host *{box-sizing:border-box}.tooltip{display:inline-flex}.tooltip .tooltip__reference{display:inline-flex}.tooltip__popper{position:absolute;z-index:var(--s-z-40);max-width:17.5rem}.tooltip__bubble{position:relative;display:block;padding-top:var(--s-space-8);padding-right:var(--s-space-12);padding-bottom:var(--s-space-8);padding-left:var(--s-space-12);border-radius:var(--s-border-radius-sm);color:var(--s-text-on-status);background-color:var(--s-surface-neutral-default);line-height:var(--s-line-height-base);animation:tooltip-fade-in 0.2s;animation-delay:0.1s;animation-fill-mode:forwards;opacity:0}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.tooltip__bubble{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.tooltip__arrow{position:absolute;width:0.5rem;height:0.5rem;background-color:var(--s-surface-neutral-default)}@keyframes tooltip-fade-in{from{opacity:0}to{opacity:1}}";
|
|
9
9
|
|
|
10
10
|
const SwirlTooltip = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -52,7 +52,7 @@ const SwirlTooltip = class {
|
|
|
52
52
|
this.options = {
|
|
53
53
|
middleware: [floatingUi_dom_esm.offset(margin), floatingUi_dom_esm.shift(), floatingUi_dom_esm.flip()],
|
|
54
54
|
placement: this.position,
|
|
55
|
-
strategy: "
|
|
55
|
+
strategy: "absolute",
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
58
|
this.getArrowStyles = () => {
|