Add a button group component.

Review Request #13619 — Created March 6, 2024 and submitted — Latest diff uploaded

Information

Ink
master

Reviewers

Button groups are a container for multiple buttons, grouped together as
a single unit. They're useful when presenting a set of related actions,
and can be shown horizontally or stacked vertically.

Note that these should not be confused with toolbars, which are similar
in concept but would have a different presentation and capabilities.

Unit tests pass.

Played with the different layouts and button type combinations in
Storybook.

Diff Revision 3 (Latest)

orig
1
2
3

Commits

First Last Summary ID Author
Add a button group component.
Button groups are a container for multiple buttons, grouped together as a single unit. They're useful when presenting a set of related actions, and can be shown horizontally or stacked vertically. Note that these should not be confused with toolbars, which are similar in concept but would have a different presentation and capabilities.
85bd32b25fef1c83300aab115d7600939646e7e6 Christian Hammond
src/ink/js/components/views/buttonGroupView.ts
src/ink/js/components/views/index.ts
src/ink/js/components/views/tests/buttonGroupViewTests.ts
src/ink/js/core/enums.ts
src/ink/js/core/index.ts
src/ink/less/components/button-group.component.less
src/ink/less/components/index.less
src/ink/less/components/schemas/button-group.schema.less
src/ink/less/components/schemas/index.less
src/ink/less/themes/default/components/button-group.theme.less
src/ink/less/themes/default/components/index.less
src/stories/components/buttonGroup.stories.ts
Loading...