it's a low-level transition component which renders children in a vertical stack, and animates children as the dynamically enter or leave the stack, it's a necessary precursor to toastlayer. mtransitionstack docs. most users will never touch mtransitionstack, they will only interact with it through mtoastlayer.
it's a high-level opinionated component similar to the other layer components like MModalLayer, MBladeLayer, MDialogLayer, etc. you mount it somewhere in the root of an app and then opened toasts are rendered in this layer. this is how most users will setup toast support in their apps. mtoastlayer docs
it's a low-level unopinionated container for wrapping toast content, precursor to the eventual opinionated MToast and useful for building custom toasts. most users will probably not touch this, and will only interact with it through mtoast. mbread docs
it's an interactive toasts playground that engs, designers, and product people can mess around with to decide on how toasts should look and function by default within Maker.
this pr is the 2nd pr of a 4-part pr series:
what is MTransitionStack?
it's a low-level transition component which renders children in a vertical stack, and animates children as the dynamically enter or leave the stack, it's a necessary precursor to toastlayer. mtransitionstack docs. most users will never touch mtransitionstack, they will only interact with it through mtoastlayer.
what is MToastLayer? (THIS PR)
it's a high-level opinionated component similar to the other layer components like MModalLayer, MBladeLayer, MDialogLayer, etc. you mount it somewhere in the root of an app and then opened toasts are rendered in this layer. this is how most users will setup toast support in their apps. mtoastlayer docs
what is MBread? (THIS PR)
it's a low-level unopinionated container for wrapping toast content, precursor to the eventual opinionated MToast and useful for building custom toasts. most users will probably not touch this, and will only interact with it through mtoast. mbread docs
what is MToast?
it's a high-level opinionated component for rendering toasts. most users will use this for most of their use-cases. mtoast docs.
what is the Toasts Lab for?
it's an interactive toasts playground that engs, designers, and product people can mess around with to decide on how toasts should look and function by default within Maker.