From a618e83d7aa112c64fff1787427fdf27012591b5 Mon Sep 17 00:00:00 2001 From: Damiano Plebani Date: Fri, 5 Apr 2024 17:34:54 +0200 Subject: [PATCH 1/3] Add an animated Rive example asset to the example app --- example/ios/Podfile | 2 +- example/ios/Podfile.lock | 12 +++++++++- example/package.json | 3 ++- example/src/navigation/navigator.tsx | 15 ++++++++++--- example/src/navigation/params.ts | 1 + example/src/navigation/routes.ts | 4 ++++ example/src/pages/AnimatedPictograms.tsx | 28 ++++++++++++++++++++++++ example/yarn.lock | 5 +++++ 8 files changed, 64 insertions(+), 6 deletions(-) create mode 100644 example/src/pages/AnimatedPictograms.tsx diff --git a/example/ios/Podfile b/example/ios/Podfile index 81443d94..296b02b4 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -5,7 +5,7 @@ require Pod::Executable.execute_command('node', ['-p', {paths: [process.argv[1]]}, )', __dir__]).strip -platform :ios, min_ios_version_supported +platform :ios, 14 prepare_react_native_project! # If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set. diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index b0f3cbbb..c65637ce 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -489,6 +489,10 @@ PODS: - React-jsi (= 0.72.3) - React-logger (= 0.72.3) - React-perflogger (= 0.72.3) + - rive-react-native (6.2.3): + - React-Core + - RiveRuntime (= 5.5.1) + - RiveRuntime (5.5.1) - RNGestureHandler (2.12.1): - React-Core - RNReactNativeHapticFeedback (2.0.3): @@ -597,6 +601,7 @@ DEPENDENCIES: - React-runtimescheduler (from `../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`) - React-utils (from `../node_modules/react-native/ReactCommon/react/utils`) - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) + - rive-react-native (from `../node_modules/rive-react-native`) - RNGestureHandler (from `../node_modules/react-native-gesture-handler`) - RNReactNativeHapticFeedback (from `../node_modules/react-native-haptic-feedback`) - RNReanimated (from `../node_modules/react-native-reanimated`) @@ -618,6 +623,7 @@ SPEC REPOS: - fmt - libevent - OpenSSL-Universal + - RiveRuntime - SocketRocket - YogaKit @@ -703,6 +709,8 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/react/utils" ReactCommon: :path: "../node_modules/react-native/ReactCommon" + rive-react-native: + :path: "../node_modules/rive-react-native" RNGestureHandler: :path: "../node_modules/react-native-gesture-handler" RNReactNativeHapticFeedback: @@ -769,6 +777,8 @@ SPEC CHECKSUMS: React-runtimescheduler: 837c1bebd2f84572db17698cd702ceaf585b0d9a React-utils: bcb57da67eec2711f8b353f6e3d33bd8e4b2efa3 ReactCommon: 3ccb8fb14e6b3277e38c73b0ff5e4a1b8db017a9 + rive-react-native: 79777686cb29eaba6a28a0534fe82c8b8da41b4a + RiveRuntime: b57830ff73f406f3b4022f457b16690535ca4d05 RNGestureHandler: c0d04458598fcb26052494ae23dda8f8f5162b13 RNReactNativeHapticFeedback: afa5bf2794aecbb2dba2525329253da0d66656df RNReanimated: 53ca20eee770c41173703f5948cd8898aa08262c @@ -778,6 +788,6 @@ SPEC CHECKSUMS: Yoga: 8796b55dba14d7004f980b54bcc9833ee45b28ce YogaKit: f782866e155069a2cca2517aafea43200b01fd5a -PODFILE CHECKSUM: 3682f715bd91b22067ed6990af779570157f6eb0 +PODFILE CHECKSUM: 010bd9ba87e5ea0fc1a226bb7757f51655b8e9c8 COCOAPODS: 1.15.2 diff --git a/example/package.json b/example/package.json index 76397231..c37e6c39 100644 --- a/example/package.json +++ b/example/package.json @@ -21,14 +21,15 @@ "io-ts": "^2.2.20", "react": "^18.2.0", "react-native": "0.72.3", - "react-native-gesture-handler": "^2.12.1", "react-native-easing-gradient": "^1.1.1", + "react-native-gesture-handler": "^2.12.1", "react-native-haptic-feedback": "^2.0.3", "react-native-linear-gradient": "^2.8.1", "react-native-reanimated": "^3.4.1", "react-native-safe-area-context": "^4.7.1", "react-native-screens": "^3.23.0", "react-native-svg": "^15.1.0", + "rive-react-native": "^6.2.3", "rn-placeholder": "^3.0.3" }, "devDependencies": { diff --git a/example/src/navigation/navigator.tsx b/example/src/navigation/navigator.tsx index e57f423c..07889b9b 100644 --- a/example/src/navigation/navigator.tsx +++ b/example/src/navigation/navigator.tsx @@ -1,22 +1,23 @@ import { HeaderSecondLevel, - ModalBSHeader, IOStyles, IOThemeDark, IOThemeLight, + ModalBSHeader, useIOThemeContext } from "@pagopa/io-app-design-system"; -import { createNativeStackNavigator } from "@react-navigation/native-stack"; -import React from "react"; import { DarkTheme, DefaultTheme, NavigationContainer } from "@react-navigation/native"; +import { createNativeStackNavigator } from "@react-navigation/native-stack"; +import React from "react"; import { GestureHandlerRootView } from "react-native-gesture-handler"; import { Accordion } from "../pages/Accordion"; import { DSAdvice } from "../pages/Advice"; import { DSAlert } from "../pages/Alert"; +import { AnimatedPictograms } from "../pages/AnimatedPictograms"; import { Badges } from "../pages/Badges"; import { Buttons } from "../pages/Buttons"; import { Colors } from "../pages/Colors"; @@ -139,6 +140,14 @@ const AppNavigator = () => { headerBackTitleVisible: false }} /> + ( + + {/*

+ Animated pictograms +

*/} + +
+); diff --git a/example/yarn.lock b/example/yarn.lock index 173dddc5..6b198d4b 100644 --- a/example/yarn.lock +++ b/example/yarn.lock @@ -4312,6 +4312,11 @@ rimraf@~2.6.2: dependencies: glob "^7.1.3" +rive-react-native@^6.2.3: + version "6.2.3" + resolved "https://registry.yarnpkg.com/rive-react-native/-/rive-react-native-6.2.3.tgz#358cf427940960b0d8c49975f3fe865fd98ee74c" + integrity sha512-oOhalZdCTCiSXDBR/YIYQtBmfunxKCZioCIjsQ/C+sd51b0G1hxk4TqDl4f0zE7iFC3y3k57G0aIL5+N+iYZhA== + rn-placeholder@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/rn-placeholder/-/rn-placeholder-3.0.3.tgz#98f635b263ee003af2a984eed32d86ade308df35" From f883c989aa79c951926d8c0ef6b41a809737451f Mon Sep 17 00:00:00 2001 From: Damiano Plebani Date: Fri, 19 Apr 2024 16:44:29 +0200 Subject: [PATCH 2/3] Align branch to `main` --- CHANGELOG.md | 29 + .../ios/ExampleApp.xcodeproj/project.pbxproj | 13 + example/ios/Podfile.lock | 359 ++++++------ example/package.json | 2 +- example/src/pages/ListItem.tsx | 12 + example/src/pages/Modules.tsx | 10 + example/src/pages/TabNavigation.tsx | 50 +- example/yarn.lock | 530 ++++++++++++++---- package.json | 2 +- src/components/buttons/ButtonSolid.tsx | 4 +- src/components/listitems/ListItemAction.tsx | 2 +- src/components/listitems/ListItemNav.tsx | 62 +- .../__snapshots__/listitem.test.tsx.snap | 8 +- src/components/modules/ModuleCheckout.tsx | 115 ++-- src/components/tabs/TabNavigation.tsx | 12 +- .../ToastNotification.test.tsx.snap | 12 +- src/core/IOColors.ts | 14 +- 17 files changed, 814 insertions(+), 422 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4330552a..6eb0e2be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,40 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [v1.36.0](https://github.com/pagopa/io-app-design-system/compare/v1.35.0...v1.36.0) + +- chore: add avatar prop to `ListItemNav` component [`#247`](https://github.com/pagopa/io-app-design-system/pull/247) +- [chore] Latest RN 0.72.12 version to run the example app on xCode 15 [`#224`](https://github.com/pagopa/io-app-design-system/pull/224) + +#### [v1.35.0](https://github.com/pagopa/io-app-design-system/compare/v1.34.0...v1.35.0) + +> 16 April 2024 + +- [IOAPPX-285] Update the color scale in relation to red [`#244`](https://github.com/pagopa/io-app-design-system/pull/244) +- chore: add image prop to `ModuleCheckout` component [`#245`](https://github.com/pagopa/io-app-design-system/pull/245) +- chore: release 1.35.0 [`83e062f`](https://github.com/pagopa/io-app-design-system/commit/83e062fe3e4f768b173bcb95074ab7fce73666ab) + +#### [v1.34.0](https://github.com/pagopa/io-app-design-system/compare/v1.33.0...v1.34.0) + +> 11 April 2024 + +- Update `TabNavigation` component [`#242`](https://github.com/pagopa/io-app-design-system/pull/242) +- [IOAPPX-281] Add `VStack` and `HStack` components [`#241`](https://github.com/pagopa/io-app-design-system/pull/241) +- [IOAPPX-272] Improve accessibility by adding `accessibilityState` to `Button…` components [`#234`](https://github.com/pagopa/io-app-design-system/pull/234) +- chore: Rework TabItem component color map [`#236`](https://github.com/pagopa/io-app-design-system/pull/236) +- fix: absolute import in `ModuleCredential` component [`#239`](https://github.com/pagopa/io-app-design-system/pull/239) +- chore: Replace CGN categories icons [`#237`](https://github.com/pagopa/io-app-design-system/pull/237) +- [IOAPPX-274] Make Button… `accessibilityLabel` prop optional + Improve accessibility of selection components (except `ListItemSwitch`) [`#235`](https://github.com/pagopa/io-app-design-system/pull/235) +- chore: release 1.34.0 [`6f1ccc0`](https://github.com/pagopa/io-app-design-system/commit/6f1ccc0ec4770686477c9c2bab8db93e9cb514a7) + #### [v1.33.0](https://github.com/pagopa/io-app-design-system/compare/v1.32.1...v1.33.0) +> 5 April 2024 + - fix: avatar image resize mode on wrong style element [`#231`](https://github.com/pagopa/io-app-design-system/pull/231) - [SIW-965] Add `ModuleCredential` component [`#233`](https://github.com/pagopa/io-app-design-system/pull/233) - [IOBP-600] Fix list item radio icon resize mode [`#232`](https://github.com/pagopa/io-app-design-system/pull/232) +- chore: release 1.33.0 [`2653d34`](https://github.com/pagopa/io-app-design-system/commit/2653d34cde5b3a88add9731adb423c1aaabdf29b) #### [v1.32.1](https://github.com/pagopa/io-app-design-system/compare/v1.32.0...v1.32.1) diff --git a/example/ios/ExampleApp.xcodeproj/project.pbxproj b/example/ios/ExampleApp.xcodeproj/project.pbxproj index dd2f7c93..8f25af66 100644 --- a/example/ios/ExampleApp.xcodeproj/project.pbxproj +++ b/example/ios/ExampleApp.xcodeproj/project.pbxproj @@ -685,6 +685,7 @@ GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", + _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION, ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -712,6 +713,10 @@ "-DFOLLY_MOBILE=1", "-DFOLLY_USE_LIBCPP=1", ); + OTHER_LDFLAGS = ( + "$(inherited)", + " ", + ); REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; }; @@ -753,6 +758,10 @@ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION, + ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; @@ -777,6 +786,10 @@ "-DFOLLY_MOBILE=1", "-DFOLLY_USE_LIBCPP=1", ); + OTHER_LDFLAGS = ( + "$(inherited)", + " ", + ); REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index c65637ce..dce780c3 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -4,14 +4,14 @@ PODS: - React-Core - CocoaAsyncSocket (7.6.5) - DoubleConversion (1.1.6) - - FBLazyVector (0.72.3) - - FBReactNativeSpec (0.72.3): + - FBLazyVector (0.72.12) + - FBReactNativeSpec (0.72.12): - RCT-Folly (= 2021.07.22.00) - - RCTRequired (= 0.72.3) - - RCTTypeSafety (= 0.72.3) - - React-Core (= 0.72.3) - - React-jsi (= 0.72.3) - - ReactCommon/turbomodule/core (= 0.72.3) + - RCTRequired (= 0.72.12) + - RCTTypeSafety (= 0.72.12) + - React-Core (= 0.72.12) + - React-jsi (= 0.72.12) + - ReactCommon/turbomodule/core (= 0.72.12) - Flipper (0.182.0): - Flipper-Folly (~> 2.6) - Flipper-Boost-iOSX (1.76.0.1.11) @@ -72,9 +72,9 @@ PODS: - FlipperKit/FlipperKitNetworkPlugin - fmt (6.2.1) - glog (0.3.5) - - hermes-engine (0.72.3): - - hermes-engine/Pre-built (= 0.72.3) - - hermes-engine/Pre-built (0.72.3) + - hermes-engine (0.72.12): + - hermes-engine/Pre-built (= 0.72.12) + - hermes-engine/Pre-built (0.72.12) - libevent (2.1.12) - OpenSSL-Universal (1.1.1100) - RCT-Folly (2021.07.22.00): @@ -94,26 +94,26 @@ PODS: - fmt (~> 6.2.1) - glog - libevent - - RCTRequired (0.72.3) - - RCTTypeSafety (0.72.3): - - FBLazyVector (= 0.72.3) - - RCTRequired (= 0.72.3) - - React-Core (= 0.72.3) - - React (0.72.3): - - React-Core (= 0.72.3) - - React-Core/DevSupport (= 0.72.3) - - React-Core/RCTWebSocket (= 0.72.3) - - React-RCTActionSheet (= 0.72.3) - - React-RCTAnimation (= 0.72.3) - - React-RCTBlob (= 0.72.3) - - React-RCTImage (= 0.72.3) - - React-RCTLinking (= 0.72.3) - - React-RCTNetwork (= 0.72.3) - - React-RCTSettings (= 0.72.3) - - React-RCTText (= 0.72.3) - - React-RCTVibration (= 0.72.3) - - React-callinvoker (0.72.3) - - React-Codegen (0.72.3): + - RCTRequired (0.72.12) + - RCTTypeSafety (0.72.12): + - FBLazyVector (= 0.72.12) + - RCTRequired (= 0.72.12) + - React-Core (= 0.72.12) + - React (0.72.12): + - React-Core (= 0.72.12) + - React-Core/DevSupport (= 0.72.12) + - React-Core/RCTWebSocket (= 0.72.12) + - React-RCTActionSheet (= 0.72.12) + - React-RCTAnimation (= 0.72.12) + - React-RCTBlob (= 0.72.12) + - React-RCTImage (= 0.72.12) + - React-RCTLinking (= 0.72.12) + - React-RCTNetwork (= 0.72.12) + - React-RCTSettings (= 0.72.12) + - React-RCTText (= 0.72.12) + - React-RCTVibration (= 0.72.12) + - React-callinvoker (0.72.12) + - React-Codegen (0.72.12): - DoubleConversion - FBReactNativeSpec - glog @@ -128,11 +128,11 @@ PODS: - React-rncore - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - - React-Core (0.72.3): + - React-Core (0.72.12): - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) - - React-Core/Default (= 0.72.3) + - React-Core/Default (= 0.72.12) - React-cxxreact - React-hermes - React-jsi @@ -142,7 +142,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/CoreModulesHeaders (0.72.3): + - React-Core/CoreModulesHeaders (0.72.12): - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) @@ -156,7 +156,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/Default (0.72.3): + - React-Core/Default (0.72.12): - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) @@ -169,23 +169,23 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/DevSupport (0.72.3): + - React-Core/DevSupport (0.72.12): - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) - - React-Core/Default (= 0.72.3) - - React-Core/RCTWebSocket (= 0.72.3) + - React-Core/Default (= 0.72.12) + - React-Core/RCTWebSocket (= 0.72.12) - React-cxxreact - React-hermes - React-jsi - React-jsiexecutor - - React-jsinspector (= 0.72.3) + - React-jsinspector (= 0.72.12) - React-perflogger - React-runtimeexecutor - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTActionSheetHeaders (0.72.3): + - React-Core/RCTActionSheetHeaders (0.72.12): - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) @@ -199,7 +199,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTAnimationHeaders (0.72.3): + - React-Core/RCTAnimationHeaders (0.72.12): - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) @@ -213,7 +213,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTBlobHeaders (0.72.3): + - React-Core/RCTBlobHeaders (0.72.12): - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) @@ -227,7 +227,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTImageHeaders (0.72.3): + - React-Core/RCTImageHeaders (0.72.12): - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) @@ -241,7 +241,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTLinkingHeaders (0.72.3): + - React-Core/RCTLinkingHeaders (0.72.12): - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) @@ -255,7 +255,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTNetworkHeaders (0.72.3): + - React-Core/RCTNetworkHeaders (0.72.12): - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) @@ -269,7 +269,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTSettingsHeaders (0.72.3): + - React-Core/RCTSettingsHeaders (0.72.12): - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) @@ -283,7 +283,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTTextHeaders (0.72.3): + - React-Core/RCTTextHeaders (0.72.12): - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) @@ -297,7 +297,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTVibrationHeaders (0.72.3): + - React-Core/RCTVibrationHeaders (0.72.12): - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) @@ -311,11 +311,11 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTWebSocket (0.72.3): + - React-Core/RCTWebSocket (0.72.12): - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) - - React-Core/Default (= 0.72.3) + - React-Core/Default (= 0.72.12) - React-cxxreact - React-hermes - React-jsi @@ -325,61 +325,61 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-CoreModules (0.72.3): + - React-CoreModules (0.72.12): - RCT-Folly (= 2021.07.22.00) - - RCTTypeSafety (= 0.72.3) - - React-Codegen (= 0.72.3) - - React-Core/CoreModulesHeaders (= 0.72.3) - - React-jsi (= 0.72.3) + - RCTTypeSafety (= 0.72.12) + - React-Codegen (= 0.72.12) + - React-Core/CoreModulesHeaders (= 0.72.12) + - React-jsi (= 0.72.12) - React-RCTBlob - - React-RCTImage (= 0.72.3) - - ReactCommon/turbomodule/core (= 0.72.3) + - React-RCTImage (= 0.72.12) + - ReactCommon/turbomodule/core (= 0.72.12) - SocketRocket (= 0.6.1) - - React-cxxreact (0.72.3): + - React-cxxreact (0.72.12): - boost (= 1.76.0) - DoubleConversion - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) - - React-callinvoker (= 0.72.3) - - React-debug (= 0.72.3) - - React-jsi (= 0.72.3) - - React-jsinspector (= 0.72.3) - - React-logger (= 0.72.3) - - React-perflogger (= 0.72.3) - - React-runtimeexecutor (= 0.72.3) - - React-debug (0.72.3) - - React-hermes (0.72.3): + - React-callinvoker (= 0.72.12) + - React-debug (= 0.72.12) + - React-jsi (= 0.72.12) + - React-jsinspector (= 0.72.12) + - React-logger (= 0.72.12) + - React-perflogger (= 0.72.12) + - React-runtimeexecutor (= 0.72.12) + - React-debug (0.72.12) + - React-hermes (0.72.12): - DoubleConversion - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) - RCT-Folly/Futures (= 2021.07.22.00) - - React-cxxreact (= 0.72.3) + - React-cxxreact (= 0.72.12) - React-jsi - - React-jsiexecutor (= 0.72.3) - - React-jsinspector (= 0.72.3) - - React-perflogger (= 0.72.3) - - React-jsi (0.72.3): + - React-jsiexecutor (= 0.72.12) + - React-jsinspector (= 0.72.12) + - React-perflogger (= 0.72.12) + - React-jsi (0.72.12): - boost (= 1.76.0) - DoubleConversion - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) - - React-jsiexecutor (0.72.3): + - React-jsiexecutor (0.72.12): - DoubleConversion - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) - - React-cxxreact (= 0.72.3) - - React-jsi (= 0.72.3) - - React-perflogger (= 0.72.3) - - React-jsinspector (0.72.3) - - React-logger (0.72.3): + - React-cxxreact (= 0.72.12) + - React-jsi (= 0.72.12) + - React-perflogger (= 0.72.12) + - React-jsinspector (0.72.12) + - React-logger (0.72.12): - glog - react-native-safe-area-context (4.7.1): - React-Core - - React-NativeModulesApple (0.72.3): + - React-NativeModulesApple (0.72.12): - hermes-engine - React-callinvoker - React-Core @@ -388,17 +388,17 @@ PODS: - React-runtimeexecutor - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - - React-perflogger (0.72.3) - - React-RCTActionSheet (0.72.3): - - React-Core/RCTActionSheetHeaders (= 0.72.3) - - React-RCTAnimation (0.72.3): + - React-perflogger (0.72.12) + - React-RCTActionSheet (0.72.12): + - React-Core/RCTActionSheetHeaders (= 0.72.12) + - React-RCTAnimation (0.72.12): - RCT-Folly (= 2021.07.22.00) - - RCTTypeSafety (= 0.72.3) - - React-Codegen (= 0.72.3) - - React-Core/RCTAnimationHeaders (= 0.72.3) - - React-jsi (= 0.72.3) - - ReactCommon/turbomodule/core (= 0.72.3) - - React-RCTAppDelegate (0.72.3): + - RCTTypeSafety (= 0.72.12) + - React-Codegen (= 0.72.12) + - React-Core/RCTAnimationHeaders (= 0.72.12) + - React-jsi (= 0.72.12) + - ReactCommon/turbomodule/core (= 0.72.12) + - React-RCTAppDelegate (0.72.12): - RCT-Folly - RCTRequired - RCTTypeSafety @@ -410,54 +410,54 @@ PODS: - React-RCTNetwork - React-runtimescheduler - ReactCommon/turbomodule/core - - React-RCTBlob (0.72.3): + - React-RCTBlob (0.72.12): - hermes-engine - RCT-Folly (= 2021.07.22.00) - - React-Codegen (= 0.72.3) - - React-Core/RCTBlobHeaders (= 0.72.3) - - React-Core/RCTWebSocket (= 0.72.3) - - React-jsi (= 0.72.3) - - React-RCTNetwork (= 0.72.3) - - ReactCommon/turbomodule/core (= 0.72.3) - - React-RCTImage (0.72.3): + - React-Codegen (= 0.72.12) + - React-Core/RCTBlobHeaders (= 0.72.12) + - React-Core/RCTWebSocket (= 0.72.12) + - React-jsi (= 0.72.12) + - React-RCTNetwork (= 0.72.12) + - ReactCommon/turbomodule/core (= 0.72.12) + - React-RCTImage (0.72.12): - RCT-Folly (= 2021.07.22.00) - - RCTTypeSafety (= 0.72.3) - - React-Codegen (= 0.72.3) - - React-Core/RCTImageHeaders (= 0.72.3) - - React-jsi (= 0.72.3) - - React-RCTNetwork (= 0.72.3) - - ReactCommon/turbomodule/core (= 0.72.3) - - React-RCTLinking (0.72.3): - - React-Codegen (= 0.72.3) - - React-Core/RCTLinkingHeaders (= 0.72.3) - - React-jsi (= 0.72.3) - - ReactCommon/turbomodule/core (= 0.72.3) - - React-RCTNetwork (0.72.3): + - RCTTypeSafety (= 0.72.12) + - React-Codegen (= 0.72.12) + - React-Core/RCTImageHeaders (= 0.72.12) + - React-jsi (= 0.72.12) + - React-RCTNetwork (= 0.72.12) + - ReactCommon/turbomodule/core (= 0.72.12) + - React-RCTLinking (0.72.12): + - React-Codegen (= 0.72.12) + - React-Core/RCTLinkingHeaders (= 0.72.12) + - React-jsi (= 0.72.12) + - ReactCommon/turbomodule/core (= 0.72.12) + - React-RCTNetwork (0.72.12): - RCT-Folly (= 2021.07.22.00) - - RCTTypeSafety (= 0.72.3) - - React-Codegen (= 0.72.3) - - React-Core/RCTNetworkHeaders (= 0.72.3) - - React-jsi (= 0.72.3) - - ReactCommon/turbomodule/core (= 0.72.3) - - React-RCTSettings (0.72.3): + - RCTTypeSafety (= 0.72.12) + - React-Codegen (= 0.72.12) + - React-Core/RCTNetworkHeaders (= 0.72.12) + - React-jsi (= 0.72.12) + - ReactCommon/turbomodule/core (= 0.72.12) + - React-RCTSettings (0.72.12): - RCT-Folly (= 2021.07.22.00) - - RCTTypeSafety (= 0.72.3) - - React-Codegen (= 0.72.3) - - React-Core/RCTSettingsHeaders (= 0.72.3) - - React-jsi (= 0.72.3) - - ReactCommon/turbomodule/core (= 0.72.3) - - React-RCTText (0.72.3): - - React-Core/RCTTextHeaders (= 0.72.3) - - React-RCTVibration (0.72.3): + - RCTTypeSafety (= 0.72.12) + - React-Codegen (= 0.72.12) + - React-Core/RCTSettingsHeaders (= 0.72.12) + - React-jsi (= 0.72.12) + - ReactCommon/turbomodule/core (= 0.72.12) + - React-RCTText (0.72.12): + - React-Core/RCTTextHeaders (= 0.72.12) + - React-RCTVibration (0.72.12): - RCT-Folly (= 2021.07.22.00) - - React-Codegen (= 0.72.3) - - React-Core/RCTVibrationHeaders (= 0.72.3) - - React-jsi (= 0.72.3) - - ReactCommon/turbomodule/core (= 0.72.3) - - React-rncore (0.72.3) - - React-runtimeexecutor (0.72.3): - - React-jsi (= 0.72.3) - - React-runtimescheduler (0.72.3): + - React-Codegen (= 0.72.12) + - React-Core/RCTVibrationHeaders (= 0.72.12) + - React-jsi (= 0.72.12) + - ReactCommon/turbomodule/core (= 0.72.12) + - React-rncore (0.72.12) + - React-runtimeexecutor (0.72.12): + - React-jsi (= 0.72.12) + - React-runtimescheduler (0.72.12): - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) @@ -465,30 +465,30 @@ PODS: - React-debug - React-jsi - React-runtimeexecutor - - React-utils (0.72.3): + - React-utils (0.72.12): - glog - RCT-Folly (= 2021.07.22.00) - React-debug - - ReactCommon/turbomodule/bridging (0.72.3): + - ReactCommon/turbomodule/bridging (0.72.12): - DoubleConversion - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) - - React-callinvoker (= 0.72.3) - - React-cxxreact (= 0.72.3) - - React-jsi (= 0.72.3) - - React-logger (= 0.72.3) - - React-perflogger (= 0.72.3) - - ReactCommon/turbomodule/core (0.72.3): + - React-callinvoker (= 0.72.12) + - React-cxxreact (= 0.72.12) + - React-jsi (= 0.72.12) + - React-logger (= 0.72.12) + - React-perflogger (= 0.72.12) + - ReactCommon/turbomodule/core (0.72.12): - DoubleConversion - glog - hermes-engine - RCT-Folly (= 2021.07.22.00) - - React-callinvoker (= 0.72.3) - - React-cxxreact (= 0.72.3) - - React-jsi (= 0.72.3) - - React-logger (= 0.72.3) - - React-perflogger (= 0.72.3) + - React-callinvoker (= 0.72.12) + - React-cxxreact (= 0.72.12) + - React-jsi (= 0.72.12) + - React-logger (= 0.72.12) + - React-perflogger (= 0.72.12) - rive-react-native (6.2.3): - React-Core - RiveRuntime (= 5.5.1) @@ -642,7 +642,6 @@ EXTERNAL SOURCES: :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" hermes-engine: :podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec" - :tag: hermes-2023-03-20-RNv0.72.0-49794cfc7c81fb8f69fd60c3bbf85a7480cc5a77 RCT-Folly: :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" RCTRequired: @@ -725,12 +724,12 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/yoga" SPEC CHECKSUMS: - boost: 57d2868c099736d80fcd648bf211b4431e51a558 + boost: 7dcd2de282d72e344012f7d6564d024930a6a440 BVLinearGradient: 421743791a59d259aec53f4c58793aad031da2ca CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 - FBLazyVector: 4cce221dd782d3ff7c4172167bba09d58af67ccb - FBReactNativeSpec: c6bd9e179757b3c0ecf815864fae8032377903ef + FBLazyVector: a31ac2336aea59512b5b982f8e231f65d7d148e1 + FBReactNativeSpec: 0976da6bc1ebd3ea9b3a65d04be2c0117d304c4c Flipper: 6edb735e6c3e332975d1b17956bcc584eccf5818 Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c Flipper-DoubleConversion: 2dc99b02f658daf147069aad9dbd29d8feb06d30 @@ -741,42 +740,42 @@ SPEC CHECKSUMS: FlipperKit: 2efad7007d6745a3f95e4034d547be637f89d3f6 fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b - hermes-engine: 10fbd3f62405c41ea07e71973ea61e1878d07322 + hermes-engine: e89344b9e9e54351c3c5cac075e0275148fb37ba libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1 - RCTRequired: a2faf4bad4e438ca37b2040cb8f7799baa065c18 - RCTTypeSafety: cb09f3e4747b6d18331a15eb05271de7441ca0b3 - React: 13109005b5353095c052f26af37413340ccf7a5d - React-callinvoker: c8c87bce983aa499c13cb06d4447c025a35274d6 - React-Codegen: 712d523524d89d71f1cf7cc624854941be983c4d - React-Core: 688f88b7f3a3d30b4848036223f8b07102c687e5 - React-CoreModules: 63c063a3ade8fb3b1bec5fd9a50f17b0421558c6 - React-cxxreact: 37765b4975541105b2a3322a4b473417c158c869 - React-debug: 51f11ef8db14b47f24e71c42a4916d4192972156 - React-hermes: 935ae71fb3d7654e947beba8498835cd5e479707 - React-jsi: ec628dc7a15ffea969f237b0ea6d2fde212b19dd - React-jsiexecutor: 59d1eb03af7d30b7d66589c410f13151271e8006 - React-jsinspector: b511447170f561157547bc0bef3f169663860be7 - React-logger: c5b527272d5f22eaa09bb3c3a690fee8f237ae95 + RCTRequired: b6cea797b684c6d8d82ba0107cef58cbb679afdb + RCTTypeSafety: d2eb5e0e8af9181b24034f5171f9b659994b4678 + React: e5aafc4c18040e8fbe0870a1f6df890d35f5af1d + React-callinvoker: d345fd762faa4a3d371aedf40332abb09746ca03 + React-Codegen: 821ca0b8a9fb023eef3faab61afd2390658c8f1c + React-Core: 6e27275ea4a91992f488bcc9c8575ffb564b504b + React-CoreModules: 6cb0798606e69b33e8271a9da526e3d674bedb2c + React-cxxreact: 63436ba2c7811121ca978ce60d49aa8786322726 + React-debug: b29cfcf06c990f0ea4b3d6430996baa71dd676af + React-hermes: 077b82c248fe8e698820717a1d240c8502150c31 + React-jsi: 42edc74ef0479952c32c8659563ab9cd62353a75 + React-jsiexecutor: 95bdf0ab46024ca9849e08739b6abd8fe489cd33 + React-jsinspector: 8e291ed0ab371314de269001d6b9b25db6aabf42 + React-logger: d4010de0b0564e63637ad08373bc73b5d919974b react-native-safe-area-context: 9697629f7b2cda43cf52169bb7e0767d330648c2 - React-NativeModulesApple: c57f3efe0df288a6532b726ad2d0322a9bf38472 - React-perflogger: 6bd153e776e6beed54c56b0847e1220a3ff92ba5 - React-RCTActionSheet: c0b62af44e610e69d9a2049a682f5dba4e9dff17 - React-RCTAnimation: f9bf9719258926aea9ecb8a2aa2595d3ff9a6022 - React-RCTAppDelegate: e5ac35d4dbd1fae7df3a62b47db04b6a8d151592 - React-RCTBlob: c4f1e69a6ef739aa42586b876d637dab4e3b5bed - React-RCTImage: e5798f01aba248416c02a506cf5e6dfcba827638 - React-RCTLinking: f5b6227c879e33206f34e68924c458f57bbb96d9 - React-RCTNetwork: d5554fbfac1c618da3c8fa29933108ea22837788 - React-RCTSettings: 189c71e3e6146ba59f4f7e2cbeb494cf2ad42afa - React-RCTText: 19425aea9d8b6ccae55a27916355b17ab577e56e - React-RCTVibration: 388ac0e1455420895d1ca2548401eed964b038a6 - React-rncore: 755a331dd67b74662108f2d66a384454bf8dc1a1 - React-runtimeexecutor: 369ae9bb3f83b65201c0c8f7d50b72280b5a1dbc - React-runtimescheduler: 837c1bebd2f84572db17698cd702ceaf585b0d9a - React-utils: bcb57da67eec2711f8b353f6e3d33bd8e4b2efa3 - ReactCommon: 3ccb8fb14e6b3277e38c73b0ff5e4a1b8db017a9 + React-NativeModulesApple: 694679e4193a49c09f0a76ee27ec09b2c466d59c + React-perflogger: 63606aeab27683112e1bd4ef25bd099ec1cb03f8 + React-RCTActionSheet: 5b39fc2b479d47325e5ac95193c482044bfebbc6 + React-RCTAnimation: d684a1de0e20c53e31376738839d1cda56b60486 + React-RCTAppDelegate: 3099e9aebf2f821503e65432e09a9423a37d767a + React-RCTBlob: 0dcf271322ba0c0406fcd4a3f87cd7d951dfcc37 + React-RCTImage: b8bfa9ed1eecc7bb96d219f8a01f569d490f34fc + React-RCTLinking: 32c9b7af01937d911010d8ab1963147e31766190 + React-RCTNetwork: c58ad73a25aa6b35258b6c59c0a24018c329fe96 + React-RCTSettings: 87eb46d6ca902981f9356a6d4742f9a453aa8fae + React-RCTText: 1fc9f2052720a6587964721b9c4542c9a0e984c0 + React-RCTVibration: ff75e7530a22dc80a27fffdc07a2785d6bdf4f8e + React-rncore: 52247442683082756b2fb3de145fb8149f15d1f6 + React-runtimeexecutor: 1c5219c682091392970608972655001103c27d21 + React-runtimescheduler: 8aea338c561b2175f47018124c076d89d3808d30 + React-utils: 9a24cb88f950d1020ee55bddacbc8c16a611e2dc + ReactCommon: 76843a9bb140596351ac2786257ac9fe60cafabb rive-react-native: 79777686cb29eaba6a28a0534fe82c8b8da41b4a RiveRuntime: b57830ff73f406f3b4022f457b16690535ca4d05 RNGestureHandler: c0d04458598fcb26052494ae23dda8f8f5162b13 @@ -785,7 +784,7 @@ SPEC CHECKSUMS: RNScreens: 6a8a3c6b808aa48dca1780df7b73ea524f602c63 RNSVG: 50cf2c7018e57cf5d3522d98d0a3a4dd6bf9d093 SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17 - Yoga: 8796b55dba14d7004f980b54bcc9833ee45b28ce + Yoga: 87e59f6d458e5061d2421086c5de994b3f7cd151 YogaKit: f782866e155069a2cca2517aafea43200b01fd5a PODFILE CHECKSUM: 010bd9ba87e5ea0fc1a226bb7757f51655b8e9c8 diff --git a/example/package.json b/example/package.json index c37e6c39..93f8a81a 100644 --- a/example/package.json +++ b/example/package.json @@ -20,7 +20,7 @@ "i18n-js": "^4.3.0", "io-ts": "^2.2.20", "react": "^18.2.0", - "react-native": "0.72.3", + "react-native": "0.72.12", "react-native-easing-gradient": "^1.1.1", "react-native-gesture-handler": "^2.12.1", "react-native-haptic-feedback": "^2.0.3", diff --git a/example/src/pages/ListItem.tsx b/example/src/pages/ListItem.tsx index 70901daf..b9c77751 100644 --- a/example/src/pages/ListItem.tsx +++ b/example/src/pages/ListItem.tsx @@ -187,6 +187,18 @@ const renderListItemNav = () => ( }} loading /> + { + alert("Action triggered"); + }} + value={"Value"} + /> ( onPress={modulePress} /> + + + { - + - + - + - + - + { icon="starEmpty" iconSelected="starFilled" /> - + @@ -212,22 +212,22 @@ export const TabNavigationScreen = () => { - + - + - + - + - + { accessibilityLabel="Label tab" icon="starEmpty" /> - + @@ -269,11 +269,11 @@ export const TabNavigationScreen = () => { - + - + @@ -283,11 +283,11 @@ export const TabNavigationScreen = () => { - + - + @@ -297,11 +297,11 @@ export const TabNavigationScreen = () => { - + - + @@ -311,17 +311,27 @@ export const TabNavigationScreen = () => { - + - + ); }; +const TabNavigationWithState = (props: TabNavigation) => { + const [index, setIndex] = React.useState(0); + + return ( + + {props.children} + + ); +}; + const styles = StyleSheet.create({ dark: { backgroundColor: IOColors["blueIO-850"] diff --git a/example/yarn.lock b/example/yarn.lock index 6b198d4b..1060357c 100644 --- a/example/yarn.lock +++ b/example/yarn.lock @@ -1071,117 +1071,115 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@react-native-community/cli-clean@11.3.5": - version "11.3.5" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-clean/-/cli-clean-11.3.5.tgz#07c8a01e433ea6c6e32eb647908be48952888cdd" - integrity sha512-1+7BU962wKkIkHRp/uW3jYbQKKGtU7L+R3g59D8K6uLccuxJYUBJv18753ojMa6SD3SAq5Xh31bAre+YwVcOTA== +"@react-native-community/cli-clean@11.4.1": + version "11.4.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-clean/-/cli-clean-11.4.1.tgz#0155a02e4158c8a61ba3d7a2b08f3ebebed81906" + integrity sha512-cwUbY3c70oBGv3FvQJWe2Qkq6m1+/dcEBonMDTYyH6i+6OrkzI4RkIGpWmbG1IS5JfE9ISUZkNL3946sxyWNkw== dependencies: - "@react-native-community/cli-tools" "11.3.5" + "@react-native-community/cli-tools" "11.4.1" chalk "^4.1.2" execa "^5.0.0" prompts "^2.4.0" -"@react-native-community/cli-config@11.3.5": - version "11.3.5" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-config/-/cli-config-11.3.5.tgz#07e48bb6cdecaa2aafa20da9888b5f35383a4382" - integrity sha512-fMblIsHlUleKfGsgWyjFJYfx1SqrsnhS/QXfA8w7iT6GrNOOjBp5UWx8+xlMDFcmOb9e42g1ExFDKl3n8FWkxQ== +"@react-native-community/cli-config@11.4.1": + version "11.4.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-config/-/cli-config-11.4.1.tgz#c27f91d2753f0f803cc79bbf299f19648a5d5627" + integrity sha512-sLdv1HFVqu5xNpeaR1+std0t7FFZaobpmpR0lFCOzKV7H/l611qS2Vo8zssmMK+oQbCs5JsX3SFPciODeIlaWA== dependencies: - "@react-native-community/cli-tools" "11.3.5" + "@react-native-community/cli-tools" "11.4.1" chalk "^4.1.2" cosmiconfig "^5.1.0" deepmerge "^4.3.0" glob "^7.1.3" joi "^17.2.1" -"@react-native-community/cli-debugger-ui@11.3.5": - version "11.3.5" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-11.3.5.tgz#0dbb27759b9f6e4ca8cfcaab4fabfe349f765356" - integrity sha512-o5JVCKEpPUXMX4r3p1cYjiy3FgdOEkezZcQ6owWEae2dYvV19lLYyJwnocm9Y7aG9PvpgI3PIMVh3KZbhS21eA== +"@react-native-community/cli-debugger-ui@11.4.1": + version "11.4.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-11.4.1.tgz#783cc276e1360baf8235dc8c6ebbbce0fe01d944" + integrity sha512-+pgIjGNW5TrJF37XG3djIOzP+WNoPp67to/ggDhrshuYgpymfb9XpDVsURJugy0Sy3RViqb83kQNK765QzTIvw== dependencies: serve-static "^1.13.1" -"@react-native-community/cli-doctor@11.3.5": - version "11.3.5" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-doctor/-/cli-doctor-11.3.5.tgz#f11e0651c53e0b58487837a272af725f046a5842" - integrity sha512-+4BuFHjoV4FFjX5y60l0s6nS0agidb1izTVwsFixeFKW73LUkOLu+Ae5HI94RAFEPE4ePEVNgYX3FynIau6K0g== +"@react-native-community/cli-doctor@11.4.1": + version "11.4.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-doctor/-/cli-doctor-11.4.1.tgz#516ef5932de3e12989695e7cb7aba82b81e7b2de" + integrity sha512-O6oPiRsl8pdkcyNktpzvJAXUqdocoY4jh7Tt7wA69B1JKCJA7aPCecwJgpUZb63ZYoxOtRtYM3BYQKzRMLIuUw== dependencies: - "@react-native-community/cli-config" "11.3.5" - "@react-native-community/cli-platform-android" "11.3.5" - "@react-native-community/cli-platform-ios" "11.3.5" - "@react-native-community/cli-tools" "11.3.5" + "@react-native-community/cli-config" "11.4.1" + "@react-native-community/cli-platform-android" "11.4.1" + "@react-native-community/cli-platform-ios" "11.4.1" + "@react-native-community/cli-tools" "11.4.1" chalk "^4.1.2" command-exists "^1.2.8" envinfo "^7.7.2" execa "^5.0.0" hermes-profile-transformer "^0.0.6" - ip "^1.1.5" node-stream-zip "^1.9.1" ora "^5.4.1" prompts "^2.4.0" - semver "^6.3.0" + semver "^7.5.2" strip-ansi "^5.2.0" sudo-prompt "^9.0.0" wcwidth "^1.0.1" yaml "^2.2.1" -"@react-native-community/cli-hermes@11.3.5": - version "11.3.5" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-hermes/-/cli-hermes-11.3.5.tgz#fb557790a34f4354fa7a91b02217cdded26cafc4" - integrity sha512-+3m34hiaJpFel8BlJE7kJOaPzWR/8U8APZG2LXojbAdBAg99EGmQcwXIgsSVJFvH8h/nezf4DHbsPKigIe33zA== +"@react-native-community/cli-hermes@11.4.1": + version "11.4.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-hermes/-/cli-hermes-11.4.1.tgz#abf487ae8ab53c66f6f1178bcd37ecbbbac9fb5c" + integrity sha512-1VAjwcmv+i9BJTMMVn5Grw7AcgURhTyfHVghJ1YgBE2euEJxPuqPKSxP54wBOQKnWUwsuDQAtQf+jPJoCxJSSA== dependencies: - "@react-native-community/cli-platform-android" "11.3.5" - "@react-native-community/cli-tools" "11.3.5" + "@react-native-community/cli-platform-android" "11.4.1" + "@react-native-community/cli-tools" "11.4.1" chalk "^4.1.2" hermes-profile-transformer "^0.0.6" - ip "^1.1.5" -"@react-native-community/cli-platform-android@11.3.5": - version "11.3.5" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-11.3.5.tgz#8be7ef382a3182fe63a698ed2edd4d90ab19246a" - integrity sha512-s4Lj7FKxJ/BofGi/ifjPfrA9MjFwIgYpHnHBSlqtbsvPoSYzmVCU2qlWM8fb3AmkXIwyYt4A6MEr3MmNT2UoBg== +"@react-native-community/cli-platform-android@11.4.1", "@react-native-community/cli-platform-android@^11.4.1": + version "11.4.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-11.4.1.tgz#ec5fc97e87834f2e33cb0d34dcef6c17b20f60fc" + integrity sha512-VMmXWIzk0Dq5RAd+HIEa3Oe7xl2jso7+gOr6E2HALF4A3fCKUjKZQ6iK2t6AfnY04zftvaiKw6zUXtrfl52AVQ== dependencies: - "@react-native-community/cli-tools" "11.3.5" + "@react-native-community/cli-tools" "11.4.1" chalk "^4.1.2" execa "^5.0.0" glob "^7.1.3" logkitty "^0.7.1" -"@react-native-community/cli-platform-ios@11.3.5": - version "11.3.5" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-11.3.5.tgz#12a8cbf2638400b9986709466653ce4e7c9eca2a" - integrity sha512-ytJC/YCFD7P+KuQHOT5Jzh1ho2XbJEjq71yHa1gJP2PG/Q/uB4h1x2XpxDqv5iXU6E250yjvKMmkReKTW4CTig== +"@react-native-community/cli-platform-ios@11.4.1", "@react-native-community/cli-platform-ios@^11.4.1": + version "11.4.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-11.4.1.tgz#12d72741273b684734d5ed021415b7f543a6f009" + integrity sha512-RPhwn+q3IY9MpWc9w/Qmzv03mo8sXdah2eSZcECgweqD5SHWtOoRCUt11zM8jASpAQ8Tm5Je7YE9bHvdwGl4hA== dependencies: - "@react-native-community/cli-tools" "11.3.5" + "@react-native-community/cli-tools" "11.4.1" chalk "^4.1.2" execa "^5.0.0" fast-xml-parser "^4.0.12" glob "^7.1.3" ora "^5.4.1" -"@react-native-community/cli-plugin-metro@11.3.5": - version "11.3.5" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-plugin-metro/-/cli-plugin-metro-11.3.5.tgz#5614c7ef3bc83cf70bcb0e6d988ab9d84a76008a" - integrity sha512-r9AekfeLKdblB7LfWB71IrNy1XM03WrByQlUQajUOZAP2NmUUBLl9pMZscPjJeOSgLpHB9ixEFTIOhTabri/qg== +"@react-native-community/cli-plugin-metro@11.4.1": + version "11.4.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-plugin-metro/-/cli-plugin-metro-11.4.1.tgz#8d51c59a9a720f99150d4153e757d5d1d1dabd22" + integrity sha512-JxbIqknYcQ5Z4rWROtu5LNakLfMiKoWcMoPqIrBLrV5ILm1XUJj1/8fATCcotZqV3yzB3SCJ3RrhKx7dQ3YELw== dependencies: - "@react-native-community/cli-server-api" "11.3.5" - "@react-native-community/cli-tools" "11.3.5" + "@react-native-community/cli-server-api" "11.4.1" + "@react-native-community/cli-tools" "11.4.1" chalk "^4.1.2" execa "^5.0.0" - metro "0.76.7" - metro-config "0.76.7" - metro-core "0.76.7" - metro-react-native-babel-transformer "0.76.7" - metro-resolver "0.76.7" - metro-runtime "0.76.7" + metro "^0.76.9" + metro-config "^0.76.9" + metro-core "^0.76.9" + metro-react-native-babel-transformer "^0.76.9" + metro-resolver "^0.76.9" + metro-runtime "^0.76.9" readline "^1.3.0" -"@react-native-community/cli-server-api@11.3.5": - version "11.3.5" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-server-api/-/cli-server-api-11.3.5.tgz#6f43f5844bd1eb73166546b8fa8bfd32064b21e7" - integrity sha512-PM/jF13uD1eAKuC84lntNuM5ZvJAtyb+H896P1dBIXa9boPLa3KejfUvNVoyOUJ5s8Ht25JKbc3yieV2+GMBDA== +"@react-native-community/cli-server-api@11.4.1": + version "11.4.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-server-api/-/cli-server-api-11.4.1.tgz#3dda094c4ab2369db34fe991c320e3cd78f097b3" + integrity sha512-isxXE8X5x+C4kN90yilD08jaLWD34hfqTfn/Xbl1u/igtdTsCaQGvWe9eaFamrpWFWTpVtj6k+vYfy8AtYSiKA== dependencies: - "@react-native-community/cli-debugger-ui" "11.3.5" - "@react-native-community/cli-tools" "11.3.5" + "@react-native-community/cli-debugger-ui" "11.4.1" + "@react-native-community/cli-tools" "11.4.1" compression "^1.7.1" connect "^3.6.5" errorhandler "^1.5.1" @@ -1190,10 +1188,10 @@ serve-static "^1.13.1" ws "^7.5.1" -"@react-native-community/cli-tools@11.3.5": - version "11.3.5" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-11.3.5.tgz#3f9d23a4c961d963f85c254718636db8a5fa3bce" - integrity sha512-zDklE1+ah/zL4BLxut5XbzqCj9KTHzbYBKX7//cXw2/0TpkNCaY9c+iKx//gZ5m7U1OKbb86Fm2b0AKtKVRf6Q== +"@react-native-community/cli-tools@11.4.1": + version "11.4.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-11.4.1.tgz#f6c69967e077b10cd8a884a83e53eb199dd9ee9f" + integrity sha512-GuQIuY/kCPfLeXB1aiPZ5HvF+e/wdO42AYuNEmT7FpH/0nAhdTxA9qjL8m3vatDD2/YK7WNOSVNsl2UBZuOISg== dependencies: appdirsjs "^1.2.4" chalk "^4.1.2" @@ -1202,30 +1200,30 @@ node-fetch "^2.6.0" open "^6.2.0" ora "^5.4.1" - semver "^6.3.0" + semver "^7.5.2" shell-quote "^1.7.3" -"@react-native-community/cli-types@11.3.5": - version "11.3.5" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-11.3.5.tgz#9051205e164d5585f1ae3869a3b3ca1f2f43b9ba" - integrity sha512-pf0kdWMEfPSV/+8rcViDCFzbLMtWIHMZ8ay7hKwqaoWegsJ0oprSF2tSTH+LSC/7X1Beb9ssIvHj1m5C4es5Xg== +"@react-native-community/cli-types@11.4.1": + version "11.4.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-11.4.1.tgz#3842dc37ba3b09f929b485bcbd8218de19349ac2" + integrity sha512-B3q9A5BCneLDSoK/iSJ06MNyBn1qTxjdJeOgeS3MiCxgJpPcxyn/Yrc6+h0Cu9T9sgWj/dmectQPYWxtZeo5VA== dependencies: joi "^17.2.1" -"@react-native-community/cli@11.3.5": - version "11.3.5" - resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-11.3.5.tgz#18ac20ba96182662cf1088cbed20b6065935ddba" - integrity sha512-wMXgKEWe6uesw7vyXKKjx5EDRog0QdXHxdgRguG14AjQRao1+4gXEWq2yyExOTi/GDY6dfJBUGTCwGQxhnk/Lg== - dependencies: - "@react-native-community/cli-clean" "11.3.5" - "@react-native-community/cli-config" "11.3.5" - "@react-native-community/cli-debugger-ui" "11.3.5" - "@react-native-community/cli-doctor" "11.3.5" - "@react-native-community/cli-hermes" "11.3.5" - "@react-native-community/cli-plugin-metro" "11.3.5" - "@react-native-community/cli-server-api" "11.3.5" - "@react-native-community/cli-tools" "11.3.5" - "@react-native-community/cli-types" "11.3.5" +"@react-native-community/cli@^11.4.1": + version "11.4.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-11.4.1.tgz#9a6346486622860dad721da406df70e29a45491f" + integrity sha512-NdAageVMtNhtvRsrq4NgJf5Ey2nA1CqmLvn7PhSawg+aIzMKmZuzWxGVwr9CoPGyjvNiqJlCWrLGR7NzOyi/sA== + dependencies: + "@react-native-community/cli-clean" "11.4.1" + "@react-native-community/cli-config" "11.4.1" + "@react-native-community/cli-debugger-ui" "11.4.1" + "@react-native-community/cli-doctor" "11.4.1" + "@react-native-community/cli-hermes" "11.4.1" + "@react-native-community/cli-plugin-metro" "11.4.1" + "@react-native-community/cli-server-api" "11.4.1" + "@react-native-community/cli-tools" "11.4.1" + "@react-native-community/cli-types" "11.4.1" chalk "^4.1.2" commander "^9.4.1" execa "^5.0.0" @@ -1233,21 +1231,24 @@ fs-extra "^8.1.0" graceful-fs "^4.1.3" prompts "^2.4.0" - semver "^6.3.0" + semver "^7.5.2" "@react-native/assets-registry@^0.72.0": version "0.72.0" resolved "https://registry.yarnpkg.com/@react-native/assets-registry/-/assets-registry-0.72.0.tgz#c82a76a1d86ec0c3907be76f7faf97a32bbed05d" integrity sha512-Im93xRJuHHxb1wniGhBMsxLwcfzdYreSZVQGDoMJgkd6+Iky61LInGEHnQCTN0fKNYF1Dvcofb4uMmE1RQHXHQ== -"@react-native/codegen@^0.72.6": - version "0.72.6" - resolved "https://registry.yarnpkg.com/@react-native/codegen/-/codegen-0.72.6.tgz#029cf61f82f5c6872f0b2ce58f27c4239a5586c8" - integrity sha512-idTVI1es/oopN0jJT/0jB6nKdvTUKE3757zA5+NPXZTeB46CIRbmmos4XBiAec8ufu9/DigLPbHTYAaMNZJ6Ig== +"@react-native/codegen@^0.72.8": + version "0.72.8" + resolved "https://registry.yarnpkg.com/@react-native/codegen/-/codegen-0.72.8.tgz#0593f628e1310f430450a9479fbb4be35e7b63d6" + integrity sha512-jQCcBlXV7B7ap5VlHhwIPieYz89yiRgwd2FPUBu+unz+kcJ6pAiB2U8RdLDmyIs8fiWd+Vq1xxaWs4TR329/ng== dependencies: "@babel/parser" "^7.20.0" flow-parser "^0.206.0" + glob "^7.1.1" + invariant "^2.2.4" jscodeshift "^0.14.0" + mkdirp "^0.5.1" nullthrows "^1.1.1" "@react-native/gradle-plugin@^0.72.11": @@ -1270,20 +1271,15 @@ metro-react-native-babel-transformer "0.76.7" metro-runtime "0.76.7" -"@react-native/normalize-colors@*": - version "0.73.0" - resolved "https://registry.yarnpkg.com/@react-native/normalize-colors/-/normalize-colors-0.73.0.tgz#23e15cf2a2b73ac7e5e6df8d5b86b173cfb35a3f" - integrity sha512-EmSCmJ0djeMJadeFsms6Pl/R85i9xSJMc+tyJu/GEMkKXBVyYQyqanK4RHFU0v8MO90OWj+SiFXjCkKYiJ6mkg== - -"@react-native/normalize-colors@^0.72.0": +"@react-native/normalize-colors@<0.73.0", "@react-native/normalize-colors@^0.72.0": version "0.72.0" resolved "https://registry.yarnpkg.com/@react-native/normalize-colors/-/normalize-colors-0.72.0.tgz#14294b7ed3c1d92176d2a00df48456e8d7d62212" integrity sha512-285lfdqSXaqKuBbbtP9qL2tDrfxdOFtIMvkKadtleRQkdOxx+uzGvFr82KHmc/sSiMtfXGp7JnFYWVh4sFl7Yw== -"@react-native/virtualized-lists@^0.72.6": - version "0.72.6" - resolved "https://registry.yarnpkg.com/@react-native/virtualized-lists/-/virtualized-lists-0.72.6.tgz#375f88a1371927d803afad8d8a0ede3261464030" - integrity sha512-JhT6ydu35LvbSKdwnhWDuGHMOwM0WAh9oza/X8vXHA8ELHRyQ/4p8eKz/bTQcbQziJaaleUURToGhFuCtgiMoA== +"@react-native/virtualized-lists@^0.72.8": + version "0.72.8" + resolved "https://registry.yarnpkg.com/@react-native/virtualized-lists/-/virtualized-lists-0.72.8.tgz#a2c6a91ea0f1d40eb5a122fb063daedb92ed1dc3" + integrity sha512-J3Q4Bkuo99k7mu+jPS9gSUSgq+lLRSI/+ahXNwV92XgJ/8UgOTxu2LPwhJnBk/sQKxq7E8WkZBnBiozukQMqrw== dependencies: invariant "^2.2.4" nullthrows "^1.1.1" @@ -2179,14 +2175,14 @@ depd@2.0.0: resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== -deprecated-react-native-prop-types@4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/deprecated-react-native-prop-types/-/deprecated-react-native-prop-types-4.1.0.tgz#8ed03a64c21b7fbdd2d000957b6838d4f38d2c66" - integrity sha512-WfepZHmRbbdTvhcolb8aOKEvQdcmTMn5tKLbqbXmkBvjFjRVWAYqsXk/DBsV8TZxws8SdGHLuHaJrHSQUPRdfw== +deprecated-react-native-prop-types@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/deprecated-react-native-prop-types/-/deprecated-react-native-prop-types-4.2.3.tgz#0ef845c1a80ef1636bd09060e4cdf70f9727e5ad" + integrity sha512-2rLTiMKidIFFYpIVM69UnQKngLqQfL6I11Ch8wGSBftS18FUXda+o2we2950X+1dmbgps28niI3qwyH4eX3Z1g== dependencies: - "@react-native/normalize-colors" "*" - invariant "*" - prop-types "*" + "@react-native/normalize-colors" "<0.73.0" + invariant "^2.2.4" + prop-types "^15.8.1" destroy@1.2.0: version "1.2.0" @@ -2615,7 +2611,7 @@ glob-parent@^6.0.2: dependencies: is-glob "^4.0.3" -glob@^7.1.3, glob@^7.1.4: +glob@^7.1.1, glob@^7.1.3, glob@^7.1.4: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== @@ -2767,7 +2763,7 @@ inherits@2, inherits@2.0.4, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -invariant@*, invariant@^2.2.4: +invariant@^2.2.4: version "2.2.4" resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== @@ -2779,11 +2775,6 @@ io-ts@^2.2.20: resolved "https://registry.yarnpkg.com/io-ts/-/io-ts-2.2.20.tgz#be42b75f6668a2c44f706f72ee6e4c906777c7f5" integrity sha512-Rq2BsYmtwS5vVttie4rqrOCIfHCS9TgpRLFpKQCM1wZBBRY9nWVGmEvm2FnDbSE2un1UE39DvFpTR5UL47YDcA== -ip@^1.1.5: - version "1.1.9" - resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.9.tgz#8dfbcc99a754d07f425310b86a99546b1151e396" - integrity sha512-cyRxvOEpNHNtchU3Ln9KC/auJgup87llfQpQ+t5ghoC/UhL16SWzbueiCsdTnWmqAWl7LadfuwhlqmtOaqMHdQ== - is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" @@ -3230,6 +3221,13 @@ lru-cache@^5.1.1: dependencies: yallist "^3.0.2" +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + make-dir@^2.0.0, make-dir@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" @@ -3274,11 +3272,25 @@ metro-babel-transformer@0.76.7: hermes-parser "0.12.0" nullthrows "^1.1.1" +metro-babel-transformer@0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-babel-transformer/-/metro-babel-transformer-0.76.9.tgz#659ba481d471b5f748c31a8f9397094b629f50ec" + integrity sha512-dAnAmBqRdTwTPVn4W4JrowPolxD1MDbuU97u3MqtWZgVRvDpmr+Cqnn5oSxLQk3Uc+Zy3wkqVrB/zXNRlLDSAQ== + dependencies: + "@babel/core" "^7.20.0" + hermes-parser "0.12.0" + nullthrows "^1.1.1" + metro-cache-key@0.76.7: version "0.76.7" resolved "https://registry.yarnpkg.com/metro-cache-key/-/metro-cache-key-0.76.7.tgz#70913f43b92b313096673c37532edd07438cb325" integrity sha512-0pecoIzwsD/Whn/Qfa+SDMX2YyasV0ndbcgUFx7w1Ct2sLHClujdhQ4ik6mvQmsaOcnGkIyN0zcceMDjC2+BFQ== +metro-cache-key@0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-cache-key/-/metro-cache-key-0.76.9.tgz#6f17f821d6f306fa9028b7e79445eb18387d03d9" + integrity sha512-ugJuYBLngHVh1t2Jj+uP9pSCQl7enzVXkuh6+N3l0FETfqjgOaSHlcnIhMPn6yueGsjmkiIfxQU4fyFVXRtSTw== + metro-cache@0.76.7: version "0.76.7" resolved "https://registry.yarnpkg.com/metro-cache/-/metro-cache-0.76.7.tgz#e49e51423fa960df4eeff9760d131f03e003a9eb" @@ -3287,6 +3299,14 @@ metro-cache@0.76.7: metro-core "0.76.7" rimraf "^3.0.2" +metro-cache@0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-cache/-/metro-cache-0.76.9.tgz#64326d7a8b470c3886a5e97d5e2a20acab20bc5f" + integrity sha512-W6QFEU5AJG1gH4Ltv8S2IvhmEhSDYnbPafyj5fGR3YLysdykj+olKv9B0V+YQXtcLGyY5CqpXLYUx595GdiKzA== + dependencies: + metro-core "0.76.9" + rimraf "^3.0.2" + metro-config@0.76.7: version "0.76.7" resolved "https://registry.yarnpkg.com/metro-config/-/metro-config-0.76.7.tgz#f0fc171707523aa7d3a9311550872136880558c0" @@ -3300,6 +3320,19 @@ metro-config@0.76.7: metro-core "0.76.7" metro-runtime "0.76.7" +metro-config@0.76.9, metro-config@^0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-config/-/metro-config-0.76.9.tgz#5e60aff9d8894c1ee6bbc5de23b7c8515a0b84a3" + integrity sha512-oYyJ16PY3rprsfoi80L+gDJhFJqsKI3Pob5LKQbJpvL+gGr8qfZe1eQzYp5Xxxk9DOHKBV1xD94NB8GdT/DA8Q== + dependencies: + connect "^3.6.5" + cosmiconfig "^5.0.5" + jest-validate "^29.2.1" + metro "0.76.9" + metro-cache "0.76.9" + metro-core "0.76.9" + metro-runtime "0.76.9" + metro-core@0.76.7: version "0.76.7" resolved "https://registry.yarnpkg.com/metro-core/-/metro-core-0.76.7.tgz#5d2b8bac2cde801dc22666ad7be1336d1f021b61" @@ -3308,6 +3341,14 @@ metro-core@0.76.7: lodash.throttle "^4.1.1" metro-resolver "0.76.7" +metro-core@0.76.9, metro-core@^0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-core/-/metro-core-0.76.9.tgz#5f55f0fbde41d28957e4f3bb187d32251403f00e" + integrity sha512-DSeEr43Wrd5Q7ySfRzYzDwfV89g2OZTQDf1s3exOcLjE5fb7awoLOkA2h46ZzN8NcmbbM0cuJy6hOwF073/yRQ== + dependencies: + lodash.throttle "^4.1.1" + metro-resolver "0.76.9" + metro-file-map@0.76.7: version "0.76.7" resolved "https://registry.yarnpkg.com/metro-file-map/-/metro-file-map-0.76.7.tgz#0f041a4f186ac672f0188180310609c8483ffe89" @@ -3328,6 +3369,26 @@ metro-file-map@0.76.7: optionalDependencies: fsevents "^2.3.2" +metro-file-map@0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-file-map/-/metro-file-map-0.76.9.tgz#dd3d76ec23fc0ba8cb7b3a3b8075bb09e0b5d378" + integrity sha512-7vJd8kksMDTO/0fbf3081bTrlw8SLiploeDf+vkkf0OwlrtDUWPOikfebp+MpZB2S61kamKjCNRfRkgrbPfSwg== + dependencies: + anymatch "^3.0.3" + debug "^2.2.0" + fb-watchman "^2.0.0" + graceful-fs "^4.2.4" + invariant "^2.2.4" + jest-regex-util "^27.0.6" + jest-util "^27.2.0" + jest-worker "^27.2.0" + micromatch "^4.0.4" + node-abort-controller "^3.1.1" + nullthrows "^1.1.1" + walker "^1.0.7" + optionalDependencies: + fsevents "^2.3.2" + metro-inspector-proxy@0.76.7: version "0.76.7" resolved "https://registry.yarnpkg.com/metro-inspector-proxy/-/metro-inspector-proxy-0.76.7.tgz#c067df25056e932002a72a4b45cf7b4b749f808e" @@ -3339,6 +3400,17 @@ metro-inspector-proxy@0.76.7: ws "^7.5.1" yargs "^17.6.2" +metro-inspector-proxy@0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-inspector-proxy/-/metro-inspector-proxy-0.76.9.tgz#0d333e64a7bc9d156d712265faa7b7ae88c775e8" + integrity sha512-idIiPkb8CYshc0WZmbzwmr4B1QwsQUbpDwBzHwxE1ni27FWKWhV9CD5p+qlXZHgfwJuMRfPN+tIaLSR8+vttYg== + dependencies: + connect "^3.6.5" + debug "^2.2.0" + node-fetch "^2.2.0" + ws "^7.5.1" + yargs "^17.6.2" + metro-minify-terser@0.76.7: version "0.76.7" resolved "https://registry.yarnpkg.com/metro-minify-terser/-/metro-minify-terser-0.76.7.tgz#aefac8bb8b6b3a0fcb5ea0238623cf3e100893ff" @@ -3346,6 +3418,13 @@ metro-minify-terser@0.76.7: dependencies: terser "^5.15.0" +metro-minify-terser@0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-minify-terser/-/metro-minify-terser-0.76.9.tgz#3f6271da74dd57179852118443b62cc8dc578aab" + integrity sha512-ju2nUXTKvh96vHPoGZH/INhSvRRKM14CbGAJXQ98+g8K5z1v3luYJ/7+dFQB202eVzJdTB2QMtBjI1jUUpooCg== + dependencies: + terser "^5.15.0" + metro-minify-uglify@0.76.7: version "0.76.7" resolved "https://registry.yarnpkg.com/metro-minify-uglify/-/metro-minify-uglify-0.76.7.tgz#3e0143786718dcaea4e28a724698d4f8ac199a43" @@ -3353,6 +3432,13 @@ metro-minify-uglify@0.76.7: dependencies: uglify-es "^3.1.9" +metro-minify-uglify@0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-minify-uglify/-/metro-minify-uglify-0.76.9.tgz#e88c30c27911c053e1ee20e12077f0f4cbb154f8" + integrity sha512-MXRrM3lFo62FPISlPfTqC6n9HTEI3RJjDU5SvpE7sJFfJKLx02xXQEltsL/wzvEqK+DhRQ5DEYACTwf5W4Z3yA== + dependencies: + uglify-es "^3.1.9" + metro-react-native-babel-preset@0.76.7: version "0.76.7" resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.76.7.tgz#dfe15c040d0918147a8b0e9f530d558287acbb54" @@ -3398,6 +3484,51 @@ metro-react-native-babel-preset@0.76.7: babel-plugin-transform-flow-enums "^0.0.2" react-refresh "^0.4.0" +metro-react-native-babel-preset@0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.76.9.tgz#15868142122af14313429d7572c15cf01c16f077" + integrity sha512-eCBtW/UkJPDr6HlMgFEGF+964DZsUEF9RGeJdZLKWE7d/0nY3ABZ9ZAGxzu9efQ35EWRox5bDMXUGaOwUe5ikQ== + dependencies: + "@babel/core" "^7.20.0" + "@babel/plugin-proposal-async-generator-functions" "^7.0.0" + "@babel/plugin-proposal-class-properties" "^7.18.0" + "@babel/plugin-proposal-export-default-from" "^7.0.0" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.0" + "@babel/plugin-proposal-numeric-separator" "^7.0.0" + "@babel/plugin-proposal-object-rest-spread" "^7.20.0" + "@babel/plugin-proposal-optional-catch-binding" "^7.0.0" + "@babel/plugin-proposal-optional-chaining" "^7.20.0" + "@babel/plugin-syntax-dynamic-import" "^7.8.0" + "@babel/plugin-syntax-export-default-from" "^7.0.0" + "@babel/plugin-syntax-flow" "^7.18.0" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.0.0" + "@babel/plugin-syntax-optional-chaining" "^7.0.0" + "@babel/plugin-transform-arrow-functions" "^7.0.0" + "@babel/plugin-transform-async-to-generator" "^7.20.0" + "@babel/plugin-transform-block-scoping" "^7.0.0" + "@babel/plugin-transform-classes" "^7.0.0" + "@babel/plugin-transform-computed-properties" "^7.0.0" + "@babel/plugin-transform-destructuring" "^7.20.0" + "@babel/plugin-transform-flow-strip-types" "^7.20.0" + "@babel/plugin-transform-function-name" "^7.0.0" + "@babel/plugin-transform-literals" "^7.0.0" + "@babel/plugin-transform-modules-commonjs" "^7.0.0" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.0.0" + "@babel/plugin-transform-parameters" "^7.0.0" + "@babel/plugin-transform-react-display-name" "^7.0.0" + "@babel/plugin-transform-react-jsx" "^7.0.0" + "@babel/plugin-transform-react-jsx-self" "^7.0.0" + "@babel/plugin-transform-react-jsx-source" "^7.0.0" + "@babel/plugin-transform-runtime" "^7.0.0" + "@babel/plugin-transform-shorthand-properties" "^7.0.0" + "@babel/plugin-transform-spread" "^7.0.0" + "@babel/plugin-transform-sticky-regex" "^7.0.0" + "@babel/plugin-transform-typescript" "^7.5.0" + "@babel/plugin-transform-unicode-regex" "^7.0.0" + "@babel/template" "^7.0.0" + babel-plugin-transform-flow-enums "^0.0.2" + react-refresh "^0.4.0" + metro-react-native-babel-preset@^0.77.0: version "0.77.0" resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.77.0.tgz#47457eca8e36b77156afbe790247a70dbb40faaa" @@ -3454,11 +3585,27 @@ metro-react-native-babel-transformer@0.76.7: metro-react-native-babel-preset "0.76.7" nullthrows "^1.1.1" +metro-react-native-babel-transformer@^0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-react-native-babel-transformer/-/metro-react-native-babel-transformer-0.76.9.tgz#464aab85669ed39f7a59f1fd993a05de9543b09e" + integrity sha512-xXzHcfngSIkbQj+U7i/anFkNL0q2QVarYSzr34CFkzKLa79Rp16B8ki7z9eVVqo9W3B4TBcTXl3BipgRoOoZSQ== + dependencies: + "@babel/core" "^7.20.0" + babel-preset-fbjs "^3.4.0" + hermes-parser "0.12.0" + metro-react-native-babel-preset "0.76.9" + nullthrows "^1.1.1" + metro-resolver@0.76.7: version "0.76.7" resolved "https://registry.yarnpkg.com/metro-resolver/-/metro-resolver-0.76.7.tgz#f00ebead64e451c060f30926ecbf4f797588df52" integrity sha512-pC0Wgq29HHIHrwz23xxiNgylhI8Rq1V01kQaJ9Kz11zWrIdlrH0ZdnJ7GC6qA0ErROG+cXmJ0rJb8/SW1Zp2IA== +metro-resolver@0.76.9, metro-resolver@^0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-resolver/-/metro-resolver-0.76.9.tgz#79c244784b16ca56076bc1fc816d2ba74860e882" + integrity sha512-s86ipNRas9vNR5lChzzSheF7HoaQEmzxBLzwFA6/2YcGmUCowcoyPAfs1yPh4cjMw9F1T4KlMLaiwniGE7HCyw== + metro-runtime@0.76.7: version "0.76.7" resolved "https://registry.yarnpkg.com/metro-runtime/-/metro-runtime-0.76.7.tgz#4d75f2dbbcd19a4f01e0d89494e140b0ba8247e4" @@ -3467,6 +3614,14 @@ metro-runtime@0.76.7: "@babel/runtime" "^7.0.0" react-refresh "^0.4.0" +metro-runtime@0.76.9, metro-runtime@^0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-runtime/-/metro-runtime-0.76.9.tgz#f8ebe150f8896ce1aef5d7f3a52844f8b4f721fb" + integrity sha512-/5vezDpGUtA0Fv6cJg0+i6wB+QeBbvLeaw9cTSG7L76liP0b91f8vOcYzGaUbHI8pznJCCTerxRzpQ8e3/NcDw== + dependencies: + "@babel/runtime" "^7.0.0" + react-refresh "^0.4.0" + metro-source-map@0.76.7: version "0.76.7" resolved "https://registry.yarnpkg.com/metro-source-map/-/metro-source-map-0.76.7.tgz#9a4aa3a35e1e8ffde9a74cd7ab5f49d9d4a4da14" @@ -3481,6 +3636,20 @@ metro-source-map@0.76.7: source-map "^0.5.6" vlq "^1.0.0" +metro-source-map@0.76.9, metro-source-map@^0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-source-map/-/metro-source-map-0.76.9.tgz#0f976ada836717f307427d3830aea52a2ca7ed5f" + integrity sha512-q5qsMlu8EFvsT46wUUh+ao+efDsicT30zmaPATNhq+PcTawDbDgnMuUD+FT0bvxxnisU2PWl91RdzKfNc2qPQA== + dependencies: + "@babel/traverse" "^7.20.0" + "@babel/types" "^7.20.0" + invariant "^2.2.4" + metro-symbolicate "0.76.9" + nullthrows "^1.1.1" + ob1 "0.76.9" + source-map "^0.5.6" + vlq "^1.0.0" + metro-symbolicate@0.76.7: version "0.76.7" resolved "https://registry.yarnpkg.com/metro-symbolicate/-/metro-symbolicate-0.76.7.tgz#1720e6b4ce5676935d7a8a440f25d3f16638e87a" @@ -3493,6 +3662,18 @@ metro-symbolicate@0.76.7: through2 "^2.0.1" vlq "^1.0.0" +metro-symbolicate@0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-symbolicate/-/metro-symbolicate-0.76.9.tgz#f1627ef6f73bb0c4d48c55684d3c87866a0b0920" + integrity sha512-Yyq6Ukj/IeWnGST09kRt0sBK8TwzGZWoU7YAcQlh14+AREH454Olx4wbFTpkkhUkV05CzNCvUuXQ0efFxhA1bw== + dependencies: + invariant "^2.2.4" + metro-source-map "0.76.9" + nullthrows "^1.1.1" + source-map "^0.5.6" + through2 "^2.0.1" + vlq "^1.0.0" + metro-transform-plugins@0.76.7: version "0.76.7" resolved "https://registry.yarnpkg.com/metro-transform-plugins/-/metro-transform-plugins-0.76.7.tgz#5d5f75371706fbf5166288e43ffd36b5e5bd05bc" @@ -3504,6 +3685,17 @@ metro-transform-plugins@0.76.7: "@babel/traverse" "^7.20.0" nullthrows "^1.1.1" +metro-transform-plugins@0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-transform-plugins/-/metro-transform-plugins-0.76.9.tgz#73e34f2014d3df3c336a882b13e541bceb826d37" + integrity sha512-YEQeNlOCt92I7S9A3xbrfaDfwfgcxz9PpD/1eeop3c4cO3z3Q3otYuxw0WJ/rUIW8pZfOm5XCehd+1NRbWlAaw== + dependencies: + "@babel/core" "^7.20.0" + "@babel/generator" "^7.20.0" + "@babel/template" "^7.0.0" + "@babel/traverse" "^7.20.0" + nullthrows "^1.1.1" + metro-transform-worker@0.76.7: version "0.76.7" resolved "https://registry.yarnpkg.com/metro-transform-worker/-/metro-transform-worker-0.76.7.tgz#b842d5a542f1806cca401633fc002559b3e3d668" @@ -3522,6 +3714,25 @@ metro-transform-worker@0.76.7: metro-transform-plugins "0.76.7" nullthrows "^1.1.1" +metro-transform-worker@0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro-transform-worker/-/metro-transform-worker-0.76.9.tgz#281fad223f0447e1ff9cc44d6f7e33dfab9ab120" + integrity sha512-F69A0q0qFdJmP2Clqr6TpTSn4WTV9p5A28h5t9o+mB22ryXBZfUQ6BFBBW/6Wp2k/UtPH+oOsBfV9guiqm3d2Q== + dependencies: + "@babel/core" "^7.20.0" + "@babel/generator" "^7.20.0" + "@babel/parser" "^7.20.0" + "@babel/types" "^7.20.0" + babel-preset-fbjs "^3.4.0" + metro "0.76.9" + metro-babel-transformer "0.76.9" + metro-cache "0.76.9" + metro-cache-key "0.76.9" + metro-minify-terser "0.76.9" + metro-source-map "0.76.9" + metro-transform-plugins "0.76.9" + nullthrows "^1.1.1" + metro@0.76.7: version "0.76.7" resolved "https://registry.yarnpkg.com/metro/-/metro-0.76.7.tgz#4885917ad28738c7d1e556630e0155f687336230" @@ -3576,6 +3787,59 @@ metro@0.76.7: ws "^7.5.1" yargs "^17.6.2" +metro@0.76.9, metro@^0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/metro/-/metro-0.76.9.tgz#605fddf1a54d27762ddba2f636420ae2408862df" + integrity sha512-gcjcfs0l5qIPg0lc5P7pj0x7vPJ97tan+OnEjiYLbKjR1D7Oa78CE93YUPyymUPH6q7VzlzMm1UjT35waEkZUw== + dependencies: + "@babel/code-frame" "^7.0.0" + "@babel/core" "^7.20.0" + "@babel/generator" "^7.20.0" + "@babel/parser" "^7.20.0" + "@babel/template" "^7.0.0" + "@babel/traverse" "^7.20.0" + "@babel/types" "^7.20.0" + accepts "^1.3.7" + async "^3.2.2" + chalk "^4.0.0" + ci-info "^2.0.0" + connect "^3.6.5" + debug "^2.2.0" + denodeify "^1.2.1" + error-stack-parser "^2.0.6" + graceful-fs "^4.2.4" + hermes-parser "0.12.0" + image-size "^1.0.2" + invariant "^2.2.4" + jest-worker "^27.2.0" + jsc-safe-url "^0.2.2" + lodash.throttle "^4.1.1" + metro-babel-transformer "0.76.9" + metro-cache "0.76.9" + metro-cache-key "0.76.9" + metro-config "0.76.9" + metro-core "0.76.9" + metro-file-map "0.76.9" + metro-inspector-proxy "0.76.9" + metro-minify-uglify "0.76.9" + metro-react-native-babel-preset "0.76.9" + metro-resolver "0.76.9" + metro-runtime "0.76.9" + metro-source-map "0.76.9" + metro-symbolicate "0.76.9" + metro-transform-plugins "0.76.9" + metro-transform-worker "0.76.9" + mime-types "^2.1.27" + node-fetch "^2.2.0" + nullthrows "^1.1.1" + rimraf "^3.0.2" + serialize-error "^2.1.0" + source-map "^0.5.6" + strip-ansi "^6.0.0" + throat "^5.0.0" + ws "^7.5.1" + yargs "^17.6.2" + micromatch@^4.0.4: version "4.0.5" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" @@ -3733,6 +3997,11 @@ ob1@0.76.7: resolved "https://registry.yarnpkg.com/ob1/-/ob1-0.76.7.tgz#95b68fadafd47e7a6a0ad64cf80f3140dd6d1124" integrity sha512-BQdRtxxoUNfSoZxqeBGOyuT9nEYSn18xZHwGMb0mMVpn2NBcYbnyKY4BK2LIHRgw33CBGlUmE+KMaNvyTpLLtQ== +ob1@0.76.9: + version "0.76.9" + resolved "https://registry.yarnpkg.com/ob1/-/ob1-0.76.9.tgz#a493e4b83a0fb39200de639804b5d06eed5599dc" + integrity sha512-g0I/OLnSxf6OrN3QjSew3bTDJCdbZoWxnh8adh1z36alwCuGF1dgDeRA25bTYSakrG5WULSaWJPOdgnf1O/oQw== + object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" @@ -3981,7 +4250,7 @@ prompts@^2.4.0: kleur "^3.0.3" sisteransi "^1.0.5" -prop-types@*, prop-types@^15.7.2: +prop-types@^15.7.2, prop-types@^15.8.1: version "15.8.1" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== @@ -4107,33 +4376,34 @@ react-native-svg@^15.1.0: css-select "^5.1.0" css-tree "^1.1.3" -react-native@0.72.3: - version "0.72.3" - resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.72.3.tgz#f8d85ec81c9f3592d091ec8e9ac1694956a72765" - integrity sha512-QqISi+JVmCssNP2FlQ4MWhlc4O/I00MRE1/GClvyZ8h/6kdsyk/sOirkYdZqX3+DrJfI3q+OnyMnsyaXIQ/5tQ== +react-native@0.72.12: + version "0.72.12" + resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.72.12.tgz#480440d350530ac9485543f6eb058cd860fc1735" + integrity sha512-aQoibDdvylyPZ9qOqpLNpNPz6tU0rScc2yUgFj0VuhPEFB+gsqQW9CkZGSnhuYRkDF0cBqUEEcWiWbH3gR+Pog== dependencies: "@jest/create-cache-key-function" "^29.2.1" - "@react-native-community/cli" "11.3.5" - "@react-native-community/cli-platform-android" "11.3.5" - "@react-native-community/cli-platform-ios" "11.3.5" + "@react-native-community/cli" "^11.4.1" + "@react-native-community/cli-platform-android" "^11.4.1" + "@react-native-community/cli-platform-ios" "^11.4.1" "@react-native/assets-registry" "^0.72.0" - "@react-native/codegen" "^0.72.6" + "@react-native/codegen" "^0.72.8" "@react-native/gradle-plugin" "^0.72.11" "@react-native/js-polyfills" "^0.72.1" "@react-native/normalize-colors" "^0.72.0" - "@react-native/virtualized-lists" "^0.72.6" + "@react-native/virtualized-lists" "^0.72.8" abort-controller "^3.0.0" anser "^1.4.9" + ansi-regex "^5.0.0" base64-js "^1.1.2" - deprecated-react-native-prop-types "4.1.0" + deprecated-react-native-prop-types "^4.2.3" event-target-shim "^5.0.1" flow-enums-runtime "^0.0.5" invariant "^2.2.4" jest-environment-node "^29.2.1" jsc-android "^250231.0.0" memoize-one "^5.0.0" - metro-runtime "0.76.7" - metro-source-map "0.76.7" + metro-runtime "^0.76.9" + metro-source-map "^0.76.9" mkdirp "^0.5.1" nullthrows "^1.1.1" pretty-format "^26.5.2" @@ -4363,6 +4633,13 @@ semver@^6.3.0, semver@^6.3.1: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== +semver@^7.5.2: + version "7.6.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d" + integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg== + dependencies: + lru-cache "^6.0.0" + send@0.18.0: version "0.18.0" resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" @@ -4922,6 +5199,11 @@ yallist@^3.0.2: resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + yaml@^1.10.0: version "1.10.2" resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" diff --git a/package.json b/package.json index 7c298423..d4356bb4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pagopa/io-app-design-system", - "version": "1.33.0", + "version": "1.36.0", "description": "The library defining the core components of the design system of @pagopa/io-app", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/src/components/buttons/ButtonSolid.tsx b/src/components/buttons/ButtonSolid.tsx index baee1f78..783712e1 100644 --- a/src/components/buttons/ButtonSolid.tsx +++ b/src/components/buttons/ButtonSolid.tsx @@ -107,8 +107,8 @@ const mapColorStates: Record< }, // Danger button danger: { - default: IOColors["error-850"], - pressed: IOColors["error-600"], + default: IOColors["error-600"], + pressed: IOColors["error-500"], label: { default: "white", disabled: "grey-700" diff --git a/src/components/listitems/ListItemAction.tsx b/src/components/listitems/ListItemAction.tsx index 28d56fc5..3b8bdd85 100644 --- a/src/components/listitems/ListItemAction.tsx +++ b/src/components/listitems/ListItemAction.tsx @@ -80,7 +80,7 @@ export const ListItemAction = ({ IOColors > = { primary: "blue", - danger: "error-850" + danger: "error-600" }; const mapForegroundColor: Record< diff --git a/src/components/listitems/ListItemNav.tsx b/src/components/listitems/ListItemNav.tsx index d7e87f7b..86a2d46d 100644 --- a/src/components/listitems/ListItemNav.tsx +++ b/src/components/listitems/ListItemNav.tsx @@ -1,4 +1,4 @@ -import React, { ComponentProps, useCallback } from "react"; +import React, { ComponentProps, ReactNode, useCallback } from "react"; import { GestureResponderEvent, Image, @@ -28,6 +28,7 @@ import { useIOTheme } from "../../core"; import { WithTestID } from "../../utils/types"; +import { Avatar } from "../avatar"; import { Badge } from "../badge"; import { IOIcons, Icon } from "../icons"; import { LoadingSpinner } from "../loadingSpinner"; @@ -59,9 +60,30 @@ type ListItemNavPartialProps = WithTestID< >; export type ListItemNavGraphicProps = - | { icon?: never; iconColor?: never; paymentLogoUri: string } - | { icon: IOIcons; iconColor?: IOColors; paymentLogoUri?: never } - | { icon?: never; iconColor?: never; paymentLogoUri?: never }; + | { + avatarProps: Omit, "size">; + icon?: never; + iconColor?: never; + paymentLogoUri?: never; + } + | { + avatarProps?: never; + icon?: never; + iconColor?: never; + paymentLogoUri: string; + } + | { + avatarProps?: never; + icon: IOIcons; + iconColor?: IOColors; + paymentLogoUri?: never; + } + | { + avatarProps?: never; + icon?: never; + iconColor?: never; + paymentLogoUri?: never; + }; export type ListItemNav = ListItemNavPartialProps & ListItemNavGraphicProps; @@ -78,6 +100,7 @@ export const ListItemNav = ({ onPress, icon, iconColor = "grey-450", + avatarProps: avatar, paymentLogoUri, accessibilityLabel, accessibilityHint, @@ -90,6 +113,12 @@ export const ListItemNav = ({ const { isExperimental } = useIOExperimentalDesign(); const theme = useIOTheme(); + const withMargin = (GraphicalAsset: ReactNode) => ( + + {GraphicalAsset} + + ); + const listItemNavContent = ( <> {topElement && ( @@ -213,28 +242,29 @@ export const ListItemNav = ({ - {icon && ( - + {/* Possibile graphical assets + - Icon + - Image URL (for payment logos) + - Avatar + */} + {icon && + withMargin( - - )} - {paymentLogoUri && ( - + )} + {paymentLogoUri && + withMargin( - {/* */} - - )} + )} + {avatar && withMargin()} + {listItemNavContent} {loading && } {!loading && !hideChevron && ( diff --git a/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap b/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap index e112465b..72e0a08e 100644 --- a/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +++ b/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap @@ -777,7 +777,7 @@ exports[`Test List Item Components - Experimental Enabled ListItemNavAlert Snap "borderWidth": 0, }, { - "color": "#FE6666", + "color": "#D13333", }, { "flex": 0, @@ -786,7 +786,7 @@ exports[`Test List Item Components - Experimental Enabled ListItemNavAlert Snap }, ] } - tintColor="#FE6666" + tintColor="#D13333" vbHeight={24} vbWidth={24} width={24} @@ -2582,7 +2582,7 @@ exports[`Test List Item Components ListItemNavAlert Snapshot 1`] = ` "borderWidth": 0, }, { - "color": "#FE6666", + "color": "#D13333", }, { "flex": 0, @@ -2591,7 +2591,7 @@ exports[`Test List Item Components ListItemNavAlert Snapshot 1`] = ` }, ] } - tintColor="#FE6666" + tintColor="#D13333" vbHeight={24} vbWidth={24} width={24} diff --git a/src/components/modules/ModuleCheckout.tsx b/src/components/modules/ModuleCheckout.tsx index 8e781e88..b105784c 100644 --- a/src/components/modules/ModuleCheckout.tsx +++ b/src/components/modules/ModuleCheckout.tsx @@ -1,8 +1,15 @@ import * as React from "react"; -import { StyleSheet, View } from "react-native"; +import { + Image, + ImageSourcePropType, + ImageURISource, + StyleSheet, + View +} from "react-native"; import Placeholder from "rn-placeholder"; import { IOModuleStyles, + IOSelectionListItemVisualParams, IOSpacingScale, IOStyles, useIOTheme @@ -13,54 +20,57 @@ import { HSpacer, VSpacer } from "../spacer"; import { H6, LabelSmall } from "../typography"; import { PressableModuleBase } from "./PressableModuleBase"; -// ---------------- types ---------------- - -type ModuleCheckoutPartialProps = - | { - isLoading?: false; - paymentLogo?: IOLogoPaymentType; - title: string; - subtitle?: string; - onPress: () => void; - } - | { - isLoading: true; - paymentLogo?: never; - title?: never; - subtitle?: never; - onPress?: never; - }; - -export type ModuleCheckoutProps = ModuleCheckoutPartialProps & { +type LoadingProps = { + isLoading: true; ctaText?: string; }; -type ActionOnlyProps = { text?: string }; +type ImageProps = + | { paymentLogo: IOLogoPaymentType; image?: never } + | { paymentLogo?: never; image: ImageURISource | ImageSourcePropType } + | { paymentLogo?: never; image?: never }; -// ---------------- component ---------------- +type BaseProps = { + isLoading?: false; + paymentLogo?: IOLogoPaymentType; + title: string; + subtitle?: string; + ctaText?: string; + onPress: () => void; +} & ImageProps; + +export type ModuleCheckoutProps = LoadingProps | BaseProps; export const ModuleCheckout = (props: ModuleCheckoutProps) => { const theme = useIOTheme(); if (props.isLoading) { - return ; + return ; } - const paymentLogoEndMargin: IOSpacingScale = 12; + const { paymentLogo, image } = props; - const ModuleBaseContent = () => ( - - {/* - we don't want to let the `space-between` - handle spacing for the logo/text section, - so we use a row and a marginEnd on the logo - */} - {props.paymentLogo && ( - - + const imageComponent = ( + <> + {paymentLogo && ( + + )} - + {image && ( + + )} + + ); + + const ModuleBaseContent = () => ( + <> + {imageComponent} +
{props.title}
{props.subtitle && ( @@ -68,14 +78,14 @@ export const ModuleCheckout = (props: ModuleCheckoutProps) => { )}
-
+ ); if (props.ctaText) { return ( - {props.ctaText && } + {props.ctaText && } ); } @@ -87,21 +97,19 @@ export const ModuleCheckout = (props: ModuleCheckoutProps) => { ); }; -// ---------------- sub-components---------------- - -const ModuleAction = ({ text }: ActionOnlyProps) => ( +const ModuleAction = ({ ctaText }: Pick) => ( null} /> ); -const LoadingVersion = ({ text }: ActionOnlyProps) => ( +const LoadingVersion = ({ ctaText }: LoadingProps) => ( - + @@ -110,16 +118,23 @@ const LoadingVersion = ({ text }: ActionOnlyProps) => ( - + ); -// ---------------- styles ---------------- +const imageMarginRight: IOSpacingScale = 12; const styles = StyleSheet.create({ - rowCenter: { - flexDirection: "row", - alignItems: "center", - flex: 1 + imageWrapper: { + marginRight: imageMarginRight + }, + image: { + width: IOSelectionListItemVisualParams.iconSize, + height: IOSelectionListItemVisualParams.iconSize, + resizeMode: "contain" + }, + content: { + flexGrow: 1, + flexShrink: 1 } }); diff --git a/src/components/tabs/TabNavigation.tsx b/src/components/tabs/TabNavigation.tsx index 0b5b546a..72d0e9bc 100644 --- a/src/components/tabs/TabNavigation.tsx +++ b/src/components/tabs/TabNavigation.tsx @@ -34,20 +34,12 @@ const itemsJustify: Record = { const TabNavigation = ({ color = "light", - selectedIndex: forceSelectedIndex, + selectedIndex, tabAlignment = "center", onItemPress, children }: TabNavigation) => { const [itemMinWidth, setItemMinWidth] = React.useState(0); - const [selectedIndex, setSelectedIndex] = React.useState( - forceSelectedIndex ?? 0 - ); - - const handleItemPress = (index: number) => { - setSelectedIndex(forceSelectedIndex ?? index); - onItemPress?.(index); - }; const handleItemOnLayout = (event: LayoutChangeEvent) => { const { width } = event.nativeEvent.layout; @@ -73,7 +65,7 @@ const TabNavigation = ({ {React.cloneElement(child, { onPress: event => { child.props.onPress?.(event); - handleItemPress(index); + onItemPress?.(index); }, selected: selectedIndex === index, color diff --git a/src/components/toast/__tests__/__snapshots__/ToastNotification.test.tsx.snap b/src/components/toast/__tests__/__snapshots__/ToastNotification.test.tsx.snap index 3551372b..51d0b49a 100644 --- a/src/components/toast/__tests__/__snapshots__/ToastNotification.test.tsx.snap +++ b/src/components/toast/__tests__/__snapshots__/ToastNotification.test.tsx.snap @@ -142,8 +142,8 @@ exports[`Test ToastNotification component - Experimental Enabled should match sn "padding": 16, }, { - "backgroundColor": "#FFE0E0", - "borderColor": "#761F1F", + "backgroundColor": "#FFD9D9", + "borderColor": "#5D1313", }, ] } @@ -169,7 +169,7 @@ exports[`Test ToastNotification component - Experimental Enabled should match sn "fontSize": 16, }, { - "color": "#761F1F", + "color": "#5D1313", "fontFamily": "Readex Pro", "fontStyle": "normal", "fontWeight": "400", @@ -557,8 +557,8 @@ exports[`Test ToastNotification component should match snapshot for props ({ mes "padding": 16, }, { - "backgroundColor": "#FFE0E0", - "borderColor": "#761F1F", + "backgroundColor": "#FFD9D9", + "borderColor": "#5D1313", }, ] } @@ -584,7 +584,7 @@ exports[`Test ToastNotification component should match snapshot for props ({ mes "fontSize": 16, }, { - "color": "#761F1F", + "color": "#5D1313", "fontFamily": "Titillium Web", "fontStyle": "normal", "fontWeight": "700", diff --git a/src/core/IOColors.ts b/src/core/IOColors.ts index 190cf9f7..4aedf576 100644 --- a/src/core/IOColors.ts +++ b/src/core/IOColors.ts @@ -56,11 +56,11 @@ export const IOColors = asIOColors({ "turquoise-150": "#AAEEEF", "turquoise-100": "#C2F3F4", "turquoise-50": "#DBF9FA", - "error-850": "#761F1F", - "error-600": "#D75252", - "error-500": "#FE6666", - "error-400": "#FE8585" /* Dark mode */, - "error-100": "#FFE0E0", + "error-850": "#5D1313", + "error-600": "#D13333", + "error-500": "#FF4040", + "error-400": "#FF6666" /* Dark mode */, + "error-100": "#FFD9D9", "warning-850": "#614C15", "warning-700": "#A5822A", "warning-500": "#FFCB46", @@ -319,8 +319,8 @@ export const IOThemeLight: IOTheme = { // Layout "divider-default": "grey-200", // Status - errorIcon: "error-500", - errorText: "error-850", + errorIcon: "error-600", + errorText: "error-600", // Pictograms "pictogram-hands": "blueIO-500", "pictogram-tint-main": "turquoise-150", From cdfea556c9f5673ff9d02b5fa918dbf80c758fcd Mon Sep 17 00:00:00 2001 From: Damiano Plebani Date: Mon, 22 Apr 2024 15:38:30 +0200 Subject: [PATCH 3/3] Add our first *.riv file made in house --- .../app/src/main/assets/custom/umbrella.riv | Bin 0 -> 19704 bytes example/android/link-assets-manifest.json | 4 ++++ example/assets/animated-pictograms/umbrella.riv | Bin 0 -> 19704 bytes .../ios/ExampleApp.xcodeproj/project.pbxproj | 4 ++++ example/ios/link-assets-manifest.json | 4 ++++ example/react-native.config.js | 3 ++- example/src/pages/AnimatedPictograms.tsx | 4 +--- 7 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 example/android/app/src/main/assets/custom/umbrella.riv create mode 100644 example/assets/animated-pictograms/umbrella.riv diff --git a/example/android/app/src/main/assets/custom/umbrella.riv b/example/android/app/src/main/assets/custom/umbrella.riv new file mode 100644 index 0000000000000000000000000000000000000000..08eacbf48fc764b0d8bf56b517e0d393e141048f GIT binary patch literal 19704 zcmb`P36vDoxqzz&1_qD;$3(gS5kxSE2t!N2ja~*CaS!%laETy`qrec*5TbZ6m=hO5 zBr0kkC@5Ln^Iy`~UTI-8;ze3lWv7mxF>%V2acw2>tH>2=lek5^F{5n3y>*0imfIq}Md zX%of`uB@n$&6t&wOw+mRq-iTdM@!&qNz=4#x?#rDamLqLwvm}JZssKUgKnj=(ll@5 zwQAkL{Qb%+>&IQ&U>dgdI#*VCZ7SPEJ+J>--}4FuC?b?7c{P>yMEa~>=Y8&^QfpIL zk}|1$UsCDVaw^p=q|(VW@7z3bPkQl@(^22PA{Vl0h#+ zFO>{EUXtz`HRHPJ)1}*wYaxZ+9WTA$pQ-BS`gsz0eDh@bm}L5zWKM`a{IAYMf5_#p z6_pm%y`FyIZTe>LV&%O__90 zZl3NylkOn1nc8TtCtIidwIAFf>DESHJ+51$-|x~NB{PG6`~LIUk%L>Ma_wd$6Zzw6 zTS;2A(dq&JF8DR`o+@T;7(67AT|Huvq_y}9X~kMh>#H66-Qd?%H`LrCX$@_j)-aRS zsb({$MF*^`O!{veUzD^?i|+sQ*@Ry`;D%)8rS)HK%&x8dMEdTuXmR~(MSs?sF3HTa z)uZFt2kTcPbLTBPx{#kZenmoCT(RT*qF?ps{6gl_NA||EmrYoa$jzFutTBJpfJoqI zz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H?mqQCj=hS2lb z=8RMjkH$GQlVA6+9*BG(@`3OuIW?0X2(car4}=H8qvX^~eq+RXAUqHr2#=CeGyR#8 zux1b*2oHou$&Yn3HFIXvb=U9WO8Uk1>rbwP}2YThTP3)+~s29`(>(RrSk#H{ZL zgzM$Ev7GhS%2ef6O*hvq*ov8Ze1gDIiyi;$Bv^{s+?1?kX@^CNV#l7S`kyhTBcbgwC F`)}TaEx-T( literal 0 HcmV?d00001 diff --git a/example/android/link-assets-manifest.json b/example/android/link-assets-manifest.json index 88ef8333..0bb9a105 100644 --- a/example/android/link-assets-manifest.json +++ b/example/android/link-assets-manifest.json @@ -104,6 +104,10 @@ { "path": "assets/fonts/DMMono/DMMono-Medium.ttf", "sha1": "0ceec76262c08cec6c956e1ffe2bfc60321e8f58" + }, + { + "path": "assets/animated-pictograms/umbrella.riv", + "sha1": "60b9b7f80dace88630bc26fecee60a33ed85aeb0" } ] } diff --git a/example/assets/animated-pictograms/umbrella.riv b/example/assets/animated-pictograms/umbrella.riv new file mode 100644 index 0000000000000000000000000000000000000000..08eacbf48fc764b0d8bf56b517e0d393e141048f GIT binary patch literal 19704 zcmb`P36vDoxqzz&1_qD;$3(gS5kxSE2t!N2ja~*CaS!%laETy`qrec*5TbZ6m=hO5 zBr0kkC@5Ln^Iy`~UTI-8;ze3lWv7mxF>%V2acw2>tH>2=lek5^F{5n3y>*0imfIq}Md zX%of`uB@n$&6t&wOw+mRq-iTdM@!&qNz=4#x?#rDamLqLwvm}JZssKUgKnj=(ll@5 zwQAkL{Qb%+>&IQ&U>dgdI#*VCZ7SPEJ+J>--}4FuC?b?7c{P>yMEa~>=Y8&^QfpIL zk}|1$UsCDVaw^p=q|(VW@7z3bPkQl@(^22PA{Vl0h#+ zFO>{EUXtz`HRHPJ)1}*wYaxZ+9WTA$pQ-BS`gsz0eDh@bm}L5zWKM`a{IAYMf5_#p z6_pm%y`FyIZTe>LV&%O__90 zZl3NylkOn1nc8TtCtIidwIAFf>DESHJ+51$-|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`X!>tFx z1L1-2C^E&U~AUqHr2#=B<8}8OjegMJb#F*~Mebv(Qj5V&<@u{q1tO4QDIHzXv z8w%D__2_mXJe@BdErbWcqj65nz@IZK!oSMlbed~E;W_KYx5FQAR#yK_9dH!KP_gmOIWjzoc2#?13 zu_GMU_B5X2oHou$*GzCMnqUM2oHn@ z!lUHJ#=A9>-_@`=Eqv@{AzTX|dr1h_!pC%!flK3@n#oUdSWnfXQ=H?mqQCj=hS2lb z=8RMjkH$GQlVA6+9*BG(@`3OuIW?0X2(car4}=H8qvX^~eq+RXAUqHr2#=CeGyR#8 zux1b*2oHou$&Yn3HFIXvb=U9WO8Uk1>rbwP}2YThTP3)+~s29`(>(RrSk#H{ZL zgzM$Ev7GhS%2ef6O*hvq*ov8Ze1gDIiyi;$Bv^{s+?1?kX@^CNV#l7S`kyhTBcbgwC F`)}TaEx-T( literal 0 HcmV?d00001 diff --git a/example/ios/ExampleApp.xcodeproj/project.pbxproj b/example/ios/ExampleApp.xcodeproj/project.pbxproj index 8f25af66..8fb04a2f 100644 --- a/example/ios/ExampleApp.xcodeproj/project.pbxproj +++ b/example/ios/ExampleApp.xcodeproj/project.pbxproj @@ -40,6 +40,7 @@ E8EF3336542140A88B10BFF7 /* TitilliumWeb-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 16CF61663EAF4B46B3B81980 /* TitilliumWeb-Regular.ttf */; }; EC846EA2DBCB4719B953F423 /* TitilliumSansPro-Thin-Italic.otf in Resources */ = {isa = PBXBuildFile; fileRef = 3DE40C756739486AA1D51FCE /* TitilliumSansPro-Thin-Italic.otf */; }; ECADF86EA3F140C6A74EFA09 /* TitilliumSansPro-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = FBA458C5509E42A59CD6F632 /* TitilliumSansPro-Regular.otf */; }; + 1E4EFB88CD2C4972A59FCFFE /* umbrella.riv in Resources */ = {isa = PBXBuildFile; fileRef = D7FF5F5BF549432188423043 /* umbrella.riv */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -96,6 +97,7 @@ EC225F8C27DC4CB7A37B9FF3 /* TitilliumWeb-SemiBold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "TitilliumWeb-SemiBold.ttf"; path = "../assets/fonts/TitilliumWeb/TitilliumWeb-SemiBold.ttf"; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; FBA458C5509E42A59CD6F632 /* TitilliumSansPro-Regular.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "TitilliumSansPro-Regular.otf"; path = "../assets/fonts/TitilliumSansPro/TitilliumSansPro-Regular.otf"; sourceTree = ""; }; + D7FF5F5BF549432188423043 /* umbrella.riv */ = {isa = PBXFileReference; name = "umbrella.riv"; path = "../assets/animated-pictograms/umbrella.riv"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -219,6 +221,7 @@ 3DE40C756739486AA1D51FCE /* TitilliumSansPro-Thin-Italic.otf */, 4FC6145EC4A14796982CAE22 /* TitilliumSansPro-Thin.otf */, 1CFF1D50D36F43F2BC0D124F /* LICENSE.txt */, + D7FF5F5BF549432188423043 /* umbrella.riv */, ); name = Resources; path = ""; @@ -357,6 +360,7 @@ EC846EA2DBCB4719B953F423 /* TitilliumSansPro-Thin-Italic.otf in Resources */, 116E6480B9914941A6254F71 /* TitilliumSansPro-Thin.otf in Resources */, 493FA456AB57478891021E84 /* LICENSE.txt in Resources */, + 1E4EFB88CD2C4972A59FCFFE /* umbrella.riv in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/example/ios/link-assets-manifest.json b/example/ios/link-assets-manifest.json index 88ef8333..0bb9a105 100644 --- a/example/ios/link-assets-manifest.json +++ b/example/ios/link-assets-manifest.json @@ -104,6 +104,10 @@ { "path": "assets/fonts/DMMono/DMMono-Medium.ttf", "sha1": "0ceec76262c08cec6c956e1ffe2bfc60321e8f58" + }, + { + "path": "assets/animated-pictograms/umbrella.riv", + "sha1": "60b9b7f80dace88630bc26fecee60a33ed85aeb0" } ] } diff --git a/example/react-native.config.js b/example/react-native.config.js index b5858f3e..ab818c78 100644 --- a/example/react-native.config.js +++ b/example/react-native.config.js @@ -14,6 +14,7 @@ module.exports = { "./assets/fonts/TitilliumWeb", "./assets/fonts/TitilliumSansPro", "./assets/fonts/ReadexPro", - "./assets/fonts/DMMono" + "./assets/fonts/DMMono", + "./assets/animated-pictograms" ] }; diff --git a/example/src/pages/AnimatedPictograms.tsx b/example/src/pages/AnimatedPictograms.tsx index 1b1431f0..6404f11f 100644 --- a/example/src/pages/AnimatedPictograms.tsx +++ b/example/src/pages/AnimatedPictograms.tsx @@ -15,9 +15,7 @@ export const AnimatedPictograms = () => ( Animated pictograms */}