@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-9 w-9 items-center justify-center rounded-lg text-secondary outline-none transition-colors hover:bg-surface-overlay hover:text-primary focus-visible:ring-2 focus-visible:ring-brand-500/30"
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-5 w-5"
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 -right-0.5 -top-0.5 flex h-4 w-4 items-center justify-center rounded-full bg-brand-500 text-[10px] font-bold leading-none text-white"
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>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r2digisolutions/components",
3
- "version": "0.24.8",
3
+ "version": "0.24.9",
4
4
  "private": false,
5
5
  "description": "R2DigiSolutions Svelte 5 component library — Atomic Design, Tailwind 4, Light/Dark mode",
6
6
  "license": "MIT",