Skip to content

v1.1.1

Choose a tag to compare

@github-actions github-actions released this 06 Oct 06:53
· 162 commits to main since this release

Patch Changes

  • Accessibility fixes for PasteField and CopyField. No API changes; no bundle growth.

    • Fix: PasteField.Zone accessible name. The zone set both aria-label and aria-labelledby, and aria-labelledby wins, so a custom zoneLabel message or aria-label prop was silently ignored. The zone is now named by aria-label only ("Paste area for Notes"). Pass aria-labelledby yourself if you want to name it from another element.
    • Fix: reduced motion in PasteField.Trigger. The default label crossfade now respects prefers-reduced-motion, matching CopyField.Trigger. Both triggers now share one label component.
    • New: aria-busy on triggers. CopyField.Trigger and PasteField.Trigger set aria-busy="true" while a copy or paste is in flight, so screen readers know the action is in progress. The button is still never disabled, so focus stays put.
    • New: aria-keyshortcuts on PasteField.Zone. Defaults to "Control+V Meta+V" so screen-reader users hear how to paste. Override it with your own aria-keyshortcuts prop.
    • Docs: maxRetries JSDoc now states that 0 disables retry and Infinity allows unlimited retries.