Skip to content

Commit

Permalink
A couple more missed tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
rajsite committed Mar 27, 2024
1 parent b27a845 commit 0c3b923
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { anchorTag } from '..';

export const appearanceStates = [
['Default', AnchorAppearance.default],
['prominent', AnchorAppearance.prominent]
['Prominent', AnchorAppearance.prominent]
] as const;
type AppearanceState = (typeof appearanceStates)[number];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import { tabsToolbarTag } from '../../tabs-toolbar';
import { tabsTag } from '..';
import { loremIpsum } from '../../utilities/tests/lorem-ipsum';

const tabsToolbarState = [false, true] as const;
type TabsToolbarState = (typeof tabsToolbarState)[number];
const tabsToolbarStates = [false, true] as const;
type TabsToolbarState = (typeof tabsToolbarStates)[number];

const metadata: Meta = {
title: 'Tests/Tabs',
Expand Down Expand Up @@ -52,7 +52,7 @@ const component = (
`;

export const tabsThemeMatrix: StoryFn = createMatrixThemeStory(
createMatrix(component, [tabsToolbarState, disabledStates])
createMatrix(component, [tabsToolbarStates, disabledStates])
);

export const hiddenTabs: StoryFn = createStory(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ import { textCustomizationWrapper } from '../../utilities/tests/text-customizati
import { loremIpsum } from '../../utilities/tests/lorem-ipsum';
import { textAreaTag } from '..';

const appearanceStates = [
['Outline', TextAreaAppearance.outline],
['Block', TextAreaAppearance.block]
] as const;
type AppearanceState = (typeof appearanceStates)[number];

const valueStates = [
['Placeholder', null, 'placeholder'],
['Value', 'Hello', null],
['Long Value', loremIpsum, null]
] as const;
type ValueState = (typeof valueStates)[number];

const appearanceStates = [
['Outline', TextAreaAppearance.outline],
['Block', TextAreaAppearance.block]
] as const;
type AppearanceState = (typeof appearanceStates)[number];

const metadata: Meta = {
title: 'Tests/Text Area',
parameters: {
Expand Down

0 comments on commit 0c3b923

Please sign in to comment.