Releases: sumup-oss/circuit-ui
@sumup-oss/[email protected]
Patch Changes
- #2827
dc6aa83
Thanks @connor-baer! - Fixed a regression that breaks Jest and Vitest tests when matching elements using the:focus-visible
selector.
@sumup-oss/[email protected]
@sumup-oss/[email protected]
Minor Changes
-
#2786
97f8145
Thanks @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, namelybg-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
, andsv-SE
. The current locale is determined based on thelocale
prop or thenavigator.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.
- Button, IconButton:
@sumup-oss/[email protected]
Patch Changes
- #2818
9a16c82
Thanks @connor-baer! - Increased the SidePanel component's root z-index value to ensure nested, absolutely-positioned components stack properly.
@sumup-oss/[email protected]
Minor Changes
-
#2794
604c012
Thanks @connor-baer! - Added support for typing and pasting 3-character hex code into the ColorInput component. -
#2794
604c012
Thanks @connor-baer! - Improved parsing of the PhoneNumberInput component'svalue
anddefaultValue
props.
Patch Changes
- #2791
0bf387e
Thanks @connor-baer! - Fixed passing a customclassName
to the outermost element of the Select component.
@sumup-oss/[email protected]
@sumup-oss/[email protected]
@sumup-oss/[email protected]
Minor Changes
-
#2780
cbc3716
Thanks @sirineJ! - Added a SkipLink component to allow skipping repetitive content for screen reader and keyboard users. -
#2237
6aafecd
Thanks @connor-baer! - Added the global style resets to the relevant components directly. This makes the components more resilient against style conflicts when used alongside other UI libraries and global styles on a page. -
#2780
cbc3716
Thanks @sirineJ! - Added a skip link in the TopNavigation and SideNavigation components to allow user to bypass navigation blocks.
Patch Changes
- #2787
543fc89
Thanks @connor-baer! - Fixed a hydration error that could occur in the CurrencyInput, Calendar, and DateInput components when no explicit locale was provided.
@sumup-oss/[email protected]
Patch Changes
- #2782
0a6ec4e
Thanks @connor-baer! - Updated the legacy JavaScript theme to the latest typography token values to match the modern CSS custom variables.
@sumup-oss/[email protected]
Patch Changes
- #2781
2b682c1
Thanks @connor-baer! - Improved the DateInput component's calendar dialog to be placed relative to the calendar button instead of the whole field. This improves the placement when the DateInput is rendered near the center of the viewport. The defaultbottom-end
placement can be customized using the newplacement
prop.