Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(changesets): version packages (alpha) #1967

Merged
merged 1 commit into from
Feb 7, 2024
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 1, 2024

This PR was opened by the Changesets release 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.10

Major Changes

  • Breaking Changes: Remove TooltipProvider and Property updates in Tooltip component (#1974) by @sungik-choi

    • No longer support TooltipProvider and TooltipProviderProps. Tooltip component was implemented via radix-ui's Tooltip, which required the use of a TooltipProvider, which caused all subcomponents to be re-rendered and caused a performance hit. We decided that the ability to share hover delay time between Tooltip components via TooltipProvider was not a feature we needed, even with the performance penalty. Also, by providing TooltipProvider built-in to AppProvider, we were unnecessarily importing modules from our library usage that didn't require Tooltip.
    • Tooltip component now contains a TooltipProvider inside it.

    Minor Changes:

    • Change the default value of delayShow prop from 300 to 0.
  • Breaking changes: Remove testId and related properties (#1971) by @sungik-choi

    No longer supports testId and related properties(e.g. wrapperTestId). testId is a property used internally by the library for testing with testing-library (getByTestId). We don't see a need to expose this as a public API, so we remove it.

    If you were using it, please replace it with the data-testid property. See https://testing-library.com/docs/queries/bytestid/.

  • Breaking Changes: Deprecated modules for internal use (#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) 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
    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.

Minor Changes

  • Banner will now render content even if the content prop is not a string. The same applies to link-related props. (#1972) by @sungik-choi

  • Add useRootElement hook. It is only available to WindowProvider children, and provides easy access to the root element of window context value. (#1981) by @sungik-choi

    const { window, document, rootElement } = useWindow();
    // Same as useWindow().rootElement
    const rootElement = useRootElement();

Patch Changes

  • Fixes a bug where onHide is called when clicking inside the overlay, causing the overlay to close. (#1977) by @yangwooseong

@github-actions github-actions bot force-pushed the changeset-release/alpha branch 2 times, most recently from 646bbdd to 07299d3 Compare February 1, 2024 05:38
Copy link

codecov bot commented Feb 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (17eb321) 84.02% compared to head (0dbebac) 84.02%.
Report is 2 commits behind head on alpha.

❗ Current head 0dbebac differs from pull request most recent head ef6b0f3. Consider uploading reports for the commit ef6b0f3 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##            alpha    #1967   +/-   ##
=======================================
  Coverage   84.02%   84.02%           
=======================================
  Files         141      141           
  Lines        2266     2266           
  Branches      610      610           
=======================================
  Hits         1904     1904           
  Misses        285      285           
  Partials       77       77           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot force-pushed the changeset-release/alpha branch 16 times, most recently from a454d77 to ef6b0f3 Compare February 7, 2024 08:07
@github-actions github-actions bot force-pushed the changeset-release/alpha branch from ef6b0f3 to 51dca85 Compare February 7, 2024 08:29
@sungik-choi sungik-choi merged commit 6472068 into alpha Feb 7, 2024
1 of 2 checks passed
@sungik-choi sungik-choi deleted the changeset-release/alpha branch February 7, 2024 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant