diff --git a/.ado/jobs/desktop.yml b/.ado/jobs/desktop.yml index a915cee7328..0d49a951a9c 100644 --- a/.ado/jobs/desktop.yml +++ b/.ado/jobs/desktop.yml @@ -33,20 +33,11 @@ parameters: - Name: ARM64ECRelease BuildConfiguration: Release BuildPlatform: ARM64EC - - Name: X64DebugFabric - BuildConfiguration: Debug - BuildPlatform: x64 - UseFabric: true - - Name: X86ReleaseFabric # Specifically built so binskim / tests get run on fabric - BuildConfiguration: Release - BuildPlatform: x86 - UseFabric: true - BuildEnvironment: SecurePullRequest Matrix: - - Name: X64DebugFabric + - Name: X64Debug BuildConfiguration: Debug BuildPlatform: x64 - UseFabric: true - BuildEnvironment: Continuous Matrix: - Name: X64Debug @@ -67,14 +58,6 @@ parameters: - Name: ARM64ECRelease BuildConfiguration: Release BuildPlatform: ARM64EC - - Name: X64DebugFabric - BuildConfiguration: Debug - BuildPlatform: x64 - UseFabric: true - - Name: X86ReleaseFabric # Specifically built so binskim / tests get run on fabric - BuildConfiguration: Release - BuildPlatform: x86 - UseFabric: true jobs: - ${{ each config in parameters.buildMatrix }}: @@ -187,9 +170,6 @@ jobs: Write-Host "##vso[task.setvariable variable=Desktop.IntegrationTests.Filter]$newValue" displayName: Update Desktop.IntegrationTests.Filter to exclude RNTester integration tests - - ${{ if eq(matrix.UseFabric, true) }}: - - template: ../templates/enable-fabric-experimental-feature.yml - - template: ../templates/msbuild-sln.yml parameters: solutionDir: vnext @@ -355,10 +335,7 @@ jobs: - template: ../templates/publish-build-artifacts.yml parameters: - ${{ if eq(matrix.UseFabric, true) }}: - artifactName: DesktopFabric - ${{ else }}: - artifactName: Desktop + artifactName: Desktop buildPlatform: ${{ matrix.BuildPlatform }} buildConfiguration: ${{ matrix.BuildConfiguration }} contents: | diff --git a/.ado/publish.yml b/.ado/publish.yml index 798949382dc..26397b725d7 100644 --- a/.ado/publish.yml +++ b/.ado/publish.yml @@ -33,43 +33,21 @@ parameters: - Name: X64Debug BuildConfiguration: Debug BuildPlatform: x64 - UseFabric: false - Name: X64Release BuildConfiguration: Release BuildPlatform: x64 - UseFabric: false - Name: X86Debug BuildConfiguration: Debug BuildPlatform: x86 - UseFabric: false - Name: X86Release BuildConfiguration: Release BuildPlatform: x86 - UseFabric: false - Name: ARM64ECDebug BuildConfiguration: Debug BuildPlatform: ARM64EC - UseFabric: false - Name: ARM64ECRelease BuildConfiguration: Release BuildPlatform: ARM64EC - UseFabric: false - - Name: X64DebugFabric - BuildConfiguration: Debug - BuildPlatform: x64 - UseFabric: true - - Name: X64ReleaseFabric - BuildConfiguration: Release - BuildPlatform: x64 - UseFabric: true - - Name: X86DebugFabric - BuildConfiguration: Debug - BuildPlatform: x86 - UseFabric: true - - Name: X86ReleaseFabric - BuildConfiguration: Release - BuildPlatform: x86 - UseFabric: true - name: universalBuildMatrix type: object @@ -279,9 +257,6 @@ extends: - template: .ado/templates/apply-published-version-vars.yml@self - - ${{ if eq(matrix.UseFabric, true) }}: - - template: .ado/templates/enable-fabric-experimental-feature.yml@self - - template: .ado/templates/msbuild-sln.yml@self parameters: solutionDir: vnext @@ -293,10 +268,7 @@ extends: - template: .ado/templates/publish-build-artifacts.yml@self parameters: oneESMode: true ## Files are only copied to staging, not published - ${{ if eq(matrix.UseFabric, true) }}: - artifactName: DesktopFabric - ${{ else }}: - artifactName: Desktop + artifactName: Desktop buildPlatform: ${{ matrix.BuildPlatform }} buildConfiguration: ${{ matrix.BuildConfiguration }} contents: | @@ -322,14 +294,9 @@ extends: targetPath: '$(CrashDumpRootPath)' artifactName: Crash dumps - $(Agent.JobName)-$(System.JobAttempt) - output: pipelineArtifact - ${{ if eq(matrix.UseFabric, true) }}: - displayName: 'Publish Artifact: DesktopFabric.${{matrix.buildPlatform}}.${{matrix.buildConfiguration}}' - artifactName: DesktopFabric.${{matrix.buildPlatform}}.${{matrix.buildConfiguration}} - targetPath: $(Build.StagingDirectory)/NuGet/DesktopFabric/${{matrix.buildPlatform}}/${{matrix.buildConfiguration}} - ${{ else }}: - displayName: 'Publish Artifact: Desktop.${{matrix.buildPlatform}}.${{matrix.buildConfiguration}}' - artifactName: Desktop.${{matrix.buildPlatform}}.${{matrix.buildConfiguration}} - targetPath: $(Build.StagingDirectory)/NuGet/Desktop/${{matrix.buildPlatform}}/${{matrix.buildConfiguration}} + displayName: 'Publish Artifact: Desktop.${{matrix.buildPlatform}}.${{matrix.buildConfiguration}}' + artifactName: Desktop.${{matrix.buildPlatform}}.${{matrix.buildConfiguration}} + targetPath: $(Build.StagingDirectory)/NuGet/Desktop/${{matrix.buildPlatform}}/${{matrix.buildConfiguration}} - ${{ each matrix in parameters.universalBuildMatrix }}: - job: RnwNativeBuildUniversal${{ matrix.Name }} @@ -514,29 +481,6 @@ extends: - platform: ARM64EC configuration: Debug - - template: .ado/templates/prep-and-pack-nuget.yml@self - parameters: - artifactName: DesktopFabric - publishCommitId: $(publishCommitId) - npmVersion: $(npmVersion)-Fabric - nugetroot: $(System.DefaultWorkingDirectory)\Desktop - packDesktop: true - ${{ if or(eq(variables['EnableCodesign'], 'true'), endsWith(variables['Build.SourceBranchName'], '-stable')) }}: # Sign if EnableCodeSign or on *-stable release builds - signMicrosoft: true - slices: - - platform: x64 - configuration: Release - - platform: x86 - configuration: Release - # - platform: ARM64EC - # configuration: Release - - platform: x64 - configuration: Debug - - platform: x86 - configuration: Debug - # - platform: ARM64EC - # configuration: Debug - templateContext: sdl: binskim: diff --git a/change/@react-native-windows-codegen-e7b6a9a3-a6de-499d-95bb-1510e5009dd2.json b/change/@react-native-windows-codegen-e7b6a9a3-a6de-499d-95bb-1510e5009dd2.json new file mode 100644 index 00000000000..10ef73bd046 --- /dev/null +++ b/change/@react-native-windows-codegen-e7b6a9a3-a6de-499d-95bb-1510e5009dd2.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "Fix UpdateState on generated base class", + "packageName": "@react-native-windows/codegen", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/@react-native-windows-codegen-f126650d-d5cd-4a67-a9dd-73f54e0498ef.json b/change/@react-native-windows-codegen-f126650d-d5cd-4a67-a9dd-73f54e0498ef.json new file mode 100644 index 00000000000..1ecc6353a5d --- /dev/null +++ b/change/@react-native-windows-codegen-f126650d-d5cd-4a67-a9dd-73f54e0498ef.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Fix build issue building component codegen using clang", + "packageName": "@react-native-windows/codegen", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-0f3d0823-4941-4a2d-95bd-ffa2a401aa53.json b/change/react-native-windows-0f3d0823-4941-4a2d-95bd-ffa2a401aa53.json new file mode 100644 index 00000000000..41c921c2172 --- /dev/null +++ b/change/react-native-windows-0f3d0823-4941-4a2d-95bd-ffa2a401aa53.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Update Provider Guardrails", + "packageName": "react-native-windows", + "email": "34109996+chiaramooney@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-1fbec1a3-51f6-4e89-ac75-86846570013e.json b/change/react-native-windows-1fbec1a3-51f6-4e89-ac75-86846570013e.json new file mode 100644 index 00000000000..5802489b1da --- /dev/null +++ b/change/react-native-windows-1fbec1a3-51f6-4e89-ac75-86846570013e.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Enable basic XamlIsland in rntester within playground app when UseExperimentalWinUI3 is true", + "packageName": "react-native-windows", + "email": "50150435+JesseCol@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-3e29529c-51eb-4651-a8bf-6d8f469373c7.json b/change/react-native-windows-3e29529c-51eb-4651-a8bf-6d8f469373c7.json new file mode 100644 index 00000000000..459c59b80c7 --- /dev/null +++ b/change/react-native-windows-3e29529c-51eb-4651-a8bf-6d8f469373c7.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Use WebSocket factory in PkgInspectorConnection", + "packageName": "react-native-windows", + "email": "julio.rocha@microsoft.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-53667472-816f-4d36-b9f3-70b761dd1cf3.json b/change/react-native-windows-53667472-816f-4d36-b9f3-70b761dd1cf3.json new file mode 100644 index 00000000000..cece3aaed31 --- /dev/null +++ b/change/react-native-windows-53667472-816f-4d36-b9f3-70b761dd1cf3.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Fix tooltips in high dpi", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-56595f43-5a8f-443b-9594-7de92ea7e45c.json b/change/react-native-windows-56595f43-5a8f-443b-9594-7de92ea7e45c.json new file mode 100644 index 00000000000..0bac1547320 --- /dev/null +++ b/change/react-native-windows-56595f43-5a8f-443b-9594-7de92ea7e45c.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Allow portals to have independent layout constraints and scale factor", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-56f137a7-212a-483c-9771-7bf7c0fad2a8.json b/change/react-native-windows-56f137a7-212a-483c-9771-7bf7c0fad2a8.json new file mode 100644 index 00000000000..235de4de3ee --- /dev/null +++ b/change/react-native-windows-56f137a7-212a-483c-9771-7bf7c0fad2a8.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Add Support for Role Prop", + "packageName": "react-native-windows", + "email": "34109996+chiaramooney@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-61361492-e98e-45f9-931a-795d9a86919b.json b/change/react-native-windows-61361492-e98e-45f9-931a-795d9a86919b.json new file mode 100644 index 00000000000..030fc32d32a --- /dev/null +++ b/change/react-native-windows-61361492-e98e-45f9-931a-795d9a86919b.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Components do not lost hover state if pointer leaves window before it leaves the component", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-6667ac90-8a6f-422f-917d-bba7f01145b6.json b/change/react-native-windows-6667ac90-8a6f-422f-917d-bba7f01145b6.json new file mode 100644 index 00000000000..a28103f5122 --- /dev/null +++ b/change/react-native-windows-6667ac90-8a6f-422f-917d-bba7f01145b6.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "add modal implementation with PopupWindowSiteBridge", + "packageName": "react-native-windows", + "email": "tatianakapos@microsoft.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-6d9f3161-2868-4c4d-a3a1-a49b9eee3d5b.json b/change/react-native-windows-6d9f3161-2868-4c4d-a3a1-a49b9eee3d5b.json new file mode 100644 index 00000000000..dee75c22792 --- /dev/null +++ b/change/react-native-windows-6d9f3161-2868-4c4d-a3a1-a49b9eee3d5b.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "TurboModule spec checking should accept hstring for string arguments", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-73433f3d-c91f-4ae8-9618-75adc965a722.json b/change/react-native-windows-73433f3d-c91f-4ae8-9618-75adc965a722.json new file mode 100644 index 00000000000..a090ecd8526 --- /dev/null +++ b/change/react-native-windows-73433f3d-c91f-4ae8-9618-75adc965a722.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Remove Paper-only code from Fabric builds of Microsoft.ReactNative", + "packageName": "react-native-windows", + "email": "jthysell@microsoft.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-85407e5a-8b6f-41fe-b146-e73c385e9b34.json b/change/react-native-windows-85407e5a-8b6f-41fe-b146-e73c385e9b34.json new file mode 100644 index 00000000000..0b95dc2846b --- /dev/null +++ b/change/react-native-windows-85407e5a-8b6f-41fe-b146-e73c385e9b34.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "RNIsland UIA fragment root should report parents fragment root", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-94cad441-d079-4e22-bfcc-f2beb900bad1.json b/change/react-native-windows-94cad441-d079-4e22-bfcc-f2beb900bad1.json new file mode 100644 index 00000000000..54e56997140 --- /dev/null +++ b/change/react-native-windows-94cad441-d079-4e22-bfcc-f2beb900bad1.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "std::aligned_storage is deprecated", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-96dd8a87-4b77-4f7e-bf40-fb214350e0f3.json b/change/react-native-windows-96dd8a87-4b77-4f7e-bf40-fb214350e0f3.json new file mode 100644 index 00000000000..b8efa055821 --- /dev/null +++ b/change/react-native-windows-96dd8a87-4b77-4f7e-bf40-fb214350e0f3.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Basic support for stitching the UIA tree for a ContentIslandComponentView's child", + "packageName": "react-native-windows", + "email": "email not defined", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-9737fe71-c849-4e4f-a0ec-ba672ca94168.json b/change/react-native-windows-9737fe71-c849-4e4f-a0ec-ba672ca94168.json new file mode 100644 index 00000000000..8992ddc3b59 --- /dev/null +++ b/change/react-native-windows-9737fe71-c849-4e4f-a0ec-ba672ca94168.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Fix build issue building component codegen using clang", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-984ae1a3-5950-4ab1-bebb-44b11bc5b147.json b/change/react-native-windows-984ae1a3-5950-4ab1-bebb-44b11bc5b147.json new file mode 100644 index 00000000000..1240893bba7 --- /dev/null +++ b/change/react-native-windows-984ae1a3-5950-4ab1-bebb-44b11bc5b147.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Fix bool operator on transparent colors returning false", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-9a0e5c82-b824-4c1d-92c9-87c8c46c6c26.json b/change/react-native-windows-9a0e5c82-b824-4c1d-92c9-87c8c46c6c26.json new file mode 100644 index 00000000000..bc2fcda200f --- /dev/null +++ b/change/react-native-windows-9a0e5c82-b824-4c1d-92c9-87c8c46c6c26.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Fix platform color", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-9fae9acd-d5a6-48d1-9d63-c333ad09ca76.json b/change/react-native-windows-9fae9acd-d5a6-48d1-9d63-c333ad09ca76.json new file mode 100644 index 00000000000..1d4595fa309 --- /dev/null +++ b/change/react-native-windows-9fae9acd-d5a6-48d1-9d63-c333ad09ca76.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Fix crash when currently focused element gets marked as enableFocusRing=false", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-a7e4e9a7-38af-4609-a0a4-152046e6e53b.json b/change/react-native-windows-a7e4e9a7-38af-4609-a0a4-152046e6e53b.json new file mode 100644 index 00000000000..0ecc8670cd2 --- /dev/null +++ b/change/react-native-windows-a7e4e9a7-38af-4609-a0a4-152046e6e53b.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Implement ISelectionProvider and ISelectionItemProvider", + "packageName": "react-native-windows", + "email": "34109996+chiaramooney@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-b14f249c-ae04-440c-97dc-bf0831e5d537.json b/change/react-native-windows-b14f249c-ae04-440c-97dc-bf0831e5d537.json new file mode 100644 index 00000000000..6c4a5c30ea8 --- /dev/null +++ b/change/react-native-windows-b14f249c-ae04-440c-97dc-bf0831e5d537.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Fix issue when calling arrange on an RN Island during load", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-b6be67a1-15ea-4cca-9226-b7c33cd7f710.json b/change/react-native-windows-b6be67a1-15ea-4cca-9226-b7c33cd7f710.json new file mode 100644 index 00000000000..a6441fd0322 --- /dev/null +++ b/change/react-native-windows-b6be67a1-15ea-4cca-9226-b7c33cd7f710.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "IRangeValue Provider", + "packageName": "react-native-windows", + "email": "34109996+chiaramooney@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-c084ae94-ee07-44f4-9f06-077f17355ea0.json b/change/react-native-windows-c084ae94-ee07-44f4-9f06-077f17355ea0.json new file mode 100644 index 00000000000..90c6424cd31 --- /dev/null +++ b/change/react-native-windows-c084ae94-ee07-44f4-9f06-077f17355ea0.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Fix stale focus rects left in UI when last focusable component is removed", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-ca0880f1-4d40-4ab6-9c95-d843aade3939.json b/change/react-native-windows-ca0880f1-4d40-4ab6-9c95-d843aade3939.json new file mode 100644 index 00000000000..8a7d35ec03f --- /dev/null +++ b/change/react-native-windows-ca0880f1-4d40-4ab6-9c95-d843aade3939.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Property updates switching between PlatformColors would no-op", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-ca3eff01-d91f-4d53-80fe-5ce6cfdf0727.json b/change/react-native-windows-ca3eff01-d91f-4d53-80fe-5ce6cfdf0727.json new file mode 100644 index 00000000000..db29b6e6254 --- /dev/null +++ b/change/react-native-windows-ca3eff01-d91f-4d53-80fe-5ce6cfdf0727.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Round Focus visuals by default, fix nudge rendering", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-cee7156d-9d30-4922-a594-c591aa4d568b.json b/change/react-native-windows-cee7156d-9d30-4922-a594-c591aa4d568b.json new file mode 100644 index 00000000000..e00531686ee --- /dev/null +++ b/change/react-native-windows-cee7156d-9d30-4922-a594-c591aa4d568b.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Only build OfficeReact.Win32 with UseFabric enabled", + "packageName": "react-native-windows", + "email": "jthysell@microsoft.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-d334336e-c641-4b9e-bbd3-9c6dd4f5b228.json b/change/react-native-windows-d334336e-c641-4b9e-bbd3-9c6dd4f5b228.json new file mode 100644 index 00000000000..f610408e7f3 --- /dev/null +++ b/change/react-native-windows-d334336e-c641-4b9e-bbd3-9c6dd4f5b228.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "ITextProvider Implementation", + "packageName": "react-native-windows", + "email": "34109996+chiaramooney@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-d345ae30-34cd-425c-97ac-fdf1c22fc508.json b/change/react-native-windows-d345ae30-34cd-425c-97ac-fdf1c22fc508.json new file mode 100644 index 00000000000..7804228c253 --- /dev/null +++ b/change/react-native-windows-d345ae30-34cd-425c-97ac-fdf1c22fc508.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix modal height", + "packageName": "react-native-windows", + "email": "tatianakapos@microsoft.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-db1edeae-cd39-4b02-9676-e41d36724426.json b/change/react-native-windows-db1edeae-cd39-4b02-9676-e41d36724426.json new file mode 100644 index 00000000000..949f0b76761 --- /dev/null +++ b/change/react-native-windows-db1edeae-cd39-4b02-9676-e41d36724426.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Fix crash running on server 2016", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-ed7b2b09-74fa-4fe0-9de3-57c3ae856148.json b/change/react-native-windows-ed7b2b09-74fa-4fe0-9de3-57c3ae856148.json new file mode 100644 index 00000000000..459f2a4eaf5 --- /dev/null +++ b/change/react-native-windows-ed7b2b09-74fa-4fe0-9de3-57c3ae856148.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Update WinUI3ExperimentalVersion from 1.6.240701003-experimental2 to 1.7.250109001-experimental2", + "packageName": "react-native-windows", + "email": "50150435+JesseCol@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-f295c471-5165-440a-a5d5-4d9b2d9c84d9.json b/change/react-native-windows-f295c471-5165-440a-a5d5-4d9b2d9c84d9.json new file mode 100644 index 00000000000..98cfcb8cbad --- /dev/null +++ b/change/react-native-windows-f295c471-5165-440a-a5d5-4d9b2d9c84d9.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Rework modal implementation to use public APIs", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/change/react-native-windows-f6e35b31-cc4b-4e12-a1e6-1ea862eb94ff.json b/change/react-native-windows-f6e35b31-cc4b-4e12-a1e6-1ea862eb94ff.json index de4683b346b..2bfaf278e27 100644 --- a/change/react-native-windows-f6e35b31-cc4b-4e12-a1e6-1ea862eb94ff.json +++ b/change/react-native-windows-f6e35b31-cc4b-4e12-a1e6-1ea862eb94ff.json @@ -4,4 +4,4 @@ "packageName": "react-native-windows", "email": "julio.rocha@microsoft.com", "dependentChangeType": "patch" -} +} \ No newline at end of file diff --git a/change/react-native-windows-fb01ddc4-cef6-477e-b91d-7583eeb458b1.json b/change/react-native-windows-fb01ddc4-cef6-477e-b91d-7583eeb458b1.json new file mode 100644 index 00000000000..c562f9843a6 --- /dev/null +++ b/change/react-native-windows-fb01ddc4-cef6-477e-b91d-7583eeb458b1.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Fix react devtools hitting an assert on launch", + "packageName": "react-native-windows", + "email": "tatianakapos@microsoft.com", + "dependentChangeType": "patch" +} \ No newline at end of file diff --git a/packages/@react-native-windows/codegen/src/generators/GenerateComponentWindows.ts b/packages/@react-native-windows/codegen/src/generators/GenerateComponentWindows.ts index 60e750a4fb8..9a449abde03 100644 --- a/packages/@react-native-windows/codegen/src/generators/GenerateComponentWindows.ts +++ b/packages/@react-native-windows/codegen/src/generators/GenerateComponentWindows.ts @@ -188,7 +188,7 @@ void Register::_COMPONENT_NAME_::NativeComponent( userData->UpdateEventEmitter(std::make_shared<::_COMPONENT_NAME_::EventEmitter>(eventEmitter)); }); - if constexpr (&TUserData::FinalizeUpdate != &Base::_COMPONENT_NAME_::::FinalizeUpdate) { + if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::FinalizeUpdate != &Base::_COMPONENT_NAME_::::FinalizeUpdate) { builder.SetFinalizeUpdateHandler([](const winrt::Microsoft::ReactNative::ComponentView &view, winrt::Microsoft::ReactNative::ComponentViewUpdateMask mask) noexcept { auto userData = view.UserData().as(); @@ -196,17 +196,17 @@ void Register::_COMPONENT_NAME_::NativeComponent( }); } - if constexpr (&TUserData::UpdateState != &Base::_COMPONENT_NAME_::::UpdateState) { + if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::UpdateState != &Base::_COMPONENT_NAME_::::UpdateState) { builder.SetUpdateStateHandler([](const winrt::Microsoft::ReactNative::ComponentView &view, const winrt::Microsoft::ReactNative::IComponentState &newState) noexcept { auto userData = view.UserData().as(); - userData->member(view, newState); + userData->UpdateState(view, newState); }); } ::_REGISTER_CUSTOM_COMMAND_HANDLER_:: - if constexpr (&TUserData::MountChildComponentView != &Base::_COMPONENT_NAME_::::MountChildComponentView) { + if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::MountChildComponentView != &Base::_COMPONENT_NAME_::::MountChildComponentView) { builder.SetMountChildComponentViewHandler([](const winrt::Microsoft::ReactNative::ComponentView &view, const winrt::Microsoft::ReactNative::MountChildComponentViewArgs &args) noexcept { auto userData = view.UserData().as(); @@ -214,7 +214,7 @@ void Register::_COMPONENT_NAME_::NativeComponent( }); } - if constexpr (&TUserData::UnmountChildComponentView != &Base::_COMPONENT_NAME_::::UnmountChildComponentView) { + if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::UnmountChildComponentView != &Base::_COMPONENT_NAME_::::UnmountChildComponentView) { builder.SetUnmountChildComponentViewHandler([](const winrt::Microsoft::ReactNative::ComponentView &view, const winrt::Microsoft::ReactNative::UnmountChildComponentViewArgs &args) noexcept { auto userData = view.UserData().as(); @@ -224,13 +224,13 @@ void Register::_COMPONENT_NAME_::NativeComponent( compBuilder.SetViewComponentViewInitializer([](const winrt::Microsoft::ReactNative::ComponentView &view) noexcept { auto userData = winrt::make_self(); - if constexpr (&TUserData::Initialize != &Base::_COMPONENT_NAME_::::Initialize) { + if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::Initialize != &Base::_COMPONENT_NAME_::::Initialize) { userData->Initialize(view); } view.UserData(*userData); }); - if constexpr (&TUserData::CreateVisual != &Base::_COMPONENT_NAME_::::CreateVisual) { + if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::CreateVisual != &Base::_COMPONENT_NAME_::::CreateVisual) { compBuilder.SetCreateVisualHandler([](const winrt::Microsoft::ReactNative::ComponentView &view) noexcept { auto userData = view.UserData().as(); return userData->CreateVisual(view); diff --git a/packages/@react-native-windows/tester/src/js/examples-win/Accessibility/AccessibilityExampleWindows.tsx b/packages/@react-native-windows/tester/src/js/examples-win/Accessibility/AccessibilityExampleWindows.tsx index a9924e7cfeb..2c3ffef60bb 100644 --- a/packages/@react-native-windows/tester/src/js/examples-win/Accessibility/AccessibilityExampleWindows.tsx +++ b/packages/@react-native-windows/tester/src/js/examples-win/Accessibility/AccessibilityExampleWindows.tsx @@ -312,33 +312,40 @@ class AccessibilityStateExamples extends React.Component { The following list of TouchableHighlights toggles accessibilityState.selected when touched: - ( - this.selectPress(item.index)}> - - {this.state.itemsSelected[item.index] - ? 'Selected' - : 'Unselected'} - - - )} - keyExtractor={(item, index) => index.toString()} - /> + + ( + this.selectPress(item.index)}> + + {this.state.itemsSelected[item.index] + ? 'Selected' + : 'Unselected'} + + + )} + keyExtractor={(item, index) => index.toString()} + /> + The following TouchableHighlight cycles accessibilityState.checked through unchecked/checked/mixed for the View under it: @@ -429,7 +436,8 @@ class AccessibilityStateExamples extends React.Component { + onPress={this.rangePress} + testID="accessibilityValue-increment"> Range value increment + }} + testID="accessibilityValue-number" + accessibilityState={{readOnly: true}}> The View's (accessibilityRole == adjustable, ie. Slider) properties should be the following according to UIA: Min-{' '} @@ -465,7 +475,10 @@ class AccessibilityStateExamples extends React.Component { accessibilityValue={{ text: this.state.viewValueText, }} - accessibilityRole="combobox"> + role="combobox" + testID="accessibilityValue-text" + accessible + aria-readonly> The View's properties should be the following according to UIA: Text- {this.state.viewValueText} diff --git a/packages/@react-native-windows/tester/src/js/examples-win/XAML/FabricXamlExample.js b/packages/@react-native-windows/tester/src/js/examples-win/XAML/FabricXamlExample.js new file mode 100644 index 00000000000..fe0680ec259 --- /dev/null +++ b/packages/@react-native-windows/tester/src/js/examples-win/XAML/FabricXamlExample.js @@ -0,0 +1,67 @@ +/** + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * @format + * @flow + */ + +'use strict'; + +// Temporary test example for UseExperimentalWinUI3=true +// Remove when we get react-native-xaml working well for Fabric + +import React, {useState} from 'react'; +import {Alert, Button, Text, View, ScrollView} from 'react-native'; +import {CalendarView} from 'sample-custom-component'; + +const XamlContentExample = () => { + const [selectedDate, setSelectedDate] = useState(true); + + return ( + + +