Skip to content

Conversation

@GomezIvann
Copy link
Collaborator

@GomezIvann GomezIvann commented Nov 8, 2022

Checklist
(Check off all the items before submitting)

  • Build process is done without errors and all tests pass in the /lib directory.
  • Self-reviewed the code before submitting.
  • Meets accessibility standards.
  • Added/updated documentation to /website as needed.
  • Added/updated tests as needed.

Description
Summary:

  • Change File Input's button size to fitContent in file mode.
  • Updated stories of the File Input component to try to solve chromatic snapshot testing issues regarding each file item's delete button states.
  • Minor code refactors and styling improvements.
  • Include localization for Delete file action aria-label and title.

Closes #1082 and #760

@GomezIvann GomezIvann changed the title Fix File Input button size, stories updated & small code refactors File Input button size, stories update & small code refactors Nov 8, 2022
@GomezIvann GomezIvann changed the title File Input button size, stories update & small code refactors File Input button size, stories update and small code refactors Nov 8, 2022
@GomezIvann GomezIvann marked this pull request as ready for review November 10, 2022 11:35
@raquelarrojo raquelarrojo self-requested a review November 10, 2022 11:46
@raquelarrojo raquelarrojo self-assigned this Nov 10, 2022
@raquelarrojo raquelarrojo merged commit c18d61a into master Nov 10, 2022
@raquelarrojo raquelarrojo deleted the gomezivann-fileInput-fix branch November 10, 2022 12:56
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.

[File-Input] Button size is not fitting the custom label [Chromatic] File input hover, focus and active tests are not working fine

3 participants