@finsweet/webflow-apps-utils 1.0.5 → 1.0.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.
|
@@ -474,28 +474,24 @@
|
|
|
474
474
|
</div>
|
|
475
475
|
{/snippet}
|
|
476
476
|
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
{
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
</Tooltip>
|
|
496
|
-
{:else}
|
|
497
|
-
{@render inputWrapper()}
|
|
498
|
-
{/if}
|
|
477
|
+
<Tooltip
|
|
478
|
+
message={hasAlert ? alert?.message || '' : ''}
|
|
479
|
+
placement="top"
|
|
480
|
+
listener="hover"
|
|
481
|
+
listenerout="hover"
|
|
482
|
+
showArrow={true}
|
|
483
|
+
hidden={!hasAlert}
|
|
484
|
+
disabled={!hasAlert || !alert?.message}
|
|
485
|
+
fontColor="var(--actionPrimaryText)"
|
|
486
|
+
width="max-content"
|
|
487
|
+
padding="6px"
|
|
488
|
+
bgColor={getTooltipColor(alert?.type || 'info')}
|
|
489
|
+
class="input-tooltip"
|
|
490
|
+
>
|
|
491
|
+
{#snippet target()}
|
|
492
|
+
{@render inputWrapper()}
|
|
493
|
+
{/snippet}
|
|
494
|
+
</Tooltip>
|
|
499
495
|
|
|
500
496
|
<style>
|
|
501
497
|
:global(.input-tooltip) {
|