From c04a437283b3f3f1ba35a783dfd6392a4509ef79 Mon Sep 17 00:00:00 2001 From: Arthur Belleville Date: Mon, 17 Mar 2025 21:20:05 +0100 Subject: [PATCH] Fix build --- ui/package.json | 6 +- ui/pnpm-lock.yaml | 33 +- ui/src/App.tsx | 11 + ui/src/ui-components/calendar.tsx | 70 +- ui/src/ui-components/empty-state.tsx | 35 +- ui/src/ui-components/tag-input.tsx | 46 +- ui/src/ui-components/toast/toast-region.tsx | 124 +- ui/stats.html | 4949 +++++++++++++++++++ 8 files changed, 5115 insertions(+), 159 deletions(-) create mode 100644 ui/stats.html diff --git a/ui/package.json b/ui/package.json index fdf83ba..1fce942 100644 --- a/ui/package.json +++ b/ui/package.json @@ -11,6 +11,8 @@ }, "devDependencies": { "@floating-ui/react": "^0.27.4", + "@internationalized/date": "^3.7.0", + "@react-aria/i18n": "^3.12.7", "@react-aria/toast": "^3.0.0", "@react-stately/toast": "^3.0.0", "@tailwindcss/container-queries": "^0.1.1", @@ -39,6 +41,8 @@ "vite": "^6.2.2" }, "dependencies": { - "@tailwindcss/vite": "^4.0.14" + "@react-stately/calendar": "^3.7.1", + "@tailwindcss/vite": "^4.0.14", + "react-stately": "^3.36.1" } } diff --git a/ui/pnpm-lock.yaml b/ui/pnpm-lock.yaml index 83a7b1a..aab1cad 100644 --- a/ui/pnpm-lock.yaml +++ b/ui/pnpm-lock.yaml @@ -8,13 +8,25 @@ importers: .: dependencies: + '@react-stately/calendar': + specifier: ^3.7.1 + version: 3.7.1(react@19.0.0) '@tailwindcss/vite': specifier: ^4.0.14 version: 4.0.14(vite@6.2.2(jiti@2.4.2)(lightningcss@1.29.2)) + react-stately: + specifier: ^3.36.1 + version: 3.36.1(react@19.0.0) devDependencies: '@floating-ui/react': specifier: ^0.27.4 version: 0.27.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@internationalized/date': + specifier: ^3.7.0 + version: 3.7.0 + '@react-aria/i18n': + specifier: ^3.12.7 + version: 3.12.7(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@react-aria/toast': specifier: ^3.0.0 version: 3.0.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) @@ -24,9 +36,6 @@ importers: '@tailwindcss/container-queries': specifier: ^0.1.1 version: 0.1.1(tailwindcss@4.0.14) - '@tailwindcss/postcss': - specifier: ^4.0.0 - version: 4.0.14 '@types/react': specifier: 19.0.10 version: 19.0.10 @@ -99,10 +108,6 @@ importers: packages: - '@alloc/quick-lru@5.2.0': - resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==} - engines: {node: '>=10'} - '@ampproject/remapping@2.3.0': resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} @@ -1237,9 +1242,6 @@ packages: resolution: {integrity: sha512-M8VCNyO/NBi5vJ2cRcI9u8w7Si+i76a7o1vveoGtbbjpEYJZYiyc7f2VGps/DqawO56l3tImIbq2OT/533jcrA==} engines: {node: '>= 10'} - '@tailwindcss/postcss@4.0.14': - resolution: {integrity: sha512-+uIR6KtKhla1XeIanF27KtrfYy+PX+R679v5LxbkmEZlhQe3g8rk+wKj7Xgt++rWGRuFLGMXY80Ek8JNn+kN/g==} - '@tailwindcss/vite@4.0.14': resolution: {integrity: sha512-y69ztPTRFy+13EPS/7dEFVl7q2Goh1pQueVO8IfGeyqSpcx/joNJXFk0lLhMgUbF0VFJotwRSb9ZY7Xoq3r26Q==} peerDependencies: @@ -2210,8 +2212,6 @@ packages: snapshots: - '@alloc/quick-lru@5.2.0': {} - '@ampproject/remapping@2.3.0': dependencies: '@jridgewell/gen-mapping': 0.3.8 @@ -3721,15 +3721,6 @@ snapshots: '@tailwindcss/oxide-win32-arm64-msvc': 4.0.14 '@tailwindcss/oxide-win32-x64-msvc': 4.0.14 - '@tailwindcss/postcss@4.0.14': - dependencies: - '@alloc/quick-lru': 5.2.0 - '@tailwindcss/node': 4.0.14 - '@tailwindcss/oxide': 4.0.14 - lightningcss: 1.29.2 - postcss: 8.5.3 - tailwindcss: 4.0.14 - '@tailwindcss/vite@4.0.14(vite@6.2.2(jiti@2.4.2)(lightningcss@1.29.2))': dependencies: '@tailwindcss/node': 4.0.14 diff --git a/ui/src/App.tsx b/ui/src/App.tsx index e6b3971..c31bf8a 100644 --- a/ui/src/App.tsx +++ b/ui/src/App.tsx @@ -355,6 +355,17 @@ export const App = () => { + + + +
+ + + + +