@xsolla/xui-b2b-group-select
v0.185.1
Published
B2B grouped multi-select panel: search, category list (left) with checkboxes and counters, and selectable items (right). Intended for dropdown/popover bodies (e.g. regions and countries).
Readme
@xsolla/xui-b2b-group-select
B2B grouped multi-select panel: search, category list (left) with checkboxes and counters, and selectable items (right). Intended for dropdown/popover bodies (e.g. regions and countries).
- Docs: b2b-group-select.md
- Storybook: B2B → Controls → Group select
- Field + panel: pair with
@xsolla/xui-multi-select(dropdownMenu={false}, sharedvalue/onChange); use exportedGROUP_SELECT_MIN_PANEL_WIDTH(540) withmenuMinWidth. - A11y / tests: landmark regions, list semantics, keyboard on category controls, live empty state; unit tests in
src/__tests__/GroupSelect.test.tsx(runyarn test:runin this package). - React 16 / RN:
react >= 16.8;yarn build:webandyarn build:nativeboth target the shared source (see API doc).
