Skip to content

Commit

Permalink
ci(changesets): version packages (channel-io#1765)
Browse files Browse the repository at this point in the history
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/[email protected]

### Minor Changes

- Allow external window for bezier
([channel-io#1764](channel-io#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

## [email protected]

### Patch Changes

-   Updated dependencies
    -   @channel.io/[email protected]

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Nov 29, 2023
1 parent 475161b commit 9b76e0f
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 24 deletions.
22 changes: 0 additions & 22 deletions .changeset/thin-carpets-remain.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/bezier-figma-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# bezier-figma-plugin

## 0.4.13

### Patch Changes

- Updated dependencies
- @channel.io/[email protected]

## 0.4.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/bezier-figma-plugin/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
26 changes: 26 additions & 0 deletions packages/bezier-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
<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

## 1.18.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/bezier-react/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 9b76e0f

Please sign in to comment.