You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.
# Releases
## @channel.io/bezier-react@1.19.0
### Minor Changes
- Allow external window for bezier
([#1764](#1764)) by
@Tanney-102
- You can inject window object with WindowProvider.
- example
```ts
<WindowProvider
window={givenExternalWindow ?? window}
document={givenExternalDocument ?? window.document}
>
// ...
</WindowProvider>;
// 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
## bezier-figma-plugin@0.4.13
### Patch Changes
- Updated dependencies
- @channel.io/bezier-react@1.19.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
0 commit comments