-
Notifications
You must be signed in to change notification settings - Fork 5
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
design(TextInput): final design review for TextInput component #279
Conversation
✅ Deploy Preview for cfpb-design-system-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Heyo! Did Natalia already look at this to get it verified? |
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.
Heyo! I don't think @natalia-fitzgerald has seen this for design review. If you think it is ready for design review, could you follow the verification steps over here?
I put the verifications in the issue: #239 But I can copy over to this PR as well as name it properly. |
@shindigira In the DSR we show the different states for the standard text input as individual stories. For the status (Success, Warning, Error) we don't include stories for the states (Default, Hover, Focus). Should we include stories for these states? In the DS I started some updates to add live code examples of the states for success, error, and warning. As a non-dev in the cuerent Text input DS page it isn't easy to see the styling for the different states. Here's a draft of that approach (note that hover state for success, error, warning is still pending the color update): https://deploy-preview-1880--cfpb-design-system.netlify.app/design-system/components/text-inputs |
I think we should postpone this then. Will bring the additional TextInput changes into DS, and then into DSR. Afterwards we can just review it all in one go instead of approving now and then approving again after the changes. |
As we discussed I'd like to group this component as follows: Sidebar menu text:
For Text area input, we discussed making it a separate component in the DSR. Can we do that as a part of this? Does the DS include state styling for Text area input? It's not visualized on the DS page but if it's in the code I'd like to pull it out/itemize it in the DSR. |
Thank you for that. As discussed, we should (in a later issue and PR) make the Text area input it's own component. For this verification PR, I the only remaining task is to rename |
@natalia-fitzgerald Updated with the new sidemenu titles. Checkout the preview link. |
@shindigira @billhimmelsbach or @meissadia what are your thoughts on making Text area a separate component in the DSR? Text input and Text area input both live under "Text inputs" (same page) in the DS. If we decide to do that we can go ahead and open a ticket since this will be needed for the forms work we will likely be doing. |
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.
@shindigira
This looks good. Nice work!
Will merge in after approval. |
Addressed by @natalia-fitzgerald
closes #239
The TextInput component was already dev verified #239.
Final Design Review of TextInput Component
Verify TextInput component to be used in the component library
Link: https://deploy-preview-279--cfpb-design-system-react.netlify.app/?path=/docs/components-verified-text-inputs--overview
Context
See https://cfpb.github.io/design-system/components/text-inputs
Verification checklist
For existing components
Verify the CFPB Design System (React) component against the CFPB Design System
#### For new components- [ ] All steps for existing components plus the following steps- [ ] The new component has been added to the CFPB Design System OR- [ ] The CFPB Design System maintainers have been alerted that there is a new component that must be added to the system- [ ] Documentation has been written for the new component (this is not a blocker for moving a component to verified)Run accessibility checks
Verify component unit tests
yarn vitest Button
)Conduct PR review
Verify component