diff --git a/.changeset/color-mode-hook.md b/.changeset/color-mode-hook.md deleted file mode 100644 index 6d70ad3..0000000 --- a/.changeset/color-mode-hook.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@maxcwolf/ui-react-native': patch ---- - -Theme switching is now `useColorMode()`, which returns `{ mode, setMode, name, names, theme }`. -It replaces `useThemeSwitcher()` (`preference`, `setPreference`). `ThemeProvider`'s props are now -`mode`, `defaultMode` and `onModeChange`, and the `ThemePreference` type is `ColorMode`. -`useTheme()` is unchanged. diff --git a/.changeset/quiet-fields-speak.md b/.changeset/quiet-fields-speak.md deleted file mode 100644 index 2854d2a..0000000 --- a/.changeset/quiet-fields-speak.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@maxcwolf/ui-react-native': patch ---- - -Screen readers hear less noise and more context. `Button` sets `aria-busy` only while loading, -so it no longer says "not busy". On the web, `TextInput` is described by its helper or error text -(`aria-describedby`) and is marked `aria-invalid` when it has an error; iOS and Android keep -reading that text as the accessibility hint. -`TextInput` errors now appear inside a live region that is always mounted, so VoiceOver in Safari -announces them when they appear (it skipped the region when it was mounted with the text). diff --git a/.changeset/reach-and-translate.md b/.changeset/reach-and-translate.md deleted file mode 100644 index ab499ce..0000000 --- a/.changeset/reach-and-translate.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@maxcwolf/ui-react-native': minor ---- - -`Button`, `Pressable` and `TextInput` take a `ref` (`ButtonRef`, `PressableRef`, `TextInputRef`), -so a form can move focus with `ref.current?.focus()`. -`Button` can be icon-only: `