Skip to content

Commit e52f999

Browse files
committed
Apply changesets
1 parent 21c3f96 commit e52f999

File tree

5 files changed

+19
-2
lines changed

5 files changed

+19
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,10 @@ When using `ServerTarget`, use the CSS general sibling combinator (~):
205205

206206
`data-sm` -> System preference
207207

208+
#### Content Security Policy
209+
210+
If you are using CSP rules for CSS files, you can pass `nonce` argument. If `nonce` is not supplied transition styles will not be applied. This may allow patched transitions throught the page in some cases.
211+
208212
### Images
209213

210214
Show different images based on the current theme:

lib/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# nextjs-darkmode
22

3+
## 0.1.0
4+
5+
### Minor Changes
6+
7+
- Add nonce to support Content Security Policy
8+
39
## 0.0.3
410

511
### Patch Changes

lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nextjs-darkmode",
33
"author": "Mayank Kumar Chaudhari <https://mayank-chaudhari.vercel.app>",
44
"private": false,
5-
"version": "0.0.3",
5+
"version": "0.1.0",
66
"description": "Unleash the Power of React Server Components! Use dark/light mode on your site with confidence, without losing any advantages of React Server Components",
77
"license": "MPL-2.0",
88
"main": "./dist/index.js",

packages/shared/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @repo/shared
22

3+
## 0.0.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
9+
310
## 0.0.3
411

512
### Patch Changes

packages/shared/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@repo/shared",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"private": true,
55
"sideEffects": false,
66
"main": "./dist/index.js",

0 commit comments

Comments
 (0)