Add new InputGroup compound component with Addon, Suffix, and Button support#249
Open
pedromenezes1 wants to merge 1 commit intocloudflare:mainfrom
Open
Add new InputGroup compound component with Addon, Suffix, and Button support#249pedromenezes1 wants to merge 1 commit intocloudflare:mainfrom
pedromenezes1 wants to merge 1 commit intocloudflare:mainfrom
Conversation
b348d28 to
86e9d5d
Compare
092bd90 to
9098d74
Compare
Add compound component pattern with InputGroup.Input, InputGroup.Addon, InputGroup.Button, and InputGroup.Suffix sub-components. Features: - Addon supports align='start' or align='end' for positioning - Button can be placed inside Addon (compact) or as direct child (full-height flush) - Suffix renders text that flows seamlessly next to typed value - Size variants (xs, sm, base, lg) cascade to all children - Flush button extends beyond container to cover ring on focus Includes documentation page with demos and behavior-focused unit tests.
9098d74 to
91cc513
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
New
InputGroupcompound component for building inputs with icons, addons, inline suffixes, and action buttons.Includes documentation page with demos and unit tests.
Features
align="start"oralign="end".workers.dev)xs,sm,base,lgsizes that apply to the entire groupAll features can be combined together.
Sub-components
InputGroup.InputInputGroup.AddonInputGroup.ButtonInputGroup.Suffix