@getflip/swirl-components 0.445.0 → 0.445.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 CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-02-18T13:28:45",
2
+ "timestamp": "2026-02-18T15:42:12",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.35.0",
@@ -5,7 +5,7 @@ var floatingUi_dom = require('./floating-ui.dom-C8bqk2dV.js');
5
5
  var index$1 = require('./index-DcAhLZUH.js');
6
6
  var utils = require('./utils-UfZG-xPD.js');
7
7
 
8
- const swirlTooltipCss = ":host{display:contents;font-weight:var(--s-font-weight-normal)}:host *{box-sizing:border-box}.tooltip{display:contents}.tooltip--active .tooltip__popper{display:block}.tooltip--visible .tooltip__popper{animation:tooltip-fade-in 0.15s;animation-delay:0.1s;animation-fill-mode:forwards;opacity:0}.tooltip--actual-placement-top .tooltip__arrow{top:calc(100% - 0.0625rem);transform:translate3d(0, -50%, 0) rotate(45deg)}.tooltip--actual-placement-bottom .tooltip__arrow{bottom:calc(100% - 0.0625rem);transform:translate3d(0, 50%, 0) rotate(45deg)}.tooltip--actual-placement-left .tooltip__arrow{left:calc(100% - 0.0625rem);transform:translate3d(-50%, 0, 0) rotate(45deg)}.tooltip--actual-placement-right .tooltip__arrow{right:calc(100% - 0.0625rem);transform:translate3d(50%, 0, 0) rotate(45deg)}.tooltip .tooltip__reference{display:contents}.tooltip__popper{position:fixed;display:none;opacity:0;border:none;padding:0;margin:0;background:transparent;overflow:visible}.tooltip__popper::backdrop{display:none}.tooltip__bubble{position:relative;display:block;padding-top:var(--s-space-8);padding-right:var(--s-space-12);padding-bottom:calc(var(--s-space-8) + 0.0625rem);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);text-align:start;box-shadow:var(--s-shadow-level-2)}@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__content{white-space:normal}.tooltip__arrow{position:absolute;width:0.6875rem;height:0.6875rem;border-radius:0.125rem;background-color:var(--s-surface-neutral-default)}.tooltip--intent-info .tooltip__bubble,.tooltip--intent-info .tooltip__arrow{background-color:var(--s-surface-info-default)}@keyframes tooltip-fade-in{from{opacity:0}to{opacity:1}}";
8
+ const swirlTooltipCss = ":host{display:contents;font-weight:var(--s-font-weight-normal)}:host *{box-sizing:border-box}.tooltip{display:contents}.tooltip--visible .tooltip__popper{display:block;animation:tooltip-fade-in 0.15s;animation-delay:0.1s;animation-fill-mode:forwards;opacity:0}.tooltip--actual-placement-top .tooltip__arrow{top:calc(100% - 0.0625rem);transform:translate3d(0, -50%, 0) rotate(45deg)}.tooltip--actual-placement-bottom .tooltip__arrow{bottom:calc(100% - 0.0625rem);transform:translate3d(0, 50%, 0) rotate(45deg)}.tooltip--actual-placement-left .tooltip__arrow{left:calc(100% - 0.0625rem);transform:translate3d(-50%, 0, 0) rotate(45deg)}.tooltip--actual-placement-right .tooltip__arrow{right:calc(100% - 0.0625rem);transform:translate3d(50%, 0, 0) rotate(45deg)}.tooltip .tooltip__reference{display:contents}.tooltip__popper{position:fixed;display:none;opacity:0;border:none;padding:0;margin:0;background:transparent;overflow:visible}.tooltip__popper::backdrop{display:none}.tooltip__bubble{position:relative;display:block;padding-top:var(--s-space-8);padding-right:var(--s-space-12);padding-bottom:calc(var(--s-space-8) + 0.0625rem);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);text-align:start;box-shadow:var(--s-shadow-level-2)}@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__content{white-space:normal}.tooltip__arrow{position:absolute;width:0.6875rem;height:0.6875rem;border-radius:0.125rem;background-color:var(--s-surface-neutral-default)}.tooltip--intent-info .tooltip__bubble,.tooltip--intent-info .tooltip__arrow{background-color:var(--s-surface-info-default)}@keyframes tooltip-fade-in{from{opacity:0}to{opacity:1}}";
9
9
 
10
10
  const SwirlTooltip = class {
11
11
  constructor(hostRef) {
@@ -143,10 +143,9 @@ const SwirlTooltip = class {
143
143
  }
144
144
  render() {
145
145
  const className = index$1.classnames("tooltip", `tooltip--actual-placement-${this.actualPosition?.placement}`, `tooltip--intent-${this.intent}`, {
146
- "tooltip--active": this.active,
147
146
  "tooltip--visible": this.visible,
148
147
  });
149
- return (index.h(index.Host, { key: '48ab3278a67c7d1d262b217e02592c5cd9cf69f1', onKeydown: this.onKeydown }, index.h("span", { key: '3eab41bc1f7fd5d1ae140789b2d5bd1104f81340', class: className }, index.h("span", { key: 'e19d18cacb63cbe946ee52ce11f387e28aaeb3c2', class: "tooltip__reference", "aria-describedby": "tooltip", onFocusout: this.onFocusOut, onClick: this.hide, onFocusin: this.onFocusIn }, index.h("slot", { key: '0579888c5ee02a3efe15d22277006aa896554940' })), index.h("span", { key: 'b816e2464f8c8353bbee9597ce4e1b9f6babe07d', class: "tooltip__popper", popover: "manual", ref: (el) => (this.popperEl = el), style: {
148
+ return (index.h(index.Host, { key: '010020ddc1b958a08b9806d3e57b17e97109154d', onKeydown: this.onKeydown }, index.h("span", { key: 'a265bc8d5c392799559bb74996237bc607eeda67', class: className }, index.h("span", { key: 'cb6cae45449807674972224eb4102422fc678159', class: "tooltip__reference", "aria-describedby": "tooltip", onFocusout: this.onFocusOut, onClick: this.hide, onFocusin: this.onFocusIn }, index.h("slot", { key: '8cb3b4429837c0a1571348384b768636b2b34e72' })), index.h("span", { key: 'a7b291999af9f054a5a13c21720dfe718d4c4d0d', class: "tooltip__popper", popover: "manual", ref: (el) => (this.popperEl = el), style: {
150
149
  top: Boolean(this.actualPosition)
151
150
  ? `${this.actualPosition?.y}px`
152
151
  : "",
@@ -154,7 +153,7 @@ const SwirlTooltip = class {
154
153
  ? `${this.actualPosition?.x}px`
155
154
  : "",
156
155
  maxWidth: this.maxWidth,
157
- } }, this.visible && (index.h("span", { key: '50a16fd107c4580da7183cd36916790945aacc82', class: "tooltip__bubble", id: "tooltip", part: "tooltip__bubble", role: "tooltip" }, index.h("span", { key: '0d71bca889cb4bd8169e7cc890ffaa4d7e71b68e', class: "tooltip__content", innerHTML: this.content }))), index.h("span", { key: 'dcae7a9101b96ca1d6258eb285e6b309d3e4b989', class: "tooltip__arrow", ref: (el) => (this.arrowElement = el), style: {
156
+ } }, this.visible && (index.h("span", { key: 'd65b55882eb78ac3d1ebf2d4fecd6bec1b9ae38d', class: "tooltip__bubble", id: "tooltip", part: "tooltip__bubble", role: "tooltip" }, index.h("span", { key: '01e3580f86e965d4e3b9a69590e232d6575f07ba', class: "tooltip__content", innerHTML: this.content }))), index.h("span", { key: '51d3f663e7983dd8eacd44dfed44bf96fd4a8d90', class: "tooltip__arrow", ref: (el) => (this.arrowElement = el), style: {
158
157
  ...this.arrowStyles,
159
158
  visibility: this.visible ? "visible" : "hidden",
160
159
  } })))));
@@ -11,11 +11,8 @@
11
11
  display: contents;
12
12
  }
13
13
 
14
- .tooltip--active .tooltip__popper {
15
- display: block;
16
- }
17
-
18
14
  .tooltip--visible .tooltip__popper {
15
+ display: block;
19
16
  animation: tooltip-fade-in 0.15s;
20
17
  animation-delay: 0.1s;
21
18
  animation-fill-mode: forwards;
@@ -137,10 +137,9 @@ export class SwirlTooltip {
137
137
  }
138
138
  render() {
139
139
  const className = classnames("tooltip", `tooltip--actual-placement-${this.actualPosition?.placement}`, `tooltip--intent-${this.intent}`, {
140
- "tooltip--active": this.active,
141
140
  "tooltip--visible": this.visible,
142
141
  });
143
- return (h(Host, { key: '48ab3278a67c7d1d262b217e02592c5cd9cf69f1', onKeydown: this.onKeydown }, h("span", { key: '3eab41bc1f7fd5d1ae140789b2d5bd1104f81340', class: className }, h("span", { key: 'e19d18cacb63cbe946ee52ce11f387e28aaeb3c2', class: "tooltip__reference", "aria-describedby": "tooltip", onFocusout: this.onFocusOut, onClick: this.hide, onFocusin: this.onFocusIn }, h("slot", { key: '0579888c5ee02a3efe15d22277006aa896554940' })), h("span", { key: 'b816e2464f8c8353bbee9597ce4e1b9f6babe07d', class: "tooltip__popper", popover: "manual", ref: (el) => (this.popperEl = el), style: {
142
+ return (h(Host, { key: '010020ddc1b958a08b9806d3e57b17e97109154d', onKeydown: this.onKeydown }, h("span", { key: 'a265bc8d5c392799559bb74996237bc607eeda67', class: className }, h("span", { key: 'cb6cae45449807674972224eb4102422fc678159', class: "tooltip__reference", "aria-describedby": "tooltip", onFocusout: this.onFocusOut, onClick: this.hide, onFocusin: this.onFocusIn }, h("slot", { key: '8cb3b4429837c0a1571348384b768636b2b34e72' })), h("span", { key: 'a7b291999af9f054a5a13c21720dfe718d4c4d0d', class: "tooltip__popper", popover: "manual", ref: (el) => (this.popperEl = el), style: {
144
143
  top: Boolean(this.actualPosition)
145
144
  ? `${this.actualPosition?.y}px`
146
145
  : "",
@@ -148,7 +147,7 @@ export class SwirlTooltip {
148
147
  ? `${this.actualPosition?.x}px`
149
148
  : "",
150
149
  maxWidth: this.maxWidth,
151
- } }, this.visible && (h("span", { key: '50a16fd107c4580da7183cd36916790945aacc82', class: "tooltip__bubble", id: "tooltip", part: "tooltip__bubble", role: "tooltip" }, h("span", { key: '0d71bca889cb4bd8169e7cc890ffaa4d7e71b68e', class: "tooltip__content", innerHTML: this.content }))), h("span", { key: 'dcae7a9101b96ca1d6258eb285e6b309d3e4b989', class: "tooltip__arrow", ref: (el) => (this.arrowElement = el), style: {
150
+ } }, this.visible && (h("span", { key: 'd65b55882eb78ac3d1ebf2d4fecd6bec1b9ae38d', class: "tooltip__bubble", id: "tooltip", part: "tooltip__bubble", role: "tooltip" }, h("span", { key: '01e3580f86e965d4e3b9a69590e232d6575f07ba', class: "tooltip__content", innerHTML: this.content }))), h("span", { key: '51d3f663e7983dd8eacd44dfed44bf96fd4a8d90', class: "tooltip__arrow", ref: (el) => (this.arrowElement = el), style: {
152
151
  ...this.arrowStyles,
153
152
  visibility: this.visible ? "visible" : "hidden",
154
153
  } })))));