diff --git a/lib/galoy-components/package.json b/lib/galoy-components/package.json index 3063b16069..5e6c483c80 100644 --- a/lib/galoy-components/package.json +++ b/lib/galoy-components/package.json @@ -28,7 +28,7 @@ "@storybook/addon-styling": "^1.3.7", "@storybook/addon-styling-webpack": "^0.0.5", "@storybook/addons": "^7.6.17", - "@storybook/blocks": "^7.6.3", + "@storybook/blocks": "^8.3.0", "@storybook/react": "^7.6.3", "@storybook/react-webpack5": "^8.0.10", "@storybook/test": "^7.6.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6b1d75b983..c611cf1b87 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1626,8 +1626,8 @@ importers: specifier: ^7.6.17 version: 7.6.17(react-dom@18.2.0)(react@18.3.1) '@storybook/blocks': - specifier: ^7.6.3 - version: 7.6.3(@types/react-dom@18.2.17)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.3.1) + specifier: ^8.3.0 + version: 8.3.0(react-dom@18.2.0)(react@18.3.1)(storybook@7.6.6) '@storybook/react': specifier: ^7.6.3 version: 7.6.3(react-dom@18.2.0)(react@18.3.1)(typescript@5.3.2) @@ -14715,7 +14715,7 @@ packages: '@storybook/client-logger': 7.6.17 '@storybook/components': 7.6.17(@types/react-dom@18.2.17)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.3.1) '@storybook/core-events': 7.6.17 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/docs-tools': 7.6.17 '@storybook/global': 5.0.0 '@storybook/manager-api': 7.6.17(react-dom@18.2.0)(react@18.3.1) @@ -14726,7 +14726,7 @@ packages: color-convert: 2.0.1 dequal: 2.0.3 lodash: 4.17.21 - markdown-to-jsx: 7.3.2(react@18.3.1) + markdown-to-jsx: 7.5.0(react@18.3.1) memoizerific: 1.11.3 polished: 4.2.2 react: 18.3.1 @@ -14743,42 +14743,35 @@ packages: - supports-color dev: true - /@storybook/blocks@7.6.3(@types/react-dom@18.2.17)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.3.1): - resolution: {integrity: sha512-EyjyNNCZMcV9UnBSujwduiq+F1VLVX/f16fTTPqqZOHigyfrG5LoEYC6dwOC4yO/xfWY+h3qJ51yiugMxVl0Vg==} + /@storybook/blocks@8.3.0(react-dom@18.2.0)(react@18.3.1)(storybook@7.6.6): + resolution: {integrity: sha512-V7D5lv5R+GJya9cCZOCjmOVjhvP5J3KIaclQuuGGJda/ZD/SpwHcFOGSpo6sNR2UKHXXvb61oM8gRQQWDvqPlg==} peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + storybook: ^8.3.0 + peerDependenciesMeta: + react: + optional: true + react-dom: + optional: true dependencies: - '@storybook/channels': 7.6.3 - '@storybook/client-logger': 7.6.3 - '@storybook/components': 7.6.3(@types/react-dom@18.2.17)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.3.1) - '@storybook/core-events': 7.6.3 - '@storybook/csf': 0.1.2 - '@storybook/docs-tools': 7.6.3 + '@storybook/csf': 0.1.11 '@storybook/global': 5.0.0 - '@storybook/manager-api': 7.6.3(react-dom@18.2.0)(react@18.3.1) - '@storybook/preview-api': 7.6.3 - '@storybook/theming': 7.6.3(react-dom@18.2.0)(react@18.3.1) - '@storybook/types': 7.6.3 + '@storybook/icons': 1.2.10(react-dom@18.2.0)(react@18.3.1) '@types/lodash': 4.14.199 color-convert: 2.0.1 dequal: 2.0.3 lodash: 4.17.21 - markdown-to-jsx: 7.3.2(react@18.3.1) + markdown-to-jsx: 7.5.0(react@18.3.1) memoizerific: 1.11.3 polished: 4.2.2 react: 18.3.1 react-colorful: 5.6.1(react-dom@18.2.0)(react@18.3.1) react-dom: 18.2.0(react@18.3.1) + storybook: 7.6.6 telejson: 7.2.0 - tocbot: 4.23.0 ts-dedent: 2.2.0 util-deprecate: 1.0.2 - transitivePeerDependencies: - - '@types/react' - - '@types/react-dom' - - encoding - - supports-color dev: true /@storybook/builder-manager@7.6.6: @@ -14998,7 +14991,7 @@ packages: '@babel/core': 7.23.5 '@babel/preset-env': 7.23.5(@babel/core@7.23.5) '@babel/types': 7.24.9 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/csf-tools': 7.6.6 '@storybook/node-logger': 7.6.6 '@storybook/types': 7.6.6 @@ -15022,7 +15015,7 @@ packages: '@radix-ui/react-select': 1.2.2(@types/react-dom@18.2.17)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.3.1) '@radix-ui/react-toolbar': 1.0.4(@types/react-dom@18.2.17)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.3.1) '@storybook/client-logger': 7.6.17 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/global': 5.0.0 '@storybook/theming': 7.6.17(react-dom@18.2.0)(react@18.3.1) '@storybook/types': 7.6.17 @@ -15045,7 +15038,7 @@ packages: '@radix-ui/react-select': 1.2.2(@types/react-dom@18.2.17)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.3.1) '@radix-ui/react-toolbar': 1.0.4(@types/react-dom@18.2.17)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.3.1) '@storybook/client-logger': 7.6.3 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/global': 5.0.0 '@storybook/theming': 7.6.3(react-dom@18.2.0)(react@18.3.1) '@storybook/types': 7.6.3 @@ -15222,7 +15215,7 @@ packages: /@storybook/core-events@8.1.0: resolution: {integrity: sha512-9oCACeyYqH7rZVHglzH//cJXdP0mM5d2nBM4kgFgTTLJpbb0+SrF0rD0EVpHfA1l4Kz7pgzTY6Xj2p4mEiZ0Qg==} dependencies: - '@storybook/csf': 0.1.7 + '@storybook/csf': 0.1.11 ts-dedent: 2.2.0 dev: true @@ -15235,7 +15228,7 @@ packages: '@storybook/channels': 7.6.6 '@storybook/core-common': 7.6.6 '@storybook/core-events': 7.6.6 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/csf-tools': 7.6.6 '@storybook/docs-mdx': 0.1.0 '@storybook/global': 5.0.0 @@ -15306,7 +15299,7 @@ packages: '@babel/parser': 7.25.3 '@babel/traverse': 7.25.3 '@babel/types': 7.25.2 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/types': 7.6.17 fs-extra: 11.2.0 recast: 0.23.6 @@ -15322,7 +15315,7 @@ packages: '@babel/parser': 7.25.3 '@babel/traverse': 7.25.3 '@babel/types': 7.25.2 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/types': 7.6.3 fs-extra: 11.2.0 recast: 0.23.6 @@ -15338,7 +15331,7 @@ packages: '@babel/parser': 7.25.3 '@babel/traverse': 7.25.3 '@babel/types': 7.24.9 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/types': 7.6.6 fs-extra: 11.2.0 recast: 0.23.6 @@ -15354,7 +15347,7 @@ packages: '@babel/parser': 7.25.3 '@babel/traverse': 7.25.6 '@babel/types': 7.25.6 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/types': 8.0.10 fs-extra: 11.2.0 recast: 0.23.6 @@ -15363,20 +15356,14 @@ packages: - supports-color dev: true - /@storybook/csf@0.1.2: - resolution: {integrity: sha512-ePrvE/pS1vsKR9Xr+o+YwdqNgHUyXvg+1Xjx0h9LrVx7Zq4zNe06pd63F5EvzTbCbJsHj7GHr9tkiaqm7U8WRA==} - dependencies: - type-fest: 2.19.0 - dev: true - - /@storybook/csf@0.1.5: - resolution: {integrity: sha512-pW7Dtk/bE2JGrAe/KuBY4Io02NBe/2CLP2DkgVgWlSwvEVdm/rbQyiwy8RaL0lQlJCv9CsGBY+n9HQG8d4bZjQ==} + /@storybook/csf@0.1.11: + resolution: {integrity: sha512-dHYFQH3mA+EtnCkHXzicbLgsvzYjcDJ1JWsogbItZogkPHgSJM/Wr71uMkcvw8v9mmCyP4NpXJuu6bPoVsOnzg==} dependencies: type-fest: 2.19.0 dev: true - /@storybook/csf@0.1.7: - resolution: {integrity: sha512-53JeLZBibjQxi0Ep+/AJTfxlofJlxy1jXcSKENlnKxHjWEYyHQCumMP5yTFjf7vhNnMjEpV3zx6t23ssFiGRyw==} + /@storybook/csf@0.1.2: + resolution: {integrity: sha512-ePrvE/pS1vsKR9Xr+o+YwdqNgHUyXvg+1Xjx0h9LrVx7Zq4zNe06pd63F5EvzTbCbJsHj7GHr9tkiaqm7U8WRA==} dependencies: type-fest: 2.19.0 dev: true @@ -15435,6 +15422,17 @@ packages: resolution: {integrity: sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ==} dev: true + /@storybook/icons@1.2.10(react-dom@18.2.0)(react@18.3.1): + resolution: {integrity: sha512-310apKdDcjbbX2VSLWPwhEwAgjxTzVagrwucVZIdGPErwiAppX8KvBuWZgPo+rQLVrtH8S+pw1dbUwjcE6d7og==} + engines: {node: '>=14.0.0'} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + dependencies: + react: 18.3.1 + react-dom: 18.2.0(react@18.3.1) + dev: true + /@storybook/instrumenter@7.6.3: resolution: {integrity: sha512-U1cbF0tewMQtKeLinQqUM5Mpcz1z5tsKhV9xAJKguvYVxllWvCA6cVxDM5fc66ws2mXpwFDcb82Kx05lMdmEoA==} dependencies: @@ -15465,7 +15463,7 @@ packages: '@storybook/channels': 7.6.17 '@storybook/client-logger': 7.6.17 '@storybook/core-events': 7.6.17 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/global': 5.0.0 '@storybook/router': 7.6.17 '@storybook/theming': 7.6.17(react-dom@18.2.0)(react@18.3.1) @@ -15487,7 +15485,7 @@ packages: '@storybook/channels': 7.6.3 '@storybook/client-logger': 7.6.3 '@storybook/core-events': 7.6.3 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/global': 5.0.0 '@storybook/router': 7.6.3 '@storybook/theming': 7.6.3(react-dom@18.2.0)(react@18.3.1) @@ -15586,7 +15584,7 @@ packages: '@storybook/channels': 7.6.17 '@storybook/client-logger': 7.6.17 '@storybook/core-events': 7.6.17 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/global': 5.0.0 '@storybook/types': 7.6.17 '@types/qs': 6.9.14 @@ -15605,7 +15603,7 @@ packages: '@storybook/channels': 7.6.3 '@storybook/client-logger': 7.6.3 '@storybook/core-events': 7.6.3 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/global': 5.0.0 '@storybook/types': 7.6.3 '@types/qs': 6.9.14 @@ -15624,7 +15622,7 @@ packages: '@storybook/channels': 7.6.6 '@storybook/client-logger': 7.6.6 '@storybook/core-events': 7.6.6 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/global': 5.0.0 '@storybook/types': 7.6.6 '@types/qs': 6.9.15 @@ -15643,7 +15641,7 @@ packages: '@storybook/channels': 8.0.10 '@storybook/client-logger': 8.0.10 '@storybook/core-events': 8.0.10 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/global': 5.0.0 '@storybook/types': 8.0.10 '@types/qs': 6.9.14 @@ -15662,7 +15660,7 @@ packages: '@storybook/channels': 8.1.0 '@storybook/client-logger': 8.1.0 '@storybook/core-events': 8.1.0 - '@storybook/csf': 0.1.7 + '@storybook/csf': 0.1.11 '@storybook/global': 5.0.0 '@storybook/types': 8.1.0 '@types/qs': 6.9.14 @@ -15891,7 +15889,7 @@ packages: '@storybook/instrumenter': 7.6.3 '@storybook/preview-api': 7.6.3 '@testing-library/dom': 9.3.3 - '@testing-library/jest-dom': 6.4.2(@types/jest@29.5.12)(jest@29.7.0) + '@testing-library/jest-dom': 6.4.2 '@testing-library/user-event': 14.3.0(@testing-library/dom@9.3.3) '@types/chai': 4.3.11 '@vitest/expect': 0.34.7 @@ -15914,7 +15912,7 @@ packages: '@storybook/instrumenter': 8.1.0 '@storybook/preview-api': 8.1.0 '@testing-library/dom': 9.3.4 - '@testing-library/jest-dom': 6.4.2(@types/jest@29.5.12)(jest@29.7.0) + '@testing-library/jest-dom': 6.4.2 '@testing-library/user-event': 14.5.2(@testing-library/dom@9.3.4) '@vitest/expect': 1.3.1 '@vitest/spy': 1.5.2 @@ -16493,6 +16491,37 @@ packages: pretty-format: 27.5.1 dev: true + /@testing-library/jest-dom@6.4.2: + resolution: {integrity: sha512-CzqH0AFymEMG48CpzXFriYYkOjk6ZGPCLMhW9e9jg3KMCn5OfJecF8GtGW7yGfR/IgCe3SX8BSwjdzI6BBbZLw==} + engines: {node: '>=14', npm: '>=6', yarn: '>=1'} + peerDependencies: + '@jest/globals': '>= 28' + '@types/bun': latest + '@types/jest': '>= 28' + jest: '>= 28' + vitest: '>= 0.32' + peerDependenciesMeta: + '@jest/globals': + optional: true + '@types/bun': + optional: true + '@types/jest': + optional: true + jest: + optional: true + vitest: + optional: true + dependencies: + '@adobe/css-tools': 4.3.2 + '@babel/runtime': 7.24.7 + aria-query: 5.3.0 + chalk: 3.0.0 + css.escape: 1.5.1 + dom-accessibility-api: 0.6.3 + lodash: 4.17.21 + redent: 3.0.0 + dev: true + /@testing-library/jest-dom@6.4.2(@types/jest@29.5.12)(jest@29.7.0): resolution: {integrity: sha512-CzqH0AFymEMG48CpzXFriYYkOjk6ZGPCLMhW9e9jg3KMCn5OfJecF8GtGW7yGfR/IgCe3SX8BSwjdzI6BBbZLw==} engines: {node: '>=14', npm: '>=6', yarn: '>=1'} @@ -29009,8 +29038,8 @@ packages: resolution: {integrity: sha512-0aF7ZmVon1igznGI4VS30yugpduQW3y3GkcgGJOp7d8x8QrizhigUxjI/m2UojsXXto+jLAH3KSz+xOJTiORjg==} dev: true - /markdown-to-jsx@7.3.2(react@18.3.1): - resolution: {integrity: sha512-B+28F5ucp83aQm+OxNrPkS8z0tMKaeHiy0lHJs3LqCyDQFtWuenaIrkaVTgAm1pf1AU85LXltva86hlaT17i8Q==} + /markdown-to-jsx@7.5.0(react@18.3.1): + resolution: {integrity: sha512-RrBNcMHiFPcz/iqIj0n3wclzHXjwS7mzjBNWecKKVhNTIxQepIix6Il/wZCn2Cg5Y1ow2Qi84+eJrryFRWBEWw==} engines: {node: '>= 10'} peerDependencies: react: '>= 0.14.0'