Skip to content

Commit

Permalink
Version Packages (#821)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
primer-css and github-actions[bot] authored Nov 22, 2024
1 parent 2c8e924 commit aafffd9
Show file tree
Hide file tree
Showing 16 changed files with 74 additions and 70 deletions.
49 changes: 0 additions & 49 deletions .changeset/blue-ligers-repeat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/chilly-ducks-brush.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cuddly-kids-dance.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quick-suns-poke.md

This file was deleted.

2 changes: 2 additions & 0 deletions apps/storybook/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @primer/brand-storybook

## 0.43.0

## 0.42.1

## 0.42.0
Expand Down
2 changes: 1 addition & 1 deletion apps/storybook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@primer/brand-storybook",
"version": "0.42.1",
"version": "0.43.0",
"private": true,
"description": "Primer Brand Storybook",
"keywords": [
Expand Down
2 changes: 2 additions & 0 deletions packages/design-tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @primer/brand-primitives

## 0.43.0

## 0.42.1

## 0.42.0
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": "@primer/brand-primitives",
"version": "0.42.1",
"version": "0.43.0",
"description": "Color, spacing, and typography primitives for the Primer Brand Design System ",
"keywords": [
"primer",
Expand Down
2 changes: 2 additions & 0 deletions packages/e2e/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @primer/brand-e2e

## 0.43.0

## 0.42.1

## 0.42.0
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@primer/brand-e2e",
"version": "0.42.1",
"version": "0.43.0",
"private": true,
"description": "Primer Brand is a GitHub's design system for creating React-based marketing websites and digital experiences.",
"keywords": [
Expand Down
2 changes: 2 additions & 0 deletions packages/fonts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @primer/brand-fonts

## 0.43.0

## 0.42.1

## 0.42.0
Expand Down
2 changes: 1 addition & 1 deletion packages/fonts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@primer/brand-fonts",
"version": "0.42.1",
"version": "0.43.0",
"private": true,
"description": "Primer Brand is a GitHub's design system for creating React-based marketing websites and digital experiences.",
"keywords": [
Expand Down
58 changes: 58 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,63 @@
# @primer/react-brand

## 0.43.0

### Minor Changes

- [#825](https://github.com/primer/brand/pull/825) [`2c8e9240`](https://github.com/primer/brand/commit/2c8e9240a1bb36f7753a3e63318e92322a7bf780) Thanks [@rezrah](https://github.com/rezrah)! - Switched to use CSS Logical Properties in compiled output.

- Compiled styles now directly use CSS logical properties (e.g., `margin-inline-start`, `margin-inline-end`) instead of physical properties (`margin-left`, `margin-right`).
- This change simplifies the stylesheet and reduces its overall size (`652kB` > `593kB`)

Example of the change:

Source:

```css
.selector {
margin-inline-start: var(--base-size-20);
}
```

<table>
<tr>
<th> Previous compiled output
</th> <th> New compiled output </th>
</tr>
<tr>
<td valign="top">

```css
[dir='ltr'] .selector {
margin-left: 2px;
}

[dir='rtl'] .selector {
margin-right: 2px;
}
```

</td>
<td valign="top">

```css
.selector {
margin-inline-start: 2px;
}
```

</td>
</tr>
</table>

### Patch Changes

- [#825](https://github.com/primer/brand/pull/825) [`2c8e9240`](https://github.com/primer/brand/commit/2c8e9240a1bb36f7753a3e63318e92322a7bf780) Thanks [@rezrah](https://github.com/rezrah)! - Fixed errors in compiled CSS stylesheets where selectors with special characters were being unintentionally escaped for compatibility with legacy browsers.

- [#818](https://github.com/primer/brand/pull/818) [`281beb08`](https://github.com/primer/brand/commit/281beb08114f24f0ec5b23b14643324b0be532e6) Thanks [@joshfarrant](https://github.com/joshfarrant)! - `FormControl.Validation` is now associated with the relevant input using `aria-describedby`.

- [#822](https://github.com/primer/brand/pull/822) [`75da350d`](https://github.com/primer/brand/commit/75da350d63b75bd8b4e2c163e681ca4f7f1d4a46) Thanks [@joshfarrant](https://github.com/joshfarrant)! - Updated `IDEChatMessage` type declaration to differentiate between assistant and user messages.

## 0.42.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@primer/react-brand",
"version": "0.42.1",
"version": "0.43.0",
"description": "Primer Brand is a GitHub's design system for creating React-based marketing websites and digital experiences.",
"keywords": [
"primer",
Expand Down
2 changes: 2 additions & 0 deletions packages/repo-configs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @primer/brand-config

## 0.43.0

## 0.42.1

## 0.42.0
Expand Down
2 changes: 1 addition & 1 deletion packages/repo-configs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@primer/brand-config",
"version": "0.42.1",
"version": "0.43.0",
"private": true,
"description": "General-purpose configurations for maintaining Primer Brand",
"homepage": "https://primer.style/brand",
Expand Down

0 comments on commit aafffd9

Please sign in to comment.