Releases: sumup-oss/circuit-ui
@sumup-oss/[email protected]
Major Changes
- #2653
33435cf
Thanks @connor-baer! - Renamed the Title component to Display for consistency with other platforms.
Minor Changes
-
#2653
33435cf
Thanks @connor-baer! - Added a newweight
prop to the Body component. Choose between theregular
andbold
font weights. -
#2653
33435cf
Thanks @connor-baer! - Added a new Compact component for text in space-constraint contexts. -
#2653
33435cf
Thanks @connor-baer! - Added a new Numeral component for numeric content such as currency values. -
#2653
33435cf
Thanks @connor-baer! - Consolidated and renamed the sizes of the Display (formerly Title), Headline, and Body components:Display & Headline
Old New one l two m three m four s Body
Old New one m two s -
#2653
33435cf
Thanks @connor-baer! - Deprecated the BodyLarge component. Use the Body component in sizel
instead. -
#2653
33435cf
Thanks @connor-baer! - Added an explicit foreground color to the Body component (fg-normal
) to better support localized dark mode. Previously, the component inherited its color from its parent. -
#2653
33435cf
Thanks @connor-baer! - Deprecated the SubHeadline component. Use the Headline component in sizes
instead. -
#2653
33435cf
Thanks @connor-baer! - Deprecated the Body component'svariant
prop. Use the newcolor
prop instead of thealert
,confirm
andsubtle
variants. Use the newweight
prop instead of thehighlight
variant. Use custom CSS for thequote
variant. -
#2653
33435cf
Thanks @connor-baer! - Added a newcolor
prop to the Body component. Choose any foreground color.
Patch Changes
- Updated dependencies [
33435cf
,55bf9ad
,55bf9ad
]:- @sumup-oss/[email protected]
@sumup-oss/[email protected]
Major Changes
-
#2648
f583d05
Thanks @connor-baer! - Renamed the package scope from@sumup
to@sumup-oss
. Replace@sumup/stylelint-plugin-circuit-ui
with@sumup-oss/stylelint-plugin-circuit-ui
in yourpackage.json
file, then update the plugin name in your Stylelint config:// .stylelintrc.js module.exports = { - plugins: ['@sumup/stylelint-plugin-circuit-ui'], + plugins: ['@sumup-oss/stylelint-plugin-circuit-ui'], };
Patch Changes
- Updated dependencies [
f583d05
]:- @sumup-oss/[email protected]
@sumup-oss/[email protected]
Major Changes
-
#2648
f583d05
Thanks @connor-baer! - Renamed the package scope from@sumup
to@sumup-oss
. Replace@sumup/icons
with@sumup-oss/icons
in yourpackage.json
file, then update all imports:-import { Search } from '@sumup/icons'; +import { Search } from '@sumup-oss/icons';
Circuit UI's ESLint plugin offers the
renamed-package-scope
rule to automate updating the package imports.
@sumup-oss/[email protected]
Major Changes
-
#2648
f583d05
Thanks @connor-baer! - Renamed the package scope from@sumup
to@sumup-oss
. Replace@sumup/eslint-plugin-circuit-ui
with@sumup-oss/eslint-plugin-circuit-ui
in yourpackage.json
file, then update the plugin and rule names in your ESLint config:// .eslintrc.js module.exports = { - plugins: ['@sumup/circuit-ui'], + plugins: ['@sumup-oss/circuit-ui'], rules: { - '@sumup/circuit-ui/component-lifecycle-imports': 'error', + '@sumup-oss/circuit-ui/component-lifecycle-imports': 'error', }, };
Minor Changes
- #2648
f583d05
Thanks @connor-baer! - Addedcircuit-ui/renamed-package-scope
rule to update imports for design system packages that have moved from the@sumup
to the@sumup-oss
scope.
Patch Changes
- Updated dependencies [
f583d05
,8be7f3b
,f583d05
,f583d05
]:- @sumup-oss/[email protected]
- @sumup-oss/[email protected]
@sumup-oss/[email protected]
Major Changes
-
#2648
f583d05
Thanks @connor-baer! - Renamed the package scope from@sumup
to@sumup-oss
. Replace@sumup/design-tokens
with@sumup-oss/design-tokens
in yourpackage.json
file, then update all imports:-import '@sumup/design-tokens/light.css'; +import '@sumup-oss/design-tokens/light.css';
Circuit UI's ESLint plugin offers the
renamed-package-scope
rule to automate updating the package imports.
@sumup-oss/[email protected]
Major Changes
-
#2648
f583d05
Thanks @connor-baer! - Upgraded to@sumup-oss/intl
v2. If your app also depends on@sumup-oss/intl
(previously called@sumup/intl
), you need to upgrade it as well. -
#2306
8be7f3b
Thanks @connor-baer! - Deprecated theInputElement
interface and narrowed the Input's element type toHTMLInputElement
and the TextArea's element type toHTMLTextAreaElement
. This affectsref
s and event handlers. -
#2648
f583d05
Thanks @connor-baer! - Renamed the package scope from@sumup
to@sumup-oss
. Replace@sumup/circuit-ui
with@sumup-oss/circuit-ui
in yourpackage.json
file, then update all imports:-import { Button } from '@sumup/circuit-ui'; +import { Button } from '@sumup-oss/circuit-ui';
Circuit UI's ESLint plugin offers the
renamed-package-scope
rule to automate updating the package imports.
Patch Changes
- Updated dependencies [
f583d05
,f583d05
]:- @sumup-oss/[email protected]
- @sumup-oss/[email protected]
@sumup/[email protected]
@sumup/[email protected]
Patch Changes
- #2646
3cdcd69
Thanks @connor-baer! - Removed invalid HTML attributes from the Table component.
@sumup/[email protected]
Major Changes
- #2615
985f647
Thanks @connor-baer! - Use default parameters for default props rather than statically assigning them asdefaultProps
. This silences React 18.3's warning aboutdefaultProps
being deprecated and enables tree shaking the icon components (which is prevented if they have static assignments).
Minor Changes
- #2640
aa230ca
Thanks @Zayebatsu! - AddedGrid
andList
icons in size 24.
@sumup/[email protected]
Minor Changes
- #2642
d53ccb1
Thanks @connor-baer! - Switched the ImageInput's button variant fromprimary
tosecondary
to improve its appearance on dark backgrounds.