From 92c09bc23496d0da17b59e79e7bdc9f23984c04f Mon Sep 17 00:00:00 2001 From: Shivam Sharma Date: Thu, 30 Jan 2025 18:02:54 +0530 Subject: [PATCH] migrate tailwindcss v3 to v4 --- pnpm-lock.yaml | 435 ++++++++++++------ website/package.json | 3 +- website/postcss.config.mjs | 2 +- .../app/components/DocumentationButton.tsx | 2 +- website/src/app/components/FeatureGrid.tsx | 6 +- website/src/app/components/Footer.tsx | 2 +- website/src/app/components/OpenAPI.tsx | 2 +- website/src/app/components/PreviewInput.tsx | 6 +- website/src/app/components/TechStack.tsx | 2 +- website/src/app/components/page.tsx | 8 +- website/src/app/globals.css | 82 ++-- website/tailwind.config.ts | 20 - website/tsconfig.json | 3 +- 13 files changed, 377 insertions(+), 196 deletions(-) delete mode 100644 website/tailwind.config.ts diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5e4c50f0..933c1d72 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -430,7 +430,7 @@ importers: version: 19.0.3(@types/react@19.0.7) '@vitejs/plugin-react': specifier: 4.3.4 - version: 4.3.4(vite@6.0.11(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0)) + version: 4.3.4(vite@6.0.11(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0)) '@zudoku/httpsnippet': specifier: 10.0.9 version: 10.0.9 @@ -616,7 +616,7 @@ importers: version: 6.0.3 vite: specifier: 6.0.11 - version: 6.0.11(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0) + version: 6.0.11(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0) yaml: specifier: 2.7.0 version: 2.7.0 @@ -687,7 +687,7 @@ importers: version: 17.0.33 '@vitest/coverage-v8': specifier: 3.0.2 - version: 3.0.2(vitest@3.0.2(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0)) + version: 3.0.2(vitest@3.0.2(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0)) mdast-util-mdx: specifier: 3.0.0 version: 3.0.0 @@ -705,7 +705,7 @@ importers: version: 5.7.3 vitest: specifier: 3.0.2 - version: 3.0.2(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0) + version: 3.0.2(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0) website: dependencies: @@ -740,6 +740,9 @@ importers: specifier: 2.6.0 version: 2.6.0 devDependencies: + '@tailwindcss/postcss': + specifier: ^4.0.0 + version: 4.0.0 '@types/node': specifier: 20.16.11 version: 20.16.11 @@ -762,8 +765,8 @@ importers: specifier: 1.14.1 version: 1.14.1 tailwindcss: - specifier: 3.4.13 - version: 3.4.13(ts-node@10.9.1(@swc/core@1.10.1(@swc/helpers@0.5.15))(@types/node@20.16.11)(typescript@5.7.2)) + specifier: 4.0.0 + version: 4.0.0 typescript: specifier: 5.7.2 version: 5.7.2 @@ -3696,6 +3699,82 @@ packages: '@swc/types@0.1.17': resolution: {integrity: sha512-V5gRru+aD8YVyCOMAjMpWR1Ui577DD5KSJsHP8RAxopAH22jFz6GZd/qxqjO6MJHQhcsjvjOFXyDhyLQUnMveQ==} + '@tailwindcss/node@4.0.0': + resolution: {integrity: sha512-tfG2uBvo6j6kDIPmntxwXggCOZAt7SkpAXJ6pTIYirNdk5FBqh/CZZ9BZPpgcl/tNFLs6zc4yghM76sqiELG9g==} + + '@tailwindcss/oxide-android-arm64@4.0.0': + resolution: {integrity: sha512-EAhjU0+FIdyGPR+7MbBWubLLPtmOu+p7c2egTTFBRk/n//zYjNvVK0WhcBK5Y7oUB5mo4EjA2mCbY7dcEMWSRw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [android] + + '@tailwindcss/oxide-darwin-arm64@4.0.0': + resolution: {integrity: sha512-hdz4xnSWS11cIp+7ye+3dGHqs0X33z+BXXTtgPOguDWVa+TdXUzwxonklSzf5wlJFuot3dv5eWzhlNai0oYYQg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + + '@tailwindcss/oxide-darwin-x64@4.0.0': + resolution: {integrity: sha512-+dOUUaXTkPKKhtUI9QtVaYg+MpmLh2CN0dHohiYXaBirEyPMkjaT0zbRgzQlNnQWjCVVXPQluIEb0OMEjSTH+Q==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + + '@tailwindcss/oxide-freebsd-x64@4.0.0': + resolution: {integrity: sha512-CJhGDhxnrmu4SwyC62fA+wP24MhA/TZlIhRHqg1kRuIHoGoVR2uSSm1qxTxU37tSSZj8Up0q6jsBJCAP4k7rgQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [freebsd] + + '@tailwindcss/oxide-linux-arm-gnueabihf@4.0.0': + resolution: {integrity: sha512-Wy7Av0xzXfY2ujZBcYy4+7GQm25/J1iHvlQU2CfwdDCuPWfIjYzR6kggz+uVdSJyKV2s64znchBxRE8kV4uXSA==} + engines: {node: '>= 10'} + cpu: [arm] + os: [linux] + + '@tailwindcss/oxide-linux-arm64-gnu@4.0.0': + resolution: {integrity: sha512-srwBo2l6pvM0swBntc1ucuhGsfFOLkqPRFQ3dWARRTfSkL1U9nAsob2MKc/n47Eva/W9pZZgMOuf7rDw8pK1Ew==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + + '@tailwindcss/oxide-linux-arm64-musl@4.0.0': + resolution: {integrity: sha512-abhusswkduYWuezkBmgo0K0/erGq3M4Se5xP0fhc/0dKs0X/rJUYYCFWntHb3IGh3aVzdQ0SXJs93P76DbUqtw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + + '@tailwindcss/oxide-linux-x64-gnu@4.0.0': + resolution: {integrity: sha512-hGtRYIUEx377/HlU49+jvVKKwU1MDSKYSMMs0JFO2Wp7LGxk5+0j5+RBk9NFnmp/lbp32yPTgIOO5m1BmDq36A==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + + '@tailwindcss/oxide-linux-x64-musl@4.0.0': + resolution: {integrity: sha512-7xgQgSAThs0I14VAgmxpJnK6XFSZBxHMGoDXkLyYkEnu+8WRQMbCP93dkCUn2PIv+Q+JulRgc00PJ09uORSLXQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + + '@tailwindcss/oxide-win32-arm64-msvc@4.0.0': + resolution: {integrity: sha512-qEcgTIPcWY5ZE7f6VxQ/JPrSFMcehzVIlZj7sGE3mVd5YWreAT+Fl1vSP8q2pjnWXn0avZG3Iw7a2hJQAm+fTQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + + '@tailwindcss/oxide-win32-x64-msvc@4.0.0': + resolution: {integrity: sha512-bqT0AY8RXb8GMDy28JtngvqaOSB2YixbLPLvUo6I6lkvvUwA6Eqh2Tj60e2Lh7O/k083f8tYiB0WEK4wmTI7Jg==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + + '@tailwindcss/oxide@4.0.0': + resolution: {integrity: sha512-W3FjpJgy4VV1JiL7iBYDf2n/WkeDg1Il+0Q7eWnqPyvkPPCo/Mbwc5BiaT7dfBNV6tQKAhVE34rU5xl8pSl50w==} + engines: {node: '>= 10'} + + '@tailwindcss/postcss@4.0.0': + resolution: {integrity: sha512-lI2bPk4TvwavHdehjr5WiC6HnZ59hacM6ySEo4RM/H7tsjWd8JpqiNW9ThH7rO/yKtrn4mGBoXshpvn8clXjPg==} + '@tailwindcss/typography@0.5.16': resolution: {integrity: sha512-0wDLwCVF5V3x3b1SGXPCDcdsbDHMBe+lkFzBRaHeLvNi+nrrnZ1lA18u+OTWO8iSWU2GxUOCvlXtDuqftc1oiA==} peerDependencies: @@ -4895,6 +4974,11 @@ packages: resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} engines: {node: '>=8'} + detect-libc@1.0.3: + resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==} + engines: {node: '>=0.10'} + hasBin: true + detect-libc@2.0.3: resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==} engines: {node: '>=8'} @@ -6201,6 +6285,10 @@ packages: resolution: {integrity: sha512-EX4oNDwcXSivPrw2qKH2LB5PoFxEvgtv2JgwW0bU858HoLQ+kutSvjLMUqBd0PeJYEinLWhoI9Ol0eYMqj/wNQ==} hasBin: true + jiti@2.4.2: + resolution: {integrity: sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==} + hasBin: true + jose@5.6.2: resolution: {integrity: sha512-F1t1/WZJ4JdmCE/XoMYw1dPOW5g8JF0xGm6Ox2fwaCAPlCzt+4Bh0EWP59iQuZNHHauDkCdjx+kCZSh5z/PGow==} @@ -6299,9 +6387,69 @@ packages: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} - lilconfig@2.1.0: - resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} - engines: {node: '>=10'} + lightningcss-darwin-arm64@1.29.1: + resolution: {integrity: sha512-HtR5XJ5A0lvCqYAoSv2QdZZyoHNttBpa5EP9aNuzBQeKGfbyH5+UipLWvVzpP4Uml5ej4BYs5I9Lco9u1fECqw==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [darwin] + + lightningcss-darwin-x64@1.29.1: + resolution: {integrity: sha512-k33G9IzKUpHy/J/3+9MCO4e+PzaFblsgBjSGlpAaFikeBFm8B/CkO3cKU9oI4g+fjS2KlkLM/Bza9K/aw8wsNA==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [darwin] + + lightningcss-freebsd-x64@1.29.1: + resolution: {integrity: sha512-0SUW22fv/8kln2LnIdOCmSuXnxgxVC276W5KLTwoehiO0hxkacBxjHOL5EtHD8BAXg2BvuhsJPmVMasvby3LiQ==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [freebsd] + + lightningcss-linux-arm-gnueabihf@1.29.1: + resolution: {integrity: sha512-sD32pFvlR0kDlqsOZmYqH/68SqUMPNj+0pucGxToXZi4XZgZmqeX/NkxNKCPsswAXU3UeYgDSpGhu05eAufjDg==} + engines: {node: '>= 12.0.0'} + cpu: [arm] + os: [linux] + + lightningcss-linux-arm64-gnu@1.29.1: + resolution: {integrity: sha512-0+vClRIZ6mmJl/dxGuRsE197o1HDEeeRk6nzycSy2GofC2JsY4ifCRnvUWf/CUBQmlrvMzt6SMQNMSEu22csWQ==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [linux] + + lightningcss-linux-arm64-musl@1.29.1: + resolution: {integrity: sha512-UKMFrG4rL/uHNgelBsDwJcBqVpzNJbzsKkbI3Ja5fg00sgQnHw/VrzUTEc4jhZ+AN2BvQYz/tkHu4vt1kLuJyw==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [linux] + + lightningcss-linux-x64-gnu@1.29.1: + resolution: {integrity: sha512-u1S+xdODy/eEtjADqirA774y3jLcm8RPtYztwReEXoZKdzgsHYPl0s5V52Tst+GKzqjebkULT86XMSxejzfISw==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [linux] + + lightningcss-linux-x64-musl@1.29.1: + resolution: {integrity: sha512-L0Tx0DtaNUTzXv0lbGCLB/c/qEADanHbu4QdcNOXLIe1i8i22rZRpbT3gpWYsCh9aSL9zFujY/WmEXIatWvXbw==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [linux] + + lightningcss-win32-arm64-msvc@1.29.1: + resolution: {integrity: sha512-QoOVnkIEFfbW4xPi+dpdft/zAKmgLgsRHfJalEPYuJDOWf7cLQzYg0DEh8/sn737FaeMJxHZRc1oBreiwZCjog==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [win32] + + lightningcss-win32-x64-msvc@1.29.1: + resolution: {integrity: sha512-NygcbThNBe4JElP+olyTI/doBNGJvLs3bFCRPdvuCcxZCcCZ71B858IHpdm7L1btZex0FvCmM17FK98Y9MRy1Q==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [win32] + + lightningcss@1.29.1: + resolution: {integrity: sha512-FmGoeD4S05ewj+AkhTY+D+myDvXI6eL27FjHIjoyUkO/uw7WZD1fBVs0QxeYWa7E17CUHJaYX/RUGISCtcrG4Q==} + engines: {node: '>= 12.0.0'} lilconfig@3.1.3: resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==} @@ -7591,10 +7739,6 @@ packages: engines: {node: '>= 0.4'} hasBin: true - resolve@1.22.8: - resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} - hasBin: true - resolve@2.0.0-next.5: resolution: {integrity: sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==} hasBin: true @@ -8064,16 +8208,14 @@ packages: tailwind-merge@2.6.0: resolution: {integrity: sha512-P+Vu1qXfzediirmHOC3xKGAYeZtPcV9g76X+xg2FD4tYgR71ewMA35Y3sCz3zhiN/dwefRpJX0yBcgwi1fXNQA==} - tailwindcss@3.4.13: - resolution: {integrity: sha512-KqjHOJKogOUt5Bs752ykCeiwvi0fKVkr5oqsFNt/8px/tA8scFPIlkygsf6jXrfCqGHz7VflA6+yytWuM+XhFw==} - engines: {node: '>=14.0.0'} - hasBin: true - tailwindcss@3.4.17: resolution: {integrity: sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==} engines: {node: '>=14.0.0'} hasBin: true + tailwindcss@4.0.0: + resolution: {integrity: sha512-ULRPI3A+e39T7pSaf1xoi58AqqJxVCLg8F/uM5A3FadUbnyDTgltVnXJvdkTjwCOGA6NazqHVcwPJC5h2vRYVQ==} + tapable@2.2.1: resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} engines: {node: '>=6'} @@ -10958,7 +11100,6 @@ snapshots: '@nx/nx-win32-x64-msvc@20.3.3': optional: true - '@nx/vite@20.3.3(@babel/traverse@7.26.7)(@swc/core@1.10.1(@swc/helpers@0.5.15))(@types/node@22.7.5)(nx@20.3.3(@swc/core@1.10.1(@swc/helpers@0.5.15)))(typescript@5.7.3)(vite@6.0.11(@types/node@22.7.5)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0))(vitest@3.0.2(@types/node@22.7.5)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0))': dependencies: '@nx/devkit': 20.3.3(nx@20.3.3(@swc/core@1.10.1(@swc/helpers@0.5.15))) @@ -10968,8 +11109,8 @@ snapshots: enquirer: 2.3.6 minimatch: 9.0.3 tsconfig-paths: 4.2.0 - vite: 6.0.11(@types/node@22.7.5)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0) - vitest: 3.0.2(@types/node@22.7.5)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.11(@types/node@22.7.5)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0) + vitest: 3.0.2(@types/node@22.7.5)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0) transitivePeerDependencies: - '@babel/traverse' - '@swc-node/register' @@ -12141,6 +12282,68 @@ snapshots: '@swc/counter': 0.1.3 optional: true + '@tailwindcss/node@4.0.0': + dependencies: + enhanced-resolve: 5.18.0 + jiti: 2.4.2 + tailwindcss: 4.0.0 + + '@tailwindcss/oxide-android-arm64@4.0.0': + optional: true + + '@tailwindcss/oxide-darwin-arm64@4.0.0': + optional: true + + '@tailwindcss/oxide-darwin-x64@4.0.0': + optional: true + + '@tailwindcss/oxide-freebsd-x64@4.0.0': + optional: true + + '@tailwindcss/oxide-linux-arm-gnueabihf@4.0.0': + optional: true + + '@tailwindcss/oxide-linux-arm64-gnu@4.0.0': + optional: true + + '@tailwindcss/oxide-linux-arm64-musl@4.0.0': + optional: true + + '@tailwindcss/oxide-linux-x64-gnu@4.0.0': + optional: true + + '@tailwindcss/oxide-linux-x64-musl@4.0.0': + optional: true + + '@tailwindcss/oxide-win32-arm64-msvc@4.0.0': + optional: true + + '@tailwindcss/oxide-win32-x64-msvc@4.0.0': + optional: true + + '@tailwindcss/oxide@4.0.0': + optionalDependencies: + '@tailwindcss/oxide-android-arm64': 4.0.0 + '@tailwindcss/oxide-darwin-arm64': 4.0.0 + '@tailwindcss/oxide-darwin-x64': 4.0.0 + '@tailwindcss/oxide-freebsd-x64': 4.0.0 + '@tailwindcss/oxide-linux-arm-gnueabihf': 4.0.0 + '@tailwindcss/oxide-linux-arm64-gnu': 4.0.0 + '@tailwindcss/oxide-linux-arm64-musl': 4.0.0 + '@tailwindcss/oxide-linux-x64-gnu': 4.0.0 + '@tailwindcss/oxide-linux-x64-musl': 4.0.0 + '@tailwindcss/oxide-win32-arm64-msvc': 4.0.0 + '@tailwindcss/oxide-win32-x64-msvc': 4.0.0 + + '@tailwindcss/postcss@4.0.0': + dependencies: + '@alloc/quick-lru': 5.2.0 + '@tailwindcss/node': 4.0.0 + '@tailwindcss/oxide': 4.0.0 + lightningcss: 1.29.1 + postcss: 8.5.1 + tailwindcss: 4.0.0 + '@tailwindcss/typography@0.5.16(tailwindcss@3.4.17(ts-node@10.9.1(@swc/core@1.10.1(@swc/helpers@0.5.15))(@types/node@20.16.11)(typescript@5.7.3)))': dependencies: lodash.castarray: 4.4.0 @@ -12520,18 +12723,18 @@ snapshots: '@vercel/ncc@0.38.3': {} - '@vitejs/plugin-react@4.3.4(vite@6.0.11(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0))': + '@vitejs/plugin-react@4.3.4(vite@6.0.11(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0))': dependencies: '@babel/core': 7.26.0 '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.0) '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.0) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 6.0.11(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.11(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0) transitivePeerDependencies: - supports-color - '@vitest/coverage-v8@3.0.2(vitest@3.0.2(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0))': + '@vitest/coverage-v8@3.0.2(vitest@3.0.2(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 1.0.2 @@ -12545,7 +12748,7 @@ snapshots: std-env: 3.8.0 test-exclude: 7.0.1 tinyrainbow: 2.0.0 - vitest: 3.0.2(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0) + vitest: 3.0.2(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0) transitivePeerDependencies: - supports-color @@ -12556,21 +12759,21 @@ snapshots: chai: 5.1.2 tinyrainbow: 2.0.0 - '@vitest/mocker@3.0.2(vite@6.0.11(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0))': + '@vitest/mocker@3.0.2(vite@6.0.11(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0))': dependencies: '@vitest/spy': 3.0.2 estree-walker: 3.0.3 magic-string: 0.30.17 optionalDependencies: - vite: 6.0.11(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.11(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0) - '@vitest/mocker@3.0.2(vite@6.0.11(@types/node@22.7.5)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0))': + '@vitest/mocker@3.0.2(vite@6.0.11(@types/node@22.7.5)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0))': dependencies: '@vitest/spy': 3.0.2 estree-walker: 3.0.3 magic-string: 0.30.17 optionalDependencies: - vite: 6.0.11(@types/node@22.7.5)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.11(@types/node@22.7.5)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0) '@vitest/pretty-format@3.0.2': dependencies: @@ -13601,6 +13804,8 @@ snapshots: detect-indent@6.1.0: {} + detect-libc@1.0.3: {} + detect-libc@2.0.3: {} detect-node-es@1.1.0: {} @@ -13998,7 +14203,7 @@ snapshots: '@typescript-eslint/parser': 8.21.0(eslint@8.57.0)(typescript@5.7.2) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.21.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0) + eslint-import-resolver-typescript: 3.7.0(eslint-plugin-import@2.31.0)(eslint@8.57.0) eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.21.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.0) eslint-plugin-jsx-a11y: 6.10.2(eslint@8.57.0) eslint-plugin-react: 7.37.4(eslint@8.57.0) @@ -14022,7 +14227,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.21.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0): + eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0)(eslint@8.57.0): dependencies: '@nolyfill/is-core-module': 1.0.39 debug: 4.4.0 @@ -14038,14 +14243,14 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.21.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.21.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.21.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 8.21.0(eslint@8.57.0)(typescript@5.7.2) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.21.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0) + eslint-import-resolver-typescript: 3.7.0(eslint-plugin-import@2.31.0)(eslint@8.57.0) transitivePeerDependencies: - supports-color @@ -14070,7 +14275,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.21.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.21.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.21.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.0) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -15364,6 +15569,8 @@ snapshots: jiti@2.3.3: {} + jiti@2.4.2: {} + jose@5.6.2: {} js-cookie@3.0.5: {} @@ -15444,7 +15651,50 @@ snapshots: prelude-ls: 1.2.1 type-check: 0.4.0 - lilconfig@2.1.0: {} + lightningcss-darwin-arm64@1.29.1: + optional: true + + lightningcss-darwin-x64@1.29.1: + optional: true + + lightningcss-freebsd-x64@1.29.1: + optional: true + + lightningcss-linux-arm-gnueabihf@1.29.1: + optional: true + + lightningcss-linux-arm64-gnu@1.29.1: + optional: true + + lightningcss-linux-arm64-musl@1.29.1: + optional: true + + lightningcss-linux-x64-gnu@1.29.1: + optional: true + + lightningcss-linux-x64-musl@1.29.1: + optional: true + + lightningcss-win32-arm64-msvc@1.29.1: + optional: true + + lightningcss-win32-x64-msvc@1.29.1: + optional: true + + lightningcss@1.29.1: + dependencies: + detect-libc: 1.0.3 + optionalDependencies: + lightningcss-darwin-arm64: 1.29.1 + lightningcss-darwin-x64: 1.29.1 + lightningcss-freebsd-x64: 1.29.1 + lightningcss-linux-arm-gnueabihf: 1.29.1 + lightningcss-linux-arm64-gnu: 1.29.1 + lightningcss-linux-arm64-musl: 1.29.1 + lightningcss-linux-x64-gnu: 1.29.1 + lightningcss-linux-x64-musl: 1.29.1 + lightningcss-win32-arm64-msvc: 1.29.1 + lightningcss-win32-x64-msvc: 1.29.1 lilconfig@3.1.3: {} @@ -16620,13 +16870,6 @@ snapshots: possible-typed-array-names@1.0.0: {} - postcss-import@15.1.0(postcss@8.4.49): - dependencies: - postcss: 8.4.49 - postcss-value-parser: 4.2.0 - read-cache: 1.0.0 - resolve: 1.22.10 - postcss-import@15.1.0(postcss@8.5.1): dependencies: postcss: 8.5.1 @@ -16634,24 +16877,11 @@ snapshots: read-cache: 1.0.0 resolve: 1.22.10 - postcss-js@4.0.1(postcss@8.4.49): - dependencies: - camelcase-css: 2.0.1 - postcss: 8.4.49 - postcss-js@4.0.1(postcss@8.5.1): dependencies: camelcase-css: 2.0.1 postcss: 8.5.1 - postcss-load-config@4.0.2(postcss@8.4.49)(ts-node@10.9.1(@swc/core@1.10.1(@swc/helpers@0.5.15))(@types/node@20.16.11)(typescript@5.7.2)): - dependencies: - lilconfig: 3.1.3 - yaml: 2.7.0 - optionalDependencies: - postcss: 8.4.49 - ts-node: 10.9.1(@swc/core@1.10.1(@swc/helpers@0.5.15))(@types/node@20.16.11)(typescript@5.7.2) - postcss-load-config@4.0.2(postcss@8.5.1)(ts-node@10.9.1(@swc/core@1.10.1(@swc/helpers@0.5.15))(@types/node@20.16.11)(typescript@5.7.3)): dependencies: lilconfig: 3.1.3 @@ -16660,11 +16890,6 @@ snapshots: postcss: 8.5.1 ts-node: 10.9.1(@swc/core@1.10.1(@swc/helpers@0.5.15))(@types/node@20.16.11)(typescript@5.7.3) - postcss-nested@6.2.0(postcss@8.4.49): - dependencies: - postcss: 8.4.49 - postcss-selector-parser: 6.1.2 - postcss-nested@6.2.0(postcss@8.5.1): dependencies: postcss: 8.5.1 @@ -17138,12 +17363,6 @@ snapshots: path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 - resolve@1.22.8: - dependencies: - is-core-module: 2.15.1 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - resolve@2.0.0-next.5: dependencies: is-core-module: 2.16.1 @@ -17730,33 +17949,6 @@ snapshots: tailwind-merge@2.6.0: {} - tailwindcss@3.4.13(ts-node@10.9.1(@swc/core@1.10.1(@swc/helpers@0.5.15))(@types/node@20.16.11)(typescript@5.7.2)): - dependencies: - '@alloc/quick-lru': 5.2.0 - arg: 5.0.2 - chokidar: 3.6.0 - didyoumean: 1.2.2 - dlv: 1.1.3 - fast-glob: 3.3.1 - glob-parent: 6.0.2 - is-glob: 4.0.3 - jiti: 1.21.7 - lilconfig: 2.1.0 - micromatch: 4.0.8 - normalize-path: 3.0.0 - object-hash: 3.0.0 - picocolors: 1.1.1 - postcss: 8.4.49 - postcss-import: 15.1.0(postcss@8.4.49) - postcss-js: 4.0.1(postcss@8.4.49) - postcss-load-config: 4.0.2(postcss@8.4.49)(ts-node@10.9.1(@swc/core@1.10.1(@swc/helpers@0.5.15))(@types/node@20.16.11)(typescript@5.7.2)) - postcss-nested: 6.2.0(postcss@8.4.49) - postcss-selector-parser: 6.1.2 - resolve: 1.22.8 - sucrase: 3.35.0 - transitivePeerDependencies: - - ts-node - tailwindcss@3.4.17(ts-node@10.9.1(@swc/core@1.10.1(@swc/helpers@0.5.15))(@types/node@20.16.11)(typescript@5.7.3)): dependencies: '@alloc/quick-lru': 5.2.0 @@ -17784,6 +17976,8 @@ snapshots: transitivePeerDependencies: - ts-node + tailwindcss@4.0.0: {} + tapable@2.2.1: {} tar-stream@2.2.0: @@ -17876,27 +18070,6 @@ snapshots: ts-log@2.2.5: {} - ts-node@10.9.1(@swc/core@1.10.1(@swc/helpers@0.5.15))(@types/node@20.16.11)(typescript@5.7.2): - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.11 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.4 - '@types/node': 20.16.11 - acorn: 8.14.0 - acorn-walk: 8.3.4 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 5.7.2 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - optionalDependencies: - '@swc/core': 1.10.1(@swc/helpers@0.5.15) - optional: true - ts-node@10.9.1(@swc/core@1.10.1(@swc/helpers@0.5.15))(@types/node@20.16.11)(typescript@5.7.3): dependencies: '@cspotcode/source-map-support': 0.8.1 @@ -18283,13 +18456,13 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - vite-node@3.0.2(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0): + vite-node@3.0.2(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0): dependencies: cac: 6.7.14 debug: 4.4.0 es-module-lexer: 1.6.0 pathe: 2.0.2 - vite: 6.0.11(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.11(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0) transitivePeerDependencies: - '@types/node' - jiti @@ -18304,13 +18477,13 @@ snapshots: - tsx - yaml - vite-node@3.0.2(@types/node@22.7.5)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0): + vite-node@3.0.2(@types/node@22.7.5)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0): dependencies: cac: 6.7.14 debug: 4.4.0 es-module-lexer: 1.6.0 pathe: 2.0.2 - vite: 6.0.11(@types/node@22.7.5)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.11(@types/node@22.7.5)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0) transitivePeerDependencies: - '@types/node' - jiti @@ -18325,7 +18498,7 @@ snapshots: - tsx - yaml - vite@6.0.11(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0): + vite@6.0.11(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0): dependencies: esbuild: 0.24.2 postcss: 8.5.1 @@ -18333,11 +18506,12 @@ snapshots: optionalDependencies: '@types/node': 20.16.11 fsevents: 2.3.3 - jiti: 2.3.3 + jiti: 2.4.2 + lightningcss: 1.29.1 tsx: 4.19.2 yaml: 2.7.0 - vite@6.0.11(@types/node@22.7.5)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0): + vite@6.0.11(@types/node@22.7.5)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0): dependencies: esbuild: 0.24.2 postcss: 8.5.1 @@ -18345,14 +18519,15 @@ snapshots: optionalDependencies: '@types/node': 22.7.5 fsevents: 2.3.3 - jiti: 2.3.3 + jiti: 2.4.2 + lightningcss: 1.29.1 tsx: 4.19.2 yaml: 2.7.0 - vitest@3.0.2(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0): + vitest@3.0.2(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0): dependencies: '@vitest/expect': 3.0.2 - '@vitest/mocker': 3.0.2(vite@6.0.11(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0)) + '@vitest/mocker': 3.0.2(vite@6.0.11(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0)) '@vitest/pretty-format': 3.0.3 '@vitest/runner': 3.0.2 '@vitest/snapshot': 3.0.2 @@ -18368,8 +18543,8 @@ snapshots: tinyexec: 0.3.2 tinypool: 1.0.2 tinyrainbow: 2.0.0 - vite: 6.0.11(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0) - vite-node: 3.0.2(@types/node@20.16.11)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.11(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0) + vite-node: 3.0.2(@types/node@20.16.11)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 20.16.11 @@ -18387,10 +18562,10 @@ snapshots: - tsx - yaml - vitest@3.0.2(@types/node@22.7.5)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0): + vitest@3.0.2(@types/node@22.7.5)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0): dependencies: '@vitest/expect': 3.0.2 - '@vitest/mocker': 3.0.2(vite@6.0.11(@types/node@22.7.5)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0)) + '@vitest/mocker': 3.0.2(vite@6.0.11(@types/node@22.7.5)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0)) '@vitest/pretty-format': 3.0.3 '@vitest/runner': 3.0.2 '@vitest/snapshot': 3.0.2 @@ -18406,8 +18581,8 @@ snapshots: tinyexec: 0.3.2 tinypool: 1.0.2 tinyrainbow: 2.0.0 - vite: 6.0.11(@types/node@22.7.5)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0) - vite-node: 3.0.2(@types/node@22.7.5)(jiti@2.3.3)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.11(@types/node@22.7.5)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0) + vite-node: 3.0.2(@types/node@22.7.5)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.2)(yaml@2.7.0) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 22.7.5 diff --git a/website/package.json b/website/package.json index bba5cbfc..d78d307f 100644 --- a/website/package.json +++ b/website/package.json @@ -22,6 +22,7 @@ "tailwind-merge": "2.6.0" }, "devDependencies": { + "@tailwindcss/postcss": "^4.0.0", "@types/node": "20.16.11", "@types/react": "catalog:", "@types/react-dom": "catalog:", @@ -29,7 +30,7 @@ "eslint-config-next": "15.1.6", "postcss": "8.4.49", "shiki": "1.14.1", - "tailwindcss": "3.4.13", + "tailwindcss": "4.0.0", "typescript": "5.7.2" } } diff --git a/website/postcss.config.mjs b/website/postcss.config.mjs index 1a69fd2a..5d6d8457 100644 --- a/website/postcss.config.mjs +++ b/website/postcss.config.mjs @@ -1,7 +1,7 @@ /** @type {import('postcss-load-config').Config} */ const config = { plugins: { - tailwindcss: {}, + '@tailwindcss/postcss': {}, }, }; diff --git a/website/src/app/components/DocumentationButton.tsx b/website/src/app/components/DocumentationButton.tsx index 9ca47ca9..689a5248 100644 --- a/website/src/app/components/DocumentationButton.tsx +++ b/website/src/app/components/DocumentationButton.tsx @@ -12,7 +12,7 @@ export const DocumentationButton = () => { }); } }} - className="bg-white/5 rounded p-2 px-4 hover:bg-white hover:text-gray-950" + className="bg-white/5 rounded-sm p-2 px-4 hover:bg-white hover:text-gray-950" > Documentation diff --git a/website/src/app/components/FeatureGrid.tsx b/website/src/app/components/FeatureGrid.tsx index 75a0bf90..5d14b85b 100644 --- a/website/src/app/components/FeatureGrid.tsx +++ b/website/src/app/components/FeatureGrid.tsx @@ -285,9 +285,9 @@ const features = [ header: (
-
-
-
+
+
+
), diff --git a/website/src/app/components/Footer.tsx b/website/src/app/components/Footer.tsx index fa99db13..1256c736 100644 --- a/website/src/app/components/Footer.tsx +++ b/website/src/app/components/Footer.tsx @@ -3,7 +3,7 @@ import Image from "next/image"; export const Footer = () => (