Skip to content

Commit 1b56109

Browse files
authored
Merge pull request #2359 from system-ui/develop
Release 0.15.4
2 parents 83c3d95 + d1a22a9 commit 1b56109

File tree

8 files changed

+361
-200
lines changed

8 files changed

+361
-200
lines changed

CHANGELOG.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,3 @@
1-
# v0.15.3 (Mon Oct 17 2022)
2-
3-
#### 🐛 Bug Fix
4-
5-
- Update snapshot [#2321](https://github.com/system-ui/theme-ui/pull/2321) ([@hasparus](https://github.com/hasparus))
6-
- fix: Move NPM env vars up ([@hasparus](https://github.com/hasparus))
7-
- fix: append NPM_AUTH_TOKEN to .npmrc for publish ([@hasparus](https://github.com/hasparus))
8-
- Update to-theme.ts.snap [#2321](https://github.com/system-ui/theme-ui/pull/2321) ([@lachlanjc](https://github.com/lachlanjc))
9-
- Suppress unnecessary TS error in Prism test [#2321](https://github.com/system-ui/theme-ui/pull/2321) ([@lachlanjc](https://github.com/lachlanjc))
10-
- Use correct dependency override [#2321](https://github.com/system-ui/theme-ui/pull/2321) ([@lachlanjc](https://github.com/lachlanjc))
11-
- Use specific peer dependency override [#2321](https://github.com/system-ui/theme-ui/pull/2321) ([@lachlanjc](https://github.com/lachlanjc))
12-
- Upgrade to Jest 29 [#2321](https://github.com/system-ui/theme-ui/pull/2321) ([@lachlanjc](https://github.com/lachlanjc))
13-
14-
#### Authors: 2
15-
16-
- Lachlan Campbell ([@lachlanjc](https://github.com/lachlanjc))
17-
- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus))
18-
19-
---
20-
211
# v0.15.1 (Tue Oct 04 2022)
222

233
#### 🐛 Bug Fix

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@theme-ui/monorepo",
3-
"version": "0.15.3",
3+
"version": "0.15.2",
44
"private": true,
55
"scripts": {
66
"build": "preconstruct build",
@@ -107,7 +107,7 @@
107107
"allowedVersions": {
108108
"react": "18",
109109
"eslint": "8",
110-
"gatsby": "4",
110+
"gatsby": "^4 || ^5",
111111
"@types/jest": "29"
112112
}
113113
}

packages/docs/src/pages/api.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,9 @@ The `useThemeUI` hook returns the full Theme UI context object, which includes
8181

8282
```js
8383
const context = useThemeUI()
84+
const { theme, components, colorMode, setColorMode } = context
8485
```
8586

86-
### `Context`
87-
88-
The React context used in Theme UI.
89-
9087
### `useColorMode`
9188

9289
The `useColorMode` hook returns an array with two values: the current color mode
@@ -120,6 +117,10 @@ override custom & component styling.
120117
</BaseStyles>
121118
```
122119

120+
### `Context`
121+
122+
The React context used in Theme UI.
123+
123124
### `css`
124125

125126
As an alternative to using the `sx` prop, the `css` utility is intended for use

packages/gatsby-plugin-theme-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@emotion/react": "^11",
99
"@theme-ui/mdx": "workspace:^",
1010
"@theme-ui/css": "workspace:^",
11-
"gatsby": "^4",
11+
"gatsby": "^4 || ^5",
1212
"react": ">=18",
1313
"theme-ui": "workspace:^",
1414
"@mdx-js/react": "^1 || ^2"

packages/gatsby-theme-style-guide/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"theme-ui": "workspace:^"
1111
},
1212
"peerDependencies": {
13-
"gatsby": "^4",
13+
"gatsby": "^4 || ^5",
1414
"react": ">=18",
1515
"react-dom": ">=18"
1616
},

packages/gatsby-theme-ui-layout/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "dist/gatsby-theme-ui-layout.cjs.js",
55
"repository": "system-ui/theme-ui",
66
"peerDependencies": {
7-
"gatsby": "^4",
7+
"gatsby": "^4 || ^5",
88
"react": ">=18",
99
"react-dom": ">=18"
1010
},

0 commit comments

Comments
 (0)