diff --git a/.changeset/thin-carpets-remain.md b/.changeset/thin-carpets-remain.md deleted file mode 100644 index e142e6c054..0000000000 --- a/.changeset/thin-carpets-remain.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -"@channel.io/bezier-react": minor ---- - -Allow external window for bezier - -- You can inject window object with WindowProvider. - - example - ```ts - - // ... - - - // use window in context with useWindow - const { window, document } = useWindow() - ``` -- BezierProvider includes WindowProvider so that inject external window with BezierProvider. -- WindowProvider also provide getRootElement function that returns window.document. -- Migrate Bezier components to use useWindow instead of functions in utils/dom.ts \ No newline at end of file diff --git a/packages/bezier-figma-plugin/CHANGELOG.md b/packages/bezier-figma-plugin/CHANGELOG.md index d21891a6a4..ee9fbc8aa2 100644 --- a/packages/bezier-figma-plugin/CHANGELOG.md +++ b/packages/bezier-figma-plugin/CHANGELOG.md @@ -1,5 +1,12 @@ # bezier-figma-plugin +## 0.4.13 + +### Patch Changes + +- Updated dependencies + - @channel.io/bezier-react@1.19.0 + ## 0.4.12 ### Patch Changes diff --git a/packages/bezier-figma-plugin/package.json b/packages/bezier-figma-plugin/package.json index 39c7938f9a..0c5356e07b 100644 --- a/packages/bezier-figma-plugin/package.json +++ b/packages/bezier-figma-plugin/package.json @@ -1,6 +1,6 @@ { "name": "bezier-figma-plugin", - "version": "0.4.12", + "version": "0.4.13", "private": true, "description": "Figma plugin that helps build Bezier design system and increase productivity.", "repository": { diff --git a/packages/bezier-react/CHANGELOG.md b/packages/bezier-react/CHANGELOG.md index 05a55f81e1..0142c1a1d4 100644 --- a/packages/bezier-react/CHANGELOG.md +++ b/packages/bezier-react/CHANGELOG.md @@ -1,5 +1,31 @@ # @channel.io/bezier-react +## 1.19.0 + +### Minor Changes + +- Allow external window for bezier ([#1764](https://github.com/channel-io/bezier-react/pull/1764)) by @Tanney-102 + + - You can inject window object with WindowProvider. + + - example + + ```ts + + // ... + ; + + // use window in context with useWindow + const { window, document } = useWindow(); + ``` + + - BezierProvider includes WindowProvider so that inject external window with BezierProvider. + - WindowProvider also provide getRootElement function that returns window.document. + - Migrate Bezier components to use useWindow instead of functions in utils/dom.ts + ## 1.18.0 ### Minor Changes diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index 4f748f33b9..2da5b67108 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -1,6 +1,6 @@ { "name": "@channel.io/bezier-react", - "version": "1.18.0", + "version": "1.19.0", "description": "React components library that implements Bezier design system.", "repository": { "type": "git",