Repository navigation
Conversation
Three new components for overlay/search/multi-select patterns: - XDSPopover: Click/hover-triggered popover using Popover API + CSS Anchor Positioning. Supports controlled/uncontrolled, placement, alignment, and focus trapping. Delegates hover trigger to XDSHoverCard. - XDSTypeahead: Single-select search dropdown with XDSField integration. XDSBaseTypeahead provides the unstyled combobox engine (keyboard nav, ARIA, search source interface). XDSTypeaheadItem renders dropdown items. - XDSTokenizer: Multi-select typeahead with XDSToken chips. Supports maxEntries, clear all, backspace-to-remove, and change metadata (add/remove/reorder) in the onChange callback. Includes: - 37 tests across all three components (9 + 13 + 15) - Storybook stories for each component - READMEs for Typeahead and Tokenizer modules - Barrel exports from @xds/core Co-authored-by: Navi <[email protected]>
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR New ComponentsTokenizer · View in Storybook
Typeahead · View in Storybook
Modified ComponentsLayer
Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Component PreviewsIncludes interactive hover previews as animated GIFs. XDSTokenizerDefaultScreenshot: Interaction Preview: (view video) View in Storybook · XDSTypeaheadDefaultScreenshot: Interaction Preview: (view video) View in Storybook · Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
Contributor
Author
|
Popover:
Tokenizer:
Typeahead:
|
Popover: - Add default padding matching HoverCard - Add entry animation matching HoverCard - Make popover heading focusable for initial focus Typeahead: - Fix backspace bug: can't clear last character of selected value - Add checkmark + bold text for selected items (selector pattern) - Add status border styles (error/warning/success) - Show selected value as Token, free text in secondary color - Add WithWarning and WithSuccess stories Tokenizer: - Preserve keyboard focus at max entries (input stays in DOM) - Add status border styles (error/warning/success) - Compact input width when tokens are present - Add WithWarning and WithSuccess stories Tests updated to match new behavior.
This was referenced Feb 23, 2026
Contributor
Author
|
This PR has been split into two for faster landing:
Closing this in favor of the split PRs. |
Contributor
Author
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.
Summary
Three new components for overlay, search, and multi-select patterns.
XDSPopover
Click/hover-triggered popover using the Popover API + CSS Anchor Positioning. Supports controlled/uncontrolled mode, placement, alignment, focus trapping, and custom widths. Hover trigger delegates to XDSHoverCard.
XDSTypeahead
Single-select search dropdown.
XDSBaseTypeaheadprovides the unstyled combobox engine (keyboard navigation, ARIA, search source interface).XDSTypeaheadwraps it with XDSField for label, description, validation, and status.XDSTypeaheadItemrenders dropdown items with optional icon/secondary text.XDSTokenizer
Multi-select typeahead with XDSToken chips. Supports
maxEntries, clear all, backspace-to-remove, and change metadata (add/remove/reorder) in the onChange callback.What's Included
@xds/coreTest Results
Crafted with care by Navi