Decathlon / vitamin-web

Decathlon Design System UI components for web applications
https://decathlon.github.io/vitamin-web
Apache License 2.0
282 stars 76 forks source link

feat(`@vtmn/react`, `@vtmn/vue`): timeout enhancement #1483

Closed Tlahey closed 8 months ago

Tlahey commented 9 months ago

Changes description

Refer to https://github.com/Decathlon/vitamin-web/issues/1482

Context

Enhancement of the timeout, it is now possible to set a timeout form 0 to Infinity

Update the VtmnAlert / VtmnSnackbar / VtmnToast on React / Vue in order to match the Svelte logic. Also update the storybook.

Checklist

Does this introduce a breaking change?

Other information

Tlahey commented 8 months ago

Thanks @lauthieb & @thibault-mahe I've done the changes + more clean on the component on another commit on the PR Let me know ^^