diff --git a/.pnp.cjs b/.pnp.cjs index 0f520c95..e8048f6b 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -45,6 +45,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@typescript-eslint/eslint-plugin", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:7.13.0"],\ ["@typescript-eslint/parser", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:7.13.1"],\ ["axios", "npm:1.7.2"],\ + ["class-variance-authority", "npm:0.7.0"],\ ["clsx", "npm:2.1.1"],\ ["eslint", "npm:8.57.0"],\ ["eslint-config-airbnb", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:19.0.4"],\ @@ -57,14 +58,17 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-react", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:7.34.2"],\ ["eslint-plugin-react-hooks", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:4.6.2"],\ ["eslint-plugin-storybook", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:0.8.0"],\ + ["lucide-react", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:0.411.0"],\ ["next", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:14.2.4"],\ ["postcss", "npm:8.4.38"],\ ["prettier", "npm:3.3.2"],\ ["react", "npm:18.3.1"],\ ["react-dom", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:18.3.1"],\ ["storybook", "npm:8.2.1"],\ + ["tailwind-merge", "npm:2.4.0"],\ ["tailwind-variants", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:0.2.1"],\ ["tailwindcss", "npm:3.4.4"],\ + ["tailwindcss-animate", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:1.0.7"],\ ["typescript", "patch:typescript@npm%3A5.1.6#~builtin::version=5.1.6&hash=5da071"],\ ["webpack", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:5.92.1"]\ ],\ @@ -6634,6 +6638,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@typescript-eslint/eslint-plugin", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:7.13.0"],\ ["@typescript-eslint/parser", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:7.13.1"],\ ["axios", "npm:1.7.2"],\ + ["class-variance-authority", "npm:0.7.0"],\ ["clsx", "npm:2.1.1"],\ ["eslint", "npm:8.57.0"],\ ["eslint-config-airbnb", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:19.0.4"],\ @@ -6646,14 +6651,17 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-react", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:7.34.2"],\ ["eslint-plugin-react-hooks", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:4.6.2"],\ ["eslint-plugin-storybook", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:0.8.0"],\ + ["lucide-react", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:0.411.0"],\ ["next", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:14.2.4"],\ ["postcss", "npm:8.4.38"],\ ["prettier", "npm:3.3.2"],\ ["react", "npm:18.3.1"],\ ["react-dom", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:18.3.1"],\ ["storybook", "npm:8.2.1"],\ + ["tailwind-merge", "npm:2.4.0"],\ ["tailwind-variants", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:0.2.1"],\ ["tailwindcss", "npm:3.4.4"],\ + ["tailwindcss-animate", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:1.0.7"],\ ["typescript", "patch:typescript@npm%3A5.1.6#~builtin::version=5.1.6&hash=5da071"],\ ["webpack", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:5.92.1"]\ ],\ @@ -7178,6 +7186,16 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["class-variance-authority", [\ + ["npm:0.7.0", {\ + "packageLocation": "./.yarn/cache/class-variance-authority-npm-0.7.0-1a63840197-e7fd1fab43.zip/node_modules/class-variance-authority/",\ + "packageDependencies": [\ + ["class-variance-authority", "npm:0.7.0"],\ + ["clsx", "npm:2.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["clean-css", [\ ["npm:5.3.3", {\ "packageLocation": "./.yarn/cache/clean-css-npm-5.3.3-d2bb553a94-941987c148.zip/node_modules/clean-css/",\ @@ -7247,6 +7265,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["clsx", [\ + ["npm:2.0.0", {\ + "packageLocation": "./.yarn/cache/clsx-npm-2.0.0-afafbbe44a-a2cfb2351b.zip/node_modules/clsx/",\ + "packageDependencies": [\ + ["clsx", "npm:2.0.0"]\ + ],\ + "linkType": "HARD"\ + }],\ ["npm:2.1.1", {\ "packageLocation": "./.yarn/cache/clsx-npm-2.1.1-96125b98be-acd3e1ab9d.zip/node_modules/clsx/",\ "packageDependencies": [\ @@ -11432,6 +11457,28 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["lucide-react", [\ + ["npm:0.411.0", {\ + "packageLocation": "./.yarn/cache/lucide-react-npm-0.411.0-2cd46087e9-e0f963f194.zip/node_modules/lucide-react/",\ + "packageDependencies": [\ + ["lucide-react", "npm:0.411.0"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:0.411.0", {\ + "packageLocation": "./.yarn/__virtual__/lucide-react-virtual-c751c06d2b/0/cache/lucide-react-npm-0.411.0-2cd46087e9-e0f963f194.zip/node_modules/lucide-react/",\ + "packageDependencies": [\ + ["lucide-react", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:0.411.0"],\ + ["@types/react", "npm:18.3.3"],\ + ["react", "npm:18.3.1"]\ + ],\ + "packagePeers": [\ + "@types/react",\ + "react"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["lz-string", [\ ["npm:1.5.0", {\ "packageLocation": "./.yarn/cache/lz-string-npm-1.5.0-3860794e30-1ee98b4580.zip/node_modules/lz-string/",\ @@ -14813,6 +14860,28 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["tailwindcss-animate", [\ + ["npm:1.0.7", {\ + "packageLocation": "./.yarn/cache/tailwindcss-animate-npm-1.0.7-0ee9776556-c1760983eb.zip/node_modules/tailwindcss-animate/",\ + "packageDependencies": [\ + ["tailwindcss-animate", "npm:1.0.7"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:1.0.7", {\ + "packageLocation": "./.yarn/__virtual__/tailwindcss-animate-virtual-33db3cf228/0/cache/tailwindcss-animate-npm-1.0.7-0ee9776556-c1760983eb.zip/node_modules/tailwindcss-animate/",\ + "packageDependencies": [\ + ["tailwindcss-animate", "virtual:d9cd1cf96fc105240ce4126e416dd90faeefaf08cea474f2ffdd0a21bc6194bc993779567e0c0bf19c40cbbd585d546a065d8582fcc0925f8826e5fbca78aa72#npm:1.0.7"],\ + ["@types/tailwindcss", null],\ + ["tailwindcss", "npm:3.4.4"]\ + ],\ + "packagePeers": [\ + "@types/tailwindcss",\ + "tailwindcss"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["tapable", [\ ["npm:2.2.1", {\ "packageLocation": "./.yarn/cache/tapable-npm-2.2.1-8cf5ff3039-3b7a1b4d86.zip/node_modules/tapable/",\ diff --git a/.yarn/cache/class-variance-authority-npm-0.7.0-1a63840197-e7fd1fab43.zip b/.yarn/cache/class-variance-authority-npm-0.7.0-1a63840197-e7fd1fab43.zip new file mode 100644 index 00000000..6ae60e61 Binary files /dev/null and b/.yarn/cache/class-variance-authority-npm-0.7.0-1a63840197-e7fd1fab43.zip differ diff --git a/.yarn/cache/clsx-npm-2.0.0-afafbbe44a-a2cfb2351b.zip b/.yarn/cache/clsx-npm-2.0.0-afafbbe44a-a2cfb2351b.zip new file mode 100644 index 00000000..0671b4f4 Binary files /dev/null and b/.yarn/cache/clsx-npm-2.0.0-afafbbe44a-a2cfb2351b.zip differ diff --git a/.yarn/cache/lucide-react-npm-0.411.0-2cd46087e9-e0f963f194.zip b/.yarn/cache/lucide-react-npm-0.411.0-2cd46087e9-e0f963f194.zip new file mode 100644 index 00000000..f94f8a1b Binary files /dev/null and b/.yarn/cache/lucide-react-npm-0.411.0-2cd46087e9-e0f963f194.zip differ diff --git a/.yarn/cache/tailwindcss-animate-npm-1.0.7-0ee9776556-c1760983eb.zip b/.yarn/cache/tailwindcss-animate-npm-1.0.7-0ee9776556-c1760983eb.zip new file mode 100644 index 00000000..a21fda2e Binary files /dev/null and b/.yarn/cache/tailwindcss-animate-npm-1.0.7-0ee9776556-c1760983eb.zip differ diff --git a/components.json b/components.json new file mode 100644 index 00000000..a156be7c --- /dev/null +++ b/components.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://ui.shadcn.com/schema.json", + "style": "default", + "rsc": true, + "tsx": true, + "tailwind": { + "config": "tailwind.config.ts", + "css": "src/app/globals.css", + "baseColor": "slate", + "cssVariables": false, + "prefix": "" + }, + "aliases": { + "components": "@/components", + "utils": "@/util" + } +} diff --git a/package.json b/package.json index 3901a0e5..b99a345c 100644 --- a/package.json +++ b/package.json @@ -17,11 +17,15 @@ "@tanstack/react-query": "^5.51.1", "@tanstack/react-query-devtools": "^5.51.1", "axios": "^1.7.2", + "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", + "lucide-react": "^0.411.0", "next": "14.2.4", "react": "^18", "react-dom": "^18", - "tailwind-variants": "^0.2.1" + "tailwind-merge": "^2.4.0", + "tailwind-variants": "^0.2.1", + "tailwindcss-animate": "^1.0.7" }, "devDependencies": { "@chromatic-com/storybook": "^1.6.1", diff --git a/tailwind.config.ts b/tailwind.config.ts index 13d21fa0..a0f553b9 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -1,20 +1,28 @@ import type { Config } from 'tailwindcss'; const config: Config = { - content: [ - './src/pages/**/*.{js,ts,jsx,tsx,mdx}', - './src/components/**/*.{js,ts,jsx,tsx,mdx}', - './src/app/**/*.{js,ts,jsx,tsx,mdx}', - ], + darkMode: ['class'], + content: ['./pages/**/*.{ts,tsx}', './components/**/*.{ts,tsx}', './app/**/*.{ts,tsx}', './src/**/*.{ts,tsx}'], + prefix: '', theme: { extend: { - backgroundImage: { - 'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))', - 'gradient-conic': - 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))', + keyframes: { + 'accordion-down': { + from: { height: '0' }, + to: { height: 'var(--radix-accordion-content-height)' }, + }, + 'accordion-up': { + from: { height: 'var(--radix-accordion-content-height)' }, + to: { height: '0' }, + }, + }, + animation: { + 'accordion-down': 'accordion-down 0.2s ease-out', + 'accordion-up': 'accordion-up 0.2s ease-out', }, }, }, - plugins: [], + plugins: [require('tailwindcss-animate')], }; + export default config; diff --git a/yarn.lock b/yarn.lock index 73fd8cdc..4043a550 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4352,6 +4352,7 @@ __metadata: "@typescript-eslint/eslint-plugin": ^7.13.0 "@typescript-eslint/parser": ^7.13.1 axios: ^1.7.2 + class-variance-authority: ^0.7.0 clsx: ^2.1.1 eslint: ^8.56.0 eslint-config-airbnb: ^19.0.4 @@ -4364,14 +4365,17 @@ __metadata: eslint-plugin-react: ^7.33.2 eslint-plugin-react-hooks: ^4.6.0 eslint-plugin-storybook: ^0.8.0 + lucide-react: ^0.411.0 next: 14.2.4 postcss: ^8 prettier: ^3.3.2 react: ^18 react-dom: ^18 storybook: ^8.2.1 + tailwind-merge: ^2.4.0 tailwind-variants: ^0.2.1 tailwindcss: ^3.4.1 + tailwindcss-animate: ^1.0.7 typescript: 5.1 webpack: ^5.92.1 languageName: unknown @@ -4841,6 +4845,15 @@ __metadata: languageName: node linkType: hard +"class-variance-authority@npm:^0.7.0": + version: 0.7.0 + resolution: "class-variance-authority@npm:0.7.0" + dependencies: + clsx: 2.0.0 + checksum: e7fd1fab433ef06f52a1b7b241b70b4a185864deef199d3b0a2c3412f1cc179517288264c383f3b971a00d76811625fc8f7ffe709e6170219e88cd7368f08a20 + languageName: node + linkType: hard + "clean-css@npm:^5.2.2": version: 5.3.3 resolution: "clean-css@npm:5.3.3" @@ -4898,6 +4911,13 @@ __metadata: languageName: node linkType: hard +"clsx@npm:2.0.0": + version: 2.0.0 + resolution: "clsx@npm:2.0.0" + checksum: a2cfb2351b254611acf92faa0daf15220f4cd648bdf96ce369d729813b85336993871a4bf6978ddea2b81b5a130478339c20d9d0b5c6fc287e5147f0c059276e + languageName: node + linkType: hard + "clsx@npm:^2.1.1": version: 2.1.1 resolution: "clsx@npm:2.1.1" @@ -8349,6 +8369,15 @@ __metadata: languageName: node linkType: hard +"lucide-react@npm:^0.411.0": + version: 0.411.0 + resolution: "lucide-react@npm:0.411.0" + peerDependencies: + react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0 + checksum: e0f963f194b8194cd008db100d48d28b540ad0ff2d0a3f0710aaa7e8e9716ed0e6c8710f3c512ba61fb9d49672097470ca8b3b15c7d04020772efe82831355c2 + languageName: node + linkType: hard + "lz-string@npm:^1.5.0": version: 1.5.0 resolution: "lz-string@npm:1.5.0" @@ -11220,7 +11249,7 @@ __metadata: languageName: node linkType: hard -"tailwind-merge@npm:^2.2.0": +"tailwind-merge@npm:^2.2.0, tailwind-merge@npm:^2.4.0": version: 2.4.0 resolution: "tailwind-merge@npm:2.4.0" checksum: 442ab18af754eb90a1c730289b10a5df89ec8f197b4783bd31651fffc06ac06dbe7a8f491c2e133c906d6ab466170a5fc1f45aa2d22874e47706acf9d8b0cfe5 @@ -11238,6 +11267,15 @@ __metadata: languageName: node linkType: hard +"tailwindcss-animate@npm:^1.0.7": + version: 1.0.7 + resolution: "tailwindcss-animate@npm:1.0.7" + peerDependencies: + tailwindcss: "*" + checksum: c1760983eb3fec0c8421e95082bf308e6845df43e2f90862386366e82545c801b26b4d189c4cd23d6915252b76d18005c8e5f591f8b119944c7fb8650d0f8bce + languageName: node + linkType: hard + "tailwindcss@npm:^3.4.1": version: 3.4.4 resolution: "tailwindcss@npm:3.4.4"