Skip to content

feat(toaster): add Toaster organism - #28

Merged
eumaninho54 merged 17 commits into
release/v0.3.0from
feat/organisms-toaster
May 4, 2026
Merged

feat(toaster): add Toaster organism#28
eumaninho54 merged 17 commits into
release/v0.3.0from
feat/organisms-toaster

Conversation

@eumaninho54

Copy link
Copy Markdown
Member

Pull Request

Description

Adiciona o componente Toaster ao design system, seguindo a arquitetura Organism com controller estático (ToasterApi), ViewModel hook, animações Reanimated e suporte a gestos via Gesture Handler.

Type of change

  • 🐛 Bug fix
  • ✨ New component
  • 🎨 Token / style change
  • 📄 Documentation
  • 🔨 Configuration / tooling
  • ♻️ Refactor
  • 💥 Breaking change

Storybook

  • Story created or updated in example/stories
  • All variants and states are covered

Breaking changes

N/A

References

  • ToasterApi.show({ type, title, description?, duration? }) — API imperativa estática
  • ToasterApi.hide() — fecha manualmente
  • 4 tipos: success, error, warning, info
  • Auto-dismiss configurável (default 3000ms)
  • Drag-to-dismiss: arrastar ≥ 40px para baixo fecha; arrastar para cima faz efeito slingshot
  • Botão X para fechar manualmente
  • Entrada com withSpring, saída com withTiming
  • 20 testes passando (ToasterApi, useToasterViewModel, Toaster)
  • Closes #

eumaninho54 and others added 17 commits May 3, 2026 23:07
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ing overshoot on opacity

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Improves touch feedback consistency across Button, RadioButton,
and BottomListModal item components.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Add activeOpacity={0.8} and hitSlop={8} to closeButton for
consistent touch feedback and larger interactive area.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@eumaninho54
eumaninho54 merged commit 88f12b2 into release/v0.3.0 May 4, 2026
2 checks passed
@eumaninho54
eumaninho54 deleted the feat/organisms-toaster branch May 4, 2026 02:51
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.

1 participant