import { useUniqueId } from "@charcuterie/logic" import type { ControlSize } from "@charcuterie/tokens" import type { ChangeEvent, ReactNode } from "react" import { FOCUS_RING_CLASS } from "../intentStyles.ts" import { toClassName } from "../toClassName.ts" export type CheckboxProps = { className?: string /** * Standing help under the box — units, a consequence, a warning * about what ticking it does. Same slot, same words and same * announcement order as `Field`'s: bound with `aria-describedby`, * so a screen reader reads it **with** the control rather than * announcing it from nowhere. * * It renders **outside** the `