Skip to content

Commit 56c6bff

Browse files
committedAug 15, 2024·
chore: update dependencies and add TodoEditor component
- Updated various dependencies in package.json to their latest versions. - Added a new component TodoEditor in src/components/TodoEditor.tsx. Changes include: - @cl
1 parent 37c2b29 commit 56c6bff

File tree

3 files changed

+1608
-1550
lines changed

3 files changed

+1608
-1550
lines changed
 

‎package.json

+28-28
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@
2929
"build-storybook": "storybook build"
3030
},
3131
"dependencies": {
32-
"@clerk/nextjs": "^5.2.6",
32+
"@clerk/nextjs": "^5.3.1",
3333
"@heroicons/react": "^2.1.5",
3434
"@hookform/resolvers": "^3.9.0",
35-
"@reduxjs/toolkit": "^2.2.6",
35+
"@reduxjs/toolkit": "^2.2.7",
3636
"babel-plugin-react-compiler": "0.0.0-experimental-938cd9a-20240601",
3737
"cal-heatmap": "^4.2.4",
3838
"class-variance-authority": "^0.7.0",
3939
"clsx": "^2.1.1",
4040
"d3": "^7.9.0",
4141
"dayjs": "^1.11.12",
42-
"lucide-react": "^0.414.0",
42+
"lucide-react": "^0.427.0",
4343
"nanoid": "^5.0.7",
4444
"next": "15.0.0-rc.0",
4545
"prisma": "^5.18.0",
@@ -49,41 +49,41 @@
4949
"react-redux": "^9.1.2",
5050
"redux-persist": "^6.0.0",
5151
"sonner": "^1.5.0",
52-
"svix": "^1.25.0",
53-
"tailwind-merge": "^2.4.0",
52+
"svix": "^1.29.0",
53+
"tailwind-merge": "^2.5.2",
5454
"tailwindcss-animate": "^1.0.7",
5555
"theme-change": "^2.5.0",
5656
"tinykeys": "^2.1.0",
57-
"ts-pattern": "^5.2.0",
57+
"ts-pattern": "^5.3.1",
5858
"zod": "^3.23.8"
5959
},
6060
"devDependencies": {
6161
"@chromatic-com/storybook": "^1.6.1",
62-
"@clerk/types": "^4.9.0",
62+
"@clerk/types": "^4.13.1",
6363
"@prisma/client": "5.18.0",
64-
"@storybook/addon-essentials": "^8.2.6",
65-
"@storybook/addon-interactions": "^8.2.6",
66-
"@storybook/addon-links": "^8.2.6",
67-
"@storybook/addon-onboarding": "^8.2.6",
68-
"@storybook/blocks": "^8.2.6",
69-
"@storybook/nextjs": "^8.2.6",
70-
"@storybook/react": "^8.2.6",
71-
"@storybook/test": "^8.2.6",
72-
"@storybook/theming": "^8.2.6",
64+
"@storybook/addon-essentials": "^8.2.9",
65+
"@storybook/addon-interactions": "^8.2.9",
66+
"@storybook/addon-links": "^8.2.9",
67+
"@storybook/addon-onboarding": "^8.2.9",
68+
"@storybook/blocks": "^8.2.9",
69+
"@storybook/nextjs": "^8.2.9",
70+
"@storybook/react": "^8.2.9",
71+
"@storybook/test": "^8.2.9",
72+
"@storybook/theming": "^8.2.9",
7373
"@tailwindcss/forms": "^0.5.7",
74-
"@tailwindcss/typography": "^0.5.13",
74+
"@tailwindcss/typography": "^0.5.14",
7575
"@testing-library/dom": "^10.4.0",
7676
"@testing-library/jest-dom": "^6.4.8",
7777
"@testing-library/react": "^16.0.0",
7878
"@testing-library/user-event": "^14.5.2",
7979
"@types/cal-heatmap": "^3.5.39",
8080
"@types/d3": "^7.4.3",
81-
"@types/node": "^20.14.12",
81+
"@types/node": "^22.3.0",
8282
"@types/react": "npm:types-react@19.0.0-rc.1",
8383
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
84-
"@typescript-eslint/eslint-plugin": "^7.17.0",
85-
"@typescript-eslint/parser": "^7.17.0",
86-
"@vitest/ui": "^2.0.4",
84+
"@typescript-eslint/eslint-plugin": "^8.1.0",
85+
"@typescript-eslint/parser": "^8.1.0",
86+
"@vitest/ui": "^2.0.5",
8787
"daisyui": "^4.12.10",
8888
"eslint": "^8.56.0",
8989
"eslint-config-next": "14.2.5",
@@ -93,17 +93,17 @@
9393
"eslint-plugin-prettier": "^5.2.1",
9494
"eslint-plugin-storybook": "^0.8.0",
9595
"happy-dom": "^14.12.3",
96-
"husky": "^9.1.1",
97-
"lint-staged": "^15.2.7",
98-
"postcss": "^8.4.40",
96+
"husky": "^9.1.4",
97+
"lint-staged": "^15.2.9",
98+
"postcss": "^8.4.41",
9999
"prettier": "^3.3.3",
100-
"prettier-plugin-tailwindcss": "^0.6.5",
100+
"prettier-plugin-tailwindcss": "^0.6.6",
101101
"rimraf": "^6.0.1",
102-
"storybook": "^8.2.6",
103-
"tailwindcss": "^3.4.6",
102+
"storybook": "^8.2.9",
103+
"tailwindcss": "^3.4.10",
104104
"ts-expect": "^1.3.0",
105105
"typescript": "5.5.4",
106-
"vitest": "^2.0.4"
106+
"vitest": "^2.0.5"
107107
},
108108
"volta": {
109109
"node": "20.16.0"

‎pnpm-lock.yaml

+1,562-1,522
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/components/TodoEditor.tsx

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import type { ComponentProps } from 'react'
2+
3+
import { cn } from '@/lib/utils'
4+
5+
export const TodoEditor: React.FC<ComponentProps<'section'>> = (props) => {
6+
return (
7+
<section className={cn('', props.className)}>
8+
<div className="mockup-phone">
9+
<div className="camera"></div>
10+
<div className="display">
11+
<div className="artboard artboard-demo phone-1">
12+
TodoEditor Still getting ready.
13+
</div>
14+
</div>
15+
</div>
16+
</section>
17+
)
18+
}

0 commit comments

Comments
 (0)
Please sign in to comment.