Background & goal
In T343451: Component's guidelines: move the existing DSG component's guidelines to Codex we moved the existing component's guidelines from the DSG to Codex. We will also need to create the design guidelines for all new components created in Codex after the DSG was created, since these components don't have any design guidelines created yet. These components are:
- Accordion
- Card
- ChipInput
- Field
FilterChip(not needed as of now)- Icon
- InfoChip
- Label
- Lookup
- Menu
- MenuItem
- ProgressBar
- SearchInput
- Tabs
- Tab
- TextArea
- Thumbnail
- ToggleButton
- ToggleButtonGroup
- TypeaheadSearch
Open questions
- Do we want to represent in the guidelines just the MVP version (as we implemented) or all the future variants/properties of the component?
- A: Only the current variants/properties are represented.
Documentation
You can find all the editable images in this Figma file
Acceptance criteria
Design and documentation:
- Create guidelines for all new Codex components that were not documented in the DSG (the ones in the list above) in this doc
- When adding the guidelines, we also need to re-evaluate the top-level description of each component. Right now, some of them include details relevant only to the Vue implementation. See T347345
Code:
- Include the following components guidelines in Codex:
Tackled in https://gerrit.wikimedia.org/r/c/design/codex/+/958585:
- Accordion
- Card
- ChipInput
Tackled in https://gerrit.wikimedia.org/r/c/design/codex/+/961705:
- Field
- Icon
- InfoChip
Tackled in https://gerrit.wikimedia.org/r/c/design/codex/+/963266:
- Label
- Lookup
- Menu
- Minor fixes in https://gerrit.wikimedia.org/r/c/design/codex/+/963660
Tackled in https://gerrit.wikimedia.org/r/c/design/codex/+/963416
- MenuItem
- ProgressBar
- SearchInput
Tackled in https://gerrit.wikimedia.org/r/c/design/codex/+/963418
- Tabs
- Tab
- TextArea
- Thumbnail
Tackled in https://gerrit.wikimedia.org/r/c/design/codex/+/963412
- ToggleButton
- ToggleButtonGroup
- TypeaheadSearch