Skip to content

Commit ae2eeda

Browse files
authored
Merge branch 'develop' into 1921-rename-themeprovider
2 parents 50370d5 + 4d15cdb commit ae2eeda

File tree

68 files changed

+552
-191
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+552
-191
lines changed

.all-contributorsrc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,6 +1160,26 @@
11601160
"test",
11611161
"code"
11621162
]
1163+
},
1164+
{
1165+
"login": "wahidrahim",
1166+
"name": "Wahid Rahim",
1167+
"avatar_url": "https://avatars.githubusercontent.com/u/7417976?v=4",
1168+
"profile": "https://github.com/wahidrahim",
1169+
"contributions": [
1170+
"doc",
1171+
"example",
1172+
"code"
1173+
]
1174+
},
1175+
{
1176+
"login": "JustinotherGitter",
1177+
"name": "Justin Cooper",
1178+
"avatar_url": "https://avatars.githubusercontent.com/u/49234323?v=4",
1179+
"profile": "https://github.com/JustinotherGitter",
1180+
"contributions": [
1181+
"doc"
1182+
]
11631183
}
11641184
]
11651185
}

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- run: pnpm build:docs
3737
- run: cd packages/e2e && pnpm cypress install
3838

39-
- uses: cypress-io/github-action@v4.2.0
39+
- uses: cypress-io/github-action@v5.0.0
4040
with:
4141
record: true
4242
parallel: true

CHANGELOG.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,67 @@
1+
# v0.15.7 (Thu Mar 30 2023)
2+
3+
4+
5+
---
6+
7+
# v0.15.6 (Wed Mar 29 2023)
8+
9+
:tada: This release contains work from new contributors! :tada:
10+
11+
Thanks for all your work!
12+
13+
:heart: Ben ([@benchilds](https://github.com/benchilds))
14+
15+
:heart: Justin Cooper ([@JustinotherGitter](https://github.com/JustinotherGitter))
16+
17+
#### 🐛 Bug Fix
18+
19+
- Update variants.mdx [#2408](https://github.com/system-ui/theme-ui/pull/2408) ([@benchilds](https://github.com/benchilds))
20+
- fix: Use `type` imports on src/index [#2392](https://github.com/system-ui/theme-ui/pull/2392) ([@lachlanjc](https://github.com/lachlanjc))
21+
22+
#### 🏠 Internal
23+
24+
- docs: Fix color modes code sample typo [#2399](https://github.com/system-ui/theme-ui/pull/2399) ([@JustinotherGitter](https://github.com/JustinotherGitter))
25+
26+
#### Authors: 3
27+
28+
- Ben ([@benchilds](https://github.com/benchilds))
29+
- Justin Cooper ([@JustinotherGitter](https://github.com/JustinotherGitter))
30+
- Lachlan Campbell ([@lachlanjc](https://github.com/lachlanjc))
31+
32+
---
33+
34+
# v0.15.5 (Tue Feb 07 2023)
35+
36+
:tada: This release contains work from new contributors! :tada:
37+
38+
Thanks for all your work!
39+
40+
:heart: Nischal Shakya ([@Nischal2015](https://github.com/Nischal2015))
41+
42+
:heart: Wahid Rahim ([@wahidrahim](https://github.com/wahidrahim))
43+
44+
#### 🐛 Bug Fix
45+
46+
- fix(custom-properties): use default key name if pluralize returns empty [#2389](https://github.com/system-ui/theme-ui/pull/2389) ([@wahidrahim](https://github.com/wahidrahim))
47+
- Add theme-aware Global component [#2385](https://github.com/system-ui/theme-ui/pull/2385) ([@lachlanjc](https://github.com/lachlanjc) [@hasparus](https://github.com/hasparus))
48+
49+
#### 🏠 Internal
50+
51+
- components: Rewrite Spinner for better performance [#2384](https://github.com/system-ui/theme-ui/pull/2384) ([@lachlanjc](https://github.com/lachlanjc))
52+
- docs: Add missing `useMDXComponents` import [#2370](https://github.com/system-ui/theme-ui/pull/2370) ([@Nischal2015](https://github.com/Nischal2015))
53+
- docs: Reorganize Color Modes doc for clarity [#2365](https://github.com/system-ui/theme-ui/pull/2365) ([@lachlanjc](https://github.com/lachlanjc))
54+
55+
#### Authors: 5
56+
57+
- Lachlan Campbell ([@lachlanjc](https://github.com/lachlanjc))
58+
- Lennart ([@LekoArts](https://github.com/LekoArts))
59+
- Nischal Shakya ([@Nischal2015](https://github.com/Nischal2015))
60+
- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus))
61+
- Wahid Rahim ([@wahidrahim](https://github.com/wahidrahim))
62+
63+
---
64+
165
# v0.15.4 (Thu Nov 10 2022)
266

367
#### 🐛 Bug Fix

examples/next/components/Header.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ import { Button, useColorMode } from 'theme-ui'
22

33
const Header = () => {
44
const [colorMode, setColorMode] = useColorMode()
5+
56
return (
67
<header>
78
<Button
9+
suppressHydrationWarning
810
onClick={() => setColorMode(colorMode === 'light' ? 'dark' : 'light')}
911
>
1012
Toggle {colorMode === 'light' ? 'Dark' : 'Light'}

examples/next/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@mdx-js/loader": "^2.1.2",
1717
"@mdx-js/react": "^2.1.2",
1818
"@next/mdx": "^12.0.7",
19+
"@theme-ui/css": "workspace:^",
1920
"next": "^12.1.0",
2021
"react": "^18",
2122
"react-dom": "^18",

examples/next/pages/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import Head from 'next/head'
22
import About from '../components/about.mdx'
3+
import { Global } from 'theme-ui'
34

45
export default function Page() {
56
return (
67
<>
78
<Head>
89
<title>Next.js Theme UI</title>
910
</Head>
11+
<Global styles={{ h1: { color: 'salmon !important' } }} />
1012
<About />
1113
</>
1214
)

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@theme-ui/monorepo",
3-
"version": "0.15.4",
3+
"version": "0.15.7",
44
"private": true,
55
"scripts": {
66
"build": "preconstruct build",
@@ -65,7 +65,7 @@
6565
"@jest/types": "^29",
6666
"@preconstruct/cli": "^2.1.5",
6767
"@testing-library/react": "^13.4.0",
68-
"@types/eslint": "8.4.6",
68+
"@types/eslint": "8.37.0",
6969
"@types/jest": "^29.0.3",
7070
"@types/node": "^18.7.18",
7171
"@types/react-dom": "^18.0.6",
@@ -74,7 +74,7 @@
7474
"@typescript-eslint/parser": "^5.37.0",
7575
"auto": "^10.37.6",
7676
"babel-jest": "^29.0.3",
77-
"babel-preset-gatsby": "^2.2.0",
77+
"babel-preset-gatsby": "^3.9.0",
7878
"cross-env": "^7.0.3",
7979
"egzek": "^1.2.0",
8080
"eslint": "^8",
@@ -87,11 +87,11 @@
8787
"postinstall-postinstall": "^2.1.0",
8888
"prettier": "^2.2.1",
8989
"react-test-renderer": "^18.2.0",
90-
"rimraf": "^3.0.2",
90+
"rimraf": "^5.0.0",
9191
"ts-jest": "^29.0.1",
9292
"ts-toolbelt": "^9.6.0",
9393
"typecov": "^0.2.3",
94-
"typescript": "^4"
94+
"typescript": "^5"
9595
},
9696
"pnpm": {
9797
"overrides": {

packages/color-modes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@theme-ui/color-modes",
3-
"version": "0.15.5-develop.0",
3+
"version": "0.15.9-develop.0",
44
"main": "dist/theme-ui-color-modes.cjs.js",
55
"module": "dist/theme-ui-color-modes.esm.js",
66
"types": "dist/theme-ui-color-modes.cjs.d.ts",

packages/color/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@theme-ui/color",
3-
"version": "0.15.5-develop.0",
3+
"version": "0.15.9-develop.0",
44
"source": "src/index.ts",
55
"main": "dist/theme-ui-color.cjs.js",
66
"module": "dist/theme-ui-color.esm.js",

packages/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@theme-ui/components",
3-
"version": "0.15.5-develop.0",
3+
"version": "0.15.9-develop.0",
44
"main": "dist/theme-ui-components.cjs.js",
55
"module": "dist/theme-ui-components.esm.js",
66
"types": "dist/theme-ui-components.cjs.d.ts",

0 commit comments

Comments
 (0)