Skip to content

Commit

Permalink
Merge pull request #2359 from system-ui/develop
Browse files Browse the repository at this point in the history
Release 0.15.4
  • Loading branch information
hasparus authored Nov 10, 2022
2 parents 83c3d95 + d1a22a9 commit 1b56109
Show file tree
Hide file tree
Showing 8 changed files with 361 additions and 200 deletions.
20 changes: 0 additions & 20 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,3 @@
# v0.15.3 (Mon Oct 17 2022)

#### 🐛 Bug Fix

- Update snapshot [#2321](https://github.com/system-ui/theme-ui/pull/2321) ([@hasparus](https://github.com/hasparus))
- fix: Move NPM env vars up ([@hasparus](https://github.com/hasparus))
- fix: append NPM_AUTH_TOKEN to .npmrc for publish ([@hasparus](https://github.com/hasparus))
- Update to-theme.ts.snap [#2321](https://github.com/system-ui/theme-ui/pull/2321) ([@lachlanjc](https://github.com/lachlanjc))
- Suppress unnecessary TS error in Prism test [#2321](https://github.com/system-ui/theme-ui/pull/2321) ([@lachlanjc](https://github.com/lachlanjc))
- Use correct dependency override [#2321](https://github.com/system-ui/theme-ui/pull/2321) ([@lachlanjc](https://github.com/lachlanjc))
- Use specific peer dependency override [#2321](https://github.com/system-ui/theme-ui/pull/2321) ([@lachlanjc](https://github.com/lachlanjc))
- Upgrade to Jest 29 [#2321](https://github.com/system-ui/theme-ui/pull/2321) ([@lachlanjc](https://github.com/lachlanjc))

#### Authors: 2

- Lachlan Campbell ([@lachlanjc](https://github.com/lachlanjc))
- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus))

---

# v0.15.1 (Tue Oct 04 2022)

#### 🐛 Bug Fix
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@theme-ui/monorepo",
"version": "0.15.3",
"version": "0.15.2",
"private": true,
"scripts": {
"build": "preconstruct build",
Expand Down Expand Up @@ -107,7 +107,7 @@
"allowedVersions": {
"react": "18",
"eslint": "8",
"gatsby": "4",
"gatsby": "^4 || ^5",
"@types/jest": "29"
}
}
Expand Down
9 changes: 5 additions & 4 deletions packages/docs/src/pages/api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,9 @@ The `useThemeUI` hook returns the full Theme UI context object, which includes

```js
const context = useThemeUI()
const { theme, components, colorMode, setColorMode } = context
```

### `Context`

The React context used in Theme UI.

### `useColorMode`

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

### `Context`

The React context used in Theme UI.

### `css`

As an alternative to using the `sx` prop, the `css` utility is intended for use
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-theme-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@emotion/react": "^11",
"@theme-ui/mdx": "workspace:^",
"@theme-ui/css": "workspace:^",
"gatsby": "^4",
"gatsby": "^4 || ^5",
"react": ">=18",
"theme-ui": "workspace:^",
"@mdx-js/react": "^1 || ^2"
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-theme-style-guide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"theme-ui": "workspace:^"
},
"peerDependencies": {
"gatsby": "^4",
"gatsby": "^4 || ^5",
"react": ">=18",
"react-dom": ">=18"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-theme-ui-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "dist/gatsby-theme-ui-layout.cjs.js",
"repository": "system-ui/theme-ui",
"peerDependencies": {
"gatsby": "^4",
"gatsby": "^4 || ^5",
"react": ">=18",
"react-dom": ">=18"
},
Expand Down
Loading

1 comment on commit 1b56109

@vercel
Copy link

@vercel vercel bot commented on 1b56109 Nov 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.