Skip to content

Commit f69f887

Browse files
janhasseltw15egankodiakhq[bot]
authored
refactor(toggle): create v11 toggle (#8469)
* refactor(toggle): create v11 toggle basis * fix(toggle): fix spacing for rtl layouts * test(toggle): add unit tests * feat(toggle): allow toggle state to be controlled * fix(toggle): forward correct prop types * feat(toggle): add props.hideLabel * test(toggle): add missing required props to old toggle tests * fix(toggle): remove explicit prop type assignment * fix(toggle): remove default empty function for props.onClick * fix(toggle): remove unnecessary tabindex definition * test(toggle): migrate to testing-library/react * fix(toggle): update tokens * refactor(toggle): move hcm styles to bottom of stylesheet * feat(toggle): spread other props on button element Co-authored-by: TJ Egan <tw15egan@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 14b4dc1 commit f69f887

File tree

6 files changed

+838
-417
lines changed

6 files changed

+838
-417
lines changed

0 commit comments

Comments
 (0)