siemens / ix

Siemens Industrial Experience is a design system for designers and developers, to consistently create the perfect digital experience for industrial software products.
https://ix.siemens.io/
MIT License
207 stars 68 forks source link

Toast: missing properties in documentation #157

Closed silviowolf closed 1 year ago

silviowolf commented 1 year ago

I'm submitting a...


[x] Bug report
[ ] Feature request
[ ] Documentation issue or request

Current behavior

Documentation of the toast properties seems to be missing.
https://ix.siemens.io/docs/controls/toast

danielleroux commented 1 year ago

In this case we need a better documentation for the toast-utils (https://github.com/siemens/ix/blob/main/packages/core/src/components/toast/toast-utils.ts)

This implementation is different for each framework

angular: https://github.com/siemens/ix/blob/main/packages/angular/src/toast/toast.service.ts react: https://github.com/siemens/ix/blob/main/packages/react/src/toast/toast.ts

This does also affect modal-utils and tree

danielleroux commented 1 year ago

As discussed with ux/ui we use tabs under an "how to use" section:

Image

/cc @goncalosard @nuke-ellington