1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-02 04:48:57 +02:00
bitwarden-browser/libs/components
Andreas Coroiu cd5aef1757
[Cl-10] Button group (#3031)
* chore: setup initial bit-button-group using bitButton as template

* feat: working radio group with preliminary styling

* chore: cleanup

* feat: implement proper basic styling

* feat: implement focus handling and keyboard navigation

* feat: implement size support

* feat: add labeling support

* feat: add input for button selection

* feat: implement output handler on radio button interaction

* feat: implement internal input/output seletion handling

* feat: add external input support

* feat: add external output support

* chore: simplify storybook example a bit

* fix: module imports

* refactor: simplify both components

* feat: remove size

* chore: rename button-group to toggle-group

* chore: rename toggle-group-element to toggle-group-button

* chore: update story example

* fix: compatibility with web vault

* fix: imports in tests after rename

* fix: remove unnecessary inject decorator

* fix: clarify field names and html tags

* feat: add badge centering fix

* feat: set pointer cursor on label

* chore: comment on special css rules

* chore: remove focusable option from button

* Update libs/components/src/toggle-group/toggle-group-button.component.ts

Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>

* chore: rename to `bit-toggle`

* fix: remove unecessary aria label function

Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
2022-07-18 14:25:37 +02:00
..
spec PS-813 Add memory storage to state service (#2892) 2022-06-27 12:38:12 -05:00
src [Cl-10] Button group (#3031) 2022-07-18 14:25:37 +02:00
.browserslistrc Move to libs 2022-06-03 16:24:40 +02:00
.gitignore Simplify our gitignore files (#2925) 2022-06-17 15:33:51 +02:00
jest.config.js PS-813 Add memory storage to state service (#2892) 2022-06-27 12:38:12 -05:00
package.json Move storybook dependencies to root package (#2859) 2022-06-08 19:03:03 +02:00
tailwind.config.base.js Add support for migrated jslib (#2826) 2022-06-03 18:01:07 +02:00
tailwind.config.js Migrate Chromatic (#2906) 2022-06-16 20:41:22 +02:00
tsconfig.app.json Move to libs 2022-06-03 16:24:40 +02:00
tsconfig.json Use NPM workspace (#2874) 2022-06-14 17:10:53 +02:00
tsconfig.spec.json Move to libs 2022-06-03 16:24:40 +02:00