Skip to content

Commit

Permalink
docs(actiongroup): fixing duplicate chromatic
Browse files Browse the repository at this point in the history
  • Loading branch information
aramos-adobe committed Oct 4, 2024
1 parent 01123d9 commit e173bf5
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions components/actiongroup/stories/actiongroup.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ActionGroups } from "./actiongroup.test.js";
import { OverflowOption, TreatmentTemplate } from "./template.js";

/**
* An action group is a grouping of [action buttons](/docs/components-action-button--docs&globals=testingPreview:!true) that are related to each other.
* An action group is a grouping of [action buttons](/docs/components-action-button--docs) that are related to each other.
*/
export default {
title: "Action group",
Expand Down Expand Up @@ -146,6 +146,10 @@ HorizontalCompact.args = {
compact: true
};

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

/**
* The vertical option should be reserved for when horizontal space is limited.
*/
Expand All @@ -156,6 +160,10 @@ Vertical.args = {
vertical: true
};

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


export const VerticalCompact = TreatmentTemplate.bind({});
VerticalCompact.tags = ["!dev"];
Expand All @@ -164,6 +172,10 @@ VerticalCompact.args = {
vertical: true
};

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


export const HorizontalSizing = (args, context) => Sizes({
Template: ActionGroups,
Expand All @@ -177,10 +189,6 @@ HorizontalSizing.parameters = {
chromatic: { disableSnapshot: true },
};

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

export const VerticalSizing = (args, context) => Sizes({
Template: ActionGroups,
withHeading: false,
Expand Down

0 comments on commit e173bf5

Please sign in to comment.