swisspost / design-system

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

[component]: Search input #3696

Open Cian77 opened 1 month ago

Cian77 commented 1 month ago

Description

No response

Design

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

Tokens

Token proposal

For the rest, reuse the token from the text input:

Requirements

Tasks

### 💻 Tasks
- [ ] https://github.com/swisspost/design-system/issues/3270
- [x] Review Design (All states present? Possible to implement?)
- [ ] HTML/CSS implementation
- [ ] Documentation in Storybook
- [ ] Visual regression tests
- [ ] Design review
Vandapanda commented 2 days ago

@alionazherdetska Component is tokenized and reused input tokens where possible. Added new inline end paddings and a gap as we got 2 icons here. Also added you a border radius for the icons as suggested above. Let me know if you want them named controls instead of icon. If there are any questions let me know.

alizedebray commented 2 days ago

Resolution: