@webority/mobile-ui 0.174.0 → 0.175.0

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 (274) hide show
  1. package/dist/canvas-kit/kit.js +10 -10
  2. package/dist/canvas-kit/manifest.json +1 -1
  3. package/dist/canvas-kit/release.json +5 -5
  4. package/lib/commonjs/components/Accordion/Accordion.js +1 -1
  5. package/lib/commonjs/components/AmountSlider/AmountSlider.js +1 -1
  6. package/lib/commonjs/components/AppBar/AppBar.js +1 -1
  7. package/lib/commonjs/components/AuthedImage/authedImageCache.js +1 -1
  8. package/lib/commonjs/components/Avatar/Avatar.js +1 -1
  9. package/lib/commonjs/components/Badge/Badge.js +1 -1
  10. package/lib/commonjs/components/Banner/Banner.js +1 -1
  11. package/lib/commonjs/components/BarChart/BarChart.js +1 -1
  12. package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +1 -1
  13. package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
  14. package/lib/commonjs/components/Box/Box.js +1 -1
  15. package/lib/commonjs/components/Button/Button.js +1 -1
  16. package/lib/commonjs/components/Calendar/Calendar.js +1 -1
  17. package/lib/commonjs/components/Card/Card.js +1 -1
  18. package/lib/commonjs/components/Carousel/Carousel.js +1 -1
  19. package/lib/commonjs/components/Checkbox/Checkbox.js +1 -1
  20. package/lib/commonjs/components/Chip/Chip.js +1 -1
  21. package/lib/commonjs/components/Composer/Composer.js +1 -1
  22. package/lib/commonjs/components/Confetti/Confetti.js +1 -1
  23. package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +1 -1
  24. package/lib/commonjs/components/DecimalInput/DecimalInput.js +1 -1
  25. package/lib/commonjs/components/Descriptions/Descriptions.js +1 -1
  26. package/lib/commonjs/components/Divider/Divider.js +1 -1
  27. package/lib/commonjs/components/Drawer/Drawer.js +1 -1
  28. package/lib/commonjs/components/EmptyState/EmptyState.js +1 -1
  29. package/lib/commonjs/components/FieldBase/ChoiceText.js +1 -1
  30. package/lib/commonjs/components/FieldBase/FieldBase.js +1 -1
  31. package/lib/commonjs/components/FieldBase/useFloatingLabel.js +1 -1
  32. package/lib/commonjs/components/FilePicker/FilePicker.js +1 -1
  33. package/lib/commonjs/components/FilterChipRow/FilterChipRow.js +1 -1
  34. package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -1
  35. package/lib/commonjs/components/FormField/FormField.js +1 -1
  36. package/lib/commonjs/components/IconBadge/IconBadge.js +1 -1
  37. package/lib/commonjs/components/IconButton/IconButton.js +1 -1
  38. package/lib/commonjs/components/Input/Input.js +1 -1
  39. package/lib/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.js +1 -1
  40. package/lib/commonjs/components/ListItem/ListItem.js +1 -1
  41. package/lib/commonjs/components/Modal/Modal.js +1 -1
  42. package/lib/commonjs/components/NumberInput/NumberInput.js +1 -1
  43. package/lib/commonjs/components/OTPInput/OTPInput.js +1 -1
  44. package/lib/commonjs/components/OptionSheet/OptionSheet.js +1 -1
  45. package/lib/commonjs/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
  46. package/lib/commonjs/components/PickerTrigger/PickerTrigger.js +1 -1
  47. package/lib/commonjs/components/ProfileCompletion/ProfileCompletion.js +1 -1
  48. package/lib/commonjs/components/ProgressBar/ProgressBar.js +1 -1
  49. package/lib/commonjs/components/ProgressRing/ProgressRing.js +1 -1
  50. package/lib/commonjs/components/Radio/Radio.js +1 -1
  51. package/lib/commonjs/components/Radio/RadioGroup.js +1 -1
  52. package/lib/commonjs/components/Rating/Rating.js +1 -1
  53. package/lib/commonjs/components/RichTextEditor/RichTextEditor.js +1 -1
  54. package/lib/commonjs/components/ScannerOverlay/ScannerOverlay.js +1 -1
  55. package/lib/commonjs/components/Screen/Screen.js +1 -1
  56. package/lib/commonjs/components/SearchBar/SearchBar.js +1 -1
  57. package/lib/commonjs/components/SegmentedControl/SegmentedControl.js +1 -1
  58. package/lib/commonjs/components/Select/Select.js +1 -1
  59. package/lib/commonjs/components/SignaturePad/SignaturePad.js +1 -1
  60. package/lib/commonjs/components/Skeleton/SkeletonClock.js +1 -1
  61. package/lib/commonjs/components/Skeleton/SkeletonProvider.js +1 -1
  62. package/lib/commonjs/components/SlideToConfirm/SlideToConfirm.js +1 -1
  63. package/lib/commonjs/components/Slider/Slider.js +1 -1
  64. package/lib/commonjs/components/SliderField/SliderField.js +1 -1
  65. package/lib/commonjs/components/Sparkline/Sparkline.js +1 -1
  66. package/lib/commonjs/components/Spinner/Spinner.js +1 -1
  67. package/lib/commonjs/components/SquircleView/SquircleView.js +1 -1
  68. package/lib/commonjs/components/StatTile/StatTile.js +1 -1
  69. package/lib/commonjs/components/StatusBadge/StatusBadge.js +1 -1
  70. package/lib/commonjs/components/Stepper/Stepper.js +1 -1
  71. package/lib/commonjs/components/Switch/Switch.js +1 -1
  72. package/lib/commonjs/components/Tabs/Tabs.js +1 -1
  73. package/lib/commonjs/components/TagInput/TagInput.js +1 -1
  74. package/lib/commonjs/components/Text/Text.js +1 -1
  75. package/lib/commonjs/components/Toast/ToastProvider.js +1 -1
  76. package/lib/commonjs/navigation/DiscardGuard.js +1 -1
  77. package/lib/commonjs/text/textStore.js +1 -1
  78. package/lib/commonjs/theme/ThemeContext.js +1 -1
  79. package/lib/commonjs/utils/shadows.js +1 -1
  80. package/lib/module/components/Accordion/Accordion.js +1 -1
  81. package/lib/module/components/AmountSlider/AmountSlider.js +1 -1
  82. package/lib/module/components/AppBar/AppBar.js +1 -1
  83. package/lib/module/components/AuthedImage/authedImageCache.js +1 -1
  84. package/lib/module/components/Avatar/Avatar.js +1 -1
  85. package/lib/module/components/Badge/Badge.js +1 -1
  86. package/lib/module/components/Banner/Banner.js +1 -1
  87. package/lib/module/components/BarChart/BarChart.js +1 -1
  88. package/lib/module/components/BottomNavigation/BottomNavigation.js +1 -1
  89. package/lib/module/components/BottomSheet/BottomSheet.js +1 -1
  90. package/lib/module/components/Box/Box.js +1 -1
  91. package/lib/module/components/Button/Button.js +1 -1
  92. package/lib/module/components/Calendar/Calendar.js +1 -1
  93. package/lib/module/components/Card/Card.js +1 -1
  94. package/lib/module/components/Carousel/Carousel.js +1 -1
  95. package/lib/module/components/Checkbox/Checkbox.js +1 -1
  96. package/lib/module/components/Chip/Chip.js +1 -1
  97. package/lib/module/components/Composer/Composer.js +1 -1
  98. package/lib/module/components/Confetti/Confetti.js +1 -1
  99. package/lib/module/components/DateRangePicker/DateRangePicker.js +1 -1
  100. package/lib/module/components/DecimalInput/DecimalInput.js +1 -1
  101. package/lib/module/components/Descriptions/Descriptions.js +1 -1
  102. package/lib/module/components/Divider/Divider.js +1 -1
  103. package/lib/module/components/Drawer/Drawer.js +1 -1
  104. package/lib/module/components/EmptyState/EmptyState.js +1 -1
  105. package/lib/module/components/FieldBase/ChoiceText.js +1 -1
  106. package/lib/module/components/FieldBase/FieldBase.js +1 -1
  107. package/lib/module/components/FieldBase/useFloatingLabel.js +1 -1
  108. package/lib/module/components/FilePicker/FilePicker.js +1 -1
  109. package/lib/module/components/FilterChipRow/FilterChipRow.js +1 -1
  110. package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -1
  111. package/lib/module/components/FormField/FormField.js +1 -1
  112. package/lib/module/components/IconBadge/IconBadge.js +1 -1
  113. package/lib/module/components/IconButton/IconButton.js +1 -1
  114. package/lib/module/components/Input/Input.js +1 -1
  115. package/lib/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.js +1 -1
  116. package/lib/module/components/ListItem/ListItem.js +1 -1
  117. package/lib/module/components/Modal/Modal.js +1 -1
  118. package/lib/module/components/NumberInput/NumberInput.js +1 -1
  119. package/lib/module/components/OTPInput/OTPInput.js +1 -1
  120. package/lib/module/components/OptionSheet/OptionSheet.js +1 -1
  121. package/lib/module/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
  122. package/lib/module/components/PickerTrigger/PickerTrigger.js +1 -1
  123. package/lib/module/components/ProfileCompletion/ProfileCompletion.js +1 -1
  124. package/lib/module/components/ProgressBar/ProgressBar.js +1 -1
  125. package/lib/module/components/ProgressRing/ProgressRing.js +1 -1
  126. package/lib/module/components/Radio/Radio.js +1 -1
  127. package/lib/module/components/Radio/RadioGroup.js +1 -1
  128. package/lib/module/components/Rating/Rating.js +1 -1
  129. package/lib/module/components/RichTextEditor/RichTextEditor.js +1 -1
  130. package/lib/module/components/ScannerOverlay/ScannerOverlay.js +1 -1
  131. package/lib/module/components/Screen/Screen.js +1 -1
  132. package/lib/module/components/SearchBar/SearchBar.js +1 -1
  133. package/lib/module/components/SegmentedControl/SegmentedControl.js +1 -1
  134. package/lib/module/components/Select/Select.js +1 -1
  135. package/lib/module/components/SignaturePad/SignaturePad.js +1 -1
  136. package/lib/module/components/Skeleton/SkeletonClock.js +1 -1
  137. package/lib/module/components/Skeleton/SkeletonProvider.js +1 -1
  138. package/lib/module/components/SlideToConfirm/SlideToConfirm.js +1 -1
  139. package/lib/module/components/Slider/Slider.js +1 -1
  140. package/lib/module/components/SliderField/SliderField.js +1 -1
  141. package/lib/module/components/Sparkline/Sparkline.js +1 -1
  142. package/lib/module/components/Spinner/Spinner.js +1 -1
  143. package/lib/module/components/SquircleView/SquircleView.js +1 -1
  144. package/lib/module/components/StatTile/StatTile.js +1 -1
  145. package/lib/module/components/StatusBadge/StatusBadge.js +1 -1
  146. package/lib/module/components/Stepper/Stepper.js +1 -1
  147. package/lib/module/components/Switch/Switch.js +1 -1
  148. package/lib/module/components/Tabs/Tabs.js +1 -1
  149. package/lib/module/components/TagInput/TagInput.js +1 -1
  150. package/lib/module/components/Text/Text.js +1 -1
  151. package/lib/module/components/Toast/ToastProvider.js +1 -1
  152. package/lib/module/navigation/DiscardGuard.js +1 -1
  153. package/lib/module/text/textStore.js +1 -1
  154. package/lib/module/theme/ThemeContext.js +1 -1
  155. package/lib/module/utils/shadows.js +1 -1
  156. package/lib/typescript/commonjs/components/AmountSlider/AmountSlider.d.ts +3 -2
  157. package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +4 -1
  158. package/lib/typescript/commonjs/components/AuthedImage/authedImageCache.d.ts +3 -1
  159. package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +6 -1
  160. package/lib/typescript/commonjs/components/Badge/Badge.d.ts +5 -1
  161. package/lib/typescript/commonjs/components/Banner/Banner.d.ts +3 -1
  162. package/lib/typescript/commonjs/components/BarChart/BarChart.d.ts +4 -1
  163. package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +3 -1
  164. package/lib/typescript/commonjs/components/Box/Box.d.ts +6 -3
  165. package/lib/typescript/commonjs/components/Button/Button.d.ts +4 -2
  166. package/lib/typescript/commonjs/components/Calendar/Calendar.d.ts +4 -2
  167. package/lib/typescript/commonjs/components/Card/Card.d.ts +2 -1
  168. package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +4 -1
  169. package/lib/typescript/commonjs/components/Chip/Chip.d.ts +3 -1
  170. package/lib/typescript/commonjs/components/Composer/Composer.d.ts +3 -1
  171. package/lib/typescript/commonjs/components/Confetti/Confetti.d.ts +3 -1
  172. package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +4 -2
  173. package/lib/typescript/commonjs/components/DecimalInput/DecimalInput.d.ts +4 -2
  174. package/lib/typescript/commonjs/components/Divider/Divider.d.ts +3 -2
  175. package/lib/typescript/commonjs/components/Drawer/Drawer.d.ts +3 -1
  176. package/lib/typescript/commonjs/components/EmptyState/EmptyState.d.ts +2 -1
  177. package/lib/typescript/commonjs/components/FilePicker/FilePicker.d.ts +4 -1
  178. package/lib/typescript/commonjs/components/FilterChipRow/FilterChipRow.d.ts +4 -2
  179. package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +2 -1
  180. package/lib/typescript/commonjs/components/FormField/FormField.d.ts +3 -2
  181. package/lib/typescript/commonjs/components/IconBadge/IconBadge.d.ts +4 -2
  182. package/lib/typescript/commonjs/components/IconButton/IconButton.d.ts +4 -2
  183. package/lib/typescript/commonjs/components/Input/Input.d.ts +4 -1
  184. package/lib/typescript/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +4 -1
  185. package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +2 -0
  186. package/lib/typescript/commonjs/components/Modal/Modal.d.ts +3 -1
  187. package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +4 -2
  188. package/lib/typescript/commonjs/components/OTPInput/OTPInput.d.ts +3 -2
  189. package/lib/typescript/commonjs/components/PhoneNumberInput/PhoneNumberInput.d.ts +4 -2
  190. package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +4 -4
  191. package/lib/typescript/commonjs/components/ProfileCompletion/ProfileCompletion.d.ts +4 -1
  192. package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +3 -2
  193. package/lib/typescript/commonjs/components/ProgressRing/ProgressRing.d.ts +2 -1
  194. package/lib/typescript/commonjs/components/Radio/Radio.d.ts +4 -2
  195. package/lib/typescript/commonjs/components/Rating/Rating.d.ts +5 -1
  196. package/lib/typescript/commonjs/components/RichTextEditor/RichTextEditor.d.ts +2 -1
  197. package/lib/typescript/commonjs/components/ScannerOverlay/ScannerOverlay.d.ts +2 -1
  198. package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +4 -2
  199. package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +3 -2
  200. package/lib/typescript/commonjs/components/SignaturePad/SignaturePad.d.ts +4 -1
  201. package/lib/typescript/commonjs/components/SlideToConfirm/SlideToConfirm.d.ts +3 -1
  202. package/lib/typescript/commonjs/components/Slider/Slider.d.ts +3 -1
  203. package/lib/typescript/commonjs/components/SliderField/SliderField.d.ts +3 -1
  204. package/lib/typescript/commonjs/components/Sparkline/Sparkline.d.ts +4 -2
  205. package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +2 -1
  206. package/lib/typescript/commonjs/components/SquircleView/SquircleView.d.ts +8 -3
  207. package/lib/typescript/commonjs/components/StatTile/StatTile.d.ts +3 -2
  208. package/lib/typescript/commonjs/components/StatusBadge/StatusBadge.d.ts +4 -1
  209. package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +3 -1
  210. package/lib/typescript/commonjs/components/Switch/Switch.d.ts +3 -2
  211. package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +3 -2
  212. package/lib/typescript/commonjs/components/TagInput/TagInput.d.ts +4 -2
  213. package/lib/typescript/commonjs/components/Text/Text.d.ts +4 -1
  214. package/lib/typescript/commonjs/navigation/DiscardGuard.d.ts +3 -1
  215. package/lib/typescript/module/components/AmountSlider/AmountSlider.d.ts +3 -2
  216. package/lib/typescript/module/components/AppBar/AppBar.d.ts +4 -1
  217. package/lib/typescript/module/components/AuthedImage/authedImageCache.d.ts +3 -1
  218. package/lib/typescript/module/components/Avatar/Avatar.d.ts +6 -1
  219. package/lib/typescript/module/components/Badge/Badge.d.ts +5 -1
  220. package/lib/typescript/module/components/Banner/Banner.d.ts +3 -1
  221. package/lib/typescript/module/components/BarChart/BarChart.d.ts +4 -1
  222. package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +3 -1
  223. package/lib/typescript/module/components/Box/Box.d.ts +6 -3
  224. package/lib/typescript/module/components/Button/Button.d.ts +4 -2
  225. package/lib/typescript/module/components/Calendar/Calendar.d.ts +4 -2
  226. package/lib/typescript/module/components/Card/Card.d.ts +2 -1
  227. package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +4 -1
  228. package/lib/typescript/module/components/Chip/Chip.d.ts +3 -1
  229. package/lib/typescript/module/components/Composer/Composer.d.ts +3 -1
  230. package/lib/typescript/module/components/Confetti/Confetti.d.ts +3 -1
  231. package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +4 -2
  232. package/lib/typescript/module/components/DecimalInput/DecimalInput.d.ts +4 -2
  233. package/lib/typescript/module/components/Divider/Divider.d.ts +3 -2
  234. package/lib/typescript/module/components/Drawer/Drawer.d.ts +3 -1
  235. package/lib/typescript/module/components/EmptyState/EmptyState.d.ts +2 -1
  236. package/lib/typescript/module/components/FilePicker/FilePicker.d.ts +4 -1
  237. package/lib/typescript/module/components/FilterChipRow/FilterChipRow.d.ts +4 -2
  238. package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +2 -1
  239. package/lib/typescript/module/components/FormField/FormField.d.ts +3 -2
  240. package/lib/typescript/module/components/IconBadge/IconBadge.d.ts +4 -2
  241. package/lib/typescript/module/components/IconButton/IconButton.d.ts +4 -2
  242. package/lib/typescript/module/components/Input/Input.d.ts +4 -1
  243. package/lib/typescript/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +4 -1
  244. package/lib/typescript/module/components/ListItem/ListItem.d.ts +2 -0
  245. package/lib/typescript/module/components/Modal/Modal.d.ts +3 -1
  246. package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +4 -2
  247. package/lib/typescript/module/components/OTPInput/OTPInput.d.ts +3 -2
  248. package/lib/typescript/module/components/PhoneNumberInput/PhoneNumberInput.d.ts +4 -2
  249. package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +4 -4
  250. package/lib/typescript/module/components/ProfileCompletion/ProfileCompletion.d.ts +4 -1
  251. package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +3 -2
  252. package/lib/typescript/module/components/ProgressRing/ProgressRing.d.ts +2 -1
  253. package/lib/typescript/module/components/Radio/Radio.d.ts +4 -2
  254. package/lib/typescript/module/components/Rating/Rating.d.ts +5 -1
  255. package/lib/typescript/module/components/RichTextEditor/RichTextEditor.d.ts +2 -1
  256. package/lib/typescript/module/components/ScannerOverlay/ScannerOverlay.d.ts +2 -1
  257. package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +4 -2
  258. package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +3 -2
  259. package/lib/typescript/module/components/SignaturePad/SignaturePad.d.ts +4 -1
  260. package/lib/typescript/module/components/SlideToConfirm/SlideToConfirm.d.ts +3 -1
  261. package/lib/typescript/module/components/Slider/Slider.d.ts +3 -1
  262. package/lib/typescript/module/components/SliderField/SliderField.d.ts +3 -1
  263. package/lib/typescript/module/components/Sparkline/Sparkline.d.ts +4 -2
  264. package/lib/typescript/module/components/Spinner/Spinner.d.ts +2 -1
  265. package/lib/typescript/module/components/SquircleView/SquircleView.d.ts +8 -3
  266. package/lib/typescript/module/components/StatTile/StatTile.d.ts +3 -2
  267. package/lib/typescript/module/components/StatusBadge/StatusBadge.d.ts +4 -1
  268. package/lib/typescript/module/components/Stepper/Stepper.d.ts +3 -1
  269. package/lib/typescript/module/components/Switch/Switch.d.ts +3 -2
  270. package/lib/typescript/module/components/Tabs/Tabs.d.ts +3 -2
  271. package/lib/typescript/module/components/TagInput/TagInput.d.ts +4 -2
  272. package/lib/typescript/module/components/Text/Text.d.ts +4 -1
  273. package/lib/typescript/module/navigation/DiscardGuard.d.ts +3 -1
  274. package/package.json +7 -7
@@ -3,7 +3,7 @@
3
3
  * days drawn as dots in a tone and read aloud with each day. DateRangePicker
4
4
  * renders this same grid inside its sheet.
5
5
  */
6
- import type { ForwardRefExoticComponent, RefAttributes } from "react";
6
+ import type { Ref } from "react";
7
7
  import type { HostInstance, StyleProp, ViewStyle } from "react-native";
8
8
  import { type CalendarText } from "../../text/phone/calendar.g.js";
9
9
  import type { SelectionMode, Tone } from "../../types/vocabulary.js";
@@ -67,8 +67,10 @@ export interface CalendarProps {
67
67
  /** Style override for the previous and next month buttons. */
68
68
  navButtonStyle?: StyleProp<ViewStyle> | undefined;
69
69
  testID?: string | undefined;
70
+ /** The root view of the calendar. */
71
+ ref?: Ref<HostInstance> | undefined;
70
72
  }
71
- declare const Calendar: ForwardRefExoticComponent<CalendarProps & RefAttributes<HostInstance>>;
73
+ declare function Calendar({ ref, ...props }: CalendarProps): import("react").JSX.Element;
72
74
  export { Calendar };
73
75
  export default Calendar;
74
76
  //# sourceMappingURL=Calendar.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { type Ref } from "react";
2
2
  import type { GestureResponderEvent, HostInstance, ImageSourcePropType, PressableProps, StyleProp, ViewStyle } from "react-native";
3
3
  import type { PressAnimationPreset } from "../../hooks/usePressAnimation.js";
4
4
  import { type CardText } from "../../text/phone/card.g.js";
@@ -100,6 +100,7 @@ export interface CardProps extends Omit<PressableProps, "style" | "children"> {
100
100
  /** Style applied to the footer wrapper View. */
101
101
  footerStyle?: StyleProp<ViewStyle> | undefined;
102
102
  testID?: string | undefined;
103
+ ref?: Ref<HostInstance> | undefined;
103
104
  }
104
105
  declare const Card: React.NamedExoticComponent<CardProps & React.RefAttributes<HostInstance>> & {
105
106
  Skeleton: React.FC<CardProps>;
@@ -1,4 +1,5 @@
1
1
  import type React from "react";
2
+ import type { Ref } from "react";
2
3
  import type { HostInstance, PressableProps, StyleProp, TextStyle, ViewStyle } from "react-native";
3
4
  import type { Size, Tone } from "../../types/vocabulary.js";
4
5
  import type { HapticType } from "../../utils/hapticUtils.js";
@@ -49,8 +50,10 @@ export interface CheckboxProps extends Omit<PressableProps, "style" | "children"
49
50
  /** Style override for the label text. */
50
51
  labelStyle?: StyleProp<TextStyle> | undefined;
51
52
  testID?: string | undefined;
53
+ /** The pressable row's ref: the host view the checkbox renders. */
54
+ ref?: Ref<HostInstance> | undefined;
52
55
  }
53
- declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HostInstance>>;
56
+ declare function Checkbox({ ref, ...props }: CheckboxProps): React.JSX.Element;
54
57
  export { Checkbox };
55
58
  export default Checkbox;
56
59
  //# sourceMappingURL=Checkbox.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import type React from "react";
2
+ import type { Ref } from "react";
2
3
  import type { HostInstance, StyleProp, TextStyle, ViewStyle } from "react-native";
3
4
  import { type ChipText } from "../../text/phone/chip.g.js";
4
5
  import type { FillVariant, SelectionMode, Size, Tone } from "../../types/vocabulary.js";
@@ -73,8 +74,9 @@ export interface ChipProps {
73
74
  closeIconStyle?: StyleProp<TextStyle> | undefined;
74
75
  labels?: Partial<ChipText> | undefined;
75
76
  testID?: string | undefined;
77
+ ref?: Ref<HostInstance> | undefined;
76
78
  }
77
- declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HostInstance>> & {
79
+ declare const Chip: React.FC<ChipProps> & {
78
80
  Skeleton: React.FC<ChipProps>;
79
81
  };
80
82
  export { Chip };
@@ -1,4 +1,5 @@
1
1
  import type React from "react";
2
+ import { type Ref } from "react";
2
3
  import type { StyleProp, TextInputInstance, ViewStyle } from "react-native";
3
4
  import { type ComposerText } from "../../text/phone/composer.g.js";
4
5
  import type { HapticType } from "../../utils/hapticUtils.js";
@@ -68,6 +69,7 @@ export interface ComposerProps {
68
69
  haptic?: HapticType | false | undefined;
69
70
  style?: StyleProp<ViewStyle> | undefined;
70
71
  testID?: string | undefined;
72
+ ref?: Ref<TextInputInstance> | undefined;
71
73
  }
72
74
  /**
73
75
  * The message box of a chat: a text box that grows to `maxLines` and then
@@ -77,6 +79,6 @@ export interface ComposerProps {
77
79
  * the keyboard and pads for the bottom safe area, so a chat screen is a
78
80
  * `MessageList` above a `Composer` with no keyboard wiring of its own.
79
81
  */
80
- export declare const Composer: React.ForwardRefExoticComponent<ComposerProps & React.RefAttributes<TextInputInstance>>;
82
+ export declare const Composer: ({ onSend, value, onChangeText, placeholder, accessibilityLabel, hint, labels: labelOverrides, loading, onStop, stopLabel, disabled, canSend, ring, sendReveal, sendIcon, maxLength, maxLines, leading, trailing, above, below, keyboardAware, keyboardOffset, safeArea, autoFocus, haptic, style, testID, ref, }: ComposerProps) => React.JSX.Element;
81
83
  export default Composer;
82
84
  //# sourceMappingURL=Composer.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import type React from "react";
2
+ import { type Ref } from "react";
2
3
  import type { StyleProp, ViewStyle } from "react-native";
3
4
  import type { Complete } from "../../utils/complete.js";
4
5
  export type ConfettiPreset = "pop" | "rain" | "fireworks";
@@ -64,6 +65,7 @@ export interface ConfettiProps {
64
65
  onComplete?: (() => void) | undefined;
65
66
  style?: StyleProp<ViewStyle> | undefined;
66
67
  testID?: string | undefined;
68
+ ref?: Ref<ConfettiHandle> | undefined;
67
69
  }
68
70
  /**
69
71
  * A piece carries its whole trajectory, so every preset is data rather than a
@@ -112,7 +114,7 @@ export interface Seed {
112
114
  * trajectory a preset SEEDS is the only way to test it honestly.
113
115
  */
114
116
  export declare const buildPieces: (count: number, preset: ConfettiPreset, seed: Seed) => Piece[];
115
- declare const Confetti: React.ForwardRefExoticComponent<ConfettiProps & React.RefAttributes<ConfettiHandle>>;
117
+ declare function Confetti({ ref, count, colors, preset, shapes, speed, physics, origin, duration, fadeOut, autoStart, recycle, size, onComplete, style, testID, }: ConfettiProps): React.JSX.Element;
116
118
  export { Confetti };
117
119
  export default Confetti;
118
120
  //# sourceMappingURL=Confetti.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { ForwardRefExoticComponent, RefAttributes } from "react";
1
+ import type { Ref } from "react";
2
2
  import type { HostInstance, StyleProp, ViewStyle } from "react-native";
3
3
  import { type DateRangePickerText } from "../../text/phone/dateRangePicker.g.js";
4
4
  import type { HapticType } from "../../utils/index.js";
@@ -59,8 +59,10 @@ export interface DateRangePickerProps extends PickerTriggerPassThroughProps {
59
59
  footerButtonStyle?: StyleProp<ViewStyle> | undefined;
60
60
  /** The handle / title row's drag gesture is `${testID}-pan`. */
61
61
  testID?: string | undefined;
62
+ /** Ref to the calendar card view. */
63
+ ref?: Ref<HostInstance> | undefined;
62
64
  }
63
- declare const DateRangePicker: ForwardRefExoticComponent<DateRangePickerProps & RefAttributes<HostInstance>>;
65
+ declare function DateRangePicker({ ref, ...props }: DateRangePickerProps): import("react").JSX.Element;
64
66
  export { DateRangePicker };
65
67
  export default DateRangePicker;
66
68
  //# sourceMappingURL=DateRangePicker.d.ts.map
@@ -1,4 +1,4 @@
1
- import { type ForwardRefExoticComponent, type RefAttributes } from "react";
1
+ import { type ReactElement, type Ref } from "react";
2
2
  import type { TextInputInstance } from "react-native";
3
3
  import { type DecimalInputText } from "../../text/phone/decimalInput.g.js";
4
4
  import type { InputProps } from "../Input/index.js";
@@ -52,12 +52,14 @@ export interface DecimalInputProps extends Omit<InputProps, "value" | "onChange"
52
52
  allowExponent?: boolean | undefined;
53
53
  /** Copy for the field's own message. Each key overrides the built-in text. */
54
54
  labels?: Partial<DecimalInputText> | undefined;
55
+ /** The underlying text input. */
56
+ ref?: Ref<TextInputInstance> | undefined;
55
57
  }
56
58
  /**
57
59
  * A figure typed on a number keyboard, over Input. Every Input prop passes through; the value may be
58
60
  * empty or half-typed, which NumberInput's stepper cannot be.
59
61
  */
60
- declare const DecimalInput: ForwardRefExoticComponent<DecimalInputProps & RefAttributes<TextInputInstance>>;
62
+ declare function DecimalInput(props: DecimalInputProps): ReactElement;
61
63
  export { DecimalInput };
62
64
  export default DecimalInput;
63
65
  //# sourceMappingURL=DecimalInput.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { ForwardRefExoticComponent, RefAttributes } from "react";
1
+ import type { Ref } from "react";
2
2
  import type { HostInstance, StyleProp, ViewStyle } from "react-native";
3
3
  export type DividerOrientation = "horizontal" | "vertical";
4
4
  export type DividerSpacing = "none" | "sm" | "md" | "lg";
@@ -13,8 +13,9 @@ export interface DividerProps {
13
13
  labelPosition?: DividerLabelPosition | undefined;
14
14
  style?: StyleProp<ViewStyle> | undefined;
15
15
  testID?: string | undefined;
16
+ ref?: Ref<HostInstance> | undefined;
16
17
  }
17
- declare const Divider: ForwardRefExoticComponent<DividerProps & RefAttributes<HostInstance>>;
18
+ declare function Divider({ ref, ...props }: DividerProps): import("react").JSX.Element;
18
19
  export { Divider };
19
20
  export default Divider;
20
21
  //# sourceMappingURL=Divider.d.ts.map
@@ -18,6 +18,7 @@
18
18
  * ref.current?.toggle();
19
19
  */
20
20
  import type React from "react";
21
+ import { type Ref } from "react";
21
22
  import type { StyleProp, ViewStyle } from "react-native";
22
23
  import { type DrawerText } from "../../text/phone/drawer.g.js";
23
24
  import type { HapticType } from "../../utils/index.js";
@@ -47,13 +48,14 @@ export interface DrawerProps {
47
48
  /** Screen-reader names for the drawer panel and its backdrop button. */
48
49
  labels?: Partial<DrawerText> | undefined;
49
50
  testID?: string | undefined;
51
+ ref?: Ref<DrawerRef> | undefined;
50
52
  }
51
53
  export interface DrawerRef {
52
54
  open: () => void;
53
55
  close: () => void;
54
56
  toggle: () => void;
55
57
  }
56
- declare const Drawer: React.ForwardRefExoticComponent<DrawerProps & React.RefAttributes<DrawerRef>>;
58
+ declare function Drawer({ ref, ...props }: DrawerProps): React.JSX.Element | null;
57
59
  export { Drawer };
58
60
  export default Drawer;
59
61
  //# sourceMappingURL=Drawer.d.ts.map
@@ -32,8 +32,9 @@ export interface EmptyStateProps {
32
32
  fill?: boolean | undefined;
33
33
  style?: StyleProp<ViewStyle> | undefined;
34
34
  testID?: string | undefined;
35
+ ref?: React.Ref<HostInstance> | undefined;
35
36
  }
36
- declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HostInstance>>;
37
+ declare function EmptyState({ ref, ...props }: EmptyStateProps): React.JSX.Element;
37
38
  export { EmptyState };
38
39
  export default EmptyState;
39
40
  //# sourceMappingURL=EmptyState.d.ts.map
@@ -22,6 +22,7 @@
22
22
  */
23
23
  import type { PickedFile, PickerSource } from "@webority/mobile-core/pickers";
24
24
  import type React from "react";
25
+ import type { Ref } from "react";
25
26
  import type { StyleProp, ViewStyle } from "react-native";
26
27
  import { type FilePickerText } from "../../text/phone/filePicker.g.js";
27
28
  import type { HapticType } from "../../utils/index.js";
@@ -76,6 +77,8 @@ export interface FilePickerRef {
76
77
  clear: () => void;
77
78
  }
78
79
  export interface FilePickerProps {
80
+ /** Imperative handle: open a source or clear the files. */
81
+ ref?: Ref<FilePickerRef> | undefined;
79
82
  /** Controlled file list. */
80
83
  files?: FilePickerFile[] | undefined;
81
84
  /** Uncontrolled initial list (edit screens can seed remote files here too). */
@@ -125,7 +128,7 @@ export interface FilePickerProps {
125
128
  }
126
129
  export declare const formatFileSize: (bytes?: number) => string;
127
130
  export declare const matchesAccept: (type: string | undefined, accept?: ReadonlyArray<string>) => boolean;
128
- declare const FilePicker: React.ForwardRefExoticComponent<FilePickerProps & React.RefAttributes<FilePickerRef>>;
131
+ declare function FilePicker({ ref, ...props }: FilePickerProps): React.JSX.Element;
129
132
  export { FilePicker };
130
133
  export default FilePicker;
131
134
  //# sourceMappingURL=FilePicker.d.ts.map
@@ -13,7 +13,7 @@
13
13
  * ChoiceGroup: a filter picks a value on the same data. Sections of a screen
14
14
  * are `Tabs`, not this.
15
15
  */
16
- import type { ForwardRefExoticComponent, RefAttributes } from "react";
16
+ import type { Ref } from "react";
17
17
  import type { HostInstance, StyleProp, ViewStyle } from "react-native";
18
18
  import type { HapticType } from "../../utils/index.js";
19
19
  import type { ChipSize, ChipTone, ChipVariant } from "../Chip/index.js";
@@ -51,8 +51,10 @@ export interface FilterChipRowProps {
51
51
  /** Style of the scrolling content, applied after the bleed padding and the chip gap. */
52
52
  contentContainerStyle?: StyleProp<ViewStyle> | undefined;
53
53
  testID?: string | undefined;
54
+ /** The row's root view: the host view the row renders. */
55
+ ref?: Ref<HostInstance> | undefined;
54
56
  }
55
- declare const FilterChipRow: ForwardRefExoticComponent<FilterChipRowProps & RefAttributes<HostInstance>>;
57
+ declare function FilterChipRow({ ref, ...props }: FilterChipRowProps): import("react").JSX.Element;
56
58
  export { FilterChipRow };
57
59
  export default FilterChipRow;
58
60
  //# sourceMappingURL=FilterChipRow.d.ts.map
@@ -43,8 +43,9 @@ export interface FloatingActionButtonProps {
43
43
  style?: StyleProp<ViewStyle> | undefined;
44
44
  labelStyle?: StyleProp<TextStyle> | undefined;
45
45
  testID?: string | undefined;
46
+ ref?: React.Ref<HostInstance> | undefined;
46
47
  }
47
- declare const FloatingActionButton: React.ForwardRefExoticComponent<FloatingActionButtonProps & React.RefAttributes<HostInstance>>;
48
+ declare function FloatingActionButton({ ref, ...props }: FloatingActionButtonProps): React.JSX.Element;
48
49
  export interface FloatingActionButtonGroupAction {
49
50
  key: string;
50
51
  /** Drawn in the action's ink at the group's size; see `FloatingActionButtonProps.icon`. */
@@ -1,8 +1,9 @@
1
- import React from "react";
1
+ import React, { type Ref } from "react";
2
2
  import type { HostInstance, StyleProp, TextStyle, ViewStyle } from "react-native";
3
3
  import { type FormFieldText } from "../../text/phone/formField.g.js";
4
4
  export type FormFieldLayout = "stacked" | "inline";
5
5
  export interface FormFieldProps {
6
+ ref?: Ref<HostInstance> | undefined;
6
7
  /** A string, or a node for a symbol with a subscript. A node label needs an explicit `accessibilityLabel`. */
7
8
  label?: React.ReactNode | undefined;
8
9
  /** Drawn beside the label, right after it (a glossary info button, say); not part of the label's accessibility text. */
@@ -46,7 +47,7 @@ export interface FormFieldProps {
46
47
  labels?: Partial<FormFieldText> | undefined;
47
48
  testID?: string | undefined;
48
49
  }
49
- declare const FormField: React.ForwardRefExoticComponent<FormFieldProps & React.RefAttributes<HostInstance>>;
50
+ declare function FormField({ ref, ...props }: FormFieldProps): React.ReactElement;
50
51
  export { FormField };
51
52
  export default FormField;
52
53
  //# sourceMappingURL=FormField.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { ForwardRefExoticComponent, RefAttributes } from "react";
1
+ import type { Ref } from "react";
2
2
  import type { HostInstance, StyleProp, ViewProps, ViewStyle } from "react-native";
3
3
  import type { Size, Tone } from "../../types/vocabulary.js";
4
4
  import type { IconVariant } from "../AppIcon/AppIcon.js";
@@ -48,8 +48,10 @@ export interface IconBadgeProps {
48
48
  pointerEvents?: ViewProps["pointerEvents"] | undefined;
49
49
  style?: StyleProp<ViewStyle> | undefined;
50
50
  testID?: string | undefined;
51
+ /** The root view's ref: the host view the badge renders. */
52
+ ref?: Ref<HostInstance> | undefined;
51
53
  }
52
- declare const IconBadge: ForwardRefExoticComponent<IconBadgeProps & RefAttributes<HostInstance>>;
54
+ declare function IconBadge(props: IconBadgeProps): import("react").JSX.Element;
53
55
  export { IconBadge };
54
56
  export default IconBadge;
55
57
  //# sourceMappingURL=IconBadge.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { ForwardRefExoticComponent, RefAttributes } from "react";
1
+ import type { ReactElement, Ref } from "react";
2
2
  import type { AccessibilityState, GestureResponderEvent, HostInstance, StyleProp, ViewStyle } from "react-native";
3
3
  import type { FillVariant, Size, Tone } from "../../types/vocabulary.js";
4
4
  import type { HapticType } from "../../utils/index.js";
@@ -46,8 +46,10 @@ export interface IconButtonProps {
46
46
  haptic?: HapticType | false | undefined;
47
47
  style?: StyleProp<ViewStyle> | undefined;
48
48
  testID?: string | undefined;
49
+ /** The host view, for imperative calls such as focus or measure. */
50
+ ref?: Ref<HostInstance> | undefined;
49
51
  }
50
- declare const IconButton: ForwardRefExoticComponent<IconButtonProps & RefAttributes<HostInstance>>;
52
+ declare function IconButton({ ref, ...props }: IconButtonProps): ReactElement;
51
53
  export { IconButton };
52
54
  export default IconButton;
53
55
  //# sourceMappingURL=IconButton.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import type React from "react";
2
+ import { type Ref } from "react";
2
3
  import type { BlurEvent, FocusEvent, StyleProp, TextInputInstance, TextInputProps, TextStyle, ViewStyle } from "react-native";
3
4
  import { type InputText } from "../../text/phone/input.g.js";
4
5
  import type { RadiusName } from "../../theme/types.js";
@@ -175,8 +176,10 @@ export interface InputProps extends Omit<TextInputProps, "style"> {
175
176
  labels?: Partial<InputText> | undefined;
176
177
  /** Derives `${testID}-field` (the field box) and `${testID}-field-press` (its box-press wrapper). */
177
178
  testID?: string | undefined;
179
+ /** The underlying text input. */
180
+ ref?: Ref<TextInputInstance> | undefined;
178
181
  }
179
- declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<TextInputInstance>>;
182
+ declare function Input(props: InputProps): React.ReactElement;
180
183
  export { Input };
181
184
  export default Input;
182
185
  //# sourceMappingURL=Input.d.ts.map
@@ -1,3 +1,4 @@
1
+ import type { Ref } from "react";
1
2
  import type { KeyboardAwareScrollViewProps as ControllerScrollViewProps, KeyboardAwareScrollViewRef } from "react-native-keyboard-controller";
2
3
  export type SafeAreaEdge = "top" | "bottom" | "left" | "right";
3
4
  export type { KeyboardAwareScrollViewRef };
@@ -18,6 +19,8 @@ export interface KeyboardAwareScrollViewProps extends Omit<ControllerScrollViewP
18
19
  * keyboard metrics.
19
20
  */
20
21
  dismissOnTapOutside?: boolean | undefined;
22
+ /** The scroll view, with the controller's `assureFocusedInputVisible()` for a layout change that moved the focused field. */
23
+ ref?: Ref<KeyboardAwareScrollViewRef> | undefined;
21
24
  }
22
25
  /**
23
26
  * react-native-keyboard-controller's `KeyboardAwareScrollView` with the
@@ -28,7 +31,7 @@ export interface KeyboardAwareScrollViewProps extends Omit<ControllerScrollViewP
28
31
  * Needs the app's
29
32
  * `KeyboardProvider` at the root.
30
33
  */
31
- declare const KeyboardAwareScrollView: import("react").ForwardRefExoticComponent<KeyboardAwareScrollViewProps & import("react").RefAttributes<KeyboardAwareScrollViewRef>>;
34
+ declare function KeyboardAwareScrollView({ ref, ...props }: KeyboardAwareScrollViewProps): import("react").JSX.Element;
32
35
  export { KeyboardAwareScrollView };
33
36
  export default KeyboardAwareScrollView;
34
37
  //# sourceMappingURL=KeyboardAwareScrollView.d.ts.map
@@ -1,3 +1,4 @@
1
+ import type { Ref } from "react";
1
2
  import React from "react";
2
3
  import type { GestureResponderEvent, HostInstance, PressableProps, StyleProp, TextStyle, ViewStyle } from "react-native";
3
4
  import type { Size, Tone } from "../../types/vocabulary.js";
@@ -126,6 +127,7 @@ export interface ListItemProps {
126
127
  leftSlotStyle?: StyleProp<ViewStyle> | undefined;
127
128
  rightSlotStyle?: StyleProp<ViewStyle> | undefined;
128
129
  testID?: string | undefined;
130
+ ref?: Ref<HostInstance> | undefined;
129
131
  }
130
132
  declare const ListItem: React.NamedExoticComponent<ListItemProps & React.RefAttributes<HostInstance>> & {
131
133
  Skeleton: React.FC<ListItemProps>;
@@ -67,8 +67,10 @@ export interface ModalProps {
67
67
  bare?: boolean | undefined;
68
68
  /** Called with the top and bottom insets of the window the modal draws in, whenever they change. */
69
69
  onInsetsChange?: ((insets: ModalInsets) => void) | undefined;
70
+ /** The root View of the modal's content, for measuring or focusing it. */
71
+ ref?: React.Ref<HostInstance> | undefined;
70
72
  }
71
- declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HostInstance>>;
73
+ declare function Modal({ ref, ...props }: ModalProps): React.ReactElement;
72
74
  export { Modal };
73
75
  export default Modal;
74
76
  //# sourceMappingURL=Modal.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { type Ref } from "react";
2
2
  import type { StyleProp, TextInputProps, TextStyle, ViewStyle } from "react-native";
3
3
  import { type NumberInputText } from "../../text/phone/numberInput.g.js";
4
4
  import type { Size } from "../../types/vocabulary.js";
@@ -50,8 +50,10 @@ export interface NumberInputProps {
50
50
  textInputProps?: Omit<TextInputProps, "value" | "onChangeText" | "onBlur" | "keyboardType" | "editable"> | undefined;
51
51
  /** Derives `${testID}-field` (the field box) and `${testID}-field-press` (its box-press wrapper). */
52
52
  testID?: string | undefined;
53
+ /** The imperative handle: focus, blur and clear. */
54
+ ref?: Ref<NumberInputRef> | undefined;
53
55
  }
54
- declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<NumberInputRef>>;
56
+ declare function NumberInput({ ref, ...props }: NumberInputProps): React.JSX.Element;
55
57
  export { NumberInput };
56
58
  export default NumberInput;
57
59
  //# sourceMappingURL=NumberInput.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from "react";
1
+ import type { ReactNode, Ref } from "react";
2
2
  import type { FocusEvent, StyleProp, TextStyle, ViewStyle } from "react-native";
3
3
  import { type OtpInputText } from "../../text/phone/otpInput.g.js";
4
4
  import type { Size } from "../../types/vocabulary.js";
@@ -43,8 +43,9 @@ export interface OTPInputProps {
43
43
  cellStyle?: StyleProp<ViewStyle> | undefined;
44
44
  textStyle?: StyleProp<TextStyle> | undefined;
45
45
  testID?: string | undefined;
46
+ ref?: Ref<OTPInputRef> | undefined;
46
47
  }
47
- declare const OTPInput: import("react").ForwardRefExoticComponent<OTPInputProps & import("react").RefAttributes<OTPInputRef>>;
48
+ declare function OTPInput({ ref, ...props }: OTPInputProps): import("react").JSX.Element;
48
49
  export { OTPInput };
49
50
  export default OTPInput;
50
51
  //# sourceMappingURL=OTPInput.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type { PhoneCountry, PhoneValidationKind } from "@webority/mobile-core";
2
- import type { ReactNode } from "react";
2
+ import type { ReactNode, Ref } from "react";
3
3
  import type { StyleProp, TextInputProps, TextStyle, ViewStyle } from "react-native";
4
4
  import { type PhoneNumberInputText } from "../../text/phone/phoneNumberInput.g.js";
5
5
  import type { Theme } from "../../theme/types.js";
@@ -69,6 +69,8 @@ export interface PhoneNumberInfo {
69
69
  valid: boolean;
70
70
  }
71
71
  export interface PhoneNumberInputProps extends Pick<TextInputProps, "returnKeyType" | "submitBehavior" | "onSubmitEditing"> {
72
+ /** Gives the parent the imperative handle described by PhoneNumberInputRef. */
73
+ ref?: Ref<PhoneNumberInputRef> | undefined;
72
74
  value?: PhoneNumberValue | undefined;
73
75
  /**
74
76
  * Controlled value as one E.164 string (`'+14155550123'`, `''` for empty),
@@ -212,6 +214,6 @@ export declare const parseE164: (e164: string, countries: ReadonlyArray<CallingC
212
214
  * 9-digit Indian number is incomplete, a 10-digit one starting with 5 is a
213
215
  * landline, and `validation="mobile"` tells the two apart.
214
216
  */
215
- export declare const PhoneNumberInput: import("react").ForwardRefExoticComponent<PhoneNumberInputProps & import("react").RefAttributes<PhoneNumberInputRef>>;
217
+ export declare const PhoneNumberInput: ({ ref, ...props }: PhoneNumberInputProps) => import("react").JSX.Element;
216
218
  export default PhoneNumberInput;
217
219
  //# sourceMappingURL=PhoneNumberInput.d.ts.map
@@ -12,7 +12,8 @@
12
12
  * - Render PickerTrigger themselves alongside a controlled picker.
13
13
  */
14
14
  import type React from "react";
15
- import type { StyleProp, TextStyle, ViewStyle } from "react-native";
15
+ import { type Ref } from "react";
16
+ import type { View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
16
17
  import { type PickerTriggerText } from "../../text/phone/pickerTrigger.g.js";
17
18
  import type { FieldVariant, Size } from "../../types/vocabulary.js";
18
19
  export type PickerTriggerSize = Extract<Size, "sm" | "md" | "lg">;
@@ -59,15 +60,14 @@ export interface PickerTriggerProps {
59
60
  accessibilityLabel?: string | undefined;
60
61
  labels?: Partial<PickerTriggerText> | undefined;
61
62
  testID?: string | undefined;
63
+ ref?: Ref<RNView> | undefined;
62
64
  }
63
65
  /** The PickerTrigger props a picker forwards to its built-in trigger field. */
64
66
  export type PickerTriggerPassThroughProps = Pick<PickerTriggerProps, "label" | "help" | "placeholder" | "helperText" | "error" | "required" | "disabled" | "size" | "variant" | "clearable" | "onClear" | "leftIcon" | "trailing" | "triggerStyle" | "valueStyle" | "labelStyle" | "messageStyle" | "accessibilityLabel"> & {
65
67
  /** Copy for the trigger field (placeholder, selection, noSelection, clear). Named apart from labels, which is the copy of the picker sheet. */
66
68
  triggerLabels?: Partial<PickerTriggerText> | undefined;
67
69
  };
68
- declare const PickerTrigger: React.ForwardRefExoticComponent<PickerTriggerProps & React.RefAttributes<(props: Omit<import("react-native").ViewProps, "ref"> & {
69
- ref?: React.Ref<import("react-native").ViewInstance> | undefined;
70
- }) => React.ReactNode>>;
70
+ declare function PickerTrigger(props: PickerTriggerProps): React.ReactElement;
71
71
  export { PickerTrigger };
72
72
  export default PickerTrigger;
73
73
  //# sourceMappingURL=PickerTrigger.d.ts.map
@@ -10,6 +10,7 @@
10
10
  * design wants one.
11
11
  */
12
12
  import type React from "react";
13
+ import { type Ref } from "react";
13
14
  import type { HostInstance, ImageSourcePropType, StyleProp, TextStyle, ViewStyle } from "react-native";
14
15
  import { type ProfileCompletionText } from "../../text/phone/profileCompletion.g.js";
15
16
  import type { Size, Tone } from "../../types/vocabulary.js";
@@ -80,8 +81,10 @@ export interface ProfileCompletionProps {
80
81
  subtitleStyle?: StyleProp<TextStyle> | undefined;
81
82
  descriptionStyle?: StyleProp<TextStyle> | undefined;
82
83
  testID?: string | undefined;
84
+ /** The root View's instance, for imperative access. */
85
+ ref?: Ref<HostInstance> | undefined;
83
86
  }
84
- declare const ProfileCompletion: React.ForwardRefExoticComponent<ProfileCompletionProps & React.RefAttributes<HostInstance>>;
87
+ declare function ProfileCompletion({ ref, ...props }: ProfileCompletionProps): React.ReactElement;
85
88
  export { ProfileCompletion };
86
89
  export default ProfileCompletion;
87
90
  //# sourceMappingURL=ProfileCompletion.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { ForwardRefExoticComponent, ReactNode, RefAttributes } from "react";
1
+ import type { ReactNode, Ref } from "react";
2
2
  import type { HostInstance, StyleProp, ViewStyle } from "react-native";
3
3
  import { type ProgressBarText } from "../../text/phone/progressBar.g.js";
4
4
  import type { GradientDefinition } from "../../theme/types.js";
@@ -35,8 +35,9 @@ export interface ProgressBarProps {
35
35
  accessibilityLabel?: string | undefined;
36
36
  labels?: Partial<ProgressBarText> | undefined;
37
37
  testID?: string | undefined;
38
+ ref?: Ref<HostInstance> | undefined;
38
39
  }
39
- declare const ProgressBar: ForwardRefExoticComponent<ProgressBarProps & RefAttributes<HostInstance>>;
40
+ declare function ProgressBar({ ref, ...props }: ProgressBarProps): import("react").JSX.Element;
40
41
  export { ProgressBar };
41
42
  export default ProgressBar;
42
43
  //# sourceMappingURL=ProgressBar.d.ts.map
@@ -45,8 +45,9 @@ export interface ProgressRingProps {
45
45
  accessibilityLabel?: string | undefined;
46
46
  style?: StyleProp<ViewStyle> | undefined;
47
47
  testID?: string | undefined;
48
+ ref?: React.Ref<HostInstance> | undefined;
48
49
  }
49
- declare const ProgressRing: React.ForwardRefExoticComponent<ProgressRingProps & React.RefAttributes<HostInstance>>;
50
+ declare function ProgressRing({ ref, ...props }: ProgressRingProps): React.JSX.Element;
50
51
  export { ProgressRing };
51
52
  export default ProgressRing;
52
53
  //# sourceMappingURL=ProgressRing.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { ForwardRefExoticComponent, ReactNode, RefAttributes } from "react";
1
+ import type { ReactNode, Ref } from "react";
2
2
  import type { HostInstance, PressableProps, StyleProp, TextStyle, ViewStyle } from "react-native";
3
3
  import type { Size, Tone } from "../../types/vocabulary.js";
4
4
  import type { HapticType } from "../../utils/hapticUtils.js";
@@ -46,8 +46,10 @@ export interface RadioProps extends Omit<PressableProps, "style" | "children" |
46
46
  dotStyle?: StyleProp<ViewStyle> | undefined;
47
47
  labelStyle?: StyleProp<TextStyle> | undefined;
48
48
  testID?: string | undefined;
49
+ /** The pressable row's ref: the host view the radio renders. */
50
+ ref?: Ref<HostInstance> | undefined;
49
51
  }
50
- declare const Radio: ForwardRefExoticComponent<RadioProps & RefAttributes<HostInstance>>;
52
+ declare function Radio(props: RadioProps): import("react").JSX.Element;
51
53
  export { Radio };
52
54
  export default Radio;
53
55
  //# sourceMappingURL=Radio.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import type React from "react";
2
+ import type { Ref } from "react";
2
3
  import type { HostInstance, StyleProp, ViewStyle } from "react-native";
3
4
  import { type RatingText } from "../../text/phone/rating.g.js";
4
5
  import type { Size, Tone } from "../../types/vocabulary.js";
@@ -31,8 +32,11 @@ export interface RatingProps {
31
32
  style?: StyleProp<ViewStyle> | undefined;
32
33
  starContainerStyle?: StyleProp<ViewStyle> | undefined;
33
34
  testID?: string | undefined;
35
+ /** The root view's ref: the host view the rating renders. */
36
+ ref?: Ref<HostInstance> | undefined;
34
37
  }
35
- declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAttributes<HostInstance>> & {
38
+ declare function RatingRoot({ ref, ...props }: RatingProps): React.JSX.Element;
39
+ declare const Rating: typeof RatingRoot & {
36
40
  Skeleton: React.FC<RatingProps>;
37
41
  };
38
42
  export { Rating };
@@ -37,6 +37,7 @@ export interface RichTextEditorProps {
37
37
  /** Style for the multiline TextInput. */
38
38
  inputStyle?: StyleProp<TextStyle> | undefined;
39
39
  testID?: string | undefined;
40
+ ref?: React.Ref<TextInputInstance> | undefined;
40
41
  }
41
42
  /**
42
43
  * A markdown editor: a themed multiline field plus a toolbar that wraps the
@@ -46,6 +47,6 @@ export interface RichTextEditorProps {
46
47
  * exactly what replacing the stale `react-native-pell-rich-editor` was meant to
47
48
  * escape: markdown in, markdown out, one plain TextInput, no bridge.
48
49
  */
49
- export declare const RichTextEditor: React.ForwardRefExoticComponent<RichTextEditorProps & React.RefAttributes<TextInputInstance>>;
50
+ export declare const RichTextEditor: (props: RichTextEditorProps) => React.ReactElement;
50
51
  export default RichTextEditor;
51
52
  //# sourceMappingURL=RichTextEditor.d.ts.map
@@ -44,8 +44,9 @@ export interface ScannerOverlayProps {
44
44
  haptic?: HapticType | false | undefined;
45
45
  style?: StyleProp<ViewStyle> | undefined;
46
46
  testID?: string | undefined;
47
+ ref?: React.Ref<HostInstance> | undefined;
47
48
  }
48
- declare const ScannerOverlay: React.ForwardRefExoticComponent<ScannerOverlayProps & React.RefAttributes<HostInstance>>;
49
+ declare function ScannerOverlay(props: ScannerOverlayProps): React.ReactElement;
49
50
  export { ScannerOverlay };
50
51
  export default ScannerOverlay;
51
52
  //# sourceMappingURL=ScannerOverlay.d.ts.map