Skip to content
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

[Component] Verify TextInput Component #256

Merged
merged 8 commits into from
Dec 4, 2023
Merged

[Component] Verify TextInput Component #256

merged 8 commits into from
Dec 4, 2023

Conversation

shindigira
Copy link
Contributor

@shindigira shindigira commented Nov 28, 2023

Closes #239

Changes

  • Simplified the TextInput component to an atom, removed baked-in Notification
  • Updated Storybook description to match CFPB design
  • Updated Storybook stories to match CFPB TextInput examples
  • Verified markup is identical to the DS examples

Verification Checklist

See #239 For Verification Checklist

Accessibility Tests (WAVE)

Screenshot 2023-11-28 at 3 39 03 PM

How to test this PR

  1. yarn test TextInput

Screenshots

Screenshot 2023-11-28 at 3 42 38 PM

Changes:

- Moved the Label component into the verified state
- Changed various references to use Label instead of label
Changes:

  - Simplified the TextInput component to an atom, removed baked-in Notification
  - Updated Storybook description to match CFPB design
  - Updated Storybook stories to match CFPB TextInput examples
Copy link

netlify bot commented Nov 28, 2023

Deploy Preview for cfpb-design-system-react ready!

Name Link
🔨 Latest commit 76d669f
🔍 Latest deploy log https://app.netlify.com/sites/cfpb-design-system-react/deploys/656e0d82b325ec00082846ee
😎 Deploy Preview https://deploy-preview-256--cfpb-design-system-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@shindigira shindigira changed the title [Component] Verify Label Component [Component] Verify TextInput Component Nov 28, 2023
Copy link
Contributor

@meissadia meissadia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing the Button inside text input with another button story, was this intentionally excluded?

@shindigira
Copy link
Contributor Author

shindigira commented Nov 29, 2023

Missing the Button inside text input with another button story, was this intentionally excluded?

Updated.

Copy link
Contributor

@meissadia meissadia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple cleanup ideas.

src/components/TextInput/TextInput.stories.tsx Outdated Show resolved Hide resolved
src/components/TextInput/TextInput.stories.tsx Outdated Show resolved Hide resolved
src/components/TextInput/TextInput.stories.tsx Outdated Show resolved Hide resolved
src/components/TextInput/TextInput.stories.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@meissadia meissadia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates, looks good! 👍🏾

@shindigira shindigira merged commit e37d2e9 into main Dec 4, 2023
7 of 9 checks passed
@shindigira shindigira deleted the 239-textinput branch December 4, 2023 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task] Verify TextInput Component
2 participants