react-spectrum
42e7db54 - V3 checkbox and switch (#457)

Commit
6 years ago
V3 checkbox and switch (#457) * Save point, checkbox almost done, just needs splitting apart Switch still to go * not sure why we need to set property indeterminate, but i've done that now * Added switch, now to go through the two and figure out the common ground for hooks :) * Splitting up packages, next up, types! * most types * make a use toggle to consolidate checkbox and switch with neither of them being the base put component specific aria into the component specific aria hooks make stately for toggle's not switch or checkbox specific in name * separate all of toggle * remove accidentally generated files * move types around for toggle * cleanup * add RTL support * fix lint and types * Remove get text from react children * review fixes * more code review comments * fix tsc * fix lint * Switches can't be invalid * over exuberant on my filtering out dom props and was taking care of dom stuff in stately * overexcited on checkbox as well * fix typescript * remove invalid stories from switch because it doesn't apply
Author
Committer
Parents
Loading