diff --git a/.changeset/switch-atom.md b/.changeset/switch-atom.md new file mode 100644 index 0000000..b4b63f1 --- /dev/null +++ b/.changeset/switch-atom.md @@ -0,0 +1,11 @@ +--- +'@code-sherpas/pharos-react': minor +--- + +Add `Switch`, a single on/off toggle (the shadcn Switch contract) over Base +UI's `Switch` — `role="switch"`, Space to toggle, and the shared Button / Input +/ Checkbox focus ring. Sibling to `Checkbox` in the boolean form-control +family: same `checked` / `onCheckedChange` / `disabled` API, no third +`indeterminate` state (a toggle is binary). Label-less by design (D11): pair +with a `