From ea0a709a589cdb4b2cd9bbf8d967aa20fd77eff4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 12 Jan 2024 17:05:10 +0900 Subject: [PATCH] ci(changesets): version packages (alpha) (#1864) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 alpha, this PR will be updated. ⚠️⚠️⚠️⚠️⚠️⚠️ `alpha` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `alpha`. ⚠️⚠️⚠️⚠️⚠️⚠️ # Releases ## @channel.io/bezier-react@2.0.0-alpha.5 ### Major Changes - **Breaking Changes: Property updates in `Avatar` component** ([#1871](https://github.com/channel-io/bezier-react/pull/1871)) by @yangwooseong No longer support `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. - **Breaking Changes: Property updates in `SegmentedControl` component** ([#1866](https://github.com/channel-io/bezier-react/pull/1866)) by @sungik-choi No longer support `as` and `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. - **Breaking Changes: Property updates in `Tag` and `Badge` component** ([#1872](https://github.com/channel-io/bezier-react/pull/1872)) by @yangwooseong No longer support `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. - **Breaking Changes: `AlphaCenter` component is now `Center` component. Property updates in `Center` component** ([#1854](https://github.com/channel-io/bezier-react/pull/1854)) by @sungik-choi - No longer support `as` and `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. - Now supports margin props, layout props and `display` prop. - **Breaking Changes: Property updates in `Emoji` component** ([#1881](https://github.com/channel-io/bezier-react/pull/1881)) by @yangwooseong No longer support `as` and `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. - Add new margin properties to `Icon` component ([#1863](https://github.com/channel-io/bezier-react/pull/1863)) by @yangwooseong - `margin` - `marginHorizontal` - `marginVertical` - **Breaking Changes: Property updates in `Modal`-related components** ([#1903](https://github.com/channel-io/bezier-react/pull/1903)) by @sungik-choi - No longer supports `as` and `interpolation` props. - The type of `zIndex` property is changed to a z-index token. (e.g. `"modal"`) - **Breaking Changes: Property updates in `Banner` component** ([#1891](https://github.com/channel-io/bezier-react/pull/1891)) by @sungik-choi No longer support `as` and `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. **Other changes in `Banner` component** - now supports HTML attributes. - now supports style props. - **Breaking Changes: Property updates in `Switch` component** ([#1885](https://github.com/channel-io/bezier-react/pull/1885)) by @yangwooseong No longer support `as` and `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. - **Breaking Changes: Property updates in `Slider` component** ([#1883](https://github.com/channel-io/bezier-react/pull/1883)) by @yangwooseong - No longer support `as` and `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. - `dir` type is narrowed from `string | undefined` to `ltr | rtl | undefined` - **Breaking Changes: Property updates in `Button` component** ([#1882](https://github.com/channel-io/bezier-react/pull/1882)) by @sungik-choi - No longer support `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. - `ButtonSize` and `ButtonColorVariant` enums have been updated to use kebab case. - **Breaking Change: No longer supports `smoothCorners` mixin. Use `AlphaSmoothCornersBox` components instead.** ([#1892](https://github.com/channel-io/bezier-react/pull/1892)) by @sungik-choi ```tsx // Before const Box = styled.div` ${smoothCorners({ borderRadius: 10, shadow: '0 5px 15px 0 var(--shdw-large)', shadowBlur: 15, backgroundColor: 'var(--bgtxt-absolute-white-dark)', hasBackgroundImage: true, })} ` ... // After ... ``` - **Breaking Change: Removal of `ListMenuTitle` Component** ([#1900](https://github.com/channel-io/bezier-react/pull/1900)) by @yangwooseong - It was no longer being managed or utilized by our designers. - If you are currently using `ListMenuTitle` in your application, please replace it with the `SectionLabel` component for similar functionality. ### Minor Changes - `ButtonGroup` now supports HTML attributes ([#1890](https://github.com/channel-io/bezier-react/pull/1890)) by @sungik-choi ## @channel.io/bezier-codemod@0.5.0-alpha.3 ### Minor Changes - Changes in `v2-remove-alpha-from-alpha-stack` transform ([#1894](https://github.com/channel-io/bezier-react/pull/1894)) by @yangwooseong - It is renamed as `v2-remove-alpha-from-alpha-components`. - It covers `AlphaCenter` as well. Co-authored-by: github-actions[bot] --- .changeset/pre.json | 17 ++++- packages/bezier-codemod/CHANGELOG.md | 9 +++ packages/bezier-codemod/package.json | 2 +- packages/bezier-react/CHANGELOG.md | 99 ++++++++++++++++++++++++++++ packages/bezier-react/package.json | 2 +- 5 files changed, 126 insertions(+), 3 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index fb6ba572e7..d61ea9f449 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -11,10 +11,16 @@ "@channel.io/bezier-tokens": "0.0.0" }, "changesets": [ + "afraid-kings-push", "calm-wasps-tease", "chilled-dots-divide", + "cuddly-chairs-warn", + "cyan-pumpkins-run", "early-tables-taste", + "famous-melons-juggle", + "fluffy-dolphins-relax", "hip-students-care", + "hot-bobcats-develop", "hot-parrots-shop", "large-pants-brush", "little-bikes-obey", @@ -26,22 +32,31 @@ "neat-badgers-arrive", "old-rules-breathe", "perfect-ears-yawn", + "poor-windows-join", "purple-dodos-move", "quick-peaches-fail", "rare-coats-sing", + "sharp-hounds-lick", "short-rice-press", "silent-falcons-behave", "silver-pets-hammer", "slimy-lobsters-sparkle", + "soft-months-film", + "stale-nails-study", "strange-toes-tap", + "sweet-suits-smoke", "tall-maps-lick", + "ten-plants-remain", + "tender-years-camp", "thirty-dodos-push", "three-mirrors-hunt", "tough-lions-change", "tough-rats-drive", "tricky-geese-lick", + "twenty-onions-rule", "two-adults-pay", "wicked-months-sparkle", - "witty-pans-clean" + "witty-pans-clean", + "yellow-eagles-matter" ] } diff --git a/packages/bezier-codemod/CHANGELOG.md b/packages/bezier-codemod/CHANGELOG.md index 518bff2605..75ff881e2a 100644 --- a/packages/bezier-codemod/CHANGELOG.md +++ b/packages/bezier-codemod/CHANGELOG.md @@ -1,5 +1,14 @@ # @channel.io/bezier-codemod +## 0.5.0-alpha.3 + +### Minor Changes + +- Changes in `v2-remove-alpha-from-alpha-stack` transform ([#1894](https://github.com/channel-io/bezier-react/pull/1894)) by @yangwooseong + + - It is renamed as `v2-remove-alpha-from-alpha-components`. + - It covers `AlphaCenter` as well. + ## 0.5.0-alpha.2 ### Minor Changes diff --git a/packages/bezier-codemod/package.json b/packages/bezier-codemod/package.json index 361524de27..0b7a11a79e 100644 --- a/packages/bezier-codemod/package.json +++ b/packages/bezier-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@channel.io/bezier-codemod", - "version": "0.5.0-alpha.2", + "version": "0.5.0-alpha.3", "description": "Codemod transformations to help upgrade app using Bezier design system.", "repository": { "type": "git", diff --git a/packages/bezier-react/CHANGELOG.md b/packages/bezier-react/CHANGELOG.md index e814be7b50..b05efd3b3a 100644 --- a/packages/bezier-react/CHANGELOG.md +++ b/packages/bezier-react/CHANGELOG.md @@ -1,5 +1,104 @@ # @channel.io/bezier-react +## 2.0.0-alpha.5 + +### Major Changes + +- **Breaking Changes: Property updates in `Avatar` component** ([#1871](https://github.com/channel-io/bezier-react/pull/1871)) by @yangwooseong + + No longer support `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. + +- **Breaking Changes: Property updates in `SegmentedControl` component** ([#1866](https://github.com/channel-io/bezier-react/pull/1866)) by @sungik-choi + + No longer support `as` and `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. + +- **Breaking Changes: Property updates in `Tag` and `Badge` component** ([#1872](https://github.com/channel-io/bezier-react/pull/1872)) by @yangwooseong + + No longer support `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. + +- **Breaking Changes: `AlphaCenter` component is now `Center` component. Property updates in `Center` component** ([#1854](https://github.com/channel-io/bezier-react/pull/1854)) by @sungik-choi + + - No longer support `as` and `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. + - Now supports margin props, layout props and `display` prop. + +- **Breaking Changes: Property updates in `Emoji` component** ([#1881](https://github.com/channel-io/bezier-react/pull/1881)) by @yangwooseong + + No longer support `as` and `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. + +- Add new margin properties to `Icon` component ([#1863](https://github.com/channel-io/bezier-react/pull/1863)) by @yangwooseong + + - `margin` + - `marginHorizontal` + - `marginVertical` + +- **Breaking Changes: Property updates in `Modal`-related components** ([#1903](https://github.com/channel-io/bezier-react/pull/1903)) by @sungik-choi + + - No longer supports `as` and `interpolation` props. + - The type of `zIndex` property is changed to a z-index token. (e.g. `"modal"`) + +- **Breaking Changes: Property updates in `Banner` component** ([#1891](https://github.com/channel-io/bezier-react/pull/1891)) by @sungik-choi + + No longer support `as` and `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. + + **Other changes in `Banner` component** + + - now supports HTML attributes. + - now supports style props. + +- **Breaking Changes: Property updates in `Switch` component** ([#1885](https://github.com/channel-io/bezier-react/pull/1885)) by @yangwooseong + + No longer support `as` and `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. + +- **Breaking Changes: Property updates in `Slider` component** ([#1883](https://github.com/channel-io/bezier-react/pull/1883)) by @yangwooseong + + - No longer support `as` and `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. + - `dir` type is narrowed from `string | undefined` to `ltr | rtl | undefined` + +- **Breaking Changes: Property updates in `Button` component** ([#1882](https://github.com/channel-io/bezier-react/pull/1882)) by @sungik-choi + + - No longer support `interpolation` property. Replace any usage of `interpolation` property with appropriate `style` or `className` implementations. + - `ButtonSize` and `ButtonColorVariant` enums have been updated to use kebab case. + +- **Breaking Change: No longer supports `smoothCorners` mixin. Use `AlphaSmoothCornersBox` components instead.** ([#1892](https://github.com/channel-io/bezier-react/pull/1892)) by @sungik-choi + + ```tsx + // Before + const Box = styled.div` + ${smoothCorners({ + borderRadius: 10, + shadow: '0 5px 15px 0 var(--shdw-large)', + shadowBlur: 15, + backgroundColor: 'var(--bgtxt-absolute-white-dark)', + hasBackgroundImage: true, + })} + ` + + ... + + // After + ... + ``` + +- **Breaking Change: Removal of `ListMenuTitle` Component** ([#1900](https://github.com/channel-io/bezier-react/pull/1900)) by @yangwooseong + + - It was no longer being managed or utilized by our designers. + - If you are currently using `ListMenuTitle` in your application, please replace it with the `SectionLabel` component for similar functionality. + +### Minor Changes + +- `ButtonGroup` now supports HTML attributes ([#1890](https://github.com/channel-io/bezier-react/pull/1890)) by @sungik-choi + ## 2.0.0-alpha.4 ### Major Changes diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index 07d44d5807..618cbf934e 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.0-alpha.4", + "version": "2.0.0-alpha.5", "description": "React components library that implements Bezier design system.", "repository": { "type": "git",