⬆️ update all dependencies
Browse files at this commitb085a74f628972792c800edbedee19d172b0b932Parent: 43b0ca1- chore
- ⬆️ update all dependencies
- migrate Tailwind v3 → v4
86 changed files +907 -754
- bun.lock +158 -130
- package.json +11 -11
- postcss.config.js +1 -2
- src/components/attendance/attendance-report-view.tsx +1 -1
- src/components/events/event-form.tsx +3 -3
- src/components/exams/exam-form.tsx +4 -4
- src/components/exams/exam-questions-panel.tsx +2 -2
- src/components/exams/exam-room-ws.tsx +2 -2
- src/components/exams/question-form.tsx +8 -8
- src/components/homework/course-homework-panel.tsx +1 -1
- src/components/homework/homework-submissions-panel.tsx +1 -1
- src/components/layout/app-shell.tsx +8 -8
- src/components/layout/command-palette.tsx +4 -4
- src/components/layout/mobile-tab-bar.tsx +1 -1
- src/components/layout/nav-bar.tsx +1 -1
- src/components/layout/notification-center.tsx +3 -3
- src/components/layout/right-nav.tsx +16 -16
- src/components/layout/side-nav.tsx +12 -12
- src/components/layout/sidebar-account.tsx +12 -12
- src/components/layout/user-menu.tsx +7 -7
- src/components/marks/marks-report-view.tsx +1 -1
- src/components/messages/gmail-compose-box.tsx +1 -1
- src/components/messages/gmail-mail-detail.tsx +5 -5
- src/components/notes/note-card.tsx +1 -1
- src/components/notes/note-file-preview.tsx +2 -2
- src/components/notes/note-files-panel.tsx +3 -3
- src/components/notes/note-form.tsx +3 -3
- src/components/notes/note-import-panel.tsx +4 -4
- src/components/notes/note-reader-panel.tsx +1 -1
- src/components/ui/alert-dialog.tsx +1 -1
- src/components/ui/alert.tsx +1 -1
- src/components/ui/badge.tsx +2 -2
- src/components/ui/button.tsx +5 -5
- src/components/ui/card.tsx +1 -1
- src/components/ui/chart-area-trend.tsx +2 -2
- src/components/ui/chart-bar.tsx +2 -2
- src/components/ui/chart-metric-cards.tsx +1 -1
- src/components/ui/chart-progress-ring.tsx +1 -1
- src/components/ui/collapsible-help.tsx +3 -3
- src/components/ui/combobox.tsx +5 -5
- src/components/ui/confirm-dialog.tsx +1 -1
- src/components/ui/data-table.tsx +4 -4
- src/components/ui/date-picker.tsx +6 -6
- src/components/ui/dialog.tsx +3 -3
- src/components/ui/draw-canvas.tsx +4 -4
- src/components/ui/dropdown-menu.tsx +18 -18
- src/components/ui/empty-state.tsx +1 -1
- src/components/ui/input.tsx +1 -1
- src/components/ui/popover.tsx +2 -2
- src/components/ui/replayable-image.tsx +1 -1
- src/components/ui/rich-text-editor.tsx +3 -3
- src/components/ui/select.tsx +4 -4
- src/components/ui/side-panel.tsx +5 -5
- src/components/ui/table-row-actions.tsx +2 -2
- src/components/ui/table.tsx +2 -2
- src/components/ui/tabs.tsx +6 -6
- src/components/ui/textarea.tsx +1 -1
- src/components/ui/toast.tsx +3 -3
- src/components/users/user-search-select.tsx +2 -2
- src/components/users/user-table.tsx +2 -2
- src/index.css +430 -191
- src/pages/admin-users-page.tsx +6 -6
- src/pages/calendar-page.tsx +6 -6
- src/pages/course-detail-page.tsx +5 -5
- src/pages/courses-page.tsx +5 -5
- src/pages/dashboard-page.tsx +18 -18
- src/pages/events-page.tsx +3 -3
- src/pages/exam-detail-page.tsx +1 -1
- src/pages/exam-room-page.tsx +1 -1
- src/pages/exams-page.tsx +10 -10
- src/pages/guide-page.tsx +12 -12
- src/pages/homework-page.tsx +3 -3
- src/pages/live-monitor-page.tsx +1 -1
- src/pages/my-students-page.tsx +1 -1
- src/pages/notes-page.tsx +3 -3
- src/pages/pomodoro-page.tsx +4 -4
- src/pages/question-detail-page.tsx +2 -2
- src/pages/questions-page.tsx +1 -1
- src/pages/settings-page.tsx +5 -5
- src/pages/staff-work-page.tsx +4 -4
- src/pages/student-attendance-page.tsx +3 -3
- src/pages/student-marks-page.tsx +3 -3
- src/pages/student-pomodoro-page.tsx +3 -3
- src/pages/terms-page.tsx +4 -4
- src/pages/work-log-page.tsx +1 -1
- tailwind.config.js +0 -113
bun.lockmodified+158 -130
| @@ -5,25 +5,25 @@ | |||
| 5 | "": { | 5 | "": { |
| 6 | "name": "hezarfen-frontend", | 6 | "name": "hezarfen-frontend", |
| 7 | "dependencies": { | 7 | "dependencies": { |
| 8 | - "@kobalte/core": "^0.13.11", | 8 | + "@kobalte/core": "^0.13.12", |
| 9 | - "@tanstack/solid-router": "^1.131.0", | 9 | + "@tanstack/solid-router": "^1.170.18", |
| 10 | "@tanstack/solid-table": "^8.21.3", | 10 | "@tanstack/solid-table": "^8.21.3", |
| 11 | "class-variance-authority": "^0.7.1", | 11 | "class-variance-authority": "^0.7.1", |
| 12 | "clsx": "^2.1.1", | 12 | "clsx": "^2.1.1", |
| 13 | "pdfjs-dist": "^6.1.200", | 13 | "pdfjs-dist": "^6.1.200", |
| 14 | - "solid-js": "^1.9.13", | 14 | + "solid-js": "^1.9.14", |
| 15 | - "tailwind-merge": "^3.3.1", | 15 | + "tailwind-merge": "^3.6.0", |
| 16 | }, | 16 | }, |
| 17 | "devDependencies": { | 17 | "devDependencies": { |
| 18 | - "@tanstack/solid-router-devtools": "^1.131.0", | 18 | + "@tailwindcss/postcss": "^4.3.3", |
| 19 | - "@types/node": "^24.13.2", | 19 | + "@tanstack/solid-router-devtools": "^1.167.0", |
| 20 | - "autoprefixer": "^10.4.21", | 20 | + "@types/node": "^26.1.1", |
| 21 | - "postcss": "^8.5.6", | 21 | + "postcss": "^8.5.22", |
| 22 | - "tailwindcss": "^3.4.17", | 22 | + "tailwindcss": "^4.3.3", |
| 23 | "tailwindcss-animate": "^1.0.7", | 23 | "tailwindcss-animate": "^1.0.7", |
| 24 | "typescript": "^7.0.2", | 24 | "typescript": "^7.0.2", |
| 25 | - "vite": "^6.3.5", | 25 | + "vite": "^8.1.5", |
| 26 | - "vite-plugin-solid": "^2.11.12", | 26 | + "vite-plugin-solid": "^2.11.13", |
| 27 | "vitest": "^4.1.10", | 27 | "vitest": "^4.1.10", |
| 28 | }, | 28 | }, |
| 29 | }, | 29 | }, |
| @@ -69,6 +69,12 @@ | |||
| 69 | 69 | ||
| 70 | "@corvu/utils": ["@corvu/utils@0.4.2", "", { "dependencies": { "@floating-ui/dom": "^1.6.11" }, "peerDependencies": { "solid-js": "^1.8" } }, "sha512-Ox2kYyxy7NoXdKWdHeDEjZxClwzO4SKM8plAaVwmAJPxHMqA0rLOoAsa+hBDwRLpctf+ZRnAd/ykguuJidnaTA=="], | 70 | "@corvu/utils": ["@corvu/utils@0.4.2", "", { "dependencies": { "@floating-ui/dom": "^1.6.11" }, "peerDependencies": { "solid-js": "^1.8" } }, "sha512-Ox2kYyxy7NoXdKWdHeDEjZxClwzO4SKM8plAaVwmAJPxHMqA0rLOoAsa+hBDwRLpctf+ZRnAd/ykguuJidnaTA=="], |
| 71 | 71 | ||
| 72 | + "@emnapi/core": ["@emnapi/core@1.11.1", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.2", "tslib": "^2.4.0" } }, "sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ=="], | ||
| 73 | + | ||
| 74 | + "@emnapi/runtime": ["@emnapi/runtime@1.11.1", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw=="], | ||
| 75 | + | ||
| 76 | + "@emnapi/wasi-threads": ["@emnapi/wasi-threads@1.2.2", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA=="], | ||
| 77 | + | ||
| 72 | "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.25.12", "", { "os": "aix", "cpu": "ppc64" }, "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA=="], | 78 | "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.25.12", "", { "os": "aix", "cpu": "ppc64" }, "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA=="], |
| 73 | 79 | ||
| 74 | "@esbuild/android-arm": ["@esbuild/android-arm@0.25.12", "", { "os": "android", "cpu": "arm" }, "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg=="], | 80 | "@esbuild/android-arm": ["@esbuild/android-arm@0.25.12", "", { "os": "android", "cpu": "arm" }, "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg=="], |
| @@ -167,11 +173,41 @@ | |||
| 167 | 173 | ||
| 168 | "@napi-rs/canvas-win32-x64-msvc": ["@napi-rs/canvas-win32-x64-msvc@1.0.2", "", { "os": "win32", "cpu": "x64" }, "sha512-okU8/t2foV6C31n0GtvEMbfD5rOFc70+/6xUNME9Guld29sgSOIGUEDScAWFlcP3k5TYQRl9TNkwJEEjh15w8A=="], | 174 | "@napi-rs/canvas-win32-x64-msvc": ["@napi-rs/canvas-win32-x64-msvc@1.0.2", "", { "os": "win32", "cpu": "x64" }, "sha512-okU8/t2foV6C31n0GtvEMbfD5rOFc70+/6xUNME9Guld29sgSOIGUEDScAWFlcP3k5TYQRl9TNkwJEEjh15w8A=="], |
| 169 | 175 | ||
| 170 | - "@nodelib/fs.scandir": ["@nodelib/fs.scandir@2.1.5", "", { "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" } }, "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g=="], | 176 | + "@napi-rs/wasm-runtime": ["@napi-rs/wasm-runtime@1.1.6", "", { "dependencies": { "@tybys/wasm-util": "^0.10.3" }, "peerDependencies": { "@emnapi/core": "^1.7.1", "@emnapi/runtime": "^1.7.1" } }, "sha512-ZLv/JdUfkvOy9eCnnBaGfiO+XimbjebAeO+MRQqD/B+FR1tnRN0tpKSJHRbE8sFfS6aqsXZ67TQjfwfsxULVbg=="], |
| 177 | + | ||
| 178 | + "@oxc-project/types": ["@oxc-project/types@0.139.0", "", {}, "sha512-r9gHphtCs+1M7J0pw6Sn/hh/Wpa/iQrOOkrNAlVLF/gHq+/CJmHIWKKUUhdWjcD6CIa8idarspCsASiXCXvFUw=="], | ||
| 179 | + | ||
| 180 | + "@rolldown/binding-android-arm64": ["@rolldown/binding-android-arm64@1.1.5", "", { "os": "android", "cpu": "arm64" }, "sha512-lZg8fqIv2v7FF237bwMgzGZEJvGL79/s5knJ/i6FmsGF4XXlzccZ4jb+TrFIxtSSxFtIpdsgrPZeMk1I9AFcyQ=="], | ||
| 181 | + | ||
| 182 | + "@rolldown/binding-darwin-arm64": ["@rolldown/binding-darwin-arm64@1.1.5", "", { "os": "darwin", "cpu": "arm64" }, "sha512-51Bnx9pNiMRKSUNtBfySkNJ9vMU9Hh3I1ozDd6gyPPYzaXCfnptUcEZxXGYFn+ul2dtcMUiqGR1Yai2K10uoTw=="], | ||
| 183 | + | ||
| 184 | + "@rolldown/binding-darwin-x64": ["@rolldown/binding-darwin-x64@1.1.5", "", { "os": "darwin", "cpu": "x64" }, "sha512-Tm+gbfC0aHu1tBA/JvKQh32S0K6YgCHkiAF4/W6xX0K0RmNuc94VeK419dJoE65R5aRxmo+noZQSWrAMF6yb6g=="], | ||
| 185 | + | ||
| 186 | + "@rolldown/binding-freebsd-x64": ["@rolldown/binding-freebsd-x64@1.1.5", "", { "os": "freebsd", "cpu": "x64" }, "sha512-JMzDKCCXq93YccG5gz3hvOs1oXRKAf0XYpfOS88e+wZrC8Iugj6j68867vrYZkvpDDpKn/KoKORThmchMpF6TA=="], | ||
| 187 | + | ||
| 188 | + "@rolldown/binding-linux-arm-gnueabihf": ["@rolldown/binding-linux-arm-gnueabihf@1.1.5", "", { "os": "linux", "cpu": "arm" }, "sha512-uML21j2K5TfPGutKxub+M+nLjZIrWjXQ5Grx4lCe/nimTj9B4L63zHpjXLl4y0L3mcm2htEQIb06oCG/szerNw=="], | ||
| 189 | + | ||
| 190 | + "@rolldown/binding-linux-arm64-gnu": ["@rolldown/binding-linux-arm64-gnu@1.1.5", "", { "os": "linux", "cpu": "arm64" }, "sha512-navSiuTMogvnQoZoM/v+l3ZWo50/NTwSHSzheABx/RCnmUPaKwq9qSo4Br2OYRs21+Fz8uFqITZM3H4opOB0/Q=="], | ||
| 191 | + | ||
| 192 | + "@rolldown/binding-linux-arm64-musl": ["@rolldown/binding-linux-arm64-musl@1.1.5", "", { "os": "linux", "cpu": "arm64" }, "sha512-lAryqH7IteztmCXQXk0etKj4wBQ7Gx5S6LjKhsgp9zb8I5bsuvU/2llH1hDQcjsFeqIsovMVN339/8pUDDBXxA=="], | ||
| 193 | + | ||
| 194 | + "@rolldown/binding-linux-ppc64-gnu": ["@rolldown/binding-linux-ppc64-gnu@1.1.5", "", { "os": "linux", "cpu": "ppc64" }, "sha512-fsK/sNBnxzBlL4O1JNrZakVQxPspqpED5dLtNsZS9oOKmtSpdNIzxH2kkol5HYTWJN47sE20ztMJPxfZ89qGOg=="], | ||
| 195 | + | ||
| 196 | + "@rolldown/binding-linux-s390x-gnu": ["@rolldown/binding-linux-s390x-gnu@1.1.5", "", { "os": "linux", "cpu": "s390x" }, "sha512-gLYb4BIadlfTOYT5gO503n8zQjXflgzpD0FcyKh0Mzx3rqCZKnHoJWV9xe1KXUJ5lx2JfcSHr/mhzS0PC/McAA=="], | ||
| 197 | + | ||
| 198 | + "@rolldown/binding-linux-x64-gnu": ["@rolldown/binding-linux-x64-gnu@1.1.5", "", { "os": "linux", "cpu": "x64" }, "sha512-FjcpEKUyJygHgs1o50VYNvkt5+7Le/VEdYt0AkRpkL33MnyQfwr8l5mXwMmfmTbyMPr5vJLC+8/Gd9gXnwU1QQ=="], | ||
| 171 | 199 | ||
| 172 | - "@nodelib/fs.stat": ["@nodelib/fs.stat@2.0.5", "", {}, "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A=="], | 200 | + "@rolldown/binding-linux-x64-musl": ["@rolldown/binding-linux-x64-musl@1.1.5", "", { "os": "linux", "cpu": "x64" }, "sha512-Me+PfPI2TMeOQk0gYWfLQZtTktrmzbr8cDboqX83XKc7UrgAi55gF+2dUkWdxd19n55Essp2yeca+O9N5rBxHg=="], |
| 173 | 201 | ||
| 174 | - "@nodelib/fs.walk": ["@nodelib/fs.walk@1.2.8", "", { "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" } }, "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg=="], | 202 | + "@rolldown/binding-openharmony-arm64": ["@rolldown/binding-openharmony-arm64@1.1.5", "", { "os": "none", "cpu": "arm64" }, "sha512-yc5WrLzXks6zCQfn9Oxr8pORKyl/pF+QjHmW/Qx3qu0oyrrNC+y2JLTU1E2rcWYAmzlnqngWXHQjy51VzW70Vw=="], |
| 203 | + | ||
| 204 | + "@rolldown/binding-wasm32-wasi": ["@rolldown/binding-wasm32-wasi@1.1.5", "", { "dependencies": { "@emnapi/core": "1.11.1", "@emnapi/runtime": "1.11.1", "@napi-rs/wasm-runtime": "^1.1.6" }, "cpu": "none" }, "sha512-VbQGPX2b4r48TAMIM2cjgluIM1HYutm4pcTEJsle7iEP7sB1dFqtPLBVbdLAZCxy1txCcPxf4QFf4v8uvltPqA=="], | ||
| 205 | + | ||
| 206 | + "@rolldown/binding-win32-arm64-msvc": ["@rolldown/binding-win32-arm64-msvc@1.1.5", "", { "os": "win32", "cpu": "arm64" }, "sha512-gHv82k63z4qpV5+Q1y/12KrK0ltWBukVDI8nZcbT7Tt/ZlOIVwppazneq0F93oDxTo3IgAMEDIoQh3E2n6mVsw=="], | ||
| 207 | + | ||
| 208 | + "@rolldown/binding-win32-x64-msvc": ["@rolldown/binding-win32-x64-msvc@1.1.5", "", { "os": "win32", "cpu": "x64" }, "sha512-tTZuDBPw85tEN5PQi1pnEBzDy0Z49HtScLAbD5t6hyeU92A95pRWaSMw1GZZi/RwgSgUIl0xrSlXIT/9QzvYSA=="], | ||
| 209 | + | ||
| 210 | + "@rolldown/pluginutils": ["@rolldown/pluginutils@1.0.1", "", {}, "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw=="], | ||
| 175 | 211 | ||
| 176 | "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.62.2", "", { "os": "android", "cpu": "arm" }, "sha512-6o7ZLZK+BeenkZCFNDXqpbjw9bD6nuWonvS/lwQJp7NoVVxm6p3qE7qQ5jGuBjiFsgvqjD8mZAU5oWxTmbOeOg=="], | 212 | "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.62.2", "", { "os": "android", "cpu": "arm" }, "sha512-6o7ZLZK+BeenkZCFNDXqpbjw9bD6nuWonvS/lwQJp7NoVVxm6p3qE7qQ5jGuBjiFsgvqjD8mZAU5oWxTmbOeOg=="], |
| 177 | 213 | ||
| @@ -251,13 +287,43 @@ | |||
| 251 | 287 | ||
| 252 | "@swc/helpers": ["@swc/helpers@0.5.23", "", { "dependencies": { "tslib": "^2.8.0" } }, "sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw=="], | 288 | "@swc/helpers": ["@swc/helpers@0.5.23", "", { "dependencies": { "tslib": "^2.8.0" } }, "sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw=="], |
| 253 | 289 | ||
| 290 | + "@tailwindcss/node": ["@tailwindcss/node@4.3.3", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "enhanced-resolve": "^5.24.1", "jiti": "^2.7.0", "lightningcss": "1.32.0", "magic-string": "^0.30.21", "source-map-js": "^1.2.1", "tailwindcss": "4.3.3" } }, "sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg=="], | ||
| 291 | + | ||
| 292 | + "@tailwindcss/oxide": ["@tailwindcss/oxide@4.3.3", "", { "optionalDependencies": { "@tailwindcss/oxide-android-arm64": "4.3.3", "@tailwindcss/oxide-darwin-arm64": "4.3.3", "@tailwindcss/oxide-darwin-x64": "4.3.3", "@tailwindcss/oxide-freebsd-x64": "4.3.3", "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.3", "@tailwindcss/oxide-linux-arm64-gnu": "4.3.3", "@tailwindcss/oxide-linux-arm64-musl": "4.3.3", "@tailwindcss/oxide-linux-x64-gnu": "4.3.3", "@tailwindcss/oxide-linux-x64-musl": "4.3.3", "@tailwindcss/oxide-wasm32-wasi": "4.3.3", "@tailwindcss/oxide-win32-arm64-msvc": "4.3.3", "@tailwindcss/oxide-win32-x64-msvc": "4.3.3" } }, "sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA=="], | ||
| 293 | + | ||
| 294 | + "@tailwindcss/oxide-android-arm64": ["@tailwindcss/oxide-android-arm64@4.3.3", "", { "os": "android", "cpu": "arm64" }, "sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw=="], | ||
| 295 | + | ||
| 296 | + "@tailwindcss/oxide-darwin-arm64": ["@tailwindcss/oxide-darwin-arm64@4.3.3", "", { "os": "darwin", "cpu": "arm64" }, "sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw=="], | ||
| 297 | + | ||
| 298 | + "@tailwindcss/oxide-darwin-x64": ["@tailwindcss/oxide-darwin-x64@4.3.3", "", { "os": "darwin", "cpu": "x64" }, "sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw=="], | ||
| 299 | + | ||
| 300 | + "@tailwindcss/oxide-freebsd-x64": ["@tailwindcss/oxide-freebsd-x64@4.3.3", "", { "os": "freebsd", "cpu": "x64" }, "sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw=="], | ||
| 301 | + | ||
| 302 | + "@tailwindcss/oxide-linux-arm-gnueabihf": ["@tailwindcss/oxide-linux-arm-gnueabihf@4.3.3", "", { "os": "linux", "cpu": "arm" }, "sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ=="], | ||
| 303 | + | ||
| 304 | + "@tailwindcss/oxide-linux-arm64-gnu": ["@tailwindcss/oxide-linux-arm64-gnu@4.3.3", "", { "os": "linux", "cpu": "arm64" }, "sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w=="], | ||
| 305 | + | ||
| 306 | + "@tailwindcss/oxide-linux-arm64-musl": ["@tailwindcss/oxide-linux-arm64-musl@4.3.3", "", { "os": "linux", "cpu": "arm64" }, "sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA=="], | ||
| 307 | + | ||
| 308 | + "@tailwindcss/oxide-linux-x64-gnu": ["@tailwindcss/oxide-linux-x64-gnu@4.3.3", "", { "os": "linux", "cpu": "x64" }, "sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w=="], | ||
| 309 | + | ||
| 310 | + "@tailwindcss/oxide-linux-x64-musl": ["@tailwindcss/oxide-linux-x64-musl@4.3.3", "", { "os": "linux", "cpu": "x64" }, "sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img=="], | ||
| 311 | + | ||
| 312 | + "@tailwindcss/oxide-wasm32-wasi": ["@tailwindcss/oxide-wasm32-wasi@4.3.3", "", { "dependencies": { "@emnapi/core": "^1.11.1", "@emnapi/runtime": "^1.11.1", "@emnapi/wasi-threads": "^1.2.2", "@napi-rs/wasm-runtime": "^1.1.4", "@tybys/wasm-util": "^0.10.2", "tslib": "^2.8.1" }, "cpu": "none" }, "sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ=="], | ||
| 313 | + | ||
| 314 | + "@tailwindcss/oxide-win32-arm64-msvc": ["@tailwindcss/oxide-win32-arm64-msvc@4.3.3", "", { "os": "win32", "cpu": "arm64" }, "sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ=="], | ||
| 315 | + | ||
| 316 | + "@tailwindcss/oxide-win32-x64-msvc": ["@tailwindcss/oxide-win32-x64-msvc@4.3.3", "", { "os": "win32", "cpu": "x64" }, "sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw=="], | ||
| 317 | + | ||
| 318 | + "@tailwindcss/postcss": ["@tailwindcss/postcss@4.3.3", "", { "dependencies": { "@alloc/quick-lru": "^5.2.0", "@tailwindcss/node": "4.3.3", "@tailwindcss/oxide": "4.3.3", "postcss": "^8.5.16", "tailwindcss": "4.3.3" } }, "sha512-JTSZZGQi1AyKirbLN3azmjVzef92tcX7h+iSqPdaeStyFpGpDlKvvpxeOE8njhbUanbRwr3z8DyzhICWnMtQeg=="], | ||
| 319 | + | ||
| 254 | "@tanstack/history": ["@tanstack/history@1.162.0", "", {}, "sha512-79pf/RkhteYZTRgcR4F9kbk84P2N8rugQJswxfIqovlbRiT3yI7eBE+5QorIrZaOKktsgzRlXh1l/du/xpl4iA=="], | 320 | "@tanstack/history": ["@tanstack/history@1.162.0", "", {}, "sha512-79pf/RkhteYZTRgcR4F9kbk84P2N8rugQJswxfIqovlbRiT3yI7eBE+5QorIrZaOKktsgzRlXh1l/du/xpl4iA=="], |
| 255 | 321 | ||
| 256 | "@tanstack/router-core": ["@tanstack/router-core@1.171.14", "", { "dependencies": { "@tanstack/history": "1.162.0", "cookie-es": "^3.0.0", "seroval": "^1.5.4", "seroval-plugins": "^1.5.4" } }, "sha512-Mo3hwx0qB0cJsVYGDjG0+Ouf7VV74h/vsoDMGztdlyzDanp4gBA2s7IVvm6hFrmQM6GpD9F0Z7SqD7OldfLE7g=="], | 322 | "@tanstack/router-core": ["@tanstack/router-core@1.171.14", "", { "dependencies": { "@tanstack/history": "1.162.0", "cookie-es": "^3.0.0", "seroval": "^1.5.4", "seroval-plugins": "^1.5.4" } }, "sha512-Mo3hwx0qB0cJsVYGDjG0+Ouf7VV74h/vsoDMGztdlyzDanp4gBA2s7IVvm6hFrmQM6GpD9F0Z7SqD7OldfLE7g=="], |
| 257 | 323 | ||
| 258 | "@tanstack/router-devtools-core": ["@tanstack/router-devtools-core@1.168.0", "", { "dependencies": { "clsx": "^2.1.1", "goober": "^2.1.16" }, "peerDependencies": { "@tanstack/router-core": "^1.170.0", "csstype": "^3.0.10" } }, "sha512-wQoQhlBK7nlZgqzaqdYXKWNTpdHdsaREdaPhFZVH0/Ador+F+eM3/NF2i3f2LPeS0GgKraZUQXe1Q/1+KHyEYg=="], | 324 | "@tanstack/router-devtools-core": ["@tanstack/router-devtools-core@1.168.0", "", { "dependencies": { "clsx": "^2.1.1", "goober": "^2.1.16" }, "peerDependencies": { "@tanstack/router-core": "^1.170.0", "csstype": "^3.0.10" } }, "sha512-wQoQhlBK7nlZgqzaqdYXKWNTpdHdsaREdaPhFZVH0/Ador+F+eM3/NF2i3f2LPeS0GgKraZUQXe1Q/1+KHyEYg=="], |
| 259 | 325 | ||
| 260 | - "@tanstack/solid-router": ["@tanstack/solid-router@1.170.17", "", { "dependencies": { "@solid-primitives/refs": "^1.0.8", "@solidjs/meta": "^0.29.4", "@tanstack/history": "1.162.0", "@tanstack/router-core": "1.171.14", "isbot": "^5.1.22" }, "peerDependencies": { "solid-js": "^1.9.10" } }, "sha512-So9Rn/BxuhW5KlgPQxnQAYREhrn+cwDF2aCslzGtPa86t5jNeBGv1rf+qBF7UeWQ0geHmxxwKn4sAL/Nwyxypg=="], | 326 | + "@tanstack/solid-router": ["@tanstack/solid-router@1.170.18", "", { "dependencies": { "@solid-primitives/refs": "^1.0.8", "@solidjs/meta": "^0.29.4", "@tanstack/history": "1.162.0", "@tanstack/router-core": "1.171.15", "isbot": "^5.1.22" }, "peerDependencies": { "solid-js": "^1.9.10" } }, "sha512-Og4LS3bfBMa8qzRrWMsxBq1qc982wG8l5XEWMReossEphUnTua4ffMnC6Eq6HTCrZ1QlsBQCWQRaAX3lwAxaHw=="], |
| 261 | 327 | ||
| 262 | "@tanstack/solid-router-devtools": ["@tanstack/solid-router-devtools@1.167.0", "", { "dependencies": { "@tanstack/router-devtools-core": "1.168.0" }, "peerDependencies": { "@tanstack/router-core": "^1.170.0", "@tanstack/solid-router": "^1.170.0", "solid-js": "^1.9.10" } }, "sha512-vwQz5NUBxbos30ndUj08eeJ17nwWxniUq4oOFL7YOK2Q8PhdiqS65SSuFwzU96Ij3dfLlp+nv3uht6n7X9UOVw=="], | 328 | "@tanstack/solid-router-devtools": ["@tanstack/solid-router-devtools@1.167.0", "", { "dependencies": { "@tanstack/router-devtools-core": "1.168.0" }, "peerDependencies": { "@tanstack/router-core": "^1.170.0", "@tanstack/solid-router": "^1.170.0", "solid-js": "^1.9.10" } }, "sha512-vwQz5NUBxbos30ndUj08eeJ17nwWxniUq4oOFL7YOK2Q8PhdiqS65SSuFwzU96Ij3dfLlp+nv3uht6n7X9UOVw=="], |
| 263 | 329 | ||
| @@ -265,6 +331,8 @@ | |||
| 265 | 331 | ||
| 266 | "@tanstack/table-core": ["@tanstack/table-core@8.21.3", "", {}, "sha512-ldZXEhOBb8Is7xLs01fR3YEc3DERiz5silj8tnGkFZytt1abEvl/GhUmCE0PMLaMPTa3Jk4HbKmRlHmu+gCftg=="], | 332 | "@tanstack/table-core": ["@tanstack/table-core@8.21.3", "", {}, "sha512-ldZXEhOBb8Is7xLs01fR3YEc3DERiz5silj8tnGkFZytt1abEvl/GhUmCE0PMLaMPTa3Jk4HbKmRlHmu+gCftg=="], |
| 267 | 333 | ||
| 334 | + "@tybys/wasm-util": ["@tybys/wasm-util@0.10.3", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg=="], | ||
| 335 | + | ||
| 268 | "@types/babel__core": ["@types/babel__core@7.20.5", "", { "dependencies": { "@babel/parser": "^7.20.7", "@babel/types": "^7.20.7", "@types/babel__generator": "*", "@types/babel__template": "*", "@types/babel__traverse": "*" } }, "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA=="], | 336 | "@types/babel__core": ["@types/babel__core@7.20.5", "", { "dependencies": { "@babel/parser": "^7.20.7", "@babel/types": "^7.20.7", "@types/babel__generator": "*", "@types/babel__template": "*", "@types/babel__traverse": "*" } }, "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA=="], |
| 269 | 337 | ||
| 270 | "@types/babel__generator": ["@types/babel__generator@7.27.0", "", { "dependencies": { "@babel/types": "^7.0.0" } }, "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg=="], | 338 | "@types/babel__generator": ["@types/babel__generator@7.27.0", "", { "dependencies": { "@babel/types": "^7.0.0" } }, "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg=="], |
| @@ -279,7 +347,7 @@ | |||
| 279 | 347 | ||
| 280 | "@types/estree": ["@types/estree@1.0.9", "", {}, "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg=="], | 348 | "@types/estree": ["@types/estree@1.0.9", "", {}, "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg=="], |
| 281 | 349 | ||
| 282 | - "@types/node": ["@types/node@24.13.3", "", { "dependencies": { "undici-types": "~7.18.0" } }, "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q=="], | 350 | + "@types/node": ["@types/node@26.1.1", "", { "dependencies": { "undici-types": "~8.3.0" } }, "sha512-nxAkRSVkN1Y0JC1W8ky/fTfkGsMmcrRsbx+3XoZE+rMOX71kLYTV7fLXpqud1GpbpP5TuffXFqfX7fH2GgZREw=="], |
| 283 | 351 | ||
| 284 | "@typescript/typescript-aix-ppc64": ["@typescript/typescript-aix-ppc64@7.0.2", "", { "os": "aix", "cpu": "ppc64" }, "sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ=="], | 352 | "@typescript/typescript-aix-ppc64": ["@typescript/typescript-aix-ppc64@7.0.2", "", { "os": "aix", "cpu": "ppc64" }, "sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ=="], |
| 285 | 353 | ||
| @@ -335,61 +403,39 @@ | |||
| 335 | 403 | ||
| 336 | "@vitest/utils": ["@vitest/utils@4.1.10", "", { "dependencies": { "@vitest/pretty-format": "4.1.10", "convert-source-map": "^2.0.0", "tinyrainbow": "^3.1.0" } }, "sha512-fy9am/HWxbaGt/Sawrp90vt6Y6jQwf1RX77cz3uwoJwJVMli/e1IEwRPnMNJ7vKfPTwo0diXifkpPvwH9v7nGA=="], | 404 | "@vitest/utils": ["@vitest/utils@4.1.10", "", { "dependencies": { "@vitest/pretty-format": "4.1.10", "convert-source-map": "^2.0.0", "tinyrainbow": "^3.1.0" } }, "sha512-fy9am/HWxbaGt/Sawrp90vt6Y6jQwf1RX77cz3uwoJwJVMli/e1IEwRPnMNJ7vKfPTwo0diXifkpPvwH9v7nGA=="], |
| 337 | 405 | ||
| 338 | - "any-promise": ["any-promise@1.3.0", "", {}, "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A=="], | ||
| 339 | - | ||
| 340 | - "anymatch": ["anymatch@3.1.3", "", { "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" } }, "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw=="], | ||
| 341 | - | ||
| 342 | - "arg": ["arg@5.0.2", "", {}, "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg=="], | ||
| 343 | - | ||
| 344 | "assertion-error": ["assertion-error@2.0.1", "", {}, "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA=="], | 406 | "assertion-error": ["assertion-error@2.0.1", "", {}, "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA=="], |
| 345 | 407 | ||
| 346 | - "autoprefixer": ["autoprefixer@10.5.2", "", { "dependencies": { "browserslist": "^4.28.4", "caniuse-lite": "^1.0.30001799", "fraction.js": "^5.3.4", "picocolors": "^1.1.1", "postcss-value-parser": "^4.2.0" }, "peerDependencies": { "postcss": "^8.1.0" }, "bin": "bin/autoprefixer" }, "sha512-rD5t5DwOjJdmSORcTq64j8MawTC+tbQ+HHqjR4NDumamy/ambn1UJrlKL+KdwujWxMkFjPM3pPHOEA9tl4767Q=="], | ||
| 347 | - | ||
| 348 | "babel-plugin-jsx-dom-expressions": ["babel-plugin-jsx-dom-expressions@0.40.7", "", { "dependencies": { "@babel/helper-module-imports": "7.18.6", "@babel/plugin-syntax-jsx": "^7.18.6", "@babel/types": "^7.20.7", "html-entities": "2.3.3", "parse5": "^7.1.2" }, "peerDependencies": { "@babel/core": "^7.20.12" } }, "sha512-/O6JWUmjv03OI9lL2ry9bUjpD5S3PclM55RRJEyCdcFZ5W2SEA/59d+l2hNsk3gI6kiWRdRPdOtqZmsQzFN1pQ=="], | 408 | "babel-plugin-jsx-dom-expressions": ["babel-plugin-jsx-dom-expressions@0.40.7", "", { "dependencies": { "@babel/helper-module-imports": "7.18.6", "@babel/plugin-syntax-jsx": "^7.18.6", "@babel/types": "^7.20.7", "html-entities": "2.3.3", "parse5": "^7.1.2" }, "peerDependencies": { "@babel/core": "^7.20.12" } }, "sha512-/O6JWUmjv03OI9lL2ry9bUjpD5S3PclM55RRJEyCdcFZ5W2SEA/59d+l2hNsk3gI6kiWRdRPdOtqZmsQzFN1pQ=="], |
| 349 | 409 | ||
| 350 | "babel-preset-solid": ["babel-preset-solid@1.9.12", "", { "dependencies": { "babel-plugin-jsx-dom-expressions": "^0.40.6" }, "peerDependencies": { "@babel/core": "^7.0.0", "solid-js": "^1.9.12" } }, "sha512-LLqnuKVDlKpyBlMPcH6qEvs/wmS9a+NczppxJ3ryS/c0O5IiSFOIBQi9GzyiGDSbcJpx4Gr87jyFTos1MyEuWg=="], | 410 | "babel-preset-solid": ["babel-preset-solid@1.9.12", "", { "dependencies": { "babel-plugin-jsx-dom-expressions": "^0.40.6" }, "peerDependencies": { "@babel/core": "^7.0.0", "solid-js": "^1.9.12" } }, "sha512-LLqnuKVDlKpyBlMPcH6qEvs/wmS9a+NczppxJ3ryS/c0O5IiSFOIBQi9GzyiGDSbcJpx4Gr87jyFTos1MyEuWg=="], |
| 351 | 411 | ||
| 352 | "baseline-browser-mapping": ["baseline-browser-mapping@2.10.43", "", { "bin": "dist/cli.cjs" }, "sha512-AjYpR78kDWAY3Efj+cDTFH9t9SCoL7OoTp1BOb0mQV7S+6CiLwnWM3FyxhJtdPufDFKzmCSFoUncKjWgJEZTCQ=="], | 412 | "baseline-browser-mapping": ["baseline-browser-mapping@2.10.43", "", { "bin": "dist/cli.cjs" }, "sha512-AjYpR78kDWAY3Efj+cDTFH9t9SCoL7OoTp1BOb0mQV7S+6CiLwnWM3FyxhJtdPufDFKzmCSFoUncKjWgJEZTCQ=="], |
| 353 | 413 | ||
| 354 | - "binary-extensions": ["binary-extensions@2.3.0", "", {}, "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw=="], | ||
| 355 | - | ||
| 356 | - "braces": ["braces@3.0.3", "", { "dependencies": { "fill-range": "^7.1.1" } }, "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA=="], | ||
| 357 | - | ||
| 358 | "browserslist": ["browserslist@4.28.6", "", { "dependencies": { "baseline-browser-mapping": "^2.10.42", "caniuse-lite": "^1.0.30001803", "electron-to-chromium": "^1.5.389", "node-releases": "^2.0.51", "update-browserslist-db": "^1.2.3" }, "bin": "cli.js" }, "sha512-FQBYNK15VMslhLHpA7+n+n1GOlF1kId2xcCg7/j95f24AOF6VDYMNH4mFxF7KuaTdv627faazpOAjFzMrfJOUw=="], | 414 | "browserslist": ["browserslist@4.28.6", "", { "dependencies": { "baseline-browser-mapping": "^2.10.42", "caniuse-lite": "^1.0.30001803", "electron-to-chromium": "^1.5.389", "node-releases": "^2.0.51", "update-browserslist-db": "^1.2.3" }, "bin": "cli.js" }, "sha512-FQBYNK15VMslhLHpA7+n+n1GOlF1kId2xcCg7/j95f24AOF6VDYMNH4mFxF7KuaTdv627faazpOAjFzMrfJOUw=="], |
| 359 | 415 | ||
| 360 | - "camelcase-css": ["camelcase-css@2.0.1", "", {}, "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA=="], | ||
| 361 | - | ||
| 362 | "caniuse-lite": ["caniuse-lite@1.0.30001805", "", {}, "sha512-52noaS3DubycKSXaU30TwPGIp+POyQSUVa5jBEq3vkRkY0kjyb3LQgvhU6WGyCcyXqVLWO0Cw0Q6BSdD0kUfVA=="], | 416 | "caniuse-lite": ["caniuse-lite@1.0.30001805", "", {}, "sha512-52noaS3DubycKSXaU30TwPGIp+POyQSUVa5jBEq3vkRkY0kjyb3LQgvhU6WGyCcyXqVLWO0Cw0Q6BSdD0kUfVA=="], |
| 363 | 417 | ||
| 364 | "chai": ["chai@6.2.2", "", {}, "sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg=="], | 418 | "chai": ["chai@6.2.2", "", {}, "sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg=="], |
| 365 | 419 | ||
| 366 | - "chokidar": ["chokidar@3.6.0", "", { "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", "glob-parent": "~5.1.2", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", "normalize-path": "~3.0.0", "readdirp": "~3.6.0" }, "optionalDependencies": { "fsevents": "~2.3.2" } }, "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw=="], | ||
| 367 | - | ||
| 368 | "class-variance-authority": ["class-variance-authority@0.7.1", "", { "dependencies": { "clsx": "^2.1.1" } }, "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg=="], | 420 | "class-variance-authority": ["class-variance-authority@0.7.1", "", { "dependencies": { "clsx": "^2.1.1" } }, "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg=="], |
| 369 | 421 | ||
| 370 | "clsx": ["clsx@2.1.1", "", {}, "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA=="], | 422 | "clsx": ["clsx@2.1.1", "", {}, "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA=="], |
| 371 | 423 | ||
| 372 | - "commander": ["commander@4.1.1", "", {}, "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA=="], | ||
| 373 | - | ||
| 374 | "convert-source-map": ["convert-source-map@2.0.0", "", {}, "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="], | 424 | "convert-source-map": ["convert-source-map@2.0.0", "", {}, "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="], |
| 375 | 425 | ||
| 376 | "cookie-es": ["cookie-es@3.1.1", "", {}, "sha512-UaXxwISYJPTr9hwQxMFYZ7kNhSXboMXP+Z3TRX6f1/NyaGPfuNUZOWP1pUEb75B2HjfklIYLVRfWiFZJyC6Npg=="], | 426 | "cookie-es": ["cookie-es@3.1.1", "", {}, "sha512-UaXxwISYJPTr9hwQxMFYZ7kNhSXboMXP+Z3TRX6f1/NyaGPfuNUZOWP1pUEb75B2HjfklIYLVRfWiFZJyC6Npg=="], |
| 377 | 427 | ||
| 378 | - "cssesc": ["cssesc@3.0.0", "", { "bin": "bin/cssesc" }, "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg=="], | ||
| 379 | - | ||
| 380 | "csstype": ["csstype@3.2.3", "", {}, "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ=="], | 428 | "csstype": ["csstype@3.2.3", "", {}, "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ=="], |
| 381 | 429 | ||
| 382 | "debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], | 430 | "debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], |
| 383 | 431 | ||
| 384 | - "didyoumean": ["didyoumean@1.2.2", "", {}, "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw=="], | 432 | + "detect-libc": ["detect-libc@2.1.2", "", {}, "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ=="], |
| 385 | - | ||
| 386 | - "dlv": ["dlv@1.1.3", "", {}, "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA=="], | ||
| 387 | 433 | ||
| 388 | "electron-to-chromium": ["electron-to-chromium@1.5.389", "", {}, "sha512-cEto7aeOqBfU1D+c5py5pE+ooscKE75JifxLBdFUZsqAxRS6y7kebtxAZvICszSl05gPjYHDTjY+lXpyGvpJbg=="], | 434 | "electron-to-chromium": ["electron-to-chromium@1.5.389", "", {}, "sha512-cEto7aeOqBfU1D+c5py5pE+ooscKE75JifxLBdFUZsqAxRS6y7kebtxAZvICszSl05gPjYHDTjY+lXpyGvpJbg=="], |
| 389 | 435 | ||
| 390 | - "entities": ["entities@6.0.1", "", {}, "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g=="], | 436 | + "enhanced-resolve": ["enhanced-resolve@5.24.3", "", { "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.3.3" } }, "sha512-PwKooW9JUzh5chmYfHM3IQl5OkK2u2Nm011MgeZrss3JmFraUx/fqrf78kk8GUMYoibx/14MdwTl/1WKkG7TpQ=="], |
| 391 | 437 | ||
| 392 | - "es-errors": ["es-errors@1.3.0", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="], | 438 | + "entities": ["entities@6.0.1", "", {}, "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g=="], |
| 393 | 439 | ||
| 394 | "es-module-lexer": ["es-module-lexer@2.3.1", "", {}, "sha512-shc1dbU90Yl/xq1QrC7QRtfcwURZuVRfPhZbDoldJ1cn1gzDvBaBWlv0eFolj5+0znnPJz5TXLxsN77X/12KTA=="], | 440 | "es-module-lexer": ["es-module-lexer@2.3.1", "", {}, "sha512-shc1dbU90Yl/xq1QrC7QRtfcwURZuVRfPhZbDoldJ1cn1gzDvBaBWlv0eFolj5+0znnPJz5TXLxsN77X/12KTA=="], |
| 395 | 441 | ||
| @@ -401,40 +447,18 @@ | |||
| 401 | 447 | ||
| 402 | "expect-type": ["expect-type@1.4.0", "", {}, "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA=="], | 448 | "expect-type": ["expect-type@1.4.0", "", {}, "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA=="], |
| 403 | 449 | ||
| 404 | - "fast-glob": ["fast-glob@3.3.3", "", { "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", "micromatch": "^4.0.8" } }, "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg=="], | ||
| 405 | - | ||
| 406 | - "fastq": ["fastq@1.20.1", "", { "dependencies": { "reusify": "^1.0.4" } }, "sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw=="], | ||
| 407 | - | ||
| 408 | "fdir": ["fdir@6.5.0", "", { "peerDependencies": { "picomatch": "^3 || ^4" } }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="], | 450 | "fdir": ["fdir@6.5.0", "", { "peerDependencies": { "picomatch": "^3 || ^4" } }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="], |
| 409 | 451 | ||
| 410 | - "fill-range": ["fill-range@7.1.1", "", { "dependencies": { "to-regex-range": "^5.0.1" } }, "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg=="], | ||
| 411 | - | ||
| 412 | - "fraction.js": ["fraction.js@5.3.4", "", {}, "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ=="], | ||
| 413 | - | ||
| 414 | "fsevents": ["fsevents@2.3.3", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="], | 452 | "fsevents": ["fsevents@2.3.3", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="], |
| 415 | 453 | ||
| 416 | - "function-bind": ["function-bind@1.1.2", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="], | ||
| 417 | - | ||
| 418 | "gensync": ["gensync@1.0.0-beta.2", "", {}, "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg=="], | 454 | "gensync": ["gensync@1.0.0-beta.2", "", {}, "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg=="], |
| 419 | 455 | ||
| 420 | - "glob-parent": ["glob-parent@6.0.2", "", { "dependencies": { "is-glob": "^4.0.3" } }, "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A=="], | ||
| 421 | - | ||
| 422 | "goober": ["goober@2.1.19", "", { "peerDependencies": { "csstype": "^3.0.10" } }, "sha512-U7veizMqxyKlM58+Z5j2ngJBH/r9siDmxpvNxSw0PylF6WQvrASJEZrxh1hidRBJc2jqoBVSyOban5u8m+6Rxg=="], | 456 | "goober": ["goober@2.1.19", "", { "peerDependencies": { "csstype": "^3.0.10" } }, "sha512-U7veizMqxyKlM58+Z5j2ngJBH/r9siDmxpvNxSw0PylF6WQvrASJEZrxh1hidRBJc2jqoBVSyOban5u8m+6Rxg=="], |
| 423 | 457 | ||
| 424 | - "hasown": ["hasown@2.0.4", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A=="], | 458 | + "graceful-fs": ["graceful-fs@4.2.11", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="], |
| 425 | 459 | ||
| 426 | "html-entities": ["html-entities@2.3.3", "", {}, "sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA=="], | 460 | "html-entities": ["html-entities@2.3.3", "", {}, "sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA=="], |
| 427 | 461 | ||
| 428 | - "is-binary-path": ["is-binary-path@2.1.0", "", { "dependencies": { "binary-extensions": "^2.0.0" } }, "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw=="], | ||
| 429 | - | ||
| 430 | - "is-core-module": ["is-core-module@2.16.2", "", { "dependencies": { "hasown": "^2.0.3" } }, "sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA=="], | ||
| 431 | - | ||
| 432 | - "is-extglob": ["is-extglob@2.1.1", "", {}, "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="], | ||
| 433 | - | ||
| 434 | - "is-glob": ["is-glob@4.0.3", "", { "dependencies": { "is-extglob": "^2.1.1" } }, "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg=="], | ||
| 435 | - | ||
| 436 | - "is-number": ["is-number@7.0.0", "", {}, "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="], | ||
| 437 | - | ||
| 438 | "is-what": ["is-what@4.1.16", "", {}, "sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A=="], | 462 | "is-what": ["is-what@4.1.16", "", {}, "sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A=="], |
| 439 | 463 | ||
| 440 | "isbot": ["isbot@5.2.0", "", {}, "sha512-gbZiGCb4B5xaoxg9mS7koAyRdvJnArk10VLSHOgz6rtBG93/pi1xOFaVvXMKZ7JXgyZ8zAbNRK5uIBdIUTFSqw=="], | 464 | "isbot": ["isbot@5.2.0", "", {}, "sha512-gbZiGCb4B5xaoxg9mS7koAyRdvJnArk10VLSHOgz6rtBG93/pi1xOFaVvXMKZ7JXgyZ8zAbNRK5uIBdIUTFSqw=="], |
| @@ -447,40 +471,46 @@ | |||
| 447 | 471 | ||
| 448 | "json5": ["json5@2.2.3", "", { "bin": "lib/cli.js" }, "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg=="], | 472 | "json5": ["json5@2.2.3", "", { "bin": "lib/cli.js" }, "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg=="], |
| 449 | 473 | ||
| 450 | - "lilconfig": ["lilconfig@3.1.3", "", {}, "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw=="], | 474 | + "lightningcss": ["lightningcss@1.33.0", "", { "dependencies": { "detect-libc": "^2.0.3" }, "optionalDependencies": { "lightningcss-android-arm64": "1.33.0", "lightningcss-darwin-arm64": "1.33.0", "lightningcss-darwin-x64": "1.33.0", "lightningcss-freebsd-x64": "1.33.0", "lightningcss-linux-arm-gnueabihf": "1.33.0", "lightningcss-linux-arm64-gnu": "1.33.0", "lightningcss-linux-arm64-musl": "1.33.0", "lightningcss-linux-x64-gnu": "1.33.0", "lightningcss-linux-x64-musl": "1.33.0", "lightningcss-win32-arm64-msvc": "1.33.0", "lightningcss-win32-x64-msvc": "1.33.0" } }, "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA=="], |
| 451 | 475 | ||
| 452 | - "lines-and-columns": ["lines-and-columns@1.2.4", "", {}, "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="], | 476 | + "lightningcss-android-arm64": ["lightningcss-android-arm64@1.33.0", "", { "os": "android", "cpu": "arm64" }, "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg=="], |
| 453 | 477 | ||
| 454 | - "lru-cache": ["lru-cache@5.1.1", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="], | 478 | + "lightningcss-darwin-arm64": ["lightningcss-darwin-arm64@1.33.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg=="], |
| 455 | 479 | ||
| 456 | - "magic-string": ["magic-string@0.30.21", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="], | 480 | + "lightningcss-darwin-x64": ["lightningcss-darwin-x64@1.33.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ=="], |
| 457 | 481 | ||
| 458 | - "merge-anything": ["merge-anything@5.1.7", "", { "dependencies": { "is-what": "^4.1.8" } }, "sha512-eRtbOb1N5iyH0tkQDAoQ4Ipsp/5qSR79Dzrz8hEPxRX10RWWR/iQXdoKmBSRCThY1Fh5EhISDtpSc93fpxUniQ=="], | 482 | + "lightningcss-freebsd-x64": ["lightningcss-freebsd-x64@1.33.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg=="], |
| 459 | 483 | ||
| 460 | - "merge2": ["merge2@1.4.1", "", {}, "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg=="], | 484 | + "lightningcss-linux-arm-gnueabihf": ["lightningcss-linux-arm-gnueabihf@1.33.0", "", { "os": "linux", "cpu": "arm" }, "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ=="], |
| 461 | 485 | ||
| 462 | - "micromatch": ["micromatch@4.0.8", "", { "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" } }, "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA=="], | 486 | + "lightningcss-linux-arm64-gnu": ["lightningcss-linux-arm64-gnu@1.33.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg=="], |
| 463 | 487 | ||
| 464 | - "ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="], | 488 | + "lightningcss-linux-arm64-musl": ["lightningcss-linux-arm64-musl@1.33.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ=="], |
| 465 | 489 | ||
| 466 | - "mz": ["mz@2.7.0", "", { "dependencies": { "any-promise": "^1.0.0", "object-assign": "^4.0.1", "thenify-all": "^1.0.0" } }, "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q=="], | 490 | + "lightningcss-linux-x64-gnu": ["lightningcss-linux-x64-gnu@1.33.0", "", { "os": "linux", "cpu": "x64" }, "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg=="], |
| 467 | 491 | ||
| 468 | - "nanoid": ["nanoid@3.3.15", "", { "bin": "bin/nanoid.cjs" }, "sha512-y7Wygv/7mEOvxTuEQDB8StXdMRBWf1kR/tlhAzBRUFkB2jfcLOAxO/SHmOO2zgz1pVgK29/kyupn059/bCHdjA=="], | 492 | + "lightningcss-linux-x64-musl": ["lightningcss-linux-x64-musl@1.33.0", "", { "os": "linux", "cpu": "x64" }, "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw=="], |
| 469 | 493 | ||
| 470 | - "node-releases": ["node-releases@2.0.51", "", {}, "sha512-wRNIrw4DmVLKQlbgOMdkMx27Wrpzes2hh5Jtbi2bjPd+4wJstWIqP5A+lscnqbm0xxmT5Bpg8Lec5ItEBwx6BQ=="], | 494 | + "lightningcss-win32-arm64-msvc": ["lightningcss-win32-arm64-msvc@1.33.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA=="], |
| 495 | + | ||
| 496 | + "lightningcss-win32-x64-msvc": ["lightningcss-win32-x64-msvc@1.33.0", "", { "os": "win32", "cpu": "x64" }, "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA=="], | ||
| 497 | + | ||
| 498 | + "lru-cache": ["lru-cache@5.1.1", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="], | ||
| 499 | + | ||
| 500 | + "magic-string": ["magic-string@0.30.21", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="], | ||
| 501 | + | ||
| 502 | + "merge-anything": ["merge-anything@5.1.7", "", { "dependencies": { "is-what": "^4.1.8" } }, "sha512-eRtbOb1N5iyH0tkQDAoQ4Ipsp/5qSR79Dzrz8hEPxRX10RWWR/iQXdoKmBSRCThY1Fh5EhISDtpSc93fpxUniQ=="], | ||
| 471 | 503 | ||
| 472 | - "normalize-path": ["normalize-path@3.0.0", "", {}, "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="], | 504 | + "ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="], |
| 473 | 505 | ||
| 474 | - "object-assign": ["object-assign@4.1.1", "", {}, "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="], | 506 | + "nanoid": ["nanoid@3.3.16", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q=="], |
| 475 | 507 | ||
| 476 | - "object-hash": ["object-hash@3.0.0", "", {}, "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw=="], | 508 | + "node-releases": ["node-releases@2.0.51", "", {}, "sha512-wRNIrw4DmVLKQlbgOMdkMx27Wrpzes2hh5Jtbi2bjPd+4wJstWIqP5A+lscnqbm0xxmT5Bpg8Lec5ItEBwx6BQ=="], |
| 477 | 509 | ||
| 478 | "obug": ["obug@2.1.4", "", {}, "sha512-4a+OsYv9UktOJKE+l1A4OufDgdRF9PifWj+tJnHURo/P+WOxpG4GzUFL9qCalmWauao6ogiG+QvnCovwPoyAWA=="], | 510 | "obug": ["obug@2.1.4", "", {}, "sha512-4a+OsYv9UktOJKE+l1A4OufDgdRF9PifWj+tJnHURo/P+WOxpG4GzUFL9qCalmWauao6ogiG+QvnCovwPoyAWA=="], |
| 479 | 511 | ||
| 480 | "parse5": ["parse5@7.3.0", "", { "dependencies": { "entities": "^6.0.0" } }, "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw=="], | 512 | "parse5": ["parse5@7.3.0", "", { "dependencies": { "entities": "^6.0.0" } }, "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw=="], |
| 481 | 513 | ||
| 482 | - "path-parse": ["path-parse@1.0.7", "", {}, "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="], | ||
| 483 | - | ||
| 484 | "pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], | 514 | "pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], |
| 485 | 515 | ||
| 486 | "pdfjs-dist": ["pdfjs-dist@6.1.200", "", { "optionalDependencies": { "@napi-rs/canvas": "^1.0.0" } }, "sha512-o8MolyzirkkLrcdsae/HEOiIcXWI7DS5zGpvqW8xTC2YUsW30rltFw2bDGvw/fskUdEMrQm2br68jzDS5BH2vw=="], | 516 | "pdfjs-dist": ["pdfjs-dist@6.1.200", "", { "optionalDependencies": { "@napi-rs/canvas": "^1.0.0" } }, "sha512-o8MolyzirkkLrcdsae/HEOiIcXWI7DS5zGpvqW8xTC2YUsW30rltFw2bDGvw/fskUdEMrQm2br68jzDS5BH2vw=="], |
| @@ -489,38 +519,12 @@ | |||
| 489 | 519 | ||
| 490 | "picomatch": ["picomatch@4.0.5", "", {}, "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A=="], | 520 | "picomatch": ["picomatch@4.0.5", "", {}, "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A=="], |
| 491 | 521 | ||
| 492 | - "pify": ["pify@2.3.0", "", {}, "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog=="], | 522 | + "postcss": ["postcss@8.5.22", "", { "dependencies": { "nanoid": "^3.3.16", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-KBDEIpLrvpv16pp3K0Fw+UCoZfopFjjgeB+0tA/aaThfEE74kKDLrgg603YvOWJyg3+WYtyq3xYsQWsIyZlPqQ=="], |
| 493 | - | ||
| 494 | - "pirates": ["pirates@4.0.7", "", {}, "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA=="], | ||
| 495 | - | ||
| 496 | - "postcss": ["postcss@8.5.17", "", { "dependencies": { "nanoid": "^3.3.12", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-J7EF+8X+CzRPaJPOv9Ck2wNWJvGnnl3PcNPAdGg6GTLjyVpyQ0yATMSXRFRV01BviT/9Gwuc3rjEyJbDJG9a4w=="], | ||
| 497 | - | ||
| 498 | - "postcss-import": ["postcss-import@15.1.0", "", { "dependencies": { "postcss-value-parser": "^4.0.0", "read-cache": "^1.0.0", "resolve": "^1.1.7" }, "peerDependencies": { "postcss": "^8.0.0" } }, "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew=="], | ||
| 499 | - | ||
| 500 | - "postcss-js": ["postcss-js@4.1.0", "", { "dependencies": { "camelcase-css": "^2.0.1" }, "peerDependencies": { "postcss": "^8.4.21" } }, "sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw=="], | ||
| 501 | - | ||
| 502 | - "postcss-load-config": ["postcss-load-config@6.0.1", "", { "dependencies": { "lilconfig": "^3.1.1" }, "peerDependencies": { "jiti": ">=1.21.0", "postcss": ">=8.0.9", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["tsx", "yaml"] }, "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g=="], | ||
| 503 | - | ||
| 504 | - "postcss-nested": ["postcss-nested@6.2.0", "", { "dependencies": { "postcss-selector-parser": "^6.1.1" }, "peerDependencies": { "postcss": "^8.2.14" } }, "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ=="], | ||
| 505 | - | ||
| 506 | - "postcss-selector-parser": ["postcss-selector-parser@6.1.4", "", { "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" } }, "sha512-bIoJLOmjCO1S9XdY/DcnR5hJxvrDir1PbGChrzXG3vw0/FOliy/fA3dmdhQ441kah4gKv+TwckGzex6wNS5cnQ=="], | ||
| 507 | - | ||
| 508 | - "postcss-value-parser": ["postcss-value-parser@4.2.0", "", {}, "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="], | ||
| 509 | - | ||
| 510 | - "queue-microtask": ["queue-microtask@1.2.3", "", {}, "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A=="], | ||
| 511 | - | ||
| 512 | - "read-cache": ["read-cache@1.0.0", "", { "dependencies": { "pify": "^2.3.0" } }, "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA=="], | ||
| 513 | 523 | ||
| 514 | - "readdirp": ["readdirp@3.6.0", "", { "dependencies": { "picomatch": "^2.2.1" } }, "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA=="], | 524 | + "rolldown": ["rolldown@1.1.5", "", { "dependencies": { "@oxc-project/types": "=0.139.0", "@rolldown/pluginutils": "^1.0.0" }, "optionalDependencies": { "@rolldown/binding-android-arm64": "1.1.5", "@rolldown/binding-darwin-arm64": "1.1.5", "@rolldown/binding-darwin-x64": "1.1.5", "@rolldown/binding-freebsd-x64": "1.1.5", "@rolldown/binding-linux-arm-gnueabihf": "1.1.5", "@rolldown/binding-linux-arm64-gnu": "1.1.5", "@rolldown/binding-linux-arm64-musl": "1.1.5", "@rolldown/binding-linux-ppc64-gnu": "1.1.5", "@rolldown/binding-linux-s390x-gnu": "1.1.5", "@rolldown/binding-linux-x64-gnu": "1.1.5", "@rolldown/binding-linux-x64-musl": "1.1.5", "@rolldown/binding-openharmony-arm64": "1.1.5", "@rolldown/binding-wasm32-wasi": "1.1.5", "@rolldown/binding-win32-arm64-msvc": "1.1.5", "@rolldown/binding-win32-x64-msvc": "1.1.5" }, "bin": { "rolldown": "./bin/cli.mjs" } }, "sha512-t9z29cJjXf/vxQ8dyhCSpt6H6aSwHTk8cT5I3iy6SMXuFpk5mB6PL6XfC8PCwrPTx93udwKUm9HRteAlTGBLiA=="], |
| 515 | - | ||
| 516 | - "resolve": ["resolve@1.22.12", "", { "dependencies": { "es-errors": "^1.3.0", "is-core-module": "^2.16.1", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, "bin": "bin/resolve" }, "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA=="], | ||
| 517 | - | ||
| 518 | - "reusify": ["reusify@1.1.0", "", {}, "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw=="], | ||
| 519 | 525 | ||
| 520 | "rollup": ["rollup@4.62.2", "", { "dependencies": { "@types/estree": "1.0.9" }, "optionalDependencies": { "@rollup/rollup-android-arm-eabi": "4.62.2", "@rollup/rollup-android-arm64": "4.62.2", "@rollup/rollup-darwin-arm64": "4.62.2", "@rollup/rollup-darwin-x64": "4.62.2", "@rollup/rollup-freebsd-arm64": "4.62.2", "@rollup/rollup-freebsd-x64": "4.62.2", "@rollup/rollup-linux-arm-gnueabihf": "4.62.2", "@rollup/rollup-linux-arm-musleabihf": "4.62.2", "@rollup/rollup-linux-arm64-gnu": "4.62.2", "@rollup/rollup-linux-arm64-musl": "4.62.2", "@rollup/rollup-linux-loong64-gnu": "4.62.2", "@rollup/rollup-linux-loong64-musl": "4.62.2", "@rollup/rollup-linux-ppc64-gnu": "4.62.2", "@rollup/rollup-linux-ppc64-musl": "4.62.2", "@rollup/rollup-linux-riscv64-gnu": "4.62.2", "@rollup/rollup-linux-riscv64-musl": "4.62.2", "@rollup/rollup-linux-s390x-gnu": "4.62.2", "@rollup/rollup-linux-x64-gnu": "4.62.2", "@rollup/rollup-linux-x64-musl": "4.62.2", "@rollup/rollup-openbsd-x64": "4.62.2", "@rollup/rollup-openharmony-arm64": "4.62.2", "@rollup/rollup-win32-arm64-msvc": "4.62.2", "@rollup/rollup-win32-ia32-msvc": "4.62.2", "@rollup/rollup-win32-x64-gnu": "4.62.2", "@rollup/rollup-win32-x64-msvc": "4.62.2", "fsevents": "~2.3.2" }, "bin": "dist/bin/rollup" }, "sha512-RFnrW4lhXA3s3eqHDZvN654g8OTjzRfqpIRJYczCGB6HzphckVAi/Qh4tbPUbRuDi7s1Llv8g/NspLkttY3gTA=="], | 526 | "rollup": ["rollup@4.62.2", "", { "dependencies": { "@types/estree": "1.0.9" }, "optionalDependencies": { "@rollup/rollup-android-arm-eabi": "4.62.2", "@rollup/rollup-android-arm64": "4.62.2", "@rollup/rollup-darwin-arm64": "4.62.2", "@rollup/rollup-darwin-x64": "4.62.2", "@rollup/rollup-freebsd-arm64": "4.62.2", "@rollup/rollup-freebsd-x64": "4.62.2", "@rollup/rollup-linux-arm-gnueabihf": "4.62.2", "@rollup/rollup-linux-arm-musleabihf": "4.62.2", "@rollup/rollup-linux-arm64-gnu": "4.62.2", "@rollup/rollup-linux-arm64-musl": "4.62.2", "@rollup/rollup-linux-loong64-gnu": "4.62.2", "@rollup/rollup-linux-loong64-musl": "4.62.2", "@rollup/rollup-linux-ppc64-gnu": "4.62.2", "@rollup/rollup-linux-ppc64-musl": "4.62.2", "@rollup/rollup-linux-riscv64-gnu": "4.62.2", "@rollup/rollup-linux-riscv64-musl": "4.62.2", "@rollup/rollup-linux-s390x-gnu": "4.62.2", "@rollup/rollup-linux-x64-gnu": "4.62.2", "@rollup/rollup-linux-x64-musl": "4.62.2", "@rollup/rollup-openbsd-x64": "4.62.2", "@rollup/rollup-openharmony-arm64": "4.62.2", "@rollup/rollup-win32-arm64-msvc": "4.62.2", "@rollup/rollup-win32-ia32-msvc": "4.62.2", "@rollup/rollup-win32-x64-gnu": "4.62.2", "@rollup/rollup-win32-x64-msvc": "4.62.2", "fsevents": "~2.3.2" }, "bin": "dist/bin/rollup" }, "sha512-RFnrW4lhXA3s3eqHDZvN654g8OTjzRfqpIRJYczCGB6HzphckVAi/Qh4tbPUbRuDi7s1Llv8g/NspLkttY3gTA=="], |
| 521 | 527 | ||
| 522 | - "run-parallel": ["run-parallel@1.2.0", "", { "dependencies": { "queue-microtask": "^1.2.2" } }, "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA=="], | ||
| 523 | - | ||
| 524 | "semver": ["semver@6.3.1", "", { "bin": "bin/semver.js" }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], | 528 | "semver": ["semver@6.3.1", "", { "bin": "bin/semver.js" }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], |
| 525 | 529 | ||
| 526 | "seroval": ["seroval@1.5.5", "", {}, "sha512-bSjOuPcwPKLSJNhr9+bZxA20nQxVle5J5MNsYRVE6cIg7KpRLXGupymePavu0jrxlPiPsr4xGZSB8yUY2sH2sw=="], | 530 | "seroval": ["seroval@1.5.5", "", {}, "sha512-bSjOuPcwPKLSJNhr9+bZxA20nQxVle5J5MNsYRVE6cIg7KpRLXGupymePavu0jrxlPiPsr4xGZSB8yUY2sH2sw=="], |
| @@ -543,19 +547,13 @@ | |||
| 543 | 547 | ||
| 544 | "std-env": ["std-env@4.2.0", "", {}, "sha512-oCUKSupKTHX53EyjDtuZQ64pjLJ6yYCtpmEw0goYxtjG9KpbRe8KAsl2tBUGU9DyMcJ0RwJ8GqJAFzMXcXW1Rw=="], | 548 | "std-env": ["std-env@4.2.0", "", {}, "sha512-oCUKSupKTHX53EyjDtuZQ64pjLJ6yYCtpmEw0goYxtjG9KpbRe8KAsl2tBUGU9DyMcJ0RwJ8GqJAFzMXcXW1Rw=="], |
| 545 | 549 | ||
| 546 | - "sucrase": ["sucrase@3.35.1", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.2", "commander": "^4.0.0", "lines-and-columns": "^1.1.6", "mz": "^2.7.0", "pirates": "^4.0.1", "tinyglobby": "^0.2.11", "ts-interface-checker": "^0.1.9" }, "bin": { "sucrase": "bin/sucrase", "sucrase-node": "bin/sucrase-node" } }, "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw=="], | ||
| 547 | - | ||
| 548 | - "supports-preserve-symlinks-flag": ["supports-preserve-symlinks-flag@1.0.0", "", {}, "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w=="], | ||
| 549 | - | ||
| 550 | "tailwind-merge": ["tailwind-merge@3.6.0", "", {}, "sha512-uxL7qAVQriqRQPAyK3pj66VqskWqoZ37PW94jwOTwNfq/z9oyu1V+eqrZqtR2+fCiXdYOZe/Modt8GtvqNzu+w=="], | 550 | "tailwind-merge": ["tailwind-merge@3.6.0", "", {}, "sha512-uxL7qAVQriqRQPAyK3pj66VqskWqoZ37PW94jwOTwNfq/z9oyu1V+eqrZqtR2+fCiXdYOZe/Modt8GtvqNzu+w=="], |
| 551 | 551 | ||
| 552 | - "tailwindcss": ["tailwindcss@3.4.19", "", { "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.2", "glob-parent": "^6.0.2", "is-glob": "^4.0.3", "jiti": "^1.21.7", "lilconfig": "^3.1.3", "micromatch": "^4.0.8", "normalize-path": "^3.0.0", "object-hash": "^3.0.0", "picocolors": "^1.1.1", "postcss": "^8.4.47", "postcss-import": "^15.1.0", "postcss-js": "^4.0.1", "postcss-load-config": "^4.0.2 || ^5.0 || ^6.0", "postcss-nested": "^6.2.0", "postcss-selector-parser": "^6.1.2", "resolve": "^1.22.8", "sucrase": "^3.35.0" }, "bin": { "tailwind": "lib/cli.js", "tailwindcss": "lib/cli.js" } }, "sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ=="], | 552 | + "tailwindcss": ["tailwindcss@4.3.3", "", {}, "sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ=="], |
| 553 | 553 | ||
| 554 | "tailwindcss-animate": ["tailwindcss-animate@1.0.7", "", { "peerDependencies": { "tailwindcss": ">=3.0.0 || insiders" } }, "sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA=="], | 554 | "tailwindcss-animate": ["tailwindcss-animate@1.0.7", "", { "peerDependencies": { "tailwindcss": ">=3.0.0 || insiders" } }, "sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA=="], |
| 555 | 555 | ||
| 556 | - "thenify": ["thenify@3.3.1", "", { "dependencies": { "any-promise": "^1.0.0" } }, "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw=="], | 556 | + "tapable": ["tapable@2.3.3", "", {}, "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A=="], |
| 557 | - | ||
| 558 | - "thenify-all": ["thenify-all@1.6.0", "", { "dependencies": { "thenify": ">= 3.1.0 < 4" } }, "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA=="], | ||
| 559 | 557 | ||
| 560 | "tinybench": ["tinybench@2.9.0", "", {}, "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg=="], | 558 | "tinybench": ["tinybench@2.9.0", "", {}, "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg=="], |
| 561 | 559 | ||
| @@ -565,23 +563,17 @@ | |||
| 565 | 563 | ||
| 566 | "tinyrainbow": ["tinyrainbow@3.1.0", "", {}, "sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw=="], | 564 | "tinyrainbow": ["tinyrainbow@3.1.0", "", {}, "sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw=="], |
| 567 | 565 | ||
| 568 | - "to-regex-range": ["to-regex-range@5.0.1", "", { "dependencies": { "is-number": "^7.0.0" } }, "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="], | ||
| 569 | - | ||
| 570 | - "ts-interface-checker": ["ts-interface-checker@0.1.13", "", {}, "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA=="], | ||
| 571 | - | ||
| 572 | "tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], | 566 | "tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], |
| 573 | 567 | ||
| 574 | "typescript": ["typescript@7.0.2", "", { "optionalDependencies": { "@typescript/typescript-aix-ppc64": "7.0.2", "@typescript/typescript-darwin-arm64": "7.0.2", "@typescript/typescript-darwin-x64": "7.0.2", "@typescript/typescript-freebsd-arm64": "7.0.2", "@typescript/typescript-freebsd-x64": "7.0.2", "@typescript/typescript-linux-arm": "7.0.2", "@typescript/typescript-linux-arm64": "7.0.2", "@typescript/typescript-linux-loong64": "7.0.2", "@typescript/typescript-linux-mips64el": "7.0.2", "@typescript/typescript-linux-ppc64": "7.0.2", "@typescript/typescript-linux-riscv64": "7.0.2", "@typescript/typescript-linux-s390x": "7.0.2", "@typescript/typescript-linux-x64": "7.0.2", "@typescript/typescript-netbsd-arm64": "7.0.2", "@typescript/typescript-netbsd-x64": "7.0.2", "@typescript/typescript-openbsd-arm64": "7.0.2", "@typescript/typescript-openbsd-x64": "7.0.2", "@typescript/typescript-sunos-x64": "7.0.2", "@typescript/typescript-win32-arm64": "7.0.2", "@typescript/typescript-win32-x64": "7.0.2" }, "bin": { "tsc": "bin/tsc" } }, "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA=="], | 568 | "typescript": ["typescript@7.0.2", "", { "optionalDependencies": { "@typescript/typescript-aix-ppc64": "7.0.2", "@typescript/typescript-darwin-arm64": "7.0.2", "@typescript/typescript-darwin-x64": "7.0.2", "@typescript/typescript-freebsd-arm64": "7.0.2", "@typescript/typescript-freebsd-x64": "7.0.2", "@typescript/typescript-linux-arm": "7.0.2", "@typescript/typescript-linux-arm64": "7.0.2", "@typescript/typescript-linux-loong64": "7.0.2", "@typescript/typescript-linux-mips64el": "7.0.2", "@typescript/typescript-linux-ppc64": "7.0.2", "@typescript/typescript-linux-riscv64": "7.0.2", "@typescript/typescript-linux-s390x": "7.0.2", "@typescript/typescript-linux-x64": "7.0.2", "@typescript/typescript-netbsd-arm64": "7.0.2", "@typescript/typescript-netbsd-x64": "7.0.2", "@typescript/typescript-openbsd-arm64": "7.0.2", "@typescript/typescript-openbsd-x64": "7.0.2", "@typescript/typescript-sunos-x64": "7.0.2", "@typescript/typescript-win32-arm64": "7.0.2", "@typescript/typescript-win32-x64": "7.0.2" }, "bin": { "tsc": "bin/tsc" } }, "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA=="], |
| 575 | 569 | ||
| 576 | - "undici-types": ["undici-types@7.18.2", "", {}, "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w=="], | 570 | + "undici-types": ["undici-types@8.3.0", "", {}, "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ=="], |
| 577 | 571 | ||
| 578 | "update-browserslist-db": ["update-browserslist-db@1.2.3", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": "cli.js" }, "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w=="], | 572 | "update-browserslist-db": ["update-browserslist-db@1.2.3", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": "cli.js" }, "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w=="], |
| 579 | 573 | ||
| 580 | - "util-deprecate": ["util-deprecate@1.0.2", "", {}, "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="], | 574 | + "vite": ["vite@8.1.5", "", { "dependencies": { "lightningcss": "^1.32.0", "picomatch": "^4.0.5", "postcss": "^8.5.17", "rolldown": "~1.1.5", "tinyglobby": "^0.2.17" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", "@vitejs/devtools": "^0.3.0", "esbuild": "^0.27.0 || ^0.28.0", "jiti": ">=1.21.0", "less": "^4.0.0", "sass": "^1.70.0", "sass-embedded": "^1.70.0", "stylus": ">=0.54.8", "sugarss": "^5.0.0", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "@vitejs/devtools", "esbuild", "jiti", "less", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-7ULLwsCdYx/nRyrpiEwvqb5TFHrMVZyBt+rg/OAXT7rgj/z+DtTDyKFeLAdDkubDVDKD8jOsndmy7m55XcfUsw=="], |
| 581 | - | ||
| 582 | - "vite": ["vite@6.4.3", "", { "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", "picomatch": "^4.0.2", "postcss": "^8.5.3", "rollup": "^4.34.9", "tinyglobby": "^0.2.13" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", "jiti": ">=1.21.0", "less": "*", "lightningcss": "^1.21.0", "sass": "*", "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": "bin/vite.js" }, "sha512-NTKlcQjlAK7MlQoyb6LgaqHc8sso/pVyUJYWMws3jg21uTJw/LddqIFPcPqP6PzpgbIcZyKI85sFE4HBrQDA8A=="], | ||
| 583 | 575 | ||
| 584 | - "vite-plugin-solid": ["vite-plugin-solid@2.11.12", "", { "dependencies": { "@babel/core": "^7.23.3", "@types/babel__core": "^7.20.4", "babel-preset-solid": "^1.8.4", "merge-anything": "^5.1.7", "solid-refresh": "^0.6.3", "vitefu": "^1.0.4" }, "peerDependencies": { "@testing-library/jest-dom": "^5.16.6 || ^5.17.0 || ^6.*", "solid-js": "^1.7.2", "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" }, "optionalPeers": ["@testing-library/jest-dom"] }, "sha512-FgjPcx2OwX9h6f28jli7A4bG7PP3te8uyakE5iqsmpq3Jqi1TWLgSroC9N6cMfGRU2zXsl4Q6ISvTr2VL0QHpA=="], | 576 | + "vite-plugin-solid": ["vite-plugin-solid@2.11.13", "", { "dependencies": { "@babel/core": "^7.23.3", "@types/babel__core": "^7.20.4", "babel-preset-solid": "^1.8.4", "merge-anything": "^5.1.7", "solid-refresh": "^0.6.3", "vitefu": "^1.0.4" }, "peerDependencies": { "@testing-library/jest-dom": "^5.16.6 || ^5.17.0 || ^6.*", "solid-js": "^1.7.2", "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0" }, "optionalPeers": ["@testing-library/jest-dom"] }, "sha512-YaCNMzwIawUO8K16uj5jaxUJIYCstBEjkUppC5OKElBz/K2+R7Q7MWycHDgqzjBca5WWy/2ZQQ45IHexaabYew=="], |
| 585 | 577 | ||
| 586 | "vitefu": ["vitefu@1.1.3", "", { "peerDependencies": { "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" } }, "sha512-ub4okH7Z5KLjb6hDyjqrGXqWtWvoYdU3IGm/NorpgHncKoLTCfRIbvlhBm7r0YstIaQRYlp4yEbFqDcKSzXSSg=="], | 578 | "vitefu": ["vitefu@1.1.3", "", { "peerDependencies": { "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" } }, "sha512-ub4okH7Z5KLjb6hDyjqrGXqWtWvoYdU3IGm/NorpgHncKoLTCfRIbvlhBm7r0YstIaQRYlp4yEbFqDcKSzXSSg=="], |
| 587 | 579 | ||
| @@ -591,16 +583,52 @@ | |||
| 591 | 583 | ||
| 592 | "yallist": ["yallist@3.1.1", "", {}, "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="], | 584 | "yallist": ["yallist@3.1.1", "", {}, "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="], |
| 593 | 585 | ||
| 594 | - "anymatch/picomatch": ["picomatch@2.3.2", "", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="], | 586 | + "@tailwindcss/node/jiti": ["jiti@2.7.0", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ=="], |
| 587 | + | ||
| 588 | + "@tailwindcss/node/lightningcss": ["lightningcss@1.32.0", "", { "dependencies": { "detect-libc": "^2.0.3" }, "optionalDependencies": { "lightningcss-android-arm64": "1.32.0", "lightningcss-darwin-arm64": "1.32.0", "lightningcss-darwin-x64": "1.32.0", "lightningcss-freebsd-x64": "1.32.0", "lightningcss-linux-arm-gnueabihf": "1.32.0", "lightningcss-linux-arm64-gnu": "1.32.0", "lightningcss-linux-arm64-musl": "1.32.0", "lightningcss-linux-x64-gnu": "1.32.0", "lightningcss-linux-x64-musl": "1.32.0", "lightningcss-win32-arm64-msvc": "1.32.0", "lightningcss-win32-x64-msvc": "1.32.0" } }, "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ=="], | ||
| 589 | + | ||
| 590 | + "@tailwindcss/oxide-wasm32-wasi/@emnapi/core": ["@emnapi/core@1.11.1", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.2", "tslib": "^2.4.0" }, "bundled": true }, "sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ=="], | ||
| 591 | + | ||
| 592 | + "@tailwindcss/oxide-wasm32-wasi/@emnapi/runtime": ["@emnapi/runtime@1.11.1", "", { "dependencies": { "tslib": "^2.4.0" }, "bundled": true }, "sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw=="], | ||
| 593 | + | ||
| 594 | + "@tailwindcss/oxide-wasm32-wasi/@emnapi/wasi-threads": ["@emnapi/wasi-threads@1.2.2", "", { "dependencies": { "tslib": "^2.4.0" }, "bundled": true }, "sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA=="], | ||
| 595 | + | ||
| 596 | + "@tailwindcss/oxide-wasm32-wasi/@napi-rs/wasm-runtime": ["@napi-rs/wasm-runtime@1.1.6", "", { "dependencies": { "@tybys/wasm-util": "^0.10.3" }, "peerDependencies": { "@emnapi/core": "^1.7.1", "@emnapi/runtime": "^1.7.1" }, "bundled": true }, "sha512-ZLv/JdUfkvOy9eCnnBaGfiO+XimbjebAeO+MRQqD/B+FR1tnRN0tpKSJHRbE8sFfS6aqsXZ67TQjfwfsxULVbg=="], | ||
| 597 | + | ||
| 598 | + "@tailwindcss/oxide-wasm32-wasi/@tybys/wasm-util": ["@tybys/wasm-util@0.10.3", "", { "dependencies": { "tslib": "^2.4.0" }, "bundled": true }, "sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg=="], | ||
| 599 | + | ||
| 600 | + "@tailwindcss/oxide-wasm32-wasi/tslib": ["tslib@2.8.1", "", { "bundled": true }, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], | ||
| 601 | + | ||
| 602 | + "@tanstack/solid-router/@tanstack/router-core": ["@tanstack/router-core@1.171.15", "", { "dependencies": { "@tanstack/history": "1.162.0", "cookie-es": "^3.0.0", "seroval": "^1.5.4", "seroval-plugins": "^1.5.4" } }, "sha512-IILCDcLaItMZQ2jEmCABHY1Nhjjn5XUvwpQp3e4Nmu+vfg0BgYFuu/QASz2SwE2ZNbVMrvt8X/wxa+Gg5aErxA=="], | ||
| 595 | 603 | ||
| 596 | "babel-plugin-jsx-dom-expressions/@babel/helper-module-imports": ["@babel/helper-module-imports@7.18.6", "", { "dependencies": { "@babel/types": "^7.18.6" } }, "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA=="], | 604 | "babel-plugin-jsx-dom-expressions/@babel/helper-module-imports": ["@babel/helper-module-imports@7.18.6", "", { "dependencies": { "@babel/types": "^7.18.6" } }, "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA=="], |
| 597 | 605 | ||
| 598 | - "chokidar/glob-parent": ["glob-parent@5.1.2", "", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="], | 606 | + "vitest/vite": ["vite@6.4.3", "", { "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", "picomatch": "^4.0.2", "postcss": "^8.5.3", "rollup": "^4.34.9", "tinyglobby": "^0.2.13" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", "jiti": ">=1.21.0", "less": "*", "lightningcss": "^1.21.0", "sass": "*", "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": "bin/vite.js" }, "sha512-NTKlcQjlAK7MlQoyb6LgaqHc8sso/pVyUJYWMws3jg21uTJw/LddqIFPcPqP6PzpgbIcZyKI85sFE4HBrQDA8A=="], |
| 607 | + | ||
| 608 | + "@tailwindcss/node/lightningcss/lightningcss-android-arm64": ["lightningcss-android-arm64@1.32.0", "", { "os": "android", "cpu": "arm64" }, "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg=="], | ||
| 609 | + | ||
| 610 | + "@tailwindcss/node/lightningcss/lightningcss-darwin-arm64": ["lightningcss-darwin-arm64@1.32.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ=="], | ||
| 611 | + | ||
| 612 | + "@tailwindcss/node/lightningcss/lightningcss-darwin-x64": ["lightningcss-darwin-x64@1.32.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w=="], | ||
| 613 | + | ||
| 614 | + "@tailwindcss/node/lightningcss/lightningcss-freebsd-x64": ["lightningcss-freebsd-x64@1.32.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig=="], | ||
| 615 | + | ||
| 616 | + "@tailwindcss/node/lightningcss/lightningcss-linux-arm-gnueabihf": ["lightningcss-linux-arm-gnueabihf@1.32.0", "", { "os": "linux", "cpu": "arm" }, "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw=="], | ||
| 617 | + | ||
| 618 | + "@tailwindcss/node/lightningcss/lightningcss-linux-arm64-gnu": ["lightningcss-linux-arm64-gnu@1.32.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ=="], | ||
| 619 | + | ||
| 620 | + "@tailwindcss/node/lightningcss/lightningcss-linux-arm64-musl": ["lightningcss-linux-arm64-musl@1.32.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg=="], | ||
| 621 | + | ||
| 622 | + "@tailwindcss/node/lightningcss/lightningcss-linux-x64-gnu": ["lightningcss-linux-x64-gnu@1.32.0", "", { "os": "linux", "cpu": "x64" }, "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA=="], | ||
| 623 | + | ||
| 624 | + "@tailwindcss/node/lightningcss/lightningcss-linux-x64-musl": ["lightningcss-linux-x64-musl@1.32.0", "", { "os": "linux", "cpu": "x64" }, "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg=="], | ||
| 625 | + | ||
| 626 | + "@tailwindcss/node/lightningcss/lightningcss-win32-arm64-msvc": ["lightningcss-win32-arm64-msvc@1.32.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw=="], | ||
| 599 | 627 | ||
| 600 | - "fast-glob/glob-parent": ["glob-parent@5.1.2", "", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="], | 628 | + "@tailwindcss/node/lightningcss/lightningcss-win32-x64-msvc": ["lightningcss-win32-x64-msvc@1.32.0", "", { "os": "win32", "cpu": "x64" }, "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q=="], |
| 601 | 629 | ||
| 602 | - "micromatch/picomatch": ["picomatch@2.3.2", "", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="], | 630 | + "vitest/vite/postcss": ["postcss@8.5.17", "", { "dependencies": { "nanoid": "^3.3.12", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-J7EF+8X+CzRPaJPOv9Ck2wNWJvGnnl3PcNPAdGg6GTLjyVpyQ0yATMSXRFRV01BviT/9Gwuc3rjEyJbDJG9a4w=="], |
| 603 | 631 | ||
| 604 | - "readdirp/picomatch": ["picomatch@2.3.2", "", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="], | 632 | + "vitest/vite/postcss/nanoid": ["nanoid@3.3.15", "", { "bin": "bin/nanoid.cjs" }, "sha512-y7Wygv/7mEOvxTuEQDB8StXdMRBWf1kR/tlhAzBRUFkB2jfcLOAxO/SHmOO2zgz1pVgK29/kyupn059/bCHdjA=="], |
| 605 | } | 633 | } |
| 606 | } | 634 | } |
package.jsonmodified+11 -11
| @@ -12,25 +12,25 @@ | |||
| 12 | "test:watch": "vitest" | 12 | "test:watch": "vitest" |
| 13 | }, | 13 | }, |
| 14 | "dependencies": { | 14 | "dependencies": { |
| 15 | - "@kobalte/core": "^0.13.11", | 15 | + "@kobalte/core": "^0.13.12", |
| 16 | - "@tanstack/solid-router": "^1.131.0", | 16 | + "@tanstack/solid-router": "^1.170.18", |
| 17 | "@tanstack/solid-table": "^8.21.3", | 17 | "@tanstack/solid-table": "^8.21.3", |
| 18 | "class-variance-authority": "^0.7.1", | 18 | "class-variance-authority": "^0.7.1", |
| 19 | "clsx": "^2.1.1", | 19 | "clsx": "^2.1.1", |
| 20 | "pdfjs-dist": "^6.1.200", | 20 | "pdfjs-dist": "^6.1.200", |
| 21 | - "solid-js": "^1.9.13", | 21 | + "solid-js": "^1.9.14", |
| 22 | - "tailwind-merge": "^3.3.1" | 22 | + "tailwind-merge": "^3.6.0" |
| 23 | }, | 23 | }, |
| 24 | "devDependencies": { | 24 | "devDependencies": { |
| 25 | - "@tanstack/solid-router-devtools": "^1.131.0", | 25 | + "@tailwindcss/postcss": "^4.3.3", |
| 26 | - "@types/node": "^24.13.2", | 26 | + "@tanstack/solid-router-devtools": "^1.167.0", |
| 27 | - "autoprefixer": "^10.4.21", | 27 | + "@types/node": "^26.1.1", |
| 28 | - "postcss": "^8.5.6", | 28 | + "postcss": "^8.5.22", |
| 29 | - "tailwindcss": "^3.4.17", | 29 | + "tailwindcss": "^4.3.3", |
| 30 | "tailwindcss-animate": "^1.0.7", | 30 | "tailwindcss-animate": "^1.0.7", |
| 31 | "typescript": "^7.0.2", | 31 | "typescript": "^7.0.2", |
| 32 | - "vite": "^6.3.5", | 32 | + "vite": "^8.1.5", |
| 33 | - "vite-plugin-solid": "^2.11.12", | 33 | + "vite-plugin-solid": "^2.11.13", |
| 34 | "vitest": "^4.1.10" | 34 | "vitest": "^4.1.10" |
| 35 | } | 35 | } |
| 36 | } | 36 | } |
postcss.config.jsmodified+1 -2
| @@ -1,6 +1,5 @@ | |||
| 1 | export default { | 1 | export default { |
| 2 | plugins: { | 2 | plugins: { |
| 3 | - tailwindcss: {}, | 3 | + '@tailwindcss/postcss': {}, |
| 4 | - autoprefixer: {}, | ||
| 5 | }, | 4 | }, |
| 6 | }; | 5 | }; |
src/components/attendance/attendance-report-view.tsxmodified+1 -1
| @@ -134,7 +134,7 @@ export function AttendanceReportView(props: { report: AttendanceReport; compact? | |||
| 134 | when={props.report.courses.length > 0} | 134 | when={props.report.courses.length > 0} |
| 135 | fallback={<DataTableEmpty class="py-6">{t("attendance.emptyCourses")}</DataTableEmpty>} | 135 | fallback={<DataTableEmpty class="py-6">{t("attendance.emptyCourses")}</DataTableEmpty>} |
| 136 | > | 136 | > |
| 137 | - <DataTable class="min-w-0" columns={columns()} data={props.report.courses} tableClass={cn("w-full", compact() ? "text-xs" : "table-fixed min-w-[40rem]")} /> | 137 | + <DataTable class="min-w-0" columns={columns()} data={props.report.courses} tableClass={cn("w-full", compact() ? "text-xs" : "table-fixed min-w-160")} /> |
| 138 | </Show> | 138 | </Show> |
| 139 | </section> | 139 | </section> |
| 140 | </div> | 140 | </div> |
src/components/events/event-form.tsxmodified+3 -3
| @@ -171,7 +171,7 @@ export function EventForm(props: { | |||
| 171 | return ( | 171 | return ( |
| 172 | <> | 172 | <> |
| 173 | <form class="space-y-4" onSubmit={handleSubmit}> | 173 | <form class="space-y-4" onSubmit={handleSubmit}> |
| 174 | - <div class="space-y-3 rounded-2xl border border-sky-500/15 bg-sky-500/[0.03] p-4 shadow-sm"> | 174 | + <div class="space-y-3 rounded-2xl border border-sky-500/15 bg-sky-500/3 p-4 shadow-xs"> |
| 175 | <div class="space-y-1.5"> | 175 | <div class="space-y-1.5"> |
| 176 | <Label for="event-title">{t("form.title")}</Label> | 176 | <Label for="event-title">{t("form.title")}</Label> |
| 177 | <Input | 177 | <Input |
| @@ -195,7 +195,7 @@ export function EventForm(props: { | |||
| 195 | /> | 195 | /> |
| 196 | </div> | 196 | </div> |
| 197 | </div> | 197 | </div> |
| 198 | - <div class="space-y-3 rounded-2xl border border-violet-500/15 bg-violet-500/[0.03] p-4 shadow-sm"> | 198 | + <div class="space-y-3 rounded-2xl border border-violet-500/15 bg-violet-500/3 p-4 shadow-xs"> |
| 199 | <div class="space-y-1.5"> | 199 | <div class="space-y-1.5"> |
| 200 | <Label for="event-audience">{t("events.audience")}</Label> | 200 | <Label for="event-audience">{t("events.audience")}</Label> |
| 201 | <Select id="event-audience" value={audienceKind()} onChange={(e) => setAudienceKind(e.currentTarget.value as EventAudience["kind"])}> | 201 | <Select id="event-audience" value={audienceKind()} onChange={(e) => setAudienceKind(e.currentTarget.value as EventAudience["kind"])}> |
| @@ -234,7 +234,7 @@ export function EventForm(props: { | |||
| 234 | </div> | 234 | </div> |
| 235 | </Show> | 235 | </Show> |
| 236 | </div> | 236 | </div> |
| 237 | - <div class="grid gap-3 rounded-2xl border border-amber-500/15 bg-amber-500/[0.03] p-4"> | 237 | + <div class="grid gap-3 rounded-2xl border border-amber-500/15 bg-amber-500/3 p-4"> |
| 238 | <div class="space-y-1.5"> | 238 | <div class="space-y-1.5"> |
| 239 | <Label for="event-starts">{t("events.starts")}</Label> | 239 | <Label for="event-starts">{t("events.starts")}</Label> |
| 240 | <div class="grid grid-cols-2 gap-2"> | 240 | <div class="grid grid-cols-2 gap-2"> |
src/components/exams/exam-form.tsxmodified+4 -4
| @@ -203,7 +203,7 @@ export function ExamForm(props: { | |||
| 203 | <> | 203 | <> |
| 204 | <form class="space-y-4" onSubmit={handleSubmit}> | 204 | <form class="space-y-4" onSubmit={handleSubmit}> |
| 205 | {/* Section 1: Basic Info */} | 205 | {/* Section 1: Basic Info */} |
| 206 | - <div class="space-y-3 rounded-2xl border border-sky-500/15 bg-sky-500/[0.03] p-4 shadow-sm"> | 206 | + <div class="space-y-3 rounded-2xl border border-sky-500/15 bg-sky-500/3 p-4 shadow-xs"> |
| 207 | <h3 class="text-xs font-semibold uppercase tracking-wider text-muted-foreground">{t("exams.sectionBasic")}</h3> | 207 | <h3 class="text-xs font-semibold uppercase tracking-wider text-muted-foreground">{t("exams.sectionBasic")}</h3> |
| 208 | <div class="space-y-1.5"> | 208 | <div class="space-y-1.5"> |
| 209 | <Label for="exam-title">{t("form.title")}</Label> | 209 | <Label for="exam-title">{t("form.title")}</Label> |
| @@ -238,7 +238,7 @@ export function ExamForm(props: { | |||
| 238 | </div> | 238 | </div> |
| 239 | 239 | ||
| 240 | {/* Section 2: Mode & Schedule */} | 240 | {/* Section 2: Mode & Schedule */} |
| 241 | - <div class="space-y-3 rounded-2xl border border-amber-500/15 bg-amber-500/[0.03] p-4 shadow-sm"> | 241 | + <div class="space-y-3 rounded-2xl border border-amber-500/15 bg-amber-500/3 p-4 shadow-xs"> |
| 242 | <h3 class="text-xs font-semibold uppercase tracking-wider text-muted-foreground">{t("exams.sectionSchedule")}</h3> | 242 | <h3 class="text-xs font-semibold uppercase tracking-wider text-muted-foreground">{t("exams.sectionSchedule")}</h3> |
| 243 | <div class="space-y-1.5"> | 243 | <div class="space-y-1.5"> |
| 244 | <Label for="exam-mode">{t("exams.mode")}</Label> | 244 | <Label for="exam-mode">{t("exams.mode")}</Label> |
| @@ -316,7 +316,7 @@ export function ExamForm(props: { | |||
| 316 | </div> | 316 | </div> |
| 317 | 317 | ||
| 318 | {/* Section 3: Time Limit / Duration */} | 318 | {/* Section 3: Time Limit / Duration */} |
| 319 | - <div class="space-y-3 rounded-2xl border border-indigo-500/15 bg-indigo-500/[0.03] p-4 shadow-sm"> | 319 | + <div class="space-y-3 rounded-2xl border border-indigo-500/15 bg-indigo-500/3 p-4 shadow-xs"> |
| 320 | <h3 class="text-xs font-semibold uppercase tracking-wider text-muted-foreground">{t("exams.sectionDuration")}</h3> | 320 | <h3 class="text-xs font-semibold uppercase tracking-wider text-muted-foreground">{t("exams.sectionDuration")}</h3> |
| 321 | <label class="flex items-center gap-2 text-sm font-medium"> | 321 | <label class="flex items-center gap-2 text-sm font-medium"> |
| 322 | <input | 322 | <input |
| @@ -346,7 +346,7 @@ export function ExamForm(props: { | |||
| 346 | </div> | 346 | </div> |
| 347 | 347 | ||
| 348 | {/* Section 4: Participation & Attempts */} | 348 | {/* Section 4: Participation & Attempts */} |
| 349 | - <div class="space-y-3 rounded-2xl border border-emerald-500/15 bg-emerald-500/[0.03] p-4 shadow-sm"> | 349 | + <div class="space-y-3 rounded-2xl border border-emerald-500/15 bg-emerald-500/3 p-4 shadow-xs"> |
| 350 | <h3 class="text-xs font-semibold uppercase tracking-wider text-muted-foreground">{t("exams.sectionAccess")}</h3> | 350 | <h3 class="text-xs font-semibold uppercase tracking-wider text-muted-foreground">{t("exams.sectionAccess")}</h3> |
| 351 | 351 | ||
| 352 | <div class="rounded-xl border bg-background/60 px-3 py-2"> | 352 | <div class="rounded-xl border bg-background/60 px-3 py-2"> |
src/components/exams/exam-questions-panel.tsxmodified+2 -2
| @@ -216,7 +216,7 @@ export function ExamQuestionsPanel(props: { | |||
| 216 | <ol class="space-y-3"> | 216 | <ol class="space-y-3"> |
| 217 | <For each={pageItems()}> | 217 | <For each={pageItems()}> |
| 218 | {(q, index) => ( | 218 | {(q, index) => ( |
| 219 | - <li class="rounded-lg border bg-card p-4 shadow-xs"> | 219 | + <li class="rounded-lg border bg-card p-4 shadow-2xs"> |
| 220 | <div class="flex flex-wrap items-start justify-between gap-3"> | 220 | <div class="flex flex-wrap items-start justify-between gap-3"> |
| 221 | <div class="min-w-0 flex-1 space-y-2.5"> | 221 | <div class="min-w-0 flex-1 space-y-2.5"> |
| 222 | <div class="flex flex-wrap items-center gap-2"> | 222 | <div class="flex flex-wrap items-center gap-2"> |
| @@ -262,7 +262,7 @@ export function ExamQuestionsPanel(props: { | |||
| 262 | : "flex items-start gap-3 rounded-md border border-transparent bg-muted/30 px-3 py-2 text-muted-foreground" | 262 | : "flex items-start gap-3 rounded-md border border-transparent bg-muted/30 px-3 py-2 text-muted-foreground" |
| 263 | } | 263 | } |
| 264 | > | 264 | > |
| 265 | - <span class="mt-0.5 inline-flex h-5 min-w-5 items-center justify-center rounded-[3px] border bg-background font-mono text-[11px] font-bold text-foreground shadow-xs"> | 265 | + <span class="mt-0.5 inline-flex h-5 min-w-5 items-center justify-center rounded-[3px] border bg-background font-mono text-[11px] font-bold text-foreground shadow-2xs"> |
| 266 | {String.fromCharCode(65 + choiceIndex())} | 266 | {String.fromCharCode(65 + choiceIndex())} |
| 267 | </span> | 267 | </span> |
| 268 | <span class="min-w-0 flex-1 space-y-2 whitespace-pre-wrap"> | 268 | <span class="min-w-0 flex-1 space-y-2 whitespace-pre-wrap"> |
src/components/exams/exam-room-ws.tsxmodified+2 -2
| @@ -508,7 +508,7 @@ export function ExamRoomWS(props: { exam: Exam }) { | |||
| 508 | </div> | 508 | </div> |
| 509 | )} | 509 | )} |
| 510 | </Show> | 510 | </Show> |
| 511 | - <aside class="surface-card order-first space-y-3 p-3 lg:sticky lg:top-4 lg:order-none"> | 511 | + <aside class="surface-card order-first space-y-3 p-3 lg:sticky lg:top-4 lg:order-0"> |
| 512 | <div> | 512 | <div> |
| 513 | <h3 class="font-display text-sm font-semibold">{t("questions.title")}</h3> | 513 | <h3 class="font-display text-sm font-semibold">{t("questions.title")}</h3> |
| 514 | <p class="mt-1 text-xs text-muted-foreground"> | 514 | <p class="mt-1 text-xs text-muted-foreground"> |
| @@ -650,7 +650,7 @@ function AttemptFocusBar(props: { attempt: ExamAttempt; status?: string; remaini | |||
| 650 | const statusLabel = () => props.status === "expired" ? t("attempt.expired") : props.status === "submitted" ? t("attempt.submitted") : t("attempt.inProgress"); | 650 | const statusLabel = () => props.status === "expired" ? t("attempt.expired") : props.status === "submitted" ? t("attempt.submitted") : t("attempt.inProgress"); |
| 651 | 651 | ||
| 652 | return ( | 652 | return ( |
| 653 | - <div class="rounded-xl border bg-card px-3 py-2 shadow-sm"> | 653 | + <div class="rounded-xl border bg-card px-3 py-2 shadow-xs"> |
| 654 | <div class="flex flex-wrap items-center gap-3 text-xs text-muted-foreground"> | 654 | <div class="flex flex-wrap items-center gap-3 text-xs text-muted-foreground"> |
| 655 | <span class="font-medium text-foreground">{statusLabel()}</span> | 655 | <span class="font-medium text-foreground">{statusLabel()}</span> |
| 656 | <span class="mono font-semibold tabular-nums text-foreground">{formatRemaining(props.remainingMs)}</span> | 656 | <span class="mono font-semibold tabular-nums text-foreground">{formatRemaining(props.remainingMs)}</span> |
src/components/exams/question-form.tsxmodified+8 -8
| @@ -187,13 +187,13 @@ export function QuestionForm(props: { | |||
| 187 | 187 | ||
| 188 | return ( | 188 | return ( |
| 189 | <form class="space-y-3" onSubmit={(e) => void submit(e)}> | 189 | <form class="space-y-3" onSubmit={(e) => void submit(e)}> |
| 190 | - <div class="rounded-lg border bg-card p-3.5 shadow-sm"> | 190 | + <div class="rounded-lg border bg-card p-3.5 shadow-xs"> |
| 191 | <div class="space-y-2"> | 191 | <div class="space-y-2"> |
| 192 | <Label for="question-text" class="text-sm font-semibold">{t("questions.text")}</Label> | 192 | <Label for="question-text" class="text-sm font-semibold">{t("questions.text")}</Label> |
| 193 | <Textarea | 193 | <Textarea |
| 194 | id="question-text" | 194 | id="question-text" |
| 195 | ref={textAreaRef} | 195 | ref={textAreaRef} |
| 196 | - class="min-h-[7rem] resize-none overflow-hidden bg-background text-base" | 196 | + class="min-h-28 resize-none overflow-hidden bg-background text-base" |
| 197 | value={text()} | 197 | value={text()} |
| 198 | maxlength={2000} | 198 | maxlength={2000} |
| 199 | rows={3} | 199 | rows={3} |
| @@ -250,7 +250,7 @@ export function QuestionForm(props: { | |||
| 250 | <Show when={drawing()}> | 250 | <Show when={drawing()}> |
| 251 | <div class="mt-3 border-t border-border/50 pt-3"> | 251 | <div class="mt-3 border-t border-border/50 pt-3"> |
| 252 | <Label class="mb-2 block text-xs font-semibold text-muted-foreground">{t("questions.drawTitle")}</Label> | 252 | <Label class="mb-2 block text-xs font-semibold text-muted-foreground">{t("questions.drawTitle")}</Label> |
| 253 | - <Suspense fallback={<div class="h-[22rem] animate-pulse rounded-lg border bg-muted/20" />}> | 253 | + <Suspense fallback={<div class="h-88 animate-pulse rounded-lg border bg-muted/20" />}> |
| 254 | <DrawCanvas | 254 | <DrawCanvas |
| 255 | fileName="question.png" | 255 | fileName="question.png" |
| 256 | initialScene={editScene()} | 256 | initialScene={editScene()} |
| @@ -267,8 +267,8 @@ export function QuestionForm(props: { | |||
| 267 | </div> | 267 | </div> |
| 268 | </div> | 268 | </div> |
| 269 | 269 | ||
| 270 | - <div class="flex flex-wrap items-end gap-3 rounded-lg border bg-card px-3.5 py-3 shadow-sm"> | 270 | + <div class="flex flex-wrap items-end gap-3 rounded-lg border bg-card px-3.5 py-3 shadow-xs"> |
| 271 | - <div class="min-w-0 flex-1 basis-[10rem]"> | 271 | + <div class="min-w-0 flex-1 basis-40"> |
| 272 | <Label for="question-subject" class="mb-1 block text-xs font-semibold text-muted-foreground">{t("subjects.subject")}</Label> | 272 | <Label for="question-subject" class="mb-1 block text-xs font-semibold text-muted-foreground">{t("subjects.subject")}</Label> |
| 273 | <Select id="question-subject" class="h-9 py-1.5 text-sm" value={subjectId()} required onChange={(e) => setSubjectId(e.currentTarget.value)}> | 273 | <Select id="question-subject" class="h-9 py-1.5 text-sm" value={subjectId()} required onChange={(e) => setSubjectId(e.currentTarget.value)}> |
| 274 | <option value="">{t("subjects.select")}</option> | 274 | <option value="">{t("subjects.select")}</option> |
| @@ -285,7 +285,7 @@ export function QuestionForm(props: { | |||
| 285 | class={cn( | 285 | class={cn( |
| 286 | "h-7 rounded-sm px-2.5 text-xs font-semibold transition-colors", | 286 | "h-7 rounded-sm px-2.5 text-xs font-semibold transition-colors", |
| 287 | kind() === k | 287 | kind() === k |
| 288 | - ? "bg-primary text-primary-foreground shadow-xs" | 288 | + ? "bg-primary text-primary-foreground shadow-2xs" |
| 289 | : "text-muted-foreground hover:text-foreground", | 289 | : "text-muted-foreground hover:text-foreground", |
| 290 | )} | 290 | )} |
| 291 | onClick={() => setKind(k)} | 291 | onClick={() => setKind(k)} |
| @@ -312,7 +312,7 @@ export function QuestionForm(props: { | |||
| 312 | </div> | 312 | </div> |
| 313 | 313 | ||
| 314 | <Show when={kind() === "choice"}> | 314 | <Show when={kind() === "choice"}> |
| 315 | - <div class="rounded-lg border bg-card p-3.5 shadow-sm"> | 315 | + <div class="rounded-lg border bg-card p-3.5 shadow-xs"> |
| 316 | <div class="mb-3 flex items-center justify-between gap-2 border-b border-border/50 pb-2"> | 316 | <div class="mb-3 flex items-center justify-between gap-2 border-b border-border/50 pb-2"> |
| 317 | <Label class="text-sm font-semibold">{t("questions.choices")}</Label> | 317 | <Label class="text-sm font-semibold">{t("questions.choices")}</Label> |
| 318 | <Button type="button" variant="outline" size="sm" class="h-7 gap-1 text-xs" disabled={choices().length >= 10} onClick={addChoice}> | 318 | <Button type="button" variant="outline" size="sm" class="h-7 gap-1 text-xs" disabled={choices().length >= 10} onClick={addChoice}> |
| @@ -336,7 +336,7 @@ export function QuestionForm(props: { | |||
| 336 | class={cn( | 336 | class={cn( |
| 337 | "mt-0.5 inline-flex h-6 w-6 shrink-0 items-center justify-center rounded text-xs font-bold transition-colors", | 337 | "mt-0.5 inline-flex h-6 w-6 shrink-0 items-center justify-center rounded text-xs font-bold transition-colors", |
| 338 | isCorrect() | 338 | isCorrect() |
| 339 | - ? "bg-emerald-600 text-white shadow-xs" | 339 | + ? "bg-emerald-600 text-white shadow-2xs" |
| 340 | : "border bg-background text-muted-foreground hover:border-emerald-400 hover:text-emerald-600", | 340 | : "border bg-background text-muted-foreground hover:border-emerald-400 hover:text-emerald-600", |
| 341 | )} | 341 | )} |
| 342 | onClick={() => setCorrect(index)} | 342 | onClick={() => setCorrect(index)} |
src/components/homework/course-homework-panel.tsxmodified+1 -1
| @@ -184,7 +184,7 @@ export function CourseHomeworkPanel(props: { | |||
| 184 | ? [{ | 184 | ? [{ |
| 185 | id: "actions", | 185 | id: "actions", |
| 186 | header: t("common.actions"), | 186 | header: t("common.actions"), |
| 187 | - meta: { headerClass: "w-28 min-w-[7rem] text-center whitespace-nowrap", cellClass: "px-1 text-center" }, | 187 | + meta: { headerClass: "w-28 min-w-28 text-center whitespace-nowrap", cellClass: "px-1 text-center" }, |
| 188 | cell: (cell) => ( | 188 | cell: (cell) => ( |
| 189 | <TableRowActions | 189 | <TableRowActions |
| 190 | label={t("common.actions")} | 190 | label={t("common.actions")} |
src/components/homework/homework-submissions-panel.tsxmodified+1 -1
| @@ -122,7 +122,7 @@ export function HomeworkSubmissionsPanel(props: { homeworkId: string; courseId: | |||
| 122 | { | 122 | { |
| 123 | id: "actions", | 123 | id: "actions", |
| 124 | header: t("common.actions"), | 124 | header: t("common.actions"), |
| 125 | - meta: { headerClass: "w-28 min-w-[7rem] text-center whitespace-nowrap", cellClass: "px-1 text-center" }, | 125 | + meta: { headerClass: "w-28 min-w-28 text-center whitespace-nowrap", cellClass: "px-1 text-center" }, |
| 126 | cell: (cell) => ( | 126 | cell: (cell) => ( |
| 127 | <TableRowActions | 127 | <TableRowActions |
| 128 | label={t("common.actions")} | 128 | label={t("common.actions")} |
src/components/layout/app-shell.tsxmodified+8 -8
| @@ -75,13 +75,13 @@ export function AppShell(props: ParentProps) { | |||
| 75 | <Show when={auth.user() && !fullScreen()}> | 75 | <Show when={auth.user() && !fullScreen()}> |
| 76 | <aside | 76 | <aside |
| 77 | class={cn( | 77 | class={cn( |
| 78 | - "sticky top-0 z-30 hidden h-screen shrink-0 border-r border-black/[0.06] bg-sidebar/95 text-sidebar-foreground backdrop-blur-md transition-[width] duration-200 ease-out dark:border-white/[0.08] dark:bg-[#070707] dark:text-white lg:flex lg:flex-col", | 78 | + "sticky top-0 z-30 hidden h-screen shrink-0 border-r border-black/6 bg-sidebar/95 text-sidebar-foreground backdrop-blur-md transition-[width] duration-200 ease-out dark:border-white/8 dark:bg-[#070707] dark:text-white lg:flex lg:flex-col", |
| 79 | collapsed() ? SIDEBAR_COLLAPSED : SIDEBAR_EXPANDED, | 79 | collapsed() ? SIDEBAR_COLLAPSED : SIDEBAR_EXPANDED, |
| 80 | )} | 80 | )} |
| 81 | > | 81 | > |
| 82 | <div | 82 | <div |
| 83 | class={cn( | 83 | class={cn( |
| 84 | - "flex shrink-0 items-center gap-2 border-b border-black/[0.05] dark:border-white/[0.08]", | 84 | + "flex shrink-0 items-center gap-2 border-b border-black/5 dark:border-white/8", |
| 85 | collapsed() ? "h-auto flex-col justify-center gap-1.5 px-2 py-2" : "h-14 px-3", | 85 | collapsed() ? "h-auto flex-col justify-center gap-1.5 px-2 py-2" : "h-14 px-3", |
| 86 | )} | 86 | )} |
| 87 | > | 87 | > |
| @@ -101,7 +101,7 @@ export function AppShell(props: ParentProps) { | |||
| 101 | type="button" | 101 | type="button" |
| 102 | variant="ghost" | 102 | variant="ghost" |
| 103 | size="sm" | 103 | size="sm" |
| 104 | - class="h-8 w-8 shrink-0 justify-center rounded-md px-0 text-muted-foreground hover:bg-secondary hover:text-foreground dark:text-white/70 dark:hover:bg-white/[0.08] dark:hover:text-white" | 104 | + class="h-8 w-8 shrink-0 justify-center rounded-md px-0 text-muted-foreground hover:bg-secondary hover:text-foreground dark:text-white/70 dark:hover:bg-white/8 dark:hover:text-white" |
| 105 | aria-label={collapsed() ? t("nav.expand") : t("nav.collapse")} | 105 | aria-label={collapsed() ? t("nav.expand") : t("nav.collapse")} |
| 106 | title={collapsed() ? t("nav.expand") : t("nav.collapse")} | 106 | title={collapsed() ? t("nav.expand") : t("nav.collapse")} |
| 107 | onClick={() => prefs.toggleSidebar()} | 107 | onClick={() => prefs.toggleSidebar()} |
| @@ -126,8 +126,8 @@ export function AppShell(props: ParentProps) { | |||
| 126 | aria-label={t("nav.close")} | 126 | aria-label={t("nav.close")} |
| 127 | onClick={() => setMobileOpen(false)} | 127 | onClick={() => setMobileOpen(false)} |
| 128 | /> | 128 | /> |
| 129 | - <aside class="absolute inset-y-0 left-0 flex w-60 max-w-[85vw] flex-col border-r border-black/[0.08] bg-sidebar/95 text-sidebar-foreground shadow-apple backdrop-blur-xl dark:border-white/[0.08] dark:bg-[#070707] dark:text-white"> | 129 | + <aside class="absolute inset-y-0 left-0 flex w-60 max-w-[85vw] flex-col border-r border-black/8 bg-sidebar/95 text-sidebar-foreground shadow-apple backdrop-blur-xl dark:border-white/8 dark:bg-[#070707] dark:text-white"> |
| 130 | - <div class="flex h-14 shrink-0 items-center justify-between gap-2 border-b border-black/[0.05] px-3 dark:border-white/[0.08]"> | 130 | + <div class="flex h-14 shrink-0 items-center justify-between gap-2 border-b border-black/5 px-3 dark:border-white/8"> |
| 131 | <Link to="/" class="flex min-w-0 items-center gap-2.5" onClick={() => setMobileOpen(false)}> | 131 | <Link to="/" class="flex min-w-0 items-center gap-2.5" onClick={() => setMobileOpen(false)}> |
| 132 | <span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-xl bg-primary text-xs font-bold text-primary-foreground shadow-apple">H</span> | 132 | <span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-xl bg-primary text-xs font-bold text-primary-foreground shadow-apple">H</span> |
| 133 | <span class="truncate font-display text-base font-semibold text-foreground dark:text-white">{t("app.name")}</span> | 133 | <span class="truncate font-display text-base font-semibold text-foreground dark:text-white">{t("app.name")}</span> |
| @@ -136,7 +136,7 @@ export function AppShell(props: ParentProps) { | |||
| 136 | type="button" | 136 | type="button" |
| 137 | variant="ghost" | 137 | variant="ghost" |
| 138 | size="sm" | 138 | size="sm" |
| 139 | - class="h-8 w-8 shrink-0 rounded-md px-0 text-muted-foreground hover:bg-secondary hover:text-foreground dark:text-white/70 dark:hover:bg-white/[0.08] dark:hover:text-white" | 139 | + class="h-8 w-8 shrink-0 rounded-md px-0 text-muted-foreground hover:bg-secondary hover:text-foreground dark:text-white/70 dark:hover:bg-white/8 dark:hover:text-white" |
| 140 | aria-label={t("nav.close")} | 140 | aria-label={t("nav.close")} |
| 141 | onClick={() => setMobileOpen(false)} | 141 | onClick={() => setMobileOpen(false)} |
| 142 | > | 142 | > |
| @@ -155,7 +155,7 @@ export function AppShell(props: ParentProps) { | |||
| 155 | <Show when={auth.user() && !fullScreen()}> | 155 | <Show when={auth.user() && !fullScreen()}> |
| 156 | <header class="sticky top-0 z-30 hig-translucent-bar flex h-14 items-center justify-between gap-3 px-4 sm:px-6 lg:px-8"> | 156 | <header class="sticky top-0 z-30 hig-translucent-bar flex h-14 items-center justify-between gap-3 px-4 sm:px-6 lg:px-8"> |
| 157 | <div class="flex flex-1 items-center justify-start min-w-0"> | 157 | <div class="flex flex-1 items-center justify-start min-w-0"> |
| 158 | - <div class="rounded-full border border-black/[0.06] dark:border-white/[0.08] bg-card/80 px-3.5 py-1 text-xs font-semibold text-muted-foreground shadow-sm"> | 158 | + <div class="rounded-full border border-black/6 dark:border-white/8 bg-card/80 px-3.5 py-1 text-xs font-semibold text-muted-foreground shadow-xs"> |
| 159 | <span class="block truncate max-w-[120px] sm:max-w-none">{routeLabel()}</span> | 159 | <span class="block truncate max-w-[120px] sm:max-w-none">{routeLabel()}</span> |
| 160 | </div> | 160 | </div> |
| 161 | </div> | 161 | </div> |
| @@ -164,7 +164,7 @@ export function AppShell(props: ParentProps) { | |||
| 164 | <button | 164 | <button |
| 165 | type="button" | 165 | type="button" |
| 166 | onClick={() => setCommandOpen(true)} | 166 | onClick={() => setCommandOpen(true)} |
| 167 | - class="flex h-9 w-full items-center justify-between gap-2.5 rounded-full border border-black/[0.08] dark:border-white/[0.12] bg-secondary/60 px-3.5 text-xs font-medium text-muted-foreground shadow-2xs transition-all hover:bg-secondary hover:text-foreground hover:border-border/80" | 167 | + class="flex h-9 w-full items-center justify-between gap-2.5 rounded-full border border-black/8 dark:border-white/12 bg-secondary/60 px-3.5 text-xs font-medium text-muted-foreground shadow-2xs transition-all hover:bg-secondary hover:text-foreground hover:border-border/80" |
| 168 | title={t("dashboard.commandCenter")} | 168 | title={t("dashboard.commandCenter")} |
| 169 | > | 169 | > |
| 170 | <div class="flex items-center gap-2 min-w-0"> | 170 | <div class="flex items-center gap-2 min-w-0"> |
src/components/layout/command-palette.tsxmodified+4 -4
| @@ -359,7 +359,7 @@ export function CommandPalette(props: CommandPaletteProps) { | |||
| 359 | 359 | ||
| 360 | return ( | 360 | return ( |
| 361 | <Dialog open={props.open} onOpenChange={props.onOpenChange}> | 361 | <Dialog open={props.open} onOpenChange={props.onOpenChange}> |
| 362 | - <DialogContent class="max-h-[min(85vh,38rem)] max-w-2xl overflow-hidden rounded-2xl p-0 shadow-2xl border border-black/[0.08] dark:border-white/[0.12] bg-popover/95 backdrop-blur-xl"> | 362 | + <DialogContent class="max-h-[min(85vh,38rem)] max-w-2xl overflow-hidden rounded-2xl p-0 shadow-2xl border border-black/8 dark:border-white/12 bg-popover/95 backdrop-blur-xl"> |
| 363 | <DialogTitle class="sr-only">{t("dashboard.commandCenter")}</DialogTitle> | 363 | <DialogTitle class="sr-only">{t("dashboard.commandCenter")}</DialogTitle> |
| 364 | <DialogDescription class="sr-only">{t("common.searchPlaceholder")}</DialogDescription> | 364 | <DialogDescription class="sr-only">{t("common.searchPlaceholder")}</DialogDescription> |
| 365 | 365 | ||
| @@ -371,7 +371,7 @@ export function CommandPalette(props: CommandPaletteProps) { | |||
| 371 | type="text" | 371 | type="text" |
| 372 | value={query()} | 372 | value={query()} |
| 373 | placeholder={t("common.searchPlaceholder")} | 373 | placeholder={t("common.searchPlaceholder")} |
| 374 | - class="flex-1 h-9 w-full bg-transparent px-1 text-sm sm:text-base font-medium text-foreground outline-none border-none shadow-none focus:outline-none focus:ring-0 placeholder:text-muted-foreground/60" | 374 | + class="flex-1 h-9 w-full bg-transparent px-1 text-sm sm:text-base font-medium text-foreground outline-hidden border-none shadow-none focus:outline-hidden focus:ring-0 placeholder:text-muted-foreground/60" |
| 375 | onInput={(event) => setQuery(event.currentTarget.value)} | 375 | onInput={(event) => setQuery(event.currentTarget.value)} |
| 376 | onKeyDown={handleKeyDown} | 376 | onKeyDown={handleKeyDown} |
| 377 | /> | 377 | /> |
| @@ -416,9 +416,9 @@ export function CommandPalette(props: CommandPaletteProps) { | |||
| 416 | onClick={() => executeItem(item)} | 416 | onClick={() => executeItem(item)} |
| 417 | onMouseEnter={() => setSelectedIndex(globalIndex)} | 417 | onMouseEnter={() => setSelectedIndex(globalIndex)} |
| 418 | class={cn( | 418 | class={cn( |
| 419 | - "flex w-full min-w-0 items-center gap-3 rounded-xl px-3 py-2.5 text-left outline-none transition-colors duration-150", | 419 | + "flex w-full min-w-0 items-center gap-3 rounded-xl px-3 py-2.5 text-left outline-hidden transition-colors duration-150", |
| 420 | isSelected() | 420 | isSelected() |
| 421 | - ? "bg-accent text-accent-foreground font-medium shadow-sm" | 421 | + ? "bg-accent text-accent-foreground font-medium shadow-xs" |
| 422 | : "text-foreground hover:bg-secondary/60", | 422 | : "text-foreground hover:bg-secondary/60", |
| 423 | )} | 423 | )} |
| 424 | > | 424 | > |
src/components/layout/mobile-tab-bar.tsxmodified+1 -1
| @@ -39,7 +39,7 @@ export function MobileTabBar(props: { onMenu: () => void }) { | |||
| 39 | 39 | ||
| 40 | return ( | 40 | return ( |
| 41 | <nav | 41 | <nav |
| 42 | - class="fixed inset-x-0 bottom-0 z-40 border-t border-black/[0.06] bg-background/85 pt-1 pb-[calc(env(safe-area-inset-bottom)+0.5rem)] shadow-[0_-4px_24px_rgba(0,0,0,0.04)] backdrop-blur-xl dark:border-white/[0.08] lg:hidden" | 42 | + class="fixed inset-x-0 bottom-0 z-40 border-t border-black/6 bg-background/85 pt-1 pb-[calc(env(safe-area-inset-bottom)+0.5rem)] shadow-[0_-4px_24px_rgba(0,0,0,0.04)] backdrop-blur-xl dark:border-white/8 lg:hidden" |
| 43 | aria-label={t("nav.menu")} | 43 | aria-label={t("nav.menu")} |
| 44 | > | 44 | > |
| 45 | <ul class="mx-auto grid h-16 max-w-[1200px] grid-cols-5"> | 45 | <ul class="mx-auto grid h-16 max-w-[1200px] grid-cols-5"> |
src/components/layout/nav-bar.tsxmodified+1 -1
| @@ -56,7 +56,7 @@ export function NavBar() { | |||
| 56 | <div class="fixed inset-0 z-50 lg:hidden"> | 56 | <div class="fixed inset-0 z-50 lg:hidden"> |
| 57 | <button | 57 | <button |
| 58 | type="button" | 58 | type="button" |
| 59 | - class="absolute inset-0 bg-foreground/30 backdrop-blur-sm" | 59 | + class="absolute inset-0 bg-foreground/30 backdrop-blur-xs" |
| 60 | aria-label={t("nav.close")} | 60 | aria-label={t("nav.close")} |
| 61 | onClick={() => setMobileOpen(false)} | 61 | onClick={() => setMobileOpen(false)} |
| 62 | /> | 62 | /> |
src/components/layout/notification-center.tsxmodified+3 -3
| @@ -229,7 +229,7 @@ export function NotificationCenter() { | |||
| 229 | <Popover open={open()} onOpenChange={setOpen} placement="bottom-end" gutter={8}> | 229 | <Popover open={open()} onOpenChange={setOpen} placement="bottom-end" gutter={8}> |
| 230 | <PopoverTrigger | 230 | <PopoverTrigger |
| 231 | class={cn( | 231 | class={cn( |
| 232 | - "relative flex h-9 w-9 items-center justify-center rounded-full border border-border/80 bg-card/60 text-muted-foreground transition-colors hover:bg-secondary hover:text-foreground shrink-0 cursor-pointer outline-none", | 232 | + "relative flex h-9 w-9 items-center justify-center rounded-full border border-border/80 bg-card/60 text-muted-foreground transition-colors hover:bg-secondary hover:text-foreground shrink-0 cursor-pointer outline-hidden", |
| 233 | open() && "bg-secondary text-foreground" | 233 | open() && "bg-secondary text-foreground" |
| 234 | )} | 234 | )} |
| 235 | title={t("rightPanel.messagesTitle")} | 235 | title={t("rightPanel.messagesTitle")} |
| @@ -237,13 +237,13 @@ export function NotificationCenter() { | |||
| 237 | > | 237 | > |
| 238 | <IconBell class="h-4 w-4" /> | 238 | <IconBell class="h-4 w-4" /> |
| 239 | <Show when={unreadCount() > 0}> | 239 | <Show when={unreadCount() > 0}> |
| 240 | - <span class="absolute -top-1 -right-1 flex h-4 min-w-4 items-center justify-center rounded-full bg-rose-500 px-1 text-[9px] font-bold text-white shadow-xs ring-2 ring-background"> | 240 | + <span class="absolute -top-1 -right-1 flex h-4 min-w-4 items-center justify-center rounded-full bg-rose-500 px-1 text-[9px] font-bold text-white shadow-2xs ring-2 ring-background"> |
| 241 | {unreadCount() > 9 ? "9+" : unreadCount()} | 241 | {unreadCount() > 9 ? "9+" : unreadCount()} |
| 242 | </span> | 242 | </span> |
| 243 | </Show> | 243 | </Show> |
| 244 | </PopoverTrigger> | 244 | </PopoverTrigger> |
| 245 | 245 | ||
| 246 | - <PopoverContent class="w-80 sm:w-96 rounded-2xl p-0 shadow-2xl border border-black/[0.08] dark:border-white/[0.12] bg-popover/95 backdrop-blur-xl overflow-hidden"> | 246 | + <PopoverContent class="w-80 sm:w-96 rounded-2xl p-0 shadow-2xl border border-black/8 dark:border-white/12 bg-popover/95 backdrop-blur-xl overflow-hidden"> |
| 247 | {/* Header */} | 247 | {/* Header */} |
| 248 | <div class="flex items-center justify-between border-b border-border/80 px-4 py-3 bg-muted/40"> | 248 | <div class="flex items-center justify-between border-b border-border/80 px-4 py-3 bg-muted/40"> |
| 249 | <div class="flex items-center gap-2"> | 249 | <div class="flex items-center gap-2"> |
src/components/layout/right-nav.tsxmodified+16 -16
| @@ -209,7 +209,7 @@ export function RightNav() { | |||
| 209 | <> | 209 | <> |
| 210 | {/* Sticky Right Icon Bar */} | 210 | {/* Sticky Right Icon Bar */} |
| 211 | <aside | 211 | <aside |
| 212 | - class="sticky top-0 z-30 hidden h-screen w-14 shrink-0 flex-col items-center justify-between border-l border-black/[0.06] bg-sidebar py-3 text-sidebar-foreground dark:border-white/[0.08] dark:bg-[#070707] dark:text-white lg:flex" | 212 | + class="sticky top-0 z-30 hidden h-screen w-14 shrink-0 flex-col items-center justify-between border-l border-black/6 bg-sidebar py-3 text-sidebar-foreground dark:border-white/8 dark:bg-[#070707] dark:text-white lg:flex" |
| 213 | > | 213 | > |
| 214 | <div class="flex flex-col items-center gap-3"> | 214 | <div class="flex flex-col items-center gap-3"> |
| 215 | {/* Messages Icon Button - Direct Page Navigation */} | 215 | {/* Messages Icon Button - Direct Page Navigation */} |
| @@ -220,7 +220,7 @@ export function RightNav() { | |||
| 220 | "relative flex h-10 w-10 items-center justify-center rounded-xl transition-all duration-200 cursor-pointer", | 220 | "relative flex h-10 w-10 items-center justify-center rounded-xl transition-all duration-200 cursor-pointer", |
| 221 | isMessagesActive() | 221 | isMessagesActive() |
| 222 | ? "bg-primary text-primary-foreground shadow-md scale-105" | 222 | ? "bg-primary text-primary-foreground shadow-md scale-105" |
| 223 | - : "text-muted-foreground hover:bg-secondary hover:text-foreground dark:text-white/70 dark:hover:bg-white/[0.08] dark:hover:text-white" | 223 | + : "text-muted-foreground hover:bg-secondary hover:text-foreground dark:text-white/70 dark:hover:bg-white/8 dark:hover:text-white" |
| 224 | )} | 224 | )} |
| 225 | title={t("nav.messages")} | 225 | title={t("nav.messages")} |
| 226 | aria-label={t("nav.messages")} | 226 | aria-label={t("nav.messages")} |
| @@ -228,7 +228,7 @@ export function RightNav() { | |||
| 228 | <IconMessage class="h-5 w-5" /> | 228 | <IconMessage class="h-5 w-5" /> |
| 229 | <Show when={unreadCount() > 0}> | 229 | <Show when={unreadCount() > 0}> |
| 230 | <span | 230 | <span |
| 231 | - class="absolute -top-1 -right-1 flex h-4 min-w-4 items-center justify-center rounded-full bg-rose-500 px-1 text-[9px] font-bold text-white shadow-xs ring-2 ring-sidebar dark:ring-[#070707]" | 231 | + class="absolute -top-1 -right-1 flex h-4 min-w-4 items-center justify-center rounded-full bg-rose-500 px-1 text-[9px] font-bold text-white shadow-2xs ring-2 ring-sidebar dark:ring-[#070707]" |
| 232 | title={`${unreadCount()} ${t("rightPanel.unreadBadge")}`} | 232 | title={`${unreadCount()} ${t("rightPanel.unreadBadge")}`} |
| 233 | > | 233 | > |
| 234 | {unreadCount() > 9 ? "9+" : unreadCount()} | 234 | {unreadCount() > 9 ? "9+" : unreadCount()} |
| @@ -244,7 +244,7 @@ export function RightNav() { | |||
| 244 | "relative flex h-10 w-10 items-center justify-center rounded-xl transition-all duration-200 cursor-pointer", | 244 | "relative flex h-10 w-10 items-center justify-center rounded-xl transition-all duration-200 cursor-pointer", |
| 245 | isCalendarActive() | 245 | isCalendarActive() |
| 246 | ? "bg-primary text-primary-foreground shadow-md scale-105" | 246 | ? "bg-primary text-primary-foreground shadow-md scale-105" |
| 247 | - : "text-muted-foreground hover:bg-secondary hover:text-foreground dark:text-white/70 dark:hover:bg-white/[0.08] dark:hover:text-white" | 247 | + : "text-muted-foreground hover:bg-secondary hover:text-foreground dark:text-white/70 dark:hover:bg-white/8 dark:hover:text-white" |
| 248 | )} | 248 | )} |
| 249 | title={t("nav.calendar")} | 249 | title={t("nav.calendar")} |
| 250 | aria-label={t("nav.calendar")} | 250 | aria-label={t("nav.calendar")} |
| @@ -255,11 +255,11 @@ export function RightNav() { | |||
| 255 | <Show when={hasTodayEvents() && hasTodayExams()}> | 255 | <Show when={hasTodayEvents() && hasTodayExams()}> |
| 256 | <div class="absolute -top-1 -right-1 z-10 flex items-center -space-x-1.5"> | 256 | <div class="absolute -top-1 -right-1 z-10 flex items-center -space-x-1.5"> |
| 257 | <span | 257 | <span |
| 258 | - class="h-2.5 w-2.5 rounded-full bg-emerald-500 ring-2 ring-sidebar dark:ring-[#070707] shadow-xs" | 258 | + class="h-2.5 w-2.5 rounded-full bg-emerald-500 ring-2 ring-sidebar dark:ring-[#070707] shadow-2xs" |
| 259 | title={t("nav.events")} | 259 | title={t("nav.events")} |
| 260 | /> | 260 | /> |
| 261 | <span | 261 | <span |
| 262 | - class="h-2.5 w-2.5 rounded-full bg-rose-500 ring-2 ring-sidebar dark:ring-[#070707] shadow-xs" | 262 | + class="h-2.5 w-2.5 rounded-full bg-rose-500 ring-2 ring-sidebar dark:ring-[#070707] shadow-2xs" |
| 263 | title={t("nav.exams")} | 263 | title={t("nav.exams")} |
| 264 | /> | 264 | /> |
| 265 | </div> | 265 | </div> |
| @@ -268,7 +268,7 @@ export function RightNav() { | |||
| 268 | {/* Only Event */} | 268 | {/* Only Event */} |
| 269 | <Show when={hasTodayEvents() && !hasTodayExams()}> | 269 | <Show when={hasTodayEvents() && !hasTodayExams()}> |
| 270 | <span | 270 | <span |
| 271 | - class="absolute -top-0.5 -right-0.5 h-2.5 w-2.5 rounded-full bg-emerald-500 ring-2 ring-sidebar dark:ring-[#070707] shadow-xs" | 271 | + class="absolute -top-0.5 -right-0.5 h-2.5 w-2.5 rounded-full bg-emerald-500 ring-2 ring-sidebar dark:ring-[#070707] shadow-2xs" |
| 272 | title={t("nav.events")} | 272 | title={t("nav.events")} |
| 273 | /> | 273 | /> |
| 274 | </Show> | 274 | </Show> |
| @@ -276,7 +276,7 @@ export function RightNav() { | |||
| 276 | {/* Only Exam */} | 276 | {/* Only Exam */} |
| 277 | <Show when={hasTodayExams() && !hasTodayEvents()}> | 277 | <Show when={hasTodayExams() && !hasTodayEvents()}> |
| 278 | <span | 278 | <span |
| 279 | - class="absolute -top-0.5 -right-0.5 h-2.5 w-2.5 rounded-full bg-rose-500 ring-2 ring-sidebar dark:ring-[#070707] shadow-xs" | 279 | + class="absolute -top-0.5 -right-0.5 h-2.5 w-2.5 rounded-full bg-rose-500 ring-2 ring-sidebar dark:ring-[#070707] shadow-2xs" |
| 280 | title={t("nav.exams")} | 280 | title={t("nav.exams")} |
| 281 | /> | 281 | /> |
| 282 | </Show> | 282 | </Show> |
| @@ -292,12 +292,12 @@ export function RightNav() { | |||
| 292 | <Show when={activeTab() !== null}> | 292 | <Show when={activeTab() !== null}> |
| 293 | {/* Backdrop overlay blurring main page content on the left */} | 293 | {/* Backdrop overlay blurring main page content on the left */} |
| 294 | <div | 294 | <div |
| 295 | - class="fixed inset-0 z-40 bg-black/20 backdrop-blur-sm transition-all" | 295 | + class="fixed inset-0 z-40 bg-black/20 backdrop-blur-xs transition-all" |
| 296 | onClick={closePanel} | 296 | onClick={closePanel} |
| 297 | /> | 297 | /> |
| 298 | 298 | ||
| 299 | <div | 299 | <div |
| 300 | - class="fixed right-14 top-0 z-50 flex h-screen w-80 sm:w-96 flex-col border-l border-black/[0.08] bg-card text-card-foreground shadow-2xl dark:border-white/[0.08] dark:bg-[#0c0c0e] animate-in slide-in-from-right-4 duration-200" | 300 | + class="fixed right-14 top-0 z-50 flex h-screen w-80 sm:w-96 flex-col border-l border-black/8 bg-card text-card-foreground shadow-2xl dark:border-white/8 dark:bg-[#0c0c0e] animate-in slide-in-from-right-4 duration-200" |
| 301 | > | 301 | > |
| 302 | {/* Drawer Header */} | 302 | {/* Drawer Header */} |
| 303 | <div class="flex h-14 shrink-0 items-center justify-between border-b border-border/60 px-4"> | 303 | <div class="flex h-14 shrink-0 items-center justify-between border-b border-border/60 px-4"> |
| @@ -423,7 +423,7 @@ export function RightNav() { | |||
| 423 | class={cn( | 423 | class={cn( |
| 424 | "group flex cursor-pointer flex-col gap-1 rounded-xl border p-2.5 transition-all hover:border-primary/50 hover:bg-muted/40 shadow-2xs max-w-full overflow-hidden", | 424 | "group flex cursor-pointer flex-col gap-1 rounded-xl border p-2.5 transition-all hover:border-primary/50 hover:bg-muted/40 shadow-2xs max-w-full overflow-hidden", |
| 425 | !msg.read | 425 | !msg.read |
| 426 | - ? "border-primary/30 bg-primary/[0.03] dark:bg-primary/[0.06]" | 426 | + ? "border-primary/30 bg-primary/3 dark:bg-primary/6" |
| 427 | : "border-border/60 bg-card" | 427 | : "border-border/60 bg-card" |
| 428 | )} | 428 | )} |
| 429 | > | 429 | > |
| @@ -493,7 +493,7 @@ export function RightNav() { | |||
| 493 | <div class="rounded-xl border border-border/80 bg-muted/20 p-3.5 space-y-3"> | 493 | <div class="rounded-xl border border-border/80 bg-muted/20 p-3.5 space-y-3"> |
| 494 | <div class="flex items-start justify-between gap-2 border-b border-border/50 pb-2.5"> | 494 | <div class="flex items-start justify-between gap-2 border-b border-border/50 pb-2.5"> |
| 495 | <div class="flex items-center gap-2.5 min-w-0"> | 495 | <div class="flex items-center gap-2.5 min-w-0"> |
| 496 | - <span class="flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-primary text-xs font-bold text-primary-foreground shadow-sm"> | 496 | + <span class="flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-primary text-xs font-bold text-primary-foreground shadow-xs"> |
| 497 | {personLabel(msg().sender).charAt(0).toUpperCase()} | 497 | {personLabel(msg().sender).charAt(0).toUpperCase()} |
| 498 | </span> | 498 | </span> |
| 499 | <div class="min-w-0"> | 499 | <div class="min-w-0"> |
| @@ -618,8 +618,8 @@ export function RightNav() { | |||
| 618 | class={cn( | 618 | class={cn( |
| 619 | "group flex cursor-pointer items-start justify-between gap-2.5 rounded-xl border p-3 shadow-2xs transition-all hover:shadow-md", | 619 | "group flex cursor-pointer items-start justify-between gap-2.5 rounded-xl border p-3 shadow-2xs transition-all hover:shadow-md", |
| 620 | isEvent | 620 | isEvent |
| 621 | - ? "border-emerald-500/30 bg-emerald-500/[0.02] hover:border-emerald-500/60 hover:bg-emerald-500/[0.05]" | 621 | + ? "border-emerald-500/30 bg-emerald-500/2 hover:border-emerald-500/60 hover:bg-emerald-500/5" |
| 622 | - : "border-rose-500/30 bg-rose-500/[0.02] hover:border-rose-500/60 hover:bg-rose-500/[0.05]" | 622 | + : "border-rose-500/30 bg-rose-500/2 hover:border-rose-500/60 hover:bg-rose-500/5" |
| 623 | )} | 623 | )} |
| 624 | > | 624 | > |
| 625 | <div class="min-w-0 space-y-1"> | 625 | <div class="min-w-0 space-y-1"> |
| @@ -684,8 +684,8 @@ export function RightNav() { | |||
| 684 | class={cn( | 684 | class={cn( |
| 685 | "rounded-xl border p-4 space-y-3", | 685 | "rounded-xl border p-4 space-y-3", |
| 686 | isEvent | 686 | isEvent |
| 687 | - ? "border-emerald-500/30 bg-emerald-500/[0.03]" | 687 | + ? "border-emerald-500/30 bg-emerald-500/3" |
| 688 | - : "border-rose-500/30 bg-rose-500/[0.03]" | 688 | + : "border-rose-500/30 bg-rose-500/3" |
| 689 | )} | 689 | )} |
| 690 | > | 690 | > |
| 691 | <div class="flex items-center justify-between"> | 691 | <div class="flex items-center justify-between"> |
src/components/layout/side-nav.tsxmodified+12 -12
| @@ -29,12 +29,12 @@ function NavLink(props: { | |||
| 29 | title={t(props.item.labelKey)} | 29 | title={t(props.item.labelKey)} |
| 30 | aria-current={active() ? "page" : undefined} | 30 | aria-current={active() ? "page" : undefined} |
| 31 | class={cn( | 31 | class={cn( |
| 32 | - "relative flex h-9 w-full items-center rounded-md outline-none transition-colors duration-150 active:scale-[0.98] 2xl:h-9", | 32 | + "relative flex h-9 w-full items-center rounded-md outline-hidden transition-colors duration-150 active:scale-[0.98] 2xl:h-9", |
| 33 | props.standalone ? "text-sm font-semibold" : "text-[13px] font-medium", | 33 | props.standalone ? "text-sm font-semibold" : "text-[13px] font-medium", |
| 34 | props.collapsed ? "mx-auto h-9 w-9 justify-center px-0" : props.standalone ? "gap-2.5 px-2.5" : "gap-2 px-2.5", | 34 | props.collapsed ? "mx-auto h-9 w-9 justify-center px-0" : props.standalone ? "gap-2.5 px-2.5" : "gap-2 px-2.5", |
| 35 | active() | 35 | active() |
| 36 | ? props.standalone | 36 | ? props.standalone |
| 37 | - ? "bg-primary/12 font-semibold text-primary dark:bg-white/[0.09] dark:text-white" | 37 | + ? "bg-primary/12 font-semibold text-primary dark:bg-white/9 dark:text-white" |
| 38 | : "font-semibold text-primary dark:text-white" | 38 | : "font-semibold text-primary dark:text-white" |
| 39 | : "text-sidebar-foreground/80 hover:bg-secondary hover:text-foreground dark:text-white/86 dark:hover:bg-white/[0.07] dark:hover:text-white", | 39 | : "text-sidebar-foreground/80 hover:bg-secondary hover:text-foreground dark:text-white/86 dark:hover:bg-white/[0.07] dark:hover:text-white", |
| 40 | )} | 40 | )} |
| @@ -88,16 +88,16 @@ export function SideNav(props: { onNavigate?: () => void; collapsed?: boolean }) | |||
| 88 | when={!props.collapsed} | 88 | when={!props.collapsed} |
| 89 | fallback={ | 89 | fallback={ |
| 90 | <div class="px-2 py-2"> | 90 | <div class="px-2 py-2"> |
| 91 | - <span class="block h-px bg-border dark:bg-white/[0.08]" /> | 91 | + <span class="block h-px bg-border dark:bg-white/8" /> |
| 92 | </div> | 92 | </div> |
| 93 | } | 93 | } |
| 94 | > | 94 | > |
| 95 | <div class="flex items-center gap-2 px-2 pb-1 pt-3"> | 95 | <div class="flex items-center gap-2 px-2 pb-1 pt-3"> |
| 96 | - <span class="h-px flex-1 bg-border dark:bg-white/[0.08]" /> | 96 | + <span class="h-px flex-1 bg-border dark:bg-white/8" /> |
| 97 | <span class="text-[10px] font-semibold uppercase tracking-[0.16em] text-muted-foreground dark:text-white/45 2xl:text-[11px]"> | 97 | <span class="text-[10px] font-semibold uppercase tracking-[0.16em] text-muted-foreground dark:text-white/45 2xl:text-[11px]"> |
| 98 | {t("nav.admin")} | 98 | {t("nav.admin")} |
| 99 | </span> | 99 | </span> |
| 100 | - <span class="h-px flex-1 bg-border dark:bg-white/[0.08]" /> | 100 | + <span class="h-px flex-1 bg-border dark:bg-white/8" /> |
| 101 | </div> | 101 | </div> |
| 102 | </Show> | 102 | </Show> |
| 103 | </Show> | 103 | </Show> |
| @@ -110,7 +110,7 @@ export function SideNav(props: { onNavigate?: () => void; collapsed?: boolean }) | |||
| 110 | type="button" | 110 | type="button" |
| 111 | class={cn( | 111 | class={cn( |
| 112 | "flex h-9 w-full items-center gap-2.5 rounded-md px-2.5 text-sm font-semibold text-sidebar-foreground/80 transition-colors duration-150 hover:bg-secondary hover:text-foreground dark:text-white/86 dark:hover:bg-white/[0.07] dark:hover:text-white", | 112 | "flex h-9 w-full items-center gap-2.5 rounded-md px-2.5 text-sm font-semibold text-sidebar-foreground/80 transition-colors duration-150 hover:bg-secondary hover:text-foreground dark:text-white/86 dark:hover:bg-white/[0.07] dark:hover:text-white", |
| 113 | - groupActive() ? "bg-primary/12 text-primary dark:bg-white/[0.09] dark:text-white" : open() && "text-foreground dark:text-white", | 113 | + groupActive() ? "bg-primary/12 text-primary dark:bg-white/9 dark:text-white" : open() && "text-foreground dark:text-white", |
| 114 | )} | 114 | )} |
| 115 | title={t(group.labelKey)} | 115 | title={t(group.labelKey)} |
| 116 | aria-expanded={open()} | 116 | aria-expanded={open()} |
| @@ -121,7 +121,7 @@ export function SideNav(props: { onNavigate?: () => void; collapsed?: boolean }) | |||
| 121 | <IconChevronRight class={cn("h-3.5 w-3.5 text-muted-foreground dark:text-white/45 transition-transform duration-150", open() && "rotate-90")} /> | 121 | <IconChevronRight class={cn("h-3.5 w-3.5 text-muted-foreground dark:text-white/45 transition-transform duration-150", open() && "rotate-90")} /> |
| 122 | </button> | 122 | </button> |
| 123 | <Show when={open()}> | 123 | <Show when={open()}> |
| 124 | - <div class="ml-6 mt-0.5 grid gap-0.5 overflow-hidden border-l border-border pl-2 transition-all duration-150 dark:border-white/[0.12]"> | 124 | + <div class="ml-6 mt-0.5 grid gap-0.5 overflow-hidden border-l border-border pl-2 transition-all duration-150 dark:border-white/12"> |
| 125 | <For each={group.items}> | 125 | <For each={group.items}> |
| 126 | {(item) => <NavLink item={item} onNavigate={props.onNavigate} />} | 126 | {(item) => <NavLink item={item} onNavigate={props.onNavigate} />} |
| 127 | </For> | 127 | </For> |
| @@ -133,8 +133,8 @@ export function SideNav(props: { onNavigate?: () => void; collapsed?: boolean }) | |||
| 133 | <DropdownMenu placement="right-start" gutter={8}> | 133 | <DropdownMenu placement="right-start" gutter={8}> |
| 134 | <DropdownMenuTrigger | 134 | <DropdownMenuTrigger |
| 135 | class={cn( | 135 | class={cn( |
| 136 | - "relative flex h-9 w-full items-center justify-center rounded-md px-0 text-muted-foreground outline-none transition-colors duration-150 hover:bg-secondary hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring data-[expanded]:bg-secondary data-[expanded]:text-foreground dark:text-white/65 dark:hover:bg-white/[0.08] dark:hover:text-white dark:focus-visible:ring-white/30 dark:data-[expanded]:bg-white/[0.08] dark:data-[expanded]:text-white", | 136 | + "relative flex h-9 w-full items-center justify-center rounded-md px-0 text-muted-foreground outline-hidden transition-colors duration-150 hover:bg-secondary hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring data-expanded:bg-secondary data-expanded:text-foreground dark:text-white/65 dark:hover:bg-white/8 dark:hover:text-white dark:focus-visible:ring-white/30 dark:data-expanded:bg-white/8 dark:data-expanded:text-white", |
| 137 | - groupActive() && "bg-primary/12 text-primary dark:bg-white/[0.09] dark:text-white", | 137 | + groupActive() && "bg-primary/12 text-primary dark:bg-white/9 dark:text-white", |
| 138 | )} | 138 | )} |
| 139 | title={t(group.labelKey)} | 139 | title={t(group.labelKey)} |
| 140 | aria-label={t(group.labelKey)} | 140 | aria-label={t(group.labelKey)} |
| @@ -142,7 +142,7 @@ export function SideNav(props: { onNavigate?: () => void; collapsed?: boolean }) | |||
| 142 | <group.Icon class="h-3.5 w-3.5" /> | 142 | <group.Icon class="h-3.5 w-3.5" /> |
| 143 | <IconChevronRight class="absolute right-1 h-3 w-3 opacity-55" /> | 143 | <IconChevronRight class="absolute right-1 h-3 w-3 opacity-55" /> |
| 144 | </DropdownMenuTrigger> | 144 | </DropdownMenuTrigger> |
| 145 | - <DropdownMenuContent class="w-52 rounded-lg p-1 shadow-soft dark:border-white/[0.1] dark:bg-[#101010] dark:text-white"> | 145 | + <DropdownMenuContent class="w-52 rounded-lg p-1 shadow-soft dark:border-white/10 dark:bg-[#101010] dark:text-white"> |
| 146 | <p class="px-2 py-1.5 text-[10px] font-medium uppercase tracking-[0.14em] text-muted-foreground dark:text-white/45"> | 146 | <p class="px-2 py-1.5 text-[10px] font-medium uppercase tracking-[0.14em] text-muted-foreground dark:text-white/45"> |
| 147 | {t(group.labelKey)} | 147 | {t(group.labelKey)} |
| 148 | </p> | 148 | </p> |
| @@ -151,12 +151,12 @@ export function SideNav(props: { onNavigate?: () => void; collapsed?: boolean }) | |||
| 151 | const itemActive = () => pathActive(pathname(), item.to, item.exact); | 151 | const itemActive = () => pathActive(pathname(), item.to, item.exact); |
| 152 | return ( | 152 | return ( |
| 153 | <DropdownMenuItem | 153 | <DropdownMenuItem |
| 154 | - class={cn("rounded-md p-0 dark:text-white/80 dark:focus:bg-white/[0.08] dark:focus:text-white", itemActive() && "bg-primary/12 text-primary dark:bg-white/[0.09] dark:text-white")} | 154 | + class={cn("rounded-md p-0 dark:text-white/80 dark:focus:bg-white/8 dark:focus:text-white", itemActive() && "bg-primary/12 text-primary dark:bg-white/9 dark:text-white")} |
| 155 | > | 155 | > |
| 156 | <Link | 156 | <Link |
| 157 | to={item.to} | 157 | to={item.to} |
| 158 | onClick={() => props.onNavigate?.()} | 158 | onClick={() => props.onNavigate?.()} |
| 159 | - class="flex min-w-0 flex-1 items-center gap-2 rounded-md px-2 py-1.5 outline-none" | 159 | + class="flex min-w-0 flex-1 items-center gap-2 rounded-md px-2 py-1.5 outline-hidden" |
| 160 | > | 160 | > |
| 161 | <item.Icon class={cn("h-4 w-4 shrink-0", itemActive() ? "text-primary dark:text-white" : "text-muted-foreground dark:text-white/55")} /> | 161 | <item.Icon class={cn("h-4 w-4 shrink-0", itemActive() ? "text-primary dark:text-white" : "text-muted-foreground dark:text-white/55")} /> |
| 162 | <span class="min-w-0 flex-1 truncate">{t(item.labelKey)}</span> | 162 | <span class="min-w-0 flex-1 truncate">{t(item.labelKey)}</span> |
src/components/layout/sidebar-account.tsxmodified+12 -12
| @@ -39,21 +39,21 @@ export function SidebarAccount(props: { collapsed?: boolean; onLogout: () => voi | |||
| 39 | {(u) => { | 39 | {(u) => { |
| 40 | const name = () => displayName(u()); | 40 | const name = () => displayName(u()); |
| 41 | return ( | 41 | return ( |
| 42 | - <div class={cn("shrink-0 border-t border-border/80 p-2 dark:border-white/[0.08]", props.collapsed && "px-2 py-2") }> | 42 | + <div class={cn("shrink-0 border-t border-border/80 p-2 dark:border-white/8", props.collapsed && "px-2 py-2") }> |
| 43 | <DropdownMenu placement="right-end" gutter={8}> | 43 | <DropdownMenu placement="right-end" gutter={8}> |
| 44 | <DropdownMenuTrigger | 44 | <DropdownMenuTrigger |
| 45 | class={cn( | 45 | class={cn( |
| 46 | - "flex w-full items-center text-left outline-none transition-colors", | 46 | + "flex w-full items-center text-left outline-hidden transition-colors", |
| 47 | "focus-visible:ring-2 focus-visible:ring-ring dark:focus-visible:ring-white/30", | 47 | "focus-visible:ring-2 focus-visible:ring-ring dark:focus-visible:ring-white/30", |
| 48 | props.collapsed | 48 | props.collapsed |
| 49 | - ? "h-11 justify-center rounded-md px-0 text-foreground hover:bg-muted/70 data-[expanded]:bg-muted/70 dark:text-white dark:hover:bg-white/[0.08] dark:data-[expanded]:bg-white/[0.08]" | 49 | + ? "h-11 justify-center rounded-md px-0 text-foreground hover:bg-muted/70 data-expanded:bg-muted/70 dark:text-white dark:hover:bg-white/8 dark:data-expanded:bg-white/8" |
| 50 | - : "h-12 gap-2 rounded-md px-2 text-foreground hover:bg-muted/70 data-[expanded]:bg-muted/70 dark:text-white dark:hover:bg-white/[0.08] dark:data-[expanded]:bg-white/[0.08]", | 50 | + : "h-12 gap-2 rounded-md px-2 text-foreground hover:bg-muted/70 data-expanded:bg-muted/70 dark:text-white dark:hover:bg-white/8 dark:data-expanded:bg-white/8", |
| 51 | )} | 51 | )} |
| 52 | aria-label={t("nav.account")} | 52 | aria-label={t("nav.account")} |
| 53 | > | 53 | > |
| 54 | <span | 54 | <span |
| 55 | class={cn( | 55 | class={cn( |
| 56 | - "flex shrink-0 items-center justify-center rounded-full bg-primary/15 text-[11px] font-bold text-primary shadow-sm ring-1 ring-border/70 dark:bg-emerald-100 dark:text-emerald-950 dark:ring-white/20", | 56 | + "flex shrink-0 items-center justify-center rounded-full bg-primary/15 text-[11px] font-bold text-primary shadow-xs ring-1 ring-border/70 dark:bg-emerald-100 dark:text-emerald-950 dark:ring-white/20", |
| 57 | props.collapsed ? "h-9 w-9" : "h-8 w-8", | 57 | props.collapsed ? "h-9 w-9" : "h-8 w-8", |
| 58 | )} | 58 | )} |
| 59 | > | 59 | > |
| @@ -70,8 +70,8 @@ export function SidebarAccount(props: { collapsed?: boolean; onLogout: () => voi | |||
| 70 | </Show> | 70 | </Show> |
| 71 | </DropdownMenuTrigger> | 71 | </DropdownMenuTrigger> |
| 72 | 72 | ||
| 73 | - <DropdownMenuContent class="w-72 rounded-xl p-0 shadow-apple dark:border-white/[0.1] dark:bg-[#151515] dark:text-white"> | 73 | + <DropdownMenuContent class="w-72 rounded-xl p-0 shadow-apple dark:border-white/10 dark:bg-[#151515] dark:text-white"> |
| 74 | - <DropdownMenuItem class="m-1.5 gap-2.5 rounded-xl bg-muted/70 p-2.5 focus:bg-muted data-[highlighted]:bg-muted dark:bg-white/[0.08] dark:focus:bg-white/[0.1] dark:data-[highlighted]:bg-white/[0.1]" onSelect={() => setProfileOpen(true)}> | 74 | + <DropdownMenuItem class="m-1.5 gap-2.5 rounded-xl bg-muted/70 p-2.5 focus:bg-muted data-highlighted:bg-muted dark:bg-white/8 dark:focus:bg-white/10 dark:data-highlighted:bg-white/10" onSelect={() => setProfileOpen(true)}> |
| 75 | <span class="flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-primary/15 text-sm font-bold text-primary dark:bg-emerald-100 dark:text-emerald-950"> | 75 | <span class="flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-primary/15 text-sm font-bold text-primary dark:bg-emerald-100 dark:text-emerald-950"> |
| 76 | {initials(name())} | 76 | {initials(name())} |
| 77 | </span> | 77 | </span> |
| @@ -95,21 +95,21 @@ export function SidebarAccount(props: { collapsed?: boolean; onLogout: () => voi | |||
| 95 | <span class="text-xs text-muted-foreground dark:text-white/55">{prefs.locale() === "tr" ? "TR" : "EN"}</span> | 95 | <span class="text-xs text-muted-foreground dark:text-white/55">{prefs.locale() === "tr" ? "TR" : "EN"}</span> |
| 96 | </DropdownMenuItem> | 96 | </DropdownMenuItem> |
| 97 | </div> | 97 | </div> |
| 98 | - <DropdownMenuSeparator class="my-0 dark:bg-white/[0.08]" /> | 98 | + <DropdownMenuSeparator class="my-0 dark:bg-white/8" /> |
| 99 | <div class="p-1.5"> | 99 | <div class="p-1.5"> |
| 100 | <DropdownMenuItem destructive class="rounded-lg gap-3" onSelect={() => void props.onLogout()}> | 100 | <DropdownMenuItem destructive class="rounded-lg gap-3" onSelect={() => void props.onLogout()}> |
| 101 | <IconLogout class="h-4 w-4 shrink-0" /> | 101 | <IconLogout class="h-4 w-4 shrink-0" /> |
| 102 | <span>{t("nav.logout")}</span> | 102 | <span>{t("nav.logout")}</span> |
| 103 | </DropdownMenuItem> | 103 | </DropdownMenuItem> |
| 104 | </div> | 104 | </div> |
| 105 | - <DropdownMenuSeparator class="my-0 dark:bg-white/[0.08]" /> | 105 | + <DropdownMenuSeparator class="my-0 dark:bg-white/8" /> |
| 106 | <div class="flex items-center justify-between gap-3 p-3"> | 106 | <div class="flex items-center justify-between gap-3 p-3"> |
| 107 | <span class="font-semibold">{t("app.name")}</span> | 107 | <span class="font-semibold">{t("app.name")}</span> |
| 108 | - <div class="flex rounded-lg bg-muted p-0.5 dark:bg-white/[0.08]"> | 108 | + <div class="flex rounded-lg bg-muted p-0.5 dark:bg-white/8"> |
| 109 | - <button type="button" class={cn("rounded-md p-1.5 text-muted-foreground transition-colors hover:text-foreground dark:text-white/60 dark:hover:text-white", prefs.theme() === "light" && "bg-background text-foreground shadow-sm dark:bg-white/[0.12] dark:text-white")} onClick={() => prefs.setTheme("light")} title={t("theme.light")}> | 109 | + <button type="button" class={cn("rounded-md p-1.5 text-muted-foreground transition-colors hover:text-foreground dark:text-white/60 dark:hover:text-white", prefs.theme() === "light" && "bg-background text-foreground shadow-xs dark:bg-white/12 dark:text-white")} onClick={() => prefs.setTheme("light")} title={t("theme.light")}> |
| 110 | <IconSun class="h-4 w-4" /> | 110 | <IconSun class="h-4 w-4" /> |
| 111 | </button> | 111 | </button> |
| 112 | - <button type="button" class={cn("rounded-md p-1.5 text-muted-foreground transition-colors hover:text-foreground dark:text-white/60 dark:hover:text-white", prefs.theme() === "dark" && "bg-background text-foreground shadow-sm dark:bg-white/[0.12] dark:text-white")} onClick={() => prefs.setTheme("dark")} title={t("theme.dark")}> | 112 | + <button type="button" class={cn("rounded-md p-1.5 text-muted-foreground transition-colors hover:text-foreground dark:text-white/60 dark:hover:text-white", prefs.theme() === "dark" && "bg-background text-foreground shadow-xs dark:bg-white/12 dark:text-white")} onClick={() => prefs.setTheme("dark")} title={t("theme.dark")}> |
| 113 | <IconMoon class="h-4 w-4" /> | 113 | <IconMoon class="h-4 w-4" /> |
| 114 | </button> | 114 | </button> |
| 115 | </div> | 115 | </div> |
src/components/layout/user-menu.tsxmodified+7 -7
| @@ -53,9 +53,9 @@ function ChoiceButton(props: { | |||
| 53 | aria-checked={props.active} | 53 | aria-checked={props.active} |
| 54 | class={cn( | 54 | class={cn( |
| 55 | "flex min-h-16 w-full flex-col items-center justify-center gap-1.5 rounded-md border px-2 py-2.5 text-center text-xs font-medium transition-colors", | 55 | "flex min-h-16 w-full flex-col items-center justify-center gap-1.5 rounded-md border px-2 py-2.5 text-center text-xs font-medium transition-colors", |
| 56 | - "outline-none focus-visible:ring-2 focus-visible:ring-ring", | 56 | + "outline-hidden focus-visible:ring-2 focus-visible:ring-ring", |
| 57 | props.active | 57 | props.active |
| 58 | - ? "border-primary bg-primary text-primary-foreground shadow-sm" | 58 | + ? "border-primary bg-primary text-primary-foreground shadow-xs" |
| 59 | : "border-border bg-background text-foreground hover:bg-accent hover:text-accent-foreground", | 59 | : "border-border bg-background text-foreground hover:bg-accent hover:text-accent-foreground", |
| 60 | )} | 60 | )} |
| 61 | onClick={props.onSelect} | 61 | onClick={props.onSelect} |
| @@ -85,14 +85,14 @@ export function UserMenu() { | |||
| 85 | <DropdownMenu placement="bottom-end" gutter={8}> | 85 | <DropdownMenu placement="bottom-end" gutter={8}> |
| 86 | <DropdownMenuTrigger | 86 | <DropdownMenuTrigger |
| 87 | class={cn( | 87 | class={cn( |
| 88 | - "inline-flex h-11 max-w-[16rem] items-center gap-2.5 rounded-lg border border-input bg-background px-2.5 pr-3 text-sm shadow-sm outline-none transition-colors sm:max-w-[22rem]", | 88 | + "inline-flex h-11 max-w-[16rem] items-center gap-2.5 rounded-lg border border-input bg-background px-2.5 pr-3 text-sm shadow-xs outline-hidden transition-colors sm:max-w-88", |
| 89 | "hover:bg-accent hover:text-accent-foreground", | 89 | "hover:bg-accent hover:text-accent-foreground", |
| 90 | "focus-visible:ring-2 focus-visible:ring-ring", | 90 | "focus-visible:ring-2 focus-visible:ring-ring", |
| 91 | - "data-[expanded]:bg-accent data-[expanded]:text-accent-foreground", | 91 | + "data-expanded:bg-accent data-expanded:text-accent-foreground", |
| 92 | )} | 92 | )} |
| 93 | aria-label={t("nav.account")} | 93 | aria-label={t("nav.account")} |
| 94 | > | 94 | > |
| 95 | - <span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-md bg-primary text-xs font-semibold text-primary-foreground shadow-sm"> | 95 | + <span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-md bg-primary text-xs font-semibold text-primary-foreground shadow-xs"> |
| 96 | {initials(displayName(u()))} | 96 | {initials(displayName(u()))} |
| 97 | </span> | 97 | </span> |
| 98 | <span class="hidden min-w-0 flex-col text-left leading-tight sm:flex"> | 98 | <span class="hidden min-w-0 flex-col text-left leading-tight sm:flex"> |
| @@ -104,7 +104,7 @@ export function UserMenu() { | |||
| 104 | 104 | ||
| 105 | <DropdownMenuContent class="w-[min(20rem,calc(100vw-1.5rem))]"> | 105 | <DropdownMenuContent class="w-[min(20rem,calc(100vw-1.5rem))]"> |
| 106 | <div class="flex items-center gap-3 p-3"> | 106 | <div class="flex items-center gap-3 p-3"> |
| 107 | - <span class="flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary text-sm font-semibold text-primary-foreground shadow-sm"> | 107 | + <span class="flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary text-sm font-semibold text-primary-foreground shadow-xs"> |
| 108 | {initials(displayName(u()))} | 108 | {initials(displayName(u()))} |
| 109 | </span> | 109 | </span> |
| 110 | <div class="flex min-w-0 flex-1 items-start justify-between gap-2"> | 110 | <div class="flex min-w-0 flex-1 items-start justify-between gap-2"> |
| @@ -155,7 +155,7 @@ export function UserMenu() { | |||
| 155 | <IconMoon class="h-4 w-4 shrink-0" /> | 155 | <IconMoon class="h-4 w-4 shrink-0" /> |
| 156 | </Show> | 156 | </Show> |
| 157 | <span class="min-w-0 flex-1 truncate text-left">{t("theme.toggle")}</span> | 157 | <span class="min-w-0 flex-1 truncate text-left">{t("theme.toggle")}</span> |
| 158 | - <span class="max-w-[4.5rem] shrink-0 truncate text-xs font-medium text-muted-foreground"> | 158 | + <span class="max-w-18 shrink-0 truncate text-xs font-medium text-muted-foreground"> |
| 159 | {prefs.theme() === "dark" ? t("theme.dark") : t("theme.light")} | 159 | {prefs.theme() === "dark" ? t("theme.dark") : t("theme.light")} |
| 160 | </span> | 160 | </span> |
| 161 | </DropdownMenuSubTrigger> | 161 | </DropdownMenuSubTrigger> |
src/components/marks/marks-report-view.tsxmodified+1 -1
| @@ -102,7 +102,7 @@ export function MarksReportView(props: { report: MarksReport; compact?: boolean | |||
| 102 | </header> | 102 | </header> |
| 103 | 103 | ||
| 104 | <Show when={block.results.length > 0} fallback={<DataTableEmpty class="py-6">{t("exams.noResults")}</DataTableEmpty>}> | 104 | <Show when={block.results.length > 0} fallback={<DataTableEmpty class="py-6">{t("exams.noResults")}</DataTableEmpty>}> |
| 105 | - <DataTable class="min-w-0" columns={columns()} data={block.results} tableClass={cn("w-full", compact() ? "text-xs" : "table-fixed min-w-[36rem]")} /> | 105 | + <DataTable class="min-w-0" columns={columns()} data={block.results} tableClass={cn("w-full", compact() ? "text-xs" : "table-fixed min-w-xl")} /> |
| 106 | </Show> | 106 | </Show> |
| 107 | </article> | 107 | </article> |
| 108 | )} | 108 | )} |
src/components/messages/gmail-compose-box.tsxmodified+1 -1
| @@ -179,7 +179,7 @@ export function GmailComposeBox(props: GmailComposeBoxProps) { | |||
| 179 | <Button | 179 | <Button |
| 180 | type="submit" | 180 | type="submit" |
| 181 | size="sm" | 181 | size="sm" |
| 182 | - class="rounded-xl px-5 h-9 bg-primary font-semibold text-primary-foreground shadow-xs hover:bg-primary/90" | 182 | + class="rounded-xl px-5 h-9 bg-primary font-semibold text-primary-foreground shadow-2xs hover:bg-primary/90" |
| 183 | disabled={pending()} | 183 | disabled={pending()} |
| 184 | > | 184 | > |
| 185 | <IconSend class="mr-2 h-4 w-4" /> | 185 | <IconSend class="mr-2 h-4 w-4" /> |
src/components/messages/gmail-mail-detail.tsxmodified+5 -5
| @@ -122,7 +122,7 @@ export function GmailMailDetail(props: GmailMailDetailProps) { | |||
| 122 | Gelen Kutusu | 122 | Gelen Kutusu |
| 123 | </Button> | 123 | </Button> |
| 124 | 124 | ||
| 125 | - <div class="h-4 w-[1px] bg-border mx-1" /> | 125 | + <div class="h-4 w-px bg-border mx-1" /> |
| 126 | 126 | ||
| 127 | {/* Mark as Read / Unread (received messages only) */} | 127 | {/* Mark as Read / Unread (received messages only) */} |
| 128 | <Show when={!isSent()}> | 128 | <Show when={!isSent()}> |
| @@ -238,7 +238,7 @@ export function GmailMailDetail(props: GmailMailDetailProps) { | |||
| 238 | {/* Sender Info Card */} | 238 | {/* Sender Info Card */} |
| 239 | <div class="flex items-start justify-between gap-4"> | 239 | <div class="flex items-start justify-between gap-4"> |
| 240 | <div class="flex items-center gap-3 min-w-0"> | 240 | <div class="flex items-center gap-3 min-w-0"> |
| 241 | - <div class="flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-primary font-bold text-sm text-primary-foreground shadow-xs"> | 241 | + <div class="flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-primary font-bold text-sm text-primary-foreground shadow-2xs"> |
| 242 | {peerName().charAt(0).toUpperCase()} | 242 | {peerName().charAt(0).toUpperCase()} |
| 243 | </div> | 243 | </div> |
| 244 | <div class="min-w-0"> | 244 | <div class="min-w-0"> |
| @@ -273,7 +273,7 @@ export function GmailMailDetail(props: GmailMailDetailProps) { | |||
| 273 | </div> | 273 | </div> |
| 274 | 274 | ||
| 275 | {/* Email Body Card */} | 275 | {/* Email Body Card */} |
| 276 | - <div class="rounded-2xl border border-border/80 bg-card p-6 shadow-xs leading-relaxed text-sm text-foreground/90 whitespace-pre-wrap min-h-[140px]"> | 276 | + <div class="rounded-2xl border border-border/80 bg-card p-6 shadow-2xs leading-relaxed text-sm text-foreground/90 whitespace-pre-wrap min-h-[140px]"> |
| 277 | <div innerHTML={props.message.body} /> | 277 | <div innerHTML={props.message.body} /> |
| 278 | </div> | 278 | </div> |
| 279 | 279 | ||
| @@ -299,7 +299,7 @@ export function GmailMailDetail(props: GmailMailDetailProps) { | |||
| 299 | {/* Gmail Inline Reply Editor */} | 299 | {/* Gmail Inline Reply Editor */} |
| 300 | <form | 300 | <form |
| 301 | onSubmit={handleSendReply} | 301 | onSubmit={handleSendReply} |
| 302 | - class="rounded-2xl border border-border bg-card p-4 shadow-sm space-y-3" | 302 | + class="rounded-2xl border border-border bg-card p-4 shadow-xs space-y-3" |
| 303 | > | 303 | > |
| 304 | <div class="flex items-center justify-between text-xs border-b pb-2"> | 304 | <div class="flex items-center justify-between text-xs border-b pb-2"> |
| 305 | <div class="flex items-center gap-2"> | 305 | <div class="flex items-center gap-2"> |
| @@ -332,7 +332,7 @@ export function GmailMailDetail(props: GmailMailDetailProps) { | |||
| 332 | <Button | 332 | <Button |
| 333 | type="submit" | 333 | type="submit" |
| 334 | size="sm" | 334 | size="sm" |
| 335 | - class="rounded-xl px-5 h-9 bg-primary font-semibold text-primary-foreground shadow-xs hover:bg-primary/90" | 335 | + class="rounded-xl px-5 h-9 bg-primary font-semibold text-primary-foreground shadow-2xs hover:bg-primary/90" |
| 336 | disabled={sending() || !replyBody().trim()} | 336 | disabled={sending() || !replyBody().trim()} |
| 337 | > | 337 | > |
| 338 | <IconSend class="mr-2 h-4 w-4" /> | 338 | <IconSend class="mr-2 h-4 w-4" /> |
src/components/notes/note-card.tsxmodified+1 -1
| @@ -24,7 +24,7 @@ export function NoteCard(props: { | |||
| 24 | <article | 24 | <article |
| 25 | role="button" | 25 | role="button" |
| 26 | tabindex="0" | 26 | tabindex="0" |
| 27 | - class="group flex h-full min-h-72 cursor-pointer flex-col overflow-hidden rounded-2xl border border-amber-500/40 bg-card shadow-sm card-lift hover:border-amber-400/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring dark:border-amber-500/30 dark:hover:border-amber-400/60" | 27 | + class="group flex h-full min-h-72 cursor-pointer flex-col overflow-hidden rounded-2xl border border-amber-500/40 bg-card shadow-xs card-lift hover:border-amber-400/60 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring dark:border-amber-500/30 dark:hover:border-amber-400/60" |
| 28 | onClick={() => props.onOpen(props.note)} | 28 | onClick={() => props.onOpen(props.note)} |
| 29 | onKeyDown={(event) => { | 29 | onKeyDown={(event) => { |
| 30 | if (event.key === "Enter" || event.key === " ") { | 30 | if (event.key === "Enter" || event.key === " ") { |
src/components/notes/note-file-preview.tsxmodified+2 -2
| @@ -65,7 +65,7 @@ export function NoteFilePreview(props: { noteId: string; file: NoteFile | null; | |||
| 65 | <DialogTitle class="truncate text-base">{file().name}</DialogTitle> | 65 | <DialogTitle class="truncate text-base">{file().name}</DialogTitle> |
| 66 | <p class="mt-0.5 truncate text-xs text-muted-foreground">{type() || t("notes.unknownFileType")}</p> | 66 | <p class="mt-0.5 truncate text-xs text-muted-foreground">{type() || t("notes.unknownFileType")}</p> |
| 67 | </div> | 67 | </div> |
| 68 | - <a class="absolute right-14 top-3 z-10 inline-flex h-8 items-center justify-center rounded-md border border-input bg-background/80 px-3 text-xs font-medium shadow-sm transition-all hover:bg-accent hover:text-accent-foreground" href={downloadUrl()} download={file().name}> | 68 | + <a class="absolute right-14 top-3 z-10 inline-flex h-8 items-center justify-center rounded-md border border-input bg-background/80 px-3 text-xs font-medium shadow-xs transition-all hover:bg-accent hover:text-accent-foreground" href={downloadUrl()} download={file().name}> |
| 69 | {t("notes.downloadFile")} | 69 | {t("notes.downloadFile")} |
| 70 | </a> | 70 | </a> |
| 71 | </div> | 71 | </div> |
| @@ -85,7 +85,7 @@ export function NoteFilePreview(props: { noteId: string; file: NoteFile | null; | |||
| 85 | <video src={previewUrl()} controls class="max-h-full max-w-full" /> | 85 | <video src={previewUrl()} controls class="max-h-full max-w-full" /> |
| 86 | </Match> | 86 | </Match> |
| 87 | <Match when={type().startsWith("audio/") && previewUrl()}> | 87 | <Match when={type().startsWith("audio/") && previewUrl()}> |
| 88 | - <div class="w-full max-w-2xl rounded-lg bg-background p-4 shadow-sm"> | 88 | + <div class="w-full max-w-2xl rounded-lg bg-background p-4 shadow-xs"> |
| 89 | <audio src={previewUrl()} controls class="w-full" /> | 89 | <audio src={previewUrl()} controls class="w-full" /> |
| 90 | </div> | 90 | </div> |
| 91 | </Match> | 91 | </Match> |
src/components/notes/note-files-panel.tsxmodified+3 -3
| @@ -167,7 +167,7 @@ export function NoteFilesPanel(props: { noteId: string; active: boolean }) { | |||
| 167 | }; | 167 | }; |
| 168 | 168 | ||
| 169 | return ( | 169 | return ( |
| 170 | - <section class="space-y-3 rounded-2xl border border-border/80 bg-card p-4 shadow-sm dark:border-white/[0.08]"> | 170 | + <section class="space-y-3 rounded-2xl border border-border/80 bg-card p-4 shadow-xs dark:border-white/8"> |
| 171 | <Show when={flash()}> | 171 | <Show when={flash()}> |
| 172 | <Alert variant="success">{flash()}</Alert> | 172 | <Alert variant="success">{flash()}</Alert> |
| 173 | </Show> | 173 | </Show> |
| @@ -216,7 +216,7 @@ export function NoteFilesPanel(props: { noteId: string; active: boolean }) { | |||
| 216 | {(file) => { | 216 | {(file) => { |
| 217 | const meta = fileMeta(file); | 217 | const meta = fileMeta(file); |
| 218 | return ( | 218 | return ( |
| 219 | - <li class="group overflow-hidden rounded-xl border border-border/70 bg-card text-sm shadow-sm transition-colors hover:border-amber-500/40"> | 219 | + <li class="group overflow-hidden rounded-xl border border-border/70 bg-card text-sm shadow-xs transition-colors hover:border-amber-500/40"> |
| 220 | <div class="relative h-28 bg-muted/25"> | 220 | <div class="relative h-28 bg-muted/25"> |
| 221 | <button type="button" class="flex h-full w-full items-center justify-center rounded-t-xl transition-colors hover:bg-muted/40" onClick={() => setPreviewFile(file)}> | 221 | <button type="button" class="flex h-full w-full items-center justify-center rounded-t-xl transition-colors hover:bg-muted/40" onClick={() => setPreviewFile(file)}> |
| 222 | <span class={cn("flex h-16 w-16 items-center justify-center rounded-2xl border", meta.class)}> | 222 | <span class={cn("flex h-16 w-16 items-center justify-center rounded-2xl border", meta.class)}> |
| @@ -226,7 +226,7 @@ export function NoteFilesPanel(props: { noteId: string; active: boolean }) { | |||
| 226 | <span class={cn("absolute left-2 top-2 rounded px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide", meta.class)}> | 226 | <span class={cn("absolute left-2 top-2 rounded px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide", meta.class)}> |
| 227 | {meta.label} | 227 | {meta.label} |
| 228 | </span> | 228 | </span> |
| 229 | - <div class="absolute right-2 top-2 z-10 rounded-xl border border-border/80 bg-card/90 shadow-md backdrop-blur-md dark:border-white/[0.15] dark:bg-card/95"> | 229 | + <div class="absolute right-2 top-2 z-10 rounded-xl border border-border/80 bg-card/90 shadow-md backdrop-blur-md dark:border-white/15 dark:bg-card/95"> |
| 230 | <TableRowActions | 230 | <TableRowActions |
| 231 | label={t("common.actions")} | 231 | label={t("common.actions")} |
| 232 | actions={[ | 232 | actions={[ |
src/components/notes/note-form.tsxmodified+3 -3
| @@ -111,7 +111,7 @@ export function NoteForm(props: { | |||
| 111 | return ( | 111 | return ( |
| 112 | <> | 112 | <> |
| 113 | <form class="space-y-5" onSubmit={handleSubmit}> | 113 | <form class="space-y-5" onSubmit={handleSubmit}> |
| 114 | - <div class="space-y-1.5 rounded-xl border border-border/80 bg-card p-4 shadow-sm"> | 114 | + <div class="space-y-1.5 rounded-xl border border-border/80 bg-card p-4 shadow-xs"> |
| 115 | <Label for="note-title">{t("form.title")}</Label> | 115 | <Label for="note-title">{t("form.title")}</Label> |
| 116 | <Input | 116 | <Input |
| 117 | id="note-title" | 117 | id="note-title" |
| @@ -122,7 +122,7 @@ export function NoteForm(props: { | |||
| 122 | onInput={(e) => setTitle(e.currentTarget.value)} | 122 | onInput={(e) => setTitle(e.currentTarget.value)} |
| 123 | /> | 123 | /> |
| 124 | </div> | 124 | </div> |
| 125 | - <div class="space-y-1.5 rounded-xl border border-border/80 bg-card p-4 shadow-sm"> | 125 | + <div class="space-y-1.5 rounded-xl border border-border/80 bg-card p-4 shadow-xs"> |
| 126 | <Label for="note-content">{t("form.content")}</Label> | 126 | <Label for="note-content">{t("form.content")}</Label> |
| 127 | <Textarea | 127 | <Textarea |
| 128 | id="note-content" | 128 | id="note-content" |
| @@ -135,7 +135,7 @@ export function NoteForm(props: { | |||
| 135 | </div> | 135 | </div> |
| 136 | 136 | ||
| 137 | <Show when={showFiles()}> | 137 | <Show when={showFiles()}> |
| 138 | - <section class="space-y-3 rounded-xl border border-border/80 bg-card p-4 shadow-sm"> | 138 | + <section class="space-y-3 rounded-xl border border-border/80 bg-card p-4 shadow-xs"> |
| 139 | <div class="flex flex-wrap items-center justify-between gap-3"> | 139 | <div class="flex flex-wrap items-center justify-between gap-3"> |
| 140 | <div> | 140 | <div> |
| 141 | <h3 class="text-sm font-semibold">{t("notes.files")}</h3> | 141 | <h3 class="text-sm font-semibold">{t("notes.files")}</h3> |
src/components/notes/note-import-panel.tsxmodified+4 -4
| @@ -86,7 +86,7 @@ export function NoteImportPanel(props: { | |||
| 86 | <div class="space-y-5"> | 86 | <div class="space-y-5"> |
| 87 | <Show when={!file()}> | 87 | <Show when={!file()}> |
| 88 | <div | 88 | <div |
| 89 | - class="flex min-h-[14rem] cursor-pointer flex-col items-center justify-center gap-3 rounded-2xl border border-dashed border-amber-500/50 ring-1 ring-amber-500/25 bg-muted/30 p-6 text-center transition-all hover:border-amber-400 hover:ring-amber-400/40 hover:bg-muted/50" | 89 | + class="flex min-h-56 cursor-pointer flex-col items-center justify-center gap-3 rounded-2xl border border-dashed border-amber-500/50 ring-1 ring-amber-500/25 bg-muted/30 p-6 text-center transition-all hover:border-amber-400 hover:ring-amber-400/40 hover:bg-muted/50" |
| 90 | onClick={() => fileInput?.click()} | 90 | onClick={() => fileInput?.click()} |
| 91 | > | 91 | > |
| 92 | <input | 92 | <input |
| @@ -98,7 +98,7 @@ export function NoteImportPanel(props: { | |||
| 98 | class="hidden" | 98 | class="hidden" |
| 99 | onChange={(e) => void handleFileSelect(e.currentTarget.files?.[0])} | 99 | onChange={(e) => void handleFileSelect(e.currentTarget.files?.[0])} |
| 100 | /> | 100 | /> |
| 101 | - <span class="flex h-12 w-12 items-center justify-center rounded-2xl border border-amber-500/50 ring-1 ring-amber-500/30 bg-muted/40 text-foreground shadow-sm"> | 101 | + <span class="flex h-12 w-12 items-center justify-center rounded-2xl border border-amber-500/50 ring-1 ring-amber-500/30 bg-muted/40 text-foreground shadow-xs"> |
| 102 | <IconUploadCloud class="h-6 w-6" /> | 102 | <IconUploadCloud class="h-6 w-6" /> |
| 103 | </span> | 103 | </span> |
| 104 | <div class="space-y-1 max-w-sm mx-auto"> | 104 | <div class="space-y-1 max-w-sm mx-auto"> |
| @@ -143,7 +143,7 @@ export function NoteImportPanel(props: { | |||
| 143 | </p> | 143 | </p> |
| 144 | </Show> | 144 | </Show> |
| 145 | 145 | ||
| 146 | - <div class="space-y-1.5 rounded-xl border border-border/80 bg-card p-4 shadow-sm"> | 146 | + <div class="space-y-1.5 rounded-xl border border-border/80 bg-card p-4 shadow-xs"> |
| 147 | <Label for="import-title">{t("form.title")}</Label> | 147 | <Label for="import-title">{t("form.title")}</Label> |
| 148 | <Input | 148 | <Input |
| 149 | id="import-title" | 149 | id="import-title" |
| @@ -154,7 +154,7 @@ export function NoteImportPanel(props: { | |||
| 154 | /> | 154 | /> |
| 155 | </div> | 155 | </div> |
| 156 | 156 | ||
| 157 | - <div class="space-y-1.5 rounded-xl border border-border/80 bg-card p-4 shadow-sm"> | 157 | + <div class="space-y-1.5 rounded-xl border border-border/80 bg-card p-4 shadow-xs"> |
| 158 | <Label for="import-content">{t("form.content")} (Markdown)</Label> | 158 | <Label for="import-content">{t("form.content")} (Markdown)</Label> |
| 159 | <Textarea | 159 | <Textarea |
| 160 | id="import-content" | 160 | id="import-content" |
src/components/notes/note-reader-panel.tsxmodified+1 -1
| @@ -28,7 +28,7 @@ export function NoteReaderPanel(props: { | |||
| 28 | <Show when={note()}> | 28 | <Show when={note()}> |
| 29 | {(n) => ( | 29 | {(n) => ( |
| 30 | <div class="space-y-4"> | 30 | <div class="space-y-4"> |
| 31 | - <article class="overflow-hidden rounded-2xl border border-amber-200/70 bg-[linear-gradient(90deg,rgba(245,158,11,0.14)_0,rgba(245,158,11,0.14)_3rem,transparent_3rem),repeating-linear-gradient(0deg,transparent_0,transparent_2.45rem,rgba(120,113,108,0.16)_2.5rem)] shadow-sm dark:border-amber-500/20 dark:bg-[linear-gradient(90deg,rgba(245,158,11,0.12)_0,rgba(245,158,11,0.12)_3rem,transparent_3rem),repeating-linear-gradient(0deg,transparent_0,transparent_2.45rem,rgba(214,211,209,0.12)_2.5rem)]"> | 31 | + <article class="overflow-hidden rounded-2xl border border-amber-200/70 bg-[linear-gradient(90deg,rgba(245,158,11,0.14)_0,rgba(245,158,11,0.14)_3rem,transparent_3rem),repeating-linear-gradient(0deg,transparent_0,transparent_2.45rem,rgba(120,113,108,0.16)_2.5rem)] shadow-xs dark:border-amber-500/20 dark:bg-[linear-gradient(90deg,rgba(245,158,11,0.12)_0,rgba(245,158,11,0.12)_3rem,transparent_3rem),repeating-linear-gradient(0deg,transparent_0,transparent_2.45rem,rgba(214,211,209,0.12)_2.5rem)]"> |
| 32 | <div class="min-h-80 space-y-4 px-5 py-5 pl-16"> | 32 | <div class="min-h-80 space-y-4 px-5 py-5 pl-16"> |
| 33 | <Show | 33 | <Show |
| 34 | when={paragraphs().length > 0} | 34 | when={paragraphs().length > 0} |
src/components/ui/alert-dialog.tsxmodified+1 -1
| @@ -20,7 +20,7 @@ export function AlertDialogContent<T extends ValidComponent = "div">( | |||
| 20 | <div class="fixed inset-0 z-50 flex items-center justify-center p-4"> | 20 | <div class="fixed inset-0 z-50 flex items-center justify-center p-4"> |
| 21 | <AlertDialogPrimitive.Content | 21 | <AlertDialogPrimitive.Content |
| 22 | class={cn( | 22 | class={cn( |
| 23 | - "w-full max-w-md overflow-hidden rounded-2xl sm:rounded-3xl border border-black/[0.08] dark:border-white/[0.12] bg-popover/95 backdrop-blur-xl text-popover-foreground shadow-apple outline-none animate-fade-up", | 23 | + "w-full max-w-md overflow-hidden rounded-2xl sm:rounded-3xl border border-black/8 dark:border-white/12 bg-popover/95 backdrop-blur-xl text-popover-foreground shadow-apple outline-hidden animate-fade-up", |
| 24 | local.class, | 24 | local.class, |
| 25 | )} | 25 | )} |
| 26 | {...rest} | 26 | {...rest} |
src/components/ui/alert.tsxmodified+1 -1
| @@ -10,7 +10,7 @@ export function Alert( | |||
| 10 | <div | 10 | <div |
| 11 | role="alert" | 11 | role="alert" |
| 12 | class={cn( | 12 | class={cn( |
| 13 | - "relative w-full rounded-lg border px-3.5 py-2.5 text-xs shadow-xs transition-all", | 13 | + "relative w-full rounded-lg border px-3.5 py-2.5 text-xs shadow-2xs transition-all", |
| 14 | local.variant === "destructive" && "border-destructive/30 bg-destructive/10 text-destructive font-medium", | 14 | local.variant === "destructive" && "border-destructive/30 bg-destructive/10 text-destructive font-medium", |
| 15 | local.variant === "success" && "border-emerald-600/30 bg-emerald-500/10 text-emerald-800 dark:text-emerald-300 font-medium", | 15 | local.variant === "success" && "border-emerald-600/30 bg-emerald-500/10 text-emerald-800 dark:text-emerald-300 font-medium", |
| 16 | (!local.variant || local.variant === "default") && "bg-muted/40 text-foreground border-border/80", | 16 | (!local.variant || local.variant === "default") && "bg-muted/40 text-foreground border-border/80", |
src/components/ui/badge.tsxmodified+2 -2
| @@ -8,9 +8,9 @@ const badgeVariants = cva( | |||
| 8 | { | 8 | { |
| 9 | variants: { | 9 | variants: { |
| 10 | variant: { | 10 | variant: { |
| 11 | - default: "border-transparent bg-primary/90 text-primary-foreground shadow-sm", | 11 | + default: "border-transparent bg-primary/90 text-primary-foreground shadow-xs", |
| 12 | secondary: "border-transparent bg-secondary text-secondary-foreground", | 12 | secondary: "border-transparent bg-secondary text-secondary-foreground", |
| 13 | - outline: "border-black/[0.08] dark:border-white/[0.12] text-foreground bg-background/50", | 13 | + outline: "border-black/8 dark:border-white/12 text-foreground bg-background/50", |
| 14 | destructive: "border-transparent bg-destructive/90 text-destructive-foreground", | 14 | destructive: "border-transparent bg-destructive/90 text-destructive-foreground", |
| 15 | }, | 15 | }, |
| 16 | }, | 16 | }, |
src/components/ui/button.tsxmodified+5 -5
| @@ -4,18 +4,18 @@ import { type ComponentProps, type ValidComponent, splitProps } from "solid-js"; | |||
| 4 | import { cn } from "@/lib/cn"; | 4 | import { cn } from "@/lib/cn"; |
| 5 | 5 | ||
| 6 | export const buttonVariants = cva( | 6 | export const buttonVariants = cva( |
| 7 | - "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-semibold transition-all duration-200 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:-translate-y-0.5 hover:scale-[1.015] active:translate-y-0 active:scale-[0.97] active:opacity-90", | 7 | + "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-semibold transition-all duration-200 ease-out focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:-translate-y-0.5 hover:scale-[1.015] active:translate-y-0 active:scale-[0.97] active:opacity-90", |
| 8 | { | 8 | { |
| 9 | variants: { | 9 | variants: { |
| 10 | variant: { | 10 | variant: { |
| 11 | default: | 11 | default: |
| 12 | - "border border-primary/40 bg-primary/15 text-primary ring-1 ring-primary/25 shadow-xs hover:bg-primary/25 hover:border-primary/60 hover:ring-primary/40 dark:bg-primary/20 dark:text-foreground dark:hover:bg-primary/30", | 12 | + "border border-primary/40 bg-primary/15 text-primary ring-1 ring-primary/25 shadow-2xs hover:bg-primary/25 hover:border-primary/60 hover:ring-primary/40 dark:bg-primary/20 dark:text-foreground dark:hover:bg-primary/30", |
| 13 | destructive: | 13 | destructive: |
| 14 | - "border border-destructive/40 bg-destructive/15 text-destructive ring-1 ring-destructive/25 shadow-xs hover:bg-destructive/25 hover:border-destructive/60 hover:ring-destructive/40 dark:bg-destructive/20 dark:text-destructive-foreground dark:hover:bg-destructive/30", | 14 | + "border border-destructive/40 bg-destructive/15 text-destructive ring-1 ring-destructive/25 shadow-2xs hover:bg-destructive/25 hover:border-destructive/60 hover:ring-destructive/40 dark:bg-destructive/20 dark:text-destructive-foreground dark:hover:bg-destructive/30", |
| 15 | outline: | 15 | outline: |
| 16 | - "border border-black/[0.08] dark:border-indigo-500/30 bg-background/80 shadow-xs hover:bg-secondary hover:text-foreground hover:border-black/20 dark:hover:border-indigo-400/60 dark:hover:ring-1 dark:hover:ring-indigo-400/30", | 16 | + "border border-black/8 dark:border-indigo-500/30 bg-background/80 shadow-2xs hover:bg-secondary hover:text-foreground hover:border-black/20 dark:hover:border-indigo-400/60 dark:hover:ring-1 dark:hover:ring-indigo-400/30", |
| 17 | secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 dark:hover:bg-secondary/90", | 17 | secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 dark:hover:bg-secondary/90", |
| 18 | - ghost: "hover:bg-secondary/80 hover:text-foreground dark:hover:bg-white/[0.08]", | 18 | + ghost: "hover:bg-secondary/80 hover:text-foreground dark:hover:bg-white/8", |
| 19 | link: "text-primary underline-offset-4 hover:underline hover:translate-y-0 hover:scale-100", | 19 | link: "text-primary underline-offset-4 hover:underline hover:translate-y-0 hover:scale-100", |
| 20 | }, | 20 | }, |
| 21 | size: { | 21 | size: { |
src/components/ui/card.tsxmodified+1 -1
| @@ -7,7 +7,7 @@ export function Card(props: ParentProps<ComponentProps<"div">>) { | |||
| 7 | return ( | 7 | return ( |
| 8 | <div | 8 | <div |
| 9 | class={cn( | 9 | class={cn( |
| 10 | - "rounded-2xl border border-black/[0.06] dark:border-white/[0.08] bg-card text-card-foreground shadow-[0_4px_20px_rgb(0,0,0,0.03)] dark:shadow-[0_4px_20px_rgb(0,0,0,0.25)] transition-all duration-200", | 10 | + "rounded-2xl border border-black/6 dark:border-white/8 bg-card text-card-foreground shadow-[0_4px_20px_rgb(0,0,0,0.03)] dark:shadow-[0_4px_20px_rgb(0,0,0,0.25)] transition-all duration-200", |
| 11 | local.class, | 11 | local.class, |
| 12 | )} | 12 | )} |
| 13 | {...rest} | 13 | {...rest} |
src/components/ui/chart-area-trend.tsxmodified+2 -2
| @@ -63,7 +63,7 @@ export const ChartAreaTrend: Component<ChartAreaTrendProps> = (props) => { | |||
| 63 | }; | 63 | }; |
| 64 | 64 | ||
| 65 | return ( | 65 | return ( |
| 66 | - <div class={cn("flex flex-col space-y-3 rounded-2xl border border-border/60 bg-card p-4 shadow-sm dark:border-white/[0.08]", props.class)}> | 66 | + <div class={cn("flex flex-col space-y-3 rounded-2xl border border-border/60 bg-card p-4 shadow-xs dark:border-white/8", props.class)}> |
| 67 | <div class="flex items-start justify-between gap-2"> | 67 | <div class="flex items-start justify-between gap-2"> |
| 68 | <div class="space-y-0.5 min-w-0"> | 68 | <div class="space-y-0.5 min-w-0"> |
| 69 | <h3 class="truncate text-sm font-semibold tracking-tight text-foreground">{props.title}</h3> | 69 | <h3 class="truncate text-sm font-semibold tracking-tight text-foreground">{props.title}</h3> |
| @@ -140,7 +140,7 @@ export const ChartAreaTrend: Component<ChartAreaTrendProps> = (props) => { | |||
| 140 | r={hoverIndex() === p.index ? "5.5" : "3.5"} | 140 | r={hoverIndex() === p.index ? "5.5" : "3.5"} |
| 141 | class={cn( | 141 | class={cn( |
| 142 | "transition-all duration-200 fill-background stroke-primary stroke-[2.5]", | 142 | "transition-all duration-200 fill-background stroke-primary stroke-[2.5]", |
| 143 | - hoverIndex() === p.index && "fill-primary stroke-background shadow-lg stroke-[3]", | 143 | + hoverIndex() === p.index && "fill-primary stroke-background shadow-lg stroke-3", |
| 144 | )} | 144 | )} |
| 145 | /> | 145 | /> |
| 146 | <text | 146 | <text |
src/components/ui/chart-bar.tsxmodified+2 -2
| @@ -28,7 +28,7 @@ export const ChartBar: Component<ChartBarProps> = (props) => { | |||
| 28 | }; | 28 | }; |
| 29 | 29 | ||
| 30 | return ( | 30 | return ( |
| 31 | - <div class={cn("flex flex-col gap-3.5 rounded-3xl border border-border/60 bg-card/60 p-4 sm:p-5 dark:border-white/[0.08] dark:bg-card/40 shadow-sm backdrop-blur-sm", props.class)}> | 31 | + <div class={cn("flex flex-col gap-3.5 rounded-3xl border border-border/60 bg-card/60 p-4 sm:p-5 dark:border-white/8 dark:bg-card/40 shadow-xs backdrop-blur-xs", props.class)}> |
| 32 | <Show when={props.title}> | 32 | <Show when={props.title}> |
| 33 | <div class="flex items-center justify-between gap-2 border-b border-border/40 pb-3"> | 33 | <div class="flex items-center justify-between gap-2 border-b border-border/40 pb-3"> |
| 34 | <div> | 34 | <div> |
| @@ -80,7 +80,7 @@ export const ChartBar: Component<ChartBarProps> = (props) => { | |||
| 80 | class={cn( | 80 | class={cn( |
| 81 | "h-full rounded-full transition-all duration-500 ease-out", | 81 | "h-full rounded-full transition-all duration-500 ease-out", |
| 82 | item.colorClass ?? "bg-primary", | 82 | item.colorClass ?? "bg-primary", |
| 83 | - isHovered() && "brightness-110 shadow-sm", | 83 | + isHovered() && "brightness-110 shadow-xs", |
| 84 | )} | 84 | )} |
| 85 | style={{ width: `${pct()}%` }} | 85 | style={{ width: `${pct()}%` }} |
| 86 | /> | 86 | /> |
src/components/ui/chart-metric-cards.tsxmodified+1 -1
| @@ -20,7 +20,7 @@ export type ChartMetricCardsProps = { | |||
| 20 | 20 | ||
| 21 | export const ChartMetricCards: Component<ChartMetricCardsProps> = (props) => { | 21 | export const ChartMetricCards: Component<ChartMetricCardsProps> = (props) => { |
| 22 | return ( | 22 | return ( |
| 23 | - <div class={cn("flex flex-col space-y-3 rounded-2xl border border-border/60 bg-card p-4 shadow-sm dark:border-white/[0.08]", props.class)}> | 23 | + <div class={cn("flex flex-col space-y-3 rounded-2xl border border-border/60 bg-card p-4 shadow-xs dark:border-white/8", props.class)}> |
| 24 | <div class="space-y-0.5 min-w-0"> | 24 | <div class="space-y-0.5 min-w-0"> |
| 25 | <h3 class="truncate text-sm font-semibold tracking-tight text-foreground">{props.title}</h3> | 25 | <h3 class="truncate text-sm font-semibold tracking-tight text-foreground">{props.title}</h3> |
| 26 | <Show when={props.subtitle}> | 26 | <Show when={props.subtitle}> |
src/components/ui/chart-progress-ring.tsxmodified+1 -1
| @@ -22,7 +22,7 @@ export const ChartProgressRing: Component<ChartProgressRingProps> = (props) => { | |||
| 22 | const calculatedTotal = () => props.total ?? props.segments.reduce((acc, s) => acc + s.value, 0); | 22 | const calculatedTotal = () => props.total ?? props.segments.reduce((acc, s) => acc + s.value, 0); |
| 23 | 23 | ||
| 24 | return ( | 24 | return ( |
| 25 | - <div class={cn("flex flex-col gap-3.5 rounded-3xl border border-border/60 bg-card/60 p-4 sm:p-5 dark:border-white/[0.08] dark:bg-card/40 shadow-sm backdrop-blur-sm", props.class)}> | 25 | + <div class={cn("flex flex-col gap-3.5 rounded-3xl border border-border/60 bg-card/60 p-4 sm:p-5 dark:border-white/8 dark:bg-card/40 shadow-xs backdrop-blur-xs", props.class)}> |
| 26 | <Show when={props.title}> | 26 | <Show when={props.title}> |
| 27 | <div class="flex items-center justify-between gap-2 border-b border-border/40 pb-3"> | 27 | <div class="flex items-center justify-between gap-2 border-b border-border/40 pb-3"> |
| 28 | <div> | 28 | <div> |
src/components/ui/collapsible-help.tsxmodified+3 -3
| @@ -11,10 +11,10 @@ export function CollapsibleHelp( | |||
| 11 | }>, | 11 | }>, |
| 12 | ) { | 12 | ) { |
| 13 | return ( | 13 | return ( |
| 14 | - <Collapsible class={cn("group/help rounded-md border bg-card text-card-foreground shadow-sm", props.class)}> | 14 | + <Collapsible class={cn("group/help rounded-md border bg-card text-card-foreground shadow-xs", props.class)}> |
| 15 | <Collapsible.Trigger | 15 | <Collapsible.Trigger |
| 16 | class={cn( | 16 | class={cn( |
| 17 | - "flex w-full items-center gap-3 px-4 py-3 text-left text-sm font-medium outline-none transition-colors", | 17 | + "flex w-full items-center gap-3 px-4 py-3 text-left text-sm font-medium outline-hidden transition-colors", |
| 18 | "hover:bg-accent/50 focus-visible:ring-2 focus-visible:ring-ring", | 18 | "hover:bg-accent/50 focus-visible:ring-2 focus-visible:ring-ring", |
| 19 | "ui-expanded:border-b ui-expanded:border-border", | 19 | "ui-expanded:border-b ui-expanded:border-border", |
| 20 | )} | 20 | )} |
| @@ -23,7 +23,7 @@ export function CollapsibleHelp( | |||
| 23 | <IconGuide class="h-3.5 w-3.5" /> | 23 | <IconGuide class="h-3.5 w-3.5" /> |
| 24 | </span> | 24 | </span> |
| 25 | <span class="flex-1">{props.title}</span> | 25 | <span class="flex-1">{props.title}</span> |
| 26 | - <IconChevronDown class="h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200 group-data-[expanded]/help:rotate-180" /> | 26 | + <IconChevronDown class="h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200 group-data-expanded/help:rotate-180" /> |
| 27 | </Collapsible.Trigger> | 27 | </Collapsible.Trigger> |
| 28 | <Collapsible.Content> | 28 | <Collapsible.Content> |
| 29 | <div class="border-t border-border px-4 py-3 text-sm leading-relaxed text-muted-foreground"> | 29 | <div class="border-t border-border px-4 py-3 text-sm leading-relaxed text-muted-foreground"> |
src/components/ui/combobox.tsxmodified+5 -5
| @@ -14,7 +14,7 @@ export function ComboboxInput<T extends ValidComponent = "input">( | |||
| 14 | return ( | 14 | return ( |
| 15 | <ComboboxPrimitive.Input | 15 | <ComboboxPrimitive.Input |
| 16 | class={cn( | 16 | class={cn( |
| 17 | - "flex h-11 w-full rounded-xl border border-border/80 bg-muted/30 px-3.5 py-2 text-sm text-foreground shadow-sm outline-none transition-all duration-150", | 17 | + "flex h-11 w-full rounded-xl border border-border/80 bg-muted/30 px-3.5 py-2 text-sm text-foreground shadow-xs outline-hidden transition-all duration-150", |
| 18 | "placeholder:text-muted-foreground hover:bg-muted/50 hover:border-border focus:bg-background focus-visible:ring-2 focus-visible:ring-primary/60 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", | 18 | "placeholder:text-muted-foreground hover:bg-muted/50 hover:border-border focus:bg-background focus-visible:ring-2 focus-visible:ring-primary/60 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", |
| 19 | local.class, | 19 | local.class, |
| 20 | )} | 20 | )} |
| @@ -34,8 +34,8 @@ export function ComboboxContent<T extends ValidComponent = "div">( | |||
| 34 | <ComboboxPrimitive.Portal> | 34 | <ComboboxPrimitive.Portal> |
| 35 | <ComboboxPrimitive.Content | 35 | <ComboboxPrimitive.Content |
| 36 | class={cn( | 36 | class={cn( |
| 37 | - "z-50 mt-1.5 max-h-72 min-w-[var(--kb-popper-anchor-width)] overflow-hidden rounded-2xl border border-black/[0.08] dark:border-white/[0.12] bg-popover/95 backdrop-blur-xl p-1.5 text-popover-foreground shadow-apple outline-none", | 37 | + "z-50 mt-1.5 max-h-72 min-w-(--kb-popper-anchor-width) overflow-hidden rounded-2xl border border-black/8 dark:border-white/12 bg-popover/95 backdrop-blur-xl p-1.5 text-popover-foreground shadow-apple outline-hidden", |
| 38 | - "origin-[var(--kb-combobox-content-transform-origin)] animate-in fade-in-0 zoom-in-95 data-[closed]:animate-out data-[closed]:fade-out-0 data-[closed]:zoom-out-95", | 38 | + "origin-(--kb-combobox-content-transform-origin) animate-in fade-in-0 zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", |
| 39 | local.class, | 39 | local.class, |
| 40 | )} | 40 | )} |
| 41 | {...rest} | 41 | {...rest} |
| @@ -53,8 +53,8 @@ export function ComboboxItem<T extends ValidComponent = "li">( | |||
| 53 | return ( | 53 | return ( |
| 54 | <ComboboxPrimitive.Item | 54 | <ComboboxPrimitive.Item |
| 55 | class={cn( | 55 | class={cn( |
| 56 | - "relative flex min-h-[2.5rem] cursor-pointer select-none items-center rounded-xl px-3 py-2 text-sm font-medium outline-none transition-all duration-150", | 56 | + "relative flex min-h-10 cursor-pointer select-none items-center rounded-xl px-3 py-2 text-sm font-medium outline-hidden transition-all duration-150", |
| 57 | - "data-[highlighted]:bg-primary/10 data-[highlighted]:text-primary active:scale-[0.98] data-[disabled]:pointer-events-none data-[disabled]:opacity-40", | 57 | + "data-highlighted:bg-primary/10 data-highlighted:text-primary active:scale-[0.98] data-disabled:pointer-events-none data-disabled:opacity-40", |
| 58 | local.class, | 58 | local.class, |
| 59 | )} | 59 | )} |
| 60 | {...rest} | 60 | {...rest} |
src/components/ui/confirm-dialog.tsxmodified+1 -1
| @@ -74,7 +74,7 @@ export function ConfirmDialog(props: ConfirmDialogProps) { | |||
| 74 | <AlertDialogFooter> | 74 | <AlertDialogFooter> |
| 75 | <AlertDialogCancel | 75 | <AlertDialogCancel |
| 76 | class={cn( | 76 | class={cn( |
| 77 | - "inline-flex h-11 items-center justify-center rounded-xl border border-black/[0.08] dark:border-white/[0.12] bg-background px-4 text-xs font-semibold shadow-sm tactile-press", | 77 | + "inline-flex h-11 items-center justify-center rounded-xl border border-black/8 dark:border-white/12 bg-background px-4 text-xs font-semibold shadow-xs tactile-press", |
| 78 | "hover:bg-accent hover:text-accent-foreground disabled:opacity-50", | 78 | "hover:bg-accent hover:text-accent-foreground disabled:opacity-50", |
| 79 | )} | 79 | )} |
| 80 | disabled={pending()} | 80 | disabled={pending()} |
src/components/ui/data-table.tsxmodified+4 -4
| @@ -113,7 +113,7 @@ export function DataTable<TData, TValue = unknown>(props: DataTableProps<TData, | |||
| 113 | }, | 113 | }, |
| 114 | }); | 114 | }); |
| 115 | const hiddenLocked = (columnId: string) => columnId === "actions" || columnId === "update"; | 115 | const hiddenLocked = (columnId: string) => columnId === "actions" || columnId === "update"; |
| 116 | - const actionColumnClass = (columnId: string) => hiddenLocked(columnId) ? "w-28 min-w-[7rem] px-2 text-center whitespace-nowrap" : undefined; | 116 | + const actionColumnClass = (columnId: string) => hiddenLocked(columnId) ? "w-28 min-w-28 px-2 text-center whitespace-nowrap" : undefined; |
| 117 | const hideableColumns = () => table.getAllColumns().filter((column) => column.getCanHide() && !hiddenLocked(column.id)); | 117 | const hideableColumns = () => table.getAllColumns().filter((column) => column.getCanHide() && !hiddenLocked(column.id)); |
| 118 | const columnLabel = (column: Column<TData, unknown>) => { | 118 | const columnLabel = (column: Column<TData, unknown>) => { |
| 119 | const header = column.columnDef.header; | 119 | const header = column.columnDef.header; |
| @@ -192,11 +192,11 @@ export function DataTable<TData, TValue = unknown>(props: DataTableProps<TData, | |||
| 192 | </Show> | 192 | </Show> |
| 193 | <Show when={showColumnMenu()}> | 193 | <Show when={showColumnMenu()}> |
| 194 | <DropdownMenu placement="bottom-end" gutter={6}> | 194 | <DropdownMenu placement="bottom-end" gutter={6}> |
| 195 | - <DropdownMenuTrigger class="ml-auto inline-flex h-9 items-center justify-center gap-2 whitespace-nowrap rounded-lg border border-border/70 bg-muted/70 px-3 text-sm font-semibold shadow-none transition-all hover:bg-muted active:scale-[0.97] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring dark:border-white/[0.08] dark:bg-[#222222] dark:text-white dark:hover:bg-white/[0.12]"> | 195 | + <DropdownMenuTrigger class="ml-auto inline-flex h-9 items-center justify-center gap-2 whitespace-nowrap rounded-lg border border-border/70 bg-muted/70 px-3 text-sm font-semibold shadow-none transition-all hover:bg-muted active:scale-[0.97] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring dark:border-white/8 dark:bg-[#222222] dark:text-white dark:hover:bg-white/12"> |
| 196 | {t("common.columns")} | 196 | {t("common.columns")} |
| 197 | <IconChevronDown class="h-3.5 w-3.5 opacity-60" /> | 197 | <IconChevronDown class="h-3.5 w-3.5 opacity-60" /> |
| 198 | </DropdownMenuTrigger> | 198 | </DropdownMenuTrigger> |
| 199 | - <DropdownMenuContent class="w-48 rounded-2xl border border-black/[0.08] bg-popover/95 p-1.5 shadow-apple backdrop-blur-xl dark:border-white/[0.12]"> | 199 | + <DropdownMenuContent class="w-48 rounded-2xl border border-black/8 bg-popover/95 p-1.5 shadow-apple backdrop-blur-xl dark:border-white/12"> |
| 200 | <For each={hideableColumns()}> | 200 | <For each={hideableColumns()}> |
| 201 | {(column) => ( | 201 | {(column) => ( |
| 202 | <DropdownMenuCheckboxItem | 202 | <DropdownMenuCheckboxItem |
| @@ -251,7 +251,7 @@ export function DataTable<TData, TValue = unknown>(props: DataTableProps<TData, | |||
| 251 | tabIndex={props.onRowClick ? 0 : undefined} | 251 | tabIndex={props.onRowClick ? 0 : undefined} |
| 252 | class={cn( | 252 | class={cn( |
| 253 | "group/row", | 253 | "group/row", |
| 254 | - props.onRowClick && "cursor-pointer outline-none focus-visible:bg-primary/[0.06] focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring active:bg-primary/[0.08]", | 254 | + props.onRowClick && "cursor-pointer outline-hidden focus-visible:bg-primary/6 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring active:bg-primary/8", |
| 255 | )} | 255 | )} |
| 256 | onClick={(event) => { | 256 | onClick={(event) => { |
| 257 | if (!props.onRowClick || isInteractiveTarget(event.target, event.currentTarget)) return; | 257 | if (!props.onRowClick || isInteractiveTarget(event.target, event.currentTarget)) return; |
src/components/ui/date-picker.tsxmodified+6 -6
| @@ -148,16 +148,16 @@ export function DatePicker(props: { | |||
| 148 | <div | 148 | <div |
| 149 | ref={panel} | 149 | ref={panel} |
| 150 | data-kb-top-layer="" | 150 | data-kb-top-layer="" |
| 151 | - class="pointer-events-auto fixed z-[80] rounded-2xl border border-black/[0.08] bg-popover/95 p-2.5 text-popover-foreground shadow-apple backdrop-blur-xl dark:border-white/[0.12]" | 151 | + class="pointer-events-auto fixed z-80 rounded-2xl border border-black/8 bg-popover/95 p-2.5 text-popover-foreground shadow-apple backdrop-blur-xl dark:border-white/12" |
| 152 | style={{ left: `${position().left}px`, top: `${position().top}px`, width: `${position().width}px` }} | 152 | style={{ left: `${position().left}px`, top: `${position().top}px`, width: `${position().width}px` }} |
| 153 | on:pointerdown={(e) => e.stopPropagation()} | 153 | on:pointerdown={(e) => e.stopPropagation()} |
| 154 | > | 154 | > |
| 155 | <div class="mb-3 flex items-center justify-between gap-2"> | 155 | <div class="mb-3 flex items-center justify-between gap-2"> |
| 156 | - <button type="button" class="inline-flex h-10 w-10 items-center justify-center rounded-xl text-muted-foreground transition-all hover:bg-accent hover:text-accent-foreground active:scale-[0.96] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring" onClick={() => moveMonth(-1)}> | 156 | + <button type="button" class="inline-flex h-10 w-10 items-center justify-center rounded-xl text-muted-foreground transition-all hover:bg-accent hover:text-accent-foreground active:scale-[0.96] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring" onClick={() => moveMonth(-1)}> |
| 157 | <IconChevronLeft class="h-4 w-4" /> | 157 | <IconChevronLeft class="h-4 w-4" /> |
| 158 | </button> | 158 | </button> |
| 159 | <p class="min-w-0 truncate px-2 text-sm font-semibold capitalize">{monthLabel()}</p> | 159 | <p class="min-w-0 truncate px-2 text-sm font-semibold capitalize">{monthLabel()}</p> |
| 160 | - <button type="button" class="inline-flex h-10 w-10 items-center justify-center rounded-xl text-muted-foreground transition-all hover:bg-accent hover:text-accent-foreground active:scale-[0.96] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring" onClick={() => moveMonth(1)}> | 160 | + <button type="button" class="inline-flex h-10 w-10 items-center justify-center rounded-xl text-muted-foreground transition-all hover:bg-accent hover:text-accent-foreground active:scale-[0.96] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring" onClick={() => moveMonth(1)}> |
| 161 | <IconChevronRight class="h-4 w-4" /> | 161 | <IconChevronRight class="h-4 w-4" /> |
| 162 | </button> | 162 | </button> |
| 163 | </div> | 163 | </div> |
| @@ -172,9 +172,9 @@ export function DatePicker(props: { | |||
| 172 | <button | 172 | <button |
| 173 | type="button" | 173 | type="button" |
| 174 | class={cn( | 174 | class={cn( |
| 175 | - "inline-flex h-9 items-center justify-center rounded-xl border border-transparent p-0 text-xs font-medium transition-all hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring active:scale-[0.98]", | 175 | + "inline-flex h-9 items-center justify-center rounded-xl border border-transparent p-0 text-xs font-medium transition-all hover:bg-accent hover:text-accent-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring active:scale-[0.98]", |
| 176 | isSameDay(today, day()) && "border-primary/50 text-primary", | 176 | isSameDay(today, day()) && "border-primary/50 text-primary", |
| 177 | - sameDay(selected(), day()) && "border-primary bg-primary text-primary-foreground shadow-sm hover:bg-primary/90 hover:text-primary-foreground", | 177 | + sameDay(selected(), day()) && "border-primary bg-primary text-primary-foreground shadow-xs hover:bg-primary/90 hover:text-primary-foreground", |
| 178 | )} | 178 | )} |
| 179 | onClick={(event) => { | 179 | onClick={(event) => { |
| 180 | event.stopPropagation(); | 180 | event.stopPropagation(); |
| @@ -190,7 +190,7 @@ export function DatePicker(props: { | |||
| 190 | </div> | 190 | </div> |
| 191 | <button | 191 | <button |
| 192 | type="button" | 192 | type="button" |
| 193 | - class="mt-2 inline-flex h-10 w-full items-center justify-center rounded-xl border bg-background/80 px-3 text-xs font-medium text-muted-foreground transition-all hover:bg-accent hover:text-accent-foreground active:scale-[0.98] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring" | 193 | + class="mt-2 inline-flex h-10 w-full items-center justify-center rounded-xl border bg-background/80 px-3 text-xs font-medium text-muted-foreground transition-all hover:bg-accent hover:text-accent-foreground active:scale-[0.98] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring" |
| 194 | onClick={(event) => { | 194 | onClick={(event) => { |
| 195 | event.stopPropagation(); | 195 | event.stopPropagation(); |
| 196 | pick(today); | 196 | pick(today); |
src/components/ui/dialog.tsxmodified+3 -3
| @@ -22,7 +22,7 @@ export function DialogContent<T extends ValidComponent = "div">( | |||
| 22 | <div class="pointer-events-none fixed inset-0 z-50 flex items-center justify-center p-3 sm:p-4"> | 22 | <div class="pointer-events-none fixed inset-0 z-50 flex items-center justify-center p-3 sm:p-4"> |
| 23 | <DialogPrimitive.Content | 23 | <DialogPrimitive.Content |
| 24 | class={cn( | 24 | class={cn( |
| 25 | - "pointer-events-auto relative flex max-h-[min(90vh,48rem)] w-full max-w-3xl flex-col overflow-hidden rounded-2xl border border-black/[0.08] bg-popover/95 text-popover-foreground shadow-apple outline-none backdrop-blur-xl animate-fade-up dark:border-white/[0.12] sm:rounded-3xl", | 25 | + "pointer-events-auto relative flex max-h-[min(90vh,48rem)] w-full max-w-3xl flex-col overflow-hidden rounded-2xl border border-black/8 bg-popover/95 text-popover-foreground shadow-apple outline-hidden backdrop-blur-xl animate-fade-up dark:border-white/12 sm:rounded-3xl", |
| 26 | local.class, | 26 | local.class, |
| 27 | )} | 27 | )} |
| 28 | // ponytail: close only via X — outside/ESC races with clickable cards underneath | 28 | // ponytail: close only via X — outside/ESC races with clickable cards underneath |
| @@ -33,7 +33,7 @@ export function DialogContent<T extends ValidComponent = "div">( | |||
| 33 | > | 33 | > |
| 34 | <DialogPrimitive.CloseButton | 34 | <DialogPrimitive.CloseButton |
| 35 | type="button" | 35 | type="button" |
| 36 | - class="absolute right-3 top-3 z-10 inline-flex h-10 w-10 items-center justify-center rounded-xl border border-black/[0.08] bg-background text-muted-foreground shadow-sm transition-all hover:bg-muted hover:text-foreground active:scale-[0.96] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring dark:border-white/[0.12]" | 36 | + class="absolute right-3 top-3 z-10 inline-flex h-10 w-10 items-center justify-center rounded-xl border border-black/8 bg-background text-muted-foreground shadow-xs transition-all hover:bg-muted hover:text-foreground active:scale-[0.96] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring dark:border-white/12" |
| 37 | aria-label="Close" | 37 | aria-label="Close" |
| 38 | > | 38 | > |
| 39 | <IconX class="h-4 w-4" /> | 39 | <IconX class="h-4 w-4" /> |
| @@ -46,7 +46,7 @@ export function DialogContent<T extends ValidComponent = "div">( | |||
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | export function DialogHeader(props: ParentProps<{ class?: string }>) { | 48 | export function DialogHeader(props: ParentProps<{ class?: string }>) { |
| 49 | - return <div class={cn("border-b border-black/[0.06] bg-card/80 px-5 py-4 pr-14 backdrop-blur-xl dark:border-white/[0.08] sm:px-6", props.class)}>{props.children}</div>; | 49 | + return <div class={cn("border-b border-black/6 bg-card/80 px-5 py-4 pr-14 backdrop-blur-xl dark:border-white/8 sm:px-6", props.class)}>{props.children}</div>; |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | export function DialogBody(props: ParentProps<{ class?: string }>) { | 52 | export function DialogBody(props: ParentProps<{ class?: string }>) { |
src/components/ui/draw-canvas.tsxmodified+4 -4
| @@ -15,7 +15,7 @@ const ZOOM_STEP = 1.25; | |||
| 15 | const EXPORT_MARGIN = 8; | 15 | const EXPORT_MARGIN = 8; |
| 16 | // Floating glass overlays that live inside the canvas, matching the bottom-right | 16 | // Floating glass overlays that live inside the canvas, matching the bottom-right |
| 17 | // zoom control. Position/size utilities are appended per overlay via cn(). | 17 | // zoom control. Position/size utilities are appended per overlay via cn(). |
| 18 | -const OVERLAY_CARD = "absolute z-10 flex gap-1.5 rounded-lg border bg-card/90 p-1.5 shadow-sm backdrop-blur-sm"; | 18 | +const OVERLAY_CARD = "absolute z-10 flex gap-1.5 rounded-lg border bg-card/90 p-1.5 shadow-xs backdrop-blur-xs"; |
| 19 | const OVERLAY_BTN = "flex h-9 w-9 items-center justify-center text-muted-foreground transition-colors hover:bg-accent hover:text-foreground"; | 19 | const OVERLAY_BTN = "flex h-9 w-9 items-center justify-center text-muted-foreground transition-colors hover:bg-accent hover:text-foreground"; |
| 20 | 20 | ||
| 21 | /** | 21 | /** |
| @@ -324,7 +324,7 @@ export function DrawCanvas(props: { | |||
| 324 | cn( | 324 | cn( |
| 325 | "flex h-11 w-11 items-center justify-center rounded-lg border transition-colors", | 325 | "flex h-11 w-11 items-center justify-center rounded-lg border transition-colors", |
| 326 | active | 326 | active |
| 327 | - ? "border-primary bg-primary text-primary-foreground shadow-sm" | 327 | + ? "border-primary bg-primary text-primary-foreground shadow-xs" |
| 328 | : "border-border bg-background text-muted-foreground hover:bg-accent hover:text-foreground", | 328 | : "border-border bg-background text-muted-foreground hover:bg-accent hover:text-foreground", |
| 329 | ); | 329 | ); |
| 330 | 330 | ||
| @@ -365,7 +365,7 @@ export function DrawCanvas(props: { | |||
| 365 | 365 | ||
| 366 | return ( | 366 | return ( |
| 367 | <div class={cn("space-y-3", props.class)}> | 367 | <div class={cn("space-y-3", props.class)}> |
| 368 | - <div ref={wrap} class="relative h-[26rem] overflow-hidden rounded-lg border bg-white shadow-inner sm:h-[30rem]" style={paperStyle()}> | 368 | + <div ref={wrap} class="relative h-104 overflow-hidden rounded-lg border bg-white shadow-inner sm:h-120" style={paperStyle()}> |
| 369 | <canvas | 369 | <canvas |
| 370 | ref={canvas} | 370 | ref={canvas} |
| 371 | class="h-full w-full touch-none" | 371 | class="h-full w-full touch-none" |
| @@ -591,7 +591,7 @@ export function DrawCanvas(props: { | |||
| 591 | </button> | 591 | </button> |
| 592 | </div> | 592 | </div> |
| 593 | 593 | ||
| 594 | - <div class="absolute bottom-2 right-2 z-10 flex flex-col divide-y divide-border overflow-hidden rounded-lg border bg-card/90 shadow-sm backdrop-blur-sm"> | 594 | + <div class="absolute bottom-2 right-2 z-10 flex flex-col divide-y divide-border overflow-hidden rounded-lg border bg-card/90 shadow-xs backdrop-blur-xs"> |
| 595 | <button | 595 | <button |
| 596 | type="button" | 596 | type="button" |
| 597 | class="flex h-9 w-9 items-center justify-center text-muted-foreground transition-colors hover:bg-accent hover:text-foreground" | 597 | class="flex h-9 w-9 items-center justify-center text-muted-foreground transition-colors hover:bg-accent hover:text-foreground" |
src/components/ui/dropdown-menu.tsxmodified+18 -18
| @@ -21,9 +21,9 @@ export function DropdownMenuContent<T extends ValidComponent = "div">( | |||
| 21 | <DropdownMenuPrimitive.Portal> | 21 | <DropdownMenuPrimitive.Portal> |
| 22 | <DropdownMenuPrimitive.Content | 22 | <DropdownMenuPrimitive.Content |
| 23 | class={cn( | 23 | class={cn( |
| 24 | - "z-50 min-w-[12rem] overflow-hidden rounded-2xl border border-black/[0.08] dark:border-white/[0.12] bg-popover/95 backdrop-blur-xl p-1.5 text-popover-foreground shadow-apple outline-none", | 24 | + "z-50 min-w-48 overflow-hidden rounded-2xl border border-black/8 dark:border-white/12 bg-popover/95 backdrop-blur-xl p-1.5 text-popover-foreground shadow-apple outline-hidden", |
| 25 | - "origin-[var(--kb-menu-content-transform-origin)]", | 25 | + "origin-(--kb-menu-content-transform-origin)", |
| 26 | - "animate-in fade-in-0 zoom-in-95 data-[closed]:animate-out data-[closed]:fade-out-0 data-[closed]:zoom-out-95", | 26 | + "animate-in fade-in-0 zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", |
| 27 | local.class, | 27 | local.class, |
| 28 | )} | 28 | )} |
| 29 | {...rest} | 29 | {...rest} |
| @@ -42,12 +42,12 @@ export function DropdownMenuItem<T extends ValidComponent = "div">( | |||
| 42 | return ( | 42 | return ( |
| 43 | <DropdownMenuPrimitive.Item | 43 | <DropdownMenuPrimitive.Item |
| 44 | class={cn( | 44 | class={cn( |
| 45 | - "relative flex min-h-[2.5rem] cursor-pointer select-none items-center gap-2.5 rounded-xl px-3 py-2 text-sm font-medium outline-none transition-all duration-150", | 45 | + "relative flex min-h-10 cursor-pointer select-none items-center gap-2.5 rounded-xl px-3 py-2 text-sm font-medium outline-hidden transition-all duration-150", |
| 46 | - "focus:bg-primary/10 focus:text-primary data-[highlighted]:bg-primary/10 data-[highlighted]:text-primary active:scale-[0.98]", | 46 | + "focus:bg-primary/10 focus:text-primary data-highlighted:bg-primary/10 data-highlighted:text-primary active:scale-[0.98]", |
| 47 | - "data-[disabled]:pointer-events-none data-[disabled]:opacity-40", | 47 | + "data-disabled:pointer-events-none data-disabled:opacity-40", |
| 48 | local.inset && "pl-9", | 48 | local.inset && "pl-9", |
| 49 | local.destructive && | 49 | local.destructive && |
| 50 | - "text-destructive focus:bg-destructive/10 focus:text-destructive data-[highlighted]:bg-destructive/10 data-[highlighted]:text-destructive", | 50 | + "text-destructive focus:bg-destructive/10 focus:text-destructive data-highlighted:bg-destructive/10 data-highlighted:text-destructive", |
| 51 | local.class, | 51 | local.class, |
| 52 | )} | 52 | )} |
| 53 | {...rest} | 53 | {...rest} |
| @@ -62,9 +62,9 @@ export function DropdownMenuCheckboxItem<T extends ValidComponent = "div">( | |||
| 62 | return ( | 62 | return ( |
| 63 | <DropdownMenuPrimitive.CheckboxItem | 63 | <DropdownMenuPrimitive.CheckboxItem |
| 64 | class={cn( | 64 | class={cn( |
| 65 | - "relative flex min-h-[2.5rem] cursor-pointer select-none items-center rounded-xl py-2 pl-9 pr-3 text-sm font-medium outline-none transition-all duration-150", | 65 | + "relative flex min-h-10 cursor-pointer select-none items-center rounded-xl py-2 pl-9 pr-3 text-sm font-medium outline-hidden transition-all duration-150", |
| 66 | - "focus:bg-primary/10 focus:text-primary data-[highlighted]:bg-primary/10 data-[highlighted]:text-primary active:scale-[0.98]", | 66 | + "focus:bg-primary/10 focus:text-primary data-highlighted:bg-primary/10 data-highlighted:text-primary active:scale-[0.98]", |
| 67 | - "data-[disabled]:pointer-events-none data-[disabled]:opacity-40", | 67 | + "data-disabled:pointer-events-none data-disabled:opacity-40", |
| 68 | local.class, | 68 | local.class, |
| 69 | )} | 69 | )} |
| 70 | {...rest} | 70 | {...rest} |
| @@ -103,9 +103,9 @@ export function DropdownMenuRadioItem<T extends ValidComponent = "div">( | |||
| 103 | return ( | 103 | return ( |
| 104 | <DropdownMenuPrimitive.RadioItem | 104 | <DropdownMenuPrimitive.RadioItem |
| 105 | class={cn( | 105 | class={cn( |
| 106 | - "relative flex min-h-[2.5rem] cursor-pointer select-none items-center rounded-xl py-2 pl-9 pr-3 text-sm font-medium outline-none transition-all duration-150", | 106 | + "relative flex min-h-10 cursor-pointer select-none items-center rounded-xl py-2 pl-9 pr-3 text-sm font-medium outline-hidden transition-all duration-150", |
| 107 | - "focus:bg-primary/10 focus:text-primary data-[highlighted]:bg-primary/10 data-[highlighted]:text-primary active:scale-[0.98]", | 107 | + "focus:bg-primary/10 focus:text-primary data-highlighted:bg-primary/10 data-highlighted:text-primary active:scale-[0.98]", |
| 108 | - "data-[disabled]:pointer-events-none data-[disabled]:opacity-40", | 108 | + "data-disabled:pointer-events-none data-disabled:opacity-40", |
| 109 | local.class, | 109 | local.class, |
| 110 | )} | 110 | )} |
| 111 | {...rest} | 111 | {...rest} |
| @@ -129,8 +129,8 @@ export function DropdownMenuSubTrigger<T extends ValidComponent = "div">( | |||
| 129 | return ( | 129 | return ( |
| 130 | <DropdownMenuPrimitive.SubTrigger | 130 | <DropdownMenuPrimitive.SubTrigger |
| 131 | class={cn( | 131 | class={cn( |
| 132 | - "flex min-h-[2.5rem] w-full cursor-pointer select-none items-center gap-2.5 rounded-xl px-3 py-2 text-sm font-medium outline-none transition-all duration-150", | 132 | + "flex min-h-10 w-full cursor-pointer select-none items-center gap-2.5 rounded-xl px-3 py-2 text-sm font-medium outline-hidden transition-all duration-150", |
| 133 | - "focus:bg-primary/10 focus:text-primary data-[highlighted]:bg-primary/10 data-[highlighted]:text-primary data-[expanded]:bg-primary/10 data-[expanded]:text-primary", | 133 | + "focus:bg-primary/10 focus:text-primary data-highlighted:bg-primary/10 data-highlighted:text-primary data-expanded:bg-primary/10 data-expanded:text-primary", |
| 134 | local.inset && "pl-9", | 134 | local.inset && "pl-9", |
| 135 | local.class, | 135 | local.class, |
| 136 | )} | 136 | )} |
| @@ -152,9 +152,9 @@ export function DropdownMenuSubContent<T extends ValidComponent = "div">( | |||
| 152 | <DropdownMenuPrimitive.Portal> | 152 | <DropdownMenuPrimitive.Portal> |
| 153 | <DropdownMenuPrimitive.SubContent | 153 | <DropdownMenuPrimitive.SubContent |
| 154 | class={cn( | 154 | class={cn( |
| 155 | - "z-50 min-w-[9rem] overflow-hidden rounded-2xl border border-black/[0.08] dark:border-white/[0.12] bg-popover/95 backdrop-blur-xl p-1.5 text-popover-foreground shadow-apple outline-none", | 155 | + "z-50 min-w-36 overflow-hidden rounded-2xl border border-black/8 dark:border-white/12 bg-popover/95 backdrop-blur-xl p-1.5 text-popover-foreground shadow-apple outline-hidden", |
| 156 | - "origin-[var(--kb-menu-content-transform-origin)]", | 156 | + "origin-(--kb-menu-content-transform-origin)", |
| 157 | - "animate-in fade-in-0 zoom-in-95 data-[closed]:animate-out data-[closed]:fade-out-0 data-[closed]:zoom-out-95", | 157 | + "animate-in fade-in-0 zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", |
| 158 | local.class, | 158 | local.class, |
| 159 | )} | 159 | )} |
| 160 | {...rest} | 160 | {...rest} |
src/components/ui/empty-state.tsxmodified+1 -1
| @@ -25,7 +25,7 @@ export function EmptyState(props: { | |||
| 25 | return ( | 25 | return ( |
| 26 | <div | 26 | <div |
| 27 | class={cn( | 27 | class={cn( |
| 28 | - "flex min-h-[12rem] flex-col items-center justify-center gap-3 rounded-2xl border border-dashed border-border/70 bg-muted/15 px-6 py-8 text-center transition-all duration-300", | 28 | + "flex min-h-48 flex-col items-center justify-center gap-3 rounded-2xl border border-dashed border-border/70 bg-muted/15 px-6 py-8 text-center transition-all duration-300", |
| 29 | props.class, | 29 | props.class, |
| 30 | )} | 30 | )} |
| 31 | > | 31 | > |
src/components/ui/input.tsxmodified+1 -1
| @@ -9,7 +9,7 @@ export function Input(props: InputProps) { | |||
| 9 | return ( | 9 | return ( |
| 10 | <input | 10 | <input |
| 11 | class={cn( | 11 | class={cn( |
| 12 | - "flex h-11 w-full rounded-xl border border-border/80 bg-muted/30 px-3.5 py-2 text-sm transition-all duration-150 file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground/70 hover:bg-muted/50 hover:border-border focus:bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/60 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", | 12 | + "flex h-11 w-full rounded-xl border border-border/80 bg-muted/30 px-3.5 py-2 text-sm transition-all duration-150 file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground/70 hover:bg-muted/50 hover:border-border focus:bg-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/60 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", |
| 13 | local.class, | 13 | local.class, |
| 14 | )} | 14 | )} |
| 15 | {...rest} | 15 | {...rest} |
src/components/ui/popover.tsxmodified+2 -2
| @@ -17,8 +17,8 @@ export function PopoverContent<T extends ValidComponent = "div">( | |||
| 17 | <PopoverPrimitive.Portal> | 17 | <PopoverPrimitive.Portal> |
| 18 | <PopoverPrimitive.Content | 18 | <PopoverPrimitive.Content |
| 19 | class={cn( | 19 | class={cn( |
| 20 | - "z-50 rounded-2xl border border-black/[0.08] dark:border-white/[0.12] bg-popover/95 backdrop-blur-xl p-2 text-popover-foreground shadow-apple outline-none", | 20 | + "z-50 rounded-2xl border border-black/8 dark:border-white/12 bg-popover/95 backdrop-blur-xl p-2 text-popover-foreground shadow-apple outline-hidden", |
| 21 | - "origin-[var(--kb-popover-content-transform-origin)] animate-in fade-in-0 zoom-in-95 data-[closed]:animate-out data-[closed]:fade-out-0 data-[closed]:zoom-out-95", | 21 | + "origin-(--kb-popover-content-transform-origin) animate-in fade-in-0 zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", |
| 22 | local.class, | 22 | local.class, |
| 23 | )} | 23 | )} |
| 24 | {...rest} | 24 | {...rest} |
src/components/ui/replayable-image.tsxmodified+1 -1
| @@ -50,7 +50,7 @@ export function ReplayableImage(props: { | |||
| 50 | <div class={cn("space-y-2", props.class)}> | 50 | <div class={cn("space-y-2", props.class)}> |
| 51 | {/* local boundary: the lazy playback chunk must not suspend the page around it */} | 51 | {/* local boundary: the lazy playback chunk must not suspend the page around it */} |
| 52 | {/* min-h reserves the box while the chunk loads: imgClass alone can be height:auto → 0px */} | 52 | {/* min-h reserves the box while the chunk loads: imgClass alone can be height:auto → 0px */} |
| 53 | - <Suspense fallback={<div class={cn("min-h-[16rem]", props.imgClass)} />}> | 53 | + <Suspense fallback={<div class={cn("min-h-64", props.imgClass)} />}> |
| 54 | <Show when={mode() === "playback" && scene()} fallback={<img src={props.src} alt={props.alt} class={props.imgClass} />}> | 54 | <Show when={mode() === "playback" && scene()} fallback={<img src={props.src} alt={props.alt} class={props.imgClass} />}> |
| 55 | {(s) => <DrawingPlayback scene={s()} canvasClass={props.imgClass} />} | 55 | {(s) => <DrawingPlayback scene={s()} canvasClass={props.imgClass} />} |
| 56 | </Show> | 56 | </Show> |
src/components/ui/rich-text-editor.tsxmodified+3 -3
| @@ -87,7 +87,7 @@ export function RichTextEditor(props: RichTextEditorProps) { | |||
| 87 | S | 87 | S |
| 88 | </button> | 88 | </button> |
| 89 | 89 | ||
| 90 | - <div class="mx-1 h-4 w-[1px] bg-border" /> | 90 | + <div class="mx-1 h-4 w-px bg-border" /> |
| 91 | 91 | ||
| 92 | <button | 92 | <button |
| 93 | type="button" | 93 | type="button" |
| @@ -106,7 +106,7 @@ export function RichTextEditor(props: RichTextEditorProps) { | |||
| 106 | 1. Liste | 106 | 1. Liste |
| 107 | </button> | 107 | </button> |
| 108 | 108 | ||
| 109 | - <div class="mx-1 h-4 w-[1px] bg-border" /> | 109 | + <div class="mx-1 h-4 w-px bg-border" /> |
| 110 | 110 | ||
| 111 | <button | 111 | <button |
| 112 | type="button" | 112 | type="button" |
| @@ -124,7 +124,7 @@ export function RichTextEditor(props: RichTextEditorProps) { | |||
| 124 | ref={editorRef} | 124 | ref={editorRef} |
| 125 | contentEditable | 125 | contentEditable |
| 126 | class={cn( | 126 | class={cn( |
| 127 | - "w-full h-full min-h-[140px] outline-none text-xs leading-relaxed text-foreground whitespace-pre-wrap overflow-auto", | 127 | + "w-full h-full min-h-[140px] outline-hidden text-xs leading-relaxed text-foreground whitespace-pre-wrap overflow-auto", |
| 128 | props.minHeight ? props.minHeight : "min-h-[140px]" | 128 | props.minHeight ? props.minHeight : "min-h-[140px]" |
| 129 | )} | 129 | )} |
| 130 | onInput={handleInput} | 130 | onInput={handleInput} |
src/components/ui/select.tsxmodified+4 -4
| @@ -34,7 +34,7 @@ export function DropdownSelect<T extends string | number = string>(props: Dropdo | |||
| 34 | <DropdownMenuTrigger | 34 | <DropdownMenuTrigger |
| 35 | disabled={props.disabled} | 35 | disabled={props.disabled} |
| 36 | class={cn( | 36 | class={cn( |
| 37 | - "inline-flex h-9 items-center justify-between gap-2.5 rounded-lg border border-border/70 bg-muted/70 px-3 text-sm font-medium text-foreground shadow-none transition-all hover:bg-muted active:scale-[0.97] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 dark:border-white/[0.08] dark:bg-[#222222] dark:text-white dark:hover:bg-white/[0.12]", | 37 | + "inline-flex h-9 items-center justify-between gap-2.5 rounded-lg border border-border/70 bg-muted/70 px-3 text-sm font-medium text-foreground shadow-none transition-all hover:bg-muted active:scale-[0.97] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 dark:border-white/8 dark:bg-[#222222] dark:text-white dark:hover:bg-white/12", |
| 38 | props.triggerClass, | 38 | props.triggerClass, |
| 39 | props.class, | 39 | props.class, |
| 40 | )} | 40 | )} |
| @@ -50,7 +50,7 @@ export function DropdownSelect<T extends string | number = string>(props: Dropdo | |||
| 50 | </div> | 50 | </div> |
| 51 | <IconChevronDown class="h-3.5 w-3.5 shrink-0 opacity-60 transition-transform duration-200" /> | 51 | <IconChevronDown class="h-3.5 w-3.5 shrink-0 opacity-60 transition-transform duration-200" /> |
| 52 | </DropdownMenuTrigger> | 52 | </DropdownMenuTrigger> |
| 53 | - <DropdownMenuContent class="min-w-[12rem] max-h-72 overflow-y-auto rounded-2xl border border-black/[0.08] dark:border-white/[0.12] bg-popover/95 backdrop-blur-xl p-1.5 shadow-apple"> | 53 | + <DropdownMenuContent class="min-w-48 max-h-72 overflow-y-auto rounded-2xl border border-black/8 dark:border-white/12 bg-popover/95 backdrop-blur-xl p-1.5 shadow-apple"> |
| 54 | <For each={props.options}> | 54 | <For each={props.options}> |
| 55 | {(option) => { | 55 | {(option) => { |
| 56 | const isSelected = () => option.value === props.value; | 56 | const isSelected = () => option.value === props.value; |
| @@ -88,8 +88,8 @@ export function Select(props: SelectProps) { | |||
| 88 | <div class="relative w-full"> | 88 | <div class="relative w-full"> |
| 89 | <select | 89 | <select |
| 90 | class={cn( | 90 | class={cn( |
| 91 | - "flex h-11 w-full appearance-none rounded-xl border border-black/[0.08] dark:border-white/[0.12] bg-card pl-3.5 pr-9 py-2 text-xs font-medium text-foreground transition-all duration-150", | 91 | + "flex h-11 w-full appearance-none rounded-xl border border-black/8 dark:border-white/12 bg-card pl-3.5 pr-9 py-2 text-xs font-medium text-foreground transition-all duration-150", |
| 92 | - "hover:bg-secondary focus:bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/60 focus-visible:ring-offset-2", | 92 | + "hover:bg-secondary focus:bg-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/60 focus-visible:ring-offset-2", |
| 93 | "disabled:cursor-not-allowed disabled:opacity-50 [&>option]:bg-popover [&>option]:text-popover-foreground [&>option]:py-1.5", | 93 | "disabled:cursor-not-allowed disabled:opacity-50 [&>option]:bg-popover [&>option]:text-popover-foreground [&>option]:py-1.5", |
| 94 | local.class, | 94 | local.class, |
| 95 | )} | 95 | )} |
src/components/ui/side-panel.tsxmodified+5 -5
| @@ -23,17 +23,17 @@ export function SidePanel( | |||
| 23 | return ( | 23 | return ( |
| 24 | <DialogPrimitive open={props.open} onOpenChange={props.onOpenChange}> | 24 | <DialogPrimitive open={props.open} onOpenChange={props.onOpenChange}> |
| 25 | <DialogPrimitive.Portal> | 25 | <DialogPrimitive.Portal> |
| 26 | - <DialogPrimitive.Overlay class="fixed inset-0 z-50 bg-black/40 backdrop-blur-md transition-opacity duration-200 data-[closed]:opacity-0 data-[expanded]:opacity-100" /> | 26 | + <DialogPrimitive.Overlay class="fixed inset-0 z-50 bg-black/40 backdrop-blur-md transition-opacity duration-200 data-closed:opacity-0 data-expanded:opacity-100" /> |
| 27 | <DialogPrimitive.Content | 27 | <DialogPrimitive.Content |
| 28 | class={cn( | 28 | class={cn( |
| 29 | - "fixed inset-y-0 right-0 z-50 flex h-full w-full flex-col border-l border-black/[0.08] dark:border-white/[0.12] bg-background text-foreground shadow-apple outline-none", | 29 | + "fixed inset-y-0 right-0 z-50 flex h-full w-full flex-col border-l border-black/8 dark:border-white/12 bg-background text-foreground shadow-apple outline-hidden", |
| 30 | "sm:inset-y-3 sm:right-3 sm:h-auto sm:max-h-[calc(100vh-1.5rem)] sm:rounded-3xl sm:border", | 30 | "sm:inset-y-3 sm:right-3 sm:h-auto sm:max-h-[calc(100vh-1.5rem)] sm:rounded-3xl sm:border", |
| 31 | - "transition-[transform,opacity] duration-200 ease-out data-[closed]:translate-x-full data-[closed]:opacity-0 data-[expanded]:translate-x-0 data-[expanded]:opacity-100", | 31 | + "transition-[transform,opacity] duration-200 ease-out data-closed:translate-x-full data-closed:opacity-0 data-expanded:translate-x-0 data-expanded:opacity-100", |
| 32 | width(), | 32 | width(), |
| 33 | props.class, | 33 | props.class, |
| 34 | )} | 34 | )} |
| 35 | > | 35 | > |
| 36 | - <div class="flex shrink-0 items-start justify-between gap-4 border-b border-black/[0.06] dark:border-white/[0.08] bg-card/90 backdrop-blur-xl px-5 py-4 sm:rounded-t-3xl sm:px-6 sm:py-5"> | 36 | + <div class="flex shrink-0 items-start justify-between gap-4 border-b border-black/6 dark:border-white/8 bg-card/90 backdrop-blur-xl px-5 py-4 sm:rounded-t-3xl sm:px-6 sm:py-5"> |
| 37 | <div class="min-w-0 flex-1 space-y-1"> | 37 | <div class="min-w-0 flex-1 space-y-1"> |
| 38 | <DialogPrimitive.Title class="truncate font-display text-base font-semibold leading-6 tracking-tight"> | 38 | <DialogPrimitive.Title class="truncate font-display text-base font-semibold leading-6 tracking-tight"> |
| 39 | {props.title} | 39 | {props.title} |
| @@ -44,7 +44,7 @@ export function SidePanel( | |||
| 44 | </DialogPrimitive.Description> | 44 | </DialogPrimitive.Description> |
| 45 | )} | 45 | )} |
| 46 | </div> | 46 | </div> |
| 47 | - <DialogPrimitive.CloseButton class="inline-flex h-10 w-10 shrink-0 items-center justify-center rounded-xl border border-black/[0.08] dark:border-white/[0.12] bg-background text-muted-foreground shadow-sm transition-all hover:bg-muted hover:text-foreground active:scale-[0.96] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"> | 47 | + <DialogPrimitive.CloseButton class="inline-flex h-10 w-10 shrink-0 items-center justify-center rounded-xl border border-black/8 dark:border-white/12 bg-background text-muted-foreground shadow-xs transition-all hover:bg-muted hover:text-foreground active:scale-[0.96] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring"> |
| 48 | <IconX class="h-4 w-4" /> | 48 | <IconX class="h-4 w-4" /> |
| 49 | </DialogPrimitive.CloseButton> | 49 | </DialogPrimitive.CloseButton> |
| 50 | </div> | 50 | </div> |
src/components/ui/table-row-actions.tsxmodified+2 -2
| @@ -21,12 +21,12 @@ export function TableRowActions(props: { label: string; actions: TableRowAction[ | |||
| 21 | <div class="flex justify-center"> | 21 | <div class="flex justify-center"> |
| 22 | <DropdownMenu placement="bottom-end" gutter={6}> | 22 | <DropdownMenu placement="bottom-end" gutter={6}> |
| 23 | <DropdownMenuTrigger | 23 | <DropdownMenuTrigger |
| 24 | - class="inline-flex h-9 w-9 items-center justify-center rounded-xl text-foreground/80 opacity-90 outline-none transition-all duration-150 hover:bg-secondary hover:text-foreground hover:opacity-100 active:scale-[0.96] focus-visible:opacity-100 focus-visible:ring-2 focus-visible:ring-ring data-[expanded]:bg-secondary data-[expanded]:text-foreground data-[expanded]:opacity-100 sm:group-hover:opacity-100 sm:group-hover/row:opacity-100" | 24 | + class="inline-flex h-9 w-9 items-center justify-center rounded-xl text-foreground/80 opacity-90 outline-hidden transition-all duration-150 hover:bg-secondary hover:text-foreground hover:opacity-100 active:scale-[0.96] focus-visible:opacity-100 focus-visible:ring-2 focus-visible:ring-ring data-expanded:bg-secondary data-expanded:text-foreground data-expanded:opacity-100 sm:group-hover:opacity-100 sm:group-hover/row:opacity-100" |
| 25 | aria-label={props.label} | 25 | aria-label={props.label} |
| 26 | > | 26 | > |
| 27 | <IconDotsVertical class="h-4 w-4" /> | 27 | <IconDotsVertical class="h-4 w-4" /> |
| 28 | </DropdownMenuTrigger> | 28 | </DropdownMenuTrigger> |
| 29 | - <DropdownMenuContent class="w-48 rounded-2xl border border-black/[0.08] dark:border-white/[0.12] bg-popover/95 backdrop-blur-xl p-1.5 shadow-apple"> | 29 | + <DropdownMenuContent class="w-48 rounded-2xl border border-black/8 dark:border-white/12 bg-popover/95 backdrop-blur-xl p-1.5 shadow-apple"> |
| 30 | <For each={props.actions}> | 30 | <For each={props.actions}> |
| 31 | {(action) => ( | 31 | {(action) => ( |
| 32 | <DropdownMenuItem | 32 | <DropdownMenuItem |
src/components/ui/table.tsxmodified+2 -2
| @@ -48,7 +48,7 @@ export function TableHead(props: ParentProps<ComponentProps<"th">>) { | |||
| 48 | return ( | 48 | return ( |
| 49 | <th | 49 | <th |
| 50 | class={cn( | 50 | class={cn( |
| 51 | - "h-10 px-3 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", | 51 | + "h-10 px-3 text-left align-middle font-medium text-muted-foreground has-[[role=checkbox]]:pr-0", |
| 52 | local.class, | 52 | local.class, |
| 53 | )} | 53 | )} |
| 54 | {...rest} | 54 | {...rest} |
| @@ -61,7 +61,7 @@ export function TableHead(props: ParentProps<ComponentProps<"th">>) { | |||
| 61 | export function TableCell(props: ParentProps<ComponentProps<"td">>) { | 61 | export function TableCell(props: ParentProps<ComponentProps<"td">>) { |
| 62 | const [local, rest] = splitProps(props, ["class", "children"]); | 62 | const [local, rest] = splitProps(props, ["class", "children"]); |
| 63 | return ( | 63 | return ( |
| 64 | - <td class={cn("p-3 align-middle [&:has([role=checkbox])]:pr-0", local.class)} {...rest}> | 64 | + <td class={cn("p-3 align-middle has-[[role=checkbox]]:pr-0", local.class)} {...rest}> |
| 65 | {local.children} | 65 | {local.children} |
| 66 | </td> | 66 | </td> |
| 67 | ); | 67 | ); |
src/components/ui/tabs.tsxmodified+6 -6
| @@ -12,7 +12,7 @@ export function TabsList<T extends ValidComponent = "div">( | |||
| 12 | return ( | 12 | return ( |
| 13 | <TabsPrimitive.List | 13 | <TabsPrimitive.List |
| 14 | class={cn( | 14 | class={cn( |
| 15 | - "sticky top-2 z-20 flex w-full max-w-full items-center gap-1.5 overflow-x-auto rounded-2xl border border-border/80 bg-muted/70 p-1.5 text-muted-foreground shadow-inner backdrop-blur-xl dark:border-white/[0.1] dark:bg-muted/40 sm:static", | 15 | + "sticky top-2 z-20 flex w-full max-w-full items-center gap-1.5 overflow-x-auto rounded-2xl border border-border/80 bg-muted/70 p-1.5 text-muted-foreground shadow-inner backdrop-blur-xl dark:border-white/10 dark:bg-muted/40 sm:static", |
| 16 | local.class, | 16 | local.class, |
| 17 | )} | 17 | )} |
| 18 | {...rest} | 18 | {...rest} |
| @@ -27,16 +27,16 @@ export function TabsTrigger<T extends ValidComponent = "button">( | |||
| 27 | return ( | 27 | return ( |
| 28 | <TabsPrimitive.Trigger | 28 | <TabsPrimitive.Trigger |
| 29 | class={cn( | 29 | class={cn( |
| 30 | - "group relative inline-flex h-10 min-w-28 shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-xl border border-transparent px-4 text-sm font-semibold text-muted-foreground/75 transition-all duration-200 hover:bg-background/30 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[selected]:bg-card data-[selected]:text-foreground data-[selected]:shadow-md data-[selected]:ring-1 data-[selected]:ring-border/80 dark:data-[selected]:bg-card dark:data-[selected]:ring-1 dark:data-[selected]:ring-white/[0.2] dark:data-[selected]:shadow-[0_0_16px_rgba(255,255,255,0.08)]", | 30 | + "group relative inline-flex h-10 min-w-28 shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-xl border border-transparent px-4 text-sm font-semibold text-muted-foreground/75 transition-all duration-200 hover:bg-background/30 hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-selected:bg-card data-selected:text-foreground data-selected:shadow-md data-selected:ring-1 data-selected:ring-border/80 dark:data-selected:bg-card dark:data-selected:ring-1 dark:data-selected:ring-white/20 dark:data-selected:shadow-[0_0_16px_rgba(255,255,255,0.08)]", |
| 31 | - "first:tab-line-rose [&:nth-child(2)]:tab-line-blue [&:nth-child(3)]:tab-line-emerald [&:nth-child(4)]:tab-line-violet [&:nth-child(5)]:tab-line-amber [&:nth-child(6)]:tab-line-cyan", | 31 | + "first:tab-line-rose nth-2:tab-line-blue nth-3:tab-line-emerald nth-4:tab-line-violet nth-5:tab-line-amber nth-6:tab-line-cyan", |
| 32 | local.class, | 32 | local.class, |
| 33 | )} | 33 | )} |
| 34 | {...rest} | 34 | {...rest} |
| 35 | > | 35 | > |
| 36 | - <span class="relative z-10 inline-flex items-center gap-2 text-muted-foreground/75 transition-colors duration-200 group-data-[selected]:text-foreground"> | 36 | + <span class="relative z-10 inline-flex items-center gap-2 text-muted-foreground/75 transition-colors duration-200 group-data-selected:text-foreground"> |
| 37 | {local.children} | 37 | {local.children} |
| 38 | </span> | 38 | </span> |
| 39 | - <span class="tab-indicator-line absolute bottom-0.5 left-3.5 right-3.5 h-0.5 origin-center scale-x-0 rounded-full opacity-0 transition-all duration-300 ease-out group-data-[selected]:scale-x-100 group-data-[selected]:opacity-100" /> | 39 | + <span class="tab-indicator-line absolute bottom-0.5 left-3.5 right-3.5 h-0.5 origin-center scale-x-0 rounded-full opacity-0 transition-all duration-300 ease-out group-data-selected:scale-x-100 group-data-selected:opacity-100" /> |
| 40 | </TabsPrimitive.Trigger> | 40 | </TabsPrimitive.Trigger> |
| 41 | ); | 41 | ); |
| 42 | } | 42 | } |
| @@ -47,7 +47,7 @@ export function TabsContent<T extends ValidComponent = "div">( | |||
| 47 | const [local, rest] = splitProps(props as ComponentProps<typeof TabsPrimitive.Content>, ["class"]); | 47 | const [local, rest] = splitProps(props as ComponentProps<typeof TabsPrimitive.Content>, ["class"]); |
| 48 | return ( | 48 | return ( |
| 49 | <TabsPrimitive.Content | 49 | <TabsPrimitive.Content |
| 50 | - class={cn("mt-3 hidden rounded-2xl border border-border/80 bg-card p-4 shadow-sm outline-none data-[selected]:block focus-visible:ring-2 focus-visible:ring-ring dark:border-white/[0.08]", local.class)} | 50 | + class={cn("mt-3 hidden rounded-2xl border border-border/80 bg-card p-4 shadow-xs outline-hidden data-selected:block focus-visible:ring-2 focus-visible:ring-ring dark:border-white/8", local.class)} |
| 51 | {...rest} | 51 | {...rest} |
| 52 | /> | 52 | /> |
| 53 | ); | 53 | ); |
src/components/ui/textarea.tsxmodified+1 -1
| @@ -9,7 +9,7 @@ export function Textarea(props: TextareaProps) { | |||
| 9 | return ( | 9 | return ( |
| 10 | <textarea | 10 | <textarea |
| 11 | class={cn( | 11 | class={cn( |
| 12 | - "flex min-h-24 w-full rounded-xl border border-border/80 bg-muted/30 px-3.5 py-2.5 text-sm shadow-sm transition-all duration-150 placeholder:text-muted-foreground/70 hover:bg-muted/50 hover:border-border focus:bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/60 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", | 12 | + "flex min-h-24 w-full rounded-xl border border-border/80 bg-muted/30 px-3.5 py-2.5 text-sm shadow-xs transition-all duration-150 placeholder:text-muted-foreground/70 hover:bg-muted/50 hover:border-border focus:bg-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/60 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", |
| 13 | local.class, | 13 | local.class, |
| 14 | )} | 14 | )} |
| 15 | {...rest} | 15 | {...rest} |
src/components/ui/toast.tsxmodified+3 -3
| @@ -24,17 +24,17 @@ function dismissToast(id: number) { | |||
| 24 | export function Toaster() { | 24 | export function Toaster() { |
| 25 | return ( | 25 | return ( |
| 26 | <Portal> | 26 | <Portal> |
| 27 | - <div class="pointer-events-none fixed inset-x-3 top-4 z-[80] flex flex-col items-end gap-2 sm:inset-x-auto sm:right-5 sm:w-96"> | 27 | + <div class="pointer-events-none fixed inset-x-3 top-4 z-80 flex flex-col items-end gap-2 sm:inset-x-auto sm:right-5 sm:w-96"> |
| 28 | <For each={toasts()}> | 28 | <For each={toasts()}> |
| 29 | {(toast) => ( | 29 | {(toast) => ( |
| 30 | - <div class="pointer-events-auto flex w-full items-center gap-3 rounded-xl border border-black/[0.08] bg-card/95 px-3.5 py-2.5 text-card-foreground shadow-apple backdrop-blur-xl dark:border-white/[0.12]"> | 30 | + <div class="pointer-events-auto flex w-full items-center gap-3 rounded-xl border border-black/8 bg-card/95 px-3.5 py-2.5 text-card-foreground shadow-apple backdrop-blur-xl dark:border-white/12"> |
| 31 | <span class="flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-emerald-500/10 text-emerald-700 dark:text-emerald-300"> | 31 | <span class="flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-emerald-500/10 text-emerald-700 dark:text-emerald-300"> |
| 32 | <IconCheck class="h-3.5 w-3.5" /> | 32 | <IconCheck class="h-3.5 w-3.5" /> |
| 33 | </span> | 33 | </span> |
| 34 | <p class="min-w-0 flex-1 text-xs font-medium leading-relaxed">{toast.title}</p> | 34 | <p class="min-w-0 flex-1 text-xs font-medium leading-relaxed">{toast.title}</p> |
| 35 | <button | 35 | <button |
| 36 | type="button" | 36 | type="button" |
| 37 | - class={cn("inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-all hover:bg-muted hover:text-foreground active:scale-[0.96] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring")} | 37 | + class={cn("inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-all hover:bg-muted hover:text-foreground active:scale-[0.96] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring")} |
| 38 | aria-label="Dismiss" | 38 | aria-label="Dismiss" |
| 39 | onClick={() => dismissToast(toast.id)} | 39 | onClick={() => dismissToast(toast.id)} |
| 40 | > | 40 | > |
src/components/users/user-search-select.tsxmodified+2 -2
| @@ -153,7 +153,7 @@ export function UserSearchSelect(props: { | |||
| 153 | <Show when={dropdownOpen()}> | 153 | <Show when={dropdownOpen()}> |
| 154 | <div | 154 | <div |
| 155 | id={`${props.id}-results`} | 155 | id={`${props.id}-results`} |
| 156 | - class="absolute z-50 mt-1 max-h-64 w-full overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md outline-none" | 156 | + class="absolute z-50 mt-1 max-h-64 w-full overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md outline-hidden" |
| 157 | > | 157 | > |
| 158 | <ul role="listbox" class="space-y-1"> | 158 | <ul role="listbox" class="space-y-1"> |
| 159 | <For each={options()}> | 159 | <For each={options()}> |
| @@ -161,7 +161,7 @@ export function UserSearchSelect(props: { | |||
| 161 | <li role="option" aria-selected={props.value === user.id}> | 161 | <li role="option" aria-selected={props.value === user.id}> |
| 162 | <button | 162 | <button |
| 163 | type="button" | 163 | type="button" |
| 164 | - class="flex w-full items-center rounded-sm px-2 py-1.5 text-left text-sm outline-none transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground" | 164 | + class="flex w-full items-center rounded-sm px-2 py-1.5 text-left text-sm outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground" |
| 165 | onMouseDown={(event) => event.preventDefault()} | 165 | onMouseDown={(event) => event.preventDefault()} |
| 166 | onClick={() => selectUser(user)} | 166 | onClick={() => selectUser(user)} |
| 167 | > | 167 | > |
src/components/users/user-table.tsxmodified+2 -2
| @@ -129,7 +129,7 @@ export function UserTable(props: { | |||
| 129 | { | 129 | { |
| 130 | id: "actions", | 130 | id: "actions", |
| 131 | header: t("common.actions"), | 131 | header: t("common.actions"), |
| 132 | - meta: { headerClass: "w-28 min-w-[7rem] text-center whitespace-nowrap", cellClass: "w-28 text-center" }, | 132 | + meta: { headerClass: "w-28 min-w-28 text-center whitespace-nowrap", cellClass: "w-28 text-center" }, |
| 133 | cell: (cell) => ( | 133 | cell: (cell) => ( |
| 134 | <Show when={cell.row.original.role === "parent"} fallback={<span class="text-center text-muted-foreground/40">—</span>}> | 134 | <Show when={cell.row.original.role === "parent"} fallback={<span class="text-center text-muted-foreground/40">—</span>}> |
| 135 | <TableRowActions | 135 | <TableRowActions |
| @@ -148,6 +148,6 @@ export function UserTable(props: { | |||
| 148 | ]); | 148 | ]); |
| 149 | 149 | ||
| 150 | return ( | 150 | return ( |
| 151 | - <DataTable columns={columns()} data={props.users} tableClass="table-fixed min-w-[58rem]" searchPredicate={searchUser} enablePagination pageSize={20} onRowClick={props.onUserClick} /> | 151 | + <DataTable columns={columns()} data={props.users} tableClass="table-fixed min-w-232" searchPredicate={searchUser} enablePagination pageSize={20} onRowClick={props.onUserClick} /> |
| 152 | ); | 152 | ); |
| 153 | } | 153 | } |
src/index.cssmodified+430 -191
| @@ -1,6 +1,433 @@ | |||
| 1 | -@tailwind base; | 1 | +@import 'tailwindcss'; |
| 2 | -@tailwind components; | 2 | + |
| 3 | -@tailwind utilities; | 3 | +@plugin 'tailwindcss-animate'; |
| 4 | + | ||
| 5 | +@custom-variant dark (&:is([data-kb-theme="dark"] *)); | ||
| 6 | + | ||
| 7 | +@utility container { | ||
| 8 | + margin-inline: auto; | ||
| 9 | + padding-inline: 1.25rem; | ||
| 10 | + @media (width >= --theme(--breakpoint-sm)) { | ||
| 11 | + max-width: none; | ||
| 12 | + } | ||
| 13 | + @media (width >= 1280px) { | ||
| 14 | + max-width: 1280px; | ||
| 15 | + } | ||
| 16 | +} | ||
| 17 | + | ||
| 18 | +@theme { | ||
| 19 | + --font-sans: | ||
| 20 | + -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', | ||
| 21 | + 'SF Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif; | ||
| 22 | + --font-display: | ||
| 23 | + -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', | ||
| 24 | + 'SF Pro', sans-serif; | ||
| 25 | + | ||
| 26 | + --color-border: hsl(var(--border)); | ||
| 27 | + --color-input: hsl(var(--input)); | ||
| 28 | + --color-ring: hsl(var(--ring)); | ||
| 29 | + --color-background: hsl(var(--background)); | ||
| 30 | + --color-foreground: hsl(var(--foreground)); | ||
| 31 | + | ||
| 32 | + --color-primary: hsl(var(--primary)); | ||
| 33 | + --color-primary-foreground: hsl(var(--primary-foreground)); | ||
| 34 | + | ||
| 35 | + --color-secondary: hsl(var(--secondary)); | ||
| 36 | + --color-secondary-foreground: hsl(var(--secondary-foreground)); | ||
| 37 | + | ||
| 38 | + --color-destructive: hsl(var(--destructive)); | ||
| 39 | + --color-destructive-foreground: hsl(var(--destructive-foreground)); | ||
| 40 | + | ||
| 41 | + --color-muted: hsl(var(--muted)); | ||
| 42 | + --color-muted-foreground: hsl(var(--muted-foreground)); | ||
| 43 | + | ||
| 44 | + --color-accent: hsl(var(--accent)); | ||
| 45 | + --color-accent-foreground: hsl(var(--accent-foreground)); | ||
| 46 | + | ||
| 47 | + --color-popover: hsl(var(--popover)); | ||
| 48 | + --color-popover-foreground: hsl(var(--popover-foreground)); | ||
| 49 | + | ||
| 50 | + --color-card: hsl(var(--card)); | ||
| 51 | + --color-card-foreground: hsl(var(--card-foreground)); | ||
| 52 | + | ||
| 53 | + --color-success: hsl(var(--success)); | ||
| 54 | + --color-warning: hsl(var(--warning)); | ||
| 55 | + --color-info: hsl(var(--info)); | ||
| 56 | + | ||
| 57 | + --color-sidebar: hsl(var(--sidebar)); | ||
| 58 | + --color-sidebar-foreground: hsl(var(--sidebar-foreground)); | ||
| 59 | + | ||
| 60 | + --radius-3xl: 1.5rem; | ||
| 61 | + --radius-2xl: 1.25rem; | ||
| 62 | + --radius-xl: 1rem; | ||
| 63 | + --radius-lg: var(--radius); | ||
| 64 | + --radius-md: calc(var(--radius) - 4px); | ||
| 65 | + --radius-sm: calc(var(--radius) - 8px); | ||
| 66 | + | ||
| 67 | + --shadow-soft: 0 8px 30px hsl(0 0% 0% / 0.04); | ||
| 68 | + --shadow-apple: | ||
| 69 | + 0 4px 24px -2px rgba(0, 0, 0, 0.04), 0 2px 8px -2px rgba(0, 0, 0, 0.02); | ||
| 70 | + --shadow-apple-hover: | ||
| 71 | + 0 12px 36px -4px rgba(0, 0, 0, 0.08), 0 4px 14px -2px rgba(0, 0, 0, 0.04); | ||
| 72 | + | ||
| 73 | + --animate-fade-up: fade-up 0.35s cubic-bezier(0.16, 1, 0.3, 1) both; | ||
| 74 | + --animate-accordion-down: accordion-down 0.25s cubic-bezier(0.16, 1, 0.3, 1); | ||
| 75 | + --animate-accordion-up: accordion-up 0.25s cubic-bezier(0.16, 1, 0.3, 1); | ||
| 76 | + | ||
| 77 | + @keyframes fade-up { | ||
| 78 | + from { | ||
| 79 | + opacity: 0; | ||
| 80 | + transform: translateY(8px); | ||
| 81 | + } | ||
| 82 | + to { | ||
| 83 | + opacity: 1; | ||
| 84 | + transform: translateY(0); | ||
| 85 | + } | ||
| 86 | + } | ||
| 87 | + @keyframes accordion-down { | ||
| 88 | + from { | ||
| 89 | + height: 0; | ||
| 90 | + } | ||
| 91 | + to { | ||
| 92 | + height: var(--kb-collapsible-content-height); | ||
| 93 | + } | ||
| 94 | + } | ||
| 95 | + @keyframes accordion-up { | ||
| 96 | + from { | ||
| 97 | + height: var(--kb-collapsible-content-height); | ||
| 98 | + } | ||
| 99 | + to { | ||
| 100 | + height: 0; | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | +} | ||
| 104 | + | ||
| 105 | +/* | ||
| 106 | + The default border color has changed to `currentcolor` in Tailwind CSS v4, | ||
| 107 | + so we've added these compatibility styles to make sure everything still | ||
| 108 | + looks the same as it did with Tailwind CSS v3. | ||
| 109 | + | ||
| 110 | + If we ever want to remove these styles, we need to add an explicit border | ||
| 111 | + color utility to any element that depends on these defaults. | ||
| 112 | +*/ | ||
| 113 | +@layer base { | ||
| 114 | + *, | ||
| 115 | + ::after, | ||
| 116 | + ::before, | ||
| 117 | + ::backdrop, | ||
| 118 | + ::file-selector-button { | ||
| 119 | + border-color: var(--color-gray-200, currentcolor); | ||
| 120 | + } | ||
| 121 | +} | ||
| 122 | + | ||
| 123 | +@utility font-display { | ||
| 124 | + font-family: | ||
| 125 | + -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', | ||
| 126 | + 'SF Pro', sans-serif; | ||
| 127 | + letter-spacing: -0.015em; | ||
| 128 | +} | ||
| 129 | + | ||
| 130 | +@utility glass-header { | ||
| 131 | + /* Dark Design Frosted Glass & Elevated Surfaces */ | ||
| 132 | + @apply sticky top-0 z-20 backdrop-blur-xl bg-background/80 border-b border-[#F2F2F3] dark:border-white/8 dark:shadow-[0_4px_20px_rgba(0,0,0,0.4)]; | ||
| 133 | +} | ||
| 134 | + | ||
| 135 | +@utility glass-panel { | ||
| 136 | + @apply backdrop-blur-xl bg-card/75 border border-[#F2F2F3] dark:border-white/8 shadow-[0_8px_30px_rgb(0,0,0,0.04)] dark:shadow-[inset_0_1px_0_0_rgba(255,255,255,0.06),0_12px_36px_rgba(0,0,0,0.6)]; | ||
| 137 | +} | ||
| 138 | + | ||
| 139 | +@utility apple-card { | ||
| 140 | + @apply rounded-2xl bg-card border border-[#F2F2F3] dark:border-white/8 p-5 shadow-[0_4px_20px_rgb(0,0,0,0.03)] dark:shadow-[inset_0_1px_0_0_rgba(255,255,255,0.06),0_8px_32px_rgba(0,0,0,0.5)] transition-all duration-200 dark:hover:border-white/20; | ||
| 141 | +} | ||
| 142 | + | ||
| 143 | +@utility surface-card { | ||
| 144 | + @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card text-card-foreground shadow-[0_2px_12px_rgb(0,0,0,0.03)] dark:shadow-[inset_0_1px_0_0_rgba(255,255,255,0.06),0_6px_24px_rgba(0,0,0,0.4)] transition-all duration-200; | ||
| 145 | +} | ||
| 146 | + | ||
| 147 | +@utility stat-tile { | ||
| 148 | + @apply surface-card relative overflow-hidden p-5 transition-all duration-200 hover:shadow-[0_8px_24px_rgb(0,0,0,0.06)] hover:border-primary/30 dark:hover:shadow-[0_0_24px_rgba(59,130,246,0.15)] dark:hover:border-primary/50 active:scale-[0.985]; | ||
| 149 | +} | ||
| 150 | + | ||
| 151 | +@utility focus-ring { | ||
| 152 | + @apply focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/60 focus-visible:ring-offset-2 focus-visible:ring-offset-background; | ||
| 153 | +} | ||
| 154 | + | ||
| 155 | +@utility data-shell { | ||
| 156 | + @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card shadow-[0_4px_20px_rgb(0,0,0,0.03)] dark:shadow-[inset_0_1px_0_0_rgba(255,255,255,0.06),0_8px_32px_rgba(0,0,0,0.5)]; | ||
| 157 | +} | ||
| 158 | + | ||
| 159 | +@utility data-table-wrap { | ||
| 160 | + @apply max-h-[65vh] overflow-auto rounded-xl border border-border/70 bg-card shadow-none dark:border-white/10 dark:bg-[#111111]; | ||
| 161 | +} | ||
| 162 | + | ||
| 163 | +@utility data-table { | ||
| 164 | + @apply w-full caption-bottom text-sm; | ||
| 165 | + | ||
| 166 | + & thead { | ||
| 167 | + @apply sticky top-0 z-10 border-b border-border bg-background text-muted-foreground dark:border-white/10 dark:bg-[#050505]; | ||
| 168 | + } | ||
| 169 | + | ||
| 170 | + & th { | ||
| 171 | + @apply h-12 overflow-hidden text-ellipsis whitespace-nowrap border-r border-border/70 px-4 text-left text-sm font-semibold text-muted-foreground last:border-r-0 dark:border-white/10 dark:text-white/70; | ||
| 172 | + } | ||
| 173 | + | ||
| 174 | + & td { | ||
| 175 | + @apply h-[3.2rem] whitespace-nowrap border-r border-border/60 px-4 py-2.5 align-middle text-sm font-medium last:border-r-0 dark:border-white/8; | ||
| 176 | + } | ||
| 177 | + | ||
| 178 | + & tbody tr { | ||
| 179 | + @apply border-b border-border/70 transition-colors hover:bg-muted/70 active:bg-muted dark:border-white/8 dark:hover:bg-white/6 dark:active:bg-white/8; | ||
| 180 | + } | ||
| 181 | + | ||
| 182 | + & tbody tr:nth-child(even) { | ||
| 183 | + background-color: hsl(var(--muted) / 0.18); | ||
| 184 | + } | ||
| 185 | + | ||
| 186 | + & tbody tr:hover:nth-child(even) { | ||
| 187 | + background-color: hsl(var(--muted) / 0.7); | ||
| 188 | + } | ||
| 189 | + | ||
| 190 | + [data-kb-theme='dark'] & tbody tr:nth-child(even) { | ||
| 191 | + background-color: #151515; | ||
| 192 | + } | ||
| 193 | + | ||
| 194 | + [data-kb-theme='dark'] & tbody tr:hover:nth-child(even) { | ||
| 195 | + background-color: rgb(255 255 255 / 0.06); | ||
| 196 | + } | ||
| 197 | +} | ||
| 198 | + | ||
| 199 | +@utility detail-breadcrumb { | ||
| 200 | + @apply flex flex-wrap items-center gap-1.5 text-xs text-muted-foreground font-medium; | ||
| 201 | + | ||
| 202 | + & a { | ||
| 203 | + @apply transition-colors hover:text-foreground; | ||
| 204 | + } | ||
| 205 | +} | ||
| 206 | + | ||
| 207 | +@utility detail-action-group { | ||
| 208 | + @apply flex w-full flex-wrap items-center gap-1.5 rounded-xl border border-[#F2F2F3] dark:border-white/8 bg-card p-1.5 shadow-xs sm:w-auto; | ||
| 209 | +} | ||
| 210 | + | ||
| 211 | +@utility detail-action-divider { | ||
| 212 | + @apply flex flex-1 items-center gap-1.5 border-t border-border pt-1.5 sm:ml-1 sm:flex-none sm:border-l sm:border-t-0 sm:pl-1.5 sm:pt-0; | ||
| 213 | +} | ||
| 214 | + | ||
| 215 | +@utility tab-panel-header { | ||
| 216 | + @apply flex flex-wrap items-center justify-between gap-3 rounded-2xl border border-border/60 bg-muted/20 px-3 py-2; | ||
| 217 | +} | ||
| 218 | + | ||
| 219 | +@utility tab-panel-note { | ||
| 220 | + @apply rounded-xl border border-border/60 bg-muted/20 px-3 py-2 text-sm text-muted-foreground; | ||
| 221 | +} | ||
| 222 | + | ||
| 223 | +@utility tab-line-rose { | ||
| 224 | + & .tab-indicator-line { | ||
| 225 | + @apply bg-rose-500 shadow-[0_0_10px_rgba(244,63,94,0.6)]; | ||
| 226 | + } | ||
| 227 | +} | ||
| 228 | + | ||
| 229 | +@utility tab-indicator-line { | ||
| 230 | + .tab-line-rose & { | ||
| 231 | + @apply bg-rose-500 shadow-[0_0_10px_rgba(244,63,94,0.6)]; | ||
| 232 | + } | ||
| 233 | + .tab-line-blue & { | ||
| 234 | + @apply bg-blue-500 shadow-[0_0_10px_rgba(59,130,246,0.6)]; | ||
| 235 | + } | ||
| 236 | + .tab-line-emerald & { | ||
| 237 | + @apply bg-emerald-500 shadow-[0_0_10px_rgba(16,185,129,0.6)]; | ||
| 238 | + } | ||
| 239 | + .tab-line-violet & { | ||
| 240 | + @apply bg-violet-500 shadow-[0_0_10px_rgba(139,92,246,0.6)]; | ||
| 241 | + } | ||
| 242 | + .tab-line-amber & { | ||
| 243 | + @apply bg-amber-500 shadow-[0_0_10px_rgba(245,158,11,0.6)]; | ||
| 244 | + } | ||
| 245 | + .tab-line-cyan & { | ||
| 246 | + @apply bg-cyan-500 shadow-[0_0_10px_rgba(6,182,212,0.6)]; | ||
| 247 | + } | ||
| 248 | +} | ||
| 249 | + | ||
| 250 | +@utility tab-line-blue { | ||
| 251 | + & .tab-indicator-line { | ||
| 252 | + @apply bg-blue-500 shadow-[0_0_10px_rgba(59,130,246,0.6)]; | ||
| 253 | + } | ||
| 254 | +} | ||
| 255 | + | ||
| 256 | +@utility tab-line-emerald { | ||
| 257 | + & .tab-indicator-line { | ||
| 258 | + @apply bg-emerald-500 shadow-[0_0_10px_rgba(16,185,129,0.6)]; | ||
| 259 | + } | ||
| 260 | +} | ||
| 261 | + | ||
| 262 | +@utility tab-line-violet { | ||
| 263 | + & .tab-indicator-line { | ||
| 264 | + @apply bg-violet-500 shadow-[0_0_10px_rgba(139,92,246,0.6)]; | ||
| 265 | + } | ||
| 266 | +} | ||
| 267 | + | ||
| 268 | +@utility tab-line-amber { | ||
| 269 | + & .tab-indicator-line { | ||
| 270 | + @apply bg-amber-500 shadow-[0_0_10px_rgba(245,158,11,0.6)]; | ||
| 271 | + } | ||
| 272 | +} | ||
| 273 | + | ||
| 274 | +@utility tab-line-cyan { | ||
| 275 | + & .tab-indicator-line { | ||
| 276 | + @apply bg-cyan-500 shadow-[0_0_10px_rgba(6,182,212,0.6)]; | ||
| 277 | + } | ||
| 278 | +} | ||
| 279 | + | ||
| 280 | +@utility detail-metric-card { | ||
| 281 | + @apply rounded-xl border border-black/5 bg-transparent px-4 py-4 shadow-xs dark:border-white/6; | ||
| 282 | +} | ||
| 283 | + | ||
| 284 | +@utility side-panel-body { | ||
| 285 | + & form { | ||
| 286 | + @apply space-y-6 pb-6; | ||
| 287 | + } | ||
| 288 | + | ||
| 289 | + & form > .space-y-3 { | ||
| 290 | + @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-5 shadow-xs; | ||
| 291 | + } | ||
| 292 | + | ||
| 293 | + & form > .space-y-4 { | ||
| 294 | + @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-5 shadow-xs; | ||
| 295 | + } | ||
| 296 | + | ||
| 297 | + & form > .space-y-1\.5 { | ||
| 298 | + @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-5 shadow-xs; | ||
| 299 | + } | ||
| 300 | + | ||
| 301 | + & form > .grid { | ||
| 302 | + @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-5 shadow-xs; | ||
| 303 | + } | ||
| 304 | + | ||
| 305 | + & label { | ||
| 306 | + @apply text-xs font-semibold text-muted-foreground/90 tracking-tight; | ||
| 307 | + } | ||
| 308 | + | ||
| 309 | + & input { | ||
| 310 | + @apply rounded-xl bg-muted/30 border border-border/80 h-11 px-3.5 transition-colors focus:bg-background; | ||
| 311 | + } | ||
| 312 | + | ||
| 313 | + & textarea { | ||
| 314 | + @apply rounded-xl bg-muted/30 border border-border/80 h-11 px-3.5 transition-colors focus:bg-background; | ||
| 315 | + } | ||
| 316 | + | ||
| 317 | + & select { | ||
| 318 | + @apply rounded-xl bg-muted/30 border border-border/80 h-11 px-3.5 transition-colors focus:bg-background; | ||
| 319 | + } | ||
| 320 | + | ||
| 321 | + & form > .flex:last-child { | ||
| 322 | + @apply sticky bottom-0 -mx-6 justify-end border-t border-border/80 bg-background/90 backdrop-blur-md px-6 py-4 shadow-[0_-16px_32px_hsl(var(--background)/0.8)]; | ||
| 323 | + } | ||
| 324 | + | ||
| 325 | + & form > .flex.flex-wrap:last-child { | ||
| 326 | + @apply sticky bottom-0 -mx-6 justify-end border-t border-border/80 bg-background/90 backdrop-blur-md px-6 py-4 shadow-[0_-16px_32px_hsl(var(--background)/0.8)]; | ||
| 327 | + } | ||
| 328 | + | ||
| 329 | + & form > .flex:last-child button { | ||
| 330 | + @apply rounded-xl h-11 px-5 font-medium active:scale-[0.97] transition-transform duration-150; | ||
| 331 | + } | ||
| 332 | + | ||
| 333 | + & form > .flex.flex-wrap:last-child button { | ||
| 334 | + @apply rounded-xl h-11 px-5 font-medium active:scale-[0.97] transition-transform duration-150; | ||
| 335 | + } | ||
| 336 | +} | ||
| 337 | + | ||
| 338 | +@utility space-y-3 { | ||
| 339 | + .side-panel-body form > & { | ||
| 340 | + @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-5 shadow-xs; | ||
| 341 | + } | ||
| 342 | +} | ||
| 343 | + | ||
| 344 | +@utility space-y-4 { | ||
| 345 | + .side-panel-body form > & { | ||
| 346 | + @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-5 shadow-xs; | ||
| 347 | + } | ||
| 348 | +} | ||
| 349 | + | ||
| 350 | +@utility space-y-1.5 { | ||
| 351 | + .side-panel-body form > & { | ||
| 352 | + @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-5 shadow-xs; | ||
| 353 | + } | ||
| 354 | +} | ||
| 355 | + | ||
| 356 | +@utility grid { | ||
| 357 | + .side-panel-body form > & { | ||
| 358 | + @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-5 shadow-xs; | ||
| 359 | + } | ||
| 360 | +} | ||
| 361 | + | ||
| 362 | +@utility flex { | ||
| 363 | + .side-panel-body form > &:last-child { | ||
| 364 | + @apply sticky bottom-0 -mx-6 justify-end border-t border-border/80 bg-background/90 backdrop-blur-md px-6 py-4 shadow-[0_-16px_32px_hsl(var(--background)/0.8)]; | ||
| 365 | + } | ||
| 366 | + | ||
| 367 | + .side-panel-body form > &.flex-wrap:last-child { | ||
| 368 | + @apply sticky bottom-0 -mx-6 justify-end border-t border-border/80 bg-background/90 backdrop-blur-md px-6 py-4 shadow-[0_-16px_32px_hsl(var(--background)/0.8)]; | ||
| 369 | + } | ||
| 370 | + | ||
| 371 | + .side-panel-body form > &:last-child button { | ||
| 372 | + @apply rounded-xl h-11 px-5 font-medium active:scale-[0.97] transition-transform duration-150; | ||
| 373 | + } | ||
| 374 | + | ||
| 375 | + .side-panel-body form > &.flex-wrap:last-child button { | ||
| 376 | + @apply rounded-xl h-11 px-5 font-medium active:scale-[0.97] transition-transform duration-150; | ||
| 377 | + } | ||
| 378 | +} | ||
| 379 | + | ||
| 380 | +@utility flex-wrap { | ||
| 381 | + .side-panel-body form > &.flex:last-child { | ||
| 382 | + @apply sticky bottom-0 -mx-6 justify-end border-t border-border/80 bg-background/90 backdrop-blur-md px-6 py-4 shadow-[0_-16px_32px_hsl(var(--background)/0.8)]; | ||
| 383 | + } | ||
| 384 | + | ||
| 385 | + .side-panel-body form > &.flex:last-child button { | ||
| 386 | + @apply rounded-xl h-11 px-5 font-medium active:scale-[0.97] transition-transform duration-150; | ||
| 387 | + } | ||
| 388 | +} | ||
| 389 | + | ||
| 390 | +@utility tactile-press { | ||
| 391 | + @apply active:scale-[0.97] transition-transform duration-150; | ||
| 392 | +} | ||
| 393 | + | ||
| 394 | +@utility card-lift { | ||
| 395 | + @apply transition-shadow duration-200 ease-out hover:shadow-apple-hover; | ||
| 396 | +} | ||
| 397 | + | ||
| 398 | +@utility hig-grouped-card { | ||
| 399 | + @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-4 sm:p-5 shadow-apple transition-all; | ||
| 400 | +} | ||
| 401 | + | ||
| 402 | +@utility hig-translucent-bar { | ||
| 403 | + @apply backdrop-blur-xl backdrop-saturate-150 bg-background/80 border-b border-[#F2F2F3] dark:border-white/8; | ||
| 404 | +} | ||
| 405 | + | ||
| 406 | +@utility hig-popover-panel { | ||
| 407 | + @apply backdrop-blur-xl backdrop-saturate-150 bg-popover/95 border border-black/8 dark:border-white/12 rounded-2xl shadow-apple p-1.5; | ||
| 408 | +} | ||
| 409 | + | ||
| 410 | +@utility animate-pulse-glow { | ||
| 411 | + animation: pulse-glow 3s ease-in-out infinite; | ||
| 412 | + | ||
| 413 | + @media (prefers-reduced-motion: reduce) { | ||
| 414 | + animation: none; | ||
| 415 | + } | ||
| 416 | +} | ||
| 417 | + | ||
| 418 | +@utility num { | ||
| 419 | + font-family: | ||
| 420 | + SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', | ||
| 421 | + monospace; | ||
| 422 | + font-variant-numeric: tabular-nums; | ||
| 423 | +} | ||
| 424 | + | ||
| 425 | +@utility mono { | ||
| 426 | + font-family: | ||
| 427 | + SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', | ||
| 428 | + monospace; | ||
| 429 | + font-variant-numeric: tabular-nums; | ||
| 430 | +} | ||
| 4 | 431 | ||
| 5 | @layer base { | 432 | @layer base { |
| 6 | :root { | 433 | :root { |
| @@ -133,196 +560,8 @@ | |||
| 133 | } | 560 | } |
| 134 | 561 | ||
| 135 | @layer components { | 562 | @layer components { |
| 136 | - .font-display { | ||
| 137 | - font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "SF Pro", sans-serif; | ||
| 138 | - letter-spacing: -0.015em; | ||
| 139 | - } | ||
| 140 | - | ||
| 141 | - /* Dark Design Frosted Glass & Elevated Surfaces */ | ||
| 142 | - .glass-header { | ||
| 143 | - @apply sticky top-0 z-20 backdrop-blur-xl bg-background/80 border-b border-[#F2F2F3] dark:border-white/[0.08] dark:shadow-[0_4px_20px_rgba(0,0,0,0.4)]; | ||
| 144 | - } | ||
| 145 | - | ||
| 146 | - .glass-panel { | ||
| 147 | - @apply backdrop-blur-xl bg-card/75 border border-[#F2F2F3] dark:border-white/[0.08] shadow-[0_8px_30px_rgb(0,0,0,0.04)] dark:shadow-[inset_0_1px_0_0_rgba(255,255,255,0.06),0_12px_36px_rgba(0,0,0,0.6)]; | ||
| 148 | - } | ||
| 149 | - | ||
| 150 | - .apple-card { | ||
| 151 | - @apply rounded-2xl bg-card border border-[#F2F2F3] dark:border-white/[0.08] p-5 shadow-[0_4px_20px_rgb(0,0,0,0.03)] dark:shadow-[inset_0_1px_0_0_rgba(255,255,255,0.06),0_8px_32px_rgba(0,0,0,0.5)] transition-all duration-200 hover:dark:border-white/20; | ||
| 152 | - } | ||
| 153 | - | ||
| 154 | - .surface-card { | ||
| 155 | - @apply rounded-2xl border border-[#F2F2F3] dark:border-white/[0.08] bg-card text-card-foreground shadow-[0_2px_12px_rgb(0,0,0,0.03)] dark:shadow-[inset_0_1px_0_0_rgba(255,255,255,0.06),0_6px_24px_rgba(0,0,0,0.4)] transition-all duration-200; | ||
| 156 | - } | ||
| 157 | - | ||
| 158 | - .stat-tile { | ||
| 159 | - @apply surface-card relative overflow-hidden p-5 transition-all duration-200 hover:shadow-[0_8px_24px_rgb(0,0,0,0.06)] hover:border-primary/30 dark:hover:shadow-[0_0_24px_rgba(59,130,246,0.15)] dark:hover:border-primary/50 active:scale-[0.985]; | ||
| 160 | - } | ||
| 161 | - | ||
| 162 | - .focus-ring { | ||
| 163 | - @apply focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/60 focus-visible:ring-offset-2 focus-visible:ring-offset-background; | ||
| 164 | - } | ||
| 165 | - | ||
| 166 | - .data-shell { | ||
| 167 | - @apply rounded-2xl border border-[#F2F2F3] dark:border-white/[0.08] bg-card shadow-[0_4px_20px_rgb(0,0,0,0.03)] dark:shadow-[inset_0_1px_0_0_rgba(255,255,255,0.06),0_8px_32px_rgba(0,0,0,0.5)]; | ||
| 168 | - } | ||
| 169 | - | ||
| 170 | - .data-table-wrap { | ||
| 171 | - @apply max-h-[65vh] overflow-auto rounded-xl border border-border/70 bg-card shadow-none dark:border-white/[0.1] dark:bg-[#111111]; | ||
| 172 | - } | ||
| 173 | - | ||
| 174 | - .data-table { | ||
| 175 | - @apply w-full caption-bottom text-sm; | ||
| 176 | - } | ||
| 177 | - | ||
| 178 | - .data-table thead { | ||
| 179 | - @apply sticky top-0 z-10 border-b border-border bg-background text-muted-foreground dark:border-white/[0.1] dark:bg-[#050505]; | ||
| 180 | - } | ||
| 181 | - | ||
| 182 | - .data-table th { | ||
| 183 | - @apply h-12 overflow-hidden text-ellipsis whitespace-nowrap border-r border-border/70 px-4 text-left text-sm font-semibold text-muted-foreground last:border-r-0 dark:border-white/[0.1] dark:text-white/70; | ||
| 184 | - } | ||
| 185 | - | ||
| 186 | - .data-table td { | ||
| 187 | - @apply h-[3.2rem] whitespace-nowrap border-r border-border/60 px-4 py-2.5 align-middle text-sm font-medium last:border-r-0 dark:border-white/[0.08]; | ||
| 188 | - } | ||
| 189 | - | ||
| 190 | - .data-table tbody tr { | ||
| 191 | - @apply border-b border-border/70 transition-colors hover:bg-muted/70 active:bg-muted dark:border-white/[0.08] dark:hover:bg-white/[0.06] dark:active:bg-white/[0.08]; | ||
| 192 | - } | ||
| 193 | - | ||
| 194 | - .data-table tbody tr:nth-child(even) { | ||
| 195 | - background-color: hsl(var(--muted) / 0.18); | ||
| 196 | - } | ||
| 197 | - | ||
| 198 | - .data-table tbody tr:hover:nth-child(even) { | ||
| 199 | - background-color: hsl(var(--muted) / 0.7); | ||
| 200 | - } | ||
| 201 | - | ||
| 202 | - [data-kb-theme="dark"] .data-table tbody tr:nth-child(even) { | ||
| 203 | - background-color: #151515; | ||
| 204 | - } | ||
| 205 | - | ||
| 206 | - [data-kb-theme="dark"] .data-table tbody tr:hover:nth-child(even) { | ||
| 207 | - background-color: rgb(255 255 255 / 0.06); | ||
| 208 | - } | ||
| 209 | - | ||
| 210 | - .detail-breadcrumb { | ||
| 211 | - @apply flex flex-wrap items-center gap-1.5 text-xs text-muted-foreground font-medium; | ||
| 212 | - } | ||
| 213 | - | ||
| 214 | - .detail-breadcrumb a { | ||
| 215 | - @apply transition-colors hover:text-foreground; | ||
| 216 | - } | ||
| 217 | - | ||
| 218 | - .detail-action-group { | ||
| 219 | - @apply flex w-full flex-wrap items-center gap-1.5 rounded-xl border border-[#F2F2F3] dark:border-white/[0.08] bg-card p-1.5 shadow-sm sm:w-auto; | ||
| 220 | - } | ||
| 221 | - | ||
| 222 | - .detail-action-divider { | ||
| 223 | - @apply flex flex-1 items-center gap-1.5 border-t border-border pt-1.5 sm:ml-1 sm:flex-none sm:border-l sm:border-t-0 sm:pl-1.5 sm:pt-0; | ||
| 224 | - } | ||
| 225 | - | ||
| 226 | - .tab-panel-header { | ||
| 227 | - @apply flex flex-wrap items-center justify-between gap-3 rounded-2xl border border-border/60 bg-muted/20 px-3 py-2; | ||
| 228 | - } | ||
| 229 | - | ||
| 230 | - .tab-panel-note { | ||
| 231 | - @apply rounded-xl border border-border/60 bg-muted/20 px-3 py-2 text-sm text-muted-foreground; | ||
| 232 | - } | ||
| 233 | - | ||
| 234 | - .tab-line-rose .tab-indicator-line { | ||
| 235 | - @apply bg-rose-500 shadow-[0_0_10px_rgba(244,63,94,0.6)]; | ||
| 236 | - } | ||
| 237 | - .tab-line-blue .tab-indicator-line { | ||
| 238 | - @apply bg-blue-500 shadow-[0_0_10px_rgba(59,130,246,0.6)]; | ||
| 239 | - } | ||
| 240 | - .tab-line-emerald .tab-indicator-line { | ||
| 241 | - @apply bg-emerald-500 shadow-[0_0_10px_rgba(16,185,129,0.6)]; | ||
| 242 | - } | ||
| 243 | - .tab-line-violet .tab-indicator-line { | ||
| 244 | - @apply bg-violet-500 shadow-[0_0_10px_rgba(139,92,246,0.6)]; | ||
| 245 | - } | ||
| 246 | - .tab-line-amber .tab-indicator-line { | ||
| 247 | - @apply bg-amber-500 shadow-[0_0_10px_rgba(245,158,11,0.6)]; | ||
| 248 | - } | ||
| 249 | - .tab-line-cyan .tab-indicator-line { | ||
| 250 | - @apply bg-cyan-500 shadow-[0_0_10px_rgba(6,182,212,0.6)]; | ||
| 251 | - } | ||
| 252 | - | ||
| 253 | - .detail-metric-card { | ||
| 254 | - @apply rounded-xl border border-black/[0.05] bg-transparent px-4 py-4 shadow-sm dark:border-white/[0.06]; | ||
| 255 | - } | ||
| 256 | - | ||
| 257 | - .side-panel-body form { | ||
| 258 | - @apply space-y-6 pb-6; | ||
| 259 | - } | ||
| 260 | - | ||
| 261 | - .side-panel-body form > .space-y-3, | ||
| 262 | - .side-panel-body form > .space-y-4, | ||
| 263 | - .side-panel-body form > .space-y-1\.5, | ||
| 264 | - .side-panel-body form > .grid { | ||
| 265 | - @apply rounded-2xl border border-[#F2F2F3] dark:border-white/[0.08] bg-card p-5 shadow-sm; | ||
| 266 | - } | ||
| 267 | - | ||
| 268 | - .side-panel-body label { | ||
| 269 | - @apply text-xs font-semibold text-muted-foreground/90 tracking-tight; | ||
| 270 | - } | ||
| 271 | - | ||
| 272 | - .side-panel-body input, | ||
| 273 | - .side-panel-body textarea, | ||
| 274 | - .side-panel-body select { | ||
| 275 | - @apply rounded-xl bg-muted/30 border border-border/80 h-11 px-3.5 transition-colors focus:bg-background; | ||
| 276 | - } | ||
| 277 | - | ||
| 278 | - .side-panel-body form > .flex:last-child, | ||
| 279 | - .side-panel-body form > .flex.flex-wrap:last-child { | ||
| 280 | - @apply sticky bottom-0 -mx-6 justify-end border-t border-border/80 bg-background/90 backdrop-blur-md px-6 py-4 shadow-[0_-16px_32px_hsl(var(--background)/0.8)]; | ||
| 281 | - } | ||
| 282 | - | ||
| 283 | - .side-panel-body form > .flex:last-child button, | ||
| 284 | - .side-panel-body form > .flex.flex-wrap:last-child button { | ||
| 285 | - @apply rounded-xl h-11 px-5 font-medium active:scale-[0.97] transition-transform duration-150; | ||
| 286 | - } | ||
| 287 | - | ||
| 288 | - .tactile-press { | ||
| 289 | - @apply active:scale-[0.97] transition-transform duration-150; | ||
| 290 | - } | ||
| 291 | - | ||
| 292 | - .card-lift { | ||
| 293 | - @apply transition-shadow duration-200 ease-out hover:shadow-apple-hover; | ||
| 294 | - } | ||
| 295 | - | ||
| 296 | - .hig-grouped-card { | ||
| 297 | - @apply rounded-2xl border border-[#F2F2F3] dark:border-white/[0.08] bg-card p-4 sm:p-5 shadow-apple transition-all; | ||
| 298 | - } | ||
| 299 | - | ||
| 300 | - .hig-translucent-bar { | ||
| 301 | - @apply backdrop-blur-xl backdrop-saturate-150 bg-background/80 border-b border-[#F2F2F3] dark:border-white/[0.08]; | ||
| 302 | - } | ||
| 303 | - | ||
| 304 | - .hig-popover-panel { | ||
| 305 | - @apply backdrop-blur-xl backdrop-saturate-150 bg-popover/95 border border-black/[0.08] dark:border-white/[0.12] rounded-2xl shadow-apple p-1.5; | ||
| 306 | - } | ||
| 307 | - | ||
| 308 | @keyframes pulse-glow { | 563 | @keyframes pulse-glow { |
| 309 | 0%, 100% { opacity: 0.9; transform: scale(1); filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.4)); } | 564 | 0%, 100% { opacity: 0.9; transform: scale(1); filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.4)); } |
| 310 | 50% { opacity: 1; transform: scale(1.02); filter: drop-shadow(0 0 24px rgba(59, 130, 246, 0.7)); } | 565 | 50% { opacity: 1; transform: scale(1.02); filter: drop-shadow(0 0 24px rgba(59, 130, 246, 0.7)); } |
| 311 | } | 566 | } |
| 312 | - | ||
| 313 | - .animate-pulse-glow { | ||
| 314 | - animation: pulse-glow 3s ease-in-out infinite; | ||
| 315 | - } | ||
| 316 | - | ||
| 317 | - @media (prefers-reduced-motion: reduce) { | ||
| 318 | - .animate-pulse-glow { | ||
| 319 | - animation: none; | ||
| 320 | - } | ||
| 321 | - } | ||
| 322 | - | ||
| 323 | - .num, | ||
| 324 | - .mono { | ||
| 325 | - font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; | ||
| 326 | - font-variant-numeric: tabular-nums; | ||
| 327 | - } | ||
| 328 | } | 567 | } |
src/pages/admin-users-page.tsxmodified+6 -6
| @@ -66,7 +66,7 @@ function AdminUsersContent() { | |||
| 66 | <For each={ROLES}>{(role) => <Metric role={role} label={t(`role.${role}` as MessageKey)} value={roleCount(role)} />}</For> | 66 | <For each={ROLES}>{(role) => <Metric role={role} label={t(`role.${role}` as MessageKey)} value={roleCount(role)} />}</For> |
| 67 | </section> | 67 | </section> |
| 68 | 68 | ||
| 69 | - <div class="data-shell space-y-4 border-violet-500/15 bg-violet-500/[0.025] p-4"> | 69 | + <div class="data-shell space-y-4 border-violet-500/15 bg-violet-500/2.5 p-4"> |
| 70 | <div class="flex flex-wrap items-center justify-between gap-3"> | 70 | <div class="flex flex-wrap items-center justify-between gap-3"> |
| 71 | <div> | 71 | <div> |
| 72 | <h2 class="font-display text-lg font-semibold">{t("nav.users")}</h2> | 72 | <h2 class="font-display text-lg font-semibold">{t("nav.users")}</h2> |
| @@ -122,11 +122,11 @@ function AdminUsersContent() { | |||
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | const ROLE_METRIC_TONE: Record<Role, string> = { | 124 | const ROLE_METRIC_TONE: Record<Role, string> = { |
| 125 | - student: "border-sky-500/20 bg-sky-500/[0.03]", | 125 | + student: "border-sky-500/20 bg-sky-500/3", |
| 126 | - parent: "border-violet-500/20 bg-violet-500/[0.03]", | 126 | + parent: "border-violet-500/20 bg-violet-500/3", |
| 127 | - teacher: "border-emerald-500/20 bg-emerald-500/[0.03]", | 127 | + teacher: "border-emerald-500/20 bg-emerald-500/3", |
| 128 | - manager: "border-amber-500/20 bg-amber-500/[0.03]", | 128 | + manager: "border-amber-500/20 bg-amber-500/3", |
| 129 | - admin: "border-rose-500/20 bg-rose-500/[0.03]", | 129 | + admin: "border-rose-500/20 bg-rose-500/3", |
| 130 | }; | 130 | }; |
| 131 | 131 | ||
| 132 | function Metric(props: { role: Role; label: string; value: number }) { | 132 | function Metric(props: { role: Role; label: string; value: number }) { |
src/pages/calendar-page.tsxmodified+6 -6
| @@ -102,7 +102,7 @@ function CalendarContent() { | |||
| 102 | 102 | ||
| 103 | return ( | 103 | return ( |
| 104 | <div class="space-y-4"> | 104 | <div class="space-y-4"> |
| 105 | - <section class="data-shell space-y-3 border-sky-500/15 bg-sky-500/[0.025] p-3"> | 105 | + <section class="data-shell space-y-3 border-sky-500/15 bg-sky-500/2.5 p-3"> |
| 106 | <div class="flex flex-wrap items-start justify-between gap-3"> | 106 | <div class="flex flex-wrap items-start justify-between gap-3"> |
| 107 | <div class="min-w-0"> | 107 | <div class="min-w-0"> |
| 108 | <h1 class="truncate font-display text-xl font-semibold tracking-tight text-foreground">{t("calendar.title")}</h1> | 108 | <h1 class="truncate font-display text-xl font-semibold tracking-tight text-foreground">{t("calendar.title")}</h1> |
| @@ -123,7 +123,7 @@ function CalendarContent() { | |||
| 123 | </div> | 123 | </div> |
| 124 | <Suspense fallback={<PageSpinner />}> | 124 | <Suspense fallback={<PageSpinner />}> |
| 125 | <div class="grid gap-4 xl:grid-cols-[minmax(0,1fr)_20rem]"> | 125 | <div class="grid gap-4 xl:grid-cols-[minmax(0,1fr)_20rem]"> |
| 126 | - <div class="rounded-lg border bg-card shadow-sm"> | 126 | + <div class="rounded-lg border bg-card shadow-xs"> |
| 127 | <div class="grid grid-cols-7 border-b"> | 127 | <div class="grid grid-cols-7 border-b"> |
| 128 | <For each={dayNames()}> | 128 | <For each={dayNames()}> |
| 129 | {(name) => ( | 129 | {(name) => ( |
| @@ -144,7 +144,7 @@ function CalendarContent() { | |||
| 144 | <button | 144 | <button |
| 145 | type="button" | 145 | type="button" |
| 146 | class={cn( | 146 | class={cn( |
| 147 | - "relative flex min-h-[4.25rem] flex-col border-b border-r border-border/40 p-1.5 text-left transition-colors last:border-r-0 hover:bg-muted/40 xl:min-h-[5.25rem] 2xl:min-h-24", | 147 | + "relative flex min-h-17 flex-col border-b border-r border-border/40 p-1.5 text-left transition-colors last:border-r-0 hover:bg-muted/40 xl:min-h-21 2xl:min-h-24", |
| 148 | cell.other && "pointer-events-none bg-muted/20", | 148 | cell.other && "pointer-events-none bg-muted/20", |
| 149 | cellSelected() ? "bg-sky-50/60 ring-1 ring-inset ring-sky-400/50 dark:bg-sky-950/40 dark:ring-sky-500/40" : "", | 149 | cellSelected() ? "bg-sky-50/60 ring-1 ring-inset ring-sky-400/50 dark:bg-sky-950/40 dark:ring-sky-500/40" : "", |
| 150 | cellToday ? "font-bold text-sky-600 dark:text-sky-400" : "" | 150 | cellToday ? "font-bold text-sky-600 dark:text-sky-400" : "" |
| @@ -197,7 +197,7 @@ function CalendarContent() { | |||
| 197 | </div> | 197 | </div> |
| 198 | 198 | ||
| 199 | <div class="space-y-3"> | 199 | <div class="space-y-3"> |
| 200 | - <div class="rounded-xl border border-border/80 bg-card p-3 shadow-sm"> | 200 | + <div class="rounded-xl border border-border/80 bg-card p-3 shadow-xs"> |
| 201 | <h3 class="font-display text-sm font-semibold"> | 201 | <h3 class="font-display text-sm font-semibold"> |
| 202 | {selectedDay().toLocaleDateString(locale() === "tr" ? "tr-TR" : "en-US", { day: "numeric", month: "long", year: "numeric" })} | 202 | {selectedDay().toLocaleDateString(locale() === "tr" ? "tr-TR" : "en-US", { day: "numeric", month: "long", year: "numeric" })} |
| 203 | </h3> | 203 | </h3> |
| @@ -214,7 +214,7 @@ function CalendarContent() { | |||
| 214 | {(ev) => ( | 214 | {(ev) => ( |
| 215 | <a | 215 | <a |
| 216 | href={`/events/${ev.id}`} | 216 | href={`/events/${ev.id}`} |
| 217 | - class="group flex items-start justify-between gap-2 rounded-lg border border-emerald-500/40 bg-card p-2.5 shadow-sm transition-all hover:border-emerald-500/70 hover:shadow-md dark:border-emerald-500/30 dark:hover:border-emerald-500/70" | 217 | + class="group flex items-start justify-between gap-2 rounded-lg border border-emerald-500/40 bg-card p-2.5 shadow-xs transition-all hover:border-emerald-500/70 hover:shadow-md dark:border-emerald-500/30 dark:hover:border-emerald-500/70" |
| 218 | > | 218 | > |
| 219 | <div class="min-w-0"> | 219 | <div class="min-w-0"> |
| 220 | <p class="truncate text-xs font-semibold group-hover:text-emerald-500">{ev.title}</p> | 220 | <p class="truncate text-xs font-semibold group-hover:text-emerald-500">{ev.title}</p> |
| @@ -237,7 +237,7 @@ function CalendarContent() { | |||
| 237 | {(exam) => ( | 237 | {(exam) => ( |
| 238 | <a | 238 | <a |
| 239 | href={`/exams/${exam.id}`} | 239 | href={`/exams/${exam.id}`} |
| 240 | - class="group flex items-start justify-between gap-2 rounded-lg border border-rose-500/40 bg-card p-2.5 shadow-sm transition-all hover:border-rose-500/70 hover:shadow-md dark:border-rose-500/30 dark:hover:border-rose-500/70" | 240 | + class="group flex items-start justify-between gap-2 rounded-lg border border-rose-500/40 bg-card p-2.5 shadow-xs transition-all hover:border-rose-500/70 hover:shadow-md dark:border-rose-500/30 dark:hover:border-rose-500/70" |
| 241 | > | 241 | > |
| 242 | <div class="min-w-0"> | 242 | <div class="min-w-0"> |
| 243 | <p class="truncate text-xs font-semibold group-hover:text-rose-500">{exam.title}</p> | 243 | <p class="truncate text-xs font-semibold group-hover:text-rose-500">{exam.title}</p> |
src/pages/course-detail-page.tsxmodified+5 -5
| @@ -376,7 +376,7 @@ function CourseDetailContent() { | |||
| 376 | }, t("common.saved")); | 376 | }, t("common.saved")); |
| 377 | }} | 377 | }} |
| 378 | > | 378 | > |
| 379 | - <div class="space-y-3 rounded-2xl border border-sky-500/15 bg-sky-500/[0.03] p-4 shadow-sm"> | 379 | + <div class="space-y-3 rounded-2xl border border-sky-500/15 bg-sky-500/3 p-4 shadow-xs"> |
| 380 | <div class="space-y-1.5"> | 380 | <div class="space-y-1.5"> |
| 381 | <Label for="edit-course-title">{t("form.title")}</Label> | 381 | <Label for="edit-course-title">{t("form.title")}</Label> |
| 382 | <Input | 382 | <Input |
| @@ -398,7 +398,7 @@ function CourseDetailContent() { | |||
| 398 | /> | 398 | /> |
| 399 | </div> | 399 | </div> |
| 400 | </div> | 400 | </div> |
| 401 | - <div class="space-y-3 rounded-2xl border border-violet-500/15 bg-violet-500/[0.03] p-4 shadow-sm"> | 401 | + <div class="space-y-3 rounded-2xl border border-violet-500/15 bg-violet-500/3 p-4 shadow-xs"> |
| 402 | <div class="space-y-1.5"> | 402 | <div class="space-y-1.5"> |
| 403 | <Label for="edit-course-kind">{t("courses.kind")}</Label> | 403 | <Label for="edit-course-kind">{t("courses.kind")}</Label> |
| 404 | <Select id="edit-course-kind" value={kind()} onChange={(e) => setKind(e.currentTarget.value as CourseKind)}> | 404 | <Select id="edit-course-kind" value={kind()} onChange={(e) => setKind(e.currentTarget.value as CourseKind)}> |
| @@ -441,13 +441,13 @@ function CourseDetailContent() { | |||
| 441 | description={createdCourseExam() ? t("exams.step2Questions") : c().title} | 441 | description={createdCourseExam() ? t("exams.step2Questions") : c().title} |
| 442 | size={examCreateStep() === "questions" ? "wide" : "default"} | 442 | size={examCreateStep() === "questions" ? "wide" : "default"} |
| 443 | > | 443 | > |
| 444 | - <div class="mb-4 flex rounded-2xl border border-indigo-500/15 bg-indigo-500/[0.03] p-1"> | 444 | + <div class="mb-4 flex rounded-2xl border border-indigo-500/15 bg-indigo-500/3 p-1"> |
| 445 | <button | 445 | <button |
| 446 | type="button" | 446 | type="button" |
| 447 | class={cn( | 447 | class={cn( |
| 448 | "rounded-xl px-3 py-2 text-xs font-semibold transition-colors", | 448 | "rounded-xl px-3 py-2 text-xs font-semibold transition-colors", |
| 449 | examCreateStep() === "details" | 449 | examCreateStep() === "details" |
| 450 | - ? "bg-primary text-primary-foreground shadow-xs" | 450 | + ? "bg-primary text-primary-foreground shadow-2xs" |
| 451 | : "text-muted-foreground hover:bg-muted/50", | 451 | : "text-muted-foreground hover:bg-muted/50", |
| 452 | )} | 452 | )} |
| 453 | onClick={() => setExamCreateStep("details")} | 453 | onClick={() => setExamCreateStep("details")} |
| @@ -460,7 +460,7 @@ function CourseDetailContent() { | |||
| 460 | class={cn( | 460 | class={cn( |
| 461 | "rounded-xl px-3 py-2 text-xs font-semibold transition-colors", | 461 | "rounded-xl px-3 py-2 text-xs font-semibold transition-colors", |
| 462 | examCreateStep() === "questions" | 462 | examCreateStep() === "questions" |
| 463 | - ? "bg-primary text-primary-foreground shadow-xs" | 463 | + ? "bg-primary text-primary-foreground shadow-2xs" |
| 464 | : createdCourseExam() | 464 | : createdCourseExam() |
| 465 | ? "text-muted-foreground hover:bg-muted/50" | 465 | ? "text-muted-foreground hover:bg-muted/50" |
| 466 | : "opacity-40 cursor-not-allowed text-muted-foreground", | 466 | : "opacity-40 cursor-not-allowed text-muted-foreground", |
src/pages/courses-page.tsxmodified+5 -5
| @@ -178,7 +178,7 @@ function CoursesContent() { | |||
| 178 | <div class="space-y-6"> | 178 | <div class="space-y-6"> |
| 179 | <SidePanel open={canCreate() && showForm()} onOpenChange={setShowForm} title={t("common.createItem", { item: pageLabel() })} description={t("courses.subtitle", { item: pageLabel() })}> | 179 | <SidePanel open={canCreate() && showForm()} onOpenChange={setShowForm} title={t("common.createItem", { item: pageLabel() })} description={t("courses.subtitle", { item: pageLabel() })}> |
| 180 | <form class="space-y-4" onSubmit={onCreate}> | 180 | <form class="space-y-4" onSubmit={onCreate}> |
| 181 | - <div class="space-y-3 rounded-2xl border border-sky-500/15 bg-sky-500/[0.03] p-4 shadow-sm"> | 181 | + <div class="space-y-3 rounded-2xl border border-sky-500/15 bg-sky-500/3 p-4 shadow-xs"> |
| 182 | <div class="space-y-1.5"> | 182 | <div class="space-y-1.5"> |
| 183 | <Label for="course-title">{t("form.title")}</Label> | 183 | <Label for="course-title">{t("form.title")}</Label> |
| 184 | <Input id="course-title" required maxlength={200} value={title()} onInput={(e) => setTitle(e.currentTarget.value)} /> | 184 | <Input id="course-title" required maxlength={200} value={title()} onInput={(e) => setTitle(e.currentTarget.value)} /> |
| @@ -188,7 +188,7 @@ function CoursesContent() { | |||
| 188 | <Textarea id="course-desc" maxlength={2000} rows={3} value={description()} onInput={(e) => setDescription(e.currentTarget.value)} /> | 188 | <Textarea id="course-desc" maxlength={2000} rows={3} value={description()} onInput={(e) => setDescription(e.currentTarget.value)} /> |
| 189 | </div> | 189 | </div> |
| 190 | </div> | 190 | </div> |
| 191 | - <div class="space-y-3 rounded-2xl border border-violet-500/15 bg-violet-500/[0.03] p-4 shadow-sm"> | 191 | + <div class="space-y-3 rounded-2xl border border-violet-500/15 bg-violet-500/3 p-4 shadow-xs"> |
| 192 | <div class="space-y-1.5"> | 192 | <div class="space-y-1.5"> |
| 193 | <Label for="course-term">{t("terms.term")}</Label> | 193 | <Label for="course-term">{t("terms.term")}</Label> |
| 194 | <Select id="course-term" value={termId()} onChange={(e) => setTermId(e.currentTarget.value)}> | 194 | <Select id="course-term" value={termId()} onChange={(e) => setTermId(e.currentTarget.value)}> |
| @@ -225,7 +225,7 @@ function CoursesContent() { | |||
| 225 | </form> | 225 | </form> |
| 226 | </SidePanel> | 226 | </SidePanel> |
| 227 | 227 | ||
| 228 | - <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/[0.025] p-4"> | 228 | + <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/2.5 p-4"> |
| 229 | <Show when={flash()}> | 229 | <Show when={flash()}> |
| 230 | <Alert variant="success">{flash()}</Alert> | 230 | <Alert variant="success">{flash()}</Alert> |
| 231 | </Show> | 231 | </Show> |
| @@ -239,7 +239,7 @@ function CoursesContent() { | |||
| 239 | description={t("courses.subtitle", { item: pageLabel() })} | 239 | description={t("courses.subtitle", { item: pageLabel() })} |
| 240 | actions={ | 240 | actions={ |
| 241 | canCreate() ? ( | 241 | canCreate() ? ( |
| 242 | - <Button type="button" size="sm" class="min-w-[7.5rem]" onClick={() => setShowForm(true)}> | 242 | + <Button type="button" size="sm" class="min-w-30" onClick={() => setShowForm(true)}> |
| 243 | <IconPlus class="h-4 w-4" /> | 243 | <IconPlus class="h-4 w-4" /> |
| 244 | {t("common.createItem", { item: pageLabel() })} | 244 | {t("common.createItem", { item: pageLabel() })} |
| 245 | </Button> | 245 | </Button> |
| @@ -247,7 +247,7 @@ function CoursesContent() { | |||
| 247 | } | 247 | } |
| 248 | columns={columns()} | 248 | columns={columns()} |
| 249 | data={rows()} | 249 | data={rows()} |
| 250 | - tableClass="table-fixed min-w-[44rem]" | 250 | + tableClass="table-fixed min-w-176" |
| 251 | searchPredicate={searchCourse} | 251 | searchPredicate={searchCourse} |
| 252 | enablePagination | 252 | enablePagination |
| 253 | pageSize={COURSE_PAGE_SIZE} | 253 | pageSize={COURSE_PAGE_SIZE} |
src/pages/dashboard-page.tsxmodified+18 -18
| @@ -87,7 +87,7 @@ const ROLE_TONE: Record<Role, string> = { | |||
| 87 | }; | 87 | }; |
| 88 | 88 | ||
| 89 | function portalTone(to: string) { | 89 | function portalTone(to: string) { |
| 90 | - const base = "bg-muted/40 text-muted-foreground shadow-sm transition-all duration-200 group-hover:scale-105 group-hover:text-foreground dark:bg-muted/30 border"; | 90 | + const base = "bg-muted/40 text-muted-foreground shadow-xs transition-all duration-200 group-hover:scale-105 group-hover:text-foreground dark:bg-muted/30 border"; |
| 91 | if (to === "/exams") { | 91 | if (to === "/exams") { |
| 92 | return cn(base, "border-indigo-500/50 dark:border-indigo-400/40 group-hover:border-indigo-500/90 dark:group-hover:border-indigo-400 group-hover:shadow-[0_0_12px_rgba(99,102,241,0.25)]"); | 92 | return cn(base, "border-indigo-500/50 dark:border-indigo-400/40 group-hover:border-indigo-500/90 dark:group-hover:border-indigo-400 group-hover:shadow-[0_0_12px_rgba(99,102,241,0.25)]"); |
| 93 | } | 93 | } |
| @@ -783,8 +783,8 @@ function DashboardContent() { | |||
| 783 | }); | 783 | }); |
| 784 | 784 | ||
| 785 | return ( | 785 | return ( |
| 786 | - <div class="overflow-hidden rounded-[1.75rem] border border-[#F2F2F3] bg-background shadow-apple dark:border-white/[0.08] dark:bg-background"> | 786 | + <div class="overflow-hidden rounded-[1.75rem] border border-[#F2F2F3] bg-background shadow-apple dark:border-white/8 dark:bg-background"> |
| 787 | - <header class="flex flex-wrap items-end justify-between gap-3 border-b border-[#F2F2F3] bg-card/85 px-4 py-4 backdrop-blur-xl dark:border-white/[0.08] sm:px-5"> | 787 | + <header class="flex flex-wrap items-end justify-between gap-3 border-b border-[#F2F2F3] bg-card/85 px-4 py-4 backdrop-blur-xl dark:border-white/8 sm:px-5"> |
| 788 | <div class="min-w-0 space-y-1"> | 788 | <div class="min-w-0 space-y-1"> |
| 789 | <p class="text-[11px] font-semibold uppercase tracking-[0.16em] text-muted-foreground">{t("dashboard.today")}</p> | 789 | <p class="text-[11px] font-semibold uppercase tracking-[0.16em] text-muted-foreground">{t("dashboard.today")}</p> |
| 790 | <h1 class="truncate font-display text-xl font-semibold tracking-tight text-foreground sm:text-2xl"> | 790 | <h1 class="truncate font-display text-xl font-semibold tracking-tight text-foreground sm:text-2xl"> |
| @@ -793,10 +793,10 @@ function DashboardContent() { | |||
| 793 | <p class="text-sm text-muted-foreground">{t("dashboard.observationOnly")}</p> | 793 | <p class="text-sm text-muted-foreground">{t("dashboard.observationOnly")}</p> |
| 794 | </div> | 794 | </div> |
| 795 | <div class="flex flex-wrap items-center gap-2 text-xs text-muted-foreground"> | 795 | <div class="flex flex-wrap items-center gap-2 text-xs text-muted-foreground"> |
| 796 | - <span class={cn("rounded-full border px-2.5 py-1 font-semibold shadow-sm", ROLE_TONE[role()])}> | 796 | + <span class={cn("rounded-full border px-2.5 py-1 font-semibold shadow-xs", ROLE_TONE[role()])}> |
| 797 | {t(ROLE_KEY[role()])} | 797 | {t(ROLE_KEY[role()])} |
| 798 | </span> | 798 | </span> |
| 799 | - <span class="inline-flex items-center gap-2 rounded-full border border-border/70 bg-background/70 px-2.5 py-1 mono tabular-nums shadow-sm"> | 799 | + <span class="inline-flex items-center gap-2 rounded-full border border-border/70 bg-background/70 px-2.5 py-1 mono tabular-nums shadow-xs"> |
| 800 | <span class="h-2 w-2 rounded-full bg-emerald-500 shadow-[0_0_0_3px_rgba(16,185,129,0.14)]" aria-hidden="true" /> | 800 | <span class="h-2 w-2 rounded-full bg-emerald-500 shadow-[0_0_0_3px_rgba(16,185,129,0.14)]" aria-hidden="true" /> |
| 801 | {formatDateTime(now(), locale()).split(",")[0]} | 801 | {formatDateTime(now(), locale()).split(",")[0]} |
| 802 | </span> | 802 | </span> |
| @@ -953,7 +953,7 @@ function DashboardContent() { | |||
| 953 | </Show> | 953 | </Show> |
| 954 | 954 | ||
| 955 | {/* Workspace Portal Cards (Expandable after 2 rows) */} | 955 | {/* Workspace Portal Cards (Expandable after 2 rows) */} |
| 956 | - <section class="space-y-2.5 rounded-3xl border border-[#F2F2F3] bg-card/60 p-3 sm:p-4 dark:border-white/[0.08] dark:bg-card/40 shadow-sm" aria-labelledby="dash-sections"> | 956 | + <section class="space-y-2.5 rounded-3xl border border-[#F2F2F3] bg-card/60 p-3 sm:p-4 dark:border-white/8 dark:bg-card/40 shadow-xs" aria-labelledby="dash-sections"> |
| 957 | <div class="flex items-center justify-between gap-3"> | 957 | <div class="flex items-center justify-between gap-3"> |
| 958 | <h2 id="dash-sections" class="text-sm font-semibold tracking-tight text-foreground"> | 958 | <h2 id="dash-sections" class="text-sm font-semibold tracking-tight text-foreground"> |
| 959 | {t("dashboard.roleLinks")} | 959 | {t("dashboard.roleLinks")} |
| @@ -1011,7 +1011,7 @@ function DashboardContent() { | |||
| 1011 | type="button" | 1011 | type="button" |
| 1012 | variant="outline" | 1012 | variant="outline" |
| 1013 | size="sm" | 1013 | size="sm" |
| 1014 | - class="h-8 rounded-full border-border/70 bg-background/80 px-4 text-xs font-medium text-foreground shadow-sm transition-all duration-200 hover:border-primary/50 hover:bg-card hover:shadow" | 1014 | + class="h-8 rounded-full border-border/70 bg-background/80 px-4 text-xs font-medium text-foreground shadow-xs transition-all duration-200 hover:border-primary/50 hover:bg-card hover:shadow-sm" |
| 1015 | onClick={() => setShowAllPortals((v) => !v)} | 1015 | onClick={() => setShowAllPortals((v) => !v)} |
| 1016 | > | 1016 | > |
| 1017 | <span>{showAllPortals() ? "Daha az göster" : "Daha fazla göster"}</span> | 1017 | <span>{showAllPortals() ? "Daha az göster" : "Daha fazla göster"}</span> |
| @@ -1025,7 +1025,7 @@ function DashboardContent() { | |||
| 1025 | 1025 | ||
| 1026 | <Show when={role() !== "parent"}> | 1026 | <Show when={role() !== "parent"}> |
| 1027 | <div class="grid items-stretch gap-5"> | 1027 | <div class="grid items-stretch gap-5"> |
| 1028 | - <section class="flex min-h-[17rem] flex-col space-y-2.5 rounded-3xl border border-[#F2F2F3] bg-card/60 p-3 sm:p-4 dark:border-white/[0.08] dark:bg-card/40 shadow-sm" aria-labelledby="dash-attention"> | 1028 | + <section class="flex min-h-68 flex-col space-y-2.5 rounded-3xl border border-[#F2F2F3] bg-card/60 p-3 sm:p-4 dark:border-white/8 dark:bg-card/40 shadow-xs" aria-labelledby="dash-attention"> |
| 1029 | <div class="flex flex-wrap items-center justify-between gap-2 border-b border-border/40 pb-2"> | 1029 | <div class="flex flex-wrap items-center justify-between gap-2 border-b border-border/40 pb-2"> |
| 1030 | <h2 id="dash-attention" class="text-sm font-semibold tracking-tight text-foreground"> | 1030 | <h2 id="dash-attention" class="text-sm font-semibold tracking-tight text-foreground"> |
| 1031 | {t("dashboard.attention")} | 1031 | {t("dashboard.attention")} |
| @@ -1036,7 +1036,7 @@ function DashboardContent() { | |||
| 1036 | class={cn( | 1036 | class={cn( |
| 1037 | "rounded-md px-2.5 py-0.5 font-medium transition-all", | 1037 | "rounded-md px-2.5 py-0.5 font-medium transition-all", |
| 1038 | attentionFilter() === "all" | 1038 | attentionFilter() === "all" |
| 1039 | - ? "bg-background font-semibold text-foreground shadow-sm" | 1039 | + ? "bg-background font-semibold text-foreground shadow-xs" |
| 1040 | : "text-muted-foreground hover:text-foreground", | 1040 | : "text-muted-foreground hover:text-foreground", |
| 1041 | )} | 1041 | )} |
| 1042 | onClick={() => { setAttentionFilter("all"); setAttentionPage(0); }} | 1042 | onClick={() => { setAttentionFilter("all"); setAttentionPage(0); }} |
| @@ -1048,7 +1048,7 @@ function DashboardContent() { | |||
| 1048 | class={cn( | 1048 | class={cn( |
| 1049 | "rounded-md px-2.5 py-0.5 font-medium transition-all", | 1049 | "rounded-md px-2.5 py-0.5 font-medium transition-all", |
| 1050 | attentionFilter() === "exam" | 1050 | attentionFilter() === "exam" |
| 1051 | - ? "bg-background font-semibold text-foreground shadow-sm" | 1051 | + ? "bg-background font-semibold text-foreground shadow-xs" |
| 1052 | : "text-muted-foreground hover:text-foreground", | 1052 | : "text-muted-foreground hover:text-foreground", |
| 1053 | )} | 1053 | )} |
| 1054 | onClick={() => { setAttentionFilter("exam"); setAttentionPage(0); }} | 1054 | onClick={() => { setAttentionFilter("exam"); setAttentionPage(0); }} |
| @@ -1060,7 +1060,7 @@ function DashboardContent() { | |||
| 1060 | class={cn( | 1060 | class={cn( |
| 1061 | "rounded-md px-2.5 py-0.5 font-medium transition-all", | 1061 | "rounded-md px-2.5 py-0.5 font-medium transition-all", |
| 1062 | attentionFilter() === "event" | 1062 | attentionFilter() === "event" |
| 1063 | - ? "bg-background font-semibold text-foreground shadow-sm" | 1063 | + ? "bg-background font-semibold text-foreground shadow-xs" |
| 1064 | : "text-muted-foreground hover:text-foreground", | 1064 | : "text-muted-foreground hover:text-foreground", |
| 1065 | )} | 1065 | )} |
| 1066 | onClick={() => { setAttentionFilter("event"); setAttentionPage(0); }} | 1066 | onClick={() => { setAttentionFilter("event"); setAttentionPage(0); }} |
| @@ -1074,14 +1074,14 @@ function DashboardContent() { | |||
| 1074 | when={filteredAttention().length > 0} | 1074 | when={filteredAttention().length > 0} |
| 1075 | fallback={<DashEmpty>{t("dashboard.noAttention")}</DashEmpty>} | 1075 | fallback={<DashEmpty>{t("dashboard.noAttention")}</DashEmpty>} |
| 1076 | > | 1076 | > |
| 1077 | - <ul class="flex-1 divide-y divide-[#F2F2F3] overflow-hidden rounded-2xl border border-[#F2F2F3] dark:border-white/[0.08] bg-card shadow-apple"> | 1077 | + <ul class="flex-1 divide-y divide-[#F2F2F3] overflow-hidden rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card shadow-apple"> |
| 1078 | <For each={pagedAttention()}> | 1078 | <For each={pagedAttention()}> |
| 1079 | {(item) => ( | 1079 | {(item) => ( |
| 1080 | <li> | 1080 | <li> |
| 1081 | <Link | 1081 | <Link |
| 1082 | to={item.to} | 1082 | to={item.to} |
| 1083 | params={{ id: item.id }} | 1083 | params={{ id: item.id }} |
| 1084 | - class="flex items-center gap-3 px-3 py-2.5 text-sm transition-[background-color,box-shadow] hover:bg-muted/45 hover:shadow-[inset_2px_0_0_hsl(var(--primary)/0.7)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/60 sm:px-4 sm:py-3" | 1084 | + class="flex items-center gap-3 px-3 py-2.5 text-sm transition-[background-color,box-shadow] hover:bg-muted/45 hover:shadow-[inset_2px_0_0_hsl(var(--primary)/0.7)] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/60 sm:px-4 sm:py-3" |
| 1085 | > | 1085 | > |
| 1086 | <StatusDot status={item.status} /> | 1086 | <StatusDot status={item.status} /> |
| 1087 | <div class="min-w-0 flex-1"> | 1087 | <div class="min-w-0 flex-1"> |
| @@ -1122,7 +1122,7 @@ function DashboardContent() { | |||
| 1122 | 1122 | ||
| 1123 | function DashEmpty(props: { children: string }) { | 1123 | function DashEmpty(props: { children: string }) { |
| 1124 | return ( | 1124 | return ( |
| 1125 | - <div class="flex min-h-0 flex-1 items-center justify-center rounded-xl border border-dashed border-border bg-card/80 px-4 py-8 text-center text-sm text-muted-foreground shadow-sm"> | 1125 | + <div class="flex min-h-0 flex-1 items-center justify-center rounded-xl border border-dashed border-border bg-card/80 px-4 py-8 text-center text-sm text-muted-foreground shadow-xs"> |
| 1126 | {props.children} | 1126 | {props.children} |
| 1127 | </div> | 1127 | </div> |
| 1128 | ); | 1128 | ); |
| @@ -1159,12 +1159,12 @@ function PortalCard(props: { | |||
| 1159 | <span class="hidden text-muted-foreground/40 sm:inline" aria-hidden="true"> | 1159 | <span class="hidden text-muted-foreground/40 sm:inline" aria-hidden="true"> |
| 1160 | | | 1160 | | |
| 1161 | </span> | 1161 | </span> |
| 1162 | - <span class="mono shrink-0 rounded-full border border-black/[0.06] bg-background/80 px-2 py-0.5 text-xs font-semibold tabular-nums tracking-tight text-foreground shadow-sm dark:border-white/[0.08] sm:text-sm"> | 1162 | + <span class="mono shrink-0 rounded-full border border-black/6 bg-background/80 px-2 py-0.5 text-xs font-semibold tabular-nums tracking-tight text-foreground shadow-xs dark:border-white/8 sm:text-sm"> |
| 1163 | {props.card.stat} | 1163 | {props.card.stat} |
| 1164 | </span> | 1164 | </span> |
| 1165 | </Show> | 1165 | </Show> |
| 1166 | <Show when={props.card.minRole && props.card.minRole !== "student"}> | 1166 | <Show when={props.card.minRole && props.card.minRole !== "student"}> |
| 1167 | - <span class="ml-auto hidden shrink-0 rounded-full border border-black/[0.06] dark:border-white/[0.08] bg-muted/60 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground sm:inline"> | 1167 | + <span class="ml-auto hidden shrink-0 rounded-full border border-black/6 dark:border-white/8 bg-muted/60 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground sm:inline"> |
| 1168 | {t(ROLE_KEY[props.card.minRole!])} | 1168 | {t(ROLE_KEY[props.card.minRole!])} |
| 1169 | </span> | 1169 | </span> |
| 1170 | </Show> | 1170 | </Show> |
| @@ -1212,9 +1212,9 @@ function PortalCard(props: { | |||
| 1212 | 1212 | ||
| 1213 | const cardClass = () => | 1213 | const cardClass = () => |
| 1214 | cn( | 1214 | cn( |
| 1215 | - "group relative flex min-h-[6rem] items-start gap-3.5 overflow-hidden rounded-2xl border border-[#F2F2F3] bg-card p-4 shadow-apple transition-all duration-200 hover:-translate-y-0.5 hover:shadow-apple-hover hover:border-border dark:border-white/[0.08] dark:hover:border-white/20 dark:hover:shadow-[0_10px_30px_rgba(0,0,0,0.6)] sm:min-h-[6.5rem]", | 1215 | + "group relative flex min-h-24 items-start gap-3.5 overflow-hidden rounded-2xl border border-[#F2F2F3] bg-card p-4 shadow-apple transition-all duration-200 hover:-translate-y-0.5 hover:shadow-apple-hover hover:border-border dark:border-white/8 dark:hover:border-white/20 dark:hover:shadow-[0_10px_30px_rgba(0,0,0,0.6)] sm:min-h-26", |
| 1216 | !props.editing && "active:scale-[0.98]", | 1216 | !props.editing && "active:scale-[0.98]", |
| 1217 | - props.editing && "cursor-grab select-none border-dashed border-primary/50 bg-primary/[0.03]", | 1217 | + props.editing && "cursor-grab select-none border-dashed border-primary/50 bg-primary/3", |
| 1218 | props.preview && "scale-[1.02] border-primary/70 bg-primary/10 opacity-80 shadow-apple-hover", | 1218 | props.preview && "scale-[1.02] border-primary/70 bg-primary/10 opacity-80 shadow-apple-hover", |
| 1219 | props.dragging && "scale-[0.98] border-primary/50 opacity-50", | 1219 | props.dragging && "scale-[0.98] border-primary/50 opacity-50", |
| 1220 | ); | 1220 | ); |
src/pages/events-page.tsxmodified+3 -3
| @@ -185,7 +185,7 @@ function EventsContent() { | |||
| 185 | <Alert variant="destructive">{error()}</Alert> | 185 | <Alert variant="destructive">{error()}</Alert> |
| 186 | </Show> | 186 | </Show> |
| 187 | 187 | ||
| 188 | - <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/[0.025] p-4"> | 188 | + <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/2.5 p-4"> |
| 189 | <Suspense fallback={<DataTableSkeleton columns={5} rows={8} />}> | 189 | <Suspense fallback={<DataTableSkeleton columns={5} rows={8} />}> |
| 190 | <Show when={list.error}> | 190 | <Show when={list.error}> |
| 191 | <Alert variant="destructive">{formatApiError(list.error)}</Alert> | 191 | <Alert variant="destructive">{formatApiError(list.error)}</Alert> |
| @@ -195,7 +195,7 @@ function EventsContent() { | |||
| 195 | description={t("events.subtitle")} | 195 | description={t("events.subtitle")} |
| 196 | actions={ | 196 | actions={ |
| 197 | canCreate() ? ( | 197 | canCreate() ? ( |
| 198 | - <Button type="button" size="sm" class="min-w-[7.5rem]" onClick={() => setShowForm(true)}> | 198 | + <Button type="button" size="sm" class="min-w-30" onClick={() => setShowForm(true)}> |
| 199 | <IconPlus class="h-4 w-4" /> | 199 | <IconPlus class="h-4 w-4" /> |
| 200 | {t("events.create")} | 200 | {t("events.create")} |
| 201 | </Button> | 201 | </Button> |
| @@ -203,7 +203,7 @@ function EventsContent() { | |||
| 203 | } | 203 | } |
| 204 | columns={columns()} | 204 | columns={columns()} |
| 205 | data={rows()} | 205 | data={rows()} |
| 206 | - tableClass="table-fixed min-w-[58rem]" | 206 | + tableClass="table-fixed min-w-232" |
| 207 | searchPredicate={searchEvent} | 207 | searchPredicate={searchEvent} |
| 208 | enablePagination | 208 | enablePagination |
| 209 | pageSize={EVENT_PAGE_SIZE} | 209 | pageSize={EVENT_PAGE_SIZE} |
src/pages/exam-detail-page.tsxmodified+1 -1
| @@ -479,7 +479,7 @@ function ExamDetailContent() { | |||
| 479 | <button | 479 | <button |
| 480 | type="button" | 480 | type="button" |
| 481 | onClick={() => setMarkOpen((v) => !v)} | 481 | onClick={() => setMarkOpen((v) => !v)} |
| 482 | - class="flex w-full items-center justify-between gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left text-sm shadow-sm transition-colors hover:bg-muted/40" | 482 | + class="flex w-full items-center justify-between gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left text-sm shadow-xs transition-colors hover:bg-muted/40" |
| 483 | > | 483 | > |
| 484 | <span class="inline-flex items-center gap-2 font-medium"> | 484 | <span class="inline-flex items-center gap-2 font-medium"> |
| 485 | <IconEdit class="h-4 w-4" /> | 485 | <IconEdit class="h-4 w-4" /> |
src/pages/exam-room-page.tsxmodified+1 -1
| @@ -67,7 +67,7 @@ function ExamRoomContent() { | |||
| 67 | title={ex().title} | 67 | title={ex().title} |
| 68 | description={ex().description || undefined} | 68 | description={ex().description || undefined} |
| 69 | actions={ | 69 | actions={ |
| 70 | - <div class="flex w-full flex-wrap items-center gap-1 rounded-lg border bg-background/80 p-1 shadow-sm sm:w-auto"> | 70 | + <div class="flex w-full flex-wrap items-center gap-1 rounded-lg border bg-background/80 p-1 shadow-xs sm:w-auto"> |
| 71 | <Link to="/exams/$id" params={{ id: id() }}> | 71 | <Link to="/exams/$id" params={{ id: id() }}> |
| 72 | <Button variant="ghost" size="sm" class="w-full rounded-md sm:w-auto"> | 72 | <Button variant="ghost" size="sm" class="w-full rounded-md sm:w-auto"> |
| 73 | <IconChevronLeft class="h-4 w-4" /> | 73 | <IconChevronLeft class="h-4 w-4" /> |
src/pages/exams-page.tsxmodified+10 -10
| @@ -270,7 +270,7 @@ function ExamsContent() { | |||
| 270 | <Alert variant="destructive">{error()}</Alert> | 270 | <Alert variant="destructive">{error()}</Alert> |
| 271 | </Show> | 271 | </Show> |
| 272 | 272 | ||
| 273 | - <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/[0.025] p-4"> | 273 | + <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/2.5 p-4"> |
| 274 | <Suspense fallback={<DataTableSkeleton columns={6} rows={8} />}> | 274 | <Suspense fallback={<DataTableSkeleton columns={6} rows={8} />}> |
| 275 | <Show when={list.error}> | 275 | <Show when={list.error}> |
| 276 | <Alert variant="destructive">{formatApiError(list.error)}</Alert> | 276 | <Alert variant="destructive">{formatApiError(list.error)}</Alert> |
| @@ -280,7 +280,7 @@ function ExamsContent() { | |||
| 280 | description={t("exams.subtitle")} | 280 | description={t("exams.subtitle")} |
| 281 | actions={ | 281 | actions={ |
| 282 | canCreate() ? ( | 282 | canCreate() ? ( |
| 283 | - <Button type="button" size="sm" class="min-w-[7.5rem]" onClick={openCreateModal}> | 283 | + <Button type="button" size="sm" class="min-w-30" onClick={openCreateModal}> |
| 284 | <IconPlus class="h-4 w-4" /> | 284 | <IconPlus class="h-4 w-4" /> |
| 285 | {t("exams.create")} | 285 | {t("exams.create")} |
| 286 | </Button> | 286 | </Button> |
| @@ -288,7 +288,7 @@ function ExamsContent() { | |||
| 288 | } | 288 | } |
| 289 | columns={columns()} | 289 | columns={columns()} |
| 290 | data={rows()} | 290 | data={rows()} |
| 291 | - tableClass="table-fixed min-w-[64rem]" | 291 | + tableClass="table-fixed min-w-5xl" |
| 292 | filterPlaceholder={t("exams.searchPlaceholder")} | 292 | filterPlaceholder={t("exams.searchPlaceholder")} |
| 293 | searchPredicate={searchExam} | 293 | searchPredicate={searchExam} |
| 294 | enablePagination | 294 | enablePagination |
| @@ -357,13 +357,13 @@ function ExamsContent() { | |||
| 357 | description={createdExam() ? t("exams.step2Questions") : t("exams.subtitle")} | 357 | description={createdExam() ? t("exams.step2Questions") : t("exams.subtitle")} |
| 358 | size={createStep() === "questions" ? "wide" : "default"} | 358 | size={createStep() === "questions" ? "wide" : "default"} |
| 359 | > | 359 | > |
| 360 | - <div class="mb-4 flex rounded-2xl border border-indigo-500/15 bg-indigo-500/[0.03] p-1"> | 360 | + <div class="mb-4 flex rounded-2xl border border-indigo-500/15 bg-indigo-500/3 p-1"> |
| 361 | <button | 361 | <button |
| 362 | type="button" | 362 | type="button" |
| 363 | class={cn( | 363 | class={cn( |
| 364 | "rounded-xl px-3 py-2 text-xs font-semibold transition-colors", | 364 | "rounded-xl px-3 py-2 text-xs font-semibold transition-colors", |
| 365 | createStep() === "details" | 365 | createStep() === "details" |
| 366 | - ? "bg-primary text-primary-foreground shadow-xs" | 366 | + ? "bg-primary text-primary-foreground shadow-2xs" |
| 367 | : "text-muted-foreground hover:bg-muted/50", | 367 | : "text-muted-foreground hover:bg-muted/50", |
| 368 | )} | 368 | )} |
| 369 | onClick={() => setCreateStep("details")} | 369 | onClick={() => setCreateStep("details")} |
| @@ -376,7 +376,7 @@ function ExamsContent() { | |||
| 376 | class={cn( | 376 | class={cn( |
| 377 | "rounded-xl px-3 py-2 text-xs font-semibold transition-colors", | 377 | "rounded-xl px-3 py-2 text-xs font-semibold transition-colors", |
| 378 | createStep() === "questions" | 378 | createStep() === "questions" |
| 379 | - ? "bg-primary text-primary-foreground shadow-xs" | 379 | + ? "bg-primary text-primary-foreground shadow-2xs" |
| 380 | : createdExam() | 380 | : createdExam() |
| 381 | ? "text-muted-foreground hover:bg-muted/50" | 381 | ? "text-muted-foreground hover:bg-muted/50" |
| 382 | : "opacity-40 cursor-not-allowed text-muted-foreground", | 382 | : "opacity-40 cursor-not-allowed text-muted-foreground", |
| @@ -389,7 +389,7 @@ function ExamsContent() { | |||
| 389 | 389 | ||
| 390 | <Show when={createStep() === "details"}> | 390 | <Show when={createStep() === "details"}> |
| 391 | <Show when={!createdExam()}> | 391 | <Show when={!createdExam()}> |
| 392 | - <div class="mb-4 space-y-1.5 rounded-2xl border border-sky-500/15 bg-sky-500/[0.03] p-4"> | 392 | + <div class="mb-4 space-y-1.5 rounded-2xl border border-sky-500/15 bg-sky-500/3 p-4"> |
| 393 | <label class="text-sm font-medium" for="exam-course"> | 393 | <label class="text-sm font-medium" for="exam-course"> |
| 394 | {t("exams.selectCourse")} | 394 | {t("exams.selectCourse")} |
| 395 | </label> | 395 | </label> |
| @@ -438,13 +438,13 @@ function ExamsContent() { | |||
| 438 | <Show when={editingExam()}> | 438 | <Show when={editingExam()}> |
| 439 | {(exam) => ( | 439 | {(exam) => ( |
| 440 | <div class="space-y-4"> | 440 | <div class="space-y-4"> |
| 441 | - <div class="flex rounded-2xl border border-indigo-500/15 bg-indigo-500/[0.03] p-1"> | 441 | + <div class="flex rounded-2xl border border-indigo-500/15 bg-indigo-500/3 p-1"> |
| 442 | <button | 442 | <button |
| 443 | type="button" | 443 | type="button" |
| 444 | class={cn( | 444 | class={cn( |
| 445 | "rounded-xl px-3 py-2 text-xs font-semibold transition-colors", | 445 | "rounded-xl px-3 py-2 text-xs font-semibold transition-colors", |
| 446 | editTab() === "details" | 446 | editTab() === "details" |
| 447 | - ? "bg-primary text-primary-foreground shadow-xs" | 447 | + ? "bg-primary text-primary-foreground shadow-2xs" |
| 448 | : "text-muted-foreground hover:bg-muted/50", | 448 | : "text-muted-foreground hover:bg-muted/50", |
| 449 | )} | 449 | )} |
| 450 | onClick={() => setEditTab("details")} | 450 | onClick={() => setEditTab("details")} |
| @@ -456,7 +456,7 @@ function ExamsContent() { | |||
| 456 | class={cn( | 456 | class={cn( |
| 457 | "rounded-xl px-3 py-2 text-xs font-semibold transition-colors", | 457 | "rounded-xl px-3 py-2 text-xs font-semibold transition-colors", |
| 458 | editTab() === "questions" | 458 | editTab() === "questions" |
| 459 | - ? "bg-primary text-primary-foreground shadow-xs" | 459 | + ? "bg-primary text-primary-foreground shadow-2xs" |
| 460 | : "text-muted-foreground hover:bg-muted/50", | 460 | : "text-muted-foreground hover:bg-muted/50", |
| 461 | )} | 461 | )} |
| 462 | onClick={() => setEditTab("questions")} | 462 | onClick={() => setEditTab("questions")} |
src/pages/guide-page.tsxmodified+12 -12
| @@ -147,7 +147,7 @@ function GuideContent() { | |||
| 147 | /> | 147 | /> |
| 148 | 148 | ||
| 149 | {/* 1. ROL BAZLI YETKİ HARİTASI (TABS AT THE TOP) */} | 149 | {/* 1. ROL BAZLI YETKİ HARİTASI (TABS AT THE TOP) */} |
| 150 | - <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/[0.025] p-6"> | 150 | + <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/2.5 p-6"> |
| 151 | <div> | 151 | <div> |
| 152 | <h2 class="font-display text-lg font-semibold tracking-tight">Rol Bazlı Yetki Haritası</h2> | 152 | <h2 class="font-display text-lg font-semibold tracking-tight">Rol Bazlı Yetki Haritası</h2> |
| 153 | <p class="mt-1 text-xs text-muted-foreground">Platformdaki her bir rolün erişebildiği ve yönetebildiği alanlar.</p> | 153 | <p class="mt-1 text-xs text-muted-foreground">Platformdaki her bir rolün erişebildiği ve yönetebildiği alanlar.</p> |
| @@ -174,7 +174,7 @@ function GuideContent() { | |||
| 174 | </TabsList> | 174 | </TabsList> |
| 175 | 175 | ||
| 176 | <TabsContent value="student" class="space-y-3"> | 176 | <TabsContent value="student" class="space-y-3"> |
| 177 | - <div class="rounded-xl border border-border/80 bg-card p-4 shadow-sm"> | 177 | + <div class="rounded-xl border border-border/80 bg-card p-4 shadow-xs"> |
| 178 | <h3 class="font-display text-sm font-semibold text-foreground">Öğrenci Çalışma & Katılım Araçları</h3> | 178 | <h3 class="font-display text-sm font-semibold text-foreground">Öğrenci Çalışma & Katılım Araçları</h3> |
| 179 | <ul class="mt-3 grid gap-2 text-xs text-muted-foreground sm:grid-cols-2"> | 179 | <ul class="mt-3 grid gap-2 text-xs text-muted-foreground sm:grid-cols-2"> |
| 180 | <li class="flex items-center gap-2 rounded-lg border border-border/60 bg-muted/20 p-2.5"> | 180 | <li class="flex items-center gap-2 rounded-lg border border-border/60 bg-muted/20 p-2.5"> |
| @@ -198,7 +198,7 @@ function GuideContent() { | |||
| 198 | </TabsContent> | 198 | </TabsContent> |
| 199 | 199 | ||
| 200 | <TabsContent value="teacher" class="space-y-3"> | 200 | <TabsContent value="teacher" class="space-y-3"> |
| 201 | - <div class="rounded-xl border border-border/80 bg-card p-4 shadow-sm"> | 201 | + <div class="rounded-xl border border-border/80 bg-card p-4 shadow-xs"> |
| 202 | <h3 class="font-display text-sm font-semibold text-foreground">Öğretmen Yönetim & Eğitici Paneli</h3> | 202 | <h3 class="font-display text-sm font-semibold text-foreground">Öğretmen Yönetim & Eğitici Paneli</h3> |
| 203 | <ul class="mt-3 grid gap-2 text-xs text-muted-foreground sm:grid-cols-2"> | 203 | <ul class="mt-3 grid gap-2 text-xs text-muted-foreground sm:grid-cols-2"> |
| 204 | <li class="flex items-center gap-2 rounded-lg border border-border/60 bg-muted/20 p-2.5"> | 204 | <li class="flex items-center gap-2 rounded-lg border border-border/60 bg-muted/20 p-2.5"> |
| @@ -222,7 +222,7 @@ function GuideContent() { | |||
| 222 | </TabsContent> | 222 | </TabsContent> |
| 223 | 223 | ||
| 224 | <TabsContent value="parent" class="space-y-3"> | 224 | <TabsContent value="parent" class="space-y-3"> |
| 225 | - <div class="rounded-xl border border-border/80 bg-card p-4 shadow-sm"> | 225 | + <div class="rounded-xl border border-border/80 bg-card p-4 shadow-xs"> |
| 226 | <h3 class="font-display text-sm font-semibold text-foreground">Veli Takip & Bilgilendirme Portalı</h3> | 226 | <h3 class="font-display text-sm font-semibold text-foreground">Veli Takip & Bilgilendirme Portalı</h3> |
| 227 | <ul class="mt-3 grid gap-2 text-xs text-muted-foreground sm:grid-cols-2"> | 227 | <ul class="mt-3 grid gap-2 text-xs text-muted-foreground sm:grid-cols-2"> |
| 228 | <li class="flex items-center gap-2 rounded-lg border border-border/60 bg-muted/20 p-2.5"> | 228 | <li class="flex items-center gap-2 rounded-lg border border-border/60 bg-muted/20 p-2.5"> |
| @@ -246,7 +246,7 @@ function GuideContent() { | |||
| 246 | </TabsContent> | 246 | </TabsContent> |
| 247 | 247 | ||
| 248 | <TabsContent value="admin" class="space-y-3"> | 248 | <TabsContent value="admin" class="space-y-3"> |
| 249 | - <div class="rounded-xl border border-border/80 bg-card p-4 shadow-sm"> | 249 | + <div class="rounded-xl border border-border/80 bg-card p-4 shadow-xs"> |
| 250 | <h3 class="font-display text-sm font-semibold text-foreground">Yönetici & Sistem Politikaları Paneli</h3> | 250 | <h3 class="font-display text-sm font-semibold text-foreground">Yönetici & Sistem Politikaları Paneli</h3> |
| 251 | <ul class="mt-3 grid gap-2 text-xs text-muted-foreground sm:grid-cols-2"> | 251 | <ul class="mt-3 grid gap-2 text-xs text-muted-foreground sm:grid-cols-2"> |
| 252 | <li class="flex items-center gap-2 rounded-lg border border-border/60 bg-muted/20 p-2.5"> | 252 | <li class="flex items-center gap-2 rounded-lg border border-border/60 bg-muted/20 p-2.5"> |
| @@ -272,7 +272,7 @@ function GuideContent() { | |||
| 272 | </section> | 272 | </section> |
| 273 | 273 | ||
| 274 | {/* 2. TEMEL AKIŞLAR & ÖZELLİKLER (MODÜL KARTLARI) */} | 274 | {/* 2. TEMEL AKIŞLAR & ÖZELLİKLER (MODÜL KARTLARI) */} |
| 275 | - <section class="data-shell space-y-6 border-sky-500/15 bg-sky-500/[0.025] p-6"> | 275 | + <section class="data-shell space-y-6 border-sky-500/15 bg-sky-500/2.5 p-6"> |
| 276 | <div> | 276 | <div> |
| 277 | <h2 class="font-display text-lg font-semibold tracking-tight">Temel Akışlar & Özellikler</h2> | 277 | <h2 class="font-display text-lg font-semibold tracking-tight">Temel Akışlar & Özellikler</h2> |
| 278 | <p class="mt-1 text-xs text-muted-foreground">Hezarfen platformundaki ana modülleri ve kullanım adımlarını inceleyin.</p> | 278 | <p class="mt-1 text-xs text-muted-foreground">Hezarfen platformundaki ana modülleri ve kullanım adımlarını inceleyin.</p> |
| @@ -281,7 +281,7 @@ function GuideContent() { | |||
| 281 | <div class="grid gap-4 md:grid-cols-2 lg:grid-cols-3"> | 281 | <div class="grid gap-4 md:grid-cols-2 lg:grid-cols-3"> |
| 282 | <For each={steps}> | 282 | <For each={steps}> |
| 283 | {(step) => ( | 283 | {(step) => ( |
| 284 | - <article class={cn("group relative flex flex-col justify-between overflow-hidden rounded-2xl border bg-card p-5 shadow-sm transition-all duration-200 ease-out hover:-translate-y-1 hover:shadow-md", step.borderTone)}> | 284 | + <article class={cn("group relative flex flex-col justify-between overflow-hidden rounded-2xl border bg-card p-5 shadow-xs transition-all duration-200 ease-out hover:-translate-y-1 hover:shadow-md", step.borderTone)}> |
| 285 | <div class="space-y-3"> | 285 | <div class="space-y-3"> |
| 286 | <div class="flex items-center justify-between gap-2"> | 286 | <div class="flex items-center justify-between gap-2"> |
| 287 | <span class={cn("inline-flex items-center gap-1.5 rounded-lg border px-2.5 py-1 text-[11px] font-bold uppercase tracking-wider", step.badgeTone)}> | 287 | <span class={cn("inline-flex items-center gap-1.5 rounded-lg border px-2.5 py-1 text-[11px] font-bold uppercase tracking-wider", step.badgeTone)}> |
| @@ -321,14 +321,14 @@ function GuideContent() { | |||
| 321 | </section> | 321 | </section> |
| 322 | 322 | ||
| 323 | {/* 3. PRATİK İPUÇLARI & KISAYOLLAR */} | 323 | {/* 3. PRATİK İPUÇLARI & KISAYOLLAR */} |
| 324 | - <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/[0.025] p-6"> | 324 | + <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/2.5 p-6"> |
| 325 | <div> | 325 | <div> |
| 326 | <h2 class="font-display text-lg font-semibold tracking-tight">Pratik İpuçları & Kısayollar</h2> | 326 | <h2 class="font-display text-lg font-semibold tracking-tight">Pratik İpuçları & Kısayollar</h2> |
| 327 | <p class="mt-1 text-xs text-muted-foreground">Hezarfen deneyimini en verimli şekilde kullanmanızı sağlayan püf noktaları.</p> | 327 | <p class="mt-1 text-xs text-muted-foreground">Hezarfen deneyimini en verimli şekilde kullanmanızı sağlayan püf noktaları.</p> |
| 328 | </div> | 328 | </div> |
| 329 | 329 | ||
| 330 | <ul class="grid gap-3 text-xs text-muted-foreground sm:grid-cols-2"> | 330 | <ul class="grid gap-3 text-xs text-muted-foreground sm:grid-cols-2"> |
| 331 | - <li class="flex items-start gap-3 rounded-xl border border-border/60 bg-card p-4 shadow-sm"> | 331 | + <li class="flex items-start gap-3 rounded-xl border border-border/60 bg-card p-4 shadow-xs"> |
| 332 | <span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-lg border border-border/80 bg-card text-violet-400"> | 332 | <span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-lg border border-border/80 bg-card text-violet-400"> |
| 333 | <IconGlobe class="h-4 w-4" /> | 333 | <IconGlobe class="h-4 w-4" /> |
| 334 | </span> | 334 | </span> |
| @@ -337,7 +337,7 @@ function GuideContent() { | |||
| 337 | <p class="mt-1 leading-relaxed">Sağ üstteki profil avatarınıza tıklayarak Türkçe / İngilizce dillerini ve Dark / Light temalarını anında değiştirebilirsiniz.</p> | 337 | <p class="mt-1 leading-relaxed">Sağ üstteki profil avatarınıza tıklayarak Türkçe / İngilizce dillerini ve Dark / Light temalarını anında değiştirebilirsiniz.</p> |
| 338 | </div> | 338 | </div> |
| 339 | </li> | 339 | </li> |
| 340 | - <li class="flex items-start gap-3 rounded-xl border border-border/60 bg-card p-4 shadow-sm"> | 340 | + <li class="flex items-start gap-3 rounded-xl border border-border/60 bg-card p-4 shadow-xs"> |
| 341 | <span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-lg border border-border/80 bg-card text-sky-400"> | 341 | <span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-lg border border-border/80 bg-card text-sky-400"> |
| 342 | <IconClock class="h-4 w-4" /> | 342 | <IconClock class="h-4 w-4" /> |
| 343 | </span> | 343 | </span> |
| @@ -346,7 +346,7 @@ function GuideContent() { | |||
| 346 | <p class="mt-1 leading-relaxed">Sınav odasındaki yanıtlarınız ve çizim tuvalindeki taslaklarınız sunucu saati (`/time`) ile arka planda güvenle kaydedilir.</p> | 346 | <p class="mt-1 leading-relaxed">Sınav odasındaki yanıtlarınız ve çizim tuvalindeki taslaklarınız sunucu saati (`/time`) ile arka planda güvenle kaydedilir.</p> |
| 347 | </div> | 347 | </div> |
| 348 | </li> | 348 | </li> |
| 349 | - <li class="flex items-start gap-3 rounded-xl border border-border/60 bg-card p-4 shadow-sm"> | 349 | + <li class="flex items-start gap-3 rounded-xl border border-border/60 bg-card p-4 shadow-xs"> |
| 350 | <span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-lg border border-border/80 bg-card text-amber-400"> | 350 | <span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-lg border border-border/80 bg-card text-amber-400"> |
| 351 | <IconFileText class="h-4 w-4" /> | 351 | <IconFileText class="h-4 w-4" /> |
| 352 | </span> | 352 | </span> |
| @@ -355,7 +355,7 @@ function GuideContent() { | |||
| 355 | <p class="mt-1 leading-relaxed">Notlar sayfasında "İçe Aktar" butonunu kullanarak PDF ve TXT ders dokümanlarınızı temiz Markdown metinlerine dönüştürebilirsiniz.</p> | 355 | <p class="mt-1 leading-relaxed">Notlar sayfasında "İçe Aktar" butonunu kullanarak PDF ve TXT ders dokümanlarınızı temiz Markdown metinlerine dönüştürebilirsiniz.</p> |
| 356 | </div> | 356 | </div> |
| 357 | </li> | 357 | </li> |
| 358 | - <li class="flex items-start gap-3 rounded-xl border border-border/60 bg-card p-4 shadow-sm"> | 358 | + <li class="flex items-start gap-3 rounded-xl border border-border/60 bg-card p-4 shadow-xs"> |
| 359 | <span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-lg border border-border/80 bg-card text-emerald-400"> | 359 | <span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-lg border border-border/80 bg-card text-emerald-400"> |
| 360 | <IconChart class="h-4 w-4" /> | 360 | <IconChart class="h-4 w-4" /> |
| 361 | </span> | 361 | </span> |
src/pages/homework-page.tsxmodified+3 -3
| @@ -238,7 +238,7 @@ function HomeworkContent() { | |||
| 238 | </div> | 238 | </div> |
| 239 | </form> | 239 | </form> |
| 240 | </SidePanel> | 240 | </SidePanel> |
| 241 | - <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/[0.025] p-4"> | 241 | + <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/2.5 p-4"> |
| 242 | <Suspense fallback={<DataTableSkeleton columns={6} rows={8} />}> | 242 | <Suspense fallback={<DataTableSkeleton columns={6} rows={8} />}> |
| 243 | <Show when={list.error}> | 243 | <Show when={list.error}> |
| 244 | <Alert variant="destructive">{formatApiError(list.error)}</Alert> | 244 | <Alert variant="destructive">{formatApiError(list.error)}</Alert> |
| @@ -248,7 +248,7 @@ function HomeworkContent() { | |||
| 248 | description={t("homework.listHelp")} | 248 | description={t("homework.listHelp")} |
| 249 | actions={ | 249 | actions={ |
| 250 | <Show when={canCreate()}> | 250 | <Show when={canCreate()}> |
| 251 | - <Button type="button" size="sm" class="min-w-[7.5rem]" onClick={() => setCreateOpen(true)}> | 251 | + <Button type="button" size="sm" class="min-w-30" onClick={() => setCreateOpen(true)}> |
| 252 | <IconPlus class="h-4 w-4" /> | 252 | <IconPlus class="h-4 w-4" /> |
| 253 | {t("homework.add")} | 253 | {t("homework.add")} |
| 254 | </Button> | 254 | </Button> |
| @@ -256,7 +256,7 @@ function HomeworkContent() { | |||
| 256 | } | 256 | } |
| 257 | columns={columns()} | 257 | columns={columns()} |
| 258 | data={list() ?? []} | 258 | data={list() ?? []} |
| 259 | - tableClass="table-fixed min-w-[64rem]" | 259 | + tableClass="table-fixed min-w-5xl" |
| 260 | filterColumn="title" | 260 | filterColumn="title" |
| 261 | enablePagination | 261 | enablePagination |
| 262 | pageSize={12} | 262 | pageSize={12} |
src/pages/live-monitor-page.tsxmodified+1 -1
| @@ -273,7 +273,7 @@ function LiveMonitorContent() { | |||
| 273 | title={ex().title} | 273 | title={ex().title} |
| 274 | description={isFinished() ? t("exams.finalStateDesc") : t("exams.liveMonitorDesc")} | 274 | description={isFinished() ? t("exams.finalStateDesc") : t("exams.liveMonitorDesc")} |
| 275 | actions={ | 275 | actions={ |
| 276 | - <div class="flex w-full flex-wrap items-center gap-1 rounded-lg border bg-background/80 p-1 shadow-sm sm:w-auto"> | 276 | + <div class="flex w-full flex-wrap items-center gap-1 rounded-lg border bg-background/80 p-1 shadow-xs sm:w-auto"> |
| 277 | <Link to="/exams/$id" params={{ id: id() }}> | 277 | <Link to="/exams/$id" params={{ id: id() }}> |
| 278 | <Button variant="ghost" size="sm" class="w-full rounded-md sm:w-auto"> | 278 | <Button variant="ghost" size="sm" class="w-full rounded-md sm:w-auto"> |
| 279 | <IconChevronLeft class="h-4 w-4" /> | 279 | <IconChevronLeft class="h-4 w-4" /> |
src/pages/my-students-page.tsxmodified+1 -1
| @@ -216,7 +216,7 @@ function StudentDetailPanel(props: { student: PersonRef | null; onClose: () => v | |||
| 216 | 216 | ||
| 217 | <Match when={activeTab() === "exams"}> | 217 | <Match when={activeTab() === "exams"}> |
| 218 | <Show when={examRows().length > 0} fallback={<DataTableEmpty>{t("exams.noResults")}</DataTableEmpty>}> | 218 | <Show when={examRows().length > 0} fallback={<DataTableEmpty>{t("exams.noResults")}</DataTableEmpty>}> |
| 219 | - <DataTable class="min-w-0" columns={examColumns()} data={examRows()} tableClass="w-full min-w-[44rem] text-sm" enableSorting={false} /> | 219 | + <DataTable class="min-w-0" columns={examColumns()} data={examRows()} tableClass="w-full min-w-176 text-sm" enableSorting={false} /> |
| 220 | </Show> | 220 | </Show> |
| 221 | </Match> | 221 | </Match> |
| 222 | 222 | ||
src/pages/notes-page.tsxmodified+3 -3
| @@ -81,11 +81,11 @@ function NotesContent() { | |||
| 81 | description={t("notes.subtitle")} | 81 | description={t("notes.subtitle")} |
| 82 | actions={ | 82 | actions={ |
| 83 | <div class="flex items-center gap-2"> | 83 | <div class="flex items-center gap-2"> |
| 84 | - <Button type="button" size="sm" class="min-w-[7.5rem] rounded-lg" onClick={() => setCreateOpen(true)}> | 84 | + <Button type="button" size="sm" class="min-w-30 rounded-lg" onClick={() => setCreateOpen(true)}> |
| 85 | <IconPlus class="h-4 w-4" /> | 85 | <IconPlus class="h-4 w-4" /> |
| 86 | {t("notes.new")} | 86 | {t("notes.new")} |
| 87 | </Button> | 87 | </Button> |
| 88 | - <Button type="button" variant="outline" size="sm" class="min-w-[7.5rem] rounded-lg" onClick={() => setImportOpen(true)}> | 88 | + <Button type="button" variant="outline" size="sm" class="min-w-30 rounded-lg" onClick={() => setImportOpen(true)}> |
| 89 | <IconUploadCloud class="h-4 w-4" /> | 89 | <IconUploadCloud class="h-4 w-4" /> |
| 90 | İçe Aktar | 90 | İçe Aktar |
| 91 | </Button> | 91 | </Button> |
| @@ -141,7 +141,7 @@ function NotesContent() { | |||
| 141 | </SidePanel> | 141 | </SidePanel> |
| 142 | 142 | ||
| 143 | <div class="space-y-5"> | 143 | <div class="space-y-5"> |
| 144 | - <section class="min-w-0 space-y-4 rounded-3xl border border-border/60 bg-card/60 p-3 sm:p-4 dark:border-white/[0.08] dark:bg-card/40 shadow-sm"> | 144 | + <section class="min-w-0 space-y-4 rounded-3xl border border-border/60 bg-card/60 p-3 sm:p-4 dark:border-white/8 dark:bg-card/40 shadow-xs"> |
| 145 | <Show when={flash()}> | 145 | <Show when={flash()}> |
| 146 | <Alert variant="success">{flash()}</Alert> | 146 | <Alert variant="success">{flash()}</Alert> |
| 147 | </Show> | 147 | </Show> |
src/pages/pomodoro-page.tsxmodified+4 -4
| @@ -115,7 +115,7 @@ function PomodoroContent() { | |||
| 115 | {error() && <Alert variant="destructive">{error()}</Alert>} | 115 | {error() && <Alert variant="destructive">{error()}</Alert>} |
| 116 | 116 | ||
| 117 | <section class="grid gap-4 xl:grid-cols-[minmax(0,1.45fr)_minmax(18rem,0.55fr)]"> | 117 | <section class="grid gap-4 xl:grid-cols-[minmax(0,1.45fr)_minmax(18rem,0.55fr)]"> |
| 118 | - <div class="overflow-hidden rounded-2xl border border-border bg-card shadow-sm"> | 118 | + <div class="overflow-hidden rounded-2xl border border-border bg-card shadow-xs"> |
| 119 | <div class="flex flex-wrap items-center justify-between gap-3 border-b border-border/70 px-5 py-4"> | 119 | <div class="flex flex-wrap items-center justify-between gap-3 border-b border-border/70 px-5 py-4"> |
| 120 | <div class="flex min-w-0 items-center gap-3"> | 120 | <div class="flex min-w-0 items-center gap-3"> |
| 121 | <span class="flex h-10 w-10 shrink-0 items-center justify-center rounded-xl border bg-muted/40 text-muted-foreground"> | 121 | <span class="flex h-10 w-10 shrink-0 items-center justify-center rounded-xl border bg-muted/40 text-muted-foreground"> |
| @@ -168,13 +168,13 @@ function PomodoroContent() { | |||
| 168 | <Show | 168 | <Show |
| 169 | when={running()} | 169 | when={running()} |
| 170 | fallback={ | 170 | fallback={ |
| 171 | - <Button type="button" size="sm" class="h-12 min-w-[10rem] rounded-xl text-base tactile-press" disabled={pending()} onClick={() => void run(postPomodoroStart, t("pomodoro.started"))}> | 171 | + <Button type="button" size="sm" class="h-12 min-w-40 rounded-xl text-base tactile-press" disabled={pending()} onClick={() => void run(postPomodoroStart, t("pomodoro.started"))}> |
| 172 | <IconClock class="h-4 w-4" /> | 172 | <IconClock class="h-4 w-4" /> |
| 173 | {t("pomodoro.start")} | 173 | {t("pomodoro.start")} |
| 174 | </Button> | 174 | </Button> |
| 175 | } | 175 | } |
| 176 | > | 176 | > |
| 177 | - <Button type="button" size="sm" variant="outline" class="h-12 min-w-[10rem] rounded-xl text-base tactile-press" disabled={pending()} onClick={() => void run(postPomodoroFinish, t("pomodoro.finished"))}> | 177 | + <Button type="button" size="sm" variant="outline" class="h-12 min-w-40 rounded-xl text-base tactile-press" disabled={pending()} onClick={() => void run(postPomodoroFinish, t("pomodoro.finished"))}> |
| 178 | <IconCheck class="h-4 w-4" /> | 178 | <IconCheck class="h-4 w-4" /> |
| 179 | {t("pomodoro.finish")} | 179 | {t("pomodoro.finish")} |
| 180 | </Button> | 180 | </Button> |
| @@ -198,7 +198,7 @@ function PomodoroContent() { | |||
| 198 | </div> | 198 | </div> |
| 199 | </section> | 199 | </section> |
| 200 | 200 | ||
| 201 | - <section class="data-shell space-y-4 border-rose-500/15 bg-rose-500/[0.025] p-4"> | 201 | + <section class="data-shell space-y-4 border-rose-500/15 bg-rose-500/2.5 p-4"> |
| 202 | <div class="flex flex-wrap items-end justify-between gap-2"> | 202 | <div class="flex flex-wrap items-end justify-between gap-2"> |
| 203 | <div> | 203 | <div> |
| 204 | <h2 class="font-display text-lg font-semibold">{t("pomodoro.history")}</h2> | 204 | <h2 class="font-display text-lg font-semibold">{t("pomodoro.history")}</h2> |
src/pages/question-detail-page.tsxmodified+2 -2
| @@ -123,7 +123,7 @@ function QuestionDetailContent() { | |||
| 123 | 123 | ||
| 124 | {error() && <p class="rounded-md bg-destructive/10 px-3 py-2 text-sm text-destructive">{error()}</p>} | 124 | {error() && <p class="rounded-md bg-destructive/10 px-3 py-2 text-sm text-destructive">{error()}</p>} |
| 125 | 125 | ||
| 126 | - <div class="rounded-xl border bg-card p-6 shadow-sm"> | 126 | + <div class="rounded-xl border bg-card p-6 shadow-xs"> |
| 127 | <p class="whitespace-pre-wrap text-foreground">{q().body}</p> | 127 | <p class="whitespace-pre-wrap text-foreground">{q().body}</p> |
| 128 | <Show when={q().image}> | 128 | <Show when={q().image}> |
| 129 | <div class="mt-4 overflow-hidden rounded-lg border bg-muted/30 p-2"> | 129 | <div class="mt-4 overflow-hidden rounded-lg border bg-muted/30 p-2"> |
| @@ -352,7 +352,7 @@ function SolutionFormDialog(props: { questionId: string; initialData?: SolutionR | |||
| 352 | {t("questions.draw")} | 352 | {t("questions.draw")} |
| 353 | </Button> | 353 | </Button> |
| 354 | <Show when={drawing()}> | 354 | <Show when={drawing()}> |
| 355 | - <Suspense fallback={<div class="h-[22rem] animate-pulse rounded-lg border bg-muted/20" />}> | 355 | + <Suspense fallback={<div class="h-88 animate-pulse rounded-lg border bg-muted/20" />}> |
| 356 | <DrawCanvas | 356 | <DrawCanvas |
| 357 | fileName="solution.png" | 357 | fileName="solution.png" |
| 358 | onSave={(drawn) => { | 358 | onSave={(drawn) => { |
src/pages/questions-page.tsxmodified+1 -1
| @@ -297,7 +297,7 @@ function AskQuestionDialog(props: { onClose: () => void; onSuccess: () => void } | |||
| 297 | {t("questions.draw")} | 297 | {t("questions.draw")} |
| 298 | </Button> | 298 | </Button> |
| 299 | <Show when={drawing()}> | 299 | <Show when={drawing()}> |
| 300 | - <Suspense fallback={<div class="h-[22rem] animate-pulse rounded-lg border bg-muted/20" />}> | 300 | + <Suspense fallback={<div class="h-88 animate-pulse rounded-lg border bg-muted/20" />}> |
| 301 | <DrawCanvas | 301 | <DrawCanvas |
| 302 | fileName="question.png" | 302 | fileName="question.png" |
| 303 | onSave={(drawn) => { | 303 | onSave={(drawn) => { |
src/pages/settings-page.tsxmodified+5 -5
| @@ -138,7 +138,7 @@ function SettingsContent() { | |||
| 138 | <Button | 138 | <Button |
| 139 | type="button" | 139 | type="button" |
| 140 | size="sm" | 140 | size="sm" |
| 141 | - class="min-w-[7.5rem] rounded-lg" | 141 | + class="min-w-30 rounded-lg" |
| 142 | disabled={pending() || !dirty()} | 142 | disabled={pending() || !dirty()} |
| 143 | onClick={() => void save()} | 143 | onClick={() => void save()} |
| 144 | > | 144 | > |
| @@ -210,7 +210,7 @@ function SettingsContent() { | |||
| 210 | > | 210 | > |
| 211 | <For each={examKinds()}> | 211 | <For each={examKinds()}> |
| 212 | {(item, index) => ( | 212 | {(item, index) => ( |
| 213 | - <div class="grid grid-cols-[minmax(0,1fr)_4.5rem_2.25rem] items-center gap-2 rounded-lg border border-border/60 bg-card px-2 py-1.5 shadow-xs"> | 213 | + <div class="grid grid-cols-[minmax(0,1fr)_4.5rem_2.25rem] items-center gap-2 rounded-lg border border-border/60 bg-card px-2 py-1.5 shadow-2xs"> |
| 214 | <Input | 214 | <Input |
| 215 | aria-label={t("settings.name")} | 215 | aria-label={t("settings.name")} |
| 216 | class="h-9 rounded-md border-0 bg-transparent shadow-none focus-visible:ring-1" | 216 | class="h-9 rounded-md border-0 bg-transparent shadow-none focus-visible:ring-1" |
| @@ -293,7 +293,7 @@ function SettingsContent() { | |||
| 293 | {(status, index) => { | 293 | {(status, index) => { |
| 294 | const meta = () => getAttendanceStatusMeta(status); | 294 | const meta = () => getAttendanceStatusMeta(status); |
| 295 | return ( | 295 | return ( |
| 296 | - <div class="grid grid-cols-[minmax(0,1fr)_2.25rem] items-center gap-2 rounded-lg border border-border/60 bg-card px-2 py-1.5 shadow-xs"> | 296 | + <div class="grid grid-cols-[minmax(0,1fr)_2.25rem] items-center gap-2 rounded-lg border border-border/60 bg-card px-2 py-1.5 shadow-2xs"> |
| 297 | <Show | 297 | <Show |
| 298 | when={isCoreAttendance(status)} | 298 | when={isCoreAttendance(status)} |
| 299 | fallback={ | 299 | fallback={ |
| @@ -378,7 +378,7 @@ function SettingsContent() { | |||
| 378 | <Show when={gradeBands().length > 0} fallback={<EmptyRows label={t("settings.empty")} />}> | 378 | <Show when={gradeBands().length > 0} fallback={<EmptyRows label={t("settings.empty")} />}> |
| 379 | <For each={gradeBands()}> | 379 | <For each={gradeBands()}> |
| 380 | {(band, index) => ( | 380 | {(band, index) => ( |
| 381 | - <div class="grid grid-cols-[4.5rem_minmax(0,1fr)_2.25rem] items-center gap-2 rounded-lg border border-border/60 bg-card px-2 py-1.5 shadow-xs"> | 381 | + <div class="grid grid-cols-[4.5rem_minmax(0,1fr)_2.25rem] items-center gap-2 rounded-lg border border-border/60 bg-card px-2 py-1.5 shadow-2xs"> |
| 382 | <Input | 382 | <Input |
| 383 | aria-label={t("settings.min")} | 383 | aria-label={t("settings.min")} |
| 384 | class="h-9 rounded-md border-0 bg-muted/40 text-center font-mono shadow-none focus-visible:ring-1" | 384 | class="h-9 rounded-md border-0 bg-muted/40 text-center font-mono shadow-none focus-visible:ring-1" |
| @@ -445,7 +445,7 @@ function SettingsContent() { | |||
| 445 | 445 | ||
| 446 | function Metric(props: { label: string; value: number | string }) { | 446 | function Metric(props: { label: string; value: number | string }) { |
| 447 | return ( | 447 | return ( |
| 448 | - <div class="rounded-xl border border-border/60 bg-card px-3 py-3 shadow-xs"> | 448 | + <div class="rounded-xl border border-border/60 bg-card px-3 py-3 shadow-2xs"> |
| 449 | <p class="truncate text-[11px] font-medium uppercase tracking-wide text-muted-foreground">{props.label}</p> | 449 | <p class="truncate text-[11px] font-medium uppercase tracking-wide text-muted-foreground">{props.label}</p> |
| 450 | <p class="mt-1 font-display text-xl font-semibold tabular-nums tracking-tight">{props.value}</p> | 450 | <p class="mt-1 font-display text-xl font-semibold tabular-nums tracking-tight">{props.value}</p> |
| 451 | </div> | 451 | </div> |
src/pages/staff-work-page.tsxmodified+4 -4
| @@ -133,7 +133,7 @@ function StaffWorkContent() { | |||
| 133 | { | 133 | { |
| 134 | id: "actions", | 134 | id: "actions", |
| 135 | header: t("common.actions"), | 135 | header: t("common.actions"), |
| 136 | - meta: { headerClass: "w-28 min-w-[7rem] text-center whitespace-nowrap" }, | 136 | + meta: { headerClass: "w-28 min-w-28 text-center whitespace-nowrap" }, |
| 137 | cell: (cell) => ( | 137 | cell: (cell) => ( |
| 138 | <TableRowActions | 138 | <TableRowActions |
| 139 | label={t("common.actions")} | 139 | label={t("common.actions")} |
| @@ -178,7 +178,7 @@ function StaffWorkContent() { | |||
| 178 | { | 178 | { |
| 179 | id: "actions", | 179 | id: "actions", |
| 180 | header: t("common.actions"), | 180 | header: t("common.actions"), |
| 181 | - meta: { headerClass: "w-28 min-w-[7rem] text-center whitespace-nowrap" }, | 181 | + meta: { headerClass: "w-28 min-w-28 text-center whitespace-nowrap" }, |
| 182 | cell: (cell) => ( | 182 | cell: (cell) => ( |
| 183 | <TableRowActions | 183 | <TableRowActions |
| 184 | label={t("common.actions")} | 184 | label={t("common.actions")} |
| @@ -248,7 +248,7 @@ function StaffWorkContent() { | |||
| 248 | <Alert variant="success">{flash()}</Alert> | 248 | <Alert variant="success">{flash()}</Alert> |
| 249 | </Show> | 249 | </Show> |
| 250 | 250 | ||
| 251 | - <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/[0.025] p-4"> | 251 | + <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/2.5 p-4"> |
| 252 | <Show when={error() && !viewUser() && !editTarget()}> | 252 | <Show when={error() && !viewUser() && !editTarget()}> |
| 253 | <Alert variant="destructive">{error()}</Alert> | 253 | <Alert variant="destructive">{error()}</Alert> |
| 254 | </Show> | 254 | </Show> |
| @@ -259,7 +259,7 @@ function StaffWorkContent() { | |||
| 259 | description={`${t("work.staffSubtitle")} · ${peopleRows().length} / ${peopleTotal()}`} | 259 | description={`${t("work.staffSubtitle")} · ${peopleRows().length} / ${peopleTotal()}`} |
| 260 | columns={peopleColumns()} | 260 | columns={peopleColumns()} |
| 261 | data={peopleRows()} | 261 | data={peopleRows()} |
| 262 | - tableClass="min-w-[36rem]" | 262 | + tableClass="min-w-xl" |
| 263 | empty={t("work.noTeachers")} | 263 | empty={t("work.noTeachers")} |
| 264 | searchPredicate={searchPerson} | 264 | searchPredicate={searchPerson} |
| 265 | enablePagination | 265 | enablePagination |
src/pages/student-attendance-page.tsxmodified+3 -3
| @@ -84,7 +84,7 @@ function StudentAttendanceContent() { | |||
| 84 | { | 84 | { |
| 85 | id: "actions", | 85 | id: "actions", |
| 86 | header: t("common.actions"), | 86 | header: t("common.actions"), |
| 87 | - meta: { headerClass: "w-28 min-w-[7rem] text-center whitespace-nowrap" }, | 87 | + meta: { headerClass: "w-28 min-w-28 text-center whitespace-nowrap" }, |
| 88 | cell: (cell) => ( | 88 | cell: (cell) => ( |
| 89 | <TableRowActions | 89 | <TableRowActions |
| 90 | label={t("common.actions")} | 90 | label={t("common.actions")} |
| @@ -105,7 +105,7 @@ function StudentAttendanceContent() { | |||
| 105 | 105 | ||
| 106 | return ( | 106 | return ( |
| 107 | <div class="space-y-6"> | 107 | <div class="space-y-6"> |
| 108 | - <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/[0.025] p-4"> | 108 | + <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/2.5 p-4"> |
| 109 | <Show when={error() && !viewUser()}> | 109 | <Show when={error() && !viewUser()}> |
| 110 | <Alert variant="destructive">{error()}</Alert> | 110 | <Alert variant="destructive">{error()}</Alert> |
| 111 | </Show> | 111 | </Show> |
| @@ -116,7 +116,7 @@ function StudentAttendanceContent() { | |||
| 116 | description={`${t("attendance.lookup")} · ${rows().length} / ${total()}`} | 116 | description={`${t("attendance.lookup")} · ${rows().length} / ${total()}`} |
| 117 | columns={columns()} | 117 | columns={columns()} |
| 118 | data={rows()} | 118 | data={rows()} |
| 119 | - tableClass="min-w-[36rem]" | 119 | + tableClass="min-w-xl" |
| 120 | empty={t("form.noStudents")} | 120 | empty={t("form.noStudents")} |
| 121 | searchPredicate={searchPerson} | 121 | searchPredicate={searchPerson} |
| 122 | enablePagination | 122 | enablePagination |
src/pages/student-marks-page.tsxmodified+3 -3
| @@ -84,7 +84,7 @@ function StudentMarksContent() { | |||
| 84 | { | 84 | { |
| 85 | id: "actions", | 85 | id: "actions", |
| 86 | header: t("common.actions"), | 86 | header: t("common.actions"), |
| 87 | - meta: { headerClass: "w-28 min-w-[7rem] text-center whitespace-nowrap" }, | 87 | + meta: { headerClass: "w-28 min-w-28 text-center whitespace-nowrap" }, |
| 88 | cell: (cell) => ( | 88 | cell: (cell) => ( |
| 89 | <TableRowActions | 89 | <TableRowActions |
| 90 | label={t("common.actions")} | 90 | label={t("common.actions")} |
| @@ -105,7 +105,7 @@ function StudentMarksContent() { | |||
| 105 | 105 | ||
| 106 | return ( | 106 | return ( |
| 107 | <div class="space-y-6"> | 107 | <div class="space-y-6"> |
| 108 | - <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/[0.025] p-4"> | 108 | + <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/2.5 p-4"> |
| 109 | <Show when={error() && !viewUser()}> | 109 | <Show when={error() && !viewUser()}> |
| 110 | <Alert variant="destructive">{error()}</Alert> | 110 | <Alert variant="destructive">{error()}</Alert> |
| 111 | </Show> | 111 | </Show> |
| @@ -116,7 +116,7 @@ function StudentMarksContent() { | |||
| 116 | description={`${t("marks.lookup")} · ${rows().length} / ${total()}`} | 116 | description={`${t("marks.lookup")} · ${rows().length} / ${total()}`} |
| 117 | columns={columns()} | 117 | columns={columns()} |
| 118 | data={rows()} | 118 | data={rows()} |
| 119 | - tableClass="min-w-[36rem]" | 119 | + tableClass="min-w-xl" |
| 120 | empty={t("form.noStudents")} | 120 | empty={t("form.noStudents")} |
| 121 | searchPredicate={searchPerson} | 121 | searchPredicate={searchPerson} |
| 122 | enablePagination | 122 | enablePagination |
src/pages/student-pomodoro-page.tsxmodified+3 -3
| @@ -85,7 +85,7 @@ function StudentPomodoroContent() { | |||
| 85 | { | 85 | { |
| 86 | id: "actions", | 86 | id: "actions", |
| 87 | header: t("common.actions"), | 87 | header: t("common.actions"), |
| 88 | - meta: { headerClass: "w-28 min-w-[7rem] text-center whitespace-nowrap" }, | 88 | + meta: { headerClass: "w-28 min-w-28 text-center whitespace-nowrap" }, |
| 89 | cell: (cell) => ( | 89 | cell: (cell) => ( |
| 90 | <TableRowActions | 90 | <TableRowActions |
| 91 | label={t("common.actions")} | 91 | label={t("common.actions")} |
| @@ -123,7 +123,7 @@ function StudentPomodoroContent() { | |||
| 123 | 123 | ||
| 124 | return ( | 124 | return ( |
| 125 | <div class="space-y-6"> | 125 | <div class="space-y-6"> |
| 126 | - <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/[0.025] p-4"> | 126 | + <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/2.5 p-4"> |
| 127 | <Show when={error() && !viewUser()}> | 127 | <Show when={error() && !viewUser()}> |
| 128 | <Alert variant="destructive">{error()}</Alert> | 128 | <Alert variant="destructive">{error()}</Alert> |
| 129 | </Show> | 129 | </Show> |
| @@ -134,7 +134,7 @@ function StudentPomodoroContent() { | |||
| 134 | description={`${t("pomodoro.lookup")} · ${rows().length} / ${total()}`} | 134 | description={`${t("pomodoro.lookup")} · ${rows().length} / ${total()}`} |
| 135 | columns={studentColumns()} | 135 | columns={studentColumns()} |
| 136 | data={rows()} | 136 | data={rows()} |
| 137 | - tableClass="min-w-[36rem]" | 137 | + tableClass="min-w-xl" |
| 138 | empty={t("form.noStudents")} | 138 | empty={t("form.noStudents")} |
| 139 | searchPredicate={searchPerson} | 139 | searchPredicate={searchPerson} |
| 140 | enablePagination | 140 | enablePagination |
src/pages/terms-page.tsxmodified+4 -4
| @@ -85,7 +85,7 @@ function TermsContent() { | |||
| 85 | { | 85 | { |
| 86 | id: "actions", | 86 | id: "actions", |
| 87 | header: t("common.actions"), | 87 | header: t("common.actions"), |
| 88 | - meta: { headerClass: "w-28 min-w-[7rem] text-center whitespace-nowrap" }, | 88 | + meta: { headerClass: "w-28 min-w-28 text-center whitespace-nowrap" }, |
| 89 | cell: (cell) => ( | 89 | cell: (cell) => ( |
| 90 | <TableRowActions | 90 | <TableRowActions |
| 91 | label={t("common.actions")} | 91 | label={t("common.actions")} |
| @@ -171,7 +171,7 @@ function TermsContent() { | |||
| 171 | title={t("terms.title")} | 171 | title={t("terms.title")} |
| 172 | description={t("terms.subtitle")} | 172 | description={t("terms.subtitle")} |
| 173 | actions={ | 173 | actions={ |
| 174 | - <Button type="button" size="sm" class="min-w-[7.5rem] rounded-lg" onClick={openCreate}> | 174 | + <Button type="button" size="sm" class="min-w-30 rounded-lg" onClick={openCreate}> |
| 175 | <IconPlus class="h-4 w-4" /> | 175 | <IconPlus class="h-4 w-4" /> |
| 176 | {t("terms.create")} | 176 | {t("terms.create")} |
| 177 | </Button> | 177 | </Button> |
| @@ -186,7 +186,7 @@ function TermsContent() { | |||
| 186 | <Alert variant="destructive">{error()}</Alert> | 186 | <Alert variant="destructive">{error()}</Alert> |
| 187 | </Show> | 187 | </Show> |
| 188 | 188 | ||
| 189 | - <section class="data-shell space-y-4 border-violet-500/15 bg-violet-500/[0.025] p-4"> | 189 | + <section class="data-shell space-y-4 border-violet-500/15 bg-violet-500/2.5 p-4"> |
| 190 | <Suspense fallback={<DataTableSkeleton columns={4} rows={6} />}> | 190 | <Suspense fallback={<DataTableSkeleton columns={4} rows={6} />}> |
| 191 | <Show when={list.error}> | 191 | <Show when={list.error}> |
| 192 | <ErrorAlert message={formatApiError(list.error)} onRetry={() => void refetch()} /> | 192 | <ErrorAlert message={formatApiError(list.error)} onRetry={() => void refetch()} /> |
| @@ -199,7 +199,7 @@ function TermsContent() { | |||
| 199 | /> | 199 | /> |
| 200 | } | 200 | } |
| 201 | > | 201 | > |
| 202 | - <DataTable columns={columns()} data={terms()} tableClass="min-w-[40rem]" filterColumn="name" enablePagination pageSize={TERM_PAGE_SIZE} /> | 202 | + <DataTable columns={columns()} data={terms()} tableClass="min-w-160" filterColumn="name" enablePagination pageSize={TERM_PAGE_SIZE} /> |
| 203 | </Show> | 203 | </Show> |
| 204 | </Suspense> | 204 | </Suspense> |
| 205 | </section> | 205 | </section> |
src/pages/work-log-page.tsxmodified+1 -1
| @@ -118,7 +118,7 @@ function WorkLogContent() { | |||
| 118 | </div> | 118 | </div> |
| 119 | </section> | 119 | </section> |
| 120 | 120 | ||
| 121 | - <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/[0.025] p-4"> | 121 | + <section class="data-shell space-y-4 border-sky-500/15 bg-sky-500/2.5 p-4"> |
| 122 | <Suspense fallback={<PageSpinner />}> | 122 | <Suspense fallback={<PageSpinner />}> |
| 123 | <Show when={list.error}> | 123 | <Show when={list.error}> |
| 124 | <ErrorAlert message={formatApiError(list.error)} onRetry={() => void refetch()} /> | 124 | <ErrorAlert message={formatApiError(list.error)} onRetry={() => void refetch()} /> |
tailwind.config.jsdeleted+0 -113
| @@ -1,113 +0,0 @@ | |||
| 1 | -/** @type {import('tailwindcss').Config} */ | ||
| 2 | -export default { | ||
| 3 | - darkMode: ["class", '[data-kb-theme="dark"]'], | ||
| 4 | - content: ["./index.html", "./src/**/*.{ts,tsx}"], | ||
| 5 | - theme: { | ||
| 6 | - extend: { | ||
| 7 | - fontFamily: { | ||
| 8 | - sans: [ | ||
| 9 | - "-apple-system", | ||
| 10 | - "BlinkMacSystemFont", | ||
| 11 | - '"SF Pro Display"', | ||
| 12 | - '"SF Pro Text"', | ||
| 13 | - '"SF Pro"', | ||
| 14 | - '"Helvetica Neue"', | ||
| 15 | - "Helvetica", | ||
| 16 | - "Arial", | ||
| 17 | - "sans-serif", | ||
| 18 | - ], | ||
| 19 | - display: [ | ||
| 20 | - "-apple-system", | ||
| 21 | - "BlinkMacSystemFont", | ||
| 22 | - '"SF Pro Display"', | ||
| 23 | - '"SF Pro Text"', | ||
| 24 | - '"SF Pro"', | ||
| 25 | - "sans-serif", | ||
| 26 | - ], | ||
| 27 | - }, | ||
| 28 | - container: { | ||
| 29 | - center: true, | ||
| 30 | - padding: "1.25rem", | ||
| 31 | - screens: { | ||
| 32 | - "2xl": "1280px", | ||
| 33 | - }, | ||
| 34 | - }, | ||
| 35 | - colors: { | ||
| 36 | - border: "hsl(var(--border))", | ||
| 37 | - input: "hsl(var(--input))", | ||
| 38 | - ring: "hsl(var(--ring))", | ||
| 39 | - background: "hsl(var(--background))", | ||
| 40 | - foreground: "hsl(var(--foreground))", | ||
| 41 | - primary: { | ||
| 42 | - DEFAULT: "hsl(var(--primary))", | ||
| 43 | - foreground: "hsl(var(--primary-foreground))", | ||
| 44 | - }, | ||
| 45 | - secondary: { | ||
| 46 | - DEFAULT: "hsl(var(--secondary))", | ||
| 47 | - foreground: "hsl(var(--secondary-foreground))", | ||
| 48 | - }, | ||
| 49 | - destructive: { | ||
| 50 | - DEFAULT: "hsl(var(--destructive))", | ||
| 51 | - foreground: "hsl(var(--destructive-foreground))", | ||
| 52 | - }, | ||
| 53 | - muted: { | ||
| 54 | - DEFAULT: "hsl(var(--muted))", | ||
| 55 | - foreground: "hsl(var(--muted-foreground))", | ||
| 56 | - }, | ||
| 57 | - accent: { | ||
| 58 | - DEFAULT: "hsl(var(--accent))", | ||
| 59 | - foreground: "hsl(var(--accent-foreground))", | ||
| 60 | - }, | ||
| 61 | - popover: { | ||
| 62 | - DEFAULT: "hsl(var(--popover))", | ||
| 63 | - foreground: "hsl(var(--popover-foreground))", | ||
| 64 | - }, | ||
| 65 | - card: { | ||
| 66 | - DEFAULT: "hsl(var(--card))", | ||
| 67 | - foreground: "hsl(var(--card-foreground))", | ||
| 68 | - }, | ||
| 69 | - success: "hsl(var(--success))", | ||
| 70 | - warning: "hsl(var(--warning))", | ||
| 71 | - info: "hsl(var(--info))", | ||
| 72 | - sidebar: { | ||
| 73 | - DEFAULT: "hsl(var(--sidebar))", | ||
| 74 | - foreground: "hsl(var(--sidebar-foreground))", | ||
| 75 | - }, | ||
| 76 | - }, | ||
| 77 | - borderRadius: { | ||
| 78 | - "3xl": "1.5rem", | ||
| 79 | - "2xl": "1.25rem", | ||
| 80 | - xl: "1rem", | ||
| 81 | - lg: "var(--radius)", | ||
| 82 | - md: "calc(var(--radius) - 4px)", | ||
| 83 | - sm: "calc(var(--radius) - 8px)", | ||
| 84 | - }, | ||
| 85 | - boxShadow: { | ||
| 86 | - soft: "0 8px 30px hsl(0 0% 0% / 0.04)", | ||
| 87 | - apple: "0 4px 24px -2px rgba(0, 0, 0, 0.04), 0 2px 8px -2px rgba(0, 0, 0, 0.02)", | ||
| 88 | - "apple-hover": "0 12px 36px -4px rgba(0, 0, 0, 0.08), 0 4px 14px -2px rgba(0, 0, 0, 0.04)", | ||
| 89 | - }, | ||
| 90 | - keyframes: { | ||
| 91 | - "fade-up": { | ||
| 92 | - from: { opacity: "0", transform: "translateY(8px)" }, | ||
| 93 | - to: { opacity: "1", transform: "translateY(0)" }, | ||
| 94 | - }, | ||
| 95 | - "accordion-down": { | ||
| 96 | - from: { height: "0" }, | ||
| 97 | - to: { height: "var(--kb-collapsible-content-height)" }, | ||
| 98 | - }, | ||
| 99 | - "accordion-up": { | ||
| 100 | - from: { height: "var(--kb-collapsible-content-height)" }, | ||
| 101 | - to: { height: "0" }, | ||
| 102 | - }, | ||
| 103 | - }, | ||
| 104 | - animation: { | ||
| 105 | - "fade-up": "fade-up 0.35s cubic-bezier(0.16, 1, 0.3, 1) both", | ||
| 106 | - "accordion-down": "accordion-down 0.25s cubic-bezier(0.16, 1, 0.3, 1)", | ||
| 107 | - "accordion-up": "accordion-up 0.25s cubic-bezier(0.16, 1, 0.3, 1)", | ||
| 108 | - }, | ||
| 109 | - }, | ||
| 110 | - }, | ||
| 111 | - plugins: [require("tailwindcss-animate")], | ||
| 112 | -}; | ||
| 113 | - | ||