Thanks to all contributers who improved notistack by opening an issue/PR.
@molynerd: Add support to update content of snackbar in place #50
@jgodi: Allow snackbar children to be of type function #114
@YBogomolov
- Add support for multiple action buttons #107
@jhrinoa @ds009 @lukejagodzinski
- Add support for
ref
usingReact.forwardRef
#84 - Add
hoist-non-react-statics
#111 - Capitalise - Rename
withSnackbarProps
interface toWithSnackbarProps
. #109
Thanks to all contributers who improved notistack by opening an issue/PR.
@Methuselah96 @VincentLanglet
- Remove duplicate
ClassNameMap
fromindex.d.ts
#104
Thanks to all contributers who improved notistack by opening an issue/PR.
@ecwyne @Lukas-Kullmann
- Completely deprecate and delete
onPresentSnackbar
method. - Add support for hooks
useSnackbar
#83 - Add
displayName
to components exported bywithSnackbar
HOC #100
Thanks to all contributers who improved notistack by opening an issue/PR.
@amakhrov
- Fix typing for
iconVariant
props #91
Thanks to all contributers who improved notistack by opening an issue/PR.
@cwbuecheler @mpash @khhan1993 @Fs00 @martinmckenna
- Rename
InjectedSnackbarProps
towithSnackbarProps
in type definitions #59 - Add new prop
dense
to allow dense margins for snackbars (suitable for mobiles) #58 - Improve performance and prevent unnecessary child re-rendering #39
Thanks to all contributers who improved notistack by opening an issue/PR.
@mckernanin @butchmarshall @VincentLanglet @oliviertassinari
- Move
classnames
andprop-types
todependencies
#72 - Add option to
preventDuplicate
snackbars from getting into the queue. #67 - Add option to
persist
a notification until dismissed #42 - Add persist option and call
onClose
callback withreason: maxsnack
when a snackbar is dismissed due to reaching maxSnack #62
Thanks to all contributers who improved notistack by opening an issue/PR.
@zsh1313 @james-cordeiro @xiromoreira
Thanks to all contributers who improved notistack by opening an issue/PR.
@james-cordeiro @steinbergh @sethduncan @martinmckenna
- Allow snackbar messages of type node to be passed in enqueueSnackbar #34
- Allow snackbars with different heights to be stacked without overlapping on others #35
- Improve typings #37
- Fix issue where we couldn't add custom variant icon of type string (like emojies).
Thanks to all contributers who improved notistack by opening an issue/PR.
@nowaalex @nocksapp @nijk @ysgk
- Add support for
onExited
andonClose
props. #21 - Add support to pass
children
viaenqueueSnackbar
. #23 - Support for enqueueing multiple snackbars at once. #14
- Fix bug "Uncaught Error". #26
Thanks to all contributers who improved notistack by opening an issue/PR.
@BornaP @pantharshit00
- Fix bug where user couldn't apply css classes to mui-Snackbar
classes.root
. #11 - Smaller default icon variants so they don't make snackbars larger in height.
- Remove material-ui Typography
v2
warnings. #19
-
More customisation:
- New prop hideIconVariant to hide iconVariant.
- Set variant of a snackbar to default, (which is the default value) and you'll have a naked snackbar ready to be customised.
- Using classes property, specify the styles applied to snackbars when variant is set to success, error, warning or info,
-
Support for actions:
- Add action to all of the snackbars, or an individual snackbar.
-
New feature:
- Customise snackbars individually, by options parameter of enqueueSnackbar method.