NkCheckbox
The off state must be drawnCurrent value: false
Separate known gap, not part of this fix: isIndeterminate paints nothing. react-aria emits data-indeterminate, which no class targets, and the tick glyph is rendered at scale-0 while unselected — so the mixed state is pixel-identical to the off state above.
- Correct
- Six labels below, six boxes. An unchecked box is a 2px
border-muted-foreground/30outline over a transparent fill; a checked box is a solidbg-primarysquare with a tick. Off and on are both clearly drawn, in light and dark. - Regressed
- The off state was written with
not-selected:classes, but react-aria-components emits onlydata-selected— there is nodata-not-selected— so those rules never matched a single element. An unchecked box got no border and no background: the rows above would show a label with nothing in front of it, and a form would ship with invisible checkboxes.