@sumup-oss/circuit-ui@9.3.0
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: