Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

feat(input): implement password input #947

Merged
merged 9 commits into from
Feb 22, 2022

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Feb 8, 2022

Related Ticket(s)

#305
#942
carbon-design-system/carbon-for-ibm-dotcom#9769

Description

This PR updates the input component so that input type="password" together with the show-password-visibility-toggle being set to true will enable the Carbon password input styles

Confirm that the password input appears and functions as expected (Note that the tooltip on hover and focus of the password visibility toggle button is blocked by carbon-design-system/carbon-for-ibm-dotcom#9770)

image

image

image

image

Changelog

New

  • show-password-visibility-toggle prop

Changed

  • default input field size (md instead of lg now)

@emyarod emyarod force-pushed the 305-feat/password-input branch from 052758a to c774f07 Compare February 8, 2022 21:33
@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Feb 8, 2022

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Feb 8, 2022

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Feb 8, 2022

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Feb 8, 2022

@emyarod emyarod marked this pull request as ready for review February 9, 2022 20:38
@emyarod emyarod requested a review from a team as a code owner February 9, 2022 20:38
@emyarod emyarod force-pushed the 305-feat/password-input branch 2 times, most recently from 88ea3ef to 46de57d Compare February 21, 2022 16:52
Copy link

@RichKummer RichKummer left a comment

Choose a reason for hiding this comment

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

Looks good @emyarod!

Copy link
Member

@kennylam kennylam left a comment

Choose a reason for hiding this comment

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

Thanks @emyarod!

@kodiakhq kodiakhq bot merged commit 1d74a21 into carbon-design-system:main Feb 22, 2022
@emyarod emyarod deleted the 305-feat/password-input branch March 1, 2022 16:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants