@valerius_petrini/corekit-ui 0.1.65 → 0.1.66
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.
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
|
|
184
184
|
{#snippet outerDivElementAfter()}
|
|
185
185
|
{#if isFocused}
|
|
186
|
-
<div transition:fly={{ y: -10, duration: 200 }} class="absolute top-full left-0 right-0 mt-2 border-2 overflow-hidden border-blue-500 bg-sub-background {getSizeStyleClass(radius, "radius")}">
|
|
186
|
+
<div transition:fly={{ y: -10, duration: 200 }} class="absolute z-100 top-full left-0 right-0 mt-2 border-2 overflow-hidden border-blue-500 bg-sub-background {getSizeStyleClass(radius, "radius")}">
|
|
187
187
|
{#if totalMatches > limit}
|
|
188
188
|
<Text class="text-xs py-0.5 px-1 text-sub-text italic sticky top-0 bg-sub-background w-full">
|
|
189
189
|
Showing {limit} of {totalMatches} results for "{value}"
|
|
@@ -109,15 +109,14 @@
|
|
|
109
109
|
bind:this={tooltip}
|
|
110
110
|
style="transform: translateX(calc(-50% + {offsetX}px));"
|
|
111
111
|
class="absolute z-999999 {positionClasses[resolvedPosition || position]} translate-x-0! pointer-events-none">
|
|
112
|
+
|
|
113
|
+
<div class="absolute {arrowClasses[resolvedPosition || position]} border-4 border-transparent w-0 h-0"
|
|
114
|
+
style="transform: translateX(calc(-50% + {arrowX}px));"></div>
|
|
115
|
+
|
|
112
116
|
<div
|
|
113
117
|
transition:fly={flyParams}
|
|
114
118
|
class="px-2 py-1 text-xs text-main-text bg-form-background rounded whitespace-nowrap">
|
|
115
119
|
{text}
|
|
116
|
-
|
|
117
|
-
<div
|
|
118
|
-
class="absolute {arrowClasses[resolvedPosition || position]} border-4 border-transparent w-0 h-0"
|
|
119
|
-
style="transform: translateX(calc(-50% + {arrowX}px));"
|
|
120
|
-
></div>
|
|
121
120
|
</div>
|
|
122
121
|
</div>
|
|
123
122
|
{/if}
|