Skip to content

Commit

Permalink
docs(actiongroup): updating control categories and test data
Browse files Browse the repository at this point in the history
  • Loading branch information
aramos-adobe committed Oct 4, 2024
1 parent e173bf5 commit eea1b7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 3 additions & 5 deletions components/actiongroup/stories/actiongroup.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default {
type: { name: "boolean" },
table: {
type: { summary: "boolean" },
category: "Advanced",
category: "Component",
},
control: "boolean",
},
Expand Down Expand Up @@ -137,6 +137,8 @@ Horizontal.parameters = {
chromatic: { disableSnapshot: true },
};

Horizontal.storyName = "Default";

/**
* The compact density retains the same font and icon sizes, but has tighter spacing. The action buttons also become connected for non-quiet action groups.
*/
Expand Down Expand Up @@ -203,10 +205,6 @@ VerticalSizing.parameters = {
chromatic: { disableSnapshot: true },
};

VerticalSizing.parameters = {
chromatic: { disableSnapshot: true },
};

/**
* When an action group is justified, it takes up the entire available container width, divided equally for each action button that is inside the group.
*/
Expand Down
3 changes: 3 additions & 0 deletions components/actiongroup/stories/actiongroup.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { Template } from "./template.js";
export const ActionGroups = Variants({
Template,
testData: [
{
testHeading: "Default"
},
{
testHeading: "Compact",
compact: true,
Expand Down

0 comments on commit eea1b7e

Please sign in to comment.