-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ui-library): text input-ensure consistency between storybook documentation and property names #1017
Conversation
94b6c43
to
cd52cc9
Compare
packages/ui-library/src/components/input-field-text/index.stories.ts
Outdated
Show resolved
Hide resolved
packages/ui-library/src/components/input-field-text/index.stories.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @RubirajAccenture apart from davids comment and the conflicts that need to be resolved I would also like you to fix the order of all props in the props panel in the stories.ts.
The order should be exactly as in the Props Excel (with "theme" on top within the Appearance section):
sizeVariant
type
placeholder
value
maxLength
hasLabel
(hasLabel) -> label
(hasLabel) -> labelAppendix
hasIcon
(hasIcon) -> icon
hasHint
(hasHint) -> hintMessage
(hasHint) -> hintMessageIcon
disabled
readonly
required
hasError
(hasError) -> errorMessage
(hasError) -> errorMessageIcon
ariaLabel
[componentName]Id
name
blrTextValueChange
blrSelect
blrFocus
blrBlur
0a1287d
to
f40db60
Compare
…tion and Codebase Property Names
f40db60
to
33f7ba6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @RubirajAccenture , please update the order of the props in the props panel, according to the Excel / my last comment.
Once this is done I can approve :-)
packages/ui-library/src/components/input-field-text/index.stories.ts
Outdated
Show resolved
Hide resolved
388b6e8
to
7d4aca2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @RubirajAccenture , just one small fix needed:
Please change the order of the "name" and the "inputFieldTextId" props in the prop panel. "inputFieldTextId" should come first, then "name".
7d4aca2
to
66ed958
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…mentation and property names (#1017) * fix(864): Text Input - Ensure Consistency between Storybook Documentation and Codebase Property Names * fix(ui-library): comments removed
…mentation and property names (#1017) * fix(864): Text Input - Ensure Consistency between Storybook Documentation and Codebase Property Names * fix(ui-library): comments removed
closes #864