Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
1c91e37
Integrate 10/10
Yajur-Grover Oct 18, 2024
e25ec87
Change files
Yajur-Grover Oct 18, 2024
587855d
update shared.vcxitems
Yajur-Grover Oct 22, 2024
ccb5512
Merge branch 'main' into yg-int-10-8
Yajur-Grover Oct 24, 2024
39c3430
fix yarn.lock
Yajur-Grover Oct 24, 2024
d88a93d
fix conflicts
Yajur-Grover Oct 30, 2024
ab38c21
fixed typo
Yajur-Grover Oct 30, 2024
f9ddfbd
fixed lint and format
Yajur-Grover Oct 30, 2024
42d5e56
fix position of include
Yajur-Grover Oct 30, 2024
c10e21e
Merge branch 'main' into yg-int-10-8
Yajur-Grover Oct 30, 2024
acccdb0
fix typo
Yajur-Grover Oct 30, 2024
04f6c18
fix bad merge
Yajur-Grover Oct 30, 2024
ba0f10a
Merge branch 'main' into yg-int-10-8
Yajur-Grover Oct 30, 2024
c092cde
fix yarn.lock
Yajur-Grover Oct 30, 2024
42022ea
fix imports
Yajur-Grover Oct 30, 2024
cb76e5f
update snapshots
Yajur-Grover Oct 31, 2024
8ab1373
Merge branch 'main' into yg-int-10-8
Yajur-Grover Oct 31, 2024
1b10708
update lockfile
Yajur-Grover Oct 31, 2024
f7e6096
fix linting
Yajur-Grover Oct 31, 2024
2458ffa
linting
Yajur-Grover Oct 31, 2024
815db0b
add assets-dest option
Yajur-Grover Nov 1, 2024
d238a5a
fix assets-dest options
Yajur-Grover Nov 1, 2024
26bd41b
Merge branch 'main' into yg-int-10-8
Yajur-Grover Nov 4, 2024
cd5e4a9
fix typo
Yajur-Grover Nov 4, 2024
0c71935
fix linting
Yajur-Grover Nov 4, 2024
9569b54
fix linting
Yajur-Grover Nov 4, 2024
9bd7daa
Merge branch 'main' into yg-int-10-8
Yajur-Grover Nov 4, 2024
4f825eb
Merge branch 'main' into yg-int-10-8
Yajur-Grover Nov 5, 2024
d94a543
Merge branch 'main' into yg-int-10-8
Yajur-Grover Nov 5, 2024
ce3d156
try updating snapshots
Yajur-Grover Nov 6, 2024
afa3b18
fix accessible default value and revert snapshot change
Yajur-Grover Nov 6, 2024
3497085
update snapshots
Yajur-Grover Nov 6, 2024
31fb14f
Merge branch 'main' into yg-int-10-8
Yajur-Grover Nov 6, 2024
a46bf80
address feedback
Yajur-Grover Nov 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Integrate 10/10",
"packageName": "@office-iss/react-native-win32",
"email": "yajurgrover24@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Integrate 10/10",
"packageName": "@react-native-windows/automation-channel",
"email": "yajurgrover24@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Integrate 10/10",
"packageName": "react-native-windows",
"email": "yajurgrover24@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"excludePatterns": [
"src/js/examples-win32/**"
],
"baseVersion": "0.77.0-nightly-20241001-223e98cc4",
"baseVersion": "0.77.0-nightly-20241010-0d6908f4e",
"overrides": [
{
"type": "patch",
Expand Down
4 changes: 2 additions & 2 deletions packages/@office-iss/react-native-win32-tester/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"peerDependencies": {
"@office-iss/react-native-win32": "^0.0.0-canary.270",
"react": "18.0.0",
"react-native": "0.77.0-nightly-20241001-223e98cc4"
"react-native": "0.77.0-nightly-20241010-0d6908f4e"
},
"devDependencies": {
"@office-iss/react-native-win32": "^0.0.0-canary.270",
Expand All @@ -30,7 +30,7 @@
"@types/node": "^18.0.0",
"eslint": "^8.19.0",
"just-scripts": "^1.3.3",
"react-native": "0.77.0-nightly-20241001-223e98cc4",
"react-native": "0.77.0-nightly-20241010-0d6908f4e",
"react-native-platform-override": "^1.9.49",
"typescript": "5.0.4"
},
Expand Down
35 changes: 18 additions & 17 deletions packages/@office-iss/react-native-win32/overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"**/__snapshots__/**",
"src-win/rntypes/**"
],
"baseVersion": "0.77.0-nightly-20241001-223e98cc4",
"baseVersion": "0.77.0-nightly-20241010-0d6908f4e",
"overrides": [
{
"type": "derived",
Expand All @@ -19,7 +19,7 @@
"type": "derived",
"file": "src-win/index.win32.js",
"baseFile": "packages/react-native/index.js",
"baseHash": "70b04f859a60e3752e6937b9fc294ffee30e6366"
"baseHash": "ad455e241e35ebd718a6304f3de9d04c1f9e4f2b"
},
{
"type": "platform",
Expand All @@ -35,13 +35,13 @@
"type": "derived",
"file": "src-win/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts",
"baseFile": "packages/react-native/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts",
"baseHash": "f55fda723b8dc0f9836f2fa4a4a766ed45c71c00"
"baseHash": "30a3c7351c6a466e2ed95e9b416907ac677d71ca"
},
{
"type": "derived",
"file": "src-win/Libraries/Components/AccessibilityInfo/AccessibilityInfo.win32.js",
"baseFile": "packages/react-native/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js",
"baseHash": "163927cc271b53109f06eaf5fc6d30a9af8cb27e"
"baseHash": "af6ef360caf09cee7b488a3fa7439f749216c51c"
},
{
"type": "copy",
Expand All @@ -60,7 +60,7 @@
"type": "derived",
"file": "src-win/Libraries/Components/Button.win32.js",
"baseFile": "packages/react-native/Libraries/Components/Button.js",
"baseHash": "b59e0b119a7a930e835ff3eefa780e757a97b31f"
"baseHash": "e76f9ba2b411e43dbca14b7ce52bb429c8cab52d"
},
{
"type": "platform",
Expand Down Expand Up @@ -109,13 +109,13 @@
"type": "derived",
"file": "src-win/Libraries/Components/TextInput/TextInput.win32.js",
"baseFile": "packages/react-native/Libraries/Components/TextInput/TextInput.js",
"baseHash": "19224f9b870df6e0c82d8da36f1f7b22bdd6b596"
"baseHash": "82f76803236afa08c99beb8545a2a7fa4940b653"
},
{
"type": "patch",
"file": "src-win/Libraries/Components/TextInput/TextInputState.win32.js",
"baseFile": "packages/react-native/Libraries/Components/TextInput/TextInputState.js",
"baseHash": "60655baaca427e1c7c1b8884833b848335c4033b"
"baseHash": "7a12ca2e17da0a0f487af5a27c120ef59b2ab9ef"
},
{
"type": "platform",
Expand Down Expand Up @@ -331,7 +331,7 @@
"type": "derived",
"file": "src-win/Libraries/NativeComponent/BaseViewConfig.win32.js",
"baseFile": "packages/react-native/Libraries/NativeComponent/BaseViewConfig.ios.js",
"baseHash": "af602af3c3acc6521f5535f2fe14bfe08cf1b5e9"
"baseHash": "51ae58fc739dc6c0679dc888550c2af41787b959"
},
{
"type": "copy",
Expand Down Expand Up @@ -360,14 +360,14 @@
"type": "patch",
"file": "src-win/Libraries/Pressability/HoverState.win32.js",
"baseFile": "packages/react-native/Libraries/Pressability/HoverState.js",
"baseHash": "50800642b413cb469ced8d1d6b32ee0e249f4d1e",
"baseHash": "8a97880597ea72d61464d07d1a082582320e7234",
"issue": 6240
},
{
"type": "patch",
"file": "src-win/Libraries/Pressability/Pressability.win32.js",
"baseFile": "packages/react-native/Libraries/Pressability/Pressability.js",
"baseHash": "8e70142f3acab570d188c617a1811da11b6e9da4",
"baseHash": "3be9533787a90b2fae462faee1bb8b692d025c31",
"issue": 6240
},
{
Expand Down Expand Up @@ -426,7 +426,7 @@
"type": "derived",
"file": "src-win/Libraries/Text/Text.win32.js",
"baseFile": "packages/react-native/Libraries/Text/Text.js",
"baseHash": "8ad2e56ba09c1b5428d50cfd71972c60502ed2e2"
"baseHash": "b4810991f6c983f1f155327e8bca865cf771ae84"
},
{
"type": "derived",
Expand All @@ -445,7 +445,7 @@
"type": "patch",
"file": "src-win/Libraries/Types/CoreEventTypes.win32.js",
"baseFile": "packages/react-native/Libraries/Types/CoreEventTypes.js",
"baseHash": "7fe2b87cf49f4674d731d07f0883bab2f5cfc356",
"baseHash": "87532a8f108dad9c3ae07b911dd7344e7c244c20",
"issue": 6240
},
{
Expand Down Expand Up @@ -485,7 +485,7 @@
"type": "derived",
"file": "src-win/Libraries/Utilities/Platform.flow.win32.js",
"baseFile": "packages/react-native/Libraries/Utilities/Platform.flow.js",
"baseHash": "f38efa527b9426ae0178bb2336be2e93af0392ba"
"baseHash": "ae1dbc0afd40655cb18e00eecf21b7ca5db538f2"
},
{
"type": "derived",
Expand All @@ -503,20 +503,21 @@
"type": "patch",
"file": "src-win/src/private/animated/NativeAnimatedHelper.win32.js",
"baseFile": "packages/react-native/src/private/animated/NativeAnimatedHelper.js",
"baseHash": "bc63f57b28f1e98755101f650a2c15b6aa263abf",
"baseHash": "96fb410d7d408c49297f9f99a760f954264bce91",
"issue": 11041
},
{
"type": "copy",
"file": "src-win/src/private/reactdevtools/ReactDevToolsSettingsManager.win32.js",
"baseFile": "packages/react-native/src/private/reactdevtools/ReactDevToolsSettingsManager.android.js",
"file": "src-win/src/private/debugging/ReactDevToolsSettingsManager.win32.js",
"baseFile": "packages/react-native/src/private/debugging/ReactDevToolsSettingsManager.android.js",
"baseVersion": "0.77.0-nightly-20241001-223e98cc4",
"baseHash": "df41b76dc3d2df9455fae588748261d7b0a22d01"
},
{
"type": "derived",
"file": "src-win/src/private/specs/modules/NativeAccessibilityInfoWin32.js",
"baseFile": "packages/react-native/src/private/specs/modules/NativeAccessibilityInfo.js",
"baseHash": "3c15b48f632de6b939697ae114734cc54e003027"
"baseHash": "f719796211617b9fd439f74622757e2af5288281"
},
{
"type": "derived",
Expand Down
24 changes: 12 additions & 12 deletions packages/@office-iss/react-native-win32/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@
"@react-native-community/cli-platform-android": "15.0.0-alpha.2",
"@react-native-community/cli-platform-ios": "15.0.0-alpha.2",
"@react-native/assets": "1.0.0",
"@react-native/assets-registry": "0.77.0-nightly-20241001-223e98cc4",
"@react-native/codegen": "0.77.0-nightly-20241001-223e98cc4",
"@react-native/community-cli-plugin": "0.77.0-nightly-20241001-223e98cc4",
"@react-native/gradle-plugin": "0.77.0-nightly-20241001-223e98cc4",
"@react-native/js-polyfills": "0.77.0-nightly-20241001-223e98cc4",
"@react-native/normalize-colors": "0.77.0-nightly-20241001-223e98cc4",
"@react-native/virtualized-lists": "0.77.0-nightly-20241001-223e98cc4",
"@react-native/assets-registry": "0.77.0-nightly-20241010-0d6908f4e",
"@react-native/codegen": "0.77.0-nightly-20241010-0d6908f4e",
"@react-native/community-cli-plugin": "0.77.0-nightly-20241010-0d6908f4e",
"@react-native/gradle-plugin": "0.77.0-nightly-20241010-0d6908f4e",
"@react-native/js-polyfills": "0.77.0-nightly-20241010-0d6908f4e",
"@react-native/normalize-colors": "0.77.0-nightly-20241010-0d6908f4e",
"@react-native/virtualized-lists": "0.77.0-nightly-20241010-0d6908f4e",
"abort-controller": "^3.0.0",
"anser": "^1.4.9",
"ansi-regex": "^5.0.0",
"art": "^0.10.0",
"babel-jest": "^29.7.0",
"babel-plugin-syntax-hermes-parser": "^0.23.1",
"babel-plugin-syntax-hermes-parser": "0.24.0",
"base64-js": "^1.5.1",
"chalk": "^4.0.0",
"commander": "^12.0.0",
Expand All @@ -53,8 +53,8 @@
"jest-environment-node": "^29.6.3",
"jsc-android": "^250231.0.0",
"memoize-one": "^5.0.0",
"metro-runtime": "^0.81.0-alpha.0",
"metro-source-map": "^0.81.0-alpha.0",
"metro-runtime": "^0.81.0-alpha.2",
"metro-source-map": "^0.81.0-alpha.2",
"mkdirp": "^0.5.1",
"nullthrows": "^1.1.1",
"pretty-format": "^29.7.0",
Expand Down Expand Up @@ -90,14 +90,14 @@
"just-scripts": "^1.3.3",
"prettier": "2.8.8",
"react": "19.0.0-rc-fb9a90fa48-20240614",
"react-native": "0.77.0-nightly-20241001-223e98cc4",
"react-native": "0.77.0-nightly-20241010-0d6908f4e",
"react-native-platform-override": "^1.9.49",
"typescript": "5.0.4"
},
"peerDependencies": {
"@types/react": "^18.2.6",
"react": "^19.0.0-rc-fb9a90fa48-20240614",
"react-native": "0.77.0-nightly-20241001-223e98cc4"
"react-native": "0.77.0-nightly-20241010-0d6908f4e"
},
"beachball": {
"defaultNpmTag": "canary",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
* @format
*/

import type * as React from 'react';
import {HostComponent} from '../../../types/public/ReactNativeTypes';
import {HostInstance} from '../../../types/public/ReactNativeTypes';
import {EmitterSubscription} from '../../vendor/emitter/EventEmitter';

type AccessibilityChangeEventName =
Expand All @@ -17,6 +16,8 @@ type AccessibilityChangeEventName =
| 'grayscaleChanged' // iOS-only Event
| 'invertColorsChanged' // iOS-only Event
| 'reduceMotionChanged'
| 'highTextContrastChanged' // Android-only Event
| 'darkerSystemColorsChanged' // iOS-only Event
| 'screenReaderChanged'
| 'reduceTransparencyChanged'; // iOS-only Event

Expand Down Expand Up @@ -69,6 +70,21 @@ export interface AccessibilityInfoStatic {
*/
isReduceMotionEnabled: () => Promise<boolean>;

/**
*
* Query whether high text contrast is currently enabled.
*
* @platform android
*/
isHighTextContrastEnabled: () => Promise<boolean>;

/**
* Query whether darker system colors is currently enabled.
*
* @platform ios
*/
isDarkerSystemColorsEnabled: () => Promise<boolean>;

/**
* Query whether reduce motion and prefer cross-fade transitions settings are currently enabled.
*
Expand Down Expand Up @@ -152,7 +168,7 @@ export interface AccessibilityInfoStatic {
*/
getRecommendedTimeoutMillis: (originalTimeout: number) => Promise<number>;
sendAccessibilityEvent: (
handle: React.ElementRef<HostComponent<unknown>>,
handle: HostInstance,
eventType: AccessibilityEventTypes,
) => void;
}
Expand Down
Loading