Skip to content

Commit

Permalink
update to story files for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chromaticWaster committed Sep 30, 2024
1 parent 00524b5 commit 11985a1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/email-field/EmailField.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const App = () => <OmniEmailField${args.label ? ` label='${args.label}'` : ''}${
}
],
name: 'Max Length',
description: 'Limit the character input length based on the value provided.',
description: 'Limit the character input length based on the value provided to the email field.',
args: {
label: 'Max Length',
maxLength: 5
Expand Down
2 changes: 1 addition & 1 deletion src/number-field/NumberField.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const App = () => <OmniNumberField${args.label ? ` label='${args.label}'` : ''}$
}
],
name: 'Max Length',
description: 'Limit the character input length based on the value provided.',
description: 'Limit the numeric input length based on the value provided.',
args: {
label: 'Max Length',
maxLength: 5
Expand Down
2 changes: 1 addition & 1 deletion src/password-field/PasswordField.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const App = () => <OmniPasswordField${args.label ? ` label='${args.label}'` : ''
}
],
name: 'Custom Icon Slot',
description: 'Set html content to display as the visibility indicators of the field.',
description: 'Set html content to display as the visibility indicators of the password field.',
args: {
label: 'Custom Icon Slot'
}
Expand Down
8 changes: 0 additions & 8 deletions src/search-field/SearchField.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,11 @@ const App = () => <OmniSearchField${args.label ? ` label='${args.label}'` : ''}$
};

export const Label = LabelStory<BaseArgs>('omni-search-field');

export const Hint = HintStory<BaseArgs>('omni-search-field');

export const Error_Label = ErrorStory<BaseArgs>('omni-search-field');

export const Value = ValueStory<BaseArgs>('omni-search-field');

export const Clearable = ClearableStory<BaseArgs>('omni-search-field', 'Clear my name');

export const Custom_Clear_Slot = CustomClearableSlot<BaseArgs>('omni-search-field', 'Clear my name');

export const Prefix = PrefixStory<BaseArgs>('omni-search-field');

export const Suffix = SuffixStory<BaseArgs>('omni-search-field');

export const Disabled = DisabledStory<BaseArgs>('omni-search-field');
2 changes: 1 addition & 1 deletion src/text-field/TextField.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const App = () => <OmniTextField${args.label ? ` label='${args.label}'` : ''}${a
}
],
name: 'Max Length',
description: 'Limit the character input length based on the value provided.',
description: 'Limit the character input length of the text field based on the value provided',
args: {
label: 'Max Length',
maxLength: 5,
Expand Down

0 comments on commit 11985a1

Please sign in to comment.