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

Version Packages #2213

Merged
merged 2 commits into from
Aug 9, 2023
Merged

Version Packages #2213

merged 2 commits into from
Aug 9, 2023

Conversation

connor-baer
Copy link
Member

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 main, this PR will be updated.

Releases

@sumup/[email protected]

Major Changes

  • #2124 22b03d04 Thanks @connor-baer! - Added support for validations to the SelectorGroup component. Use the validationHint and invalid props to communicate validation requirements to users.

  • #2125 82878190 Thanks @connor-baer! - Moved the Grid, Row, Col, and InlineElements components to the "legacy" status. Update your imports:

    -import { Grid } from '@sumup/circuit-ui';
    +import { Grid } from '@sumup/circuit-ui/legacy';
  • #1992 0b7fb453 Thanks @connor-baer! - Raised the minimum version of the react and react-dom peer dependencies to >=18.

  • #2124 22b03d04 Thanks @connor-baer! - Removed the deprecated children prop from the Selector component. Use the label and description props instead.

  • #2124 22b03d04 Thanks @connor-baer! - Removed the public export of the Selector component. Use the SelectorGroup component instead.

  • #2094 da1a11b0 Thanks @connor-baer! - Moved the SingleDayPicker, RangePicker, CalendarTag, and CalendarTagTwoStep components to the "legacy" status.

    Install the optional peer dependencies...

    npm install react-dates@^21.8 moment@^2.29

    ...and update your imports:

    -import { SingleDayPicker } from '@sumup/circuit-ui';
    +import { SingleDayPicker } from '@sumup/circuit-ui/legacy';
  • #2061 bc882426 Thanks @connor-baer! - Raised the minimum Node.js version to 18+.

  • #1972 0f29f87b Thanks @connor-baer! - Removed @sumup/collector from the peer dependencies and removed the related tracking and trackingLabel props (deprecated since v6.4).

  • #2061 bc882426 Thanks @connor-baer! - This package is now pure ESM. Please read this.

    • If you use TypeScript, you need to use TypeScript 4.7 or later (ref).
    • If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM. (Next.js supports ESM packages out of the box since v12).
  • #2067 4f78573e Thanks @connor-baer! - Changed the signature of the ImageInput's component prop. The component should now accept aria-hidden instead of alt.

  • #2063 fef5b955 Thanks @connor-baer! - Removed the deprecated children prop from the Checkbox component. Use the label prop instead.

  • #2163 6ff0b7da Thanks @connor-baer! - Migrated all stable components from Emotion.js to CSS Modules.

    The styles are bundled and exported as a single CSS file as @sumup/circuit-ui/styles.css. Refer to your framework's documentation on how to include the styles globally in your application.

    The CSS file includes the base styles, so the BaseStyles component has been removed.

    If you are only importing stable components and aren't using Emotion.js in your app, you can remove all Emotion.js-related dependencies.

  • #2094 da1a11b0 Thanks @connor-baer! - Moved the Tooltip component to the "legacy" status. Update your imports:

    -import { Tooltip } from '@sumup/circuit-ui';
    +import { Tooltip } from '@sumup/circuit-ui/legacy';
  • #2094 da1a11b0 Thanks @connor-baer! - Moved the Sidebar, SidebarContextProvider, SidebarContextConsumer, and Header components to the "legacy" status. Update your imports:

    -import { Sidebar } from '@sumup/circuit-ui';
    +import { Sidebar } from '@sumup/circuit-ui/legacy';
  • #2065 8adb8fee Thanks @connor-baer! - Removed the sharedPropTypes export. Type the props using TypeScript instead.

  • #2061 bc882426 Thanks @connor-baer! - Switched to the "exports" field to configure the package entry points. Files that are not explicitly defined in "exports" can no longer be imported.

  • #2063 fef5b955 Thanks @connor-baer! - Removed the deprecated confirm, notify, and alert variants from the Badge, NotificationInline, and NotificationToast components. Use the success, warning, and danger variants instead.

  • #2125 82878190 Thanks @connor-baer! - Moved the uniqueId util to the "legacy" status. Update your imports:

    -import { uniqueId } from '@sumup/circuit-ui';
    +import { uniqueId } from '@sumup/circuit-ui/legacy';
  • #2065 8adb8fee Thanks @connor-baer! - Migrated the Carousel components to TypeScript. Added the required playButtonLabel, pauseButtonLabel, prevButtonLabel, and nextButtonLabel props.

  • #1995 1267c69c Thanks @connor-baer! - Simplified the function signature of the style mixins that no longer require the theme parameter (shadow, focusOutline, focusVisible, and inputOutline).

  • #2124 22b03d04 Thanks @connor-baer! - Removed the deprecated explanation prop from the Toggle component. Use the description prop instead.

  • #2114 f53e4336 Thanks @connor-baer! - Changed the font-display of Aktiv Grotesk, Circuit UI's default font family, from swap to optional. If the font family is not available locally or cached, a fallback font is used. This reduces the cumulative layout shift (CLS) and largest contentful paint (LCP). The visual difference is minimal.

  • #2154 eef360c4 Thanks @connor-baer! - Updated the list of supported browsers:

    Browser Previous New
    Chrome 63+ 73+
    Firefox 67+ 67+
    Edge 79+ 79+
    Safari iOS 11.0+ 12.2+
    Safari macOS 11.1+ 12.1+
    Opera 50+ 60+
    Samsung Internet 8.2+ 11.1+
  • #2124 22b03d04 Thanks @connor-baer! - Removed the public export of the RadioButton component. Use the RadioButtonGroup component instead.

  • #2065 8adb8fee Thanks @connor-baer! - Migrated the Calendar components to TypeScript. Some props are now required. The CalendarTagTwoStep's clearText and confirmText props have been renamed to clearButtonLabel and confirmButtonLabel respectively.

Minor Changes

Patch Changes

@sumup/[email protected]

Major Changes

  • #2164 e1db8492 Thanks @connor-baer! - Added circuit-ui/component-lifecycle-imports rule to update component imports when they move to a different lifecycle stage.

Minor Changes

  • #2158 415c73dd Thanks @connor-baer! - Added circuit-ui/prefer-custom-properties rule to replace the Emotion.js theme with CSS custom properties.

Patch Changes

@sumup/[email protected]

Major Changes

  • #2061 bc882426 Thanks @connor-baer! - Raised the minimum Node.js version to 18+.

  • #2061 bc882426 Thanks @connor-baer! - This package is now pure ESM. Please read this.

    • If you use TypeScript, you need to use TypeScript 4.7 or later (ref).
    • If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM. (Next.js supports ESM packages out of the box since v12).
  • #2061 bc882426 Thanks @connor-baer! - Switched to the "exports" field to configure the package entry points. Files that are not explicitly defined in "exports" can no longer be imported.

  • #1615 51cd70d3 Thanks @connor-baer! - Changed the IconProps default size type to any.

Minor Changes

@sumup/[email protected]

Minor Changes

@sumup/[email protected]

Major Changes

  • #2183 159ef8a8 Thanks @connor-baer! - Upgraded the Next.js template to Circuit UI v7 and replaced Emotion.js with CSS Modules.

  • #2154 eef360c4 Thanks @connor-baer! - Updated the list of supported browsers:

    Browser Previous New
    Chrome 63+ 73+
    Firefox 67+ 67+
    Edge 79+ 79+
    Safari iOS 11.0+ 12.2+
    Safari macOS 11.1+ 12.1+
    Opera 50+ 60+
    Samsung Internet 8.2+ 11.1+

Minor Changes

  • #1972 0f29f87b Thanks @connor-baer! - Removed @sumup/collector from the peer dependencies and removed the related tracking and trackingLabel props (deprecated since v6.4).

@sumup/[email protected]

Major Changes

Patch Changes

@connor-baer connor-baer requested a review from a team as a code owner August 9, 2023 15:31
@connor-baer connor-baer requested review from pdrmdrs and removed request for a team August 9, 2023 15:31
@vercel
Copy link

vercel bot commented Aug 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
oss-circuit-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 9, 2023 8:28pm

@codecov
Copy link

codecov bot commented Aug 9, 2023

Codecov Report

Merging #2213 (9f017a1) into main (5dadb2e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2213   +/-   ##
=======================================
  Coverage   97.04%   97.04%           
=======================================
  Files         251      251           
  Lines       19635    19635           
  Branches     1180     1180           
=======================================
  Hits        19055    19055           
  Misses        576      576           
  Partials        4        4           

@connor-baer connor-baer merged commit ae55864 into main Aug 9, 2023
10 checks passed
@connor-baer connor-baer deleted the changeset-release/main branch August 9, 2023 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant