Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies and fix example site #56

Merged
merged 3 commits into from
Dec 13, 2024
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
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ node_modules/
# Build directories/files
dist/
storybook-site/
/getStaticDirs.js
/getStaticDirs.d.ts

# TypeScript cache
*.tsbuildinfo
Expand Down
11,149 changes: 2,197 additions & 8,952 deletions example/package-lock.json

Large diffs are not rendered by default.

22 changes: 12 additions & 10 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,21 @@
"storybook:dev": "tsc -p tsconfig.build.json && storybook dev -p 6006"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0"
"react": "17.x.x || 18.x.x || 19.x.x"
},
"devDependencies": {
"@storybook/addon-essentials": "^8.1.6",
"@storybook/blocks": "^8.1.6",
"@storybook/react": "^8.1.6",
"@storybook/react-vite": "^8.1.6",
"@types/react": "^18.3.3",
"@vitejs/plugin-react": "^4.3.1",
"@storybook/addon-essentials": "^8.4.7",
"@storybook/blocks": "^8.4.7",
"@storybook/react": "^8.4.7",
"@storybook/react-vite": "^8.4.7",
"@types/react": "^18.3.16",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"react": "^18.3.1",
"storybook": "^8.1.6",
"react-dom": "^18.3.1",
"storybook": "^8.4.7",
"storybook-addon-code-editor": "file:../storybook-addon-code-editor-0.0.0.tgz",
"typescript": "^5.4.5",
"vite": "^5.2.13"
"typescript": "^5.7.2",
"vite": "^6.0.3"
}
}
1 change: 1 addition & 0 deletions example/src/Button/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as React from 'react';
import { type JSX } from 'react/jsx-runtime';

type ButtonProps = JSX.IntrinsicElements['button'] & {
backgroundColor?: string;
Expand Down
1 change: 1 addition & 0 deletions example/src/Input/Input.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as React from 'react';
import { type JSX } from 'react/jsx-runtime';

type InputProps = JSX.IntrinsicElements['input'] & {
error?: string;
Expand Down
1 change: 0 additions & 1 deletion getStaticDirs.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion getStaticDirs.js

This file was deleted.

Loading
Loading