swisspost / design-system

The Swiss Post Design System pattern library for a consistent and accessible user experience across the web platform.
https://design-system.post.ch
Apache License 2.0
119 stars 14 forks source link

[component]: Select #3271

Open Cian77 opened 1 month ago

Cian77 commented 1 month ago

Description

Create a HTML/CSS component using the current markup that implements as many features as possible from the new Design. Remove any dependencies on bootstrap for this component. This is done for backwards compatibility reasons. The current structure will eventually be deprecated. These styles will give us the necessary time to come up with a solid input component strategy.

Open issues:

Design:

Tokens:

Design

https://www.figma.com/design/JIT5AdGYqv6bDRpfBPV8XR/Foundations-%26-Components-Next-Level?node-id=21-183

Tokens

Tasks

### 💻 Tasks
- [x] Review figma design (states complete, ability to implement)
- [ ] HTML/CSS implementation
- [ ] Remove any references to bootstrap
- [ ] Remove any unused variables for this component
- [ ] Variants: single select, multiselect (design not in figma, style manually, will be like a list box)
- [ ] Documentation in Storybook
- [ ] Visual regression tests
- [ ] Design review
gfellerph commented 1 month ago

Implement styles as close as possible, a ticket for a custom select web component will follow. -> #3350