Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(web): Setup storybook (#13472)

Ben Bachem4dab005c984d
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 85f5026418..9b25b19bd5 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -528,7 +528,7 @@ importers:
'@sentry/nextjs':
specifier: ^10.46.0
'@t3-oss/env-nextjs':
specifier: ^0.11.1
@@ -758,6 +758,15 @@ importers:
'@repo/typescript-config':
specifier: workspace:*
version: link:../packages/config-typescript
+ '@storybook/addon-a11y':
+ specifier: ^10.3.6
+ '@storybook/addon-docs':
+ specifier: ^10.3.6
+ '@storybook/nextjs-vite':
+ specifier: ^10.3.6
'@tailwindcss/forms':
specifier: ^0.5.11
version: 0.5.11([email protected])
@@ -812,6 +821,9 @@ importers:
eslint-config-next:
specifier: 16.2.6
+ eslint-plugin-storybook:
+ specifier: ^10.3.6
node-mocks-http:
specifier: ^1.17.2
version: 1.17.2(@types/[email protected])(@types/[email protected])
@@ -821,12 +833,18 @@ importers:
prettier-plugin-tailwindcss:
specifier: ^0.7.2
version: 0.7.2([email protected])
+ storybook:
+ specifier: ^10.3.6
tailwindcss:
specifier: ^4.2.2
version: 4.2.2
typescript:
specifier: ^5.7.2
version: 5.9.2
+ vite:
+ specifier: ^7.0.5
vite-tsconfig-paths:
specifier: ^6.1.1
@@ -2350,6 +2368,15 @@ packages:
resolution: {integrity: sha512-H9xg1/sfVvyfU7o3zMfBEjQ1gcsdeTMgqHoYdN79tuLqfTtuu7WckRA1R5whDwOzxaZAeMKTYWqP+WCAi0CHsg==}
engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
+ '@joshwooding/[email protected]':
+ resolution: {integrity: sha512-qvsTEwEFefhdirGOPnu9Wp6ChfIwy2dBCRuETU3uE+4cC+PFoxMSiiEhxk4lOluA34eARHA0OxqsEUYDqRMgeQ==}
+ peerDependencies:
+ typescript: '>= 4.3.x'
+ vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
'@jridgewell/[email protected]':
resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}
@@ -2481,6 +2508,12 @@ packages:
'@marijn/[email protected]':
resolution: {integrity: sha512-l0h88YhZFyKdXIFNfSWpyjStDjGHwZ/U7iobcK1cQQD8sejsONdQtTVU+1wVN1PBw40PiiHB1vA5S7VTfQiP9g==}
+ '@mdx-js/[email protected]':
+ resolution: {integrity: sha512-f++rKLQgUVYDAtECQ6fn/is15GkEH9+nZPM3MS0RcxVqoTfawHvDlSCH7JbMhAM6uJ32v3eXLvLmLvjGu7PTQw==}
+ peerDependencies:
+ '@types/react': '>=16'
+ react: '>=16'
+
'@modelcontextprotocol/[email protected]':
resolution: {integrity: sha512-zo37mZA9hJWpULgkRpowewez1y6ML5GsXJPY8FI0tBBCd77HEvza4jDqRKOXgHNn867PVGCyTdzqpz0izu5ZjQ==}
engines: {node: '>=18'}
@@ -2540,6 +2573,9 @@ packages:
'@prisma/client': '>=2.26.0 || >=3'
next-auth: ^4
+ resolution: {integrity: sha512-s5j2iFGp38QsG1LWRQaE2iUY3h1jc014/melHFfLdrsMJPqxqDQwWNwyQTcNoUSGZlCVZuM7t7JDMmSyRilsnA==}
+
resolution: {integrity: sha512-gd8HoHN4ufj73WmR3JmVolrpJR47ILK6LouP5xElPglaVxir6e1a7VzvTvDWkOoPXT9rkkTzyCxBu4yeZfZwcw==}
@@ -4661,6 +4697,88 @@ packages:
'@standard-schema/[email protected]':
resolution: {integrity: sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-cbwXIT5CeHZ9AFbTKQ6YB7Ct6TAl/kKOgALbvzzVtFfRvm51JYygGaiJaB7PbPWn9wgJP2olJcFt+erlEc6cRw==}
+ peerDependencies:
+ storybook: ^10.3.6
+
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-TvIdADVPtauxW0LzXIpIv7X6GxwetorhyNh+6+7MHC27XSBCWVxxRUwL63YeLlHTuXsIk0quG3b1xgwVRzWOJA==}
+ peerDependencies:
+ storybook: ^10.3.6
+
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-gpvR/sE4BcrFtmQZ+Ker7zD23oQzoVeqD9nF6cK6yzY+Q0svJXyX2EPmFG4y+EwygD5/vNzDpP84gGMut8VRwg==}
+ peerDependencies:
+ storybook: ^10.3.6
+ vite: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0
+
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-9kBf7VRdRqTSIYo+rPtVn5yjYYyK8kP2QhEYx3oiXvfwy4RexmbJnhk/tXa/lNiTqukA1TqaWQ2+5MqF4fu6YQ==}
+ peerDependencies:
+ esbuild: '*'
+ rollup: ^4.22.4
+ storybook: ^10.3.6
+ vite: '*'
+ webpack: '*'
+ peerDependenciesMeta:
+ esbuild:
+ optional: true
+ rollup:
+ optional: true
+ vite:
+ optional: true
+ webpack:
+ optional: true
+
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ==}
+
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-KZBCpXsshAIjczYNXR/rlxEtCUX/eAbpFNwKi8bcOomrLA4t/SyPz5RF+lVPO2oZBUE4sAkt43mfJUevQDSEEw==}
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-X2ExCrrnq319LkOKM5E2ZpeEDFgeUmPNH/v5SQlYA9e3Jmtzs+esObaWEEtUF5pvoxzeszZGEV9zXNFmYaF9Dg==}
+ peerDependencies:
+ next: ^14.1.0 || ^15.0.0 || ^16.0.0
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ storybook: ^10.3.6
+ typescript: '*'
+ vite: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-/Tu1gPu+Fw+zOnAGmxRmOD30FX3a04LxcTAKflEtdpmtIMVR5bA3qpjy+f5YhoyDCecbXyKmL1OeIU2FIIZHqQ==}
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ storybook: ^10.3.6
+
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-tySQRc+8q7V2NkylQMNJjDV8zXy6tkxb8oDqw/DIhHhI9Xn77MTKVZ8Cihbo5NMm7HYTB6xDKr6wqdSMgdufYQ==}
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ storybook: ^10.3.6
+ vite: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0
+
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-oZQZ6xayWe5IdHmFUTL0TL8rX/gpNNh9gWhT2vzW5eeUvlkVG/RBKdsja6Ndrk2s1D9vcnwiI6r6CNXy3IEEmg==}
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ storybook: ^10.3.6
+ typescript: '>= 4.9.x'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==}
@@ -4845,6 +4963,10 @@ packages:
vitest:
optional: true
+ '@testing-library/[email protected]':
+ resolution: {integrity: sha512-zIcONa+hVtVSSep9UT3jZ5rizo2BsxgyDYU7WFD5eICBE7no3881HGeb/QkGfsJs6JTkY1aQhT7rIPC7e+0nnA==}
+ engines: {node: '>=14', npm: '>=6', yarn: '>=1'}
+
'@testing-library/[email protected]':
resolution: {integrity: sha512-cg0RvEdD1TIhhkm1IeYMQxrzy0MtUNfa3minv4MjbgcYzJAZ7yD0i0lwoPOTPr+INtiXFezt2o8xMSnyHhEn2Q==}
engines: {node: '>=18'}
@@ -4856,6 +4978,12 @@ packages:
'@types/react':
optional: true
+ '@testing-library/[email protected]':
+ resolution: {integrity: sha512-vq7fv0rnt+QTXgPxr5Hjc210p6YKq2kmdziLgnsZGgLJ9e6VAShx1pACLuRjd/AS/sr7phAR58OIIpf0LlmQNw==}
+ engines: {node: '>=12', npm: '>=6'}
+ peerDependencies:
+ '@testing-library/dom': '>=7.21.4'
+
'@tootallnate/[email protected]':
resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==}
engines: {node: '>= 10'}
@@ -4960,6 +5088,9 @@ packages:
resolution: {integrity: sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==}
+
resolution: {integrity: sha512-9xlo6R2qDs5uixm0bcIqCeMCE6HiQsIyel9KQySStiyqNl2tnj2mP3DX1Nf56MD6KMenNNlBBsy3LJ7gUEQPXQ==}
@@ -5017,6 +5148,9 @@ packages:
resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-eOIHzCUSH7SMfonMG1LsC2f8vxBFtho6NGBznK41R84YzPuvSBzrhEps33IsQiOW9+VL6NQ9DbjQJznk/S4uRA==}
+
resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==}
@@ -5080,6 +5214,9 @@ packages:
resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-+OWZQfAYyio6YkJb3HLxDrvnx6SWWDbC0zVPfBRzUk0/nqoDyf6dNxQi3eArPe8rJ473nobTMQ/8Zk+LxJ+Yuw==}
+
resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==}
@@ -5137,6 +5274,9 @@ packages:
resolution: {integrity: sha512-FGJ6udDNUCjd19pp0Q3iTiDkwhYup7J8hpMW9c4k53NrccQFFWKRho6hvtPPEhnXWKvukfwAlB6DbDz4yhH5Gg==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-A4STmOXPhMUtHH+S6ymgE2GiBSMqf4oTvcQZMcHzokuTLVYzXTB8ttjcgxOVaAp2lGwEdzZ0J+cRbbeevQj1UQ==}
+
resolution: {integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==}
@@ -5484,6 +5624,9 @@ packages:
'@vitest/browser':
optional: true
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==}
+
'@vitest/[email protected]':
resolution: {integrity: sha512-iPBpra+VDuXmBFI3FMKHSFXp3Gx5HfmSCE8X67Dn+bwephCnQCaB7qWK2ldHa+8ncN8hJU8VTMcxjPpyMkUjww==}
@@ -5498,6 +5641,9 @@ packages:
vite:
optional: true
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA==}
+
'@vitest/[email protected]':
resolution: {integrity: sha512-ddmDHU0gjEUyEVLxtZa7xamrpIefdEETu3nZjWtHeZX4QxqJ7tRxSteHVXJOcr8jhiLoGAhkK4WJ3WqBpjx42A==}
@@ -5507,9 +5653,15 @@ packages:
'@vitest/[email protected]':
resolution: {integrity: sha512-MCjCFgaS8aZz+m5nTcEcgk/xhWv0rEH4Yl53PPlMXOZ1/Ka2VcZU6CJ+MgYCZbcJvzGhQRjVrGQNZqkGPttIKw==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw==}
+
'@vitest/[email protected]':
resolution: {integrity: sha512-XxNdAsKW7C+FLydqFJLb5KhJtl3PGCMmYwFRfhvIgxJvLSXhhVI1zM8f1qD3Zg7RCjTSzDVyct6sghs9UEgBEQ==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==}
+
'@vitest/[email protected]':
resolution: {integrity: sha512-13QMT+eysM5uVGa1rG4kegGYNp6cnQcsTc67ELFbhNLQO+vgsygtYJx2khvdt4gVQqSSpC/KT5FZZxUpP3Oatw==}
@@ -5558,6 +5710,9 @@ packages:
'@webassemblyjs/[email protected]':
resolution: {integrity: sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==}
+ '@webcontainer/[email protected]':
+ resolution: {integrity: sha512-6aN99yL695Hi9SuIk1oC88l9o0gmxL1nGWWQ/kNy81HigJ0FoaoTXpytCj6ItzgyCEwA9kF1wixsTuv5cjsgng==}
+
resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==}
@@ -5737,6 +5892,10 @@ packages:
resolution: {integrity: sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==}
engines: {node: '>=4'}
+ resolution: {integrity: sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==}
+ engines: {node: '>=4'}
+
resolution: {integrity: sha512-1fSfIwuDICFA4LKkCzRPO7F0hzFf0B7+Xqrl27ynQaa+Rh0e1Es0v6kWHPott3lU10AyAr7oKHa65OppjLn3Rg==}
@@ -5941,6 +6100,10 @@ packages:
resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==}
+ resolution: {integrity: sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==}
engines: {node: '>=18'}
@@ -5976,6 +6139,10 @@ packages:
resolution: {integrity: sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ==}
+ resolution: {integrity: sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==}
+ engines: {node: '>= 16'}
+
resolution: {integrity: sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==}
@@ -6320,6 +6487,10 @@ packages:
babel-plugin-macros:
optional: true
+ resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}
@@ -6415,6 +6586,10 @@ packages:
resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==}
+ engines: {node: '>=6.0.0'}
+
resolution: {integrity: sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==}
@@ -6710,6 +6885,12 @@ packages:
peerDependencies:
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7
+ resolution: {integrity: sha512-8udrL+Rmp5LFaZvgRe4J226X1MYls25bWCyHuzR5X8s2qbFTryX+wKC+o/0Ato4A1AvwnDg8OOMPc6yWJ9JpcA==}
+ peerDependencies:
+ eslint: '>=8'
+ storybook: ^10.3.6
+
resolution: {integrity: sha512-mwsR2dVy35crMS39TKSKG1xMxfn9M9t/sHXg70GAVqJxoFhsmM1XOcVGQ5w2z7GFUuMP70xUcpSendFzyuuSlQ==}
peerDependencies:
@@ -7331,6 +7512,11 @@ packages:
resolution: {integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==}
engines: {node: '>= 4'}
+ resolution: {integrity: sha512-IRqXKlaXwgSMAMtpNzZa1ZAe8m+Sa1770Dhk8VkSsP9LS+iHD62Zd8FQKs8fbPiagBE7BzoFX23cxFnwshpV6w==}
+ engines: {node: '>=16.x'}
+ hasBin: true
+
resolution: {integrity: sha512-d/+XTN3zfODyjr89gM3mPq1WNX2B8pYsu7eORitdwyA2sBubnTl3laYlBk4sXY5FUa5qTZGBDPJICVbvqzjlbw==}
@@ -8155,6 +8341,9 @@ packages:
resolution: {integrity: sha512-HusN80C0ohtT9kOHQH7EuUaqzRQsnekpa+2ot8OzvW0iC08dq/YtM/7uKwwajldQsCrHyC8q9fz3t3L+TmDltA==}
+ resolution: {integrity: sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==}
+
resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==}
@@ -8452,6 +8641,9 @@ packages:
resolution: {integrity: sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==}
engines: {node: '>=16 || 14 >=14.17'}
+ resolution: {integrity: sha512-bOclZt8hkpuGgSSoG07PKmvzTizROilUTvLNyrMqvlC9snhs7y7GzjNWAVbISIOlhCP1T14rH1PDAV9iNyBq/w==}
+
resolution: {integrity: sha512-EGWKgxALGMgzvxYF1UyGTy0HXX/2vHLkw6+NvDKW2jypWbHpjQuj4UMcqQWXHERJhVGKikolT06G3bcKe4fi7w==}
@@ -8917,6 +9109,10 @@ packages:
resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==}
+ resolution: {integrity: sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==}
+ engines: {node: '>= 14.16'}
+
resolution: {integrity: sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A==}
@@ -9242,6 +9438,15 @@ packages:
peerDependencies:
react: '>=16.8.0'
+ resolution: {integrity: sha512-ZtAp5XTO5HRzQctjPU0ybY0RRCQO19X/8fxn3w7y2VVTUbGHDKULPTL4ky3vB05euSgG5NpALhEhDPvQ56wvXg==}
+ peerDependencies:
+ typescript: '>= 4.3.x'
+
+ resolution: {integrity: sha512-aEZ9qP+/M+58x2qgfSFEWH1BxLyHe5+qkLNJOZQb5iGS017jpbRnoKhNRrXPeA6RfBrZO5wZrT9DMC1UqE1f1w==}
+ engines: {node: ^20.9.0 || >=22}
+
resolution: {integrity: sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==}
peerDependencies:
@@ -9382,6 +9587,10 @@ packages:
resolution: {integrity: sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ==}
engines: {node: '>= 20.19.0'}
+ resolution: {integrity: sha512-YTUo+Flmw4ZXiWfQKGcwwc11KnoRAYgzAE2E7mXKCjSviTKShtxBsN6YUUBB2gtaBzKzeKunxhUwNHQuRryhWA==}
+ engines: {node: '>= 4'}
+
resolution: {integrity: sha512-Z/m38DX3L73ExO4Tpc9/iZWHmHnlzWG4njQbxsF5aSjwqmHNDDIm0rdEBArkwsBvR8U6EirlEHiQNYWCVh9sGQ==}
engines: {node: '>=18'}
@@ -9761,6 +9970,18 @@ packages:
resolution: {integrity: sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-vbSz7g/1rGMC1uAULqMZjALkIuLu2QABqfhRYhyr/11kzyesi+vAmwyJLukZP1FfecxGOgMwOh6GS0YsGpHAvQ==}
+ hasBin: true
+ peerDependencies:
+ prettier: ^2 || ^3
+ vite-plus: ^0.1.15
+ peerDependenciesMeta:
+ prettier:
+ optional: true
+ vite-plus:
+ optional: true
+
resolution: {integrity: sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==}
@@ -9853,6 +10074,10 @@ packages:
resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-SlyRoSkdh1dYP0PzclLE7r0M9sgbFKKMFXpFRUMNuKhQSbC6VQIGzq3E0qsfvGJaUFJPGv6Ws1NZ/haTAjfbMA==}
+ engines: {node: '>=12'}
+
resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}
engines: {node: '>=8'}
@@ -9995,10 +10220,18 @@ packages:
resolution: {integrity: sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==}
engines: {node: '>=12.0.0'}
+ resolution: {integrity: sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==}
+ engines: {node: '>=14.0.0'}
+
resolution: {integrity: sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==}
engines: {node: '>=14.0.0'}
+ resolution: {integrity: sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==}
+ engines: {node: '>=14.0.0'}
+
resolution: {integrity: sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA==}
@@ -10051,6 +10284,10 @@ packages:
peerDependencies:
typescript: '>=4.8.4'
+ resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==}
+ engines: {node: '>=6.10'}
+
resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==}
hasBin: true
@@ -10085,6 +10322,10 @@ packages:
resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==}
+ resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
@@ -10217,6 +10458,10 @@ packages:
resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==}
engines: {node: '>= 0.8'}
+ resolution: {integrity: sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww==}
+ engines: {node: '>=18.12.0'}
+
resolution: {integrity: sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==}
@@ -10362,6 +10607,21 @@ packages:
'@egjs/hammerjs': ^2.0.0
component-emitter: ^1.3.0 || ^2.0.0
+ resolution: {integrity: sha512-shFOJpGQsWDS1FLm8BR8b6FIQC65pFZ5a0IUFGLiBHAX1eRz0N8TOhUJN4p708zfPBLDXqWzj++ocECe8gSoMg==}
+ peerDependencies:
+ next: ^14.1.0 || ^15.0.0 || ^16.0.0
+ storybook: ^0.0.0-0 || ^9.0.0 || ^10.0.0 || ^10.0.0-0 || ^10.1.0-0 || ^10.2.0-0 || ^10.3.0-0 || ^10.4.0-0
+ vite: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0
+
+ resolution: {integrity: sha512-cYj0LRuLV2c2sMqhqhGpaO3LretdtMn/BVX4cPLanIZuwwrkVl+lK84E/miEXkCHWXuq65rhNN4rXsBcOB3S4w==}
+ peerDependencies:
+ vite: '*'
+ peerDependenciesMeta:
+ vite:
+ optional: true
+
resolution: {integrity: sha512-2cihq7zliibCCZ8P9cKJrQBkfgdvcFkOOc3Y02o3GWUDLgqjWsZudaoiuOwO/gzTzy17cS5F7ZPo4bsnS4DGkg==}
peerDependencies:
@@ -10483,6 +10743,9 @@ packages:
resolution: {integrity: sha512-eACpxRN02yaawnt+uUNIF7Qje6A9zArxBbcAJjK1PK3S9Ycg5jIuJ8pW4q8EMnwNZCEGltcjkRx1QzOxOkKD8A==}
engines: {node: '>=10.13.0'}
+ resolution: {integrity: sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==}
+
resolution: {integrity: sha512-EksG6gFY3L1eFMROS/7Wzgrii5mBAFe4rIr3r2BTfo7bcc+DWwFZ4OJ/miOuHJO/A85HwyI4eQ0F6IKXesO7Fg==}
engines: {node: '>=10.13.0'}
@@ -12675,6 +12938,14 @@ snapshots:
chalk: 4.1.2
optional: true
+ dependencies:
+ glob: 10.5.0
+ react-docgen-typescript: 2.4.0([email protected])
+ optionalDependencies:
+ typescript: 5.9.2
+
'@jridgewell/[email protected]':
dependencies:
'@jridgewell/sourcemap-codec': 1.5.5
@@ -12835,6 +13106,12 @@ snapshots:
'@marijn/[email protected]': {}
+ dependencies:
+ '@types/mdx': 2.0.13
+ '@types/react': 19.2.14
+ react: 19.2.4
+
'@modelcontextprotocol/[email protected](@cfworker/[email protected])([email protected])':
dependencies:
'@hono/node-server': 1.19.14([email protected])
@@ -12905,6 +13182,8 @@ snapshots:
next-auth: 4.24.13(patch_hash=7b301d2607ee3cd8bba4f6978ba8cdd7a616b59d6e414191da3b38950ce08e66)([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])
+ '@next/[email protected]': {}
+
'@next/[email protected]': {}
@@ -14722,7 +15001,7 @@ snapshots:
'@sentry/[email protected]': {}
dependencies:
'@opentelemetry/api': 1.9.0
'@opentelemetry/semantic-conventions': 1.40.0
@@ -14734,7 +15013,7 @@ snapshots:
'@sentry/opentelemetry': 10.46.0(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected])
'@sentry/react': 10.46.0([email protected])
'@sentry/vercel-edge': 10.46.0
- '@sentry/webpack-plugin': 5.1.1([email protected])
+ '@sentry/webpack-plugin': 5.1.1([email protected]([email protected]))
rollup: 4.60.2
stacktrace-parser: 0.1.11
@@ -14822,11 +15101,11 @@ snapshots:
'@opentelemetry/resources': 2.6.1(@opentelemetry/[email protected])
'@sentry/core': 10.46.0
dependencies:
'@sentry/bundler-plugin-core': 5.1.1
uuid: 9.0.1
- webpack: 5.97.1
+ webpack: 5.97.1([email protected])
transitivePeerDependencies:
- encoding
- supports-color
@@ -15231,6 +15510,121 @@ snapshots:
'@standard-schema/[email protected]': {}
+ dependencies:
+ '@storybook/global': 5.0.0
+ axe-core: 4.11.2
+
+ dependencies:
+ '@mdx-js/react': 3.1.1(@types/[email protected])([email protected])
+ react: 19.2.4
+ react-dom: 19.2.4([email protected])
+ ts-dedent: 2.2.0
+ transitivePeerDependencies:
+ - '@types/react'
+ - esbuild
+ - rollup
+ - vite
+ - webpack
+
+ dependencies:
+ ts-dedent: 2.2.0
+ transitivePeerDependencies:
+ - esbuild
+ - rollup
+ - webpack
+
+ dependencies:
+ unplugin: 2.3.11
+ optionalDependencies:
+ esbuild: 0.25.12
+ rollup: 4.60.2
+ webpack: 5.97.1([email protected])
+
+ '@storybook/[email protected]': {}
+
+ dependencies:
+ react: 19.2.4
+ react-dom: 19.2.4([email protected])
+
+ dependencies:
+ react: 19.2.4
+ react-dom: 19.2.4([email protected])
+ optionalDependencies:
+ typescript: 5.9.2
+ transitivePeerDependencies:
+ - '@babel/core'
+ - babel-plugin-macros
+ - esbuild
+ - rollup
+ - supports-color
+ - webpack
+
+ dependencies:
+ react: 19.2.4
+ react-dom: 19.2.4([email protected])
+
+ dependencies:
+ '@rollup/pluginutils': 5.3.0([email protected])
+ empathic: 2.0.0
+ magic-string: 0.30.21
+ react: 19.2.4
+ react-docgen: 8.0.3
+ react-dom: 19.2.4([email protected])
+ resolve: 1.22.12
+ tsconfig-paths: 4.2.0
+ transitivePeerDependencies:
+ - esbuild
+ - rollup
+ - supports-color
+ - typescript
+ - webpack
+
+ dependencies:
+ '@storybook/global': 5.0.0
+ react: 19.2.4
+ react-docgen: 8.0.3
+ react-docgen-typescript: 2.4.0([email protected])
+ react-dom: 19.2.4([email protected])
+ optionalDependencies:
+ typescript: 5.9.2
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
tslib: 2.8.1
@@ -15387,6 +15781,15 @@ snapshots:
+ '@testing-library/[email protected]':
+ dependencies:
+ '@adobe/css-tools': 4.4.0
+ aria-query: 5.3.2
+ css.escape: 1.5.1
+ dom-accessibility-api: 0.6.3
+ picocolors: 1.1.1
+ redent: 3.0.0
+
dependencies:
'@babel/runtime': 7.29.2
@@ -15397,6 +15800,10 @@ snapshots:
optionalDependencies:
'@types/react': 19.2.14
+ '@testing-library/[email protected](@testing-library/[email protected])':
+ dependencies:
+ '@testing-library/dom': 10.0.0
+
'@tootallnate/[email protected]': {}
'@tootallnate/[email protected]': {}
@@ -15484,6 +15891,10 @@ snapshots:
dependencies:
'@babel/types': 7.29.0
+ '@types/[email protected]':
+ dependencies:
+ '@babel/types': 7.29.0
+
'@types/[email protected]': {}
@@ -15540,6 +15951,8 @@ snapshots:
'@types/[email protected]': {}
+ '@types/[email protected]': {}
+
dependencies:
'@types/eslint': 9.6.1
@@ -15619,6 +16032,8 @@ snapshots:
dependencies:
'@types/unist': 3.0.3
+ '@types/[email protected]': {}
+
'@types/[email protected]': {}
@@ -15688,6 +16103,8 @@ snapshots:
'@types/tough-cookie': 4.0.5
form-data: 2.5.5
+ '@types/[email protected]': {}
+
'@types/[email protected]': {}
@@ -16060,6 +16477,14 @@ snapshots:
tinyrainbow: 3.1.0
+ '@vitest/[email protected]':
+ dependencies:
+ '@types/chai': 5.2.3
+ '@vitest/spy': 3.2.4
+ '@vitest/utils': 3.2.4
+ chai: 5.3.3
+ tinyrainbow: 2.0.0
+
'@vitest/[email protected]':
dependencies:
'@standard-schema/spec': 1.1.0
@@ -16078,6 +16503,10 @@ snapshots:
+ '@vitest/[email protected]':
+ dependencies:
+ tinyrainbow: 2.0.0
+
'@vitest/[email protected]':
dependencies:
tinyrainbow: 3.1.0
@@ -16094,8 +16523,18 @@ snapshots:
magic-string: 0.30.21
pathe: 2.0.3
+ '@vitest/[email protected]':
+ dependencies:
+ tinyspy: 4.0.4
+
'@vitest/[email protected]': {}
+ '@vitest/[email protected]':
+ dependencies:
+ '@vitest/pretty-format': 3.2.4
+ loupe: 3.2.1
+ tinyrainbow: 2.0.0
+
'@vitest/[email protected]':
dependencies:
'@vitest/pretty-format': 4.1.4
@@ -16178,6 +16617,8 @@ snapshots:
'@webassemblyjs/ast': 1.14.1
'@xtuc/long': 4.2.2
+ '@webcontainer/[email protected]': {}
+
'@xtuc/[email protected]': {}
'@xtuc/[email protected]': {}
@@ -16372,6 +16813,10 @@ snapshots:
dependencies:
tslib: 2.8.1
+ dependencies:
+ tslib: 2.8.1
+
dependencies:
'@jridgewell/trace-mapping': 0.3.31
@@ -16634,6 +17079,14 @@ snapshots:
+ dependencies:
+ assertion-error: 2.0.1
+ check-error: 2.1.3
+ deep-eql: 5.0.2
+ loupe: 3.2.1
+ pathval: 2.0.1
+
@@ -16660,6 +17113,8 @@ snapshots:
+
dependencies:
boolbase: 1.0.0
@@ -17008,6 +17463,8 @@ snapshots:
babel-plugin-macros: 3.1.0
optional: true
+
@@ -17079,6 +17536,10 @@ snapshots:
dependencies:
esutils: 2.0.3
+ dependencies:
+ esutils: 2.0.3
+
@@ -17557,6 +18018,15 @@ snapshots:
string.prototype.matchall: 4.0.12
string.prototype.repeat: 1.0.0
+ dependencies:
+ '@typescript-eslint/utils': 8.59.0([email protected]([email protected]))([email protected])
+ eslint: 9.39.4([email protected])
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+
dependencies:
dotenv: 16.0.3
@@ -18304,6 +18774,8 @@ snapshots:
+
@@ -19350,6 +19822,8 @@ snapshots:
+
@@ -19818,6 +20292,8 @@ snapshots:
+
@@ -20374,6 +20850,8 @@ snapshots:
+
dependencies:
through: 2.3.8
@@ -20656,6 +21134,25 @@ snapshots:
date-fns-jalali: 4.1.0-0
react: 19.2.4
+ dependencies:
+ typescript: 5.9.2
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/traverse': 7.29.0
+ '@babel/types': 7.29.0
+ '@types/babel__core': 7.20.5
+ '@types/babel__traverse': 7.28.0
+ '@types/doctrine': 0.0.9
+ '@types/resolve': 1.20.6
+ doctrine: 3.0.0
+ resolve: 1.22.12
+ strip-indent: 4.1.1
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
react: 19.2.4
@@ -20799,6 +21296,14 @@ snapshots:
+ dependencies:
+ ast-types: 0.16.1
+ esprima: 4.0.1
+ source-map: 0.6.1
+ tiny-invariant: 1.3.3
+ tslib: 2.8.1
+
dependencies:
@@ -20955,7 +21460,6 @@ snapshots:
is-core-module: 2.16.1
path-parse: 1.0.7
supports-preserve-symlinks-flag: 1.0.0
- optional: true
dependencies:
@@ -21336,6 +21840,30 @@ snapshots:
es-errors: 1.3.0
internal-slot: 1.1.0
+ dependencies:
+ '@storybook/global': 5.0.0
+ '@testing-library/jest-dom': 6.9.1
+ '@testing-library/user-event': 14.6.1(@testing-library/[email protected])
+ '@vitest/expect': 3.2.4
+ '@vitest/spy': 3.2.4
+ '@webcontainer/env': 1.1.1
+ esbuild: 0.25.12
+ open: 10.2.0
+ recast: 0.23.11
+ semver: 7.7.4
+ use-sync-external-store: 1.6.0([email protected])
+ ws: 8.20.0
+ optionalDependencies:
+ prettier: 3.8.3
+ transitivePeerDependencies:
+ - '@testing-library/dom'
+ - bufferutil
+ - react
+ - react-dom
+ - utf-8-validate
+
dependencies:
inherits: 2.0.4
@@ -21459,6 +21987,8 @@ snapshots:
dependencies:
min-indent: 1.0.1
+
@@ -21538,13 +22068,15 @@ snapshots:
- encoding
- supports-color
dependencies:
'@jridgewell/trace-mapping': 0.3.31
jest-worker: 27.5.1
schema-utils: 4.3.3
terser: 5.46.2
- webpack: 5.97.1
+ webpack: 5.97.1([email protected])
+ optionalDependencies:
+ esbuild: 0.25.12
dependencies:
@@ -21582,8 +22114,12 @@ snapshots:
fdir: 6.5.0([email protected])
picomatch: 4.0.4
+
+
optional: true
@@ -21632,6 +22168,8 @@ snapshots:
dependencies:
typescript: 5.9.2
+
dependencies:
'@cspotcode/source-map-support': 0.8.1
@@ -21669,6 +22207,12 @@ snapshots:
minimist: 1.2.8
strip-bom: 3.0.0
+ dependencies:
+ json5: 2.2.3
+ minimist: 1.2.8
+ strip-bom: 3.0.0
+
@@ -21823,6 +22367,13 @@ snapshots:
+ dependencies:
+ '@jridgewell/remapping': 2.3.5
+ acorn: 8.16.0
+ picomatch: 4.0.4
+ webpack-virtual-modules: 0.6.2
+
dependencies:
napi-postinstall: 0.3.4
@@ -21977,6 +22528,32 @@ snapshots:
'@egjs/hammerjs': 2.0.17
component-emitter: 1.3.1
+ dependencies:
+ '@next/env': 16.0.0
+ image-size: 2.0.2
+ magic-string: 0.30.21
+ module-alias: 2.3.4
+ ts-dedent: 2.2.0
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+
+ dependencies:
+ debug: 4.4.3
+ globrex: 0.1.2
+ tsconfck: 3.1.6([email protected])
+ optionalDependencies:
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+
dependencies:
debug: 4.4.3
@@ -22064,7 +22641,9 @@ snapshots:
+
dependencies:
'@types/eslint-scope': 3.7.7
'@types/estree': 1.0.8
@@ -22086,7 +22665,7 @@ snapshots:
neo-async: 2.6.2
schema-utils: 3.3.0
tapable: 2.3.3
- terser-webpack-plugin: 5.5.0([email protected])
+ terser-webpack-plugin: 5.5.0([email protected])([email protected]([email protected]))
watchpack: 2.5.1
webpack-sources: 3.4.1
transitivePeerDependencies:
@@ -22215,8 +22794,7 @@ snapshots:
signal-exit: 4.1.0
optional: true
- optional: true
dependencies:
diff --git a/web/.gitignore b/web/.gitignore
index 1ec5477aad..e16706d429 100644
--- a/web/.gitignore
+++ b/web/.gitignore
@@ -1,2 +1,5 @@
# next-agents-md
.next-docs/
+
+*storybook.log
+storybook-static
diff --git a/web/.storybook/main.ts b/web/.storybook/main.ts
new file mode 100644
index 0000000000..ade3a2f514
--- /dev/null
+++ b/web/.storybook/main.ts
@@ -0,0 +1,25 @@
+import type { StorybookConfig } from "@storybook/nextjs-vite";
+
+import { dirname } from "path";
+
+import { fileURLToPath } from "url";
+
+/**
+ * This function is used to resolve the absolute path of a package.
+ * It is needed in projects that use Yarn PnP or are set up within a monorepo.
+ */
+function getAbsolutePath(value: string) {
+ return dirname(fileURLToPath(import.meta.resolve(`${value}/package.json`)));
+}
+
+const config: StorybookConfig = {
+ stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
+ addons: [
+ getAbsolutePath("@storybook/addon-a11y"),
+ getAbsolutePath("@storybook/addon-docs"),
+ ],
+ framework: getAbsolutePath("@storybook/nextjs-vite"),
+ staticDirs: ["../public"],
+};
+
+export default config;
diff --git a/web/.storybook/preview.ts b/web/.storybook/preview.ts
new file mode 100644
index 0000000000..82ce04d40d
--- /dev/null
+++ b/web/.storybook/preview.ts
@@ -0,0 +1,12 @@
+import { definePreview } from "@storybook/nextjs-vite";
+import addonA11y from "@storybook/addon-a11y";
+import "../src/styles/globals.css";
+
+export default definePreview({
+ addons: [addonA11y()],
+ parameters: {
+ a11y: {
+ test: "todo",
+ },
+ },
+});
diff --git a/web/.storybook/tsconfig.json b/web/.storybook/tsconfig.json
new file mode 100644
index 0000000000..3b78ec6f27
--- /dev/null
+++ b/web/.storybook/tsconfig.json
@@ -0,0 +1,4 @@
+{
+ "extends": "@repo/typescript-config/base.json",
+ "include": ["**/*.ts"]
+}
diff --git a/web/eslint.config.mjs b/web/eslint.config.mjs
index 7373a9fb91..f3113c3d52 100644
--- a/web/eslint.config.mjs
+++ b/web/eslint.config.mjs
@@ -1,7 +1,10 @@
+import storybook from "eslint-plugin-storybook";
+
import nextConfig from "@repo/eslint-config/next";
export default [
...nextConfig,
+ ...storybook.configs["flat/recommended"],
// Restrict react-icons imports
{
diff --git a/web/package.json b/web/package.json
index c77e59ee53..0504ac3a25 100644
--- a/web/package.json
+++ b/web/package.json
@@ -23,7 +23,9 @@
"test:watch": "dotenv -e ../.env.test -e ../.env -- vitest --project client --project server --project in-source",
"test:e2e": "dotenv -e ../.env.test -e ../.env -- playwright test --reporter=line",
"test:e2e:server": "dotenv -e ../.env.test -e ../.env -- vitest run --project e2e-server",
- "build-trace": "dotenv -e ../.env -- next internal trace .next/trace-turbopack"
+ "build-trace": "dotenv -e ../.env -- next internal trace .next/trace-turbopack",
+ "storybook": "dotenv -e ../.env -- storybook dev -p 6006",
+ "build-storybook": "dotenv -e ../.env -- storybook build"
},
"dependencies": {
"@anthropic-ai/tokenizer": "^0.0.4",
@@ -165,6 +167,9 @@
"@playwright/test": "^1.57.0",
"@repo/eslint-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
+ "@storybook/addon-a11y": "^10.3.6",
+ "@storybook/addon-docs": "^10.3.6",
+ "@storybook/nextjs-vite": "^10.3.6",
"@tailwindcss/forms": "^0.5.11",
"@tailwindcss/postcss": "^4.2.2",
"@testing-library/jest-dom": "^6.4.6",
@@ -183,11 +188,14 @@
"dotenv-cli": "^7.4.2",
"eslint": "^9.39.2",
"eslint-config-next": "16.2.6",
+ "eslint-plugin-storybook": "^10.3.6",
"node-mocks-http": "^1.17.2",
"prettier": "^3.8.3",
"prettier-plugin-tailwindcss": "^0.7.2",
+ "storybook": "^10.3.6",
"tailwindcss": "^4.2.2",
"typescript": "^5.7.2",
+ "vite": "^7.0.5",
"vite-tsconfig-paths": "^6.1.1",
"vitest": "^4.1.4",
"wait-for-expect": "^3.0.2"
diff --git a/web/src/components/design-system/Spinner/Spinner.stories.tsx b/web/src/components/design-system/Spinner/Spinner.stories.tsx
new file mode 100644
index 0000000000..a70fe685d4
--- /dev/null
+++ b/web/src/components/design-system/Spinner/Spinner.stories.tsx
@@ -0,0 +1,54 @@
+import React from "react";
+import preview from "../../../../.storybook/preview";
+import Spinner from "./Spinner";
+
+type ComponentProps = React.ComponentProps<typeof Spinner>;
+type Variant = NonNullable<ComponentProps["variant"]>;
+type Size = NonNullable<ComponentProps["size"]>;
+
+const meta = preview.meta({
+ component: Spinner,
+});
+
+const allVariants = Object.keys({
+ primary: true,
+ muted: true,
+} satisfies Record<Variant, true>) as Variant[];
+
+const allSizes = Object.keys({
+ xxs: true,
+ xs: true,
+ sm: true,
+ md: true,
+ lg: true,
+ xl: true,
+ xxl: true,
+ full: true,
+} satisfies Record<Size, true>) as Size[];
+
+export const AllVariants = meta.story({
+ render: () => (
+ <div
+ className="grid gap-x-8 gap-y-4"
+ style={{
+ gridTemplateColumns: `repeat(${allVariants.length}, max-content)`,
+ }}
+ >
+ {allSizes
+ .filter((s) => s !== "full")
+ .map((s) => (
+ <React.Fragment key={s}>
+ {allVariants.map((v) => (
+ <div key={v + s}>
+ <div className="mb-2 flex gap-2">
+ <div>{v}</div>
+ <div>{s}</div>
+ </div>
+ <Spinner size={s} variant={v} />
+ </div>
+ ))}
+ </React.Fragment>
+ ))}
+ </div>
+ ),
+});