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
120 stars 14 forks source link

[component]: Search (header) #3632

Open gfellerph opened 2 weeks ago

gfellerph commented 2 weeks ago

Create a standalone header search component. The current implementation (https://github.com/swisspost/design-system/tree/main/packages/internet-header/src/components/post-search) relies on a config file, the new search component should be independent of the config.

Design

https://www.figma.com/design/JIT5AdGYqv6bDRpfBPV8XR/Foundations-%26-Components-Next-Level?node-id=2908-36738&t=saHtog1amMMrG60S-4

Requirements

Reference

image

### Tasks
- [ ] Create the `<post-search>` component
- [ ] Document this component in storybook
- [ ] Add e2e tests
- [ ] Add unit tests
- [ ] Add visual regression tests
- [ ] Design review
gfellerph commented 2 weeks ago

Possible naming:

gfellerph commented 1 week ago

Cargo will use only a link to the search page, no coveo, track & trace or other integration.