@invopop/popui 0.0.44 → 0.0.46
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.
|
@@ -28,8 +28,8 @@ $:
|
|
|
28
28
|
labelStyles = clsx(
|
|
29
29
|
{ "text-danger-500": item.destructive },
|
|
30
30
|
{ "text-neutral-800": !item.destructive },
|
|
31
|
-
{ "font-semibold tracking-tight": workspace },
|
|
32
|
-
{ "font-normal tracking-normal": !workspace }
|
|
31
|
+
{ "font-semibold tracking-tight max-w-[200px]": workspace },
|
|
32
|
+
{ "font-normal tracking-normal max-w-40": !workspace }
|
|
33
33
|
);
|
|
34
34
|
onMount(() => {
|
|
35
35
|
if (!scrollIfSelected)
|
|
@@ -65,7 +65,7 @@ onMount(() => {
|
|
|
65
65
|
{#if item.color}
|
|
66
66
|
<TagStatus status={item.color} dot />
|
|
67
67
|
{/if}
|
|
68
|
-
<span class="{labelStyles} text-base
|
|
68
|
+
<span class="{labelStyles} text-base truncate">{item.label}</span>
|
|
69
69
|
</span>
|
|
70
70
|
|
|
71
71
|
{#if item.country}
|
|
@@ -28,7 +28,7 @@ $:
|
|
|
28
28
|
</script>
|
|
29
29
|
|
|
30
30
|
<div class="w-[300px] border border-neutral-200 rounded-md shadow-lg bg-white">
|
|
31
|
-
<div class="max-h-[
|
|
31
|
+
<div class="max-h-[550px] overflow-hidden rounded-t-md">
|
|
32
32
|
<button
|
|
33
33
|
class="flex items-center justify-between bg-neutral-50 border-b border-neutral-200 rounded-t-sm h-9 py-2 pl-2.5 pr-3 text-base font-medium text-neutral-800 w-full"
|
|
34
34
|
on:click={() => {
|
|
@@ -49,7 +49,7 @@ $:
|
|
|
49
49
|
{/if}
|
|
50
50
|
</button>
|
|
51
51
|
{#if liveOpen}
|
|
52
|
-
<div transition:slide>
|
|
52
|
+
<div transition:slide class="max-h-[475px] overflow-auto">
|
|
53
53
|
{#if !liveItems.length}
|
|
54
54
|
<div class="h-[182px]">
|
|
55
55
|
<EmptyStateIcon
|
|
@@ -87,7 +87,7 @@ $:
|
|
|
87
87
|
{/if}
|
|
88
88
|
</button>
|
|
89
89
|
{#if sandboxOpen}
|
|
90
|
-
<div transition:slide>
|
|
90
|
+
<div transition:slide class="max-h-[475px] overflow-auto">
|
|
91
91
|
{#if !sandboxItems.length}
|
|
92
92
|
<div class="h-[182px]">
|
|
93
93
|
<EmptyStateIcon
|