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

Criação do componente de toggle #71

Closed
Alecell opened this issue Feb 5, 2024 · 2 comments · Fixed by #77
Closed

Criação do componente de toggle #71

Alecell opened this issue Feb 5, 2024 · 2 comments · Fixed by #77
Assignees

Comments

@Alecell
Copy link
Contributor

Alecell commented Feb 5, 2024

Describe the feature
O componente de toggle é um switch para ativo e desativo.

Description

O componente de toggle é como um checkbox. Seguir as diretrizes do layout e do material design. https://m3.material.io/components/switch/overview


Use Case

Eu como dev, preciso de um componente que me habilite um evento de ativação e desativação de funcionalidades. Esse componente deve ser visual.


Implementation Details

O componente deve emitir os eventos de ativo e desativado para serem escutados externamente ao componente.

Icones não devem ser suportados.

A "bolinha" deve animar de um lado para o outro e não apenas mudar bruscamente como um "teleporte".


Visual Concepts

Captura de tela 2024-02-05 155013

@Alecell
Copy link
Contributor Author

Alecell commented Feb 5, 2024

Obrigado por abrir a issue

Verifique os nossos guidelines:

@nathalia-84
Copy link
Contributor

Eu quero!!!

nathalia-84 added a commit to nathalia-84/pet-dex-frontend that referenced this issue Feb 17, 2024
nathalia-84 added a commit to nathalia-84/pet-dex-frontend that referenced this issue Feb 17, 2024
nathalia-84 added a commit to nathalia-84/pet-dex-frontend that referenced this issue Feb 27, 2024
nathalia-84 added a commit to nathalia-84/pet-dex-frontend that referenced this issue Feb 27, 2024
nathalia-84 added a commit to nathalia-84/pet-dex-frontend that referenced this issue Feb 28, 2024
nathalia-84 added a commit to nathalia-84/pet-dex-frontend that referenced this issue Feb 28, 2024
nathalia-84 added a commit to nathalia-84/pet-dex-frontend that referenced this issue Mar 8, 2024
nathalia-84 added a commit to nathalia-84/pet-dex-frontend that referenced this issue Mar 8, 2024
nathalia-84 added a commit to nathalia-84/pet-dex-frontend that referenced this issue Mar 15, 2024
nathalia-84 added a commit to nathalia-84/pet-dex-frontend that referenced this issue Mar 15, 2024
diogocaronte pushed a commit that referenced this issue Mar 18, 2024
* feat: Implement toggle component adhering to Material Design with animated switch and external event listeners

fix #71

* feat: Implement toggle component adhering to Material Design with animated switch and external event listeners

fix #71

* Made some adjustments according to reviews

* Write modifiers according to BEM

* Adjust Toggle function

* Solved conflicts

* Make adjustments according to reviews

* Made adjustments according to reviews, changed scss file structure

* Create setToggle function

* Adjust scss and setToggle method structure
DominMFD pushed a commit to DominMFD/pet-dex-frontend that referenced this issue Mar 27, 2024
* feat: Implement toggle component adhering to Material Design with animated switch and external event listeners

fix devhatt#71

* feat: Implement toggle component adhering to Material Design with animated switch and external event listeners

fix devhatt#71

* Made some adjustments according to reviews

* Write modifiers according to BEM

* Adjust Toggle function

* Solved conflicts

* Make adjustments according to reviews

* Made adjustments according to reviews, changed scss file structure

* Create setToggle function

* Adjust scss and setToggle method structure
DominMFD pushed a commit to DominMFD/pet-dex-frontend that referenced this issue Mar 27, 2024
* feat: Implement toggle component adhering to Material Design with animated switch and external event listeners

fix devhatt#71

* feat: Implement toggle component adhering to Material Design with animated switch and external event listeners

fix devhatt#71

* Made some adjustments according to reviews

* Write modifiers according to BEM

* Adjust Toggle function

* Solved conflicts

* Make adjustments according to reviews

* Made adjustments according to reviews, changed scss file structure

* Create setToggle function

* Adjust scss and setToggle method structure
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 a pull request may close this issue.

2 participants