diff --git a/packages/block-library/src/audio/test/__snapshots__/edit.native.js.snap b/packages/block-library/src/audio/test/__snapshots__/edit.native.js.snap
index dca3f782efc67..e37c7fa107102 100644
--- a/packages/block-library/src/audio/test/__snapshots__/edit.native.js.snap
+++ b/packages/block-library/src/audio/test/__snapshots__/edit.native.js.snap
@@ -133,7 +133,7 @@ exports[`Audio block renders audio block error state without crashing 1`] = `
]
}
>
-
+
+ text={
+ {
+ "eventCount": undefined,
+ "linkTextColor": undefined,
+ "selection": null,
+ "tag": "p",
+ "text": "",
+ }
+ }
+ textAlign="center"
+ triggerKeyCodes={[]}
+ />
+
@@ -359,7 +373,7 @@ exports[`Audio block renders audio file without crashing 1`] = `
]
}
>
-
+
+ text={
+ {
+ "eventCount": undefined,
+ "linkTextColor": undefined,
+ "selection": null,
+ "tag": "p",
+ "text": "",
+ }
+ }
+ textAlign="center"
+ triggerKeyCodes={[]}
+ />
+
diff --git a/packages/block-library/src/file/test/__snapshots__/edit.native.js.snap b/packages/block-library/src/file/test/__snapshots__/edit.native.js.snap
index 5ce876137ade0..a14a1de7b76bc 100644
--- a/packages/block-library/src/file/test/__snapshots__/edit.native.js.snap
+++ b/packages/block-library/src/file/test/__snapshots__/edit.native.js.snap
@@ -64,7 +64,7 @@ exports[`File block renders file error state without crashing 1`] = `
]
}
>
-
+ File name
",
+ deleteEnter={true}
+ disableEditingMenu={false}
+ fontFamily="serif"
+ fontSize={16}
+ isMultiline={false}
+ maxImagesWidth={200}
+ onBackspace={[Function]}
+ onBlur={[Function]}
+ onChange={[Function]}
+ onContentSizeChange={[Function]}
+ onEnter={[Function]}
+ onFocus={[Function]}
+ onHTMLContentWithCursor={[Function]}
+ onKeyDown={[Function]}
+ onPaste={[Function]}
+ onSelectionChange={[Function]}
+ placeholder="File name"
+ placeholderTextColor="gray"
+ selectionColor="black"
+ style={
+ {
+ "backgroundColor": undefined,
+ "maxWidth": undefined,
+ "minHeight": 0,
+ }
}
- }
- textAlign="left"
- triggerKeyCodes={[]}
- />
+ text={
+ {
+ "eventCount": undefined,
+ "linkTextColor": undefined,
+ "selection": null,
+ "tag": "p",
+ "text": "File name
",
+ }
+ }
+ textAlign="left"
+ triggerKeyCodes={[]}
+ />
+
@@ -315,7 +343,7 @@ exports[`File block renders file without crashing 1`] = `
]
}
>
-
+ File name",
+ deleteEnter={true}
+ disableEditingMenu={false}
+ fontFamily="serif"
+ fontSize={16}
+ isMultiline={false}
+ maxImagesWidth={200}
+ onBackspace={[Function]}
+ onBlur={[Function]}
+ onChange={[Function]}
+ onContentSizeChange={[Function]}
+ onEnter={[Function]}
+ onFocus={[Function]}
+ onHTMLContentWithCursor={[Function]}
+ onKeyDown={[Function]}
+ onPaste={[Function]}
+ onSelectionChange={[Function]}
+ placeholder="File name"
+ placeholderTextColor="gray"
+ selectionColor="black"
+ style={
+ {
+ "backgroundColor": undefined,
+ "maxWidth": undefined,
+ "minHeight": 0,
+ }
}
- }
- textAlign="left"
- triggerKeyCodes={[]}
- />
+ text={
+ {
+ "eventCount": undefined,
+ "linkTextColor": undefined,
+ "selection": null,
+ "tag": "p",
+ "text": "File name
",
+ }
+ }
+ textAlign="left"
+ triggerKeyCodes={[]}
+ />
+
-
+ Download",
+ color="white"
+ deleteEnter={true}
+ disableEditingMenu={false}
+ fontFamily="serif"
+ fontSize={16}
+ isMultiline={false}
+ maxImagesWidth={200}
+ minWidth={40}
+ onBackspace={[Function]}
+ onBlur={[Function]}
+ onChange={[Function]}
+ onContentSizeChange={[Function]}
+ onEnter={[Function]}
+ onFocus={[Function]}
+ onHTMLContentWithCursor={[Function]}
+ onKeyDown={[Function]}
+ onPaste={[Function]}
+ onSelectionChange={[Function]}
+ placeholder=""
+ placeholderTextColor="white"
+ selectionColor="white"
+ style={
+ {
+ "backgroundColor": undefined,
+ "color": "white",
+ "maxWidth": 80,
+ "minHeight": 0,
+ }
}
- }
- textAlign="center"
- triggerKeyCodes={[]}
- />
+ text={
+ {
+ "eventCount": undefined,
+ "linkTextColor": undefined,
+ "selection": null,
+ "tag": "p",
+ "text": "Download
",
+ }
+ }
+ textAlign="center"
+ triggerKeyCodes={[]}
+ />
+
diff --git a/packages/block-library/src/search/test/__snapshots__/edit.native.js.snap b/packages/block-library/src/search/test/__snapshots__/edit.native.js.snap
index e40797aea5775..dd0c7aa1694f4 100644
--- a/packages/block-library/src/search/test/__snapshots__/edit.native.js.snap
+++ b/packages/block-library/src/search/test/__snapshots__/edit.native.js.snap
@@ -19,7 +19,7 @@ exports[`Search Block renders block with button inside option 1`] = `
]
}
>
-
+ Search",
+ disableEditingMenu={false}
+ fontFamily="serif"
+ fontSize={16}
+ isMultiline={false}
+ maxImagesWidth={200}
+ onBackspace={[Function]}
+ onBlur={[Function]}
+ onChange={[Function]}
+ onContentSizeChange={[Function]}
+ onEnter={[Function]}
+ onFocus={[Function]}
+ onHTMLContentWithCursor={[Function]}
+ onKeyDown={[Function]}
+ onPaste={[Function]}
+ onSelectionChange={[Function]}
+ placeholder="Add label…"
+ placeholderTextColor="gray"
+ selectionColor="black"
+ style={
+ {
+ "backgroundColor": undefined,
+ "maxWidth": undefined,
+ "minHeight": 0,
+ }
}
- }
- triggerKeyCodes={[]}
- />
+ text={
+ {
+ "eventCount": undefined,
+ "linkTextColor": undefined,
+ "selection": null,
+ "tag": "p",
+ "text": "Search
",
+ }
+ }
+ triggerKeyCodes={[]}
+ />
+
-
+ Search Button",
+ disableEditingMenu={false}
+ fontFamily="serif"
+ fontSize={16}
+ isMultiline={false}
+ maxImagesWidth={200}
+ minWidth={75}
+ onBackspace={[Function]}
+ onBlur={[Function]}
+ onChange={[Function]}
+ onContentSizeChange={[Function]}
+ onEnter={[Function]}
+ onFocus={[Function]}
+ onHTMLContentWithCursor={[Function]}
+ onKeyDown={[Function]}
+ onPaste={[Function]}
+ onSelectionChange={[Function]}
+ placeholder=""
+ placeholderTextColor="gray"
+ selectionColor="black"
+ style={
+ {
+ "backgroundColor": undefined,
+ "maxWidth": NaN,
+ "minHeight": 0,
+ }
}
- }
- textAlign="center"
- triggerKeyCodes={[]}
- />
+ text={
+ {
+ "eventCount": undefined,
+ "linkTextColor": undefined,
+ "selection": null,
+ "tag": "p",
+ "text": "Search Button
",
+ }
+ }
+ textAlign="center"
+ triggerKeyCodes={[]}
+ />
+
@@ -233,7 +261,7 @@ exports[`Search Block renders block with icon button option matches snapshot 1`]
]
}
>
-
+ Search",
+ disableEditingMenu={false}
+ fontFamily="serif"
+ fontSize={16}
+ isMultiline={false}
+ maxImagesWidth={200}
+ onBackspace={[Function]}
+ onBlur={[Function]}
+ onChange={[Function]}
+ onContentSizeChange={[Function]}
+ onEnter={[Function]}
+ onFocus={[Function]}
+ onHTMLContentWithCursor={[Function]}
+ onKeyDown={[Function]}
+ onPaste={[Function]}
+ onSelectionChange={[Function]}
+ placeholder="Add label…"
+ placeholderTextColor="gray"
+ selectionColor="black"
+ style={
+ {
+ "backgroundColor": undefined,
+ "maxWidth": undefined,
+ "minHeight": 0,
+ }
}
- }
- triggerKeyCodes={[]}
- />
+ text={
+ {
+ "eventCount": undefined,
+ "linkTextColor": undefined,
+ "selection": null,
+ "tag": "p",
+ "text": "Search
",
+ }
+ }
+ triggerKeyCodes={[]}
+ />
+
-
+ Search Button",
+ disableEditingMenu={false}
+ fontFamily="serif"
+ fontSize={16}
+ isMultiline={false}
+ maxImagesWidth={200}
+ minWidth={75}
+ onBackspace={[Function]}
+ onBlur={[Function]}
+ onChange={[Function]}
+ onContentSizeChange={[Function]}
+ onEnter={[Function]}
+ onFocus={[Function]}
+ onHTMLContentWithCursor={[Function]}
+ onKeyDown={[Function]}
+ onPaste={[Function]}
+ onSelectionChange={[Function]}
+ placeholder=""
+ placeholderTextColor="gray"
+ selectionColor="black"
+ style={
+ {
+ "backgroundColor": undefined,
+ "maxWidth": NaN,
+ "minHeight": 0,
+ }
}
- }
- textAlign="center"
- triggerKeyCodes={[]}
- />
+ text={
+ {
+ "eventCount": undefined,
+ "linkTextColor": undefined,
+ "selection": null,
+ "tag": "p",
+ "text": "Search Button
",
+ }
+ }
+ textAlign="center"
+ triggerKeyCodes={[]}
+ />
+
@@ -517,7 +573,7 @@ exports[`Search Block renders with default configuration matches snapshot 1`] =
]
}
>
-
+ Search",
+ disableEditingMenu={false}
+ fontFamily="serif"
+ fontSize={16}
+ isMultiline={false}
+ maxImagesWidth={200}
+ onBackspace={[Function]}
+ onBlur={[Function]}
+ onChange={[Function]}
+ onContentSizeChange={[Function]}
+ onEnter={[Function]}
+ onFocus={[Function]}
+ onHTMLContentWithCursor={[Function]}
+ onKeyDown={[Function]}
+ onPaste={[Function]}
+ onSelectionChange={[Function]}
+ placeholder="Add label…"
+ placeholderTextColor="gray"
+ selectionColor="black"
+ style={
+ {
+ "backgroundColor": undefined,
+ "maxWidth": undefined,
+ "minHeight": 0,
+ }
}
- }
- triggerKeyCodes={[]}
- />
+ text={
+ {
+ "eventCount": undefined,
+ "linkTextColor": undefined,
+ "selection": null,
+ "tag": "p",
+ "text": "Search
",
+ }
+ }
+ triggerKeyCodes={[]}
+ />
+
-
+ Search Button",
+ disableEditingMenu={false}
+ fontFamily="serif"
+ fontSize={16}
+ isMultiline={false}
+ maxImagesWidth={200}
+ minWidth={75}
+ onBackspace={[Function]}
+ onBlur={[Function]}
+ onChange={[Function]}
+ onContentSizeChange={[Function]}
+ onEnter={[Function]}
+ onFocus={[Function]}
+ onHTMLContentWithCursor={[Function]}
+ onKeyDown={[Function]}
+ onPaste={[Function]}
+ onSelectionChange={[Function]}
+ placeholder=""
+ placeholderTextColor="gray"
+ selectionColor="black"
+ style={
+ {
+ "backgroundColor": undefined,
+ "maxWidth": NaN,
+ "minHeight": 0,
+ }
}
- }
- textAlign="center"
- triggerKeyCodes={[]}
- />
+ text={
+ {
+ "eventCount": undefined,
+ "linkTextColor": undefined,
+ "selection": null,
+ "tag": "p",
+ "text": "Search Button
",
+ }
+ }
+ textAlign="center"
+ triggerKeyCodes={[]}
+ />
+
@@ -731,7 +815,7 @@ exports[`Search Block renders with no-button option matches snapshot 1`] = `
]
}
>
-
+ Search",
+ disableEditingMenu={false}
+ fontFamily="serif"
+ fontSize={16}
+ isMultiline={false}
+ maxImagesWidth={200}
+ onBackspace={[Function]}
+ onBlur={[Function]}
+ onChange={[Function]}
+ onContentSizeChange={[Function]}
+ onEnter={[Function]}
+ onFocus={[Function]}
+ onHTMLContentWithCursor={[Function]}
+ onKeyDown={[Function]}
+ onPaste={[Function]}
+ onSelectionChange={[Function]}
+ placeholder="Add label…"
+ placeholderTextColor="gray"
+ selectionColor="black"
+ style={
+ {
+ "backgroundColor": undefined,
+ "maxWidth": undefined,
+ "minHeight": 0,
+ }
}
- }
- triggerKeyCodes={[]}
- />
+ text={
+ {
+ "eventCount": undefined,
+ "linkTextColor": undefined,
+ "selection": null,
+ "tag": "p",
+ "text": "Search
",
+ }
+ }
+ triggerKeyCodes={[]}
+ />
+
+
-
+
);
}
}
diff --git a/patches/react-native+0.71.11.patch b/patches/react-native+0.71.11.patch
new file mode 100644
index 0000000000000..d624881009466
--- /dev/null
+++ b/patches/react-native+0.71.11.patch
@@ -0,0 +1,12 @@
+diff --git a/node_modules/react-native/Libraries/Components/TextInput/TextInput.js b/node_modules/react-native/Libraries/Components/TextInput/TextInput.js
+index 0758df6..18c5687 100644
+--- a/node_modules/react-native/Libraries/Components/TextInput/TextInput.js
++++ b/node_modules/react-native/Libraries/Components/TextInput/TextInput.js
+@@ -1410,7 +1410,6 @@ function InternalTextInput(props: Props): React.Node {
+ {...props}
+ {...eventHandlers}
+ accessible={accessible}
+- accessibilityState={_accessibilityState}
+ submitBehavior={submitBehavior}
+ caretHidden={caretHidden}
+ dataDetectorTypes={props.dataDetectorTypes}