diff --git a/packages/react-native-web-docs/src/pages/docs/apis/style-sheet.md b/packages/react-native-web-docs/src/pages/docs/apis/style-sheet.md index c00a6a7d..3b15ed71 100644 --- a/packages/react-native-web-docs/src/pages/docs/apis/style-sheet.md +++ b/packages/react-native-web-docs/src/pages/docs/apis/style-sheet.md @@ -5,7 +5,6 @@ permalink: /docs/style-sheet/index.html eleventyNavigation: key: StyleSheet parent: APIs - label: "Change" --- {% import "fragments/macros.html" as macro with context %} diff --git a/packages/react-native-web-docs/src/pages/docs/appendix/unstable-apis.md b/packages/react-native-web-docs/src/pages/docs/appendix/unstable-apis.md index f8cc6d1a..eb805859 100644 --- a/packages/react-native-web-docs/src/pages/docs/appendix/unstable-apis.md +++ b/packages/react-native-web-docs/src/pages/docs/appendix/unstable-apis.md @@ -7,7 +7,6 @@ eleventyNavigation: key: Unstable APIs parent: Appendix order: 1 - label: "Change" --- :::lead diff --git a/packages/react-native-web-docs/src/pages/docs/components/text-input.md b/packages/react-native-web-docs/src/pages/docs/components/text-input.md index 30a5b48e..50c7673d 100644 --- a/packages/react-native-web-docs/src/pages/docs/components/text-input.md +++ b/packages/react-native-web-docs/src/pages/docs/components/text-input.md @@ -5,6 +5,7 @@ permalink: /docs/text-input/index.html eleventyNavigation: key: TextInput parent: Components + label: "Change" --- {% import "fragments/macros.html" as macro with context %} @@ -31,12 +32,16 @@ import { TextInput } from 'react-native-web'; The [accessibility props]({{ '/docs/accessibility' | url }}). {% endcall %} -{% call macro.prop('...ClickProps') %} -The [click props]({{ '/docs/interactions' | url }}). +{% call macro.prop('...PointerProps') %} +The [PointerEvent props]({{ '/docs/interactions' | url }}). {% endcall %} {% call macro.prop('...FocusProps') %} -The [focus props]({{ '/docs/interactions' | url }}). +The [FocusEvent props]({{ '/docs/interactions' | url }}). +{% endcall %} + +{% call macro.prop('...KeyboardProps') %} +The [KeyboardEvent props]({{ '/docs/interactions' | url }}). {% endcall %} {% call macro.prop('autoCapitalize', '?string') %} @@ -79,11 +84,15 @@ Equivalent to [HTMLElement.dir](https://developer.mozilla.org/en-US/docs/Web/API Equivalent to [HTMLElement.disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled) {% endcall %} -{% call macro.prop('editable', '?boolean = true') %} -Equivalent to [HTMLElement.readonly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly) +{% call macro.prop('enterKeyHint', '?string') %} +Specifies what action label (or icon) to present for the enter key on virtual keyboards. Equivalent to [HTMLElement.enterkeyhint](https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-enterkeyhint-attribute) {% endcall %} -{% call macro.prop('keyboardType', '?string') %} +{% call macro.prop('id', '?string') %} +Equivalent to [HTMLElement.id](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id). +{% endcall %} + +{% call macro.prop('inputMode', '?string') %} Hints at the type of data that might be entered by the user while editing the element or its contents. Equivalent to [HTMLElement.inputMode](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode). Safari iOS requires an ancestral `