diff --git a/lib/galoy-components/package.json b/lib/galoy-components/package.json index 3063b16069f..911c441d61f 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.2.8", "@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 2bc3212f795..9802ce39633 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1625,8 +1625,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.2.8 + version: 8.2.8(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) @@ -14354,7 +14354,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) @@ -14365,7 +14365,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.4.7(react@18.3.1) memoizerific: 1.11.3 polished: 4.2.2 react: 18.3.1 @@ -14382,42 +14382,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.2.8(react-dom@18.2.0)(react@18.3.1)(storybook@7.6.6): + resolution: {integrity: sha512-AHBXu9s73Xv9r1JageIL7C4eGf5XYEByai4Y6NYQsE+jF7b7e8oaSUoLW6fWSyLGuqvjRx+5P7GMNI2K1EngBA==} 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.2.8 + 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.4.7(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: @@ -14637,7 +14630,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 @@ -14661,7 +14654,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 @@ -14684,7 +14677,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 @@ -14861,7 +14854,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 @@ -14874,7 +14867,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 @@ -14945,7 +14938,7 @@ packages: '@babel/parser': 7.24.8 '@babel/traverse': 7.24.8 '@babel/types': 7.24.9 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/types': 7.6.17 fs-extra: 11.2.0 recast: 0.23.6 @@ -14961,7 +14954,7 @@ packages: '@babel/parser': 7.24.8 '@babel/traverse': 7.24.8 '@babel/types': 7.24.9 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/types': 7.6.3 fs-extra: 11.2.0 recast: 0.23.6 @@ -14977,7 +14970,7 @@ packages: '@babel/parser': 7.24.8 '@babel/traverse': 7.24.8 '@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 @@ -14993,7 +14986,7 @@ packages: '@babel/parser': 7.24.8 '@babel/traverse': 7.24.8 '@babel/types': 7.24.9 - '@storybook/csf': 0.1.5 + '@storybook/csf': 0.1.11 '@storybook/types': 8.0.10 fs-extra: 11.2.0 recast: 0.23.6 @@ -15002,20 +14995,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 @@ -15074,6 +15061,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: @@ -15104,7 +15102,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) @@ -15126,7 +15124,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) @@ -15225,7 +15223,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 @@ -15244,7 +15242,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 @@ -15263,7 +15261,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.14 @@ -15282,7 +15280,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 @@ -15301,7 +15299,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 @@ -15530,7 +15528,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 @@ -15553,7 +15551,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 @@ -16132,6 +16130,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'} @@ -28678,8 +28707,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.4.7(react@18.3.1): + resolution: {integrity: sha512-0+ls1IQZdU6cwM1yu0ZjjiVWYtkbExSyUIFU2ZeDIFuZM1W42Mh4OlJ4nb4apX4H8smxDHRdFaoIVJGwfv5hkg==} engines: {node: '>= 10'} peerDependencies: react: '>= 0.14.0'