From 7f922418449e46f752ddc312e7e16162b340b46f Mon Sep 17 00:00:00 2001 From: ch-builder <61870096+ch-builder@users.noreply.github.com> Date: Wed, 29 May 2024 15:45:05 +0900 Subject: [PATCH] ci(changesets): version packages (#2233) 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@2.0.7 ### Patch Changes - Change `position` property of `ToastContainer` to `fixed` ([#2245](https://github.com/channel-io/bezier-react/pull/2245)) by @yangwooseong - Fix typo in `IconProps` jsdoc ([#2232](https://github.com/channel-io/bezier-react/pull/2232)) by @yangwooseong - - Fix ReactJS console warnings. ([#2238](https://github.com/channel-io/bezier-react/pull/2238)) by @nabi-chan - Introduce `useIsomorphicLayoutEffect` hook to use `useLayoutEffect` in SSR environment. - Add `AlphaSpinner` component ([#2237](https://github.com/channel-io/bezier-react/pull/2237)) by @yangwooseong ## bezier-figma-plugin@0.5.7 ### Patch Changes - Updated dependencies - @channel.io/bezier-react@2.0.7 Co-authored-by: github-actions[bot] --- .changeset/brown-lies-shop.md | 5 - .changeset/quick-seals-sin.md | 5 - .changeset/red-worms-argue.md | 6 - .changeset/sweet-knives-divide.md | 5 - packages/bezier-figma-plugin/CHANGELOG.md | 7 + packages/bezier-figma-plugin/package.json | 4 +- packages/bezier-react/CHANGELOG.md | 159 ++++++++++++++++------ packages/bezier-react/package.json | 2 +- yarn.lock | 4 +- 9 files changed, 128 insertions(+), 69 deletions(-) delete mode 100644 .changeset/brown-lies-shop.md delete mode 100644 .changeset/quick-seals-sin.md delete mode 100644 .changeset/red-worms-argue.md delete mode 100644 .changeset/sweet-knives-divide.md diff --git a/.changeset/brown-lies-shop.md b/.changeset/brown-lies-shop.md deleted file mode 100644 index 9307bb1b0c..0000000000 --- a/.changeset/brown-lies-shop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@channel.io/bezier-react": patch ---- - -Change `position` property of `ToastContainer` to `fixed` diff --git a/.changeset/quick-seals-sin.md b/.changeset/quick-seals-sin.md deleted file mode 100644 index 6760f3eff4..0000000000 --- a/.changeset/quick-seals-sin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@channel.io/bezier-react": patch ---- - -Fix typo in `IconProps` jsdoc diff --git a/.changeset/red-worms-argue.md b/.changeset/red-worms-argue.md deleted file mode 100644 index 254b7415d9..0000000000 --- a/.changeset/red-worms-argue.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@channel.io/bezier-react": patch ---- - -- Fix ReactJS console warnings. -- Introduce `useIsomorphicLayoutEffect` hook to use `useLayoutEffect` in SSR environment. diff --git a/.changeset/sweet-knives-divide.md b/.changeset/sweet-knives-divide.md deleted file mode 100644 index cb36173d73..0000000000 --- a/.changeset/sweet-knives-divide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@channel.io/bezier-react": patch ---- - -Add `AlphaSpinner` component diff --git a/packages/bezier-figma-plugin/CHANGELOG.md b/packages/bezier-figma-plugin/CHANGELOG.md index ae5e2ef8c2..1e0152ba27 100644 --- a/packages/bezier-figma-plugin/CHANGELOG.md +++ b/packages/bezier-figma-plugin/CHANGELOG.md @@ -1,5 +1,12 @@ # bezier-figma-plugin +## 0.5.7 + +### Patch Changes + +- Updated dependencies + - @channel.io/bezier-react@2.0.7 + ## 0.5.6 ### Patch Changes diff --git a/packages/bezier-figma-plugin/package.json b/packages/bezier-figma-plugin/package.json index 30bf8fc0df..0002cebd14 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.5.6", + "version": "0.5.7", "private": true, "description": "Figma plugin that helps build Bezier design system and increase productivity.", "repository": { @@ -39,7 +39,7 @@ }, "dependencies": { "@channel.io/bezier-icons": "0.24.0", - "@channel.io/bezier-react": "2.0.6", + "@channel.io/bezier-react": "2.0.7", "octokit": "^3.1.2", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/bezier-react/CHANGELOG.md b/packages/bezier-react/CHANGELOG.md index 5f1bac4936..9134368fc6 100644 --- a/packages/bezier-react/CHANGELOG.md +++ b/packages/bezier-react/CHANGELOG.md @@ -1,5 +1,18 @@ # @channel.io/bezier-react +## 2.0.7 + +### Patch Changes + +- Change `position` property of `ToastContainer` to `fixed` ([#2245](https://github.com/channel-io/bezier-react/pull/2245)) by @yangwooseong + +- Fix typo in `IconProps` jsdoc ([#2232](https://github.com/channel-io/bezier-react/pull/2232)) by @yangwooseong + +- - Fix ReactJS console warnings. ([#2238](https://github.com/channel-io/bezier-react/pull/2238)) by @nabi-chan + - Introduce `useIsomorphicLayoutEffect` hook to use `useLayoutEffect` in SSR environment. + +- Add `AlphaSpinner` component ([#2237](https://github.com/channel-io/bezier-react/pull/2237)) by @yangwooseong + ## 2.0.6 ### Patch Changes @@ -424,11 +437,11 @@ margin-left: ${spacing}px; } } - `; + ` } function touchableHover( - interpolation: InjectedInterpolation, + interpolation: InjectedInterpolation ): InjectedInterpolation { return css` @media (hover: hover) { @@ -442,7 +455,7 @@ ${interpolation} } } - `; + ` } ``` @@ -464,20 +477,41 @@ spacing={8} style={{ width: 300, height: 50 }} > - - + + - ); + ) /* TO-BE */ return ( - - - + + + - ); + ) ``` The changes also apply to other components that use `Stack` internally, and there are a few breaking changes. @@ -505,7 +539,7 @@ TooltipPrimitivePortal, TooltipPrimitiveProvider, TooltipPrimitiveTrigger, - } from "@channel.io/bezier-react/alpha"; + } from '@channel.io/bezier-react/alpha' ``` - When you pass a value of number type to the dimension-related properties of margin prop and layout prop, they implicitly add px units as a suffix. See: ([#1823](https://github.com/channel-io/bezier-react/pull/1823)) by @sungik-choi @@ -513,7 +547,13 @@ - Add `Box` component. `Box` component is responsible for the primitive layout and provides easy access to the design tokens in the design system ([#1785](https://github.com/channel-io/bezier-react/pull/1785)) by @sungik-choi ```tsx - + ``` - Fixes style inheritance issues by explicitly giving CSS custom properties an initial value ([#1846](https://github.com/channel-io/bezier-react/pull/1846)) by @sungik-choi @@ -532,7 +572,7 @@ DialogPrimitivePortal, DialogPrimitiveTitle, DialogPrimitiveTrigger, - } from "@channel.io/bezier-react/alpha"; + } from '@channel.io/bezier-react/alpha' ``` - `ButtonGroup` now supports HTML attributes ([#1890](https://github.com/channel-io/bezier-react/pull/1890)) by @sungik-choi @@ -556,9 +596,9 @@ - Add `useRootElement` hook. It is only available to `WindowProvider` children, and provides easy access to the root element of window context value. ([#1981](https://github.com/channel-io/bezier-react/pull/1981)) by @sungik-choi ```tsx - const { window, document, rootElement } = useWindow(); + const { window, document, rootElement } = useWindow() // Same as useWindow().rootElement - const rootElement = useRootElement(); + const rootElement = useRootElement() ``` ### Patch Changes @@ -636,7 +676,7 @@ TooltipPrimitivePortal, TooltipPrimitiveProvider, TooltipPrimitiveTrigger, - } from "@channel.io/bezier-react/alpha"; + } from '@channel.io/bezier-react/alpha' ``` - Add the `DialogPrimitive` component, which is the same as the [`Dialog` component in radix-ui](https://www.radix-ui.com/primitives/docs/components/dialog). You can use it by importing it from the `/alpha` path. ([#2049](https://github.com/channel-io/bezier-react/pull/2049)) by @sungik-choi @@ -651,7 +691,7 @@ DialogPrimitivePortal, DialogPrimitiveTitle, DialogPrimitiveTrigger, - } from "@channel.io/bezier-react/alpha"; + } from '@channel.io/bezier-react/alpha' ``` ## 2.0.0-alpha.19 @@ -829,11 +869,11 @@ margin-left: ${spacing}px; } } - `; + ` } function touchableHover( - interpolation: InjectedInterpolation, + interpolation: InjectedInterpolation ): InjectedInterpolation { return css` @media (hover: hover) { @@ -847,7 +887,7 @@ ${interpolation} } } - `; + ` } ``` @@ -860,9 +900,9 @@ - Add `useRootElement` hook. It is only available to `WindowProvider` children, and provides easy access to the root element of window context value. ([#1981](https://github.com/channel-io/bezier-react/pull/1981)) by @sungik-choi ```tsx - const { window, document, rootElement } = useWindow(); + const { window, document, rootElement } = useWindow() // Same as useWindow().rootElement - const rootElement = useRootElement(); + const rootElement = useRootElement() ``` ### Patch Changes @@ -1175,20 +1215,41 @@ spacing={8} style={{ width: 300, height: 50 }} > - - + + - ); + ) /* TO-BE */ return ( - - - + + + - ); + ) ``` The changes also apply to other components that use `Stack` internally, and there are a few changes. @@ -1224,7 +1285,13 @@ - Add `Box` component. `Box` component is responsible for the primitive layout and provides easy access to the design tokens in the design system. ([#1785](https://github.com/channel-io/bezier-react/pull/1785)) by @sungik-choi ```tsx - + ``` - Rename `AlphaAppProvider` to `AppProvider`. ([#1834](https://github.com/channel-io/bezier-react/pull/1834)) by @sungik-choi @@ -1337,7 +1404,7 @@ - Implement the feature to add scripts by injecting a window object into the `activate` function of `SmoothCornersFeatures`, if needed. ([#1642](https://github.com/channel-io/bezier-react/pull/1642)) by @sungik-choi ```tsx - SmoothCornersFeature.activate(window); + SmoothCornersFeature.activate(window) ``` ## 1.13.0 @@ -1700,15 +1767,18 @@ - [#1254](https://github.com/channel-io/bezier-react/pull/1254) [`e4a0d68c`](https://github.com/channel-io/bezier-react/commit/e4a0d68c0808debb50a8316cad2680dbca057db4) Thanks [@sungik-choi](https://github.com/sungik-choi)! - Add `container` property to `Tooltip` component. ```tsx - const [container, setContainer] = useState(null); + const [container, setContainer] = useState(null) return (
- +
- ); + ) ``` - [#1359](https://github.com/channel-io/bezier-react/pull/1359) [`d52a2710`](https://github.com/channel-io/bezier-react/commit/d52a27103641e6c2908e4b7983e7ac9e33dc4e78) Thanks [@sungik-choi](https://github.com/sungik-choi)! - Fix `Avatar` not resizing under flex layout. @@ -1732,15 +1802,15 @@ FeatureProvider, SmoothCornersFeature, BezierProvider, - } from "@channel.io/bezier-react"; + } from '@channel.io/bezier-react' root.render( - , - ); + + ) ``` - [#1279](https://github.com/channel-io/bezier-react/pull/1279) [`dc2e30cd`](https://github.com/channel-io/bezier-react/commit/dc2e30cdb198e2d74000a67f2147ddd6370d967c) Thanks [@sungik-choi](https://github.com/sungik-choi)! - Fixes an issue that causes the focus to move whenever the state changes when using `AutoFocus` component. @@ -2122,15 +2192,15 @@ FeatureProvider, SmoothCornersFeature, BezierProvider, - } from "@channel.io/bezier-react"; + } from '@channel.io/bezier-react' root.render( - , - ); + + ) ``` - [#1317](https://github.com/channel-io/bezier-react/pull/1317) [`b2629ece`](https://github.com/channel-io/bezier-react/commit/b2629ece4ffcee334fdb0554ed37ee29ed5fa9eb) Thanks [@sungik-choi](https://github.com/sungik-choi)! - Implement `AlphaSmoothCornersBox`. @@ -2266,15 +2336,18 @@ - [#1254](https://github.com/channel-io/bezier-react/pull/1254) [`e4a0d68c`](https://github.com/channel-io/bezier-react/commit/e4a0d68c0808debb50a8316cad2680dbca057db4) Thanks [@sungik-choi](https://github.com/sungik-choi)! - Add `container` property to `Tooltip` component. ```tsx - const [container, setContainer] = useState(null); + const [container, setContainer] = useState(null) return (
- +
- ); + ) ``` ### Patch Changes diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index c1ce06adb0..c12beec815 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -1,6 +1,6 @@ { "name": "@channel.io/bezier-react", - "version": "2.0.6", + "version": "2.0.7", "description": "React components library that implements Bezier design system.", "repository": { "type": "git", diff --git a/yarn.lock b/yarn.lock index ce1c42c886..eda910b470 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1989,7 +1989,7 @@ __metadata: languageName: unknown linkType: soft -"@channel.io/bezier-react@npm:2.0.6, @channel.io/bezier-react@workspace:packages/bezier-react": +"@channel.io/bezier-react@npm:2.0.7, @channel.io/bezier-react@workspace:packages/bezier-react": version: 0.0.0-use.local resolution: "@channel.io/bezier-react@workspace:packages/bezier-react" dependencies: @@ -8436,7 +8436,7 @@ __metadata: resolution: "bezier-figma-plugin@workspace:packages/bezier-figma-plugin" dependencies: "@channel.io/bezier-icons": "npm:0.24.0" - "@channel.io/bezier-react": "npm:2.0.6" + "@channel.io/bezier-react": "npm:2.0.7" "@figma/plugin-typings": "npm:^1.87.0" "@types/react": "npm:^18.2.59" "@types/react-dom": "npm:^18.2.19"