New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

notistack

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

notistack - npm Package Versions

1
46
11

1.0.4

Diff
iamhosseindhv
published 1.0.4 •

Changelog

Source

notistack@1.0.4

February 23, 2021
  • @tarazena: Export missing SnackbarContent for TypeScript #354
<br />
iamhosseindhv
published 1.0.4-alpha.0 •
iamhosseindhv
published 1.0.3 •

Changelog

Source

notistack@1.0.3

December 23, 2020
  • @gregorysl @lephleg @joaogardenberg Add support for React 17 #339
<br />
iamhosseindhv
published 1.0.3-alpha.0 •
iamhosseindhv
published 1.0.2 •

Changelog

Source

notistack@1.0.2

November 26, 2020
  • Add support for MUI v5 #333
<br />
iamhosseindhv
published 1.0.1 •

Changelog

Source

notistack@1.0.1

October 6, 2020
  • @thierrysantos: EnqueueSnackbar supports snackbar with key zero #318
  • Fix various typescript inconsistencies #319
<br />
iamhosseindhv
published 1.0.0 •

Changelog

Source

notistack@1.0.0

August 22, 2020
  • Drop SnackbarContent component and ContentProps props #297
Breaking Changes
  • className prop is now used to customise styles applied to the content of snackbar (e.g. backgroundColor).
  • If you were using className to apply styles to Snackbar component, you should now do so using classes.root.
<SnackbarProvider
-  className={classes.snackbar}
+  classes={{
+    root: classes.snackbar
+  }}
>
  • ContentProps prop is not supported anymore. Here are alternative ways to pass the same data to snackbar component. For any other scenario, you should pass you own custom content.
<SnackbarProvider
-  ContentProps={{
-    action: () => <button>dismiss</button>,
-    'aria-describedby': 'some-value',
-  }}
+  action={() => <button>dismiss</button>}
+  ariaAttributes={{
+    'aria-describedby': 'some-value'
+  }}
>
  • If you have customised MuiSnackbarContent through Material-UI theme object, these changes won't automatically reflect within notistack. You can however, use className prop to apply your customisations.
const theme = createMuiTheme({
  overrides: {
    // no effect within notistack
    MuiSnackbarContent: {
      root: {
        fontSize: '1rem',
      },
    },
  },
});
<br />
iamhosseindhv
published 0.9.17 •

Changelog

Source

notistack@0.9.17

June 10, 2020
  • Bug fix and improvments #277
  • Alternative for Object.entries to better support IE 11 compat #284
<br />
iamhosseindhv
published 0.9.16 •

Changelog

Source

notistack@0.9.16

May 17, 2020
  • @lukawsk: Allow autoHideDuration be null #273
<br />
iamhosseindhv
published 0.9.15 •

Changelog

Source

notistack@0.9.15

May 17, 2020
  • @nebojsanb: Fix bug with displaying snackbars #270
  • @nebojsanb: Improve bundle size by removing react-is dependency #272
<br />