Skip to content

Commit

Permalink
Version Packages (#2820)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
connor-baer and github-actions[bot] authored Dec 4, 2024
1 parent 97f8145 commit 6e5cbe1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
14 changes: 0 additions & 14 deletions .changeset/proud-pillows-provide.md

This file was deleted.

15 changes: 15 additions & 0 deletions packages/circuit-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @sumup-oss/circuit-ui

## 9.3.0

### Minor Changes

- [#2786](https://github.com/sumup-oss/circuit-ui/pull/2786) [`97f8145`](https://github.com/sumup-oss/circuit-ui/commit/97f8145ed774441c641270a3ed0fa94ada0472aa) Thanks [@connor-baer](https://github.com/connor-baer)! - Added default translations for labels that don't change with the usage of the component. Translations are included for all locales where SumUp operates, namely `bg-BG`, `cs-CZ`, `da-DK`, `de-AT`, `de-CH`, `de-DE`, `de-LU`, `el-CY`, `el-GR`, `en-AU`, `en-GB`, `en-IE`, `en-MT`, `en-US`, `es-CL`, `es-CO`, `es-ES`, `es-MX`, `es-PE`, `es-US`, `et-EE`, `fi-FI`, `fr-BE`, `fr-CH`, `fr-FR`, `fr-LU`, `hr-HR`, `hu-HU`, `it-CH`, `it-IT`, `lt-LT`, `lv-LV`, `nb-NO`, `nl-BE`, `nl-NL`, `pl-PL`, `pt-BR`, `pt-PT`, `ro-RO`, `sk-SK`, `sl-SI`, and `sv-SE`. The current locale is determined based on the `locale` prop or the `navigator.language` API in environments that support it. If no supported locale is found, `en-US` is used as a fallback.

The following component props are now optional:

- Button, IconButton: `loadingLabel`
- Calendar: `prevMonthButtonLabel`, `nextMonthButtonLabel`
- DateInput: `yearInputLabel`, `monthInputLabel`, `dayInputLabel`, `openCalendarButtonLabel`, `closeCalendarButtonLabel`, `applyDateButtonLabel`, `clearDateButtonLabel`
- Toggletip: `closeButtonLabel`

We'll add default translations to more components in the future.

## 9.2.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/circuit-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sumup-oss/circuit-ui",
"version": "9.2.1",
"version": "9.3.0",
"description": "SumUp's React UI component library",
"type": "module",
"main": "./dist/index.js",
Expand Down

0 comments on commit 6e5cbe1

Please sign in to comment.