From 4ad7a0165f7d00a890bedf43b1fb17b1c108c1e6 Mon Sep 17 00:00:00 2001 From: Nulo Date: Sun, 16 Feb 2025 23:27:11 -0300 Subject: [PATCH] new shadcn --- pnpm-lock.yaml | 405 ++++++------------ sitio/components.json | 27 +- sitio/package.json | 9 +- sitio/src/app.css | 41 +- sitio/src/app.html | 22 +- .../lib/components/ui/button/button.svelte | 95 +++- sitio/src/lib/components/ui/button/index.ts | 62 +-- .../ui/calendar/calendar-cell.svelte | 30 +- .../ui/calendar/calendar-day.svelte | 64 ++- .../ui/calendar/calendar-grid-body.svelte | 17 +- .../ui/calendar/calendar-grid-head.svelte | 13 +- .../ui/calendar/calendar-grid-row.svelte | 17 +- .../ui/calendar/calendar-grid.svelte | 22 +- .../ui/calendar/calendar-head-cell.svelte | 25 +- .../ui/calendar/calendar-header.svelte | 25 +- .../ui/calendar/calendar-heading.svelte | 19 +- .../ui/calendar/calendar-months.svelte | 25 +- .../ui/calendar/calendar-next-button.svelte | 45 +- .../ui/calendar/calendar-prev-button.svelte | 45 +- .../components/ui/calendar/calendar.svelte | 105 ++--- sitio/src/lib/components/ui/calendar/index.ts | 28 +- sitio/src/lib/components/ui/popover/index.ts | 18 +- .../ui/popover/popover-content.svelte | 47 +- sitio/src/lib/components/ui/select/index.ts | 44 +- .../ui/select/select-content.svelte | 66 +-- .../ui/select/select-group-heading.svelte | 16 + .../components/ui/select/select-item.svelte | 60 +-- .../components/ui/select/select-label.svelte | 16 - .../select/select-scroll-down-button.svelte | 19 + .../ui/select/select-scroll-up-button.svelte | 19 + .../ui/select/select-separator.svelte | 19 +- .../ui/select/select-trigger.svelte | 34 +- .../src/lib/components/ui/separator/index.ts | 7 + .../components/ui/separator/separator.svelte | 22 + sitio/src/lib/utils.ts | 58 +-- sitio/src/routes/+layout.svelte | 23 +- sitio/src/routes/+page.svelte | 43 +- sitio/tailwind.config.js | 36 +- 38 files changed, 787 insertions(+), 901 deletions(-) create mode 100644 sitio/src/lib/components/ui/select/select-group-heading.svelte delete mode 100644 sitio/src/lib/components/ui/select/select-label.svelte create mode 100644 sitio/src/lib/components/ui/select/select-scroll-down-button.svelte create mode 100644 sitio/src/lib/components/ui/select/select-scroll-up-button.svelte create mode 100644 sitio/src/lib/components/ui/separator/index.ts create mode 100644 sitio/src/lib/components/ui/separator/separator.svelte diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d0901be..8847724 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -107,7 +107,7 @@ importers: version: 0.14.0 '@sentry/sveltekit': specifier: ^8.54.0 - version: 8.54.0(@opentelemetry/api@1.9.0)(@opentelemetry/context-async-hooks@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/core@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.57.1(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/semantic-conventions@1.28.0)(@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) + version: 8.54.0(@opentelemetry/api@1.9.0)(@opentelemetry/context-async-hooks@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/core@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.57.1(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/semantic-conventions@1.28.0)(@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) api: specifier: workspace:^ version: link:../api @@ -144,9 +144,6 @@ importers: drizzle-orm: specifier: ^0.33.0 version: 0.33.0(@libsql/client@0.14.0)(@opentelemetry/api@1.9.0)(@types/better-sqlite3@7.6.12)(@types/pg@8.6.1)(better-sqlite3@11.8.1) - lucide-svelte: - specifier: ^0.462.0 - version: 0.462.0(svelte@5.19.7) markdown-it: specifier: ^14.1.0 version: 14.1.0 @@ -158,7 +155,7 @@ importers: version: 0.6.0 mode-watcher: specifier: ^0.5.1 - version: 0.5.1(svelte@5.19.7) + version: 0.5.1(svelte@5.20.1) nanoid: specifier: ^5.0.9 version: 5.0.9 @@ -167,13 +164,13 @@ importers: version: 1.215.3 svelte-echarts: specifier: ^0.1.1 - version: 0.1.1(echarts@5.5.0)(svelte@5.19.7) + version: 0.1.1(echarts@5.5.0)(svelte@5.20.1) svelte-mq-store: specifier: ^2.2.22 - version: 2.2.22(@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7) + version: 2.2.22(@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1) svelte-radix: specifier: ^2.0.1 - version: 2.0.1(svelte@5.19.7) + version: 2.0.1(svelte@5.20.1) zod: specifier: ^3.24.1 version: 3.24.1 @@ -189,19 +186,19 @@ importers: version: 3.7.0 '@sveltejs/adapter-auto': specifier: ^3.3.1 - version: 3.3.1(@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0))) + version: 3.3.1(@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0))) '@sveltejs/adapter-node': specifier: ^4.0.1 - version: 4.0.1(@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0))) + version: 4.0.1(@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0))) '@sveltejs/enhanced-img': specifier: ^0.4.4 - version: 0.4.4(rollup@4.34.3)(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) + version: 0.4.4(rollup@4.34.3)(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) '@sveltejs/kit': specifier: ^2.17.1 - version: 2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) + version: 2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) '@sveltejs/vite-plugin-svelte': specifier: ^5.0.3 - version: 5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) + version: 5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) '@swc/core': specifier: ^1.10.14 version: 1.10.14(@swc/helpers@0.5.15) @@ -218,14 +215,17 @@ importers: specifier: ^10.4.20 version: 10.4.20(postcss@8.5.1) bits-ui: - specifier: ^0.21.16 - version: 0.21.16(svelte@5.19.7) + specifier: 1.0.0-next.98 + version: 1.0.0-next.98(svelte@5.20.1) clsx: specifier: ^2.1.1 version: 2.1.1 drizzle-kit: specifier: ^0.24.2 version: 0.24.2 + lucide-svelte: + specifier: ^0.462.0 + version: 0.462.0(svelte@5.20.1) mitata: specifier: ^0.1.14 version: 0.1.14 @@ -240,16 +240,16 @@ importers: version: 3.4.2 prettier-plugin-svelte: specifier: ^3.3.3 - version: 3.3.3(prettier@3.4.2)(svelte@5.19.7) + version: 3.3.3(prettier@3.4.2)(svelte@5.20.1) prettier-plugin-tailwindcss: specifier: ^0.6.11 - version: 0.6.11(prettier-plugin-svelte@3.3.3(prettier@3.4.2)(svelte@5.19.7))(prettier@3.4.2) + version: 0.6.11(prettier-plugin-svelte@3.3.3(prettier@3.4.2)(svelte@5.20.1))(prettier@3.4.2) svelte: - specifier: ^5.19.7 - version: 5.19.7 + specifier: ^5.20.1 + version: 5.20.1 svelte-check: - specifier: ^3.8.6 - version: 3.8.6(@babel/core@7.26.7)(postcss-load-config@5.1.0(jiti@1.21.7)(postcss@8.5.1)(tsx@4.19.2))(postcss@8.5.1)(svelte@5.19.7) + specifier: ^4.1.4 + version: 4.1.4(picomatch@4.0.2)(svelte@5.20.1)(typescript@5.7.3) tailwind-merge: specifier: ^2.6.0 version: 2.6.0 @@ -259,6 +259,9 @@ importers: tailwindcss: specifier: ^3.4.17 version: 3.4.17(ts-node@10.9.2(@swc/core@1.10.14(@swc/helpers@0.5.15))(@types/node@20.17.17)(typescript@5.7.3)) + tailwindcss-animate: + specifier: ^1.0.7 + version: 1.0.7(tailwindcss@3.4.17(ts-node@10.9.2(@swc/core@1.10.14(@swc/helpers@0.5.15))(@types/node@20.17.17)(typescript@5.7.3))) ts-node: specifier: ^10.9.2 version: 10.9.2(@swc/core@1.10.14(@swc/helpers@0.5.15))(@types/node@20.17.17)(typescript@5.7.3) @@ -1195,11 +1198,6 @@ packages: cpu: [x64] os: [win32] - '@melt-ui/svelte@0.76.2': - resolution: {integrity: sha512-7SbOa11tXUS95T3fReL+dwDs5FyJtCEqrqG3inRziDws346SYLsxOQ6HmX+4BkIsQh1R8U3XNa+EMmdMt38lMA==} - peerDependencies: - svelte: '>=3 <5' - '@neon-rs/load@0.0.4': resolution: {integrity: sha512-kTPhdZyTQxB+2wpiRcFWrDcejc4JI6tkPuS7UZCG4l6Zvc5kU/gGQ/ozvHTh1XR5tS+UlfAfGuPajjzQjCiHCw==} @@ -2041,9 +2039,6 @@ packages: '@types/pg@8.6.1': resolution: {integrity: sha512-1Kc4oAGzAl7uqUStZCDvaLFqZrW9qWSjXOmBfdgyBP5La7Us6Mg4GBvRlSoaZMhQF/zSj1C8CtKMBkoiT8eL8w==} - '@types/pug@2.0.10': - resolution: {integrity: sha512-Sk/uYFOBAB7mb74XcpizmH0KOR2Pv3D2Hmrh1Dmy5BmK3MpdSa5kqZcg6EKBdklU0bFXX9gCfzvpnyUehrPIuA==} - '@types/resolve@1.20.2': resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} @@ -2167,10 +2162,11 @@ packages: bindings@1.5.0: resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} - bits-ui@0.21.16: - resolution: {integrity: sha512-XFZ7/bK7j/K+5iktxX/ZpmoFHjYjpPzP5EOO/4bWiaFg5TG1iMcfjDhlBTQnJxD6BoVoHuqeZPHZvaTgF4Iv3Q==} + bits-ui@1.0.0-next.98: + resolution: {integrity: sha512-DYJNoi3pqLiJqmnOeKJp8dSmACu7yONmcoH6YqzrGnIQTgJ4bqL1D1C8gvDoUhWnCAtUWJ8fgyp9d25iOQAkiA==} + engines: {node: '>=18', pnpm: '>=8.7.0'} peerDependencies: - svelte: ^4.0.0 || ^5.0.0-next.118 + svelte: ^5.11.0 bl@4.1.0: resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} @@ -2179,9 +2175,6 @@ packages: resolution: {integrity: sha512-1wEo1pNahY9js7Vkp1RQa/VWdWrXYJnVAmsHV3Pw/0YzspjABLw7dcekjukOMTIYWr8ir/aG0GX1eoEkYhpnUg==} hasBin: true - brace-expansion@1.1.11: - resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} - brace-expansion@2.0.1: resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} @@ -2194,10 +2187,6 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true - buffer-crc32@1.0.0: - resolution: {integrity: sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==} - engines: {node: '>=8.0.0'} - buffer-from@1.1.2: resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} @@ -2311,9 +2300,6 @@ packages: commondir@1.0.1: resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} - concat-map@0.0.1: - resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - confbox@0.1.8: resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==} @@ -2423,10 +2409,6 @@ packages: resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} engines: {node: '>=6'} - detect-indent@6.1.0: - resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} - engines: {node: '>=8'} - detect-libc@2.0.2: resolution: {integrity: sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==} engines: {node: '>=8'} @@ -2590,9 +2572,6 @@ packages: resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==} engines: {node: '>= 0.4'} - es6-promise@3.3.1: - resolution: {integrity: sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==} - esbuild-register@3.6.0: resolution: {integrity: sha512-H2/S7Pm8a9CL1uhp9OvjwrBh5Pvx0H8qVOxNu8Wed9Y7qv56MPtq+GGM8RJpq6glYJn9Wspr8uw7l55uyinNeg==} peerDependencies: @@ -2695,9 +2674,6 @@ packages: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} - focus-trap@7.6.4: - resolution: {integrity: sha512-xx560wGBk7seZ6y933idtjJQc1l+ck+pI3sKvhKozdBV1dRZoKhkW5xoCaFv9tQiX5RH1xfSxjuNu6g+lmN/gw==} - foreground-child@3.3.0: resolution: {integrity: sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==} engines: {node: '>=14'} @@ -2775,10 +2751,6 @@ packages: resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} hasBin: true - glob@7.2.3: - resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} - deprecated: Glob versions prior to v9 are no longer supported - glob@8.1.0: resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} engines: {node: '>=12'} @@ -2802,9 +2774,6 @@ packages: resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} engines: {node: '>= 0.4'} - graceful-fs@4.2.11: - resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - has-flag@4.0.0: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} engines: {node: '>=8'} @@ -2860,6 +2829,9 @@ packages: ini@1.3.8: resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} + inline-style-parser@0.2.4: + resolution: {integrity: sha512-0aO8FkhNZlj/ZIbNi7Lxxr12obT7cL1moPfE4tg1LkX7LlLfC6DeX4l2ZEud1ukP9jNQyNnfzQVqwbwmAATY4Q==} + is-arrayish@0.3.2: resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==} @@ -3081,16 +3053,9 @@ packages: resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==} engines: {node: '>=10'} - min-indent@1.0.1: - resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} - engines: {node: '>=4'} - minimal-polyfills@2.2.3: resolution: {integrity: sha512-oxdmJ9cL+xV72h0xYxp4tP2d5/fTBpP45H8DIOn9pASuF8a3IYTf+25fMGDYGiWW+MFsuog6KD6nfmhZJQ+uUw==} - minimatch@3.1.2: - resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} - minimatch@5.1.6: resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} engines: {node: '>=10'} @@ -3120,10 +3085,6 @@ packages: mkdirp-classic@0.5.3: resolution: {integrity: sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==} - mkdirp@0.5.6: - resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} - hasBin: true - mlly@1.7.4: resolution: {integrity: sha512-qmdSIPC4bDJXgZTCR7XosJiNKySV7O215tsPtDN9iEO/7q/76b/ijtgRu/+epFXSJhijtTCCGp3DWS549P3xKw==} @@ -3267,10 +3228,6 @@ packages: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} - path-is-absolute@1.0.1: - resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} - engines: {node: '>=0.10.0'} - path-key@3.1.1: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} @@ -3577,11 +3534,6 @@ packages: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - rimraf@2.7.1: - resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==} - deprecated: Rimraf versions prior to v4 are no longer supported - hasBin: true - rollup@4.34.3: resolution: {integrity: sha512-ORCtU0UBJyiAIn9m0llUXJXAswG/68pZptCrqxHG7//Z2DDzAUeyyY5hqf4XrsGlUxscMr9GkQ2QI7KTLqeyPw==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} @@ -3593,6 +3545,11 @@ packages: run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + runed@0.23.4: + resolution: {integrity: sha512-9q8oUiBYeXIDLWNK5DfCWlkL0EW3oGbk845VdKlPeia28l751VpfesaB/+7pI6rnbx1I6rqoZ2fZxptOJLxILA==} + peerDependencies: + svelte: ^5.7.0 + sade@1.8.1: resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} engines: {node: '>=6'} @@ -3600,9 +3557,6 @@ packages: safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - sander@0.5.1: - resolution: {integrity: sha512-3lVqBir7WuKDHGrKRDn/1Ye3kwpXaDOMsiRP1wd6wpZW56gJhsbp5RqQpA6JG/P+pkXizygnr1dKR8vzWaVsfA==} - semver@6.3.1: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true @@ -3662,10 +3616,6 @@ packages: resolution: {integrity: sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==} engines: {node: '>=10.0.0'} - sorcery@0.11.1: - resolution: {integrity: sha512-o7npfeJE6wi6J9l0/5LKshFzZ2rMatRiCDwYeDQaOzqdzRJwALhX7mk/A/ecg6wjMu7wdZbmXfD2S/vpOg0bdQ==} - hasBin: true - sorcery@1.0.0: resolution: {integrity: sha512-5ay9oJE+7sNmhzl3YNG18jEEEf4AOQCM/FAqR5wMmzqd1FtRorFbJXn3w3SKOhbiQaVgHM+Q1lszZspjri7bpA==} hasBin: true @@ -3708,14 +3658,13 @@ packages: resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} engines: {node: '>=12'} - strip-indent@3.0.0: - resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} - engines: {node: '>=8'} - strip-json-comments@2.0.1: resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} engines: {node: '>=0.10.0'} + style-to-object@1.0.8: + resolution: {integrity: sha512-xT47I/Eo0rwJmaXC4oilDGDWLohVhR6o/xAQcPQN8q6QBuZVL8qMYL85kLmST5cPjAorwvqIA4qXTRQoYHaL6g==} + sucrase@3.35.0: resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==} engines: {node: '>=16 || 14 >=14.17'} @@ -3737,11 +3686,13 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - svelte-check@3.8.6: - resolution: {integrity: sha512-ij0u4Lw/sOTREP13BdWZjiXD/BlHE6/e2e34XzmVmsp5IN4kVa3PWP65NM32JAgwjZlwBg/+JtiNV1MM8khu0Q==} + svelte-check@4.1.4: + resolution: {integrity: sha512-v0j7yLbT29MezzaQJPEDwksybTE2Ups9rUxEXy92T06TiA0cbqcO8wAOwNUVkFW6B0hsYHA+oAX3BS8b/2oHtw==} + engines: {node: '>= 18.0.0'} hasBin: true peerDependencies: - svelte: ^3.55.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0 + svelte: ^4.0.0 || ^5.0.0-next.0 + typescript: '>=5.0.0' svelte-echarts@0.1.1: resolution: {integrity: sha512-kLnTPz6gmRl47Oe/Vjh6sIRBYRUUmzl8uvrdMg9wFXe1ur6L/xBo3c7e5lMBQarPRteC24+XT335P/htNyihHA==} @@ -3760,51 +3711,20 @@ packages: peerDependencies: svelte: ^3.0.0 || ^4.0.0 || ^5.0.0-next.1 - svelte-preprocess@5.1.4: - resolution: {integrity: sha512-IvnbQ6D6Ao3Gg6ftiM5tdbR6aAETwjhHV+UKGf5bHGYR69RQvF1ho0JKPcbUON4vy4R7zom13jPjgdOWCQ5hDA==} - engines: {node: '>= 16.0.0'} - peerDependencies: - '@babel/core': ^7.10.2 - coffeescript: ^2.5.1 - less: ^3.11.3 || ^4.0.0 - postcss: ^7 || ^8 - postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 - pug: ^3.0.0 - sass: ^1.26.8 - stylus: ^0.55.0 - sugarss: ^2.0.0 || ^3.0.0 || ^4.0.0 - svelte: ^3.23.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0 - typescript: '>=3.9.5 || ^4.0.0 || ^5.0.0' - peerDependenciesMeta: - '@babel/core': - optional: true - coffeescript: - optional: true - less: - optional: true - postcss: - optional: true - postcss-load-config: - optional: true - pug: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - typescript: - optional: true - svelte-radix@2.0.1: resolution: {integrity: sha512-YrX44Dj+Rp6YZuPSjdmyd6P8QTkb2NXwySUCZYzjwkP6Cl3dZaTBPPeaSOutP3v3ycQ2XwyNOpyn4p0QcN+uYQ==} engines: {node: '>=18.0.0', npm: '>=7.0.0'} peerDependencies: svelte: ^5.0.0 - svelte@5.19.7: - resolution: {integrity: sha512-I0UUp2MpB5gF8aqHJVklOcRcoLgQNnBolSwLMMqDepE9gVwmGeYBmJp1/obzae72QpxdPIymA4AunIm2x70LBg==} + svelte-toolbelt@0.7.1: + resolution: {integrity: sha512-HcBOcR17Vx9bjaOceUvxkY3nGmbBmCBBbuWLLEWO6jtmWH8f/QoWmbyUfQZrpDINH39en1b8mptfPQT9VKQ1xQ==} + engines: {node: '>=18', pnpm: '>=8.7.0'} + peerDependencies: + svelte: ^5.0.0 + + svelte@5.20.1: + resolution: {integrity: sha512-aCARru2WTdzJl55Ws8SK27+kvQwd8tijl4kY7NoDUXUHtTHhxMa8Lf6QNZKmU7cuPu3jjFloDO1j5HgYJNIIWg==} engines: {node: '>=18'} tabbable@6.2.0: @@ -3822,6 +3742,11 @@ packages: peerDependencies: tailwindcss: '*' + tailwindcss-animate@1.0.7: + resolution: {integrity: sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==} + peerDependencies: + tailwindcss: '>=3.0.0 || insiders' + tailwindcss@3.4.17: resolution: {integrity: sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==} engines: {node: '>=14.0.0'} @@ -4815,16 +4740,6 @@ snapshots: '@libsql/win32-x64-msvc@0.4.7': optional: true - '@melt-ui/svelte@0.76.2(svelte@5.19.7)': - dependencies: - '@floating-ui/core': 1.6.9 - '@floating-ui/dom': 1.6.13 - '@internationalized/date': 3.7.0 - dequal: 2.0.3 - focus-trap: 7.6.4 - nanoid: 5.0.9 - svelte: 5.19.7 - '@neon-rs/load@0.0.4': {} '@noble/hashes@1.6.1': {} @@ -5541,21 +5456,21 @@ snapshots: '@opentelemetry/semantic-conventions': 1.28.0 '@sentry/core': 8.54.0 - '@sentry/svelte@8.54.0(svelte@5.19.7)': + '@sentry/svelte@8.54.0(svelte@5.20.1)': dependencies: '@sentry/browser': 8.54.0 '@sentry/core': 8.54.0 magic-string: 0.30.7 - svelte: 5.19.7 + svelte: 5.20.1 - '@sentry/sveltekit@8.54.0(@opentelemetry/api@1.9.0)(@opentelemetry/context-async-hooks@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/core@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.57.1(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/semantic-conventions@1.28.0)(@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0))': + '@sentry/sveltekit@8.54.0(@opentelemetry/api@1.9.0)(@opentelemetry/context-async-hooks@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/core@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.57.1(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/semantic-conventions@1.28.0)(@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0))': dependencies: '@sentry/core': 8.54.0 '@sentry/node': 8.54.0 '@sentry/opentelemetry': 8.54.0(@opentelemetry/api@1.9.0)(@opentelemetry/context-async-hooks@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/core@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.57.1(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/semantic-conventions@1.28.0) - '@sentry/svelte': 8.54.0(svelte@5.19.7) + '@sentry/svelte': 8.54.0(svelte@5.20.1) '@sentry/vite-plugin': 2.22.6 - '@sveltejs/kit': 2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) + '@sveltejs/kit': 2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) magic-string: 0.30.7 magicast: 0.2.8 sorcery: 1.0.0 @@ -5584,34 +5499,34 @@ snapshots: '@socket.io/component-emitter@3.1.2': {} - '@sveltejs/adapter-auto@3.3.1(@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))': + '@sveltejs/adapter-auto@3.3.1(@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))': dependencies: - '@sveltejs/kit': 2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) + '@sveltejs/kit': 2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) import-meta-resolve: 4.1.0 - '@sveltejs/adapter-node@4.0.1(@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))': + '@sveltejs/adapter-node@4.0.1(@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))': dependencies: '@rollup/plugin-commonjs': 25.0.8(rollup@4.34.3) '@rollup/plugin-json': 6.1.0(rollup@4.34.3) '@rollup/plugin-node-resolve': 15.3.1(rollup@4.34.3) - '@sveltejs/kit': 2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) + '@sveltejs/kit': 2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) rollup: 4.34.3 - '@sveltejs/enhanced-img@0.4.4(rollup@4.34.3)(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0))': + '@sveltejs/enhanced-img@0.4.4(rollup@4.34.3)(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0))': dependencies: magic-string: 0.30.17 sharp: 0.33.5 - svelte: 5.19.7 - svelte-parse-markup: 0.1.5(svelte@5.19.7) + svelte: 5.20.1 + svelte-parse-markup: 0.1.5(svelte@5.20.1) vite: 6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0) vite-imagetools: 7.0.5(rollup@4.34.3) zimmerframe: 1.1.2 transitivePeerDependencies: - rollup - '@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0))': + '@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0))': dependencies: - '@sveltejs/vite-plugin-svelte': 5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) + '@sveltejs/vite-plugin-svelte': 5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) '@types/cookie': 0.6.0 cookie: 0.6.0 devalue: 5.1.1 @@ -5623,26 +5538,26 @@ snapshots: sade: 1.8.1 set-cookie-parser: 2.7.1 sirv: 3.0.0 - svelte: 5.19.7 + svelte: 5.20.1 vite: 6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0) - '@sveltejs/vite-plugin-svelte-inspector@4.0.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0))': + '@sveltejs/vite-plugin-svelte-inspector@4.0.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0))': dependencies: - '@sveltejs/vite-plugin-svelte': 5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) + '@sveltejs/vite-plugin-svelte': 5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) debug: 4.4.0 - svelte: 5.19.7 + svelte: 5.20.1 vite: 6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0) transitivePeerDependencies: - supports-color - '@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0))': + '@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0))': dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 4.0.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) + '@sveltejs/vite-plugin-svelte-inspector': 4.0.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) debug: 4.4.0 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.17 - svelte: 5.19.7 + svelte: 5.20.1 vite: 6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0) vitefu: 1.0.5(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) transitivePeerDependencies: @@ -5848,8 +5763,6 @@ snapshots: pg-protocol: 1.7.0 pg-types: 2.2.0 - '@types/pug@2.0.10': {} - '@types/resolve@1.20.2': {} '@types/shimmer@1.2.0': {} @@ -5958,12 +5871,16 @@ snapshots: dependencies: file-uri-to-path: 1.0.0 - bits-ui@0.21.16(svelte@5.19.7): + bits-ui@1.0.0-next.98(svelte@5.20.1): dependencies: + '@floating-ui/core': 1.6.9 + '@floating-ui/dom': 1.6.13 '@internationalized/date': 3.7.0 - '@melt-ui/svelte': 0.76.2(svelte@5.19.7) - nanoid: 5.0.9 - svelte: 5.19.7 + esm-env: 1.2.2 + runed: 0.23.4(svelte@5.20.1) + svelte: 5.20.1 + svelte-toolbelt: 0.7.1(svelte@5.20.1) + tabbable: 6.2.0 bl@4.1.0: dependencies: @@ -5976,11 +5893,6 @@ snapshots: commander: 6.2.1 lodash: 4.17.21 - brace-expansion@1.1.11: - dependencies: - balanced-match: 1.0.2 - concat-map: 0.0.1 - brace-expansion@2.0.1: dependencies: balanced-match: 1.0.2 @@ -5996,8 +5908,6 @@ snapshots: node-releases: 2.0.19 update-browserslist-db: 1.1.2(browserslist@4.24.4) - buffer-crc32@1.0.0: {} - buffer-from@1.1.2: {} buffer@5.7.1: @@ -6116,8 +6026,6 @@ snapshots: commondir@1.0.1: {} - concat-map@0.0.1: {} - confbox@0.1.8: {} consola@3.4.0: {} @@ -6198,8 +6106,6 @@ snapshots: dequal@2.0.3: {} - detect-indent@6.1.0: {} - detect-libc@2.0.2: {} detect-libc@2.0.3: {} @@ -6278,8 +6184,6 @@ snapshots: dependencies: es-errors: 1.3.0 - es6-promise@3.3.1: {} - esbuild-register@3.6.0(esbuild@0.19.12): dependencies: debug: 4.4.0 @@ -6467,10 +6371,6 @@ snapshots: locate-path: 6.0.0 path-exists: 4.0.0 - focus-trap@7.6.4: - dependencies: - tabbable: 6.2.0 - foreground-child@3.3.0: dependencies: cross-spawn: 7.0.6 @@ -6553,15 +6453,6 @@ snapshots: package-json-from-dist: 1.0.1 path-scurry: 1.11.1 - glob@7.2.3: - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - glob@8.1.0: dependencies: fs.realpath: 1.0.0 @@ -6585,8 +6476,6 @@ snapshots: gopd@1.2.0: {} - graceful-fs@4.2.11: {} - has-flag@4.0.0: {} has-property-descriptors@1.0.2: @@ -6638,6 +6527,8 @@ snapshots: ini@1.3.8: {} + inline-style-parser@0.2.4: {} + is-arrayish@0.3.2: {} is-binary-path@2.1.0: @@ -6759,9 +6650,9 @@ snapshots: dependencies: yallist: 3.1.1 - lucide-svelte@0.462.0(svelte@5.19.7): + lucide-svelte@0.462.0(svelte@5.20.1): dependencies: - svelte: 5.19.7 + svelte: 5.20.1 luxon@3.4.4: {} @@ -6824,14 +6715,8 @@ snapshots: mimic-response@3.1.0: {} - min-indent@1.0.1: {} - minimal-polyfills@2.2.3: {} - minimatch@3.1.2: - dependencies: - brace-expansion: 1.1.11 - minimatch@5.1.6: dependencies: brace-expansion: 2.0.1 @@ -6854,10 +6739,6 @@ snapshots: mkdirp-classic@0.5.3: {} - mkdirp@0.5.6: - dependencies: - minimist: 1.2.8 - mlly@1.7.4: dependencies: acorn: 8.14.0 @@ -6865,9 +6746,9 @@ snapshots: pkg-types: 1.3.1 ufo: 1.5.4 - mode-watcher@0.5.1(svelte@5.19.7): + mode-watcher@0.5.1(svelte@5.20.1): dependencies: - svelte: 5.19.7 + svelte: 5.20.1 module-details-from-path@1.0.3: {} @@ -6973,8 +6854,6 @@ snapshots: path-exists@4.0.0: {} - path-is-absolute@1.0.1: {} - path-key@3.1.1: {} path-key@4.0.0: {} @@ -7111,16 +6990,16 @@ snapshots: tar-fs: 2.1.2 tunnel-agent: 0.6.0 - prettier-plugin-svelte@3.3.3(prettier@3.4.2)(svelte@5.19.7): + prettier-plugin-svelte@3.3.3(prettier@3.4.2)(svelte@5.20.1): dependencies: prettier: 3.4.2 - svelte: 5.19.7 + svelte: 5.20.1 - prettier-plugin-tailwindcss@0.6.11(prettier-plugin-svelte@3.3.3(prettier@3.4.2)(svelte@5.19.7))(prettier@3.4.2): + prettier-plugin-tailwindcss@0.6.11(prettier-plugin-svelte@3.3.3(prettier@3.4.2)(svelte@5.20.1))(prettier@3.4.2): dependencies: prettier: 3.4.2 optionalDependencies: - prettier-plugin-svelte: 3.3.3(prettier@3.4.2)(svelte@5.19.7) + prettier-plugin-svelte: 3.3.3(prettier@3.4.2)(svelte@5.20.1) prettier@3.4.2: {} @@ -7217,10 +7096,6 @@ snapshots: reusify@1.0.4: {} - rimraf@2.7.1: - dependencies: - glob: 7.2.3 - rollup@4.34.3: dependencies: '@types/estree': 1.0.6 @@ -7254,19 +7129,17 @@ snapshots: dependencies: queue-microtask: 1.2.3 + runed@0.23.4(svelte@5.20.1): + dependencies: + esm-env: 1.2.2 + svelte: 5.20.1 + sade@1.8.1: dependencies: mri: 1.2.0 safe-buffer@5.2.1: {} - sander@0.5.1: - dependencies: - es6-promise: 3.3.1 - graceful-fs: 4.2.11 - mkdirp: 0.5.6 - rimraf: 2.7.1 - semver@6.3.1: {} semver@7.7.1: {} @@ -7356,13 +7229,6 @@ snapshots: transitivePeerDependencies: - supports-color - sorcery@0.11.1: - dependencies: - '@jridgewell/sourcemap-codec': 1.5.0 - buffer-crc32: 1.0.0 - minimist: 1.2.8 - sander: 0.5.1 - sorcery@1.0.0: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 @@ -7408,12 +7274,12 @@ snapshots: strip-final-newline@3.0.0: {} - strip-indent@3.0.0: - dependencies: - min-indent: 1.0.1 - strip-json-comments@2.0.1: {} + style-to-object@1.0.8: + dependencies: + inline-style-parser: 0.2.4 + sucrase@3.35.0: dependencies: '@jridgewell/gen-mapping': 0.3.8 @@ -7439,59 +7305,44 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - svelte-check@3.8.6(@babel/core@7.26.7)(postcss-load-config@5.1.0(jiti@1.21.7)(postcss@8.5.1)(tsx@4.19.2))(postcss@8.5.1)(svelte@5.19.7): + svelte-check@4.1.4(picomatch@4.0.2)(svelte@5.20.1)(typescript@5.7.3): dependencies: '@jridgewell/trace-mapping': 0.3.25 - chokidar: 3.6.0 + chokidar: 4.0.3 + fdir: 6.4.3(picomatch@4.0.2) picocolors: 1.1.1 sade: 1.8.1 - svelte: 5.19.7 - svelte-preprocess: 5.1.4(@babel/core@7.26.7)(postcss-load-config@5.1.0(jiti@1.21.7)(postcss@8.5.1)(tsx@4.19.2))(postcss@8.5.1)(svelte@5.19.7)(typescript@5.7.3) + svelte: 5.20.1 typescript: 5.7.3 transitivePeerDependencies: - - '@babel/core' - - coffeescript - - less - - postcss - - postcss-load-config - - pug - - sass - - stylus - - sugarss - - svelte-echarts@0.1.1(echarts@5.5.0)(svelte@5.19.7): + - picomatch + + svelte-echarts@0.1.1(echarts@5.5.0)(svelte@5.20.1): dependencies: echarts: 5.5.0 - svelte: 5.19.7 + svelte: 5.20.1 - svelte-mq-store@2.2.22(@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7): + svelte-mq-store@2.2.22(@sveltejs/kit@2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1): dependencies: - '@sveltejs/kit': 2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.19.7)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) - svelte: 5.19.7 + '@sveltejs/kit': 2.17.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)))(svelte@5.20.1)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(tsx@4.19.2)(yaml@2.7.0)) + svelte: 5.20.1 - svelte-parse-markup@0.1.5(svelte@5.19.7): + svelte-parse-markup@0.1.5(svelte@5.20.1): dependencies: - svelte: 5.19.7 + svelte: 5.20.1 - svelte-preprocess@5.1.4(@babel/core@7.26.7)(postcss-load-config@5.1.0(jiti@1.21.7)(postcss@8.5.1)(tsx@4.19.2))(postcss@8.5.1)(svelte@5.19.7)(typescript@5.7.3): + svelte-radix@2.0.1(svelte@5.20.1): dependencies: - '@types/pug': 2.0.10 - detect-indent: 6.1.0 - magic-string: 0.30.17 - sorcery: 0.11.1 - strip-indent: 3.0.0 - svelte: 5.19.7 - optionalDependencies: - '@babel/core': 7.26.7 - postcss: 8.5.1 - postcss-load-config: 5.1.0(jiti@1.21.7)(postcss@8.5.1)(tsx@4.19.2) - typescript: 5.7.3 + svelte: 5.20.1 - svelte-radix@2.0.1(svelte@5.19.7): + svelte-toolbelt@0.7.1(svelte@5.20.1): dependencies: - svelte: 5.19.7 + clsx: 2.1.1 + runed: 0.23.4(svelte@5.20.1) + style-to-object: 1.0.8 + svelte: 5.20.1 - svelte@5.19.7: + svelte@5.20.1: dependencies: '@ampproject/remapping': 2.3.0 '@jridgewell/sourcemap-codec': 1.5.0 @@ -7519,6 +7370,10 @@ snapshots: tailwind-merge: 2.5.4 tailwindcss: 3.4.17(ts-node@10.9.2(@swc/core@1.10.14(@swc/helpers@0.5.15))(@types/node@20.17.17)(typescript@5.7.3)) + tailwindcss-animate@1.0.7(tailwindcss@3.4.17(ts-node@10.9.2(@swc/core@1.10.14(@swc/helpers@0.5.15))(@types/node@20.17.17)(typescript@5.7.3))): + dependencies: + tailwindcss: 3.4.17(ts-node@10.9.2(@swc/core@1.10.14(@swc/helpers@0.5.15))(@types/node@20.17.17)(typescript@5.7.3)) + tailwindcss@3.4.17(ts-node@10.9.2(@swc/core@1.10.14(@swc/helpers@0.5.15))(@types/node@20.17.17)(typescript@5.7.3)): dependencies: '@alloc/quick-lru': 5.2.0 diff --git a/sitio/components.json b/sitio/components.json index bdb7f1c..c7988bf 100644 --- a/sitio/components.json +++ b/sitio/components.json @@ -1,14 +1,17 @@ { - "$schema": "https://shadcn-svelte.com/schema.json", - "style": "new-york", - "tailwind": { - "config": "tailwind.config.js", - "css": "src/app.css", - "baseColor": "neutral" - }, - "aliases": { - "components": "$lib/components", - "utils": "$lib/utils" - }, - "typescript": true + "$schema": "https://next.shadcn-svelte.com/schema.json", + "style": "new-york", + "tailwind": { + "config": "tailwind.config.js", + "css": "src/app.css", + "baseColor": "neutral" + }, + "aliases": { + "components": "$lib/components", + "utils": "$lib/utils", + "ui": "$lib/components/ui", + "hooks": "$lib/hooks" + }, + "typescript": true, + "registry": "https://next.shadcn-svelte.com/registry" } diff --git a/sitio/package.json b/sitio/package.json index 509e5a1..8667acf 100644 --- a/sitio/package.json +++ b/sitio/package.json @@ -33,7 +33,6 @@ "dayjs": "^1.11.13", "dotenv": "^16.4.7", "drizzle-orm": "^0.33.0", - "lucide-svelte": "^0.462.0", "markdown-it": "^14.1.0", "markdown-it-anchor": "^8.6.7", "markdown-it-table-of-contents": "^0.6.0", @@ -59,21 +58,23 @@ "@types/markdown-it": "^13.0.9", "@types/node": "^20.17.17", "autoprefixer": "^10.4.20", - "bits-ui": "^0.21.16", + "bits-ui": "1.0.0-next.98", "clsx": "^2.1.1", "drizzle-kit": "^0.24.2", + "lucide-svelte": "^0.462.0", "mitata": "^0.1.14", "postcss": "^8.5.1", "postcss-load-config": "^5.1.0", "prettier": "^3.4.2", "prettier-plugin-svelte": "^3.3.3", "prettier-plugin-tailwindcss": "^0.6.11", - "svelte": "^5.19.7", - "svelte-check": "^3.8.6", + "svelte": "^5.20.1", + "svelte-check": "^4.1.4", "svelte-mq-store": "^2.2.11", "tailwind-merge": "^2.6.0", "tailwind-variants": "^0.3.1", "tailwindcss": "^3.4.17", + "tailwindcss-animate": "^1.0.7", "ts-node": "^10.9.2", "tslib": "^2.8.1", "typescript": "^5.7.3", diff --git a/sitio/src/app.css b/sitio/src/app.css index d52b817..2e46a91 100644 --- a/sitio/src/app.css +++ b/sitio/src/app.css @@ -6,65 +6,62 @@ :root { --background: 0 0% 100%; --foreground: 0 0% 3.9%; - --muted: 0 0% 96.1%; --muted-foreground: 0 0% 45.1%; - --popover: 0 0% 100%; --popover-foreground: 0 0% 3.9%; - --card: 0 0% 100%; --card-foreground: 0 0% 3.9%; - --border: 0 0% 89.8%; --input: 0 0% 89.8%; - --primary: 0 0% 9%; --primary-foreground: 0 0% 98%; - --secondary: 0 0% 96.1%; --secondary-foreground: 0 0% 9%; - --accent: 0 0% 96.1%; --accent-foreground: 0 0% 9%; - --destructive: 0 72.2% 50.6%; --destructive-foreground: 0 0% 98%; - --ring: 0 0% 3.9%; - --radius: 0.5rem; + --sidebar-background: 0 0% 98%; + --sidebar-foreground: 240 5.3% 26.1%; + --sidebar-primary: 240 5.9% 10%; + --sidebar-primary-foreground: 0 0% 98%; + --sidebar-accent: 240 4.8% 95.9%; + --sidebar-accent-foreground: 240 5.9% 10%; + --sidebar-border: 220 13% 91%; + --sidebar-ring: 217.2 91.2% 59.8%; } .dark { --background: 0 0% 3.9%; --foreground: 0 0% 98%; - --muted: 0 0% 14.9%; --muted-foreground: 0 0% 63.9%; - --popover: 0 0% 3.9%; --popover-foreground: 0 0% 98%; - --card: 0 0% 3.9%; --card-foreground: 0 0% 98%; - --border: 0 0% 14.9%; --input: 0 0% 14.9%; - --primary: 0 0% 98%; --primary-foreground: 0 0% 9%; - --secondary: 0 0% 14.9%; --secondary-foreground: 0 0% 98%; - --accent: 0 0% 14.9%; --accent-foreground: 0 0% 98%; - --destructive: 0 62.8% 30.6%; --destructive-foreground: 0 0% 98%; - --ring: 0 0% 83.1%; + --sidebar-background: 240 5.9% 10%; + --sidebar-foreground: 240 4.8% 95.9%; + --sidebar-primary: 224.3 76.3% 48%; + --sidebar-primary-foreground: 0 0% 100%; + --sidebar-accent: 240 3.7% 15.9%; + --sidebar-accent-foreground: 240 4.8% 95.9%; + --sidebar-border: 240 3.7% 15.9%; + --sidebar-ring: 217.2 91.2% 59.8%; } } @@ -75,8 +72,4 @@ body { @apply bg-background text-foreground; } -} - -.link { - @apply text-blue-600 underline dark:text-blue-200; -} +} \ No newline at end of file diff --git a/sitio/src/app.html b/sitio/src/app.html index 66d66f0..7ab2c27 100644 --- a/sitio/src/app.html +++ b/sitio/src/app.html @@ -1,12 +1,16 @@ - - - - %sveltekit.head% - - -
%sveltekit.body%
- - + + + + %sveltekit.head% + + + + +
%sveltekit.body%
+ + + \ No newline at end of file diff --git a/sitio/src/lib/components/ui/button/button.svelte b/sitio/src/lib/components/ui/button/button.svelte index 0d4bcfb..3ee11da 100644 --- a/sitio/src/lib/components/ui/button/button.svelte +++ b/sitio/src/lib/components/ui/button/button.svelte @@ -1,25 +1,80 @@ + + - - - +{#if href} + + {@render children?.()} + +{:else} + +{/if} diff --git a/sitio/src/lib/components/ui/button/index.ts b/sitio/src/lib/components/ui/button/index.ts index 4f974d4..fb585d7 100644 --- a/sitio/src/lib/components/ui/button/index.ts +++ b/sitio/src/lib/components/ui/button/index.ts @@ -1,51 +1,17 @@ -import type { Button as ButtonPrimitive } from "bits-ui"; -import { type VariantProps, tv } from "tailwind-variants"; -import Root from "./button.svelte"; - -const buttonVariants = tv({ - base: "focus-visible:ring-ring inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50", - variants: { - variant: { - default: "bg-primary text-primary-foreground hover:bg-primary/90 shadow", - destructive: - "bg-destructive text-destructive-foreground hover:bg-destructive/90 shadow-sm", - outline: - "border-input bg-background hover:bg-accent hover:text-accent-foreground border shadow-sm", - secondary: - "bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-sm", - ghost: "hover:bg-accent hover:text-accent-foreground", - link: "text-primary underline-offset-4 hover:underline", - }, - size: { - default: "h-9 px-4 py-2", - sm: "h-8 rounded-md px-3 text-xs", - lg: "h-10 rounded-md px-8", - icon: "h-9 w-9", - }, - }, - defaultVariants: { - variant: "default", - size: "default", - }, -}); - -type Variant = VariantProps["variant"]; -type Size = VariantProps["size"]; - -type Props = ButtonPrimitive.Props & { - variant?: Variant; - size?: Size; -}; - -type Events = ButtonPrimitive.Events; +import Root, { + type ButtonProps, + type ButtonSize, + type ButtonVariant, + buttonVariants, +} from "./button.svelte"; export { - Root, - type Props, - type Events, - // - Root as Button, - type Props as ButtonProps, - type Events as ButtonEvents, - buttonVariants, + Root, + type ButtonProps as Props, + // + Root as Button, + buttonVariants, + type ButtonProps, + type ButtonSize, + type ButtonVariant, }; diff --git a/sitio/src/lib/components/ui/calendar/calendar-cell.svelte b/sitio/src/lib/components/ui/calendar/calendar-cell.svelte index 610c811..8f3f766 100644 --- a/sitio/src/lib/components/ui/calendar/calendar-cell.svelte +++ b/sitio/src/lib/components/ui/calendar/calendar-cell.svelte @@ -1,21 +1,19 @@ - - + class={cn( + "[&:has([data-selected])]:bg-accent [&:has([data-selected][data-outside-month])]:bg-accent/50 relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([data-selected])]:rounded-md", + className + )} + bind:ref + {...restProps} +/> diff --git a/sitio/src/lib/components/ui/calendar/calendar-day.svelte b/sitio/src/lib/components/ui/calendar/calendar-day.svelte index 2e31aa4..e9be9c0 100644 --- a/sitio/src/lib/components/ui/calendar/calendar-day.svelte +++ b/sitio/src/lib/components/ui/calendar/calendar-day.svelte @@ -1,43 +1,31 @@ - - {date.day} - - + class={cn( + buttonVariants({ variant: "ghost" }), + "size-8 p-0 font-normal", + // Today + "[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground", + // Selected + "data-[selected]:bg-primary data-[selected]:text-primary-foreground data-[selected]:hover:bg-primary data-[selected]:hover:text-primary-foreground data-[selected]:focus:bg-primary data-[selected]:focus:text-primary-foreground data-[selected]:opacity-100", + // Disabled + "data-[disabled]:text-muted-foreground data-[disabled]:opacity-50", + // Unavailable + "data-[unavailable]:text-destructive-foreground data-[unavailable]:line-through", + // Outside months + "data-[outside-month]:text-muted-foreground [&[data-outside-month][data-selected]]:bg-accent/50 [&[data-outside-month][data-selected]]:text-muted-foreground data-[outside-month]:pointer-events-none data-[outside-month]:opacity-50 [&[data-outside-month][data-selected]]:opacity-30", + className + )} + bind:ref + {...restProps} +/> diff --git a/sitio/src/lib/components/ui/calendar/calendar-grid-body.svelte b/sitio/src/lib/components/ui/calendar/calendar-grid-body.svelte index db48bfe..8cd86de 100644 --- a/sitio/src/lib/components/ui/calendar/calendar-grid-body.svelte +++ b/sitio/src/lib/components/ui/calendar/calendar-grid-body.svelte @@ -1,13 +1,12 @@ - - - + diff --git a/sitio/src/lib/components/ui/calendar/calendar-grid-head.svelte b/sitio/src/lib/components/ui/calendar/calendar-grid-head.svelte index f30e223..b195f74 100644 --- a/sitio/src/lib/components/ui/calendar/calendar-grid-head.svelte +++ b/sitio/src/lib/components/ui/calendar/calendar-grid-head.svelte @@ -2,12 +2,11 @@ import { Calendar as CalendarPrimitive } from "bits-ui"; import { cn } from "$lib/utils.js"; - type $$Props = CalendarPrimitive.GridHeadProps; - - let className: string | undefined | null = undefined; - export { className as class }; + let { + ref = $bindable(null), + class: className, + ...restProps + }: CalendarPrimitive.GridHeadProps = $props(); - - - + diff --git a/sitio/src/lib/components/ui/calendar/calendar-grid-row.svelte b/sitio/src/lib/components/ui/calendar/calendar-grid-row.svelte index 43d29e4..9032236 100644 --- a/sitio/src/lib/components/ui/calendar/calendar-grid-row.svelte +++ b/sitio/src/lib/components/ui/calendar/calendar-grid-row.svelte @@ -1,13 +1,12 @@ - - - + diff --git a/sitio/src/lib/components/ui/calendar/calendar-grid.svelte b/sitio/src/lib/components/ui/calendar/calendar-grid.svelte index 6edfb01..1d7edb5 100644 --- a/sitio/src/lib/components/ui/calendar/calendar-grid.svelte +++ b/sitio/src/lib/components/ui/calendar/calendar-grid.svelte @@ -1,16 +1,16 @@ - - + bind:ref + class={cn("w-full border-collapse space-y-1", className)} + {...restProps} +/> diff --git a/sitio/src/lib/components/ui/calendar/calendar-head-cell.svelte b/sitio/src/lib/components/ui/calendar/calendar-head-cell.svelte index f61a925..4e75040 100644 --- a/sitio/src/lib/components/ui/calendar/calendar-head-cell.svelte +++ b/sitio/src/lib/components/ui/calendar/calendar-head-cell.svelte @@ -1,19 +1,16 @@ - - + bind:ref + class={cn("text-muted-foreground w-8 rounded-md text-[0.8rem] font-normal", className)} + {...restProps} +/> diff --git a/sitio/src/lib/components/ui/calendar/calendar-header.svelte b/sitio/src/lib/components/ui/calendar/calendar-header.svelte index 1568efa..e64feae 100644 --- a/sitio/src/lib/components/ui/calendar/calendar-header.svelte +++ b/sitio/src/lib/components/ui/calendar/calendar-header.svelte @@ -1,19 +1,16 @@ - - + bind:ref + class={cn("relative flex w-full items-center justify-between pt-1", className)} + {...restProps} +/> diff --git a/sitio/src/lib/components/ui/calendar/calendar-heading.svelte b/sitio/src/lib/components/ui/calendar/calendar-heading.svelte index 6c4c8b8..d443d44 100644 --- a/sitio/src/lib/components/ui/calendar/calendar-heading.svelte +++ b/sitio/src/lib/components/ui/calendar/calendar-heading.svelte @@ -2,18 +2,15 @@ import { Calendar as CalendarPrimitive } from "bits-ui"; import { cn } from "$lib/utils.js"; - type $$Props = CalendarPrimitive.HeadingProps; - - let className: string | undefined | null = undefined; - export { className as class }; + let { + ref = $bindable(null), + class: className, + ...restProps + }: CalendarPrimitive.HeadingProps = $props(); - - {headingValue} - - + {...restProps} +/> diff --git a/sitio/src/lib/components/ui/calendar/calendar-months.svelte b/sitio/src/lib/components/ui/calendar/calendar-months.svelte index d75eb26..4cd0ed7 100644 --- a/sitio/src/lib/components/ui/calendar/calendar-months.svelte +++ b/sitio/src/lib/components/ui/calendar/calendar-months.svelte @@ -1,19 +1,20 @@
- + {@render children?.()}
diff --git a/sitio/src/lib/components/ui/calendar/calendar-next-button.svelte b/sitio/src/lib/components/ui/calendar/calendar-next-button.svelte index 16bff3f..3eaff6f 100644 --- a/sitio/src/lib/components/ui/calendar/calendar-next-button.svelte +++ b/sitio/src/lib/components/ui/calendar/calendar-next-button.svelte @@ -1,27 +1,28 @@ +{#snippet Fallback()} + +{/snippet} + - - - - + bind:ref + class={cn( + buttonVariants({ variant: "outline" }), + "size-7 bg-transparent p-0 opacity-50 hover:opacity-100", + className + )} + {...restProps} + children={children || Fallback} +/> diff --git a/sitio/src/lib/components/ui/calendar/calendar-prev-button.svelte b/sitio/src/lib/components/ui/calendar/calendar-prev-button.svelte index 7a2fbcc..77430c9 100644 --- a/sitio/src/lib/components/ui/calendar/calendar-prev-button.svelte +++ b/sitio/src/lib/components/ui/calendar/calendar-prev-button.svelte @@ -1,27 +1,28 @@ +{#snippet Fallback()} + +{/snippet} + - - - - + bind:ref + class={cn( + buttonVariants({ variant: "outline" }), + "size-7 bg-transparent p-0 opacity-50 hover:opacity-100", + className + )} + {...restProps} + children={children || Fallback} +/> diff --git a/sitio/src/lib/components/ui/calendar/calendar.svelte b/sitio/src/lib/components/ui/calendar/calendar.svelte index b2fbf42..16bebd7 100644 --- a/sitio/src/lib/components/ui/calendar/calendar.svelte +++ b/sitio/src/lib/components/ui/calendar/calendar.svelte @@ -1,58 +1,61 @@ + - - - - - - - {#each months as month} - - - - {#each weekdays as weekday} - - {weekday.slice(0, 2)} - - {/each} - - - - {#each month.weeks as weekDates} - - {#each weekDates as date} - - - - {/each} - - {/each} - - - {/each} - + {#snippet children({ months, weekdays })} + + + + + + + {#each months as month} + + + + {#each weekdays as weekday} + + {weekday.slice(0, 2)} + + {/each} + + + + {#each month.weeks as weekDates} + + {#each weekDates as date} + + + + {/each} + + {/each} + + + {/each} + + {/snippet} diff --git a/sitio/src/lib/components/ui/calendar/index.ts b/sitio/src/lib/components/ui/calendar/index.ts index 829eb48..ab257ab 100644 --- a/sitio/src/lib/components/ui/calendar/index.ts +++ b/sitio/src/lib/components/ui/calendar/index.ts @@ -13,18 +13,18 @@ import NextButton from "./calendar-next-button.svelte"; import PrevButton from "./calendar-prev-button.svelte"; export { - Day, - Cell, - Grid, - Header, - Months, - GridRow, - Heading, - GridBody, - GridHead, - HeadCell, - NextButton, - PrevButton, - // - Root as Calendar, + Day, + Cell, + Grid, + Header, + Months, + GridRow, + Heading, + GridBody, + GridHead, + HeadCell, + NextButton, + PrevButton, + // + Root as Calendar, }; diff --git a/sitio/src/lib/components/ui/popover/index.ts b/sitio/src/lib/components/ui/popover/index.ts index ee42089..63aecf9 100644 --- a/sitio/src/lib/components/ui/popover/index.ts +++ b/sitio/src/lib/components/ui/popover/index.ts @@ -5,13 +5,13 @@ const Trigger = PopoverPrimitive.Trigger; const Close = PopoverPrimitive.Close; export { - Root, - Content, - Trigger, - Close, - // - Root as Popover, - Content as PopoverContent, - Trigger as PopoverTrigger, - Close as PopoverClose, + Root, + Content, + Trigger, + Close, + // + Root as Popover, + Content as PopoverContent, + Trigger as PopoverTrigger, + Close as PopoverClose, }; diff --git a/sitio/src/lib/components/ui/popover/popover-content.svelte b/sitio/src/lib/components/ui/popover/popover-content.svelte index 9bf2a79..f1df6fd 100644 --- a/sitio/src/lib/components/ui/popover/popover-content.svelte +++ b/sitio/src/lib/components/ui/popover/popover-content.svelte @@ -1,27 +1,28 @@ - - - + + + diff --git a/sitio/src/lib/components/ui/select/index.ts b/sitio/src/lib/components/ui/select/index.ts index 1299091..f419e5f 100644 --- a/sitio/src/lib/components/ui/select/index.ts +++ b/sitio/src/lib/components/ui/select/index.ts @@ -1,34 +1,34 @@ import { Select as SelectPrimitive } from "bits-ui"; -import Label from "./select-label.svelte"; +import GroupHeading from "./select-group-heading.svelte"; import Item from "./select-item.svelte"; import Content from "./select-content.svelte"; import Trigger from "./select-trigger.svelte"; import Separator from "./select-separator.svelte"; +import ScrollDownButton from "./select-scroll-down-button.svelte"; +import ScrollUpButton from "./select-scroll-up-button.svelte"; const Root = SelectPrimitive.Root; const Group = SelectPrimitive.Group; -const Input = SelectPrimitive.Input; -const Value = SelectPrimitive.Value; export { - Root, - Item, - Group, - Input, - Label, - Value, - Content, - Trigger, - Separator, - // - Root as Select, - Item as SelectItem, - Group as SelectGroup, - Input as SelectInput, - Label as SelectLabel, - Value as SelectValue, - Content as SelectContent, - Trigger as SelectTrigger, - Separator as SelectSeparator, + Root, + Item, + Group, + GroupHeading, + Content, + Trigger, + Separator, + ScrollDownButton, + ScrollUpButton, + // + Root as Select, + Item as SelectItem, + Group as SelectGroup, + GroupHeading as SelectGroupHeading, + Content as SelectContent, + Trigger as SelectTrigger, + Separator as SelectSeparator, + ScrollDownButton as SelectScrollDownButton, + ScrollUpButton as SelectScrollUpButton, }; diff --git a/sitio/src/lib/components/ui/select/select-content.svelte b/sitio/src/lib/components/ui/select/select-content.svelte index 607bdca..42e8df4 100644 --- a/sitio/src/lib/components/ui/select/select-content.svelte +++ b/sitio/src/lib/components/ui/select/select-content.svelte @@ -1,36 +1,38 @@ - -
- -
-
+ + + + + {@render children?.()} + + + + diff --git a/sitio/src/lib/components/ui/select/select-group-heading.svelte b/sitio/src/lib/components/ui/select/select-group-heading.svelte new file mode 100644 index 0000000..170ec23 --- /dev/null +++ b/sitio/src/lib/components/ui/select/select-group-heading.svelte @@ -0,0 +1,16 @@ + + + diff --git a/sitio/src/lib/components/ui/select/select-item.svelte b/sitio/src/lib/components/ui/select/select-item.svelte index 1cab207..c9eeb2d 100644 --- a/sitio/src/lib/components/ui/select/select-item.svelte +++ b/sitio/src/lib/components/ui/select/select-item.svelte @@ -1,37 +1,37 @@ - - - - - - - {label || value} - + {#snippet children({ selected, highlighted })} + + {#if selected} + + {/if} + + {#if childrenProp} + {@render childrenProp({ selected, highlighted })} + {:else} + {label || value} + {/if} + {/snippet} diff --git a/sitio/src/lib/components/ui/select/select-label.svelte b/sitio/src/lib/components/ui/select/select-label.svelte deleted file mode 100644 index 8ebec41..0000000 --- a/sitio/src/lib/components/ui/select/select-label.svelte +++ /dev/null @@ -1,16 +0,0 @@ - - - - - diff --git a/sitio/src/lib/components/ui/select/select-scroll-down-button.svelte b/sitio/src/lib/components/ui/select/select-scroll-down-button.svelte new file mode 100644 index 0000000..b927d62 --- /dev/null +++ b/sitio/src/lib/components/ui/select/select-scroll-down-button.svelte @@ -0,0 +1,19 @@ + + + + + diff --git a/sitio/src/lib/components/ui/select/select-scroll-up-button.svelte b/sitio/src/lib/components/ui/select/select-scroll-up-button.svelte new file mode 100644 index 0000000..75f8d79 --- /dev/null +++ b/sitio/src/lib/components/ui/select/select-scroll-up-button.svelte @@ -0,0 +1,19 @@ + + + + + diff --git a/sitio/src/lib/components/ui/select/select-separator.svelte b/sitio/src/lib/components/ui/select/select-separator.svelte index 5337393..38a3ab0 100644 --- a/sitio/src/lib/components/ui/select/select-separator.svelte +++ b/sitio/src/lib/components/ui/select/select-separator.svelte @@ -1,14 +1,13 @@ - + diff --git a/sitio/src/lib/components/ui/select/select-trigger.svelte b/sitio/src/lib/components/ui/select/select-trigger.svelte index 28cb3eb..15f0df1 100644 --- a/sitio/src/lib/components/ui/select/select-trigger.svelte +++ b/sitio/src/lib/components/ui/select/select-trigger.svelte @@ -1,24 +1,24 @@ span]:line-clamp-1 data-[placeholder]:[&>span]:text-muted-foreground", - className, - )} - {...$$restProps} + bind:ref + class={cn( + "border-input ring-offset-background data-[placeholder]:text-muted-foreground focus:ring-ring flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border bg-transparent px-3 py-2 text-sm shadow-sm focus:outline-none focus:ring-1 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1", + className + )} + {...restProps} > - -
- -
+ {@render children?.()} +
diff --git a/sitio/src/lib/components/ui/separator/index.ts b/sitio/src/lib/components/ui/separator/index.ts new file mode 100644 index 0000000..82442d2 --- /dev/null +++ b/sitio/src/lib/components/ui/separator/index.ts @@ -0,0 +1,7 @@ +import Root from "./separator.svelte"; + +export { + Root, + // + Root as Separator, +}; diff --git a/sitio/src/lib/components/ui/separator/separator.svelte b/sitio/src/lib/components/ui/separator/separator.svelte new file mode 100644 index 0000000..839494d --- /dev/null +++ b/sitio/src/lib/components/ui/separator/separator.svelte @@ -0,0 +1,22 @@ + + + diff --git a/sitio/src/lib/utils.ts b/sitio/src/lib/utils.ts index 5e50069..ac680b3 100644 --- a/sitio/src/lib/utils.ts +++ b/sitio/src/lib/utils.ts @@ -1,62 +1,6 @@ import { type ClassValue, clsx } from "clsx"; import { twMerge } from "tailwind-merge"; -import { cubicOut } from "svelte/easing"; -import type { TransitionConfig } from "svelte/transition"; export function cn(...inputs: ClassValue[]) { - return twMerge(clsx(inputs)); + return twMerge(clsx(inputs)); } - -type FlyAndScaleParams = { - y?: number; - x?: number; - start?: number; - duration?: number; -}; - -export const flyAndScale = ( - node: Element, - params: FlyAndScaleParams = { y: -8, x: 0, start: 0.95, duration: 150 }, -): TransitionConfig => { - const style = getComputedStyle(node); - const transform = style.transform === "none" ? "" : style.transform; - - const scaleConversion = ( - valueA: number, - scaleA: [number, number], - scaleB: [number, number], - ) => { - const [minA, maxA] = scaleA; - const [minB, maxB] = scaleB; - - const percentage = (valueA - minA) / (maxA - minA); - const valueB = percentage * (maxB - minB) + minB; - - return valueB; - }; - - const styleToString = ( - style: Record, - ): string => { - return Object.keys(style).reduce((str, key) => { - if (style[key] === undefined) return str; - return str + `${key}:${style[key]};`; - }, ""); - }; - - return { - duration: params.duration ?? 200, - delay: 0, - css: (t) => { - const y = scaleConversion(t, [0, 1], [params.y ?? 5, 0]); - const x = scaleConversion(t, [0, 1], [params.x ?? 0, 0]); - const scale = scaleConversion(t, [0, 1], [params.start ?? 0.95, 1]); - - return styleToString({ - transform: `${transform} translate3d(${x}px, ${y}px, 0) scale(${scale})`, - opacity: t, - }); - }, - easing: cubicOut, - }; -}; diff --git a/sitio/src/routes/+layout.svelte b/sitio/src/routes/+layout.svelte index 74ba265..cda2d4b 100644 --- a/sitio/src/routes/+layout.svelte +++ b/sitio/src/routes/+layout.svelte @@ -2,33 +2,18 @@ import "../app.css"; import { ModeWatcher } from "mode-watcher"; - import { dev } from "$app/environment"; - import posthog from "posthog-js"; - import { browser } from "$app/environment"; import { onMount } from "svelte"; onMount(() => { - if (browser) { - posthog.init("phc_II79EjC3Nzv1PCndY5L7VK7oDcdjux2SdbNZMvtKuMy", { - api_host: "https://us.i.posthog.com", - person_profiles: "identified_only", // or 'always' to create profiles for anonymous users as well - }); - } + posthog.init("phc_II79EjC3Nzv1PCndY5L7VK7oDcdjux2SdbNZMvtKuMy", { + api_host: "https://us.i.posthog.com", + person_profiles: "identified_only", // or 'always' to create profiles for anonymous users as well + }); return; }); - - {#if !dev} - - {/if} - - diff --git a/sitio/src/routes/+page.svelte b/sitio/src/routes/+page.svelte index a527c2d..f7b929e 100644 --- a/sitio/src/routes/+page.svelte +++ b/sitio/src/routes/+page.svelte @@ -23,9 +23,9 @@ import { onMount } from "svelte"; import AsSeenIn from "./AsSeenIn.svelte"; import * as Popover from "$lib/components/ui/popover"; - import Button from "@/components/ui/button/button.svelte"; + import { Button, buttonVariants } from "@/components/ui/button/index"; import { cn } from "@/utils"; - import Calendar from "@/components/ui/calendar/calendar.svelte"; + import { Calendar } from "@/components/ui/calendar/index"; import { CalendarIcon, ClockIcon, @@ -92,36 +92,33 @@
- - - + + + + {data.query + ? data.query === "last-24h" + ? "las últimas 24hs" + : dateFormatter.format(data.start) + : "Seleccionar período"}
- setQuery(value ? `date:${value.toString()}` : "last-24h")} value={data.query === "last-24h" @@ -228,7 +225,7 @@ {/if}

Su actividad en {dayjs(data.start).isAfter(dayjs().startOf("month")) @@ -310,7 +307,7 @@ Como lo viste en la prensa

)", foreground: "hsl(var(--card-foreground) / )", }, + sidebar: { + DEFAULT: "hsl(var(--sidebar-background))", + foreground: "hsl(var(--sidebar-foreground))", + primary: "hsl(var(--sidebar-primary))", + "primary-foreground": "hsl(var(--sidebar-primary-foreground))", + accent: "hsl(var(--sidebar-accent))", + "accent-foreground": "hsl(var(--sidebar-accent-foreground))", + border: "hsl(var(--sidebar-border))", + ring: "hsl(var(--sidebar-ring))", + }, }, borderRadius: { + xl: "calc(var(--radius) + 4px)", lg: "var(--radius)", md: "calc(var(--radius) - 2px)", sm: "calc(var(--radius) - 4px)", }, + fontFamily: { + sans: [...fontFamily.sans], + }, + keyframes: { + "accordion-down": { + from: { height: "0" }, + to: { height: "var(--bits-accordion-content-height)" }, + }, + "accordion-up": { + from: { height: "var(--bits-accordion-content-height)" }, + to: { height: "0" }, + }, + "caret-blink": { + "0%,70%,100%": { opacity: "1" }, + "20%,50%": { opacity: "0" }, + }, + }, + animation: { + "accordion-down": "accordion-down 0.2s ease-out", + "accordion-up": "accordion-up 0.2s ease-out", + "caret-blink": "caret-blink 1.25s ease-out infinite", + }, }, }, - plugins: [require("@tailwindcss/typography")], + plugins: [tailwindcssAnimate, require("@tailwindcss/typography")], }; export default config;