tpmjs/packages/ui/src/Checkbox
Ajax Davis 5df484718a fix(ui): fix checkbox tick not visible in light/dark mode
The checkmark SVG was nested inside a span, making peer-checked
selectors ineffective since peer only works on siblings.

Fix by moving the checkmark and indeterminate SVGs to be direct
siblings of the hidden input element, allowing Tailwind's peer-checked
and peer-data-[indeterminate] selectors to properly toggle visibility.
2025-12-12 12:51:37 +10:00
..
Checkbox.test.tsx style: apply Biome formatting 2025-11-27 02:46:30 +10:00
Checkbox.tsx fix(ui): fix checkbox tick not visible in light/dark mode 2025-12-12 12:51:37 +10:00
tokens.ts feat(ui): add comprehensive form component library with playground showcase 2025-11-27 01:56:54 +10:00
types.ts feat(ui): add comprehensive form component library with playground showcase 2025-11-27 01:56:54 +10:00
variants.ts fix(ui): fix checkbox tick not visible in light/dark mode 2025-12-12 12:51:37 +10:00