Skip to content

Commit

Permalink
Apply changesets
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 10, 2024
1 parent 21c3f96 commit e52f999
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ When using `ServerTarget`, use the CSS general sibling combinator (~):

`data-sm` -> System preference

#### Content Security Policy

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.

### Images

Show different images based on the current theme:
Expand Down
6 changes: 6 additions & 0 deletions lib/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# nextjs-darkmode

## 0.1.0

### Minor Changes

- Add nonce to support Content Security Policy

## 0.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nextjs-darkmode",
"author": "Mayank Kumar Chaudhari <https://mayank-chaudhari.vercel.app>",
"private": false,
"version": "0.0.3",
"version": "0.1.0",
"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",
"license": "MPL-2.0",
"main": "./dist/index.js",
Expand Down
7 changes: 7 additions & 0 deletions packages/shared/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @repo/shared

## 0.0.4

### Patch Changes

- Updated dependencies
- [email protected]

## 0.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@repo/shared",
"version": "0.0.3",
"version": "0.0.4",
"private": true,
"sideEffects": false,
"main": "./dist/index.js",
Expand Down

0 comments on commit e52f999

Please sign in to comment.