Skip to content

Releases: sumup-oss/circuit-ui

@sumup-oss/stylelint-plugin-circuit-ui@5.0.0-next.0

Choose a tag to compare

@connor-baer connor-baer released this 09 Jul 11:26
Immutable release. Only release title and notes can be modified.
d14f69f

Patch Changes

  • Updated dependencies [1ea4fe8]:
    • @sumup-oss/design-tokens@11.0.0-next.0

@sumup-oss/icons@7.0.0-next.0

Pre-release

Choose a tag to compare

@connor-baer connor-baer released this 09 Jul 11:26
Immutable release. Only release title and notes can be modified.
d14f69f

Major Changes

  • #3744 601c687 Thanks @sirineJ! - Removed the deprecated Country Flag icons. Use the Flag component instead or load the icon with its URL using the getIconUrl() helper.

  • #3647 1ea4fe8 Thanks @missating! - Dropped support for Node.js 22. Node.js 24 or higher is now required.

  • #3744 601c687 Thanks @sirineJ! - Removed the deprecated Card Scheme icons. Use the new CardScheme component instead or load the icon with its URL using the getIconUrl() helper.

  • #3744 601c687 Thanks @sirineJ! - Remove the deprecated Payment Method icons. Use the new PaymentMethod component instead or load the icon with its URL using the getIconUrl() helper.

@sumup-oss/eslint-plugin-circuit-ui@8.0.0-next.0

Choose a tag to compare

@connor-baer connor-baer released this 09 Jul 11:26
Immutable release. Only release title and notes can be modified.
d14f69f

Minor Changes

  • #3681 f929e3f Thanks @missating! - Updated the component-lifecycle-imports rule to flag and fix imports of the now stable AutocompleteInput component and its related imports.

Patch Changes

@sumup-oss/design-tokens@11.0.0-next.0

Pre-release

Choose a tag to compare

@connor-baer connor-baer released this 09 Jul 11:26
Immutable release. Only release title and notes can be modified.
d14f69f

Major Changes

@sumup-oss/circuit-ui@12.0.0-next.0

Pre-release

Choose a tag to compare

@connor-baer connor-baer released this 09 Jul 11:26
Immutable release. Only release title and notes can be modified.
d14f69f

Major Changes

  • #3744 601c687 Thanks @sirineJ! - Removed the following deprecated icons:

    icon replacement
    AddItems Add, Items
    Copy CopyPaste
    SumUpLogo SumupLogo (sumup-oss/circuit-ui)
    SumUpLogomark SumupLogo (`sumup-oss/circuit-ui)
    Apm AlternativePaymentMethod
    EmailChat Email
    phone_chat Phone
    PhoneChat Mobile
    ColorCorrection ColorPicker
    CookiePreferences Cookie
    Customize Customise
    Favorite Favourite
    NoSim NoSimcard
    PrintFailed PrinterFailed
    Unfavorite Unfavourite
    Contractors Contractor
    notify_circle Notify
    general_settings Settings
    gift_card GiftCards
    payment_link PaymentLinks
    refer ReferAFriend, Reward
    sales Receipt
    messenger FacebookMessenger

    |

    Use the no-deprecated-icons ESLint rule to automatically apply the replacements.

  • #3679 d1ef773 Thanks @missating! - Removed the deprecated Italic decoration prop from the Numeral component following the brand refresh.

  • #3680 6f6cd02 Thanks @sirineJ! - Removed the uniqueId utility from the public API. Use React’s useId hook instead.

  • #3679 d1ef773 Thanks @missating! - Removed the menu ARIA role from the ActionMenu component. The role="menu" pattern is reserved for complex, desktop-like applications and is not appropriate for the ActionMenu component.

  • #3647 1ea4fe8 Thanks @missating! - Dropped support for Node.js 22. Node.js 24 or higher is now required.

  • #3679 d1ef773 Thanks @missating! - Removed the default value for the alt prop in the Avatar component. The alt prop is now required.

  • #3675 5377af0 Thanks @missating! - Removed the deprecated checkedLabel and uncheckedLabel props from Toggle.

  • #3670 c30f886 Thanks @sirineJ! - Removed the legacy Tooltip component. Use the newer Tooltip or Toggletip components instead.

  • #3670 c30f886 Thanks @sirineJ! - Removed the deprecated InlineElements component. Use CSS Flexbox or CSS Grid instead.

  • #3679 d1ef773 Thanks @missating! - Removed the deprecated Italic decoration prop from the Body component following the brand refresh.

  • #3675 5377af0 Thanks @missating! - Removed the deprecated hideCloseButton prop from Modal (use preventClose instead).

  • #3646 ded38de Thanks @missating! - Removed the placeholder color option from the Body, Numeral and Compact components' color prop. The --cui-fg-placeholder token does not meet WCAG 2.1 contrast requirements for text content.

  • #3689 842063f Thanks @missating! - Removed the UNSAFE_DISABLE_ELEMENT_ERRORS environment variable. The as prop on Headline and Display is now always required.

  • #3695 12533cb Thanks @missating! - Changed the Toggle component implementation to use a native input element instead of a button element under the hood. onChange now fires a native ChangeEvent<HTMLInputElement> instead of ClickEvent<HTMLButtonElement>.

  • #3674 27c0eca Thanks @missating! - Dropped support for React 18. React 19 is now the minimum required version. react and react-dom peer dependencies now require >=19.0.0

  • #3711 d061f6f Thanks @missating! - Remove the deprecated width and height props from the Flag component. Use the size prop instead.

  • #3681 f929e3f Thanks @missating! - Marked the AutocompleteInput component as stable. Import it from @sumup-oss/circuit-ui instead of @sumup-oss/circuit-ui/experimental.

Minor Changes

  • #3743 98022a8 Thanks @sirineJ! - Made PhoneNumberInput default flag size responsive to the input size.

  • #3684 ac299a1 Thanks @sirineJ! - Removed the deprecated BodyLarge component. Use Body with size="l" instead.

Patch Changes

  • #3694 da5d5ac Thanks @sirineJ! - Fixed the behavior responsible for restoring the AutocompleteInput's displayed value when it loses focus.

  • #3694 da5d5ac Thanks @sirineJ! - Fixed the AutocompleteInput suggestion box incorrectly scrolling with the combobox input.

  • #3686 bdfccf1 Thanks @missating! - Updated ListItemGroup to render the label prop as a plain Body component instead of an h4 heading.

  • #3694 da5d5ac Thanks @sirineJ! - Fixed an overflow issue in the AutocompleteInput when using multi-selection mode.

  • Updated dependencies [601c687, 1ea4fe8, 601c687, 601c687]:

    • @sumup-oss/icons@7.0.0-next.0
    • @sumup-oss/design-tokens@11.0.0-next.0

@sumup-oss/stylelint-plugin-circuit-ui@4.2.1

Choose a tag to compare

@connor-baer connor-baer released this 03 Jul 12:55
Immutable release. Only release title and notes can be modified.
1998e32

Patch Changes

  • #3715 cb98b22 Thanks @missating! - Updated the no-deprecated-custom-properties rule to support deprecated tokens that have no direct replacement. The rule now requires an additional message for deprecated tokens with no direct replacement.

@sumup-oss/eslint-plugin-circuit-ui@7.4.1

Choose a tag to compare

@connor-baer connor-baer released this 03 Jul 12:55
Immutable release. Only release title and notes can be modified.
1998e32

Patch Changes

  • #3715 cb98b22 Thanks @missating! - Updated the no-deprecated-custom-properties rule to support deprecated tokens that have no direct replacement. The rule now requires an additional message for deprecated tokens with no direct replacement.

@sumup-oss/design-tokens@10.1.0

Choose a tag to compare

@connor-baer connor-baer released this 03 Jul 12:55
Immutable release. Only release title and notes can be modified.
1998e32

Minor Changes

  • #3741 d2e43a7 Thanks @missating! - Deprecated --cui-icon-sizes-kilo, --cui-icon-sizes-mega, --cui-icon-sizes-giga, and --cui-icon-sizes-tera in favour of new t-shirt-sized tokens that use rem units so that icons scale with the user's base font size (WCAG SC 1.4.4).

  • #3715 cb98b22 Thanks @missating! - Deprecated the --cui-bg-accent-strong-* token family, use the --cui-bg-strong-* tokens instead.

  • #3715 cb98b22 Thanks @missating! - Deprecated the --cui-z-index-toast token, no direct replacement, update z-index based on the context manually.

@sumup-oss/icons@6.11.0

Choose a tag to compare

@connor-baer connor-baer released this 02 Jul 14:26
Immutable release. Only release title and notes can be modified.
7adbb4b

Minor Changes

@sumup-oss/eslint-plugin-circuit-ui@7.4.0

Choose a tag to compare

@connor-baer connor-baer released this 02 Jul 14:27
Immutable release. Only release title and notes can be modified.
7adbb4b

Minor Changes

  • #3696 7f41894 Thanks @sirineJ! - Added a no-deprecated-icons rule to flag and replace deprecated icons with their suggested alternatives.