react-native-ui-lib 7.46.2-snapshot.7314 → 7.46.2-snapshot.7316

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/babel.config.js +0 -12
  2. package/index.js +0 -1
  3. package/lib/android/build.gradle +5 -5
  4. package/lib/android/src/main/java/com/wix/reactnativeuilib/UiLibPackageList.java +2 -0
  5. package/lib/android/src/main/java/com/wix/reactnativeuilib/highlighterview/HighlighterViewManager.java +23 -31
  6. package/lib/android/src/main/java/com/wix/reactnativeuilib/highlighterview/ReactHacks.java +30 -0
  7. package/lib/android/src/main/java/com/wix/reactnativeuilib/highlighterview/ReflectionUtils.java +34 -0
  8. package/lib/android/src/main/java/com/wix/reactnativeuilib/keyboardinput/utils/RuntimeUtils.java +1 -1
  9. package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/DefaultKeyListener.java +33 -0
  10. package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/KeyListenerProxy.java +53 -0
  11. package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/TextInputDelKeyHandlerModule.java +54 -0
  12. package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/TextInputDelKeyHandlerPackage.java +28 -0
  13. package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/ViewUtils.java +36 -0
  14. package/lib/components/{HighlighterOverlayView/index.d.ts → HighlighterOverlayView.d.ts} +1 -1
  15. package/lib/components/HighlighterOverlayView.js +40 -0
  16. package/lib/components/{HighlighterOverlayView/index.web.d.ts → HighlighterOverlayView.web.d.ts} +1 -1
  17. package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/CustomKeyboardView.android.d.ts +2 -5
  18. package/lib/components/Keyboard/KeyboardInput/CustomKeyboardView/CustomKeyboardView.android.js +28 -0
  19. package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/CustomKeyboardView.ios.d.ts +1 -1
  20. package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/CustomKeyboardView.ios.js +3 -3
  21. package/lib/components/Keyboard/{KeyboardAccessoryView/CustomKeyboardView → KeyboardInput}/CustomKeyboardViewBase.d.ts +0 -3
  22. package/lib/components/Keyboard/{KeyboardAccessoryView/CustomKeyboardView → KeyboardInput}/CustomKeyboardViewBase.js +1 -1
  23. package/lib/components/Keyboard/{KeyboardAccessoryView/index.d.ts → KeyboardInput/KeyboardAccessoryView.d.ts} +1 -11
  24. package/lib/components/Keyboard/{KeyboardAccessoryView/index.js → KeyboardInput/KeyboardAccessoryView.js} +5 -31
  25. package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry/index.d.ts → KeyboardInput/KeyboardRegistry.d.ts} +1 -1
  26. package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry/index.js → KeyboardInput/KeyboardRegistry.js} +1 -1
  27. package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry → KeyboardInput}/__tests__/KeyboardRegistry.spec.js +1 -1
  28. package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/keyboardAccessoryView.api.json +5 -5
  29. package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry → KeyboardInput}/keyboardRegistry.api.json +9 -9
  30. package/lib/components/Keyboard/KeyboardInput/utils/KeyboardUtils.d.ts +11 -0
  31. package/lib/components/Keyboard/KeyboardInput/utils/KeyboardUtils.js +17 -0
  32. package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry/EventEmitterManager → KeyboardInput/utils}/__tests__/EventEmitterManager.spec.js +1 -1
  33. package/lib/components/Keyboard/{KeyboardAwareInsetsView/index.d.ts → KeyboardTracking/KeyboardAwareInsetsView.d.ts} +1 -1
  34. package/lib/components/Keyboard/{KeyboardAwareInsetsView/index.js → KeyboardTracking/KeyboardAwareInsetsView.js} +1 -1
  35. package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/KeyboardTrackingView.ios.d.ts +4 -1
  36. package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/KeyboardTrackingView.ios.js +8 -5
  37. package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/index.d.ts +2 -2
  38. package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/keyboardTrackingView.api.json +20 -11
  39. package/lib/components/Keyboard/index.d.ts +6 -6
  40. package/lib/components/Keyboard/index.js +6 -6
  41. package/lib/components/SafeArea/SafeAreaInsetsManager.d.ts +7 -21
  42. package/lib/components/SafeArea/SafeAreaInsetsManager.js +31 -95
  43. package/lib/components/SafeArea/SafeAreaSpacerView.d.ts +2 -2
  44. package/lib/components/SafeArea/SafeAreaSpacerView.js +9 -63
  45. package/lib/components/index.d.ts +1 -1
  46. package/lib/components/index.js +1 -1
  47. package/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomInputControllerTemp.m +8 -52
  48. package/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomKeyboardViewControllerTemp.h +7 -1
  49. package/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomKeyboardViewControllerTemp.m +1 -1
  50. package/lib/ios/reactnativeuilib/keyboardtrackingview/KeyboardTrackingViewTempManager.m +41 -109
  51. package/lib/package.json +1 -1
  52. package/lib/react-native.config.js +3 -1
  53. package/metro.config.js +2 -2
  54. package/package.json +24 -24
  55. package/panningViews.d.ts +2 -0
  56. package/panningViews.js +1 -0
  57. package/react-native.config.js +3 -1
  58. package/sharedTransition.d.ts +2 -0
  59. package/sharedTransition.js +1 -0
  60. package/src/commons/Constants.js +5 -2
  61. package/src/components/KeyboardAwareScrollView/KeyboardAwareBase.js +1 -5
  62. package/src/components/actionSheet/index.d.ts +12 -2
  63. package/src/components/actionSheet/index.js +42 -3
  64. package/src/components/badge/index.d.ts +47 -107
  65. package/src/components/button/button.api.json +6 -1
  66. package/src/components/button/index.d.ts +31 -53
  67. package/src/components/button/index.js +18 -1
  68. package/src/components/button/types.d.ts +5 -0
  69. package/src/components/colorPicker/ColorPickerDialog.d.ts +1 -1
  70. package/src/components/colorPicker/ColorPickerDialog.js +1 -1
  71. package/src/components/dateTimePicker/index.d.ts +5 -186
  72. package/src/components/dateTimePicker/index.js +4 -3
  73. package/src/components/dialog/DialogDismissibleView.d.ts +34 -0
  74. package/src/components/dialog/DialogDismissibleView.js +184 -0
  75. package/src/components/dialog/OverlayFadingBackground.d.ts +14 -0
  76. package/src/components/dialog/OverlayFadingBackground.js +45 -0
  77. package/src/components/dialog/dialog.api.json +37 -31
  78. package/src/components/dialog/index.d.ts +105 -13
  79. package/src/components/dialog/index.js +212 -204
  80. package/src/components/drawer/Swipeable.js +2 -1
  81. package/src/components/drawer/index.js +25 -31
  82. package/src/components/fadedScrollView/index.js +2 -7
  83. package/src/components/featureHighlight/index.d.ts +1 -1
  84. package/src/components/index.js +19 -0
  85. package/src/components/modal/index.d.ts +0 -5
  86. package/src/components/modal/index.js +10 -14
  87. package/src/components/modal/modal.api.json +0 -5
  88. package/src/components/panningViews/asPanViewConsumer.d.ts +3 -0
  89. package/src/components/panningViews/asPanViewConsumer.js +16 -0
  90. package/src/components/panningViews/panDismissibleView.d.ts +51 -0
  91. package/src/components/panningViews/panDismissibleView.js +350 -0
  92. package/src/components/panningViews/panGestureView.d.ts +23 -0
  93. package/src/components/panningViews/panGestureView.js +156 -0
  94. package/src/components/panningViews/panListenerView.d.ts +66 -0
  95. package/src/components/panningViews/panListenerView.js +155 -0
  96. package/src/components/panningViews/panResponderView.d.ts +19 -0
  97. package/src/components/panningViews/panResponderView.js +79 -0
  98. package/src/components/panningViews/panningContext.d.ts +3 -0
  99. package/src/components/panningViews/panningContext.js +4 -0
  100. package/src/components/panningViews/panningProvider.d.ts +73 -0
  101. package/src/components/panningViews/panningProvider.js +101 -0
  102. package/src/components/picker/Picker.driver.new.d.ts +2 -2
  103. package/src/components/picker/Picker.driver.new.js +3 -3
  104. package/src/components/picker/PickerItem.js +20 -6
  105. package/src/components/picker/PickerPresenter.d.ts +1 -0
  106. package/src/components/picker/PickerPresenter.js +23 -1
  107. package/src/components/picker/api/picker.api.json +1 -0
  108. package/src/components/picker/api/pickerItem.api.json +5 -0
  109. package/src/components/picker/helpers/useFieldType.d.ts +23 -53
  110. package/src/components/picker/helpers/usePickerLabel.d.ts +1 -1
  111. package/src/components/picker/helpers/usePickerLabel.js +3 -2
  112. package/src/components/picker/helpers/usePickerMigrationWarnings.d.ts +1 -1
  113. package/src/components/picker/helpers/usePickerMigrationWarnings.js +12 -0
  114. package/src/components/picker/helpers/usePickerSearch.d.ts +1 -1
  115. package/src/components/picker/helpers/usePickerSearch.js +8 -4
  116. package/src/components/picker/helpers/usePickerSelection.d.ts +1 -1
  117. package/src/components/picker/helpers/usePickerSelection.js +10 -2
  118. package/src/components/picker/index.js +22 -4
  119. package/src/components/picker/types.d.ts +24 -1
  120. package/src/components/segmentedControl/index.js +3 -3
  121. package/src/components/sharedTransition/ShareTransitionContext.js +3 -0
  122. package/src/components/sharedTransition/SharedArea.js +153 -0
  123. package/src/components/sharedTransition/SourceElement.js +44 -0
  124. package/src/components/sharedTransition/TargetElement.js +38 -0
  125. package/src/components/sharedTransition/index.js +9 -0
  126. package/src/components/slider/GradientSlider.d.ts +1 -1
  127. package/src/components/sortableGridList/SortableItem.js +4 -13
  128. package/src/components/sortableList/SortableListItem.js +4 -13
  129. package/src/components/stackAggregator/index.js +11 -16
  130. package/src/components/text/Text.driver.new.d.ts +2 -2
  131. package/src/components/text/Text.driver.new.js +2 -2
  132. package/src/components/textField/Input.js +1 -0
  133. package/src/components/textField/TextField.driver.new.d.ts +2 -2
  134. package/src/components/textField/TextField.driver.new.js +2 -2
  135. package/src/components/textField/presets/outline.d.ts +46 -106
  136. package/src/components/textField/presets/underline.d.ts +46 -106
  137. package/src/components/textField/usePreset.d.ts +44 -72
  138. package/src/incubator/dialog/dialog.api.json +54 -0
  139. package/src/{components → incubator}/dialog/dialogHeader.api.json +2 -2
  140. package/src/incubator/dialog/index.d.ts +15 -0
  141. package/src/incubator/dialog/index.js +218 -0
  142. package/src/{components → incubator}/dialog/types.d.ts +19 -0
  143. package/src/{components → incubator}/dialog/types.js +3 -1
  144. package/src/{components → incubator}/dialog/useDialogContent.d.ts +1 -1
  145. package/src/incubator/expandableOverlay/ExpandableOverlay.driver.js +1 -1
  146. package/src/incubator/expandableOverlay/index.d.ts +3 -42
  147. package/src/incubator/expandableOverlay/index.js +4 -1
  148. package/src/{hooks/useHiddenLocation/index.d.ts → incubator/hooks/useHiddenLocation.d.ts} +1 -1
  149. package/src/{hooks/useHiddenLocation/index.web.d.ts → incubator/hooks/useHiddenLocation.web.d.ts} +1 -1
  150. package/src/incubator/index.d.ts +2 -0
  151. package/src/incubator/index.js +2 -0
  152. package/src/{components → incubator}/panView/index.d.ts +3 -3
  153. package/src/{components → incubator}/panView/index.js +4 -4
  154. package/src/{components → incubator}/panView/usePanGesture.d.ts +1 -1
  155. package/src/incubator/toast/index.js +1 -1
  156. package/src/index.d.ts +10 -3
  157. package/src/index.js +160 -41
  158. package/src/testkit/index.d.ts +1 -1
  159. package/src/testkit/index.js +1 -1
  160. package/src/testkit/new/Component.driver.d.ts +1 -4
  161. package/src/testkit/new/Component.driver.js +3 -3
  162. package/lib/components/HighlighterOverlayView/index.js +0 -49
  163. package/lib/components/Keyboard/KeyboardAccessoryView/CustomKeyboardView/CustomKeyboardView.android.js +0 -51
  164. package/lib/components/Keyboard/KeyboardAccessoryView/KeyboardUtils/index.d.ts +0 -26
  165. package/lib/components/Keyboard/KeyboardAccessoryView/KeyboardUtils/index.js +0 -91
  166. package/lib/components/SafeArea/__tests__/SafeAreaInsetsManager.spec.js +0 -274
  167. package/lib/components/SafeArea/index.d.ts +0 -10
  168. package/lib/components/SafeArea/index.js +0 -11
  169. package/panView.d.ts +0 -2
  170. package/panView.js +0 -1
  171. /package/lib/components/{HighlighterOverlayView/index.web.js → HighlighterOverlayView.web.js} +0 -0
  172. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/index.d.ts +0 -0
  173. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/index.js +0 -0
  174. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/index.web.d.ts +0 -0
  175. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/index.web.js +0 -0
  176. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/TextInputKeyboardManager.android.d.ts +0 -0
  177. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/TextInputKeyboardManager.android.js +0 -0
  178. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/TextInputKeyboardManager.ios.d.ts +0 -0
  179. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/TextInputKeyboardManager.ios.js +0 -0
  180. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/index.d.ts +0 -0
  181. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/index.js +0 -0
  182. /package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry/EventEmitterManager/index.d.ts → KeyboardInput/utils/EventEmitterManager.d.ts} +0 -0
  183. /package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry/EventEmitterManager/index.js → KeyboardInput/utils/EventEmitterManager.js} +0 -0
  184. /package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/KeyboardTrackingView.android.d.ts +0 -0
  185. /package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/KeyboardTrackingView.android.js +0 -0
  186. /package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/index.js +0 -0
  187. /package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/index.web.d.ts +0 -0
  188. /package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/index.web.js +0 -0
  189. /package/lib/components/Keyboard/{KeyboardAwareInsetsView → KeyboardTracking}/keyboardAwareInsetsView.api.json +0 -0
  190. /package/src/{components → incubator}/dialog/Dialog.driver.new.d.ts +0 -0
  191. /package/src/{components → incubator}/dialog/Dialog.driver.new.js +0 -0
  192. /package/src/{components → incubator}/dialog/DialogHeader.d.ts +0 -0
  193. /package/src/{components → incubator}/dialog/DialogHeader.js +0 -0
  194. /package/src/{components → incubator}/dialog/useDialogContent.js +0 -0
  195. /package/src/{hooks/useHiddenLocation/index.js → incubator/hooks/useHiddenLocation.js} +0 -0
  196. /package/src/{hooks/useHiddenLocation/index.web.js → incubator/hooks/useHiddenLocation.web.js} +0 -0
  197. /package/src/{components → incubator}/panView/panningUtil.d.ts +0 -0
  198. /package/src/{components → incubator}/panView/panningUtil.js +0 -0
  199. /package/src/{components → incubator}/panView/usePanGesture.js +0 -0
@@ -39,19 +39,17 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
39
39
  onContentSizeChange?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputContentSizeChangeEventData>) => void) | undefined;
40
40
  onScroll?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputScrollEventData>) => void) | undefined;
41
41
  scrollEnabled?: boolean | undefined;
42
- hitSlop?: number | import("react-native/types").Insets | null | undefined;
42
+ hitSlop?: import("react-native/types").Insets | undefined;
43
43
  id?: string | undefined;
44
- needsOffscreenAlphaCompositing?: boolean | undefined;
45
44
  nativeID?: string | undefined;
46
- experimental_layoutConformance?: "strict" | "classic" | undefined;
47
45
  collapsable?: boolean | undefined;
48
- collapsableChildren?: boolean | undefined;
46
+ needsOffscreenAlphaCompositing?: boolean | undefined;
49
47
  renderToHardwareTextureAndroid?: boolean | undefined;
50
48
  focusable?: boolean | undefined;
51
- tabIndex?: 0 | -1 | undefined;
52
49
  shouldRasterizeIOS?: boolean | undefined;
53
50
  isTVSelectable?: boolean | undefined;
54
51
  hasTVPreferredFocus?: boolean | undefined;
52
+ tvParallaxProperties?: import("react-native/types").TVParallaxProperties | undefined;
55
53
  tvParallaxShiftDistanceX?: number | undefined;
56
54
  tvParallaxShiftDistanceY?: number | undefined;
57
55
  tvParallaxTiltAngle?: number | undefined;
@@ -99,6 +97,7 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
99
97
  'aria-disabled'?: boolean | undefined;
100
98
  'aria-expanded'?: boolean | undefined;
101
99
  'aria-selected'?: boolean | undefined;
100
+ 'aria-labelledby'?: string | undefined;
102
101
  accessibilityHint?: string | undefined;
103
102
  accessibilityValue?: import("react-native/types").AccessibilityValue | undefined;
104
103
  'aria-valuemax'?: number | undefined;
@@ -108,12 +107,11 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
108
107
  onAccessibilityAction?: ((event: import("react-native/types").AccessibilityActionEvent) => void) | undefined;
109
108
  importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | undefined;
110
109
  'aria-hidden'?: boolean | undefined;
110
+ 'aria-live'?: "polite" | "assertive" | "off" | undefined;
111
111
  'aria-modal'?: boolean | undefined;
112
112
  role?: import("react-native/types").Role | undefined;
113
- accessibilityLabelledBy?: string | string[] | undefined;
114
- 'aria-labelledby'?: string | undefined;
115
113
  accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
116
- 'aria-live'?: "polite" | "assertive" | "off" | undefined;
114
+ accessibilityLabelledBy?: string | string[] | undefined;
117
115
  accessibilityElementsHidden?: boolean | undefined;
118
116
  accessibilityViewIsModal?: boolean | undefined;
119
117
  onAccessibilityEscape?: (() => void) | undefined;
@@ -121,12 +119,8 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
121
119
  onMagicTap?: (() => void) | undefined;
122
120
  accessibilityIgnoresInvertColors?: boolean | undefined;
123
121
  accessibilityLanguage?: string | undefined;
124
- accessibilityShowsLargeContentViewer?: boolean | undefined;
125
- accessibilityLargeContentTitle?: string | undefined;
126
- onPress?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").NativeTouchEvent>) => void) | undefined;
127
122
  onPressIn?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").NativeTouchEvent>) => void) | undefined;
128
123
  onPressOut?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").NativeTouchEvent>) => void) | undefined;
129
- rejectResponderTermination?: boolean | null | undefined;
130
124
  onBlur?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputFocusEventData>) => void) | undefined;
131
125
  onFocus?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputFocusEventData>) => void) | undefined;
132
126
  allowFontScaling?: boolean | undefined;
@@ -140,7 +134,6 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
140
134
  autoCorrect?: boolean | undefined;
141
135
  autoFocus?: boolean | undefined;
142
136
  blurOnSubmit?: boolean | undefined;
143
- submitBehavior?: import("react-native/types").SubmitBehavior | undefined;
144
137
  caretHidden?: boolean | undefined;
145
138
  contextMenuHidden?: boolean | undefined;
146
139
  defaultValue?: string | undefined;
@@ -154,6 +147,7 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
154
147
  onEndEditing?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputEndEditingEventData>) => void) | undefined;
155
148
  onSelectionChange?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputSelectionChangeEventData>) => void) | undefined;
156
149
  onSubmitEditing?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputSubmitEditingEventData>) => void) | undefined;
150
+ onTextInput?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputTextInputEventData>) => void) | undefined;
157
151
  onKeyPress?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputKeyPressEventData>) => void) | undefined;
158
152
  placeholder?: string | undefined;
159
153
  readOnly?: boolean | undefined;
@@ -168,13 +162,12 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
168
162
  enablesReturnKeyAutomatically?: boolean | undefined;
169
163
  keyboardAppearance?: "default" | "light" | "dark" | undefined;
170
164
  passwordRules?: string | null | undefined;
165
+ rejectResponderTermination?: boolean | null | undefined;
171
166
  selectionState?: import("react-native/types").DocumentSelectionState | undefined;
172
167
  spellCheck?: boolean | undefined;
173
- textContentType?: "none" | "name" | "nickname" | "password" | "username" | "flightNumber" | "URL" | "addressCity" | "addressCityAndState" | "addressState" | "countryName" | "creditCardNumber" | "creditCardExpiration" | "creditCardExpirationMonth" | "creditCardExpirationYear" | "creditCardSecurityCode" | "creditCardType" | "creditCardName" | "creditCardGivenName" | "creditCardMiddleName" | "creditCardFamilyName" | "emailAddress" | "familyName" | "fullStreetAddress" | "givenName" | "jobTitle" | "location" | "middleName" | "namePrefix" | "nameSuffix" | "organizationName" | "postalCode" | "streetAddressLine1" | "streetAddressLine2" | "sublocality" | "telephoneNumber" | "newPassword" | "oneTimeCode" | "birthdate" | "birthdateDay" | "birthdateMonth" | "birthdateYear" | "cellularEID" | "cellularIMEI" | "dateTime" | "shipmentTrackingNumber" | undefined;
174
- lineBreakModeIOS?: "middle" | "head" | "tail" | "clip" | "wordWrapping" | "char" | undefined;
168
+ textContentType?: "none" | "name" | "nickname" | "password" | "username" | "URL" | "addressCity" | "addressCityAndState" | "addressState" | "countryName" | "creditCardNumber" | "creditCardExpiration" | "creditCardExpirationMonth" | "creditCardExpirationYear" | "creditCardSecurityCode" | "creditCardType" | "creditCardName" | "creditCardGivenName" | "creditCardMiddleName" | "creditCardFamilyName" | "emailAddress" | "familyName" | "fullStreetAddress" | "givenName" | "jobTitle" | "location" | "middleName" | "namePrefix" | "nameSuffix" | "organizationName" | "postalCode" | "streetAddressLine1" | "streetAddressLine2" | "sublocality" | "telephoneNumber" | "newPassword" | "oneTimeCode" | "birthdate" | "birthdateDay" | "birthdateMonth" | "birthdateYear" | undefined;
175
169
  smartInsertDelete?: boolean | undefined;
176
170
  cursorColor?: import("react-native/types").ColorValue | null | undefined;
177
- selectionHandleColor?: import("react-native/types").ColorValue | null | undefined;
178
171
  importantForAutofill?: "auto" | "yes" | "no" | "noExcludeDescendants" | "yesExcludeDescendants" | undefined;
179
172
  disableFullscreenUI?: boolean | undefined;
180
173
  inlineImageLeft?: string | undefined;
@@ -192,7 +185,7 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
192
185
  floatingPlaceholder?: boolean | undefined;
193
186
  enableErrors?: boolean | undefined;
194
187
  floatingPlaceholderColor?: import("./types").ColorType | undefined;
195
- floatingPlaceholderStyle?: ((false | "" | import("react-native/types").TextStyle | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle> | import("react-native/types").RecursiveArray<import("react-native/types").TextStyle | import("react-native/types").Falsy | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle>> | null) & import("react-native/types").TextStyle) | undefined;
188
+ floatingPlaceholderStyle?: ((false | import("react-native/types").TextStyle | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle> | import("react-native/types").RecursiveArray<import("react-native/types").TextStyle | import("react-native/types").Falsy | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle>> | null) & import("react-native/types").TextStyle) | undefined;
196
189
  floatOnFocus?: boolean | undefined;
197
190
  extraOffset?: number | undefined;
198
191
  onClear?: (() => void) | undefined;
@@ -510,19 +503,17 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
510
503
  onContentSizeChange?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputContentSizeChangeEventData>) => void) | undefined;
511
504
  onScroll?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputScrollEventData>) => void) | undefined;
512
505
  scrollEnabled?: boolean | undefined;
513
- hitSlop?: number | import("react-native/types").Insets | null | undefined;
506
+ hitSlop?: import("react-native/types").Insets | undefined;
514
507
  id?: string | undefined;
515
- needsOffscreenAlphaCompositing?: boolean | undefined;
516
508
  nativeID?: string | undefined;
517
- experimental_layoutConformance?: "strict" | "classic" | undefined;
518
509
  collapsable?: boolean | undefined;
519
- collapsableChildren?: boolean | undefined;
510
+ needsOffscreenAlphaCompositing?: boolean | undefined;
520
511
  renderToHardwareTextureAndroid?: boolean | undefined;
521
512
  focusable?: boolean | undefined;
522
- tabIndex?: 0 | -1 | undefined;
523
513
  shouldRasterizeIOS?: boolean | undefined;
524
514
  isTVSelectable?: boolean | undefined;
525
515
  hasTVPreferredFocus?: boolean | undefined;
516
+ tvParallaxProperties?: import("react-native/types").TVParallaxProperties | undefined;
526
517
  tvParallaxShiftDistanceX?: number | undefined;
527
518
  tvParallaxShiftDistanceY?: number | undefined;
528
519
  tvParallaxTiltAngle?: number | undefined;
@@ -570,6 +561,7 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
570
561
  'aria-disabled'?: boolean | undefined;
571
562
  'aria-expanded'?: boolean | undefined;
572
563
  'aria-selected'?: boolean | undefined;
564
+ 'aria-labelledby'?: string | undefined;
573
565
  accessibilityHint?: string | undefined;
574
566
  accessibilityValue?: import("react-native/types").AccessibilityValue | undefined;
575
567
  'aria-valuemax'?: number | undefined;
@@ -579,12 +571,11 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
579
571
  onAccessibilityAction?: ((event: import("react-native/types").AccessibilityActionEvent) => void) | undefined;
580
572
  importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | undefined;
581
573
  'aria-hidden'?: boolean | undefined;
574
+ 'aria-live'?: "polite" | "assertive" | "off" | undefined;
582
575
  'aria-modal'?: boolean | undefined;
583
576
  role?: import("react-native/types").Role | undefined;
584
- accessibilityLabelledBy?: string | string[] | undefined;
585
- 'aria-labelledby'?: string | undefined;
586
577
  accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
587
- 'aria-live'?: "polite" | "assertive" | "off" | undefined;
578
+ accessibilityLabelledBy?: string | string[] | undefined;
588
579
  accessibilityElementsHidden?: boolean | undefined;
589
580
  accessibilityViewIsModal?: boolean | undefined;
590
581
  onAccessibilityEscape?: (() => void) | undefined;
@@ -592,12 +583,8 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
592
583
  onMagicTap?: (() => void) | undefined;
593
584
  accessibilityIgnoresInvertColors?: boolean | undefined;
594
585
  accessibilityLanguage?: string | undefined;
595
- accessibilityShowsLargeContentViewer?: boolean | undefined;
596
- accessibilityLargeContentTitle?: string | undefined;
597
- onPress?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").NativeTouchEvent>) => void) | undefined;
598
586
  onPressIn?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").NativeTouchEvent>) => void) | undefined;
599
587
  onPressOut?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").NativeTouchEvent>) => void) | undefined;
600
- rejectResponderTermination?: boolean | null | undefined;
601
588
  onBlur?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputFocusEventData>) => void) | undefined;
602
589
  onFocus?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputFocusEventData>) => void) | undefined;
603
590
  allowFontScaling?: boolean | undefined;
@@ -611,7 +598,6 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
611
598
  autoCorrect?: boolean | undefined;
612
599
  autoFocus?: boolean | undefined;
613
600
  blurOnSubmit?: boolean | undefined;
614
- submitBehavior?: import("react-native/types").SubmitBehavior | undefined;
615
601
  caretHidden?: boolean | undefined;
616
602
  contextMenuHidden?: boolean | undefined;
617
603
  defaultValue?: string | undefined;
@@ -625,6 +611,7 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
625
611
  onEndEditing?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputEndEditingEventData>) => void) | undefined;
626
612
  onSelectionChange?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputSelectionChangeEventData>) => void) | undefined;
627
613
  onSubmitEditing?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputSubmitEditingEventData>) => void) | undefined;
614
+ onTextInput?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputTextInputEventData>) => void) | undefined;
628
615
  onKeyPress?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputKeyPressEventData>) => void) | undefined;
629
616
  placeholder?: string | undefined;
630
617
  readOnly?: boolean | undefined;
@@ -639,13 +626,12 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
639
626
  enablesReturnKeyAutomatically?: boolean | undefined;
640
627
  keyboardAppearance?: "default" | "light" | "dark" | undefined;
641
628
  passwordRules?: string | null | undefined;
629
+ rejectResponderTermination?: boolean | null | undefined;
642
630
  selectionState?: import("react-native/types").DocumentSelectionState | undefined;
643
631
  spellCheck?: boolean | undefined;
644
- textContentType?: "none" | "name" | "nickname" | "password" | "username" | "flightNumber" | "URL" | "addressCity" | "addressCityAndState" | "addressState" | "countryName" | "creditCardNumber" | "creditCardExpiration" | "creditCardExpirationMonth" | "creditCardExpirationYear" | "creditCardSecurityCode" | "creditCardType" | "creditCardName" | "creditCardGivenName" | "creditCardMiddleName" | "creditCardFamilyName" | "emailAddress" | "familyName" | "fullStreetAddress" | "givenName" | "jobTitle" | "location" | "middleName" | "namePrefix" | "nameSuffix" | "organizationName" | "postalCode" | "streetAddressLine1" | "streetAddressLine2" | "sublocality" | "telephoneNumber" | "newPassword" | "oneTimeCode" | "birthdate" | "birthdateDay" | "birthdateMonth" | "birthdateYear" | "cellularEID" | "cellularIMEI" | "dateTime" | "shipmentTrackingNumber" | undefined;
645
- lineBreakModeIOS?: "middle" | "head" | "tail" | "clip" | "wordWrapping" | "char" | undefined;
632
+ textContentType?: "none" | "name" | "nickname" | "password" | "username" | "URL" | "addressCity" | "addressCityAndState" | "addressState" | "countryName" | "creditCardNumber" | "creditCardExpiration" | "creditCardExpirationMonth" | "creditCardExpirationYear" | "creditCardSecurityCode" | "creditCardType" | "creditCardName" | "creditCardGivenName" | "creditCardMiddleName" | "creditCardFamilyName" | "emailAddress" | "familyName" | "fullStreetAddress" | "givenName" | "jobTitle" | "location" | "middleName" | "namePrefix" | "nameSuffix" | "organizationName" | "postalCode" | "streetAddressLine1" | "streetAddressLine2" | "sublocality" | "telephoneNumber" | "newPassword" | "oneTimeCode" | "birthdate" | "birthdateDay" | "birthdateMonth" | "birthdateYear" | undefined;
646
633
  smartInsertDelete?: boolean | undefined;
647
634
  cursorColor?: import("react-native/types").ColorValue | null | undefined;
648
- selectionHandleColor?: import("react-native/types").ColorValue | null | undefined;
649
635
  importantForAutofill?: "auto" | "yes" | "no" | "noExcludeDescendants" | "yesExcludeDescendants" | undefined;
650
636
  disableFullscreenUI?: boolean | undefined;
651
637
  inlineImageLeft?: string | undefined;
@@ -663,7 +649,7 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
663
649
  floatingPlaceholder?: boolean | undefined;
664
650
  enableErrors?: boolean | undefined;
665
651
  floatingPlaceholderColor?: import("./types").ColorType | undefined;
666
- floatingPlaceholderStyle?: ((false | "" | import("react-native/types").TextStyle | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle> | import("react-native/types").RecursiveArray<import("react-native/types").TextStyle | import("react-native/types").Falsy | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle>> | null) & import("react-native/types").TextStyle) | undefined;
652
+ floatingPlaceholderStyle?: ((false | import("react-native/types").TextStyle | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle> | import("react-native/types").RecursiveArray<import("react-native/types").TextStyle | import("react-native/types").Falsy | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle>> | null) & import("react-native/types").TextStyle) | undefined;
667
653
  floatOnFocus?: boolean | undefined;
668
654
  extraOffset?: number | undefined;
669
655
  onClear?: (() => void) | undefined;
@@ -990,26 +976,24 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
990
976
  end?: number | undefined;
991
977
  } | undefined;
992
978
  children?: import("react").ReactNode;
993
- style: false | "" | import("react-native/types").TextStyle | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle> | import("react-native/types").RecursiveArray<import("react-native/types").TextStyle | import("react-native/types").Falsy | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle>> | null;
979
+ style: false | import("react-native/types").TextStyle | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle> | import("react-native/types").RecursiveArray<import("react-native/types").TextStyle | import("react-native/types").Falsy | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle>> | null;
994
980
  testID?: string | undefined;
995
981
  removeClippedSubviews?: boolean | undefined;
996
982
  onLayout?: ((event: import("react-native/types").LayoutChangeEvent) => void) | undefined;
997
983
  onContentSizeChange?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputContentSizeChangeEventData>) => void) | undefined;
998
984
  onScroll?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputScrollEventData>) => void) | undefined;
999
985
  scrollEnabled?: boolean | undefined;
1000
- hitSlop?: number | import("react-native/types").Insets | null | undefined;
986
+ hitSlop?: import("react-native/types").Insets | undefined;
1001
987
  id?: string | undefined;
1002
- needsOffscreenAlphaCompositing?: boolean | undefined;
1003
988
  nativeID?: string | undefined;
1004
- experimental_layoutConformance?: "strict" | "classic" | undefined;
1005
989
  collapsable?: boolean | undefined;
1006
- collapsableChildren?: boolean | undefined;
990
+ needsOffscreenAlphaCompositing?: boolean | undefined;
1007
991
  renderToHardwareTextureAndroid?: boolean | undefined;
1008
992
  focusable?: boolean | undefined;
1009
- tabIndex?: 0 | -1 | undefined;
1010
993
  shouldRasterizeIOS?: boolean | undefined;
1011
994
  isTVSelectable?: boolean | undefined;
1012
995
  hasTVPreferredFocus?: boolean | undefined;
996
+ tvParallaxProperties?: import("react-native/types").TVParallaxProperties | undefined;
1013
997
  tvParallaxShiftDistanceX?: number | undefined;
1014
998
  tvParallaxShiftDistanceY?: number | undefined;
1015
999
  tvParallaxTiltAngle?: number | undefined;
@@ -1057,6 +1041,7 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
1057
1041
  'aria-disabled'?: boolean | undefined;
1058
1042
  'aria-expanded'?: boolean | undefined;
1059
1043
  'aria-selected'?: boolean | undefined;
1044
+ 'aria-labelledby'?: string | undefined;
1060
1045
  accessibilityHint?: string | undefined;
1061
1046
  accessibilityValue?: import("react-native/types").AccessibilityValue | undefined;
1062
1047
  'aria-valuemax'?: number | undefined;
@@ -1066,12 +1051,11 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
1066
1051
  onAccessibilityAction?: ((event: import("react-native/types").AccessibilityActionEvent) => void) | undefined;
1067
1052
  importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | undefined;
1068
1053
  'aria-hidden'?: boolean | undefined;
1054
+ 'aria-live'?: "polite" | "assertive" | "off" | undefined;
1069
1055
  'aria-modal'?: boolean | undefined;
1070
1056
  role?: import("react-native/types").Role | undefined;
1071
- accessibilityLabelledBy?: string | string[] | undefined;
1072
- 'aria-labelledby'?: string | undefined;
1073
1057
  accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
1074
- 'aria-live'?: "polite" | "assertive" | "off" | undefined;
1058
+ accessibilityLabelledBy?: string | string[] | undefined;
1075
1059
  accessibilityElementsHidden?: boolean | undefined;
1076
1060
  accessibilityViewIsModal?: boolean | undefined;
1077
1061
  onAccessibilityEscape?: (() => void) | undefined;
@@ -1079,12 +1063,8 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
1079
1063
  onMagicTap?: (() => void) | undefined;
1080
1064
  accessibilityIgnoresInvertColors?: boolean | undefined;
1081
1065
  accessibilityLanguage?: string | undefined;
1082
- accessibilityShowsLargeContentViewer?: boolean | undefined;
1083
- accessibilityLargeContentTitle?: string | undefined;
1084
- onPress?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").NativeTouchEvent>) => void) | undefined;
1085
1066
  onPressIn?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").NativeTouchEvent>) => void) | undefined;
1086
1067
  onPressOut?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").NativeTouchEvent>) => void) | undefined;
1087
- rejectResponderTermination?: boolean | null | undefined;
1088
1068
  onBlur?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputFocusEventData>) => void) | undefined;
1089
1069
  onFocus?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputFocusEventData>) => void) | undefined;
1090
1070
  allowFontScaling?: boolean | undefined;
@@ -1098,7 +1078,6 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
1098
1078
  autoCorrect?: boolean | undefined;
1099
1079
  autoFocus?: boolean | undefined;
1100
1080
  blurOnSubmit?: boolean | undefined;
1101
- submitBehavior?: import("react-native/types").SubmitBehavior | undefined;
1102
1081
  caretHidden?: boolean | undefined;
1103
1082
  contextMenuHidden?: boolean | undefined;
1104
1083
  defaultValue?: string | undefined;
@@ -1112,6 +1091,7 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
1112
1091
  onEndEditing?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputEndEditingEventData>) => void) | undefined;
1113
1092
  onSelectionChange?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputSelectionChangeEventData>) => void) | undefined;
1114
1093
  onSubmitEditing?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputSubmitEditingEventData>) => void) | undefined;
1094
+ onTextInput?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputTextInputEventData>) => void) | undefined;
1115
1095
  onKeyPress?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputKeyPressEventData>) => void) | undefined;
1116
1096
  placeholder?: string | undefined;
1117
1097
  readOnly?: boolean | undefined;
@@ -1126,13 +1106,12 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
1126
1106
  enablesReturnKeyAutomatically?: boolean | undefined;
1127
1107
  keyboardAppearance?: "default" | "light" | "dark" | undefined;
1128
1108
  passwordRules?: string | null | undefined;
1109
+ rejectResponderTermination?: boolean | null | undefined;
1129
1110
  selectionState?: import("react-native/types").DocumentSelectionState | undefined;
1130
1111
  spellCheck?: boolean | undefined;
1131
- textContentType?: "none" | "name" | "nickname" | "password" | "username" | "flightNumber" | "URL" | "addressCity" | "addressCityAndState" | "addressState" | "countryName" | "creditCardNumber" | "creditCardExpiration" | "creditCardExpirationMonth" | "creditCardExpirationYear" | "creditCardSecurityCode" | "creditCardType" | "creditCardName" | "creditCardGivenName" | "creditCardMiddleName" | "creditCardFamilyName" | "emailAddress" | "familyName" | "fullStreetAddress" | "givenName" | "jobTitle" | "location" | "middleName" | "namePrefix" | "nameSuffix" | "organizationName" | "postalCode" | "streetAddressLine1" | "streetAddressLine2" | "sublocality" | "telephoneNumber" | "newPassword" | "oneTimeCode" | "birthdate" | "birthdateDay" | "birthdateMonth" | "birthdateYear" | "cellularEID" | "cellularIMEI" | "dateTime" | "shipmentTrackingNumber" | undefined;
1132
- lineBreakModeIOS?: "middle" | "head" | "tail" | "clip" | "wordWrapping" | "char" | undefined;
1112
+ textContentType?: "none" | "name" | "nickname" | "password" | "username" | "URL" | "addressCity" | "addressCityAndState" | "addressState" | "countryName" | "creditCardNumber" | "creditCardExpiration" | "creditCardExpirationMonth" | "creditCardExpirationYear" | "creditCardSecurityCode" | "creditCardType" | "creditCardName" | "creditCardGivenName" | "creditCardMiddleName" | "creditCardFamilyName" | "emailAddress" | "familyName" | "fullStreetAddress" | "givenName" | "jobTitle" | "location" | "middleName" | "namePrefix" | "nameSuffix" | "organizationName" | "postalCode" | "streetAddressLine1" | "streetAddressLine2" | "sublocality" | "telephoneNumber" | "newPassword" | "oneTimeCode" | "birthdate" | "birthdateDay" | "birthdateMonth" | "birthdateYear" | undefined;
1133
1113
  smartInsertDelete?: boolean | undefined;
1134
1114
  cursorColor?: import("react-native/types").ColorValue | null | undefined;
1135
- selectionHandleColor?: import("react-native/types").ColorValue | null | undefined;
1136
1115
  importantForAutofill?: "auto" | "yes" | "no" | "noExcludeDescendants" | "yesExcludeDescendants" | undefined;
1137
1116
  disableFullscreenUI?: boolean | undefined;
1138
1117
  inlineImageLeft?: string | undefined;
@@ -1160,11 +1139,11 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
1160
1139
  disabled: string;
1161
1140
  readonly: string;
1162
1141
  };
1163
- floatingPlaceholderStyle: (false | "" | import("react-native/types").TextStyle | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle> | import("react-native/types").RecursiveArray<import("react-native/types").TextStyle | import("react-native/types").Falsy | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle>> | null) & import("react-native/types").TextStyle;
1142
+ floatingPlaceholderStyle: (false | import("react-native/types").TextStyle | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle> | import("react-native/types").RecursiveArray<import("react-native/types").TextStyle | import("react-native/types").Falsy | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle>> | null) & import("react-native/types").TextStyle;
1164
1143
  floatOnFocus?: boolean | undefined;
1165
1144
  extraOffset?: number | undefined;
1166
1145
  onClear?: (() => void) | undefined;
1167
- clearButtonStyle: false | "" | import("react-native/types").ViewStyle | import("react-native/types").RegisteredStyle<import("react-native/types").ViewStyle> | import("react-native/types").RecursiveArray<import("react-native/types").ViewStyle | import("react-native/types").Falsy | import("react-native/types").RegisteredStyle<import("react-native/types").ViewStyle>> | {
1146
+ clearButtonStyle: false | import("react-native/types").ViewStyle | import("react-native/types").RegisteredStyle<import("react-native/types").ViewStyle> | import("react-native/types").RecursiveArray<import("react-native/types").ViewStyle | import("react-native/types").Falsy | import("react-native/types").RegisteredStyle<import("react-native/types").ViewStyle>> | {
1168
1147
  marginHorizontal: number;
1169
1148
  } | null;
1170
1149
  validationMessage?: string | string[] | undefined;
@@ -1488,26 +1467,24 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
1488
1467
  end?: number | undefined;
1489
1468
  } | undefined;
1490
1469
  children?: import("react").ReactNode;
1491
- style: false | "" | import("react-native/types").TextStyle | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle> | import("react-native/types").RecursiveArray<import("react-native/types").TextStyle | import("react-native/types").Falsy | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle>> | null;
1470
+ style: false | import("react-native/types").TextStyle | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle> | import("react-native/types").RecursiveArray<import("react-native/types").TextStyle | import("react-native/types").Falsy | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle>> | null;
1492
1471
  testID?: string | undefined;
1493
1472
  removeClippedSubviews?: boolean | undefined;
1494
1473
  onLayout?: ((event: import("react-native/types").LayoutChangeEvent) => void) | undefined;
1495
1474
  onContentSizeChange?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputContentSizeChangeEventData>) => void) | undefined;
1496
1475
  onScroll?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputScrollEventData>) => void) | undefined;
1497
1476
  scrollEnabled?: boolean | undefined;
1498
- hitSlop?: number | import("react-native/types").Insets | null | undefined;
1477
+ hitSlop?: import("react-native/types").Insets | undefined;
1499
1478
  id?: string | undefined;
1500
- needsOffscreenAlphaCompositing?: boolean | undefined;
1501
1479
  nativeID?: string | undefined;
1502
- experimental_layoutConformance?: "strict" | "classic" | undefined;
1503
1480
  collapsable?: boolean | undefined;
1504
- collapsableChildren?: boolean | undefined;
1481
+ needsOffscreenAlphaCompositing?: boolean | undefined;
1505
1482
  renderToHardwareTextureAndroid?: boolean | undefined;
1506
1483
  focusable?: boolean | undefined;
1507
- tabIndex?: 0 | -1 | undefined;
1508
1484
  shouldRasterizeIOS?: boolean | undefined;
1509
1485
  isTVSelectable?: boolean | undefined;
1510
1486
  hasTVPreferredFocus?: boolean | undefined;
1487
+ tvParallaxProperties?: import("react-native/types").TVParallaxProperties | undefined;
1511
1488
  tvParallaxShiftDistanceX?: number | undefined;
1512
1489
  tvParallaxShiftDistanceY?: number | undefined;
1513
1490
  tvParallaxTiltAngle?: number | undefined;
@@ -1555,6 +1532,7 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
1555
1532
  'aria-disabled'?: boolean | undefined;
1556
1533
  'aria-expanded'?: boolean | undefined;
1557
1534
  'aria-selected'?: boolean | undefined;
1535
+ 'aria-labelledby'?: string | undefined;
1558
1536
  accessibilityHint?: string | undefined;
1559
1537
  accessibilityValue?: import("react-native/types").AccessibilityValue | undefined;
1560
1538
  'aria-valuemax'?: number | undefined;
@@ -1564,12 +1542,11 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
1564
1542
  onAccessibilityAction?: ((event: import("react-native/types").AccessibilityActionEvent) => void) | undefined;
1565
1543
  importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | undefined;
1566
1544
  'aria-hidden'?: boolean | undefined;
1545
+ 'aria-live'?: "polite" | "assertive" | "off" | undefined;
1567
1546
  'aria-modal'?: boolean | undefined;
1568
1547
  role?: import("react-native/types").Role | undefined;
1569
- accessibilityLabelledBy?: string | string[] | undefined;
1570
- 'aria-labelledby'?: string | undefined;
1571
1548
  accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
1572
- 'aria-live'?: "polite" | "assertive" | "off" | undefined;
1549
+ accessibilityLabelledBy?: string | string[] | undefined;
1573
1550
  accessibilityElementsHidden?: boolean | undefined;
1574
1551
  accessibilityViewIsModal?: boolean | undefined;
1575
1552
  onAccessibilityEscape?: (() => void) | undefined;
@@ -1577,12 +1554,8 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
1577
1554
  onMagicTap?: (() => void) | undefined;
1578
1555
  accessibilityIgnoresInvertColors?: boolean | undefined;
1579
1556
  accessibilityLanguage?: string | undefined;
1580
- accessibilityShowsLargeContentViewer?: boolean | undefined;
1581
- accessibilityLargeContentTitle?: string | undefined;
1582
- onPress?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").NativeTouchEvent>) => void) | undefined;
1583
1557
  onPressIn?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").NativeTouchEvent>) => void) | undefined;
1584
1558
  onPressOut?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").NativeTouchEvent>) => void) | undefined;
1585
- rejectResponderTermination?: boolean | null | undefined;
1586
1559
  onBlur?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputFocusEventData>) => void) | undefined;
1587
1560
  onFocus?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputFocusEventData>) => void) | undefined;
1588
1561
  allowFontScaling?: boolean | undefined;
@@ -1596,7 +1569,6 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
1596
1569
  autoCorrect?: boolean | undefined;
1597
1570
  autoFocus?: boolean | undefined;
1598
1571
  blurOnSubmit?: boolean | undefined;
1599
- submitBehavior?: import("react-native/types").SubmitBehavior | undefined;
1600
1572
  caretHidden?: boolean | undefined;
1601
1573
  contextMenuHidden?: boolean | undefined;
1602
1574
  defaultValue?: string | undefined;
@@ -1610,6 +1582,7 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
1610
1582
  onEndEditing?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputEndEditingEventData>) => void) | undefined;
1611
1583
  onSelectionChange?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputSelectionChangeEventData>) => void) | undefined;
1612
1584
  onSubmitEditing?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputSubmitEditingEventData>) => void) | undefined;
1585
+ onTextInput?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputTextInputEventData>) => void) | undefined;
1613
1586
  onKeyPress?: ((e: import("react-native/types").NativeSyntheticEvent<import("react-native/types").TextInputKeyPressEventData>) => void) | undefined;
1614
1587
  placeholder?: string | undefined;
1615
1588
  readOnly?: boolean | undefined;
@@ -1624,13 +1597,12 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
1624
1597
  enablesReturnKeyAutomatically?: boolean | undefined;
1625
1598
  keyboardAppearance?: "default" | "light" | "dark" | undefined;
1626
1599
  passwordRules?: string | null | undefined;
1600
+ rejectResponderTermination?: boolean | null | undefined;
1627
1601
  selectionState?: import("react-native/types").DocumentSelectionState | undefined;
1628
1602
  spellCheck?: boolean | undefined;
1629
- textContentType?: "none" | "name" | "nickname" | "password" | "username" | "flightNumber" | "URL" | "addressCity" | "addressCityAndState" | "addressState" | "countryName" | "creditCardNumber" | "creditCardExpiration" | "creditCardExpirationMonth" | "creditCardExpirationYear" | "creditCardSecurityCode" | "creditCardType" | "creditCardName" | "creditCardGivenName" | "creditCardMiddleName" | "creditCardFamilyName" | "emailAddress" | "familyName" | "fullStreetAddress" | "givenName" | "jobTitle" | "location" | "middleName" | "namePrefix" | "nameSuffix" | "organizationName" | "postalCode" | "streetAddressLine1" | "streetAddressLine2" | "sublocality" | "telephoneNumber" | "newPassword" | "oneTimeCode" | "birthdate" | "birthdateDay" | "birthdateMonth" | "birthdateYear" | "cellularEID" | "cellularIMEI" | "dateTime" | "shipmentTrackingNumber" | undefined;
1630
- lineBreakModeIOS?: "middle" | "head" | "tail" | "clip" | "wordWrapping" | "char" | undefined;
1603
+ textContentType?: "none" | "name" | "nickname" | "password" | "username" | "URL" | "addressCity" | "addressCityAndState" | "addressState" | "countryName" | "creditCardNumber" | "creditCardExpiration" | "creditCardExpirationMonth" | "creditCardExpirationYear" | "creditCardSecurityCode" | "creditCardType" | "creditCardName" | "creditCardGivenName" | "creditCardMiddleName" | "creditCardFamilyName" | "emailAddress" | "familyName" | "fullStreetAddress" | "givenName" | "jobTitle" | "location" | "middleName" | "namePrefix" | "nameSuffix" | "organizationName" | "postalCode" | "streetAddressLine1" | "streetAddressLine2" | "sublocality" | "telephoneNumber" | "newPassword" | "oneTimeCode" | "birthdate" | "birthdateDay" | "birthdateMonth" | "birthdateYear" | undefined;
1631
1604
  smartInsertDelete?: boolean | undefined;
1632
1605
  cursorColor?: import("react-native/types").ColorValue | null | undefined;
1633
- selectionHandleColor?: import("react-native/types").ColorValue | null | undefined;
1634
1606
  importantForAutofill?: "auto" | "yes" | "no" | "noExcludeDescendants" | "yesExcludeDescendants" | undefined;
1635
1607
  disableFullscreenUI?: boolean | undefined;
1636
1608
  inlineImageLeft?: string | undefined;
@@ -1658,11 +1630,11 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
1658
1630
  disabled: string;
1659
1631
  readonly: string;
1660
1632
  };
1661
- floatingPlaceholderStyle: (false | "" | import("react-native/types").TextStyle | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle> | import("react-native/types").RecursiveArray<import("react-native/types").TextStyle | import("react-native/types").Falsy | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle>> | null) & import("react-native/types").TextStyle;
1633
+ floatingPlaceholderStyle: (false | import("react-native/types").TextStyle | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle> | import("react-native/types").RecursiveArray<import("react-native/types").TextStyle | import("react-native/types").Falsy | import("react-native/types").RegisteredStyle<import("react-native/types").TextStyle>> | null) & import("react-native/types").TextStyle;
1662
1634
  floatOnFocus?: boolean | undefined;
1663
1635
  extraOffset?: number | undefined;
1664
1636
  onClear?: (() => void) | undefined;
1665
- clearButtonStyle: false | "" | import("react-native/types").ViewStyle | import("react-native/types").RegisteredStyle<import("react-native/types").ViewStyle> | import("react-native/types").RecursiveArray<import("react-native/types").ViewStyle | import("react-native/types").Falsy | import("react-native/types").RegisteredStyle<import("react-native/types").ViewStyle>> | {
1637
+ clearButtonStyle: false | import("react-native/types").ViewStyle | import("react-native/types").RegisteredStyle<import("react-native/types").ViewStyle> | import("react-native/types").RecursiveArray<import("react-native/types").ViewStyle | import("react-native/types").Falsy | import("react-native/types").RegisteredStyle<import("react-native/types").ViewStyle>> | {
1666
1638
  marginLeft: number;
1667
1639
  } | null;
1668
1640
  validationMessage?: string | string[] | undefined;
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "Dialog",
3
+ "category": "incubator",
4
+ "description": "Component for displaying custom content inside a popup dialog",
5
+ "note": "Use alignment modifiers to control the dialog position (top, bottom, centerV, centerH, etc... by default the dialog is aligned to center). \nWhen adding a `FlatList` \\ `ScrollView` to the content be sure to use one from `react-native-gesture-handler` (see [this link](https://github.com/software-mansion/react-native-gesture-handler/issues/1380) for `SectionList`).",
6
+ "modifiers": ["alignment"],
7
+ "example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/incubatorScreens/IncubatorDialogScreen.tsx",
8
+ "props": [
9
+ {"name": "visible", "type": "boolean", "description": "The visibility of the dialog"},
10
+ {"name": "headerProps", "type": "DialogHeaderProps", "description": "The Dialog's header (title, subtitle etc)"},
11
+ {
12
+ "name": "containerStyle",
13
+ "type": "ViewStyle",
14
+ "description": "The Dialog`s container style (it is set to {position: 'absolute'})"
15
+ },
16
+ {
17
+ "name": "containerProps",
18
+ "type": "ViewProps",
19
+ "description": "Extra props for the container"
20
+ },
21
+ {
22
+ "name": "onDismiss",
23
+ "type": "(props?: DialogProps) => void",
24
+ "description": "Callback that is called after the dialog's dismiss (after the animation has ended)."
25
+ },
26
+ {
27
+ "name": "direction",
28
+ "type": "up | down | left | right",
29
+ "description": "The direction from which and to which the dialog is animating \\ panning (default down).",
30
+ "default": "down"
31
+ },
32
+ {
33
+ "name": "showClose",
34
+ "type": "boolean",
35
+ "description": "Show the close button"
36
+ },
37
+ {"name": "ignoreBackgroundPress", "type": "boolean", "description": "Whether or not to ignore background press."},
38
+ {"name": "modalProps", "type": "ModalProps", "description": "Pass props to the dialog modal"},
39
+ {
40
+ "name": "testID",
41
+ "type": "string",
42
+ "description": "Used to locate this view in end-to-end tests. \nThe container has the original id. \nSupported inner elements IDs: \n`${TestID}.modal` - the Modal's id. \n`${TestID}.overlayFadingBackground` - the fading background id."
43
+ }
44
+ ],
45
+ "snippet": [
46
+ "<Dialog",
47
+ " visible={isVisible$1}",
48
+ " onDismiss={() => console.log('dismissed')$2}",
49
+ " panDirection={PanningProvider.Directions.DOWN$3}",
50
+ ">",
51
+ " <Text text60>Content</Text>$4",
52
+ "</Dialog>"
53
+ ]
54
+ }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "Dialog.Header",
3
- "category": "overlays",
3
+ "category": "incubator",
4
4
  "description": "Component for displaying the header of a popup dialog",
5
- "example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/DialogScreen.tsx",
5
+ "example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/incubatorScreens/IncubatorDialogScreen.tsx",
6
6
  "props": [
7
7
  {"name": "title", "type": "string", "description": "Title"},
8
8
  {"name": "titleStyle", "type": "StyleProp<TextStyle>", "description": "Title text style"},
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import DialogHeader from './DialogHeader';
3
+ import { DialogProps, DialogDirections, DialogDirectionsEnum, DialogHeaderProps, DialogMigrationProps } from './types';
4
+ export { DialogProps, DialogDirections, DialogDirectionsEnum, DialogHeaderProps, DialogMigrationProps };
5
+ export interface DialogStatics {
6
+ directions: typeof DialogDirectionsEnum;
7
+ Header: typeof DialogHeader;
8
+ }
9
+ export interface DialogImperativeMethods {
10
+ dismiss: () => void;
11
+ }
12
+ declare const _default: React.ForwardRefExoticComponent<import("./types")._DialogProps & {
13
+ children?: React.ReactNode;
14
+ } & React.RefAttributes<any>> & DialogStatics;
15
+ export default _default;