Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 24
registry-url: 'https://registry.npmjs.org'
Expand All @@ -35,7 +35,7 @@ jobs:
tag: beta

- name: Cache dependencies
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package.json') }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 24
registry-url: 'https://registry.npmjs.org'

- name: Cache dependencies
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package.json') }}
Expand All @@ -49,10 +49,10 @@ jobs:
needs: publish
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 24
registry-url: 'https://registry.npmjs.org'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-canny",
"version": "0.0.8",
"version": "0.0.9",
"author": "Kris Papercut <krispcut@gmail.com>",
"description": "Canny.io integration for react",
"license": "MIT",
Expand Down
1 change: 1 addition & 0 deletions src/makes/Canny.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export type ChangeLogOptions = {
appID: string;
align: "top" | "bottom" | "left" | "right";
position: "top" | "bottom" | "left" | "right";
theme?: "auto" | "light" | "dark";
labelIDs?: string[];
};

Expand Down
4 changes: 3 additions & 1 deletion src/views/CannyChangelog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const CannyChangelog: React.FC<CannyChangelogProps> = (props) => {
component: Component = "button",
align = "left",
position = "bottom",
theme = "auto",
labelIDs,
children,
...rest
Expand All @@ -38,11 +39,12 @@ export const CannyChangelog: React.FC<CannyChangelogProps> = (props) => {
appID: appId,
align,
position,
theme,
labelIDs
});

return () => canny.closeChangelog();
}, [appId, align, position, labelIDs]);
}, [appId, align, position, theme, labelIDs]);

return (
<Component
Expand Down
Loading