Skip to content

feat(Select): overhaul stories with working controls#29

Merged
garrity-miepub merged 1 commit intomainfrom
feature/select-update
Jan 29, 2026
Merged

feat(Select): overhaul stories with working controls#29
garrity-miepub merged 1 commit intomainfrom
feature/select-update

Conversation

@garrity-miepub
Copy link
Copy Markdown
Contributor

  • Add SelectWithState wrapper to manage selection state internally
  • Create optionsMap with predefined option sets (simple, countries, grouped, withDisabled)
  • Configure working controls for: optionsKey, label, placeholder, size, searchable, disabled, error, hasError, helperText, hideLabel, searchPlaceholder, noResultsText, defaultValue
  • Convert all stories from render functions to args pattern
  • Add variation stories: Default, Searchable, Grouped, WithDisabledOptions, WithError, WithHelperText, Small, Large, Disabled, WithDefaultValue
  • Add showcase stories with controls disabled: AllSizes, States, Controlled
  • Follows established pattern from Pagination, Progress, QuickAction, Radio, SchedulePicker
select-update.mov

- Add SelectWithState wrapper to manage selection state internally
- Create optionsMap with predefined option sets (simple, countries, grouped, withDisabled)
- Configure working controls for: optionsKey, label, placeholder, size, searchable, disabled, error, hasError, helperText, hideLabel, searchPlaceholder, noResultsText, defaultValue
- Convert all stories from render functions to args pattern
- Add variation stories: Default, Searchable, Grouped, WithDisabledOptions, WithError, WithHelperText, Small, Large, Disabled, WithDefaultValue
- Add showcase stories with controls disabled: AllSizes, States, Controlled
- Follows established pattern from Pagination, Progress, QuickAction, Radio, SchedulePicker
@garrity-miepub garrity-miepub marked this pull request as ready for review January 29, 2026 02:47
@garrity-miepub garrity-miepub merged commit 257bcc4 into main Jan 29, 2026
2 of 7 checks passed
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