From e11025e9c1c5d1ac8326319286d84b42d215596b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Connor=20B=C3=A4r?= Date: Tue, 11 Jul 2023 14:07:24 +0200 Subject: [PATCH] Add changeset for CSS Modules --- .changeset/lucky-monkeys-arrive.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .changeset/lucky-monkeys-arrive.md diff --git a/.changeset/lucky-monkeys-arrive.md b/.changeset/lucky-monkeys-arrive.md new file mode 100644 index 0000000000..94f871d3ff --- /dev/null +++ b/.changeset/lucky-monkeys-arrive.md @@ -0,0 +1,11 @@ +--- +'@sumup/circuit-ui': major +--- + +Migrated all [stable](https://circuit.sumup.com/?path=/docs/introduction-component-lifecycle--docs) components from [Emotion.js](https://github.com/emotion-js/emotion) to [CSS Modules](https://github.com/css-modules/css-modules). + +The styles are bundled and exported as a single CSS file as `@sumup/circuit-ui/styles.css`. Refer to your framework's documentation on how to include the styles globally in your application. + +The CSS file includes the base styles, so the BaseStyles component has been removed. + +If you are only importing [stable](https://circuit.sumup.com/?path=/docs/introduction-component-lifecycle--docs) components and aren't using Emotion.js in your app, you can remove all Emotion.js-related dependencies.