Skip to content

Commit 9b76e0f

Browse files
ci(changesets): version packages (#1765)
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>
1 parent 475161b commit 9b76e0f

File tree

5 files changed

+35
-24
lines changed

5 files changed

+35
-24
lines changed

.changeset/thin-carpets-remain.md

-22
This file was deleted.

packages/bezier-figma-plugin/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# bezier-figma-plugin
22

3+
## 0.4.13
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @channel.io/bezier-react@1.19.0
9+
310
## 0.4.12
411

512
### Patch Changes

packages/bezier-figma-plugin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bezier-figma-plugin",
3-
"version": "0.4.12",
3+
"version": "0.4.13",
44
"private": true,
55
"description": "Figma plugin that helps build Bezier design system and increase productivity.",
66
"repository": {

packages/bezier-react/CHANGELOG.md

+26
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# @channel.io/bezier-react
22

3+
## 1.19.0
4+
5+
### Minor Changes
6+
7+
- Allow external window for bezier ([#1764](https://github.com/channel-io/bezier-react/pull/1764)) by @Tanney-102
8+
9+
- You can inject window object with WindowProvider.
10+
11+
- example
12+
13+
```ts
14+
<WindowProvider
15+
window={givenExternalWindow ?? window}
16+
document={givenExternalDocument ?? window.document}
17+
>
18+
// ...
19+
</WindowProvider>;
20+
21+
// use window in context with useWindow
22+
const { window, document } = useWindow();
23+
```
24+
25+
- BezierProvider includes WindowProvider so that inject external window with BezierProvider.
26+
- WindowProvider also provide getRootElement function that returns window.document.
27+
- Migrate Bezier components to use useWindow instead of functions in utils/dom.ts
28+
329
## 1.18.0
430

531
### Minor Changes

packages/bezier-react/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@channel.io/bezier-react",
3-
"version": "1.18.0",
3+
"version": "1.19.0",
44
"description": "React components library that implements Bezier design system.",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)