Fix: correção de componente Text, Input e Button #37
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Componentes afetados
Text
Input.Icon
Input.Root
Button.Root
Descrição
Algumas pequenas correções e adições de algumas props em componentes.
Input.Icon - Adicionado o type='button' para evitar o submit de formulários ao ciclar
Input.Root - Adicionado à variant status a opção 'default'
Button.Root - Adicionado à variant full a opção false, tornando o width 'fit-content' evitando que o botão ocupe toda a tela dentro de um display flex-col
Text - Adicionar o estilo font-size 'inherit' para seguir o tamanho de fonte de acordo com o container e evitar o padrão css de 1rem independente do container
Text - Adicionada a prop 'inline' que permite colocar ícones alinhados ao lado de textos dentro da tag Text (beta)