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
106 stars 13 forks source link

Optimize Chip #1124

Closed wueestd closed 6 months ago

wueestd commented 1 year ago

https://www.figma.com/file/xZ0IW0MJO0vnFicmrHiKaY/Components?node-id=10370%3A49294&t=siEMKepaonFnEEmr-1

wueestd commented 1 year ago

please review @Cian77

Cian77 commented 1 year ago

See comments on page

wueestd commented 1 year ago

thanks for the comments, I worked it trough. could you please have another look at it @Cian77 ?

wueestd commented 1 year ago

@rouvenpost could you please have a look at the accessible new states: https://www.figma.com/file/xZ0IW0MJO0vnFicmrHiKaY/Components-Post?type=design&node-id=10370%3A49289&t=ffaFCQYrNuXRLTzt-1

I have created interactive prototypes

wueestd commented 1 year ago

Input Rouven: Dark mode

wueestd commented 1 year ago

could you please check the Figma implementation and the accessibility requirements @Cian77 🙏

wueestd commented 11 months ago

also some changes here @gfellerph

gfellerph commented 11 months ago

we decide that we go with the names filter and disamissable for the moment. as soon as we define the usage of the dismissable chip, a renaming can be a option

Cian77 commented 11 months ago

@rouvenpost AX-Check nötig

wueestd commented 11 months ago
wueestd commented 10 months ago

@gfellerph review differences

gfellerph commented 10 months ago

@oliverschuerch, @alizedebray, @imagoiq please take over.

imagoiq commented 10 months ago

Here are the differences between the Chip component and his sibling, the Badge component.

Architecture

Filter type styles to change

General

Per variant

Big/default

Small

Hover

Disabled and not selected

Disabled and selected

Focused

Counter/nested badge

Every variant

Big

Small

Hover

Disabled and not selected

Disabled and selected

Input type styles to change

Per variant

Small

Hover + Focused

imagoiq commented 8 months ago

Dev tasks: https://github.com/swisspost/design-system/issues/1864

wueestd commented 8 months ago

UX tasks: