push
github
feat(Button): button redesign (#1234) * refactor(Button): redesign * style(Button): change color name brand to primary * style(LoadingSpinner): add context colors * fix(Button): change props and add loading state * Revert "style(Button): change color name brand to primary" This reverts commit 1a84a2613. * style(Button): change to semantic colors * implement feedback * chore!: change size normal to medium BREAKING CHANGE: use 'medium' instead of 'normal' in the case of size * style(Toast): change default context to secondary * style(Button): change to semantic colors + compose * chore: add OldSizes constant; to be deprecated * refactor(Button): refactor spinner and button test * style(Button): improve isLoading and add to href * update snapshots * style(button): improve semantic color * style(Button): add font-family:inherit * refactor(Button): remove useLayoutEffect * feat: fix button colors * refactor: removed if condition for ghost --------- Co-authored-by: André Nogueira <nogueira@textkernel.nl> Co-authored-by: Oleksii Mukiienko <mukiienko@textkernel.nl>
1379 of 1704 branches covered (80.93%)
Branch coverage included in aggregate %.
20 of 22 new or added lines in 10 files covered. (90.91%)
3192 of 3357 relevant lines covered (95.08%)
72.53 hits per line