From 54acc22077ca58234295276f6ed6d4940353cc01 Mon Sep 17 00:00:00 2001 From: Hossein Dehnokhalaji Date: Sun, 25 Jul 2021 22:20:18 +0100 Subject: [PATCH] Release v1.0.10 (#413) * Update CHANGELOG * 1.0.10 --- CHANGELOG.md | 6 ++++++ package-lock.json | 2 +- package.json | 2 +- src/SnackbarContainer.tsx | 3 +-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e3275ec..0c20b55a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ Thanks to all contributers who improved notistack by opening an issue/PR. +### `notistack@1.0.10` +###### July 25, 2021 +* **@joshkel** Support Collapse with root and container class keys [#408](https://github.com/iamhosseindhv/notistack/pull/408) + +
+ ### `notistack@1.0.9` ###### May 19, 2021 * **@SimonAmphora** Remove the need to use `!important` to customise variant styles [#215 (comment)](https://github.com/iamhosseindhv/notistack/issues/215#issuecomment-700060481) diff --git a/package-lock.json b/package-lock.json index c1b5fe31..52f64c94 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "notistack", - "version": "1.0.9", + "version": "1.0.10", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index a2d88e2c..a7ee6f5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "notistack", - "version": "1.0.9", + "version": "1.0.10", "description": "Highly customizable notification snackbars (toasts) that can be stacked on top of each other", "main": "dist/index.js", "module": "dist/notistack.esm.js", diff --git a/src/SnackbarContainer.tsx b/src/SnackbarContainer.tsx index a0c6cdf9..abd787ed 100644 --- a/src/SnackbarContainer.tsx +++ b/src/SnackbarContainer.tsx @@ -23,7 +23,7 @@ const useStyle = makeStyles((theme) => ({ height: 'auto', width: 'auto', transition: 'top 300ms ease 0ms, right 300ms ease 0ms, bottom 300ms ease 0ms, left 300ms ease 0ms, margin 300ms ease 0ms, max-width 300ms ease 0ms', - // container itself is invisible and should not block clicks, clicks should be passed to its children + // container itself is invisible and should not block clicks, clicks should be passed to its children pointerEvents: 'none', [collapse.container]: { pointerEvents: 'all', @@ -78,7 +78,6 @@ const useStyle = makeStyles((theme) => ({ }, })); - interface SnackbarContainerProps { children: JSX.Element | JSX.Element[]; className?: string;