From 8e68d02d0bf178c3b2d0db253c1bb14236ee2eeb Mon Sep 17 00:00:00 2001 From: Tigran <3755268+tigranpetrossian@users.noreply.github.com> Date: Thu, 7 Nov 2024 00:02:23 +0400 Subject: [PATCH] chore: update storybook native, add fonts, fix image references --- packages/ui/app.config.js | 8 +- packages/ui/app.json | 50 ------ packages/ui/package.json | 3 +- packages/ui/src/app.tsx | 13 ++ pnpm-lock.yaml | 316 ++++++++++++++++++++++++++++---------- 5 files changed, 257 insertions(+), 133 deletions(-) delete mode 100644 packages/ui/app.json diff --git a/packages/ui/app.config.js b/packages/ui/app.config.js index d33acdc92..ad9484a28 100644 --- a/packages/ui/app.config.js +++ b/packages/ui/app.config.js @@ -7,11 +7,11 @@ export default ({ config }) => ({ }, version: '1.0.0', orientation: 'portrait', - icon: './src/assets-native/icon.png', + icon: './src/assets-native/images/icon.png', scheme: 'myapp', userInterfaceStyle: 'automatic', splash: { - image: './src/assets-native/splash.png', + image: './src/assets-native/images/splash.png', resizeMode: 'contain', backgroundColor: '#ffffff', }, @@ -26,13 +26,13 @@ export default ({ config }) => ({ }, android: { adaptiveIcon: { - foregroundImage: './src/assets-native/adaptive-icon.png', + foregroundImage: './src/assets-native/images/adaptive-icon.png', backgroundColor: '#ffffff', }, package: 'io.leather.mobilewallet', }, web: { - favicon: './src/assets-native/favicon.png', + favicon: './src/assets-native/images/favicon.png', }, plugins: ['expo-font'], }); diff --git a/packages/ui/app.json b/packages/ui/app.json deleted file mode 100644 index ca845fcc3..000000000 --- a/packages/ui/app.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "expo": { - "name": "@leather.io/ui", - "slug": "leather-wallet_ui", - "version": "1.0.0", - "orientation": "portrait", - "icon": "./src/assets-native/icon.png", - "scheme": "myapp", - "userInterfaceStyle": "automatic", - "splash": { - "image": "./src/assets-native/splash.png", - "resizeMode": "contain", - "backgroundColor": "#ffffff" - }, - "updates": { - "fallbackToCacheTimeout": 0 - }, - "assetBundlePatterns": ["**/*"], - "ios": { - "supportsTablet": true, - "bundleIdentifier": "io.leather.mobilewallet", - "buildNumber": "1.0.0" - }, - "android": { - "adaptiveIcon": { - "foregroundImage": "./src/assets-native/adaptive-icon.png", - "backgroundColor": "#ffffff" - }, - "package": "io.leather.mobilewallet" - }, - "web": { - "favicon": "./src/assets-native/favicon.png" - }, - "plugins": [ - [ - "expo-font", - { - "fonts": [ - "./src/assets-native/fonts/FiraCode-Retina.otf", - "./src/assets-native/fonts/FiraCode-Medium.otf", - "./src/assets-native/fonts/ABCDiatype-Regular.otf", - "./src/assets-native/fonts/ABCDiatype-Light.otf", - "./src/assets-native/fonts/ABCDiatype-Medium.otf", - "./src/assets-native/fonts/MarchePro-Super.otf" - ] - } - ] - ] - } -} diff --git a/packages/ui/package.json b/packages/ui/package.json index 69fd46d96..d7a6df031 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -59,6 +59,7 @@ "react": "18.2.0", "react-dom": "18.2.0", "react-native": "0.74.1", + "react-native-gesture-handler": "2.16.1", "react-native-reanimated": "3.10.1", "react-native-safe-area-context": "4.10.1", "react-native-svg": "15.2.0", @@ -88,7 +89,7 @@ "@storybook/blocks": "8.3.2", "@storybook/manager-api": "8.3.2", "@storybook/react": "8.3.2", - "@storybook/react-native": "7.6.20", + "@storybook/react-native": "8.3.10", "@storybook/react-webpack5": "8.3.2", "@storybook/test": "8.3.2", "@storybook/theming": "8.3.2", diff --git a/packages/ui/src/app.tsx b/packages/ui/src/app.tsx index 80a1dd82a..e38fe9787 100644 --- a/packages/ui/src/app.tsx +++ b/packages/ui/src/app.tsx @@ -1,12 +1,25 @@ import { useColorScheme } from 'react-native'; import { ThemeProvider } from '@shopify/restyle'; +import { useFonts } from 'expo-font'; import StorybookUIRoot from './.storybook-native'; import { generateTheme } from './theme-native'; function RootLayout() { const colorScheme = useColorScheme(); + const [loaded, error] = useFonts({ + 'FiraCode-Retina': require('./assets-native/fonts/FiraCode-Retina.otf'), + 'FiraCode-Medium': require('./assets-native/fonts/FiraCode-Medium.otf'), + 'ABCDiatype-Light': require('./assets-native/fonts/ABCDiatype-Light.otf'), + 'ABCDiatype-Regular': require('./assets-native/fonts/ABCDiatype-Regular.otf'), + 'ABCDiatype-Medium': require('./assets-native/fonts/ABCDiatype-Medium.otf'), + 'MarchePro-Super': require('./assets-native/fonts/MarchePro-Super.otf'), + }); + + if (!loaded || error) { + return null; + } return ( diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c6332cf6b..5519e6478 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1021,6 +1021,9 @@ importers: react-native: specifier: 0.74.1 version: 0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0) + react-native-gesture-handler: + specifier: 2.16.1 + version: 2.16.1(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0) react-native-reanimated: specifier: 3.10.1 version: 3.10.1(@babel/core@7.24.6)(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0) @@ -1104,8 +1107,8 @@ importers: specifier: 8.3.2 version: 8.3.2(@storybook/test@8.3.2(storybook@8.3.2))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.3.2)(typescript@5.5.4) '@storybook/react-native': - specifier: 7.6.20 - version: 7.6.20(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0)(typescript@5.5.4) + specifier: 8.3.10 + version: 8.3.10(u4c7rwp6kxihfiptybiwokvxmy) '@storybook/react-webpack5': specifier: 8.3.2 version: 8.3.2(@storybook/test@8.3.2(storybook@8.3.2))(@swc/core@1.7.39)(esbuild@0.21.5)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.3.2)(typescript@5.5.4) @@ -1147,7 +1150,7 @@ importers: version: 8.53.0 eslint-config-universe: specifier: 12.0.0 - version: 12.0.0(eslint@8.53.0)(prettier@3.3.3)(typescript@5.5.4) + version: 12.0.0(eslint@8.53.0)(prettier@2.8.8)(typescript@5.5.4) postcss-loader: specifier: 8.1.1 version: 8.1.1(postcss@8.4.47)(typescript@5.5.4)(webpack@5.95.0(@swc/core@1.7.39)(esbuild@0.21.5)) @@ -4966,8 +4969,10 @@ packages: peerDependencies: storybook: ^8.3.6 - '@storybook/core-client@7.6.20': - resolution: {integrity: sha512-upQuQQinLmlOPKcT8yqXNtwIucZ4E4qegYZXH5HXRWoLAL6GQtW7sUVSIuFogdki8OXRncr/dz8OA+5yQyYS4w==} + '@storybook/components@8.4.2': + resolution: {integrity: sha512-+W59oF7D73LAxLNmCfFrfs98cH9pyNHK9HlJoO5/lKbK4IdWhhOoqUR/AJ3ueksoLuetFat4DxyE8SN1H4Bvrg==} + peerDependencies: + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 '@storybook/core-common@7.6.20': resolution: {integrity: sha512-8H1zPWPjcmeD4HbDm4FDD0WLsfAKGVr566IZ4hG+h3iWVW57II9JW9MLBtiR2LPSd8u7o0kw64lwRGmtCO1qAw==} @@ -4983,6 +4988,14 @@ packages: '@storybook/core@8.3.2': resolution: {integrity: sha512-DVXs9AZzXHUKEhi5hKQ4gmH2ODFFM9hmd3odnlqenIINxGynbRtAGzU8pMhjrTRSrnlLr1liGew1IcY+hwkFjQ==} + '@storybook/core@8.4.2': + resolution: {integrity: sha512-hF8GWoUZTjwwuV5j4OLhMHZtZQL/NYcVUBReC2Ba06c8PkFIKqKZwATr1zKd301gQ5Qwcn9WgmZxJTMgdKQtOg==} + peerDependencies: + prettier: ^2 || ^3 + peerDependenciesMeta: + prettier: + optional: true + '@storybook/csf-plugin@8.3.2': resolution: {integrity: sha512-9UvoBkYDLzf/0e2lQMPyBCJHrrEMxvhL7fraVX2c5OxwVUwgQnHlgNR3zxzw1Nr/AWyC5OKYlaE1eM10JVm2GA==} peerDependencies: @@ -5017,6 +5030,11 @@ packages: peerDependencies: storybook: ^8.3.2 + '@storybook/manager-api@8.4.2': + resolution: {integrity: sha512-rhPc4cgQDKDH8NUyRh/ZaJW7QIhR/PO5MNX4xc+vz71sM2nO7ONA/FrgLtCuu4SULdwilEPvGefYvLK0dE+Caw==} + peerDependencies: + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 + '@storybook/node-logger@7.6.20': resolution: {integrity: sha512-l2i4qF1bscJkOplNffcRTsgQWYR7J51ewmizj5YrTM8BK6rslWT1RntgVJWB1RgPqvx6VsCz1gyP3yW1oKxvYw==} @@ -5045,8 +5063,10 @@ packages: peerDependencies: storybook: ^8.3.6 - '@storybook/preview-web@7.6.20': - resolution: {integrity: sha512-Gvac4q3Fq2w9C7r88e3hKl+97vZfokHlmogeOfr86+6PCF9mK9qN+xhbf0DpifS/ArQdEjhNbcnvJS4zeJ9OeA==} + '@storybook/preview-api@8.4.2': + resolution: {integrity: sha512-5X/xvIvDPaWJKUBCo5zVeBbbjkhnwcI2KPkuOgrHVRRhuQ5WqD0RYxVtOOFNyQXme7g0nNl5RFNgvT7qv9qGeg==} + peerDependencies: + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0': resolution: {integrity: sha512-KUqXC3oa9JuQ0kZJLBhVdS4lOneKTOopnNBK4tUAgoxWQ3u/IjzdueZjFr7gyBrXMoU6duutk3RQR9u8ZpYJ4Q==} @@ -5054,12 +5074,6 @@ packages: typescript: '>= 4.x' webpack: '>= 4' - '@storybook/react-dom-shim@7.6.20': - resolution: {integrity: sha512-SRvPDr9VWcS24ByQOVmbfZ655y5LvjXRlsF1I6Pr9YZybLfYbu3L5IicfEHT4A8lMdghzgbPFVQaJez46DTrkg==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - '@storybook/react-dom-shim@8.3.2': resolution: {integrity: sha512-fYL7jh9yFkiKIqRJedqTcrmyoVzS/cMxZD/EFfDRaonMVlLlYJQKocuvR1li1iyeKLvd5lxZsHuQ80c98AkDMA==} peerDependencies: @@ -5067,19 +5081,46 @@ packages: react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta storybook: ^8.3.2 + '@storybook/react-dom-shim@8.4.2': + resolution: {integrity: sha512-FZVTM1f34FpGnf6e3MDIKkz05gmn8H9wEccvQAgr8pEFe8VWfrpVWeUrmatSAfgrCMNXYC1avDend8UX6IM8Fg==} + peerDependencies: + 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.4.2 + '@storybook/react-native-theming@7.6.20': resolution: {integrity: sha512-vwMmR2xUAu4f1BSqJIIy/CbmhOyTCu385RZO8+5nf0ym73NDtwLks6Crp71xcy9fR/NDOHHADO2c4YPSpYyifA==} peerDependencies: react: '*' react-native: '>=0.57.0' - '@storybook/react-native@7.6.20': - resolution: {integrity: sha512-zDhTzLFJg1iNwVLcUWL4ieU5gM8+DSql6+XS14ARaaHNEAUSOo4j59VY2XUWIKUW8znhIxdDMOGGZYfc6PvFlg==} + '@storybook/react-native-theming@8.3.10': + resolution: {integrity: sha512-HdDNhVFDJYksaZ+hp+YJQW4RItwobgcCLqQ7lqh3GUmTvctxPsm9eGrsvtOZrdvAONybwn8E8czw5AihnZJqqA==} + peerDependencies: + react: '*' + react-native: '>=0.57.0' + + '@storybook/react-native-ui@8.3.10': + resolution: {integrity: sha512-qEySCI6d/tMP682MkRkD+z4bSJKpq0wXkWuE6kqwn2vwMHeN+trA6UXLBq4yLEJarX7dekeAfYb6yD0gsGRUrQ==} + engines: {node: '>=18.0.0'} + peerDependencies: + '@gorhom/bottom-sheet': '>=4' + react: '*' + react-native: '>=0.57.0' + react-native-gesture-handler: '>=2' + react-native-reanimated: '>=3' + react-native-safe-area-context: '*' + react-native-svg: '>=14' + + '@storybook/react-native@8.3.10': + resolution: {integrity: sha512-SvTdN00bUWomXAnqZkI5q7T1BfRDzco2L0JXEBrcM04tnx+IIt188DVCPBhnYUcmwYm6bXj46F/CzKYf0HPzeA==} engines: {node: '>=8.0.0'} hasBin: true peerDependencies: + '@gorhom/bottom-sheet': '>=4' react: '*' react-native: '>=0.57.0' + react-native-gesture-handler: '>=2' react-native-safe-area-context: '*' '@storybook/react-webpack5@8.3.2': @@ -5094,25 +5135,29 @@ packages: typescript: optional: true - '@storybook/react@7.6.20': - resolution: {integrity: sha512-i5tKNgUbTNwlqBWGwPveDhh9ktlS0wGtd97A1ZgKZc3vckLizunlAFc7PRC1O/CMq5PTyxbuUb4RvRD2jWKwDA==} - engines: {node: '>=16.0.0'} + '@storybook/react@8.3.2': + resolution: {integrity: sha512-GvnqhxvaYC6s8WMiDWr184UlNp5jmRVNMBHasXlUsVDYvs6J1tStJeN+XBZbAJBW/0zkHLuf4REk8lLBi2eKRQ==} + engines: {node: '>=18.0.0'} peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - typescript: '*' + '@storybook/test': 8.3.2 + 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.2 + typescript: '>= 4.2.x' peerDependenciesMeta: + '@storybook/test': + optional: true typescript: optional: true - '@storybook/react@8.3.2': - resolution: {integrity: sha512-GvnqhxvaYC6s8WMiDWr184UlNp5jmRVNMBHasXlUsVDYvs6J1tStJeN+XBZbAJBW/0zkHLuf4REk8lLBi2eKRQ==} + '@storybook/react@8.4.2': + resolution: {integrity: sha512-rO5/aVKBVhIKENcL7G8ud4QKC5OyWBPCkJIvY6XUHIuhErJy9/4pP+sZ85jypVwx5kq+EqCPF8AEOWjIxB/4/Q==} engines: {node: '>=18.0.0'} peerDependencies: - '@storybook/test': 8.3.2 + '@storybook/test': 8.4.2 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.2 + storybook: ^8.4.2 typescript: '>= 4.2.x' peerDependenciesMeta: '@storybook/test': @@ -5139,6 +5184,11 @@ packages: peerDependencies: storybook: ^8.3.2 + '@storybook/theming@8.4.2': + resolution: {integrity: sha512-9j4fnu5LcV+qSs1rdwf61Bt14lms0T1LOZkHxGNcS1c1oH+cPS+sxECh2lxtni+mvOAHUlBs9pKhVZzRPdWpvg==} + peerDependencies: + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 + '@storybook/types@7.6.20': resolution: {integrity: sha512-GncdY3x0LpbhmUAAJwXYtJDUQEwfF175gsjH0/fxPkxPoV7Sef9TM41jQLJW/5+6TnZoCZP/+aJZTJtq3ni23Q==} @@ -7964,6 +8014,10 @@ packages: functions-have-names@1.2.3: resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} + fuse.js@7.0.0: + resolution: {integrity: sha512-14F4hBIxqKvD4Zz/XjDc3y94mNZN6pRv3U13Udo0lNLCWRBUsrMv2xwcF/y/Z5sV6+FQW+/ow68cHpm4sunt8Q==} + engines: {node: '>=10'} + gensync@1.0.0-beta.2: resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} engines: {node: '>=6.9.0'} @@ -10746,6 +10800,11 @@ packages: react-native-swipe-gestures@1.0.5: resolution: {integrity: sha512-Ns7Bn9H/Tyw278+5SQx9oAblDZ7JixyzeOczcBK8dipQk2pD7Djkcfnf1nB/8RErAmMLL9iXgW0QHqiII8AhKw==} + react-native-url-polyfill@2.0.0: + resolution: {integrity: sha512-My330Do7/DvKnEvwQc0WdcBnFPploYKp9CYlefDXzIdEaA+PAhDYllkvGeEroEzvc4Kzzj2O4yVdz8v6fjRvhA==} + peerDependencies: + react-native: '*' + react-native-web@0.19.12: resolution: {integrity: sha512-o2T0oztoVDQjztt4YksO9S1XRjoH/AqcSvifgWLrPJgGVbMWsfhILgl6lfUdEamVZzZSVV/2gqDVMAk/qq7mZw==} peerDependencies: @@ -11387,6 +11446,15 @@ packages: resolution: {integrity: sha512-jfDPtoPTtXcQ4O82u6+VE0V8q05hnj9NdmTVJvUxab796FoEbhk07xFLynOopfd9h9i0D/jc5Sf4C+iMe1bhmA==} hasBin: true + storybook@8.4.2: + resolution: {integrity: sha512-GMCgyAulmLNrkUtDkCpFO4SB77YrpiIxq6e5tzaQdXEuaDu1mdNwOuP3VG7nE2FzxmqDvagSgriM68YW9iFaZA==} + hasBin: true + peerDependencies: + prettier: ^2 || ^3 + peerDependenciesMeta: + prettier: + optional: true + stream-buffers@2.2.0: resolution: {integrity: sha512-uyQK/mx5QjHun80FLJTfaWE7JtwfRMKBLkMne6udYOmvH0CawotVa7TfgYHzAnpphn4+TweIx1QKMnRIbipmUg==} engines: {node: '>= 0.10.0'} @@ -18327,10 +18395,9 @@ snapshots: dependencies: storybook: 8.3.2 - '@storybook/core-client@7.6.20': + '@storybook/components@8.4.2(storybook@8.4.2(prettier@2.8.8))': dependencies: - '@storybook/client-logger': 7.6.20 - '@storybook/preview-api': 7.6.20 + storybook: 8.4.2(prettier@2.8.8) '@storybook/core-common@7.6.20': dependencies: @@ -18391,6 +18458,26 @@ snapshots: - supports-color - utf-8-validate + '@storybook/core@8.4.2(prettier@2.8.8)': + dependencies: + '@storybook/csf': 0.1.11 + better-opn: 3.0.2 + browser-assert: 1.2.1 + esbuild: 0.21.5 + esbuild-register: 3.6.0(esbuild@0.21.5) + jsdoc-type-pratt-parser: 4.1.0 + process: 0.11.10 + recast: 0.23.9 + semver: 7.6.3 + util: 0.12.5 + ws: 8.18.0 + optionalDependencies: + prettier: 2.8.8 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + '@storybook/csf-plugin@8.3.2(storybook@8.3.2)(webpack-sources@3.2.3)': dependencies: storybook: 8.3.2 @@ -18453,6 +18540,10 @@ snapshots: dependencies: storybook: 8.3.2 + '@storybook/manager-api@8.4.2(storybook@8.4.2(prettier@2.8.8))': + dependencies: + storybook: 8.4.2(prettier@2.8.8) + '@storybook/node-logger@7.6.20': {} '@storybook/node-logger@8.3.6(storybook@8.3.2)': @@ -18508,10 +18599,9 @@ snapshots: dependencies: storybook: 8.3.2 - '@storybook/preview-web@7.6.20': + '@storybook/preview-api@8.4.2(storybook@8.4.2(prettier@2.8.8))': dependencies: - '@storybook/client-logger': 7.6.20 - '@storybook/preview-api': 7.6.20 + storybook: 8.4.2(prettier@2.8.8) '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.5.4)(webpack@5.95.0(@swc/core@1.7.39)(esbuild@0.21.5))': dependencies: @@ -18527,37 +18617,64 @@ snapshots: transitivePeerDependencies: - supports-color - '@storybook/react-dom-shim@7.6.20(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@storybook/react-dom-shim@8.3.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.3.2)': dependencies: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + storybook: 8.3.2 - '@storybook/react-dom-shim@8.3.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.3.2)': + '@storybook/react-dom-shim@8.4.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.2(prettier@2.8.8))': dependencies: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - storybook: 8.3.2 + storybook: 8.4.2(prettier@2.8.8) '@storybook/react-native-theming@7.6.20(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0)': dependencies: react: 18.2.0 react-native: 0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0) - '@storybook/react-native@7.6.20(babel-plugin-macros@3.1.0)(react-dom@18.2.0(react@18.2.0))(react-native-safe-area-context@4.10.1(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0)(typescript@5.5.4)': + '@storybook/react-native-theming@8.3.10(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0)': dependencies: - '@storybook/channels': 7.6.20 - '@storybook/client-logger': 7.6.20 - '@storybook/core-client': 7.6.20 - '@storybook/core-common': 7.6.20 - '@storybook/core-events': 7.6.20 + polished: 4.3.1 + react: 18.2.0 + react-native: 0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0) + + '@storybook/react-native-ui@8.3.10(tnxtbsh7errlys3uevtqo6lqty)': + dependencies: + '@gorhom/bottom-sheet': 4.6.3(@types/react@18.2.79)(react-native-gesture-handler@2.16.1(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0))(react-native-reanimated@3.10.1(@babel/core@7.24.6)(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0) + '@storybook/core': 8.4.2(prettier@2.8.8) + '@storybook/react': 8.4.2(@storybook/test@8.3.2(storybook@8.3.2))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.2(prettier@2.8.8))(typescript@5.5.4) + '@storybook/react-native-theming': 8.3.10(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0) + fuse.js: 7.0.0 + memoizerific: 1.11.3 + polished: 4.3.1 + react: 18.2.0 + react-native: 0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0) + react-native-gesture-handler: 2.16.1(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0) + react-native-reanimated: 3.10.1(@babel/core@7.24.6)(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0) + react-native-safe-area-context: 4.10.1(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0) + react-native-svg: 15.2.0(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0) + store2: 2.14.3 + transitivePeerDependencies: + - '@storybook/test' + - bufferutil + - prettier + - react-dom + - storybook + - supports-color + - typescript + - utf-8-validate + + '@storybook/react-native@8.3.10(u4c7rwp6kxihfiptybiwokvxmy)': + dependencies: + '@gorhom/bottom-sheet': 4.6.3(@types/react@18.2.79)(react-native-gesture-handler@2.16.1(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0))(react-native-reanimated@3.10.1(@babel/core@7.24.6)(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0))(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0) + '@storybook/core': 8.4.2(prettier@2.8.8) '@storybook/csf': 0.1.11 - '@storybook/docs-tools': 7.6.20 '@storybook/global': 5.0.0 - '@storybook/manager-api': 7.6.20(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@storybook/preview-api': 7.6.20 - '@storybook/preview-web': 7.6.20 - '@storybook/react': 7.6.20(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.5.4) - '@storybook/react-native-theming': 7.6.20(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0) + '@storybook/react': 8.4.2(@storybook/test@8.3.2(storybook@8.3.2))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.2(prettier@2.8.8))(typescript@5.5.4) + '@storybook/react-native-theming': 8.3.10(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0) + '@storybook/react-native-ui': 8.3.10(tnxtbsh7errlys3uevtqo6lqty) chokidar: 3.6.0 commander: 8.3.0 dedent: 1.5.3(babel-plugin-macros@3.1.0) @@ -18566,16 +18683,25 @@ snapshots: prettier: 2.8.8 react: 18.2.0 react-native: 0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0) + react-native-gesture-handler: 2.16.1(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0) react-native-safe-area-context: 4.10.1(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0))(react@18.2.0) react-native-swipe-gestures: 1.0.5 + react-native-url-polyfill: 2.0.0(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0)) + setimmediate: 1.0.5 + storybook: 8.4.2(prettier@2.8.8) type-fest: 2.19.0 util: 0.12.5 + ws: 8.18.0 transitivePeerDependencies: + - '@storybook/test' - babel-plugin-macros - - encoding + - bufferutil - react-dom + - react-native-reanimated + - react-native-svg - supports-color - typescript + - utf-8-validate '@storybook/react-webpack5@8.3.2(@storybook/test@8.3.2(storybook@8.3.2))(@swc/core@1.7.39)(esbuild@0.21.5)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.3.2)(typescript@5.5.4)': dependencies: @@ -18597,37 +18723,6 @@ snapshots: - uglify-js - webpack-cli - '@storybook/react@7.6.20(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.5.4)': - dependencies: - '@storybook/client-logger': 7.6.20 - '@storybook/core-client': 7.6.20 - '@storybook/docs-tools': 7.6.20 - '@storybook/global': 5.0.0 - '@storybook/preview-api': 7.6.20 - '@storybook/react-dom-shim': 7.6.20(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@storybook/types': 7.6.20 - '@types/escodegen': 0.0.6 - '@types/estree': 0.0.51 - '@types/node': 18.19.58 - acorn: 7.4.1 - acorn-jsx: 5.3.2(acorn@7.4.1) - acorn-walk: 7.2.0 - escodegen: 2.1.0 - html-tags: 3.3.1 - lodash: 4.17.21 - prop-types: 15.8.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-element-to-jsx-string: 15.0.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - ts-dedent: 2.2.0 - type-fest: 2.19.0 - util-deprecate: 1.0.2 - optionalDependencies: - typescript: 5.5.4 - transitivePeerDependencies: - - encoding - - supports-color - '@storybook/react@8.3.2(@storybook/test@8.3.2(storybook@8.3.2))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.3.2)(typescript@5.5.4)': dependencies: '@storybook/components': 8.3.6(storybook@8.3.2) @@ -18657,6 +18752,21 @@ snapshots: '@storybook/test': 8.3.2(storybook@8.3.2) typescript: 5.5.4 + '@storybook/react@8.4.2(@storybook/test@8.3.2(storybook@8.3.2))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.2(prettier@2.8.8))(typescript@5.5.4)': + dependencies: + '@storybook/components': 8.4.2(storybook@8.4.2(prettier@2.8.8)) + '@storybook/global': 5.0.0 + '@storybook/manager-api': 8.4.2(storybook@8.4.2(prettier@2.8.8)) + '@storybook/preview-api': 8.4.2(storybook@8.4.2(prettier@2.8.8)) + '@storybook/react-dom-shim': 8.4.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.2(prettier@2.8.8)) + '@storybook/theming': 8.4.2(storybook@8.4.2(prettier@2.8.8)) + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + storybook: 8.4.2(prettier@2.8.8) + optionalDependencies: + '@storybook/test': 8.3.2(storybook@8.3.2) + typescript: 5.5.4 + '@storybook/router@7.6.20': dependencies: '@storybook/client-logger': 7.6.20 @@ -18689,6 +18799,10 @@ snapshots: dependencies: storybook: 8.3.2 + '@storybook/theming@8.4.2(storybook@8.4.2(prettier@2.8.8))': + dependencies: + storybook: 8.4.2(prettier@2.8.8) + '@storybook/types@7.6.20': dependencies: '@storybook/channels': 7.6.20 @@ -21317,6 +21431,26 @@ snapshots: dependencies: eslint: 8.53.0 + eslint-config-universe@12.0.0(eslint@8.53.0)(prettier@2.8.8)(typescript@5.5.4): + dependencies: + '@typescript-eslint/eslint-plugin': 6.9.0(@typescript-eslint/parser@6.9.0(eslint@8.53.0)(typescript@5.5.4))(eslint@8.53.0)(typescript@5.5.4) + '@typescript-eslint/parser': 6.9.0(eslint@8.53.0)(typescript@5.5.4) + eslint: 8.53.0 + eslint-config-prettier: 8.10.0(eslint@8.53.0) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@6.9.0(eslint@8.53.0)(typescript@5.5.4))(eslint@8.53.0) + eslint-plugin-node: 11.1.0(eslint@8.53.0) + eslint-plugin-prettier: 5.2.1(eslint-config-prettier@8.10.0(eslint@8.53.0))(eslint@8.53.0)(prettier@2.8.8) + eslint-plugin-react: 7.37.1(eslint@8.53.0) + eslint-plugin-react-hooks: 4.6.2(eslint@8.53.0) + optionalDependencies: + prettier: 2.8.8 + transitivePeerDependencies: + - '@types/eslint' + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + - typescript + eslint-config-universe@12.0.0(eslint@8.53.0)(prettier@3.3.3)(typescript@5.5.4): dependencies: '@typescript-eslint/eslint-plugin': 6.9.0(@typescript-eslint/parser@6.9.0(eslint@8.53.0)(typescript@5.5.4))(eslint@8.53.0)(typescript@5.5.4) @@ -21418,6 +21552,15 @@ snapshots: resolve: 1.22.8 semver: 6.3.1 + eslint-plugin-prettier@5.2.1(eslint-config-prettier@8.10.0(eslint@8.53.0))(eslint@8.53.0)(prettier@2.8.8): + dependencies: + eslint: 8.53.0 + prettier: 2.8.8 + prettier-linter-helpers: 1.0.0 + synckit: 0.9.2 + optionalDependencies: + eslint-config-prettier: 8.10.0(eslint@8.53.0) + eslint-plugin-prettier@5.2.1(eslint-config-prettier@8.10.0(eslint@8.53.0))(eslint@8.53.0)(prettier@3.3.3): dependencies: eslint: 8.53.0 @@ -22248,6 +22391,8 @@ snapshots: functions-have-names@1.2.3: {} + fuse.js@7.0.0: {} + gensync@1.0.0-beta.2: {} get-caller-file@2.0.5: {} @@ -25527,6 +25672,11 @@ snapshots: react-native-swipe-gestures@1.0.5: {} + react-native-url-polyfill@2.0.0(react-native@0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0)): + dependencies: + react-native: 0.74.1(@babel/core@7.24.6)(@babel/preset-env@7.25.8(@babel/core@7.24.6))(@react-native/assets-registry@0.73.1)(@types/react@18.2.79)(react@18.2.0) + whatwg-url-without-unicode: 8.0.0-3 + react-native-web@0.19.12(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.25.0 @@ -26291,6 +26441,16 @@ snapshots: - supports-color - utf-8-validate + storybook@8.4.2(prettier@2.8.8): + dependencies: + '@storybook/core': 8.4.2(prettier@2.8.8) + optionalDependencies: + prettier: 2.8.8 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + stream-buffers@2.2.0: {} stream-slice@0.1.2: {}