Skip to content

Commit

Permalink
chore(coachmark): update template name(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdransf committed Jan 23, 2025
1 parent a0b28bd commit cd436cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/coachmark/stories/coachmark.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import packageJson from "../package.json";
import { CoachMarkGroup } from "./coachmark.test.js";
import {
CoachmarkMenuStatesTemplate,
CoachMarkMediaStateTemplates,
CoachmarkMediaStatesTemplate,
CoachmarkShortcutStatesTemplate,
} from "./template.js";

Expand Down Expand Up @@ -130,7 +130,7 @@ Standard.parameters = {
Standard.args = { image: "example-card-landscape.png" };

/** Images and media have a minimum height and can grow with the parent component. Fixed height media is constrained to a 4:3 aspect ratio by applying the spectrum-CoachMark-image-wrapper--fixedHeight class. */
export const MediaStates = CoachMarkMediaStateTemplates.bind({});
export const MediaStates = CoachmarkMediaStatesTemplate.bind({});
MediaStates.tags = ["!dev"];
MediaStates.args = {
imageSource: "example-card-portrait.png",
Expand Down
2 changes: 1 addition & 1 deletion components/coachmark/stories/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export const CoachmarkMenuStatesTemplate = (args, context) =>
});

/* Displays fixed and minimum height images in a single story. */
export const CoachMarkMediaStateTemplates = (args, context) =>
export const CoachmarkMediaStatesTemplate = (args, context) =>
Container({
withBorder: false,
withHeading: false,
Expand Down

0 comments on commit cd436cf

Please sign in to comment.