diff --git a/.storybook/main.ts b/.storybook/main.ts index 72e552b65..f9e31eaf4 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -6,8 +6,6 @@ const config: StorybookConfig = { { name: "@storybook/addon-essentials", }, - "@storybook/addon-onboarding", - "@chromatic-com/storybook", "@storybook/addon-interactions", "@storybook/addon-themes", ], diff --git a/package.json b/package.json index df78fca68..7c6abdab6 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@headlessui/react": "2.2.0", "date-fns": "^3.6.0", "react-day-picker": "^8.10.1", - "recharts": "^2.13.3", + "recharts": "^2.14.1", "tailwind-merge": "^2.5.5", "tailwind-variants": "^0.3.0" }, @@ -37,7 +37,6 @@ "@babel/preset-env": "^7.25.4", "@babel/preset-react": "^7.24.7", "@babel/preset-typescript": "^7.24.7", - "@chromatic-com/storybook": "^3.2.2", "@mdx-js/react": "^2.3.0", "@rollup/plugin-commonjs": "^21.1.0", "@rollup/plugin-node-resolve": "^13.3.0", @@ -48,7 +47,6 @@ "@semantic-release/npm": "github:semantic-release/npm", "@storybook/addon-essentials": "^8.4.7", "@storybook/addon-interactions": "^8.4.7", - "@storybook/addon-onboarding": "^8.4.7", "@storybook/addon-themes": "^8.4.7", "@storybook/blocks": "^8.4.7", "@storybook/manager-api": "^8.4.7", @@ -58,10 +56,11 @@ "@storybook/theming": "^8.4.7", "@tailwindcss/forms": "^0.5.9", "@tailwindcss/postcss": "4.0.0-beta.5", - "@testing-library/react": "^14.3.1", + "@testing-library/react": "^16.1.0", "@types/jest": "^29.5.13", "@types/node": "^22.6.1", - "@types/react": "^18.3.9", + "@types/react": "^19.0.1", + "@types/react-dom": "^19.0.0", "@typescript-eslint/eslint-plugin": "^8.7.0", "@typescript-eslint/parser": "^8.7.0", "@vitejs/plugin-react": "^4.3.4", @@ -83,8 +82,8 @@ "prettier": "3.4.2", "prettier-plugin-tailwindcss": "^0.6.9", "prop-types": "^15.8.1", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "resize-observer-polyfill": "^1.5.1", "rollup": "^2.79.1", "rollup-plugin-dts": "^4.2.3", @@ -104,6 +103,9 @@ "react": "^18.0.0", "react-dom": ">=16.6.0" }, + "overrides": { + "react-is": "^19.0.0" + }, "main": "dist/index.cjs", "module": "dist/index.js", "files": [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 507df6e93..4dd97b9ed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,19 +10,19 @@ importers: dependencies: '@floating-ui/react': specifier: ^0.19.2 - version: 0.19.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 0.19.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@headlessui/react': specifier: 2.2.0 - version: 2.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 2.2.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) date-fns: specifier: ^3.6.0 version: 3.6.0 react-day-picker: specifier: ^8.10.1 - version: 8.10.1(date-fns@3.6.0)(react@18.3.1) + version: 8.10.1(date-fns@3.6.0)(react@19.0.0) recharts: - specifier: ^2.13.3 - version: 2.13.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^2.14.1 + version: 2.14.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) tailwind-merge: specifier: ^2.5.5 version: 2.5.5 @@ -42,12 +42,9 @@ importers: '@babel/preset-typescript': specifier: ^7.24.7 version: 7.24.7(@babel/core@7.25.2) - '@chromatic-com/storybook': - specifier: ^3.2.2 - version: 3.2.2(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) '@mdx-js/react': specifier: ^2.3.0 - version: 2.3.0(react@18.3.1) + version: 2.3.0(react@19.0.0) '@rollup/plugin-commonjs': specifier: ^21.1.0 version: 21.1.0(rollup@2.79.1) @@ -71,28 +68,25 @@ importers: version: https://codeload.github.com/semantic-release/npm/tar.gz/df347f287b51a6f772259259bd1461673dc7c2be(semantic-release@24.1.1(typescript@4.9.5)) '@storybook/addon-essentials': specifier: ^8.4.7 - version: 8.4.7(@types/react@18.3.9)(storybook@8.4.7(prettier@3.4.2)) + version: 8.4.7(@types/react@19.0.1)(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-interactions': specifier: ^8.4.7 version: 8.4.7(storybook@8.4.7(prettier@3.4.2)) - '@storybook/addon-onboarding': - specifier: ^8.4.7 - version: 8.4.7(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-themes': specifier: ^8.4.7 version: 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/blocks': specifier: ^8.4.7 - version: 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) + version: 8.4.7(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2)) '@storybook/manager-api': specifier: ^8.4.7 version: 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/react': specifier: ^8.4.7 - version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@4.9.5) + version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))(typescript@4.9.5) '@storybook/react-vite': specifier: ^8.4.7 - version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@2.79.1)(storybook@8.4.7(prettier@3.4.2))(typescript@4.9.5)(vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.33.0)) + version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(rollup@2.79.1)(storybook@8.4.7(prettier@3.4.2))(typescript@4.9.5)(vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0)) '@storybook/test': specifier: ^8.4.7 version: 8.4.7(storybook@8.4.7(prettier@3.4.2)) @@ -106,8 +100,8 @@ importers: specifier: 4.0.0-beta.5 version: 4.0.0-beta.5 '@testing-library/react': - specifier: ^14.3.1 - version: 14.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^16.1.0 + version: 16.1.0(@testing-library/dom@10.4.0)(@types/react-dom@19.0.2(@types/react@19.0.1))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@types/jest': specifier: ^29.5.13 version: 29.5.13 @@ -115,8 +109,11 @@ importers: specifier: ^22.6.1 version: 22.6.1 '@types/react': - specifier: ^18.3.9 - version: 18.3.9 + specifier: ^19.0.1 + version: 19.0.1 + '@types/react-dom': + specifier: ^19.0.0 + version: 19.0.2(@types/react@19.0.1) '@typescript-eslint/eslint-plugin': specifier: ^8.7.0 version: 8.7.0(@typescript-eslint/parser@8.7.0(eslint@8.57.1)(typescript@4.9.5))(eslint@8.57.1)(typescript@4.9.5) @@ -125,7 +122,7 @@ importers: version: 8.7.0(eslint@8.57.1)(typescript@4.9.5) '@vitejs/plugin-react': specifier: ^4.3.4 - version: 4.3.4(vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.33.0)) + version: 4.3.4(vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0)) babel-jest: specifier: ^27.5.1 version: 27.5.1(@babel/core@7.25.2) @@ -146,7 +143,7 @@ importers: version: 9.1.0(eslint@8.57.1) eslint-plugin-prettier: specifier: ^5.2.1 - version: 5.2.1(@types/eslint@8.40.2)(eslint-config-prettier@9.1.0(eslint@8.57.1))(eslint@8.57.1)(prettier@3.4.2) + version: 5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@8.57.1))(eslint@8.57.1)(prettier@3.4.2) eslint-plugin-react: specifier: ^7.36.1 version: 7.36.1(eslint@8.57.1) @@ -181,11 +178,11 @@ importers: specifier: ^15.8.1 version: 15.8.1 react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) resize-observer-polyfill: specifier: ^1.5.1 version: 1.5.1 @@ -227,7 +224,7 @@ importers: version: 4.9.5 vite: specifier: ^6.0.3 - version: 6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.33.0) + version: 6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0) packages: @@ -928,6 +925,10 @@ packages: resolution: {integrity: sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ==} engines: {node: '>=6.9.0'} + '@babel/runtime@7.26.0': + resolution: {integrity: sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==} + engines: {node: '>=6.9.0'} + '@babel/template@7.25.0': resolution: {integrity: sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==} engines: {node: '>=6.9.0'} @@ -955,12 +956,6 @@ packages: '@bcoe/v8-coverage@0.2.3': resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} - '@chromatic-com/storybook@3.2.2': - resolution: {integrity: sha512-xmXt/GW0hAPbzNTrxYuVo43Adrtjue4DeVrsoIIEeJdGaPNNeNf+DHMlJKOBdlHmCnFUoe9R/0mLM9zUp5bKWw==} - engines: {node: '>=16.0.0', yarn: '>=1.22.18'} - peerDependencies: - storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 - '@colors/colors@1.5.0': resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} engines: {node: '>=0.1.90'} @@ -1658,11 +1653,6 @@ packages: peerDependencies: storybook: ^8.4.7 - '@storybook/addon-onboarding@8.4.7': - resolution: {integrity: sha512-FdC2NV60VNYeMxf6DVe0qV9ucSBAzMh1//C0Qqwq8CcjthMbmKlVZ7DqbVsbIHKnFaSCaUC88eR5olAfMaauCQ==} - peerDependencies: - storybook: ^8.4.7 - '@storybook/addon-outline@8.4.7': resolution: {integrity: sha512-6LYRqUZxSodmAIl8icr585Oi8pmzbZ90aloZJIpve+dBAzo7ydYrSQxxoQEVltXbKf3VeVcrs64ouAYqjisMYA==} peerDependencies: @@ -1885,20 +1875,24 @@ packages: resolution: {integrity: sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==} engines: {node: '>=18'} - '@testing-library/dom@9.3.4': - resolution: {integrity: sha512-FlS4ZWlp97iiNWig0Muq8p+3rVDjRiYE+YKGbAqXOu9nwJFFOdL00kFpz42M+4huzYi86vAK1sOOfyOG45muIQ==} - engines: {node: '>=14'} - '@testing-library/jest-dom@6.5.0': resolution: {integrity: sha512-xGGHpBXYSHUUr6XsKBfs85TWlYKpTc37cSBBVrXcib2MkHLboWlkClhWF37JKlDb9KEq3dHs+f2xR7XJEWGBxA==} engines: {node: '>=14', npm: '>=6', yarn: '>=1'} - '@testing-library/react@14.3.1': - resolution: {integrity: sha512-H99XjUhWQw0lTgyMN05W3xQG1Nh4lq574D8keFf1dDoNTJgp66VbJozRaczoF+wsiaPJNt/TcnfpLGufGxSrZQ==} - engines: {node: '>=14'} + '@testing-library/react@16.1.0': + resolution: {integrity: sha512-Q2ToPvg0KsVL0ohND9A3zLJWcOXXcO8IDu3fj11KhNt0UlCWyFyvnCIBkd12tidB2lkiVRG8VFqdhcqhqnAQtg==} + engines: {node: '>=18'} peerDependencies: - react: ^18.0.0 - react-dom: ^18.0.0 + '@testing-library/dom': ^10.0.0 + '@types/react': ^18.0.0 || ^19.0.0 + '@types/react-dom': ^18.0.0 || ^19.0.0 + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true '@testing-library/user-event@14.5.2': resolution: {integrity: sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==} @@ -1962,8 +1956,8 @@ packages: '@types/eslint-scope@3.7.7': resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==} - '@types/eslint@8.40.2': - resolution: {integrity: sha512-PRVjQ4Eh9z9pmmtaq8nTjZjQwKFk7YIHIud3lRoKRBgUQjgjRmoGxxGEPXQkF+lH7QkHJRNr5F4aBgYCW0lqpQ==} + '@types/eslint@9.6.1': + resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==} '@types/estree@0.0.39': resolution: {integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==} @@ -2004,12 +1998,17 @@ packages: '@types/prop-types@15.7.13': resolution: {integrity: sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==} - '@types/react-dom@18.3.0': - resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==} + '@types/react-dom@19.0.2': + resolution: {integrity: sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==} + peerDependencies: + '@types/react': ^19.0.0 '@types/react@18.3.9': resolution: {integrity: sha512-+BpAVyTpJkNWWSSnaLBk6ePpHLOGJKnEQNbINNovPWzvEUyAe3e+/d494QdEh71RekM/qV7lw6jzf1HGrJyAtQ==} + '@types/react@19.0.1': + resolution: {integrity: sha512-YW6614BDhqbpR5KtUYzTA+zlA7nayzJRA9ljz9CQoxthR0sDisYZLuvSMsil36t4EH/uAt8T52Xb4sVw17G+SQ==} + '@types/resolve@1.17.1': resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} @@ -2261,10 +2260,6 @@ packages: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} - ansi-regex@6.1.0: - resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==} - engines: {node: '>=12'} - ansi-styles@3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} engines: {node: '>=4'} @@ -2517,18 +2512,6 @@ packages: resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} engines: {node: '>= 16'} - chromatic@11.20.0: - resolution: {integrity: sha512-Btdli1qoAI01UKmk3Iqe6vKhAhePRXqNI/2uKKy2R16q7SN/5kLTqhd1JI20LFOZSnH3xSJaUXeJ2xZOJB//3A==} - hasBin: true - peerDependencies: - '@chromatic-com/cypress': ^0.*.* || ^1.0.0 - '@chromatic-com/playwright': ^0.*.* || ^1.0.0 - peerDependenciesMeta: - '@chromatic-com/cypress': - optional: true - '@chromatic-com/playwright': - optional: true - chrome-trace-event@1.0.4: resolution: {integrity: sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==} engines: {node: '>=6.0'} @@ -3221,10 +3204,6 @@ packages: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0} - filesize@10.1.6: - resolution: {integrity: sha512-sJslQKU2uM33qH5nqewAwVB2QgR6w1aMNsYUp3aN5rMRyXEwJGmZvaWzeJFNTOXWlHQyBFCWrdj3fV/fsTOX8w==} - engines: {node: '>= 10.4.0'} - fill-range@7.1.1: resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} engines: {node: '>=8'} @@ -4976,12 +4955,6 @@ packages: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} hasBin: true - react-confetti@6.1.0: - resolution: {integrity: sha512-7Ypx4vz0+g8ECVxr88W9zhcQpbeujJAVqL14ZnXJ3I23mOI9/oBVTQ3dkJhUmB0D6XOtCZEM6N0Gm9PMngkORw==} - engines: {node: '>=10.18'} - peerDependencies: - react: ^16.3.0 || ^17.0.1 || ^18.0.0 - react-day-picker@8.10.1: resolution: {integrity: sha512-TMx7fNbhLk15eqcMt+7Z7S2KF7mfTId/XJDjKE8f+IUcFn0l08/kI4FiYTL/0yuOLmEcbR4Fwe3GJf/NiiMnPA==} peerDependencies: @@ -5002,6 +4975,11 @@ packages: peerDependencies: react: ^18.3.1 + react-dom@19.0.0: + resolution: {integrity: sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==} + peerDependencies: + react: ^19.0.0 + react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} @@ -5031,6 +5009,10 @@ packages: resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} engines: {node: '>=0.10.0'} + react@19.0.0: + resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==} + engines: {node: '>=0.10.0'} + read-package-up@11.0.0: resolution: {integrity: sha512-MbgfoNPANMdb4oRBNg5eqLbB2t2r+o5Ua1pNt8BqGp4I0FJZhuVSOj3PaBPni4azWuSzEdNn2evevzVmEk1ohQ==} engines: {node: '>=18'} @@ -5049,8 +5031,8 @@ packages: recharts-scale@0.4.5: resolution: {integrity: sha512-kivNFO+0OcUNu7jQquLXAxz1FIwZj8nrj+YkOKc5694NbjCvcT6aSZiIzNzd2Kul4o4rTto8QVR9lMNtxD4G1w==} - recharts@2.13.3: - resolution: {integrity: sha512-YDZ9dOfK9t3ycwxgKbrnDlRC4BHdjlY73fet3a0C1+qGMjXVZe6+VXmpOIIhzkje5MMEL8AN4hLIe4AMskBzlA==} + recharts@2.14.1: + resolution: {integrity: sha512-xtWulflkA+/xu4/QClBdtZYN30dbvTHjxjkh5XTMrH/CQ3WGDDPHHa/LLKCbgoqz0z3UaSH2/blV1i6VNMeh1g==} engines: {node: '>=14'} peerDependencies: react: ^16.0.0 || ^17.0.0 || ^18.0.0 @@ -5207,6 +5189,9 @@ packages: scheduler@0.23.2: resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} + scheduler@0.25.0: + resolution: {integrity: sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==} + schema-utils@2.7.1: resolution: {integrity: sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==} engines: {node: '>= 8.9.0'} @@ -5388,10 +5373,6 @@ packages: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} engines: {node: '>=8'} - strip-ansi@7.1.0: - resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} - engines: {node: '>=12'} - strip-bom@3.0.0: resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} engines: {node: '>=4'} @@ -5530,6 +5511,11 @@ packages: engines: {node: '>=10'} hasBin: true + terser@5.37.0: + resolution: {integrity: sha512-B8wRRkmre4ERucLM/uXx4MOV5cbnOlVAqUst+1+iLKPI0dOgFO28f84ptoQt9HEI537PMzfYa/d+GEPKTRXmYA==} + engines: {node: '>=10'} + hasBin: true + test-exclude@6.0.0: resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} engines: {node: '>=8'} @@ -5605,9 +5591,6 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} - tween-functions@1.2.0: - resolution: {integrity: sha512-PZBtLYcCLtEcjL14Fzb1gSxPBeL7nWvGhO5ZFPGqziCcr8uvHp0NDmdjBchp6KHL+tExcg0m3NISmKxhU394dA==} - type-check@0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} @@ -6856,6 +6839,10 @@ snapshots: dependencies: regenerator-runtime: 0.14.1 + '@babel/runtime@7.26.0': + dependencies: + regenerator-runtime: 0.14.1 + '@babel/template@7.25.0': dependencies: '@babel/code-frame': 7.24.7 @@ -6905,19 +6892,6 @@ snapshots: '@bcoe/v8-coverage@0.2.3': {} - '@chromatic-com/storybook@3.2.2(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))': - dependencies: - chromatic: 11.20.0 - filesize: 10.1.6 - jsonfile: 6.1.0 - react-confetti: 6.1.0(react@18.3.1) - storybook: 8.4.7(prettier@3.4.2) - strip-ansi: 7.1.0 - transitivePeerDependencies: - - '@chromatic-com/cypress' - - '@chromatic-com/playwright' - - react - '@colors/colors@1.5.0': optional: true @@ -7025,44 +6999,44 @@ snapshots: '@floating-ui/core': 1.6.8 '@floating-ui/utils': 0.2.8 - '@floating-ui/react-dom@1.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@floating-ui/react-dom@1.3.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@floating-ui/dom': 1.6.11 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) - '@floating-ui/react-dom@2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@floating-ui/react-dom@2.1.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@floating-ui/dom': 1.6.11 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) - '@floating-ui/react@0.19.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@floating-ui/react@0.19.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@floating-ui/react-dom': 1.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@floating-ui/react-dom': 1.3.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) aria-hidden: 1.2.4 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) tabbable: 6.2.0 - '@floating-ui/react@0.26.28(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@floating-ui/react@0.26.28(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@floating-ui/react-dom': 2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@floating-ui/react-dom': 2.1.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@floating-ui/utils': 0.2.8 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) tabbable: 6.2.0 '@floating-ui/utils@0.2.8': {} - '@headlessui/react@2.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@headlessui/react@2.2.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@floating-ui/react': 0.26.28(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@react-aria/focus': 3.19.0(react@18.3.1) - '@react-aria/interactions': 3.22.5(react@18.3.1) - '@tanstack/react-virtual': 3.10.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + '@floating-ui/react': 0.26.28(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@react-aria/focus': 3.19.0(react@19.0.0) + '@react-aria/interactions': 3.22.5(react@19.0.0) + '@tanstack/react-virtual': 3.10.8(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) '@humanwhocodes/config-array@0.13.0': dependencies: @@ -7276,11 +7250,11 @@ snapshots: '@types/yargs': 17.0.33 chalk: 4.1.2 - '@joshwooding/vite-plugin-react-docgen-typescript@0.4.2(typescript@4.9.5)(vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.33.0))': + '@joshwooding/vite-plugin-react-docgen-typescript@0.4.2(typescript@4.9.5)(vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0))': dependencies: magic-string: 0.27.0 react-docgen-typescript: 2.2.2(typescript@4.9.5) - vite: 6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.33.0) + vite: 6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0) optionalDependencies: typescript: 4.9.5 @@ -7306,16 +7280,16 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.0 - '@mdx-js/react@2.3.0(react@18.3.1)': + '@mdx-js/react@2.3.0(react@19.0.0)': dependencies: '@types/mdx': 2.0.13 '@types/react': 18.3.9 - react: 18.3.1 + react: 19.0.0 - '@mdx-js/react@3.1.0(@types/react@18.3.9)(react@18.3.1)': + '@mdx-js/react@3.1.0(@types/react@19.0.1)(react@18.3.1)': dependencies: '@types/mdx': 2.0.13 - '@types/react': 18.3.9 + '@types/react': 19.0.1 react: 18.3.1 '@nodelib/fs.scandir@2.1.5': @@ -7402,45 +7376,45 @@ snapshots: '@pnpm/network.ca-file': 1.0.2 config-chain: 1.1.13 - '@react-aria/focus@3.19.0(react@18.3.1)': + '@react-aria/focus@3.19.0(react@19.0.0)': dependencies: - '@react-aria/interactions': 3.22.5(react@18.3.1) - '@react-aria/utils': 3.26.0(react@18.3.1) - '@react-types/shared': 3.26.0(react@18.3.1) + '@react-aria/interactions': 3.22.5(react@19.0.0) + '@react-aria/utils': 3.26.0(react@19.0.0) + '@react-types/shared': 3.26.0(react@19.0.0) '@swc/helpers': 0.5.15 clsx: 2.1.1 - react: 18.3.1 + react: 19.0.0 - '@react-aria/interactions@3.22.5(react@18.3.1)': + '@react-aria/interactions@3.22.5(react@19.0.0)': dependencies: - '@react-aria/ssr': 3.9.7(react@18.3.1) - '@react-aria/utils': 3.26.0(react@18.3.1) - '@react-types/shared': 3.26.0(react@18.3.1) + '@react-aria/ssr': 3.9.7(react@19.0.0) + '@react-aria/utils': 3.26.0(react@19.0.0) + '@react-types/shared': 3.26.0(react@19.0.0) '@swc/helpers': 0.5.15 - react: 18.3.1 + react: 19.0.0 - '@react-aria/ssr@3.9.7(react@18.3.1)': + '@react-aria/ssr@3.9.7(react@19.0.0)': dependencies: '@swc/helpers': 0.5.15 - react: 18.3.1 + react: 19.0.0 - '@react-aria/utils@3.26.0(react@18.3.1)': + '@react-aria/utils@3.26.0(react@19.0.0)': dependencies: - '@react-aria/ssr': 3.9.7(react@18.3.1) - '@react-stately/utils': 3.10.5(react@18.3.1) - '@react-types/shared': 3.26.0(react@18.3.1) + '@react-aria/ssr': 3.9.7(react@19.0.0) + '@react-stately/utils': 3.10.5(react@19.0.0) + '@react-types/shared': 3.26.0(react@19.0.0) '@swc/helpers': 0.5.15 clsx: 2.1.1 - react: 18.3.1 + react: 19.0.0 - '@react-stately/utils@3.10.5(react@18.3.1)': + '@react-stately/utils@3.10.5(react@19.0.0)': dependencies: '@swc/helpers': 0.5.15 - react: 18.3.1 + react: 19.0.0 - '@react-types/shared@3.26.0(react@18.3.1)': + '@react-types/shared@3.26.0(react@19.0.0)': dependencies: - react: 18.3.1 + react: 19.0.0 '@rollup/plugin-commonjs@21.1.0(rollup@2.79.1)': dependencies: @@ -7703,9 +7677,9 @@ snapshots: storybook: 8.4.7(prettier@3.4.2) ts-dedent: 2.2.0 - '@storybook/addon-docs@8.4.7(@types/react@18.3.9)(storybook@8.4.7(prettier@3.4.2))': + '@storybook/addon-docs@8.4.7(@types/react@19.0.1)(storybook@8.4.7(prettier@3.4.2))': dependencies: - '@mdx-js/react': 3.1.0(@types/react@18.3.9)(react@18.3.1) + '@mdx-js/react': 3.1.0(@types/react@19.0.1)(react@18.3.1) '@storybook/blocks': 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) '@storybook/csf-plugin': 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/react-dom-shim': 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) @@ -7716,12 +7690,12 @@ snapshots: transitivePeerDependencies: - '@types/react' - '@storybook/addon-essentials@8.4.7(@types/react@18.3.9)(storybook@8.4.7(prettier@3.4.2))': + '@storybook/addon-essentials@8.4.7(@types/react@19.0.1)(storybook@8.4.7(prettier@3.4.2))': dependencies: '@storybook/addon-actions': 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-backgrounds': 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-controls': 8.4.7(storybook@8.4.7(prettier@3.4.2)) - '@storybook/addon-docs': 8.4.7(@types/react@18.3.9)(storybook@8.4.7(prettier@3.4.2)) + '@storybook/addon-docs': 8.4.7(@types/react@19.0.1)(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-highlight': 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-measure': 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-outline': 8.4.7(storybook@8.4.7(prettier@3.4.2)) @@ -7752,13 +7726,6 @@ snapshots: storybook: 8.4.7(prettier@3.4.2) tiny-invariant: 1.3.3 - '@storybook/addon-onboarding@8.4.7(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))': - dependencies: - react-confetti: 6.1.0(react@18.3.1) - storybook: 8.4.7(prettier@3.4.2) - transitivePeerDependencies: - - react - '@storybook/addon-outline@8.4.7(storybook@8.4.7(prettier@3.4.2))': dependencies: '@storybook/global': 5.0.0 @@ -7789,13 +7756,23 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@storybook/builder-vite@8.4.7(storybook@8.4.7(prettier@3.4.2))(vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.33.0))': + '@storybook/blocks@8.4.7(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))': + dependencies: + '@storybook/csf': 0.1.12 + '@storybook/icons': 1.3.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + storybook: 8.4.7(prettier@3.4.2) + ts-dedent: 2.2.0 + optionalDependencies: + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + + '@storybook/builder-vite@8.4.7(storybook@8.4.7(prettier@3.4.2))(vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0))': dependencies: '@storybook/csf-plugin': 8.4.7(storybook@8.4.7(prettier@3.4.2)) browser-assert: 1.2.1 storybook: 8.4.7(prettier@3.4.2) ts-dedent: 2.2.0 - vite: 6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.33.0) + vite: 6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0) '@storybook/components@8.4.7(storybook@8.4.7(prettier@3.4.2))': dependencies: @@ -7837,6 +7814,11 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) + '@storybook/icons@1.3.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': + dependencies: + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + '@storybook/instrumenter@8.4.7(storybook@8.4.7(prettier@3.4.2))': dependencies: '@storybook/global': 5.0.0 @@ -7857,37 +7839,43 @@ snapshots: react-dom: 18.3.1(react@18.3.1) storybook: 8.4.7(prettier@3.4.2) - '@storybook/react-vite@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@2.79.1)(storybook@8.4.7(prettier@3.4.2))(typescript@4.9.5)(vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.33.0))': + '@storybook/react-dom-shim@8.4.7(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))': dependencies: - '@joshwooding/vite-plugin-react-docgen-typescript': 0.4.2(typescript@4.9.5)(vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.33.0)) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + storybook: 8.4.7(prettier@3.4.2) + + '@storybook/react-vite@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(rollup@2.79.1)(storybook@8.4.7(prettier@3.4.2))(typescript@4.9.5)(vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0))': + dependencies: + '@joshwooding/vite-plugin-react-docgen-typescript': 0.4.2(typescript@4.9.5)(vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0)) '@rollup/pluginutils': 5.1.3(rollup@2.79.1) - '@storybook/builder-vite': 8.4.7(storybook@8.4.7(prettier@3.4.2))(vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.33.0)) - '@storybook/react': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@4.9.5) + '@storybook/builder-vite': 8.4.7(storybook@8.4.7(prettier@3.4.2))(vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0)) + '@storybook/react': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))(typescript@4.9.5) find-up: 5.0.0 magic-string: 0.30.11 - react: 18.3.1 + react: 19.0.0 react-docgen: 7.1.0 - react-dom: 18.3.1(react@18.3.1) + react-dom: 19.0.0(react@19.0.0) resolve: 1.22.8 storybook: 8.4.7(prettier@3.4.2) tsconfig-paths: 4.2.0 - vite: 6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.33.0) + vite: 6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0) transitivePeerDependencies: - '@storybook/test' - rollup - supports-color - typescript - '@storybook/react@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@4.9.5)': + '@storybook/react@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))(typescript@4.9.5)': dependencies: '@storybook/components': 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/global': 5.0.0 '@storybook/manager-api': 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/preview-api': 8.4.7(storybook@8.4.7(prettier@3.4.2)) - '@storybook/react-dom-shim': 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) + '@storybook/react-dom-shim': 8.4.7(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2)) '@storybook/theming': 8.4.7(storybook@8.4.7(prettier@3.4.2)) - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) storybook: 8.4.7(prettier@3.4.2) optionalDependencies: '@storybook/test': 8.4.7(storybook@8.4.7(prettier@3.4.2)) @@ -7980,11 +7968,11 @@ snapshots: postcss: 8.4.49 tailwindcss: 4.0.0-beta.5 - '@tanstack/react-virtual@3.10.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tanstack/react-virtual@3.10.8(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@tanstack/virtual-core': 3.10.8 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) '@tanstack/virtual-core@3.10.8': {} @@ -7999,17 +7987,6 @@ snapshots: lz-string: 1.5.0 pretty-format: 27.5.1 - '@testing-library/dom@9.3.4': - dependencies: - '@babel/code-frame': 7.24.7 - '@babel/runtime': 7.25.6 - '@types/aria-query': 5.0.4 - aria-query: 5.1.3 - chalk: 4.1.2 - dom-accessibility-api: 0.5.16 - lz-string: 1.5.0 - pretty-format: 27.5.1 - '@testing-library/jest-dom@6.5.0': dependencies: '@adobe/css-tools': 4.4.1 @@ -8020,13 +7997,15 @@ snapshots: lodash: 4.17.21 redent: 3.0.0 - '@testing-library/react@14.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@testing-library/react@16.1.0(@testing-library/dom@10.4.0)(@types/react-dom@19.0.2(@types/react@19.0.1))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@babel/runtime': 7.25.6 - '@testing-library/dom': 9.3.4 - '@types/react-dom': 18.3.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + '@babel/runtime': 7.26.0 + '@testing-library/dom': 10.4.0 + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + optionalDependencies: + '@types/react': 19.0.1 + '@types/react-dom': 19.0.2(@types/react@19.0.1) '@testing-library/user-event@14.5.2(@testing-library/dom@10.4.0)': dependencies: @@ -8087,10 +8066,10 @@ snapshots: '@types/eslint-scope@3.7.7': dependencies: - '@types/eslint': 8.40.2 + '@types/eslint': 9.6.1 '@types/estree': 1.0.6 - '@types/eslint@8.40.2': + '@types/eslint@9.6.1': dependencies: '@types/estree': 1.0.6 '@types/json-schema': 7.0.15 @@ -8136,15 +8115,19 @@ snapshots: '@types/prop-types@15.7.13': {} - '@types/react-dom@18.3.0': + '@types/react-dom@19.0.2(@types/react@19.0.1)': dependencies: - '@types/react': 18.3.9 + '@types/react': 19.0.1 '@types/react@18.3.9': dependencies: '@types/prop-types': 15.7.13 csstype: 3.1.3 + '@types/react@19.0.1': + dependencies: + csstype: 3.1.3 + '@types/resolve@1.17.1': dependencies: '@types/node': 22.6.1 @@ -8291,14 +8274,14 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-react@4.3.4(vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.33.0))': + '@vitejs/plugin-react@4.3.4(vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0))': dependencies: '@babel/core': 7.26.0 '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.0) '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.0) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.33.0) + vite: 6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0) transitivePeerDependencies: - supports-color @@ -8471,8 +8454,6 @@ snapshots: ansi-regex@5.0.1: {} - ansi-regex@6.1.0: {} - ansi-styles@3.2.1: dependencies: color-convert: 1.9.3 @@ -8801,8 +8782,6 @@ snapshots: check-error@2.1.1: {} - chromatic@11.20.0: {} - chrome-trace-event@1.0.4: {} ci-info@3.9.0: {} @@ -9204,7 +9183,7 @@ snapshots: dom-helpers@5.2.1: dependencies: - '@babel/runtime': 7.25.6 + '@babel/runtime': 7.26.0 csstype: 3.1.3 dom-serializer@1.4.1: @@ -9433,14 +9412,14 @@ snapshots: dependencies: eslint: 8.57.1 - eslint-plugin-prettier@5.2.1(@types/eslint@8.40.2)(eslint-config-prettier@9.1.0(eslint@8.57.1))(eslint@8.57.1)(prettier@3.4.2): + eslint-plugin-prettier@5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@8.57.1))(eslint@8.57.1)(prettier@3.4.2): dependencies: eslint: 8.57.1 prettier: 3.4.2 prettier-linter-helpers: 1.0.0 synckit: 0.9.1 optionalDependencies: - '@types/eslint': 8.40.2 + '@types/eslint': 9.6.1 eslint-config-prettier: 9.1.0(eslint@8.57.1) eslint-plugin-react-hooks@4.6.2(eslint@8.57.1): @@ -9659,8 +9638,6 @@ snapshots: dependencies: flat-cache: 3.2.0 - filesize@10.1.6: {} - fill-range@7.1.1: dependencies: to-regex-range: 5.0.1 @@ -11394,15 +11371,10 @@ snapshots: minimist: 1.2.8 strip-json-comments: 2.0.1 - react-confetti@6.1.0(react@18.3.1): - dependencies: - react: 18.3.1 - tween-functions: 1.2.0 - - react-day-picker@8.10.1(date-fns@3.6.0)(react@18.3.1): + react-day-picker@8.10.1(date-fns@3.6.0)(react@19.0.0): dependencies: date-fns: 3.6.0 - react: 18.3.1 + react: 19.0.0 react-docgen-typescript@2.2.2(typescript@4.9.5): dependencies: @@ -11429,6 +11401,11 @@ snapshots: react: 18.3.1 scheduler: 0.23.2 + react-dom@19.0.0(react@19.0.0): + dependencies: + react: 19.0.0 + scheduler: 0.25.0 + react-is@16.13.1: {} react-is@17.0.2: {} @@ -11437,27 +11414,29 @@ snapshots: react-refresh@0.14.2: {} - react-smooth@4.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-smooth@4.0.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: fast-equals: 5.0.1 prop-types: 15.8.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - react-transition-group: 4.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + react-transition-group: 4.4.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - react-transition-group@4.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-transition-group@4.4.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: - '@babel/runtime': 7.25.6 + '@babel/runtime': 7.26.0 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) react@18.3.1: dependencies: loose-envify: 1.4.0 + react@19.0.0: {} + read-package-up@11.0.0: dependencies: find-up-simple: 1.0.0 @@ -11494,15 +11473,15 @@ snapshots: dependencies: decimal.js-light: 2.5.1 - recharts@2.13.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + recharts@2.14.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: clsx: 2.1.1 eventemitter3: 4.0.7 lodash: 4.17.21 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) react-is: 18.3.1 - react-smooth: 4.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react-smooth: 4.0.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) recharts-scale: 0.4.5 tiny-invariant: 1.3.3 victory-vendor: 36.9.2 @@ -11698,6 +11677,8 @@ snapshots: dependencies: loose-envify: 1.4.0 + scheduler@0.25.0: {} + schema-utils@2.7.1: dependencies: '@types/json-schema': 7.0.15 @@ -11933,10 +11914,6 @@ snapshots: dependencies: ansi-regex: 5.0.1 - strip-ansi@7.1.0: - dependencies: - ansi-regex: 6.1.0 - strip-bom@3.0.0: {} strip-bom@4.0.0: {} @@ -12042,7 +12019,7 @@ snapshots: jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 - terser: 5.33.0 + terser: 5.37.0 webpack: 5.97.1(esbuild@0.24.0) optionalDependencies: esbuild: 0.24.0 @@ -12054,6 +12031,13 @@ snapshots: commander: 2.20.3 source-map-support: 0.5.21 + terser@5.37.0: + dependencies: + '@jridgewell/source-map': 0.3.6 + acorn: 8.14.0 + commander: 2.20.3 + source-map-support: 0.5.21 + test-exclude@6.0.0: dependencies: '@istanbuljs/schema': 0.1.3 @@ -12122,8 +12106,6 @@ snapshots: tslib@2.8.1: {} - tween-functions@1.2.0: {} - type-check@0.4.0: dependencies: prelude-ls: 1.2.1 @@ -12285,7 +12267,7 @@ snapshots: d3-time: 3.1.0 d3-timer: 3.0.1 - vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.33.0): + vite@6.0.3(@types/node@22.6.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0): dependencies: esbuild: 0.24.0 postcss: 8.4.49 @@ -12295,7 +12277,7 @@ snapshots: fsevents: 2.3.3 jiti: 2.4.1 lightningcss: 1.28.2 - terser: 5.33.0 + terser: 5.37.0 w3c-xmlserializer@4.0.0: dependencies: diff --git a/src/components/input-elements/DateRangePicker/DateRangePicker.tsx b/src/components/input-elements/DateRangePicker/DateRangePicker.tsx index df02ea7b0..9b608fd4d 100644 --- a/src/components/input-elements/DateRangePicker/DateRangePicker.tsx +++ b/src/components/input-elements/DateRangePicker/DateRangePicker.tsx @@ -3,7 +3,7 @@ import { CalendarIcon, XCircleIcon } from "assets"; import { startOfMonth, startOfToday } from "date-fns"; import { tremorTwMerge } from "lib"; -import React, { ReactElement, useMemo, useState } from "react"; +import React, { useMemo, useState } from "react"; import { DateRange, DayPickerRangeProps } from "react-day-picker"; import { constructValueToNameMapping, @@ -101,16 +101,15 @@ const DateRangePicker = React.forwardRef(( >(); if (children) { - React.Children.forEach( - children as ReactElement[], - (child: React.ReactElement) => { + React.Children.forEach(children, (child) => { + if (React.isValidElement(child)) { selectValues.set(child.props.value, { text: (getNodeText(child) ?? child.props.value) as string, from: child.props.from, to: child.props.to, }); - }, - ); + } + }); } else { defaultOptions.forEach((option) => { selectValues.set(option.value, { diff --git a/src/tests/chart-elements/AreaChart.test.tsx b/src/tests/chart-elements/AreaChart.test.tsx index cfdadb3ba..93996dfd6 100644 --- a/src/tests/chart-elements/AreaChart.test.tsx +++ b/src/tests/chart-elements/AreaChart.test.tsx @@ -21,7 +21,7 @@ describe("AreaChart", () => { jest.restoreAllMocks(); }); it("renders the chart with data", () => { - const ref = React.useRef() as React.MutableRefObject; + const ref = React.useRef(null); const data = [ { name: "A", value: 10 }, { name: "B", value: 20 }, @@ -34,7 +34,7 @@ describe("AreaChart", () => { }); it("renders the chart without gradient", () => { - const ref = React.useRef() as React.MutableRefObject; + const ref = React.useRef(null); const data = [ { name: "A", value: 10 }, { name: "B", value: 20 }, @@ -53,7 +53,7 @@ describe("AreaChart", () => { }); it("renders the chart with custom colors", () => { - const ref = React.useRef() as React.MutableRefObject; + const ref = React.useRef(null); const data = [ { name: "A", value: 10 }, { name: "B", value: 20 }, @@ -72,7 +72,7 @@ describe("AreaChart", () => { }); it("renders the chart with custom curve type", () => { - const ref = React.useRef() as React.MutableRefObject; + const ref = React.useRef(null); const data = [ { name: "A", value: 10 }, { name: "B", value: 20 }, diff --git a/src/tests/chart-elements/BarChart.test.tsx b/src/tests/chart-elements/BarChart.test.tsx index 837cba86d..a30ad033e 100644 --- a/src/tests/chart-elements/BarChart.test.tsx +++ b/src/tests/chart-elements/BarChart.test.tsx @@ -25,12 +25,12 @@ describe("BarChart", () => { { name: "B", value: 20 }, { name: "C", value: 30 }, ]; - const ref = React.useRef() as React.MutableRefObject; + const ref = React.useRef(null); render(); }); it("renders the chart with no data", () => { - const ref = React.useRef() as React.MutableRefObject; + const ref = React.useRef(null); const { getByText } = render(); expect(getByText("No data")).toBeDefined(); }); diff --git a/src/tests/spark-elements/SparkAreaChart.test.tsx b/src/tests/spark-elements/SparkAreaChart.test.tsx index 54b6b6905..eb4ac3b7e 100644 --- a/src/tests/spark-elements/SparkAreaChart.test.tsx +++ b/src/tests/spark-elements/SparkAreaChart.test.tsx @@ -26,7 +26,7 @@ describe("AreaChart", () => { { name: "B", value: 20 }, { name: "C", value: 30 }, ]; - const ref = React.useRef() as React.MutableRefObject; + const ref = React.useRef(null); const { container } = render( { { name: "B", value: 20 }, { name: "C", value: 30 }, ]; - const ref = React.useRef() as React.MutableRefObject; + const ref = React.useRef(null); const { container } = render( { { name: "B", value: 20 }, { name: "C", value: 30 }, ]; - const ref = React.useRef() as React.MutableRefObject; + const ref = React.useRef(null); const { container } = render( { { name: "B", value: 20 }, { name: "C", value: 30 }, ]; - const ref = React.useRef() as React.MutableRefObject; + const ref = React.useRef(null); const { container } = render( { { name: "B", value: null }, { name: "C", value: 30 }, ]; - const ref = React.useRef() as React.MutableRefObject; + const ref = React.useRef(null); const { container } = render( { }); it("renders the chart with no data", () => { - const ref = React.useRef() as React.MutableRefObject; + const ref = React.useRef(null); const { getByText } = render( , );