forked from devhatt/pet-dex-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 263 - Atualizar componente TextInput (devhatt#266)
* feat: add functionality to show/hide TextInput field * refactor: include type password to TextInput * fix: rename getType to setType and correct method call parameter * fix: prevent icon from being overlaid and correct use of BEM classes * refactor: delete eslint comment * refactor: update TextInput storybook * refactor: configure stylelint for scss formatting * refactor: emit event when type changes * fix: resolve text overlay issue * fix: update event name to imperative form --------- Co-authored-by: jessicasantosb <[email protected]>
- Loading branch information
1 parent
6e2835c
commit 18e6b81
Showing
7 changed files
with
101 additions
and
52 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ export default { | |
assetUrl: {}, | ||
assetPosition: {}, | ||
variation: {}, | ||
type: { control: 'text', default: '' }, | ||
}, | ||
}; | ||
|
||
|
@@ -23,3 +24,9 @@ export const Default = { | |
placeholder: '[email protected]', | ||
}, | ||
}; | ||
|
||
export const Password = { | ||
args: { | ||
type: 'password', | ||
}, | ||
}; |