diff --git a/.changeset/pre.json b/.changeset/pre.json index 7d413be0c0..deca1c00c3 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -6,21 +6,29 @@ "@sumup/cna-template": "3.1.0", "@sumup/design-tokens": "5.1.0", "@sumup/eslint-plugin-circuit-ui": "0.0.1", - "@sumup/icons": "2.22.0" + "@sumup/icons": "2.22.0", + "@sumup/stylelint-plugin-circuit-ui": "1.0.0" }, "changesets": [ + "brave-bikes-nail", "bright-berries-add", "chilled-flies-dream", "chilled-walls-learn", "chilly-dolphins-travel", "cyan-trains-move", + "dry-bugs-sniff", "early-seahorses-whisper", + "fair-carrots-nail", "flat-lamps-glow", "green-singers-sneeze", "grumpy-donuts-flash", "khaki-baboons-deliver", + "late-students-own", "loud-pots-act", + "lucky-monkeys-arrive", "metal-bugs-melt", + "moody-doors-float", + "ninety-months-end", "odd-ducks-jog", "perfect-beers-fold", "popular-eels-fetch", @@ -37,6 +45,7 @@ "thin-lions-share", "three-radios-confess", "tidy-knives-tap", + "tough-ants-tan", "wicked-frogs-exercise", "wise-zoos-do", "yellow-lies-yell" diff --git a/packages/circuit-ui/CHANGELOG.md b/packages/circuit-ui/CHANGELOG.md index cdb5facd49..62ee78d3e3 100644 --- a/packages/circuit-ui/CHANGELOG.md +++ b/packages/circuit-ui/CHANGELOG.md @@ -1,5 +1,39 @@ # @sumup/circuit-ui +## 7.0.0-next.5 + +### Major Changes + +- [#2163](https://github.com/sumup-oss/circuit-ui/pull/2163) [`6ff0b7da`](https://github.com/sumup-oss/circuit-ui/commit/6ff0b7da7f7aae906ffe467da08115d5500e157a) Thanks [@connor-baer](https://github.com/connor-baer)! - 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. + +- [#2154](https://github.com/sumup-oss/circuit-ui/pull/2154) [`eef360c4`](https://github.com/sumup-oss/circuit-ui/commit/eef360c4c0b5b4ab07cf178884cc3dc00e9bf842) Thanks [@connor-baer](https://github.com/connor-baer)! - Updated the list of supported browsers: + + | Browser | Previous | New | + | ---------------- | -------- | ----- | + | Chrome | 63+ | 73+ | + | Firefox | 67+ | 67+ | + | Edge | 79+ | 79+ | + | Safari iOS | 11.0+ | 12.2+ | + | Safari macOS | 11.1+ | 12.1+ | + | Opera | 50+ | 60+ | + | Samsung Internet | 8.2+ | 11.1+ | + +### Minor Changes + +- [#2163](https://github.com/sumup-oss/circuit-ui/pull/2163) [`6ff0b7da`](https://github.com/sumup-oss/circuit-ui/commit/6ff0b7da7f7aae906ffe467da08115d5500e157a) Thanks [@connor-baer](https://github.com/connor-baer)! - Improved the accessibility of the SearchInput component. The input now has the `search` type and focus is returned to the input after clearing the value. + +### Patch Changes + +- Updated dependencies [[`6ff0b7da`](https://github.com/sumup-oss/circuit-ui/commit/6ff0b7da7f7aae906ffe467da08115d5500e157a), [`415c73dd`](https://github.com/sumup-oss/circuit-ui/commit/415c73dd70dc2720b44ead24cd4b9d7d77af3293), [`66b18d61`](https://github.com/sumup-oss/circuit-ui/commit/66b18d61f5683a24414725a488f7005bad80c8b1), [`415c73dd`](https://github.com/sumup-oss/circuit-ui/commit/415c73dd70dc2720b44ead24cd4b9d7d77af3293)]: + - @sumup/icons@3.0.0-next.2 + - @sumup/design-tokens@6.0.0-next.2 + ## 7.0.0-next.4 ### Major Changes diff --git a/packages/circuit-ui/package.json b/packages/circuit-ui/package.json index 3eed667849..b103338455 100644 --- a/packages/circuit-ui/package.json +++ b/packages/circuit-ui/package.json @@ -1,6 +1,6 @@ { "name": "@sumup/circuit-ui", - "version": "7.0.0-next.4", + "version": "7.0.0-next.5", "description": "SumUp's React UI component library", "type": "module", "main": "./dist/index.js", @@ -42,8 +42,8 @@ "@emotion/jest": "^11.11.0", "@emotion/react": "^11.11.0", "@emotion/styled": "^11.11.0", - "@sumup/design-tokens": "^6.0.0-next.0", - "@sumup/icons": "^3.0.0-next.1", + "@sumup/design-tokens": "^6.0.0-next.2", + "@sumup/icons": "^3.0.0-next.2", "@sumup/intl": "^1.5.0", "@testing-library/dom": "^9.3.0", "@testing-library/jest-dom": "^5.16.5", @@ -70,8 +70,8 @@ "@emotion/is-prop-valid": "1.x", "@emotion/react": "11.x", "@emotion/styled": "11.x", - "@sumup/design-tokens": ">=6.0.0-next.1", - "@sumup/icons": ">=3.0.0-next.1", + "@sumup/design-tokens": ">=6.0.0-next.2", + "@sumup/icons": ">=3.0.0-next.2", "@sumup/intl": "1.x", "react": ">=18.0.0 <19.0.0", "react-dom": ">=18.0.0 <19.0.0" diff --git a/packages/cna-template/CHANGELOG.md b/packages/cna-template/CHANGELOG.md index dfa26c23c2..1a93324da9 100644 --- a/packages/cna-template/CHANGELOG.md +++ b/packages/cna-template/CHANGELOG.md @@ -1,5 +1,21 @@ # @sumup/cna-template +## 4.0.0-next.1 + +### Major Changes + +- [#2154](https://github.com/sumup-oss/circuit-ui/pull/2154) [`eef360c4`](https://github.com/sumup-oss/circuit-ui/commit/eef360c4c0b5b4ab07cf178884cc3dc00e9bf842) Thanks [@connor-baer](https://github.com/connor-baer)! - Updated the list of supported browsers: + + | Browser | Previous | New | + | ---------------- | -------- | ----- | + | Chrome | 63+ | 73+ | + | Firefox | 67+ | 67+ | + | Edge | 79+ | 79+ | + | Safari iOS | 11.0+ | 12.2+ | + | Safari macOS | 11.1+ | 12.1+ | + | Opera | 50+ | 60+ | + | Samsung Internet | 8.2+ | 11.1+ | + ## 3.2.0-next.0 ### Minor Changes diff --git a/packages/cna-template/package.json b/packages/cna-template/package.json index 60afed2bdc..537a10707a 100644 --- a/packages/cna-template/package.json +++ b/packages/cna-template/package.json @@ -1,6 +1,6 @@ { "name": "@sumup/cna-template", - "version": "3.2.0-next.0", + "version": "4.0.0-next.1", "description": "Create a fresh Next.js application preconfigured with SumUp's Circuit UI and Foundry", "private": true, "repository": { diff --git a/packages/design-tokens/CHANGELOG.md b/packages/design-tokens/CHANGELOG.md index 63f8caaa1d..c21bf3913b 100644 --- a/packages/design-tokens/CHANGELOG.md +++ b/packages/design-tokens/CHANGELOG.md @@ -1,5 +1,13 @@ # @sumup/design-tokens +## 6.0.0-next.2 + +### Minor Changes + +- [#2158](https://github.com/sumup-oss/circuit-ui/pull/2158) [`415c73dd`](https://github.com/sumup-oss/circuit-ui/commit/415c73dd70dc2720b44ead24cd4b9d7d77af3293) Thanks [@connor-baer](https://github.com/connor-baer)! - Exported all CSS custom properties as `@sumup/design-tokens/light.css`. + +- [#2158](https://github.com/sumup-oss/circuit-ui/pull/2158) [`415c73dd`](https://github.com/sumup-oss/circuit-ui/commit/415c73dd70dc2720b44ead24cd4b9d7d77af3293) Thanks [@connor-baer](https://github.com/connor-baer)! - Deprecated the Emotion.js theme in favor of CSS custom properties. Use the [`circuit-ui/prefer-custom-properties`](https://github.com/sumup-oss/circuit-ui/tree/main/packages/eslint-plugin-circuit-ui/prefer-custom-properties) ESLint rule to automatically migrate your code. + ## 6.0.0-next.1 ### Patch Changes diff --git a/packages/design-tokens/package.json b/packages/design-tokens/package.json index afba18088a..e8c4bf2cb6 100644 --- a/packages/design-tokens/package.json +++ b/packages/design-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@sumup/design-tokens", - "version": "6.0.0-next.1", + "version": "6.0.0-next.2", "description": "Visual primitives such as typography, color, and spacing that are shared across platforms.", "main": "dist/cjs/index.js", "module": "dist/es/index.js", diff --git a/packages/eslint-plugin-circuit-ui/CHANGELOG.md b/packages/eslint-plugin-circuit-ui/CHANGELOG.md index 5d11ca85ee..b86e4cf867 100644 --- a/packages/eslint-plugin-circuit-ui/CHANGELOG.md +++ b/packages/eslint-plugin-circuit-ui/CHANGELOG.md @@ -1,5 +1,16 @@ # @sumup/eslint-plugin-circuit-ui +## 1.1.0-next.0 + +### Minor Changes + +- [#2158](https://github.com/sumup-oss/circuit-ui/pull/2158) [`415c73dd`](https://github.com/sumup-oss/circuit-ui/commit/415c73dd70dc2720b44ead24cd4b9d7d77af3293) Thanks [@connor-baer](https://github.com/connor-baer)! - Added `circuit-ui/prefer-custom-properties` rule to replace the Emotion.js theme with CSS custom properties. + +### Patch Changes + +- Updated dependencies [[`415c73dd`](https://github.com/sumup-oss/circuit-ui/commit/415c73dd70dc2720b44ead24cd4b9d7d77af3293), [`415c73dd`](https://github.com/sumup-oss/circuit-ui/commit/415c73dd70dc2720b44ead24cd4b9d7d77af3293)]: + - @sumup/design-tokens@6.0.0-next.2 + ## 1.0.0 ### Major Changes diff --git a/packages/eslint-plugin-circuit-ui/package.json b/packages/eslint-plugin-circuit-ui/package.json index 92ac65dd8e..1c452fa355 100644 --- a/packages/eslint-plugin-circuit-ui/package.json +++ b/packages/eslint-plugin-circuit-ui/package.json @@ -1,6 +1,6 @@ { "name": "@sumup/eslint-plugin-circuit-ui", - "version": "1.0.0", + "version": "1.1.0-next.0", "description": "ESLint rules to lint Circuit UI.", "keywords": [ "sumup", @@ -29,11 +29,11 @@ "@typescript-eslint/utils": "^5.59.6" }, "devDependencies": { - "@sumup/design-tokens": "^6.0.0-next", + "@sumup/design-tokens": "^6.0.0-next.2", "@tsconfig/node18": "^2.0.0", "typescript": "^5.0.4" }, "peerDependencies": { - "@sumup/design-tokens": ">=5.3.0" + "@sumup/design-tokens": ">=6.0.0-next.2" } } diff --git a/packages/icons/CHANGELOG.md b/packages/icons/CHANGELOG.md index e5981d10d4..b6cb2cd69f 100644 --- a/packages/icons/CHANGELOG.md +++ b/packages/icons/CHANGELOG.md @@ -1,5 +1,15 @@ # @sumup/icons +## 3.0.0-next.2 + +### Minor Changes + +- [#2159](https://github.com/sumup-oss/circuit-ui/pull/2159) [`66b18d61`](https://github.com/sumup-oss/circuit-ui/commit/66b18d61f5683a24414725a488f7005bad80c8b1) Thanks [@connor-baer](https://github.com/connor-baer)! - Log (not throw) an error when an icon is passed an unsupported size. + +### Patch Changes + +- [#2163](https://github.com/sumup-oss/circuit-ui/pull/2163) [`6ff0b7da`](https://github.com/sumup-oss/circuit-ui/commit/6ff0b7da7f7aae906ffe467da08115d5500e157a) Thanks [@connor-baer](https://github.com/connor-baer)! - Fixed the `IconsManifest` type. + ## 3.0.0-next.1 ### Major Changes diff --git a/packages/icons/package.json b/packages/icons/package.json index 7e2219cbca..59299c00ef 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -1,6 +1,6 @@ { "name": "@sumup/icons", - "version": "3.0.0-next.1", + "version": "3.0.0-next.2", "description": "A collection of icons by SumUp", "type": "module", "main": "./dist/index.js",