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 #2210

Closed
wants to merge 1 commit into from
Closed

Version Packages #2210

wants to merge 1 commit into from

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 next, 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 16+. This is the first maintained version with support for ES modules.

  • #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

Patch Changes

@sumup/[email protected]

Major Changes

  • #2061 bc882426 Thanks @connor-baer! - Raised the minimum Node.js version to 16+. This is the first maintained version with support for ES modules.

  • #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

Patch Changes

@sumup/[email protected]

Minor Changes

Patch 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 8, 2023 13:45
@connor-baer connor-baer requested review from pdrmdrs and removed request for a team August 8, 2023 13:45
@vercel
Copy link

vercel bot commented Aug 8, 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 8, 2023 2:18pm

@codecov
Copy link

codecov bot commented Aug 8, 2023

Codecov Report

Merging #2210 (fc07410) into next (8c635b7) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             next    #2210   +/-   ##
=======================================
  Coverage   96.54%   96.54%           
=======================================
  Files         259      259           
  Lines       20590    20590           
  Branches     1941     1941           
=======================================
  Hits        19878    19878           
  Misses        709      709           
  Partials        3        3           

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