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 189 - Ajuste no espaçamento do padding e criação de storie do c…
…omponente (devhatt#203) * fix: adjusting input text position and padding * fix: changing homepage view back to default * feat: creating text input component * fix: adjusting input text colors to match with colors archive * fix: adjusting text input padding and position * fix: changing colors style to match with reference archive * feat: create text input storie * fix: adjusting padding and font to match with the reviews * fix: adding the correct color to the input text * fix: adjusting prefix and suffix common props * fix: removing test comment * feat: code-style (devhatt#213) Aproved by me, reclama dps * feat: drawer component (devhatt#191) * feat: drawer component * fix: transition logic * fix: mobile drawer * chore: commitlint/cz-commitlint * feat: swipe animation for mobile * refactor: rip lil-x and lil-line, refactor improve code length * fix: minor changes * refactor: now emits change events * fix: if the screen is bigger than drawer component * fix: minor changes * fix: color drawer__title * fix: color name change * feat: transition drawer * fix: make compatible with new design * fix: content will have scroll bar if necessary * fix: prettier * fix: revert changes on prettierrc * fix: resolve pnpm-lock conflicts * fix: slint error in scss archive --------- Co-authored-by: juliaM <35346206+juliaam@users.noreply.github.com> Co-authored-by: Rafael Lima <132157467+RafaelLimaC@users.noreply.github.com>
- Loading branch information
1 parent
73f7339
commit ea7cc02
Showing
4 changed files
with
60 additions
and
20 deletions.
There are no files selected for viewing
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
Empty file.
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import TextInput from '../components/TextInput/index'; | ||
|
||
export default { | ||
title: 'components/TextInput', | ||
|
||
render: (args) => { | ||
const input = new TextInput(args); | ||
const $container = document.createElement('div'); | ||
input.mount($container); | ||
|
||
return $container; | ||
}, | ||
argTypes: { | ||
placeholder: { control: 'text', default: '' }, | ||
assetUrl: {}, | ||
assetPosition: {}, | ||
variation: {}, | ||
}, | ||
}; | ||
|
||
export const Default = { | ||
args: { | ||
placeholder: 'email@petdex.com.br', | ||
}, | ||
}; |