Add a button group component.
Review Request #13619 — Created March 6, 2024 and submitted — Latest diff uploaded
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 2
This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.
orig
1
2
3
Commits
Files
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 |
---|