Skip to content

Commit

Permalink
🦋 Release package updates (#1502)
Browse files Browse the repository at this point in the history
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @guardian/source@2.0.0

### Major Changes

-   637d127:
- Adds `collapseUntil` option to `Inline` layout component to allow
collapsing into a single column below a given breakpoint.
- Text and icons are now horizontally centred within buttons. Visually
this is only apparent if a button's styles have been overridden and it
is stretched beyond it's natural intrinsic width. (Previously the text
and icon would be pushed to the edges of the button.)

### Patch Changes

- 1921d8c: Fixes bug where `space.0` was not applied to `Inline` layouts
and updates `Column` and `Stack` to support all spacing units
  • Loading branch information
jamesmockett committed May 31, 2024
2 parents 700ca16 + 6439c0d commit e50c109
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
6 changes: 0 additions & 6 deletions .changeset/empty-geese-explain.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/forty-comics-scream.md

This file was deleted.

12 changes: 12 additions & 0 deletions libs/@guardian/source/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @guardian/source

## 2.0.0

### Major Changes

- 637d127:
- Adds `collapseUntil` option to `Inline` layout component to allow collapsing into a single column below a given breakpoint.
- Text and icons are now horizontally centred within buttons. Visually this is only apparent if a button's styles have been overridden and it is stretched beyond it's natural intrinsic width. (Previously the text and icon would be pushed to the edges of the button.)

### Patch Changes

- 1921d8c: Fixes bug where `space.0` was not applied to `Inline` layouts and updates `Column` and `Stack` to support all spacing units

## 1.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion libs/@guardian/source/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@guardian/source",
"version": "1.0.3",
"version": "2.0.0",
"license": "Apache-2.0",
"sideEffects": false,
"type": "module",
Expand Down

0 comments on commit e50c109

Please sign in to comment.