From 8f09d834dae187cbbad4b02506fba8d16391ac46 Mon Sep 17 00:00:00 2001 From: georgekuttycl-EXP Date: Wed, 30 Sep 2026 12:33:52 +0530 Subject: [PATCH] Automation updates --- package.json | 2 +- src/components/List/ListAccordion.tsx | 8 ++++++-- src/components/TouchableRipple/TouchableRipple.native.tsx | 3 +++ src/components/TouchableRipple/TouchableRipple.tsx | 1 + 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index c0c83323ee..3652614fcf 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "lint": "eslint", "typecheck": "tsc -b", "test": "jest", - "prepack": "bob build", + "prepare": "bob build", "generate-mappings": "node ./scripts/generate-mappings.ts", "release": "release-it --only-version", "docs": "yarn --cwd docs", diff --git a/src/components/List/ListAccordion.tsx b/src/components/List/ListAccordion.tsx index 7c552fce36..9622acfe9e 100644 --- a/src/components/List/ListAccordion.tsx +++ b/src/components/List/ListAccordion.tsx @@ -10,6 +10,7 @@ import type { TextStyle, ViewProps, ViewStyle, + Platform, } from 'react-native'; import { ListAccordionGroupContext } from './ListAccordionGroup'; @@ -243,7 +244,7 @@ const ListAccordion = ({ : handlePressAction; return ( - + {left ? left({ @@ -268,7 +271,7 @@ const ListAccordion = ({ style: getLeftStyles(alignToTop, description), }) : null} - + {right ? ( right({ diff --git a/src/components/TouchableRipple/TouchableRipple.native.tsx b/src/components/TouchableRipple/TouchableRipple.native.tsx index ec7b13dd91..92a3b8dfd9 100644 --- a/src/components/TouchableRipple/TouchableRipple.native.tsx +++ b/src/components/TouchableRipple/TouchableRipple.native.tsx @@ -94,6 +94,7 @@ const TouchableRipple = ({ disabled={disabled} style={[useForeground && styles.overflowHidden, style]} android_ripple={androidRipple} + accessible={Platform.OS === 'ios' ? false : true} > {React.Children.only(children)} @@ -106,6 +107,7 @@ const TouchableRipple = ({ ref={ref} disabled={disabled} style={[borderless && styles.overflowHidden, style]} + accessible={Platform.OS === 'ios' ? false : true} > {({ pressed }) => ( <> @@ -115,6 +117,7 @@ const TouchableRipple = ({ styles.underlay, { backgroundColor: calculatedUnderlayColor }, ]} + accessible={Platform.OS ==='ios' ? false : true} /> )} {React.Children.only(children)} diff --git a/src/components/TouchableRipple/TouchableRipple.tsx b/src/components/TouchableRipple/TouchableRipple.tsx index 3b98d252c7..d1c93df6f6 100644 --- a/src/components/TouchableRipple/TouchableRipple.tsx +++ b/src/components/TouchableRipple/TouchableRipple.tsx @@ -289,6 +289,7 @@ const TouchableRipple = ({ disabled && styles.disabled, typeof style === 'function' ? style(state) : style, ]} + accessible={Platform.OS === 'ios' ? false : true} > {(state) => React.Children.only(