sl-design-system / components

SL Design System
https://sanomalearning.design/
Apache License 2.0
43 stars 4 forks source link

[V1] Combobox #258

Open DanielleRameau opened 1 year ago

DanielleRameau commented 1 year ago

Combobox

A combobox is a UI component that combines a text input field with a dropdown list, allowing users to select single or multiple options from a predefined list. It is beneficial when there are many options to choose from.

When users type into a combobox, autocomplete instantly suggests matching options from the list. This speeds up the selection process, guiding users to the right choice effortlessly.

Key Points

Elements

combobox-anatomy

Combobox Field

Combobox Dropdown

Behaviours

combobox-autocomplete combobox-cluster_options combobox-add_option combobox-display_selection

Tags

States

Sizes

Variants

Type

Behaviour

Keyboard Navigation When the tag is focused, you can take these actions.

### Requirements
- [ ] Groups with divider
- [ ] Autocomplete in a list box
- [ ] Clustering selections at the top
- [ ] Create a new option
### Tasks
- [ ] https://github.com/sl-design-system/components/issues/1388
- [ ] https://github.com/sl-design-system/components/issues/1386
- [ ] https://github.com/sl-design-system/components/issues/1387
- [x] [Tags] First draft of documentation
- [ ] https://github.com/sl-design-system/components/issues/1442
- [ ] https://github.com/sl-design-system/components/issues/1154
- [ ] https://github.com/sl-design-system/components/issues/1155
- [ ] https://github.com/sl-design-system/components/issues/1156
- [ ] https://github.com/sl-design-system/components/issues/1157
- [ ] https://github.com/sl-design-system/components/issues/1158
- [ ] https://github.com/sl-design-system/components/issues/1295
- [ ] https://github.com/sl-design-system/components/issues/1598
- [ ] https://github.com/sl-design-system/components/issues/1604

CFA Interest

arecuenco-dsgn commented 4 months ago

Input (Kampus)

MultiSelect variant of Select component that we would need:

Screenshots

Image Image Image Image Image

anna-lach commented 4 months ago

Tag component findings:

Tag component.pdf

Some of them can be useful for the ver. 2 of the component, like:

Diaan commented 3 months ago

https://role-components-git-konnorrogers-650642-konnor-rogers-projects.vercel.app/components/combobox/#list-autocomplete-combobox