Skip to content

Commit

Permalink
ci(changesets): version packages (alpha)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 1, 2024
1 parent e839652 commit 07299d3
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"large-pants-brush",
"large-wasps-compete",
"little-bikes-obey",
"long-birds-attend",
"long-turtles-enjoy",
"loud-feet-melt",
"metal-planets-peel",
Expand Down Expand Up @@ -85,6 +86,7 @@
"weak-toys-dress",
"wicked-months-sparkle",
"wild-cows-rescue",
"wild-walls-suffer",
"witty-pans-clean",
"yellow-eagles-matter"
]
Expand Down
68 changes: 68 additions & 0 deletions packages/bezier-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,73 @@
# @channel.io/bezier-react

## 2.0.0-alpha.10

### Major Changes

- **Breaking Changes: Deprecated modules for internal use** ([#1963](https://github.com/channel-io/bezier-react/pull/1963)) by @sungik-choi

- No longer provides `useEventHandler` and `useMergeRefs` hook.
- No longer provides `useId` hook. Use `useId` hook of `react` instead.
- No longer provides `getRootElement` hook. Use `useWindow` hook instead.
- No longer provides `StyleUtils` and `StringUtils` utils.

- **Breaking Changes: Deprecate support for `styled-components` related modules** ([#1962](https://github.com/channel-io/bezier-react/pull/1962)) by @sungik-choi

- No longer support legacy foundation modules. Use the `useToken` hook and components to replace it
- `LightFoundation` and `DarkFoundation`
- `Spacing`
- `ev1`, `ev2`, `ev3`, `ev4`, `ev5` and `ev6`
- `createThemes`, `Theme`, `SemanticNames`, `LightTheme` and `DarkTheme`
- `TransitionDuration` and `Transition`
- `Border`
- `Typography`, `TypoAbsoluteNumber`, `LineHeightAbsoluteNumber` and `TypographyType`
- `absoluteCenter`, `disableAutoMinimum`, `hideScrollbars` and `ellipsis`
- `ThemeVarsAdditionalType` and `ThemeVars`
- `GlobalStyle`
- `Foundation`
- `GlobalStyleProp`
- `createGlobalStyle`, `styled`, `css`, `FoundationProvider`, `useFoundation`, `keyframes`, `StyleSheetManager` and `ServerStyleSheet`
- No longer support `BezierProvider`. Use the `AppProvider` instead
- No longer support `gap` and `touchableHover` mixins. Please implement and use your own

```tsx
function gap(spacing: number): InjectedInterpolation {
return css`
gap: ${spacing}px;

@supports not (gap: ${spacing}px) {
margin-top: ${-spacing}px;
margin-left: ${-spacing}px;

> * {
margin-top: ${spacing}px;
margin-left: ${spacing}px;
}
}
`;
}

function touchableHover(
interpolation: InjectedInterpolation
): InjectedInterpolation {
return css`
@media (hover: hover) {
&:hover {
${interpolation}
}
}

@media (hover: none) {
&:active {
${interpolation}
}
}
`;
}
```

- No longer support `inputTextStyle`, `inputPlaceholderStyle`, `inputWrapperStyle`, `focusedInputWrapperStyle` and `erroredInputWrapperStyle`. Please migrate using `@channel.io/bezier-codemod`'s `v2-interpolation-to-css-variable` transformer.

## 2.0.0-alpha.9

### Major 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": "2.0.0-alpha.9",
"version": "2.0.0-alpha.10",
"description": "React components library that implements Bezier design system.",
"repository": {
"type": "git",
Expand Down

0 comments on commit 07299d3

Please sign in to comment.