Skip to content

fix: input space between label, input and descriptions#454

Merged
robsongajunior merged 6 commits into
mainfrom
storybook
Mar 17, 2026
Merged

fix: input space between label, input and descriptions#454
robsongajunior merged 6 commits into
mainfrom
storybook

Conversation

@robsongajunior
Copy link
Copy Markdown
Collaborator

@robsongajunior robsongajunior commented Mar 16, 2026

Adding InputSlot

This change introduces a new Storybook application for component documentation and refactors form input components to use a new InputSlot wrapper for consistent layout. The changes include adding the Storybook infrastructure, creating an InputSlot component, wrapping all form field templates with it, and renaming LabelBlock to Label across the codebase. The changes are well-structured and follow existing patterns.

Problem

In the Console we have a lot of class="flex flex-col sm:max-w-lg w-full gap-2" spread in a bunch of files making dificult to concise code.

Solution

Refactors form input components to use a new InputSlot wrapper for consistent layout.

Storybook

Storybook application for component documentation

@robsongajunior robsongajunior merged commit b24d492 into main Mar 17, 2026
3 checks passed
@robsongajunior
Copy link
Copy Markdown
Collaborator Author

🎉 This PR is included in version 1.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@robsongajunior robsongajunior deleted the storybook branch April 17, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant