diff --git a/.changeset/proud-cameras-lay.md b/.changeset/proud-cameras-lay.md deleted file mode 100644 index d73bc1d47a2..00000000000 --- a/.changeset/proud-cameras-lay.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@kaizen/components': patch ---- - -Support having multiple KaizenProvider on the same page. - -This is helpful when publishing a package which relies toast notification - setting up its own KaizenProvider (which also set up ToastNofitification) will ensure that we won't run into `useToastNotificationContext must be used within the ToastNotificationContext.Provider` as this relies on the consumers' applications having the exact `@kaizen/components` version and depends on how package manager resolves peer deps. Especially for [pnpm](https://pnpm.io/how-peers-are-resolved), it might end up with 2 copies of the exact same version of kaizen/components therefore won't be able to find the `ToastNotificationContext.Provider` set up by the application. diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index fc64fdfbf8a..5ecbcfaa203 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 1.70.6 + +### Patch Changes + +- [#5426](https://github.com/cultureamp/kaizen-design-system/pull/5426) [`7303979`](https://github.com/cultureamp/kaizen-design-system/commit/7303979b102047ec73c8e29f9bafebd032768b7f) - Support having multiple KaizenProvider on the same page. + + This is helpful when publishing a package which relies toast notification - setting up its own KaizenProvider (which also set up ToastNofitification) will ensure that we won't run into `useToastNotificationContext must be used within the ToastNotificationContext.Provider` as this relies on the consumers' applications having the exact `@kaizen/components` version and depends on how package manager resolves peer deps. Especially for [pnpm](https://pnpm.io/how-peers-are-resolved), it might end up with 2 copies of the exact same version of kaizen/components therefore won't be able to find the `ToastNotificationContext.Provider` set up by the application. + ## 1.70.5 ### Patch Changes diff --git a/packages/components/package.json b/packages/components/package.json index 0f095f0cd80..cf96b16a6df 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@kaizen/components", - "version": "1.70.5", + "version": "1.70.6", "description": "Kaizen component library", "author": "Geoffrey Chong ", "homepage": "https://cultureamp.design",