@r2digisolutions/components 0.3.6 → 0.3.8

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.
@@ -417,6 +417,7 @@
417
417
  disabled && 'cursor-not-allowed opacity-50',
418
418
  trigger && 'border-0 bg-transparent p-0 hover:bg-transparent'
419
419
  ]}
420
+ aria-label={trigger ? label : undefined}
420
421
  aria-haspopup="menu"
421
422
  aria-expanded={open}
422
423
  aria-controls={menuId}
@@ -1865,13 +1865,13 @@
1865
1865
  onselect={(id) => onRowMenuAction(id, rid)}
1866
1866
  >
1867
1867
  {#snippet trigger()}
1868
- <button
1869
- type="button"
1868
+ <!-- Content only: DropdownMenu already renders the outer <button> -->
1869
+ <span
1870
1870
  class="inline-flex h-7 w-7 items-center justify-center rounded-lg text-secondary hover:bg-surface-overlay hover:text-primary"
1871
- aria-label={`Actions for row ${rid}`}
1871
+ aria-hidden="true"
1872
1872
  >
1873
1873
  <MoreHorizontal class="h-4 w-4" strokeWidth={2} />
1874
- </button>
1874
+ </span>
1875
1875
  {/snippet}
1876
1876
  </DropdownMenu>
1877
1877
  </td>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r2digisolutions/components",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "private": false,
5
5
  "description": "R2DigiSolutions Svelte 5 component library — Atomic Design, Tailwind 4, Light/Dark mode",
6
6
  "license": "MIT",