Background
We need to implement the interactive states in the FilterChip component in order to make it editable when the user is adding/editing them within a FilterChipInput T343474: FilterChipInput: make the FilterChip editable. At the moment, the only interactive element in the chip is the remove's button, so we will need to implement the following missing states in the FilterChip:
- hover
- active
- focus
User stories
- As a user, I need to edit the FilterChipI'm adding in a FilterChipInput.
Known use cases
| There are there 2 FilterChipInputs in User's preferences. The first one is editable while the second one is not editable. | |
Previous implementations
- Codex demo: FilterChip component
- OOUI: TagMultiselect in OOUI
Design spec
Open questions
- When navigating with the keyboard, will both the chip and remove button be in focus? - No, we will keep the focus behavior similar to what's implemented in OOUI, where you can focus on the entire chip but not the button.
Acceptance criteria (or Done)
Design
- Design the Figma spec sheet and add it in this task
- Update the component in the Figma library. This step will be done by a DST member.
Code
- Implement the component's updates in Codex



