Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages (next) #2657

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,28 @@
"@sumup-oss/stylelint-plugin-circuit-ui": "2.0.0"
},
"changesets": [
"brown-cobras-invite",
"chilly-dodos-end",
"clever-pugs-sing",
"dry-cheetahs-tap",
"five-elephants-travel",
"flat-steaks-itch",
"fluffy-lobsters-sin",
"friendly-falcons-turn",
"great-kiwis-compare",
"grumpy-coins-sip",
"hot-toys-compare",
"itchy-geckos-protect",
"old-sloths-speak",
"plenty-chicken-deny",
"pretty-tigers-run",
"rich-phones-attend",
"seven-bees-train",
"shiny-dragons-sip",
"slimy-pots-lie",
"soft-drinks-accept",
"tall-sheep-provide",
"tiny-suits-smile",
"wise-emus-count"
]
}
47 changes: 47 additions & 0 deletions packages/circuit-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,52 @@
# @sumup-oss/circuit-ui

## 9.0.0-next.1

### Major Changes

- [#2653](https://github.com/sumup-oss/circuit-ui/pull/2653) [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60) Thanks [@connor-baer](https://github.com/connor-baer)! - Renamed the Title component to Display for consistency with other platforms.

### Minor Changes

- [#2653](https://github.com/sumup-oss/circuit-ui/pull/2653) [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60) Thanks [@connor-baer](https://github.com/connor-baer)! - Added a new `weight` prop to the Body component. Choose between the `regular` and `bold` font weights.

- [#2653](https://github.com/sumup-oss/circuit-ui/pull/2653) [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60) Thanks [@connor-baer](https://github.com/connor-baer)! - Added a new Compact component for text in space-constraint contexts.

- [#2653](https://github.com/sumup-oss/circuit-ui/pull/2653) [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60) Thanks [@connor-baer](https://github.com/connor-baer)! - Added a new Numeral component for numeric content such as currency values.

- [#2653](https://github.com/sumup-oss/circuit-ui/pull/2653) [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60) Thanks [@connor-baer](https://github.com/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](https://github.com/sumup-oss/circuit-ui/pull/2653) [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60) Thanks [@connor-baer](https://github.com/connor-baer)! - Deprecated the BodyLarge component. Use the Body component in size `l` instead.

- [#2653](https://github.com/sumup-oss/circuit-ui/pull/2653) [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60) Thanks [@connor-baer](https://github.com/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](https://github.com/sumup-oss/circuit-ui/pull/2653) [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60) Thanks [@connor-baer](https://github.com/connor-baer)! - Deprecated the SubHeadline component. Use the Headline component in size `s` instead.

- [#2653](https://github.com/sumup-oss/circuit-ui/pull/2653) [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60) Thanks [@connor-baer](https://github.com/connor-baer)! - Deprecated the Body component's `variant` prop. Use the new `color` prop instead of the `alert`, `confirm` and `subtle` variants. Use the new `weight` prop instead of the `highlight` variant. Use custom CSS for the `quote` variant.

- [#2653](https://github.com/sumup-oss/circuit-ui/pull/2653) [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60) Thanks [@connor-baer](https://github.com/connor-baer)! - Added a new `color` prop to the Body component. Choose any foreground color.

### Patch Changes

- Updated dependencies [[`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60), [`55bf9ad`](https://github.com/sumup-oss/circuit-ui/commit/55bf9ad7569f1e1a4c739f4eac8df58ba9987ca2), [`55bf9ad`](https://github.com/sumup-oss/circuit-ui/commit/55bf9ad7569f1e1a4c739f4eac8df58ba9987ca2)]:
- @sumup-oss/[email protected]

## 9.0.0-next.0

### Major Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/circuit-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sumup-oss/circuit-ui",
"version": "9.0.0-next.0",
"version": "9.0.0-next.1",
"description": "SumUp's React UI component library",
"type": "module",
"main": "./dist/index.js",
Expand Down Expand Up @@ -63,7 +63,7 @@
"@emotion/jest": "^11.13.0",
"@emotion/react": "^11.13.0",
"@emotion/styled": "^11.13.0",
"@sumup-oss/design-tokens": "^8.0.0-next.0",
"@sumup-oss/design-tokens": "^8.0.0-next.1",
"@sumup-oss/icons": "^5.0.0-next.0",
"@sumup-oss/intl": "^2.0.0",
"@testing-library/dom": "^10.4.0",
Expand Down Expand Up @@ -91,7 +91,7 @@
"@emotion/is-prop-valid": "^1.2.1",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@sumup-oss/design-tokens": ">=8.0.0-next.0",
"@sumup-oss/design-tokens": ">=8.0.0-next.1",
"@sumup-oss/icons": ">=5.0.0-next.0",
"@sumup-oss/intl": "2.x",
"react": ">=18.0.0 <19.0.0",
Expand Down
39 changes: 39 additions & 0 deletions packages/design-tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,44 @@
# @sumup-oss/design-tokens

## 8.0.0-next.1

### Major Changes

- [#2654](https://github.com/sumup-oss/circuit-ui/pull/2654) [`55bf9ad`](https://github.com/sumup-oss/circuit-ui/commit/55bf9ad7569f1e1a4c739f4eac8df58ba9987ca2) Thanks [@connor-baer](https://github.com/connor-baer)! - Changed the default font from Aktiv Grotesk to Inter, a variable font. Variable fonts combine a continuous range of weights and other "axes" into a single file. This speeds up page load times and enables more creative freedom. Inter is a close match to Aktiv Grotesk, so users shouldn't notice a difference.

- [#2654](https://github.com/sumup-oss/circuit-ui/pull/2654) [`55bf9ad`](https://github.com/sumup-oss/circuit-ui/commit/55bf9ad7569f1e1a4c739f4eac8df58ba9987ca2) Thanks [@connor-baer](https://github.com/connor-baer)! - Added a new `@sumup-oss/design-tokens/fonts.css` file containing the `@font-face` declarations to load the Inter font family. Refer to the documentation on [how to load fonts in your application](https://github.com/sumup-oss/circuit-ui/tree/main/packages/design-tokens#fonts).

### Minor Changes

- [#2653](https://github.com/sumup-oss/circuit-ui/pull/2653) [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60) Thanks [@connor-baer](https://github.com/connor-baer)! - Consolidated and renamed the `typography` tokens:

| Old | New |
| --------------------------------------- | ----------------------------------- |
| `typography-title-one-font-size` | `typography-display-l-font-size` |
| `typography-title-one-line-height` | `typography-display-l-line-height` |
| `typography-title-two-font-size` | `typography-display-m-font-size` |
| `typography-title-two-line-height` | `typography-display-m-line-height` |
| `typography-title-three-font-size` | `typography-display-m-font-size` |
| `typography-title-three-line-height` | `typography-display-m-line-height` |
| `typography-title-four-font-size` | `typography-display-s-font-size` |
| `typography-title-four-line-height` | `typography-display-s-line-height` |
| `typography-headline-one-font-size` | `typography-headline-l-font-size` |
| `typography-headline-one-line-height` | `typography-headline-l-line-height` |
| `typography-headline-two-font-size` | `typography-headline-m-font-size` |
| `typography-headline-two-line-height` | `typography-headline-m-line-height` |
| `typography-headline-three-font-size` | `typography-headline-m-font-size` |
| `typography-headline-three-line-height` | `typography-headline-m-line-height` |
| `typography-headline-four-font-size` | `typography-headline-s-font-size` |
| `typography-headline-four-line-height` | `typography-headline-s-line-height` |
| `typography-sub-headline-font-size` | `typography-headline-s-font-size` |
| `typography-sub-headline-line-height` | `typography-headline-s-line-height` |
| `typography-body-large-font-size` | `typography-body-l-font-size` |
| `typography-body-large-line-height` | `typography-body-l-line-height` |
| `typography-body-one-font-size` | `typography-body-m-font-size` |
| `typography-body-one-line-height` | `typography-body-m-line-height` |
| `typography-body-two-font-size` | `typography-body-s-font-size` |
| `typography-body-two-line-height` | `typography-body-s-line-height` |

## 8.0.0-next.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/design-tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sumup-oss/design-tokens",
"version": "8.0.0-next.0",
"version": "8.0.0-next.1",
"description": "Visual primitives such as typography, color, and spacing that are shared across platforms.",
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
Expand Down
16 changes: 16 additions & 0 deletions packages/eslint-plugin-circuit-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @sumup-oss/eslint-plugin-circuit-ui

## 5.0.0-next.1

### Major Changes

- [#2653](https://github.com/sumup-oss/circuit-ui/pull/2653) [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60) Thanks [@connor-baer](https://github.com/connor-baer)! - Added a migration for the Display (formerly Title), Headline and Body components' `size` prop to the `circuit-ui/no-renamed-props` rule.

### Minor Changes

- [#2653](https://github.com/sumup-oss/circuit-ui/pull/2653) [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60) Thanks [@connor-baer](https://github.com/connor-baer)! - Added `circuit-ui/no-deprecated-custom-properties` rule to flag uses of deprecated custom properties.

### Patch Changes

- Updated dependencies [[`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60), [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60), [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60), [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60), [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60), [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60), [`55bf9ad`](https://github.com/sumup-oss/circuit-ui/commit/55bf9ad7569f1e1a4c739f4eac8df58ba9987ca2), [`55bf9ad`](https://github.com/sumup-oss/circuit-ui/commit/55bf9ad7569f1e1a4c739f4eac8df58ba9987ca2), [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60), [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60), [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60), [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60), [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60)]:
- @sumup-oss/[email protected]
- @sumup-oss/[email protected]

## 5.0.0-next.0

### Major Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/eslint-plugin-circuit-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sumup-oss/eslint-plugin-circuit-ui",
"version": "5.0.0-next.0",
"version": "5.0.0-next.1",
"description": "ESLint rules to lint Circuit UI.",
"keywords": [
"sumup",
Expand Down Expand Up @@ -30,13 +30,13 @@
"@typescript-eslint/utils": "^7.16.1"
},
"devDependencies": {
"@sumup-oss/design-tokens": "^8.0.0-next.0",
"@sumup-oss/design-tokens": "^8.0.0-next.1",
"@tsconfig/node18": "^18.2.4",
"@typescript-eslint/rule-tester": "^7.16.1",
"typescript": "^5.5.4"
},
"peerDependencies": {
"@sumup-oss/circuit-ui": ">=9.0.0-next.0",
"@sumup-oss/design-tokens": ">=8.0.0-next.0"
"@sumup-oss/circuit-ui": ">=9.0.0-next.1",
"@sumup-oss/design-tokens": ">=8.0.0-next.1"
}
}
11 changes: 11 additions & 0 deletions packages/stylelint-plugin-circuit-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @sumup-oss/stylelint-plugin-circuit-ui

## 3.0.0-next.1

### Minor Changes

- [#2653](https://github.com/sumup-oss/circuit-ui/pull/2653) [`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60) Thanks [@connor-baer](https://github.com/connor-baer)! - Added `circuit-ui/no-deprecated-custom-properties` rule to flag uses of deprecated custom properties.

### Patch Changes

- Updated dependencies [[`33435cf`](https://github.com/sumup-oss/circuit-ui/commit/33435cf4a1a393bbb28fd0bcb9d63d8a2a6a5a60), [`55bf9ad`](https://github.com/sumup-oss/circuit-ui/commit/55bf9ad7569f1e1a4c739f4eac8df58ba9987ca2), [`55bf9ad`](https://github.com/sumup-oss/circuit-ui/commit/55bf9ad7569f1e1a4c739f4eac8df58ba9987ca2)]:
- @sumup-oss/[email protected]

## 3.0.0-next.0

### Major Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/stylelint-plugin-circuit-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sumup-oss/stylelint-plugin-circuit-ui",
"version": "3.0.0-next.0",
"version": "3.0.0-next.1",
"description": "Stylelint rules to lint Circuit UI.",
"exports": "./dist/index.js",
"type": "module",
Expand Down Expand Up @@ -29,13 +29,13 @@
"test": "vitest"
},
"devDependencies": {
"@sumup-oss/design-tokens": "^8.0.0-next.0",
"@sumup-oss/design-tokens": "^8.0.0-next.1",
"@tsconfig/node18": "^18.2.4",
"jest-preset-stylelint": "^7.1.0",
"typescript": "^5.5.4"
},
"peerDependencies": {
"@sumup-oss/design-tokens": ">=8.0.0-next.0",
"@sumup-oss/design-tokens": ">=8.0.0-next.1",
"stylelint": "^16.7.0"
}
}
Loading