@r2digisolutions/components 0.24.8 → 0.24.9
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.
|
@@ -174,10 +174,10 @@
|
|
|
174
174
|
aria-label="{copy.trigger}{unreadCount > 0 ? withCount(copy.unreadSuffix, unreadCount) : ''}"
|
|
175
175
|
aria-expanded={open}
|
|
176
176
|
aria-controls={popoverId}
|
|
177
|
-
class="relative flex h-
|
|
177
|
+
class="relative inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-xl border border-border bg-surface-elevated text-primary shadow-sm transition-all duration-200 hover:border-border-strong hover:bg-surface-overlay focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2"
|
|
178
178
|
>
|
|
179
179
|
<svg
|
|
180
|
-
class="h-
|
|
180
|
+
class="h-4 w-4"
|
|
181
181
|
viewBox="0 0 24 24"
|
|
182
182
|
fill="none"
|
|
183
183
|
stroke="currentColor"
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
</svg>
|
|
193
193
|
{#if unreadCount > 0}
|
|
194
194
|
<span
|
|
195
|
-
class="absolute -
|
|
195
|
+
class="pointer-events-none absolute -top-1 -right-1 flex min-w-5 items-center justify-center rounded-full bg-brand-500 px-1 py-0.5 text-[10px] font-bold leading-none text-white shadow-sm"
|
|
196
196
|
>
|
|
197
197
|
{unreadCount > 9 ? '9+' : unreadCount}
|
|
198
198
|
</span>
|