All Versions
55
Latest Version
Avg Release Cycle
16 days
Latest Release
-

Changelog History
Page 2

  • v1.0.4 Changes

    February 23, 2021
    • @tarazena: Export missing SnackbarContent for TypeScript #354
  • v1.0.3 Changes

    to be published
    • @pctestjfarz: Add swipe to dismiss feature #138
    • @molynerd: Add support to update content of snackbar in place #50
  • v1.0.2 Changes

    to be published
    • @pctestjfarz: Add swipe to dismiss feature #138
    • @molynerd: Add support to update content of snackbar in place #50
  • v1.0.1 Changes

    to be published
    • @pctestjfarz: Add swipe to dismiss feature #138
    • @molynerd: Add support to update content of snackbar in place #50
  • v1.0.0 Changes

    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',
          },
        },
      },
    });
    
  • v0.9.18 Changes

    to be published
    • @pctestjfarz: Add swipe to dismiss feature #138
    • @molynerd: Add support to update content of snackbar in place #50
    • @david-chau: Allow asc, desc or custom sort order of snackbars #160
  • v0.9.17 Changes

    June 10, 2020
    to be published
    • @pctestjfarz: Add swipe to dismiss feature #138
    • @molynerd: Add support to update content of snackbar in place #50
    • @david-chau: Allow asc, desc or custom sort order of snackbars #160
  • v0.9.16 Changes

    May 17, 2020
    May 17, 2020
    • @lukawsk: Allow autoHideDuration be null #273
  • v0.9.15 Changes

    May 17, 2020
    to be published
    • @pctestjfarz: Add swipe to dismiss feature #138
    • @molynerd: Add support to update content of snackbar in place #50
    • @david-chau: Allow asc, desc or custom sort order of snackbars #160
  • v0.9.14 Changes

    May 15, 2020
    to be published
    • @pctestjfarz: Add swipe to dismiss feature #138
    • @molynerd: Add support to update content of snackbar in place #50
    • @david-chau: Allow asc, desc or custom sort order of snackbars #160