react-spectrum
b2a4bda4 - feat: S2 SelectBox (#8541)

Commit
115 days ago
feat: S2 SelectBox (#8541) * S2 SelectBox initial implementation * Added tests and fixed linting * updated tests to remove styles * selectbox refactor and tests refactor * stories changes and various edits * replaced aria components with a gridlist * fixed borders and redid stories/tests * removed extraneous overrides and isEmphasized prop * lint and removed XS * test-utils-internal swap * test-utils-internal swap * swapped useId library * swapped to listbox * added additional props and removed s2 checkbox * revised tests, added additional props, swapped to UI checkmark to avoid accessibility issues * adjusted illustration size * removed the sizing and fixed various alignment issues. replaced checkbox behavior * fixed group disabled checkbox issue * pruned styles * fixed label overflow, description still remaining * moved selectbox into same file, reworked grid, addressed various gh comments * s2(SelectBoxGroup): center label in horizontal layout when only label is present * s2(SelectBoxGroup): support [DEFAULT_SLOT] as label styles for text-only children * removed extra story and count check --------- Co-authored-by: Daniel Pandyan <dpadbe@work.local>
Author
Parents
Loading