@webority/mobile-ui 0.149.0 → 0.150.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 (459) hide show
  1. package/dist/canvas-kit/kit.js +13 -56714
  2. package/dist/canvas-kit/manifest.json +20 -41
  3. package/dist/canvas-kit/release.json +6 -6
  4. package/lib/commonjs/components/Accordion/Accordion.js +1 -1
  5. package/lib/commonjs/components/AppIcon/AppIcon.js +1 -1
  6. package/lib/commonjs/components/AppIcon/glyphs.g.js +1 -1
  7. package/lib/commonjs/components/AsyncBlock/AsyncBlock.js +1 -1
  8. package/lib/commonjs/components/AuthedImage/AuthedImage.js +1 -1
  9. package/lib/commonjs/components/AuthedImage/authedImageCache.js +1 -1
  10. package/lib/commonjs/components/Avatar/Avatar.js +1 -1
  11. package/lib/commonjs/components/Badge/Badge.js +1 -1
  12. package/lib/commonjs/components/Banner/Banner.js +1 -1
  13. package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +1 -1
  14. package/lib/commonjs/components/Box/Box.js +1 -1
  15. package/lib/commonjs/components/Card/Card.js +1 -1
  16. package/lib/commonjs/components/Carousel/Carousel.js +1 -1
  17. package/lib/commonjs/components/Chip/Chip.js +1 -1
  18. package/lib/commonjs/components/ChoiceGroup/ChoiceGroup.js +1 -1
  19. package/lib/commonjs/components/Confetti/Confetti.js +1 -1
  20. package/lib/commonjs/components/DatePicker/DatePicker.js +1 -1
  21. package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +1 -1
  22. package/lib/commonjs/components/Descriptions/Descriptions.js +1 -1
  23. package/lib/commonjs/components/Dialog/Dialog.js +1 -1
  24. package/lib/commonjs/components/FileViewer/fileSource.js +1 -1
  25. package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -1
  26. package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
  27. package/lib/commonjs/components/InlineSelect/InlineSelect.js +1 -1
  28. package/lib/commonjs/components/Input/Input.js +1 -1
  29. package/lib/commonjs/components/ListItem/ListItem.js +1 -1
  30. package/lib/commonjs/components/Markdown/Markdown.js +1 -1
  31. package/lib/commonjs/components/Menu/MenuSurface.js +1 -1
  32. package/lib/commonjs/components/Menu/focusHost.js +1 -1
  33. package/lib/commonjs/components/OptionSheet/OptionSheet.js +1 -1
  34. package/lib/commonjs/components/OptionSheet/optionAccessors.js +1 -0
  35. package/lib/commonjs/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
  36. package/lib/commonjs/components/ProgressRing/ProgressRing.js +1 -1
  37. package/lib/commonjs/components/Radio/RadioGroup.js +1 -1
  38. package/lib/commonjs/components/Rating/Rating.js +1 -1
  39. package/lib/commonjs/components/Repeater/Repeater.js +1 -1
  40. package/lib/commonjs/components/Screen/Screen.js +1 -1
  41. package/lib/commonjs/components/SearchBar/useRecentSearches.js +1 -1
  42. package/lib/commonjs/components/SegmentedControl/SegmentedControl.js +1 -1
  43. package/lib/commonjs/components/Select/Select.js +1 -1
  44. package/lib/commonjs/components/Skeleton/SkeletonContent.js +1 -1
  45. package/lib/commonjs/components/Skeleton/SkeletonList.js +1 -1
  46. package/lib/commonjs/components/Slider/Slider.js +1 -1
  47. package/lib/commonjs/components/SliderField/SliderField.js +1 -1
  48. package/lib/commonjs/components/SortableList/SortableList.js +1 -1
  49. package/lib/commonjs/components/Sparkline/Sparkline.js +1 -1
  50. package/lib/commonjs/components/SquircleFill/SquircleFill.js +1 -1
  51. package/lib/commonjs/components/StatTile/StatTile.js +1 -1
  52. package/lib/commonjs/components/StatusBadge/StatusBadge.js +1 -1
  53. package/lib/commonjs/components/StatusBadge/statusMap.js +1 -1
  54. package/lib/commonjs/components/Stepper/Stepper.js +1 -1
  55. package/lib/commonjs/components/Text/Text.js +1 -1
  56. package/lib/commonjs/components/TimePicker/TimePicker.js +1 -1
  57. package/lib/commonjs/components/WheelPicker/WheelPicker.js +1 -1
  58. package/lib/commonjs/form/HookFormField.js +1 -1
  59. package/lib/commonjs/form/path.js +1 -1
  60. package/lib/commonjs/hooks/useControllableState.js +1 -1
  61. package/lib/commonjs/specs/NativePdfRasterizer.js +1 -1
  62. package/lib/commonjs/theme/ThemeContext.js +1 -1
  63. package/lib/commonjs/theme/animatedValue.js +1 -1
  64. package/lib/commonjs/theme/componentSizes.js +1 -1
  65. package/lib/commonjs/theme/merge.js +1 -1
  66. package/lib/commonjs/theme/scale.js +1 -1
  67. package/lib/commonjs/utils/complete.js +1 -0
  68. package/lib/commonjs/utils/guards.js +1 -0
  69. package/lib/commonjs/utils/hapticUtils.js +1 -1
  70. package/lib/module/components/Accordion/Accordion.js +1 -1
  71. package/lib/module/components/AppIcon/AppIcon.js +1 -1
  72. package/lib/module/components/AppIcon/glyphs.g.js +1 -1
  73. package/lib/module/components/AsyncBlock/AsyncBlock.js +1 -1
  74. package/lib/module/components/AuthedImage/AuthedImage.js +1 -1
  75. package/lib/module/components/AuthedImage/authedImageCache.js +1 -1
  76. package/lib/module/components/Avatar/Avatar.js +1 -1
  77. package/lib/module/components/Badge/Badge.js +1 -1
  78. package/lib/module/components/Banner/Banner.js +1 -1
  79. package/lib/module/components/BottomNavigation/BottomNavigation.js +1 -1
  80. package/lib/module/components/Box/Box.js +1 -1
  81. package/lib/module/components/Card/Card.js +1 -1
  82. package/lib/module/components/Carousel/Carousel.js +1 -1
  83. package/lib/module/components/Chip/Chip.js +1 -1
  84. package/lib/module/components/ChoiceGroup/ChoiceGroup.js +1 -1
  85. package/lib/module/components/Confetti/Confetti.js +1 -1
  86. package/lib/module/components/DatePicker/DatePicker.js +1 -1
  87. package/lib/module/components/DateRangePicker/DateRangePicker.js +1 -1
  88. package/lib/module/components/Descriptions/Descriptions.js +1 -1
  89. package/lib/module/components/Dialog/Dialog.js +1 -1
  90. package/lib/module/components/FileViewer/fileSource.js +1 -1
  91. package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -1
  92. package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
  93. package/lib/module/components/InlineSelect/InlineSelect.js +1 -1
  94. package/lib/module/components/Input/Input.js +1 -1
  95. package/lib/module/components/ListItem/ListItem.js +1 -1
  96. package/lib/module/components/Markdown/Markdown.js +1 -1
  97. package/lib/module/components/Menu/MenuSurface.js +1 -1
  98. package/lib/module/components/Menu/focusHost.js +1 -1
  99. package/lib/module/components/OptionSheet/OptionSheet.js +1 -1
  100. package/lib/module/components/OptionSheet/optionAccessors.js +1 -0
  101. package/lib/module/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
  102. package/lib/module/components/ProgressRing/ProgressRing.js +1 -1
  103. package/lib/module/components/Radio/RadioGroup.js +1 -1
  104. package/lib/module/components/Rating/Rating.js +1 -1
  105. package/lib/module/components/Repeater/Repeater.js +1 -1
  106. package/lib/module/components/Screen/Screen.js +1 -1
  107. package/lib/module/components/SearchBar/useRecentSearches.js +1 -1
  108. package/lib/module/components/SegmentedControl/SegmentedControl.js +1 -1
  109. package/lib/module/components/Select/Select.js +1 -1
  110. package/lib/module/components/Skeleton/SkeletonContent.js +1 -1
  111. package/lib/module/components/Skeleton/SkeletonList.js +1 -1
  112. package/lib/module/components/Slider/Slider.js +1 -1
  113. package/lib/module/components/SliderField/SliderField.js +1 -1
  114. package/lib/module/components/SortableList/SortableList.js +1 -1
  115. package/lib/module/components/Sparkline/Sparkline.js +1 -1
  116. package/lib/module/components/SquircleFill/SquircleFill.js +1 -1
  117. package/lib/module/components/StatTile/StatTile.js +1 -1
  118. package/lib/module/components/StatusBadge/StatusBadge.js +1 -1
  119. package/lib/module/components/StatusBadge/statusMap.js +1 -1
  120. package/lib/module/components/Stepper/Stepper.js +1 -1
  121. package/lib/module/components/Text/Text.js +1 -1
  122. package/lib/module/components/TimePicker/TimePicker.js +1 -1
  123. package/lib/module/components/WheelPicker/WheelPicker.js +1 -1
  124. package/lib/module/form/HookFormField.js +1 -1
  125. package/lib/module/form/path.js +1 -1
  126. package/lib/module/hooks/useControllableState.js +1 -1
  127. package/lib/module/specs/NativePdfRasterizer.js +1 -1
  128. package/lib/module/theme/ThemeContext.js +1 -1
  129. package/lib/module/theme/animatedValue.js +1 -1
  130. package/lib/module/theme/componentSizes.js +1 -1
  131. package/lib/module/theme/merge.js +1 -1
  132. package/lib/module/theme/scale.js +1 -1
  133. package/lib/module/utils/complete.js +1 -0
  134. package/lib/module/utils/guards.js +1 -0
  135. package/lib/module/utils/hapticUtils.js +1 -1
  136. package/lib/typescript/commonjs/canvasKit/index.d.ts +12 -12
  137. package/lib/typescript/commonjs/canvasKit/meta.d.ts +5 -7
  138. package/lib/typescript/commonjs/components/Accordion/Accordion.d.ts +22 -22
  139. package/lib/typescript/commonjs/components/AmountSlider/AmountSlider.d.ts +23 -23
  140. package/lib/typescript/commonjs/components/AnimatePresence/AnimatePresence.d.ts +5 -5
  141. package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +39 -39
  142. package/lib/typescript/commonjs/components/AppIcon/AppIcon.d.ts +7 -7
  143. package/lib/typescript/commonjs/components/AppIcon/defaultIcons.d.ts +2 -1
  144. package/lib/typescript/commonjs/components/AppIcon/glyphs.g.d.ts +233 -233
  145. package/lib/typescript/commonjs/components/AppIcon/slotIcon.d.ts +1 -1
  146. package/lib/typescript/commonjs/components/AppLockOverlay/AppLockOverlay.d.ts +5 -5
  147. package/lib/typescript/commonjs/components/AsyncBlock/AsyncBlock.d.ts +22 -40
  148. package/lib/typescript/commonjs/components/AuthedImage/AuthedImage.d.ts +15 -15
  149. package/lib/typescript/commonjs/components/AuthedImage/authedImageCache.d.ts +2 -2
  150. package/lib/typescript/commonjs/components/Autocomplete/Autocomplete.d.ts +24 -24
  151. package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +36 -36
  152. package/lib/typescript/commonjs/components/Badge/Badge.d.ts +18 -18
  153. package/lib/typescript/commonjs/components/Banner/Banner.d.ts +25 -25
  154. package/lib/typescript/commonjs/components/BarChart/BarChart.d.ts +21 -21
  155. package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +36 -36
  156. package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +32 -32
  157. package/lib/typescript/commonjs/components/Box/Box.d.ts +27 -27
  158. package/lib/typescript/commonjs/components/Button/Button.d.ts +22 -22
  159. package/lib/typescript/commonjs/components/Calendar/Calendar.d.ts +20 -20
  160. package/lib/typescript/commonjs/components/Calendar/CalendarDay.d.ts +4 -2
  161. package/lib/typescript/commonjs/components/Card/Card.d.ts +41 -41
  162. package/lib/typescript/commonjs/components/Carousel/Carousel.d.ts +21 -21
  163. package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +21 -21
  164. package/lib/typescript/commonjs/components/Chip/Chip.d.ts +23 -23
  165. package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +51 -46
  166. package/lib/typescript/commonjs/components/Composer/Composer.d.ts +27 -27
  167. package/lib/typescript/commonjs/components/Confetti/Confetti.d.ts +22 -21
  168. package/lib/typescript/commonjs/components/Confirm/confirm.d.ts +4 -4
  169. package/lib/typescript/commonjs/components/DatePicker/DatePicker.d.ts +20 -20
  170. package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +22 -22
  171. package/lib/typescript/commonjs/components/DateSeparator/DateSeparator.d.ts +9 -9
  172. package/lib/typescript/commonjs/components/DecimalInput/DecimalInput.d.ts +14 -14
  173. package/lib/typescript/commonjs/components/Descriptions/Descriptions.d.ts +13 -13
  174. package/lib/typescript/commonjs/components/Dialog/Dialog.d.ts +24 -24
  175. package/lib/typescript/commonjs/components/Dialog/OverlayActions.d.ts +5 -5
  176. package/lib/typescript/commonjs/components/Divider/Divider.d.ts +9 -9
  177. package/lib/typescript/commonjs/components/Drawer/Drawer.d.ts +14 -14
  178. package/lib/typescript/commonjs/components/EmptyState/EmptyState.d.ts +13 -13
  179. package/lib/typescript/commonjs/components/ErrorBoundary/ErrorBoundary.d.ts +8 -8
  180. package/lib/typescript/commonjs/components/FieldBase/Chevron.d.ts +2 -2
  181. package/lib/typescript/commonjs/components/FieldBase/ChoiceText.d.ts +10 -10
  182. package/lib/typescript/commonjs/components/FieldBase/FieldBase.d.ts +54 -54
  183. package/lib/typescript/commonjs/components/FieldBase/useFloatingLabel.d.ts +8 -8
  184. package/lib/typescript/commonjs/components/FilePicker/FilePicker.d.ts +35 -35
  185. package/lib/typescript/commonjs/components/FileViewer/FileViewer.d.ts +10 -10
  186. package/lib/typescript/commonjs/components/FileViewer/fileSource.d.ts +3 -3
  187. package/lib/typescript/commonjs/components/FilterChipRow/FilterChipRow.d.ts +12 -12
  188. package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +35 -35
  189. package/lib/typescript/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +11 -11
  190. package/lib/typescript/commonjs/components/FormField/FormField.d.ts +15 -15
  191. package/lib/typescript/commonjs/components/IconBadge/IconBadge.d.ts +11 -11
  192. package/lib/typescript/commonjs/components/IconButton/IconButton.d.ts +14 -14
  193. package/lib/typescript/commonjs/components/ImageGallery/ImageGallery.d.ts +14 -14
  194. package/lib/typescript/commonjs/components/InlineSelect/InlineSelect.d.ts +36 -31
  195. package/lib/typescript/commonjs/components/Input/Input.d.ts +47 -47
  196. package/lib/typescript/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +7 -7
  197. package/lib/typescript/commonjs/components/KeyboardToolbar/KeyboardToolbar.d.ts +8 -8
  198. package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +44 -44
  199. package/lib/typescript/commonjs/components/ListSection/ListSection.d.ts +6 -6
  200. package/lib/typescript/commonjs/components/LoaderOverlay/LoaderOverlay.d.ts +17 -11
  201. package/lib/typescript/commonjs/components/Markdown/Markdown.d.ts +15 -15
  202. package/lib/typescript/commonjs/components/Menu/Menu.d.ts +17 -12
  203. package/lib/typescript/commonjs/components/Menu/MenuSurface.d.ts +8 -8
  204. package/lib/typescript/commonjs/components/Menu/menuModel.d.ts +11 -11
  205. package/lib/typescript/commonjs/components/Menu/useContextMenu.d.ts +13 -13
  206. package/lib/typescript/commonjs/components/Menu/webOnly.d.ts +3 -3
  207. package/lib/typescript/commonjs/components/MessageBubble/MessageBubble.d.ts +20 -20
  208. package/lib/typescript/commonjs/components/MessageList/MessageList.d.ts +14 -14
  209. package/lib/typescript/commonjs/components/Modal/Modal.d.ts +19 -19
  210. package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +27 -27
  211. package/lib/typescript/commonjs/components/OTPInput/OTPInput.d.ts +20 -20
  212. package/lib/typescript/commonjs/components/OTPInput/OTPResendRow.d.ts +9 -9
  213. package/lib/typescript/commonjs/components/OnboardingPager/OnboardingPager.d.ts +5 -5
  214. package/lib/typescript/commonjs/components/OptionSheet/OptionSheet.d.ts +33 -33
  215. package/lib/typescript/commonjs/components/OptionSheet/optionAccessors.d.ts +8 -0
  216. package/lib/typescript/commonjs/components/PagedListFooter/PagedListFooter.d.ts +2 -2
  217. package/lib/typescript/commonjs/components/PermissionPrompt/PermissionPrompt.d.ts +6 -6
  218. package/lib/typescript/commonjs/components/PermissionPrompt/usePermissionPrompt.d.ts +1 -1
  219. package/lib/typescript/commonjs/components/PhoneNumberInput/PhoneNumberInput.d.ts +43 -43
  220. package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +23 -23
  221. package/lib/typescript/commonjs/components/ProfileCompletion/ProfileCompletion.d.ts +23 -23
  222. package/lib/typescript/commonjs/components/ProfilePicker/ProfilePicker.d.ts +30 -30
  223. package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +21 -21
  224. package/lib/typescript/commonjs/components/ProgressRing/ProgressRing.d.ts +13 -13
  225. package/lib/typescript/commonjs/components/Radio/Radio.d.ts +18 -18
  226. package/lib/typescript/commonjs/components/Radio/RadioDot.d.ts +5 -5
  227. package/lib/typescript/commonjs/components/Radio/RadioGroup.d.ts +8 -8
  228. package/lib/typescript/commonjs/components/Rating/Rating.d.ts +15 -15
  229. package/lib/typescript/commonjs/components/Repeater/Repeater.d.ts +10 -10
  230. package/lib/typescript/commonjs/components/RichTextEditor/RichTextEditor.d.ts +15 -15
  231. package/lib/typescript/commonjs/components/ScannerOverlay/ScannerOverlay.d.ts +13 -13
  232. package/lib/typescript/commonjs/components/Screen/Screen.d.ts +43 -44
  233. package/lib/typescript/commonjs/components/Screen/index.d.ts +1 -1
  234. package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +31 -31
  235. package/lib/typescript/commonjs/components/SearchBar/SearchPanel.d.ts +6 -6
  236. package/lib/typescript/commonjs/components/SearchBar/useRecentSearches.d.ts +1 -1
  237. package/lib/typescript/commonjs/components/SectionHeader/SectionHeader.d.ts +10 -10
  238. package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +25 -24
  239. package/lib/typescript/commonjs/components/Select/Select.d.ts +50 -45
  240. package/lib/typescript/commonjs/components/SignaturePad/SignaturePad.d.ts +20 -20
  241. package/lib/typescript/commonjs/components/Skeleton/Skeleton.d.ts +13 -13
  242. package/lib/typescript/commonjs/components/Skeleton/SkeletonContent.d.ts +9 -9
  243. package/lib/typescript/commonjs/components/Skeleton/SkeletonList.d.ts +30 -8
  244. package/lib/typescript/commonjs/components/Skeleton/SkeletonProvider.d.ts +9 -9
  245. package/lib/typescript/commonjs/components/SlideToConfirm/SlideToConfirm.d.ts +14 -14
  246. package/lib/typescript/commonjs/components/Slider/Slider.d.ts +30 -30
  247. package/lib/typescript/commonjs/components/Slider/valueText.d.ts +9 -9
  248. package/lib/typescript/commonjs/components/SliderField/SliderField.d.ts +41 -41
  249. package/lib/typescript/commonjs/components/SortableList/SortableList.d.ts +5 -5
  250. package/lib/typescript/commonjs/components/Sparkline/Sparkline.d.ts +13 -13
  251. package/lib/typescript/commonjs/components/Sparkline/geometry.d.ts +3 -1
  252. package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +10 -10
  253. package/lib/typescript/commonjs/components/SquircleFill/SquircleFill.d.ts +3 -3
  254. package/lib/typescript/commonjs/components/SquircleImage/SquircleImage.d.ts +5 -12
  255. package/lib/typescript/commonjs/components/StatTile/StatTile.d.ts +14 -14
  256. package/lib/typescript/commonjs/components/StatusBadge/StatusBadge.d.ts +13 -13
  257. package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +21 -21
  258. package/lib/typescript/commonjs/components/Swipeable/Swipeable.d.ts +15 -15
  259. package/lib/typescript/commonjs/components/Switch/Switch.d.ts +19 -19
  260. package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +20 -20
  261. package/lib/typescript/commonjs/components/TagInput/TagInput.d.ts +19 -19
  262. package/lib/typescript/commonjs/components/Text/Text.d.ts +10 -10
  263. package/lib/typescript/commonjs/components/TimePicker/TimePicker.d.ts +14 -14
  264. package/lib/typescript/commonjs/components/Timeline/Timeline.d.ts +12 -12
  265. package/lib/typescript/commonjs/components/Toast/Toast.d.ts +17 -17
  266. package/lib/typescript/commonjs/components/Toast/ToastProvider.d.ts +8 -8
  267. package/lib/typescript/commonjs/components/Tooltip/RichTooltipBody.d.ts +4 -4
  268. package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts +24 -19
  269. package/lib/typescript/commonjs/components/Tour/Tour.d.ts +7 -7
  270. package/lib/typescript/commonjs/components/TypingIndicator/TypingIndicator.d.ts +6 -6
  271. package/lib/typescript/commonjs/components/WheelPicker/Wheel.d.ts +6 -6
  272. package/lib/typescript/commonjs/components/WheelPicker/WheelPicker.d.ts +20 -20
  273. package/lib/typescript/commonjs/components/ZoomableImage/ZoomableImage.d.ts +8 -8
  274. package/lib/typescript/commonjs/form/HookFormField.d.ts +5 -18
  275. package/lib/typescript/commonjs/form/path.d.ts +4 -2
  276. package/lib/typescript/commonjs/form/useFormCompletion.d.ts +1 -1
  277. package/lib/typescript/commonjs/hooks/useControllableState.d.ts +2 -2
  278. package/lib/typescript/commonjs/hooks/useDragToDismiss.d.ts +3 -3
  279. package/lib/typescript/commonjs/hooks/useFieldErrorScroll.d.ts +1 -1
  280. package/lib/typescript/commonjs/hooks/usePressAnimation.d.ts +4 -4
  281. package/lib/typescript/commonjs/hooks/useRefreshControl.d.ts +8 -8
  282. package/lib/typescript/commonjs/hooks/useResendCountdown.d.ts +1 -1
  283. package/lib/typescript/commonjs/hooks/useScrollDirection.d.ts +1 -1
  284. package/lib/typescript/commonjs/navigation/DiscardGuard.d.ts +2 -2
  285. package/lib/typescript/commonjs/navigation/NavigationScreen.d.ts +3 -3
  286. package/lib/typescript/commonjs/network/NetworkStatusBanner.d.ts +7 -7
  287. package/lib/typescript/commonjs/theme/Gradient.d.ts +2 -2
  288. package/lib/typescript/commonjs/theme/ThemeContext.d.ts +5 -5
  289. package/lib/typescript/commonjs/theme/componentSizes.d.ts +15 -38
  290. package/lib/typescript/commonjs/theme/types.d.ts +84 -84
  291. package/lib/typescript/commonjs/utils/announce.d.ts +1 -1
  292. package/lib/typescript/commonjs/utils/complete.d.ts +5 -0
  293. package/lib/typescript/commonjs/utils/feedback.d.ts +3 -1
  294. package/lib/typescript/commonjs/utils/guards.d.ts +9 -0
  295. package/lib/typescript/commonjs/utils/placement.d.ts +3 -3
  296. package/lib/typescript/commonjs/utils/squircle.d.ts +2 -2
  297. package/lib/typescript/module/canvasKit/index.d.ts +12 -12
  298. package/lib/typescript/module/canvasKit/meta.d.ts +5 -7
  299. package/lib/typescript/module/components/Accordion/Accordion.d.ts +22 -22
  300. package/lib/typescript/module/components/AmountSlider/AmountSlider.d.ts +23 -23
  301. package/lib/typescript/module/components/AnimatePresence/AnimatePresence.d.ts +5 -5
  302. package/lib/typescript/module/components/AppBar/AppBar.d.ts +39 -39
  303. package/lib/typescript/module/components/AppIcon/AppIcon.d.ts +7 -7
  304. package/lib/typescript/module/components/AppIcon/defaultIcons.d.ts +2 -1
  305. package/lib/typescript/module/components/AppIcon/glyphs.g.d.ts +233 -233
  306. package/lib/typescript/module/components/AppIcon/slotIcon.d.ts +1 -1
  307. package/lib/typescript/module/components/AppLockOverlay/AppLockOverlay.d.ts +5 -5
  308. package/lib/typescript/module/components/AsyncBlock/AsyncBlock.d.ts +22 -40
  309. package/lib/typescript/module/components/AuthedImage/AuthedImage.d.ts +15 -15
  310. package/lib/typescript/module/components/AuthedImage/authedImageCache.d.ts +2 -2
  311. package/lib/typescript/module/components/Autocomplete/Autocomplete.d.ts +24 -24
  312. package/lib/typescript/module/components/Avatar/Avatar.d.ts +36 -36
  313. package/lib/typescript/module/components/Badge/Badge.d.ts +18 -18
  314. package/lib/typescript/module/components/Banner/Banner.d.ts +25 -25
  315. package/lib/typescript/module/components/BarChart/BarChart.d.ts +21 -21
  316. package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +36 -36
  317. package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +32 -32
  318. package/lib/typescript/module/components/Box/Box.d.ts +27 -27
  319. package/lib/typescript/module/components/Button/Button.d.ts +22 -22
  320. package/lib/typescript/module/components/Calendar/Calendar.d.ts +20 -20
  321. package/lib/typescript/module/components/Calendar/CalendarDay.d.ts +4 -2
  322. package/lib/typescript/module/components/Card/Card.d.ts +41 -41
  323. package/lib/typescript/module/components/Carousel/Carousel.d.ts +21 -21
  324. package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +21 -21
  325. package/lib/typescript/module/components/Chip/Chip.d.ts +23 -23
  326. package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +51 -46
  327. package/lib/typescript/module/components/Composer/Composer.d.ts +27 -27
  328. package/lib/typescript/module/components/Confetti/Confetti.d.ts +22 -21
  329. package/lib/typescript/module/components/Confirm/confirm.d.ts +4 -4
  330. package/lib/typescript/module/components/DatePicker/DatePicker.d.ts +20 -20
  331. package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +22 -22
  332. package/lib/typescript/module/components/DateSeparator/DateSeparator.d.ts +9 -9
  333. package/lib/typescript/module/components/DecimalInput/DecimalInput.d.ts +14 -14
  334. package/lib/typescript/module/components/Descriptions/Descriptions.d.ts +13 -13
  335. package/lib/typescript/module/components/Dialog/Dialog.d.ts +24 -24
  336. package/lib/typescript/module/components/Dialog/OverlayActions.d.ts +5 -5
  337. package/lib/typescript/module/components/Divider/Divider.d.ts +9 -9
  338. package/lib/typescript/module/components/Drawer/Drawer.d.ts +14 -14
  339. package/lib/typescript/module/components/EmptyState/EmptyState.d.ts +13 -13
  340. package/lib/typescript/module/components/ErrorBoundary/ErrorBoundary.d.ts +8 -8
  341. package/lib/typescript/module/components/FieldBase/Chevron.d.ts +2 -2
  342. package/lib/typescript/module/components/FieldBase/ChoiceText.d.ts +10 -10
  343. package/lib/typescript/module/components/FieldBase/FieldBase.d.ts +54 -54
  344. package/lib/typescript/module/components/FieldBase/useFloatingLabel.d.ts +8 -8
  345. package/lib/typescript/module/components/FilePicker/FilePicker.d.ts +35 -35
  346. package/lib/typescript/module/components/FileViewer/FileViewer.d.ts +10 -10
  347. package/lib/typescript/module/components/FileViewer/fileSource.d.ts +3 -3
  348. package/lib/typescript/module/components/FilterChipRow/FilterChipRow.d.ts +12 -12
  349. package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +35 -35
  350. package/lib/typescript/module/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +11 -11
  351. package/lib/typescript/module/components/FormField/FormField.d.ts +15 -15
  352. package/lib/typescript/module/components/IconBadge/IconBadge.d.ts +11 -11
  353. package/lib/typescript/module/components/IconButton/IconButton.d.ts +14 -14
  354. package/lib/typescript/module/components/ImageGallery/ImageGallery.d.ts +14 -14
  355. package/lib/typescript/module/components/InlineSelect/InlineSelect.d.ts +36 -31
  356. package/lib/typescript/module/components/Input/Input.d.ts +47 -47
  357. package/lib/typescript/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +7 -7
  358. package/lib/typescript/module/components/KeyboardToolbar/KeyboardToolbar.d.ts +8 -8
  359. package/lib/typescript/module/components/ListItem/ListItem.d.ts +44 -44
  360. package/lib/typescript/module/components/ListSection/ListSection.d.ts +6 -6
  361. package/lib/typescript/module/components/LoaderOverlay/LoaderOverlay.d.ts +17 -11
  362. package/lib/typescript/module/components/Markdown/Markdown.d.ts +15 -15
  363. package/lib/typescript/module/components/Menu/Menu.d.ts +17 -12
  364. package/lib/typescript/module/components/Menu/MenuSurface.d.ts +8 -8
  365. package/lib/typescript/module/components/Menu/menuModel.d.ts +11 -11
  366. package/lib/typescript/module/components/Menu/useContextMenu.d.ts +13 -13
  367. package/lib/typescript/module/components/Menu/webOnly.d.ts +3 -3
  368. package/lib/typescript/module/components/MessageBubble/MessageBubble.d.ts +20 -20
  369. package/lib/typescript/module/components/MessageList/MessageList.d.ts +14 -14
  370. package/lib/typescript/module/components/Modal/Modal.d.ts +19 -19
  371. package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +27 -27
  372. package/lib/typescript/module/components/OTPInput/OTPInput.d.ts +20 -20
  373. package/lib/typescript/module/components/OTPInput/OTPResendRow.d.ts +9 -9
  374. package/lib/typescript/module/components/OnboardingPager/OnboardingPager.d.ts +5 -5
  375. package/lib/typescript/module/components/OptionSheet/OptionSheet.d.ts +33 -33
  376. package/lib/typescript/module/components/OptionSheet/optionAccessors.d.ts +8 -0
  377. package/lib/typescript/module/components/PagedListFooter/PagedListFooter.d.ts +2 -2
  378. package/lib/typescript/module/components/PermissionPrompt/PermissionPrompt.d.ts +6 -6
  379. package/lib/typescript/module/components/PermissionPrompt/usePermissionPrompt.d.ts +1 -1
  380. package/lib/typescript/module/components/PhoneNumberInput/PhoneNumberInput.d.ts +43 -43
  381. package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +23 -23
  382. package/lib/typescript/module/components/ProfileCompletion/ProfileCompletion.d.ts +23 -23
  383. package/lib/typescript/module/components/ProfilePicker/ProfilePicker.d.ts +30 -30
  384. package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +21 -21
  385. package/lib/typescript/module/components/ProgressRing/ProgressRing.d.ts +13 -13
  386. package/lib/typescript/module/components/Radio/Radio.d.ts +18 -18
  387. package/lib/typescript/module/components/Radio/RadioDot.d.ts +5 -5
  388. package/lib/typescript/module/components/Radio/RadioGroup.d.ts +8 -8
  389. package/lib/typescript/module/components/Rating/Rating.d.ts +15 -15
  390. package/lib/typescript/module/components/Repeater/Repeater.d.ts +10 -10
  391. package/lib/typescript/module/components/RichTextEditor/RichTextEditor.d.ts +15 -15
  392. package/lib/typescript/module/components/ScannerOverlay/ScannerOverlay.d.ts +13 -13
  393. package/lib/typescript/module/components/Screen/Screen.d.ts +43 -44
  394. package/lib/typescript/module/components/Screen/index.d.ts +1 -1
  395. package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +31 -31
  396. package/lib/typescript/module/components/SearchBar/SearchPanel.d.ts +6 -6
  397. package/lib/typescript/module/components/SearchBar/useRecentSearches.d.ts +1 -1
  398. package/lib/typescript/module/components/SectionHeader/SectionHeader.d.ts +10 -10
  399. package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +25 -24
  400. package/lib/typescript/module/components/Select/Select.d.ts +50 -45
  401. package/lib/typescript/module/components/SignaturePad/SignaturePad.d.ts +20 -20
  402. package/lib/typescript/module/components/Skeleton/Skeleton.d.ts +13 -13
  403. package/lib/typescript/module/components/Skeleton/SkeletonContent.d.ts +9 -9
  404. package/lib/typescript/module/components/Skeleton/SkeletonList.d.ts +30 -8
  405. package/lib/typescript/module/components/Skeleton/SkeletonProvider.d.ts +9 -9
  406. package/lib/typescript/module/components/SlideToConfirm/SlideToConfirm.d.ts +14 -14
  407. package/lib/typescript/module/components/Slider/Slider.d.ts +30 -30
  408. package/lib/typescript/module/components/Slider/valueText.d.ts +9 -9
  409. package/lib/typescript/module/components/SliderField/SliderField.d.ts +41 -41
  410. package/lib/typescript/module/components/SortableList/SortableList.d.ts +5 -5
  411. package/lib/typescript/module/components/Sparkline/Sparkline.d.ts +13 -13
  412. package/lib/typescript/module/components/Sparkline/geometry.d.ts +3 -1
  413. package/lib/typescript/module/components/Spinner/Spinner.d.ts +10 -10
  414. package/lib/typescript/module/components/SquircleFill/SquircleFill.d.ts +3 -3
  415. package/lib/typescript/module/components/SquircleImage/SquircleImage.d.ts +5 -12
  416. package/lib/typescript/module/components/StatTile/StatTile.d.ts +14 -14
  417. package/lib/typescript/module/components/StatusBadge/StatusBadge.d.ts +13 -13
  418. package/lib/typescript/module/components/Stepper/Stepper.d.ts +21 -21
  419. package/lib/typescript/module/components/Swipeable/Swipeable.d.ts +15 -15
  420. package/lib/typescript/module/components/Switch/Switch.d.ts +19 -19
  421. package/lib/typescript/module/components/Tabs/Tabs.d.ts +20 -20
  422. package/lib/typescript/module/components/TagInput/TagInput.d.ts +19 -19
  423. package/lib/typescript/module/components/Text/Text.d.ts +10 -10
  424. package/lib/typescript/module/components/TimePicker/TimePicker.d.ts +14 -14
  425. package/lib/typescript/module/components/Timeline/Timeline.d.ts +12 -12
  426. package/lib/typescript/module/components/Toast/Toast.d.ts +17 -17
  427. package/lib/typescript/module/components/Toast/ToastProvider.d.ts +8 -8
  428. package/lib/typescript/module/components/Tooltip/RichTooltipBody.d.ts +4 -4
  429. package/lib/typescript/module/components/Tooltip/Tooltip.d.ts +24 -19
  430. package/lib/typescript/module/components/Tour/Tour.d.ts +7 -7
  431. package/lib/typescript/module/components/TypingIndicator/TypingIndicator.d.ts +6 -6
  432. package/lib/typescript/module/components/WheelPicker/Wheel.d.ts +6 -6
  433. package/lib/typescript/module/components/WheelPicker/WheelPicker.d.ts +20 -20
  434. package/lib/typescript/module/components/ZoomableImage/ZoomableImage.d.ts +8 -8
  435. package/lib/typescript/module/form/HookFormField.d.ts +5 -18
  436. package/lib/typescript/module/form/path.d.ts +4 -2
  437. package/lib/typescript/module/form/useFormCompletion.d.ts +1 -1
  438. package/lib/typescript/module/hooks/useControllableState.d.ts +2 -2
  439. package/lib/typescript/module/hooks/useDragToDismiss.d.ts +3 -3
  440. package/lib/typescript/module/hooks/useFieldErrorScroll.d.ts +1 -1
  441. package/lib/typescript/module/hooks/usePressAnimation.d.ts +4 -4
  442. package/lib/typescript/module/hooks/useRefreshControl.d.ts +8 -8
  443. package/lib/typescript/module/hooks/useResendCountdown.d.ts +1 -1
  444. package/lib/typescript/module/hooks/useScrollDirection.d.ts +1 -1
  445. package/lib/typescript/module/navigation/DiscardGuard.d.ts +2 -2
  446. package/lib/typescript/module/navigation/NavigationScreen.d.ts +3 -3
  447. package/lib/typescript/module/network/NetworkStatusBanner.d.ts +7 -7
  448. package/lib/typescript/module/theme/Gradient.d.ts +2 -2
  449. package/lib/typescript/module/theme/ThemeContext.d.ts +5 -5
  450. package/lib/typescript/module/theme/componentSizes.d.ts +15 -38
  451. package/lib/typescript/module/theme/types.d.ts +84 -84
  452. package/lib/typescript/module/utils/announce.d.ts +1 -1
  453. package/lib/typescript/module/utils/complete.d.ts +5 -0
  454. package/lib/typescript/module/utils/feedback.d.ts +3 -1
  455. package/lib/typescript/module/utils/guards.d.ts +9 -0
  456. package/lib/typescript/module/utils/placement.d.ts +3 -3
  457. package/lib/typescript/module/utils/squircle.d.ts +2 -2
  458. package/package.json +9 -9
  459. package/src/specs/NativePdfRasterizer.ts +1 -1
@@ -23,36 +23,36 @@ export type TimelineVariant = "feed" | "progress";
23
23
  export type TimelineOrientation = "vertical" | "horizontal";
24
24
  export interface TimelineItem {
25
25
  title: string;
26
- description?: string;
26
+ description?: string | undefined;
27
27
  /** Rendered under the title — a timestamp, an actor, a metadata line. */
28
- meta?: string;
28
+ meta?: string | undefined;
29
29
  /** `progress` variant: drives the dot colour. Defaults to 'done' in a feed. */
30
- status?: TimelineStatus;
30
+ status?: TimelineStatus | undefined;
31
31
  /**
32
32
  * Overrides the dot's colour; the halo follows it. For a stage the design
33
33
  * paints in a colour no status produces, such as a brand-blue active dot.
34
34
  */
35
- color?: string;
35
+ color?: string | undefined;
36
36
  /** Replaces the dot and its halo entirely, centred in the dot's slot. */
37
- icon?: React.ReactNode;
37
+ icon?: React.ReactNode | undefined;
38
38
  /** Arbitrary content below the text block. */
39
- children?: React.ReactNode;
40
- key?: string;
39
+ children?: React.ReactNode | undefined;
40
+ key?: string | undefined;
41
41
  /** Test id for this item's row. */
42
- testID?: string;
42
+ testID?: string | undefined;
43
43
  }
44
44
  export interface TimelineProps {
45
45
  items: ReadonlyArray<TimelineItem>;
46
46
  /** 'feed' is an audit trail; 'progress' is a status tracker. */
47
- variant?: TimelineVariant;
47
+ variant?: TimelineVariant | undefined;
48
48
  /**
49
49
  * `vertical` (default) stacks entries top to bottom beside a rail;
50
50
  * `horizontal` gives each entry an equal column with the dot above its
51
51
  * centred text and a connector running from one halo's edge to the next.
52
52
  */
53
- orientation?: TimelineOrientation;
54
- style?: StyleProp<ViewStyle>;
55
- testID?: string;
53
+ orientation?: TimelineOrientation | undefined;
54
+ style?: StyleProp<ViewStyle> | undefined;
55
+ testID?: string | undefined;
56
56
  }
57
57
  /**
58
58
  * A chronological activity feed OR a status-progress tracker. Stepper covers a
@@ -9,36 +9,36 @@ export interface ToastAction {
9
9
  }
10
10
  export interface ToastOptions {
11
11
  message: string;
12
- description?: string;
12
+ description?: string | undefined;
13
13
  /** Default `neutral`. */
14
- tone?: Tone;
15
- position?: ToastPosition;
16
- duration?: number;
17
- action?: ToastAction;
18
- haptic?: HapticType | false;
19
- icon?: React.ReactNode;
14
+ tone?: Tone | undefined;
15
+ position?: ToastPosition | undefined;
16
+ duration?: number | undefined;
17
+ action?: ToastAction | undefined;
18
+ haptic?: HapticType | false | undefined;
19
+ icon?: React.ReactNode | undefined;
20
20
  /** Style applied to the toast container (override radius, padding, shadow per-toast). */
21
- style?: StyleProp<ViewStyle>;
21
+ style?: StyleProp<ViewStyle> | undefined;
22
22
  /** Style applied to the toast message Text. */
23
- textStyle?: StyleProp<TextStyle>;
23
+ textStyle?: StyleProp<TextStyle> | undefined;
24
24
  /** Style applied to the leading icon circle wrapper. */
25
- iconCircleStyle?: StyleProp<ViewStyle>;
25
+ iconCircleStyle?: StyleProp<ViewStyle> | undefined;
26
26
  /** Style applied to the message Text (alias-ish of `textStyle` but kept distinct for slot symmetry). */
27
- messageStyle?: StyleProp<TextStyle>;
27
+ messageStyle?: StyleProp<TextStyle> | undefined;
28
28
  /** Style applied to the trailing action Pressable. */
29
- actionButtonStyle?: StyleProp<ViewStyle>;
30
- testID?: string;
29
+ actionButtonStyle?: StyleProp<ViewStyle> | undefined;
30
+ testID?: string | undefined;
31
31
  /**
32
32
  * A toast shown with the same key replaces the one on screen. A pending
33
33
  * `toast.undo` commit of the replaced toast runs first.
34
34
  */
35
- key?: string;
35
+ key?: string | undefined;
36
36
  /**
37
37
  * Draws a thin bar along the bottom edge that empties over the duration. It is
38
38
  * drawn full and still under reduced motion, and not drawn when the toast does
39
39
  * not time out.
40
40
  */
41
- countdown?: boolean;
41
+ countdown?: boolean | undefined;
42
42
  }
43
43
  export interface ToastItem extends ToastOptions {
44
44
  id: string;
@@ -68,8 +68,8 @@ export interface ToastProps {
68
68
  * here, so a toast that remounts in another host (a modal opened or closed)
69
69
  * keeps its remaining time. Defaults to the moment this component mounts.
70
70
  */
71
- shownAt?: number;
72
- runtime?: ToastRuntime;
71
+ shownAt?: number | undefined;
72
+ runtime?: ToastRuntime | undefined;
73
73
  }
74
74
  declare const Toast: React.FC<ToastProps>;
75
75
  export { Toast };
@@ -10,13 +10,13 @@ export interface ToastUndoOptions extends Omit<ToastOptions, "message" | "tone"
10
10
  * is hidden, is pushed out by newer toasts, is replaced by a toast with the
11
11
  * same `key`, or the provider unmounts. Do the irreversible part here.
12
12
  */
13
- onCommit?: () => void;
13
+ onCommit?: (() => void) | undefined;
14
14
  /**
15
15
  * How long Undo stays, in ms. Default `6000`, never shorter than `6000`; `0`
16
16
  * keeps it until dismissed. With a screen reader on the toast waits to be
17
17
  * dismissed whatever this is, so keep the item recoverable some other way.
18
18
  */
19
- duration?: number;
19
+ duration?: number | undefined;
20
20
  }
21
21
  export interface ToastApi {
22
22
  show: (opts: ToastOptions) => string;
@@ -27,15 +27,15 @@ export interface ToastApi {
27
27
  }
28
28
  export interface ToastProviderProps {
29
29
  children: React.ReactNode;
30
- maxVisible?: number;
31
- topOffset?: number;
32
- bottomOffset?: number;
30
+ maxVisible?: number | undefined;
31
+ topOffset?: number | undefined;
32
+ bottomOffset?: number | undefined;
33
33
  /**
34
34
  * How long a toast stays, in milliseconds, when its own `duration` is left
35
35
  * out. `0` keeps it until dismissed. Without it the theme's
36
36
  * `settings.components.toast.defaultDurationMs` applies (3000 by default).
37
37
  */
38
- defaultDuration?: number;
38
+ defaultDuration?: number | undefined;
39
39
  /**
40
40
  * Haptic per tone, for a toast whose own `haptic` is left out. A tone left out
41
41
  * of the map keeps its built-in haptic (`notificationError` for `danger`,
@@ -43,9 +43,9 @@ export interface ToastProviderProps {
43
43
  * `selection` otherwise). A tone set to `false` is silent, and `false` for the
44
44
  * whole prop silences every toast.
45
45
  */
46
- haptics?: ToastHaptics;
46
+ haptics?: ToastHaptics | undefined;
47
47
  /** Replaces the spoken Dismiss action, the Undo button text and the countdown seconds. */
48
- labels?: Partial<ToastLabels>;
48
+ labels?: Partial<ToastLabels> | undefined;
49
49
  }
50
50
  export type ToastHaptics = Partial<Record<Tone, HapticType | false>> | false;
51
51
  export declare const ToastProvider: React.FC<ToastProviderProps>;
@@ -4,18 +4,18 @@ import type { HostInstance, StyleProp, TextStyle } from "react-native";
4
4
  export interface TooltipAction {
5
5
  label: string;
6
6
  onPress: () => void;
7
- accessibilityLabel?: string;
7
+ accessibilityLabel?: string | undefined;
8
8
  }
9
9
  interface RichTooltipBodyProps {
10
- title?: string;
10
+ title?: string | undefined;
11
11
  content: string | React.ReactNode;
12
- action?: TooltipAction;
12
+ action?: TooltipAction | undefined;
13
13
  onAction: () => void;
14
14
  /** Takes screen reader focus on open: the title, or the text when there is none. */
15
15
  focusRef: React.Ref<HostInstance>;
16
16
  /** Takes keyboard focus on open on the web. */
17
17
  actionRef: React.Ref<HostInstance>;
18
- messageStyle?: StyleProp<TextStyle>;
18
+ messageStyle?: StyleProp<TextStyle> | undefined;
19
19
  }
20
20
  /**
21
21
  * The card of `variant="rich"`: a light surface with a title, the content and
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { StyleProp, TextStyle, ViewStyle } from "react-native";
2
+ import type { GestureResponderEvent, StyleProp, TextStyle, ViewStyle } from "react-native";
3
3
  import type { TooltipAction } from "./RichTooltipBody.js";
4
4
  export type { TooltipAction } from "./RichTooltipBody.js";
5
5
  export type TooltipPlacement = "top" | "bottom" | "left" | "right" | "auto";
@@ -19,39 +19,44 @@ export interface TooltipLabels {
19
19
  fallbackName: string;
20
20
  }
21
21
  export declare const DEFAULT_TOOLTIP_LABELS: Readonly<TooltipLabels>;
22
+ interface TooltipTriggerProps {
23
+ onPress?: ((e: GestureResponderEvent) => void) | undefined;
24
+ contextMenu?: unknown;
25
+ ref?: React.Ref<unknown> | undefined;
26
+ }
22
27
  export interface TooltipProps {
23
28
  content: string | React.ReactNode;
24
- children: React.ReactElement;
29
+ children: React.ReactElement<TooltipTriggerProps>;
25
30
  /** Default `'plain'`. */
26
- variant?: TooltipVariant;
31
+ variant?: TooltipVariant | undefined;
27
32
  /** Rich only: one line over the content. */
28
- title?: string;
33
+ title?: string | undefined;
29
34
  /** Rich only: one text button. It runs after the tooltip has closed. */
30
- action?: TooltipAction;
35
+ action?: TooltipAction | undefined;
31
36
  /** `left` and `right` read as `auto` on a rich tooltip. */
32
- placement?: TooltipPlacement;
37
+ placement?: TooltipPlacement | undefined;
33
38
  /**
34
39
  * Default `'longPress'`, or `'press'` for a rich tooltip. A long press is
35
40
  * never attached to a child with its own `contextMenu`: the menu wins.
36
41
  */
37
- trigger?: TooltipTrigger;
38
- open?: boolean;
39
- onOpenChange?: (open: boolean) => void;
40
- hideOnContentPress?: boolean;
41
- maxWidth?: number;
42
- showArrow?: boolean;
43
- accessibilityLabel?: string;
42
+ trigger?: TooltipTrigger | undefined;
43
+ open?: boolean | undefined;
44
+ onOpenChange?: ((open: boolean) => void) | undefined;
45
+ hideOnContentPress?: boolean | undefined;
46
+ maxWidth?: number | undefined;
47
+ showArrow?: boolean | undefined;
48
+ accessibilityLabel?: string | undefined;
44
49
  /** The outer box. Applied last on that node, so it wins over containerStyle. */
45
- style?: StyleProp<ViewStyle>;
50
+ style?: StyleProp<ViewStyle> | undefined;
46
51
  /** Alias of style, applied before it on the same node. Use style. */
47
- containerStyle?: StyleProp<ViewStyle>;
52
+ containerStyle?: StyleProp<ViewStyle> | undefined;
48
53
  /** Style override applied to the arrow caret View. */
49
- arrowStyle?: StyleProp<ViewStyle>;
54
+ arrowStyle?: StyleProp<ViewStyle> | undefined;
50
55
  /** Style override applied to the message Text (only when `content` is a string). */
51
- messageStyle?: StyleProp<TextStyle>;
56
+ messageStyle?: StyleProp<TextStyle> | undefined;
52
57
  /** Replaces the spoken names of the close area, the long-press hint and the fallback. */
53
- labels?: Partial<TooltipLabels>;
54
- testID?: string;
58
+ labels?: Partial<TooltipLabels> | undefined;
59
+ testID?: string | undefined;
55
60
  }
56
61
  declare const Tooltip: React.FC<TooltipProps>;
57
62
  export { Tooltip };
@@ -8,15 +8,15 @@ export interface TourStep {
8
8
  * `collapsable={false}` so Android keeps it in the native tree. A step whose
9
9
  * view is not mounted or not on screen is skipped.
10
10
  */
11
- target: React.RefObject<HostInstance | null>;
12
- title?: string;
11
+ target: React.RefObject<Pick<HostInstance, "measureInWindow"> | null>;
12
+ title?: string | undefined;
13
13
  description: string;
14
14
  /**
15
15
  * Corner radius of the target view, as a theme radius key, so the cutout and
16
16
  * its outline follow a rounded card. The cutout's own padding is added to it.
17
17
  * Default: `theme.radius.md` for the cutout.
18
18
  */
19
- radius?: keyof Theme["radius"];
19
+ radius?: keyof Theme["radius"] | undefined;
20
20
  }
21
21
  /**
22
22
  * Where the app remembers that a person has seen a tour: one record per tour
@@ -49,10 +49,10 @@ export interface TourProps {
49
49
  open: boolean;
50
50
  onClose: (reason: TourCloseReason) => void;
51
51
  /** Consulted before showing and written when the tour finishes or is skipped. */
52
- seenStore?: TourSeenStore;
53
- labels?: Partial<TourLabels>;
54
- haptic?: HapticType | false;
55
- testID?: string;
52
+ seenStore?: TourSeenStore | undefined;
53
+ labels?: Partial<TourLabels> | undefined;
54
+ haptic?: HapticType | false | undefined;
55
+ testID?: string | undefined;
56
56
  }
57
57
  /**
58
58
  * Walks through product steps one highlighted view at a time: the screen is
@@ -6,14 +6,14 @@ export interface TypingIndicatorLabels {
6
6
  export declare const DEFAULT_TYPING_INDICATOR_LABELS: Readonly<TypingIndicatorLabels>;
7
7
  export interface TypingIndicatorProps {
8
8
  /** Shown beside the dots and read by screen readers, e.g. "Asha is typing". */
9
- label?: string;
9
+ label?: string | undefined;
10
10
  /** Screen-reader name when there is no visible `label`. Default 'Typing'. */
11
- accessibilityLabel?: string;
12
- labels?: Partial<TypingIndicatorLabels>;
11
+ accessibilityLabel?: string | undefined;
12
+ labels?: Partial<TypingIndicatorLabels> | undefined;
13
13
  /** Draw the dots inside a `theirs` bubble. Default true. */
14
- bubble?: boolean;
15
- style?: StyleProp<ViewStyle>;
16
- testID?: string;
14
+ bubble?: boolean | undefined;
15
+ style?: StyleProp<ViewStyle> | undefined;
16
+ testID?: string | undefined;
17
17
  }
18
18
  /**
19
19
  * Three pulsing dots, with an optional line such as "Asha is typing", for
@@ -6,7 +6,7 @@ export interface WheelItem {
6
6
  /** Text drawn in the row. */
7
7
  label: string;
8
8
  /** What a screen reader says for this value, such as "2 hours". Defaults to `label`. */
9
- accessibilityLabel?: string;
9
+ accessibilityLabel?: string | undefined;
10
10
  }
11
11
  export declare const WHEEL_VISIBLE_ITEMS = 5;
12
12
  export declare const WHEEL_CENTER_OFFSET: number;
@@ -16,14 +16,14 @@ interface WheelProps {
16
16
  selectedIndex: number;
17
17
  onIndexChange: (index: number) => void;
18
18
  itemHeight: number;
19
- width?: number;
19
+ width?: number | undefined;
20
20
  theme: Theme;
21
- haptic?: HapticType | false;
22
- disabled?: boolean;
21
+ haptic?: HapticType | false | undefined;
22
+ disabled?: boolean | undefined;
23
23
  reducedMotion: boolean;
24
24
  /** Tapping the selected value opens an inline number field for it. */
25
- typeable?: boolean;
26
- testID?: string;
25
+ typeable?: boolean | undefined;
26
+ testID?: string | undefined;
27
27
  }
28
28
  /**
29
29
  * One scrolling column. It commits `onIndexChange` once the column rests on an
@@ -13,43 +13,43 @@ export interface WheelPickerColumn {
13
13
  /** The selected item's `value`. A value that is not in `items` shows the first item. */
14
14
  value: string | number;
15
15
  /** Fixed width in points. Default 64 in columns mode; the list mode column fills the row. */
16
- width?: number;
16
+ width?: number | undefined;
17
17
  /** Text drawn after the column, such as ":" between hours and minutes. */
18
- separator?: string;
18
+ separator?: string | undefined;
19
19
  /** Small unit label drawn beside the selected row, such as "min". */
20
- unit?: string;
20
+ unit?: string | undefined;
21
21
  /** Empty space after the column (and its unit or separator), in points. */
22
- gapAfter?: number;
23
- testID?: string;
22
+ gapAfter?: number | undefined;
23
+ testID?: string | undefined;
24
24
  }
25
25
  interface WheelPickerBaseProps {
26
26
  /** Tick at each detent. `false` is silent; a `HapticType` replaces the default `denseTick`. */
27
- haptic?: HapticType | false;
27
+ haptic?: HapticType | false | undefined;
28
28
  /** Locks scrolling and screen reader adjustment and dims the wheels. */
29
- disabled?: boolean;
29
+ disabled?: boolean | undefined;
30
30
  /** Names the wheels, their spoken units and the default list label, in any mode. */
31
- labels?: Partial<WheelPickerLabels>;
32
- testID?: string;
31
+ labels?: Partial<WheelPickerLabels> | undefined;
32
+ testID?: string | undefined;
33
33
  /** Style of the row that holds the wheels. */
34
- style?: StyleProp<ViewStyle>;
34
+ style?: StyleProp<ViewStyle> | undefined;
35
35
  }
36
36
  /** Several wheels side by side, each with its own items. */
37
37
  export interface WheelPickerColumnsProps extends WheelPickerBaseProps {
38
- mode?: "columns";
38
+ mode?: "columns" | undefined;
39
39
  columns: ReadonlyArray<WheelPickerColumn>;
40
40
  /** Fired with the column's `key` and the picked item's `value` once a wheel rests. */
41
- onChange?: (key: string, value: string | number) => void;
41
+ onChange?: ((key: string, value: string | number) => void) | undefined;
42
42
  }
43
43
  /** One wheel over a short list of choices. */
44
44
  export interface WheelPickerListProps extends WheelPickerBaseProps {
45
45
  mode: "list";
46
46
  items: ReadonlyArray<WheelItem | string | number>;
47
- value?: string | number | null;
48
- onChange?: (value: string | number) => void;
47
+ value?: string | number | null | undefined;
48
+ onChange?: ((value: string | number) => void) | undefined;
49
49
  /** Names the wheel for a screen reader. Default "Value". */
50
- label?: string;
50
+ label?: string | undefined;
51
51
  /** Fixed width in points. Default fills the row. */
52
- width?: number;
52
+ width?: number | undefined;
53
53
  }
54
54
  export interface WheelPickerLabels {
55
55
  hours: string;
@@ -68,15 +68,15 @@ export interface WheelPickerDurationProps extends WheelPickerBaseProps {
68
68
  mode: "duration";
69
69
  /** Duration in minutes. Clamped to `maxMinutes` and rounded to `minuteStep`. */
70
70
  value: number;
71
- onChange?: (minutes: number) => void;
72
- minuteStep?: WheelDurationStep;
71
+ onChange?: ((minutes: number) => void) | undefined;
72
+ minuteStep?: WheelDurationStep | undefined;
73
73
  /** Upper bound in minutes. Default and ceiling 1439 (23 h 59 min). */
74
- maxMinutes?: number;
74
+ maxMinutes?: number | undefined;
75
75
  /**
76
76
  * Durations in minutes, drawn as chips below the wheel; a tap sets the duration. Each must be a
77
77
  * whole number of minutes from 0 to `maxMinutes` in steps of `minuteStep`, or the picker throws.
78
78
  */
79
- presets?: number[];
79
+ presets?: number[] | undefined;
80
80
  }
81
81
  export type WheelPickerProps = WheelPickerColumnsProps | WheelPickerListProps | WheelPickerDurationProps;
82
82
  declare const WheelPicker: React.FC<WheelPickerProps>;
@@ -28,19 +28,19 @@ export interface ZoomableImageProps {
28
28
  /** The content to pinch-zoom, pan, and double-tap-zoom — typically a single `<Image>`. */
29
29
  children: React.ReactNode;
30
30
  /** Upper bound on pinch and double-tap zoom. Default 4. */
31
- maxScale?: number;
31
+ maxScale?: number | undefined;
32
32
  /** Lower bound on pinch zoom — the resting scale a pinch springs back to. Default 1. */
33
- minScale?: number;
33
+ minScale?: number | undefined;
34
34
  /** Scale a double tap zooms to; a second double tap returns to baseline. Default 2. */
35
- doubleTapScale?: number;
35
+ doubleTapScale?: number | undefined;
36
36
  /** Blocks pinch/pan/double-tap and smoothly resets any active zoom back to baseline. Default false. */
37
- disabled?: boolean;
37
+ disabled?: boolean | undefined;
38
38
  /** Haptic feedback on double-tap-to-zoom. Pass false to disable; pass a HapticType to override. */
39
- haptic?: HapticType | false;
39
+ haptic?: HapticType | false | undefined;
40
40
  /** Style for the outer wrapping view. */
41
- style?: StyleProp<ViewStyle>;
42
- accessibilityLabel?: string;
43
- testID?: string;
41
+ style?: StyleProp<ViewStyle> | undefined;
42
+ accessibilityLabel?: string | undefined;
43
+ testID?: string | undefined;
44
44
  }
45
45
  export declare const ZoomableImage: React.FC<ZoomableImageProps>;
46
46
  export default ZoomableImage;
@@ -21,24 +21,11 @@ export type HookFormFieldProps<TFieldValues extends FieldValues = FieldValues, T
21
21
  * render-prop child whose returned element is given an `error` prop;
22
22
  * `false` otherwise. Set it to override that.
23
23
  */
24
- hideError?: boolean;
25
- };
26
- /**
27
- * A library field bound to react-hook-form: `FormField`'s label, helper text,
28
- * required marker and error line around a control wired through
29
- * `useController`. `control` may be omitted inside a `FormProvider`.
30
- *
31
- * ```tsx
32
- * const { control, handleSubmit } = useForm({ defaultValues: { email: '' } });
33
- *
34
- * <HookFormField control={control} name="email" label="Email" rules={{ required: 'Enter your email' }}>
35
- * <Input keyboardType="email-address" autoComplete="email" />
36
- * </HookFormField>
37
- * ```
38
- */
39
- export declare const HookFormField: {
40
- <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TTransformedValues = TFieldValues>(props: HookFormFieldProps<TFieldValues, TName, TTransformedValues>): React.ReactElement;
41
- displayName: string;
24
+ hideError?: boolean | undefined;
42
25
  };
26
+ export declare function HookFormField<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TTransformedValues = TFieldValues>(props: HookFormFieldProps<TFieldValues, TName, TTransformedValues>): React.ReactElement;
27
+ export declare namespace HookFormField {
28
+ var displayName: string;
29
+ }
43
30
  export {};
44
31
  //# sourceMappingURL=HookFormField.d.ts.map
@@ -4,7 +4,9 @@
4
4
  * string address nested values and array items, so the form engine can treat
5
5
  * every field uniformly regardless of how deep it lives in the value tree.
6
6
  */
7
+ type FormValues = Readonly<Record<string, unknown>>;
7
8
  export declare const getPath: (obj: unknown, path: string) => unknown;
8
- export declare const setPath: <T>(obj: T, path: string, value: unknown) => T;
9
- export declare const deletePath: <T>(obj: T, path: string) => T;
9
+ export declare const setPath: (obj: FormValues, path: string, value: unknown) => FormValues;
10
+ export declare const deletePath: (obj: FormValues, path: string) => FormValues;
11
+ export {};
10
12
  //# sourceMappingURL=path.d.ts.map
@@ -15,7 +15,7 @@ export interface UseFormCompletionOptions {
15
15
  * Decide whether a field holds a value. Overrides the default rule for
16
16
  * every field; return `true` to count the field as filled.
17
17
  */
18
- isFilled?: (value: unknown, name: string) => boolean;
18
+ isFilled?: ((value: unknown, name: string) => boolean) | undefined;
19
19
  }
20
20
  /**
21
21
  * The default rule for "this field holds a value": everything counts except
@@ -1,10 +1,10 @@
1
1
  export interface UseControllableStateOptions<T> {
2
2
  /** Controlled value. When `undefined`, the hook manages state internally. */
3
- value?: T;
3
+ value?: T | undefined;
4
4
  /** Initial value used in uncontrolled mode. */
5
5
  defaultValue: T;
6
6
  /** Called on every change (both modes). */
7
- onChange?: (value: T) => void;
7
+ onChange?: ((value: T) => void) | undefined;
8
8
  }
9
9
  /**
10
10
  * Bridges controlled and uncontrolled usage for a value+onChange pair. When
@@ -42,9 +42,9 @@ export interface UseDragToDismissOptions {
42
42
  travel: number | (() => number);
43
43
  onDismiss: () => void;
44
44
  /** Whether the content under the finger is scrolled to its top. Default: always. */
45
- contentAtTop?: () => boolean;
45
+ contentAtTop?: (() => boolean) | undefined;
46
46
  /** The scrollable content's `useNativeGesture()`, so the sheet drag runs alongside its scroll. */
47
- scrollGesture?: SheetNativeGesture;
47
+ scrollGesture?: SheetNativeGesture | undefined;
48
48
  }
49
49
  export interface UseDragToDismissResult {
50
50
  /** Wrap the grab handle / title row in a `GestureDetector` with this. */
@@ -65,7 +65,7 @@ export interface DragToDismissController {
65
65
  }
66
66
  export interface DragToDismissControllerOptions extends Pick<UseDragToDismissOptions, "drag" | "travel" | "onDismiss"> {
67
67
  /** Faded to 0 by the close under Reduce Motion, in place of the slide. */
68
- opacity?: Animated.Value;
68
+ opacity?: Animated.Value | undefined;
69
69
  }
70
70
  export declare const createDragToDismissController: ({ drag, travel, onDismiss, opacity }: DragToDismissControllerOptions, motion: Theme["motion"], presence?: PresenceMotion) => DragToDismissController;
71
71
  export declare const useDragToDismiss: (options: UseDragToDismissOptions) => UseDragToDismissResult;
@@ -16,7 +16,7 @@ export declare const useFieldErrorAnchor: (error: unknown, forwardedRef?: Ref<Ho
16
16
  export interface UseFieldErrorScrollOptions {
17
17
  scrollRef: RefObject<ScrollViewInstance | null>;
18
18
  /** Room kept above the first error so its label shows too. Defaults to 16. */
19
- offset?: number;
19
+ offset?: number | undefined;
20
20
  }
21
21
  export interface UseFieldErrorScrollResult {
22
22
  registry: FieldErrorRegistry;
@@ -19,15 +19,15 @@ export type PressAnimationPreset = "scale" | "bounce" | "fade" | "sink" | "pulse
19
19
  export declare const PRESS_ANIMATION_PRESETS: readonly PressAnimationPreset[];
20
20
  export interface UsePressAnimationOptions {
21
21
  /** Which feedback plays. Default `'scale'`. */
22
- preset?: PressAnimationPreset;
22
+ preset?: PressAnimationPreset | undefined;
23
23
  /**
24
24
  * Press-in scale for the `scale` and `bounce` presets. Defaults to 0.97 for
25
25
  * `scale` and 0.92 for `bounce`; ignored by the other presets.
26
26
  */
27
- scaleTo?: number;
27
+ scaleTo?: number | undefined;
28
28
  /** Press-in duration in ms. Default `theme.motion.duration.fast`. */
29
- pressDuration?: number;
30
- enabled?: boolean;
29
+ pressDuration?: number | undefined;
30
+ enabled?: boolean | undefined;
31
31
  }
32
32
  export interface UsePressAnimationResult {
33
33
  scale: Animated.Value;
@@ -3,11 +3,11 @@ import type { AccessibilityActionEvent, RefreshControlProps } from "react-native
3
3
  import type { HapticType } from "../utils/hapticUtils.js";
4
4
  export type UseRefreshControlLabels = {
5
5
  /** Name of the refresh accessibility action. Default `'Refresh'`. */
6
- refresh?: string;
6
+ refresh?: string | undefined;
7
7
  /** Spoken when a button or accessibility-action refresh starts. Default `'Refreshing'`. */
8
- refreshing?: string;
8
+ refreshing?: string | undefined;
9
9
  /** Spoken when that refresh ends. Default `'Updated'`. */
10
- refreshed?: string;
10
+ refreshed?: string | undefined;
11
11
  };
12
12
  export type UseRefreshControlOptions = {
13
13
  /**
@@ -20,22 +20,22 @@ export type UseRefreshControlOptions = {
20
20
  * The screen's own loading flag, when the data is already tracked elsewhere.
21
21
  * The spinner shows while this is true or a refresh started here is running.
22
22
  */
23
- refreshing?: boolean;
23
+ refreshing?: boolean | undefined;
24
24
  /**
25
25
  * Haptic when a pull starts the refresh. Default: `'gestureStart'` on Android
26
26
  * and none on iOS or web (no iOS haptic until a device check shows whether the
27
27
  * system already taps). `false` turns it off; a type fires on every native
28
28
  * platform.
29
29
  */
30
- haptic?: HapticType | false;
30
+ haptic?: HapticType | false | undefined;
31
31
  /**
32
32
  * iOS only: the line under the spinner, for what changed ("Updated 2 minutes
33
33
  * ago"). Never use it to explain how to refresh.
34
34
  */
35
- title?: string;
35
+ title?: string | undefined;
36
36
  /** A refresh started here keeps the spinner at least this long. Default 400. */
37
- minVisibleMs?: number;
38
- labels?: UseRefreshControlLabels;
37
+ minVisibleMs?: number | undefined;
38
+ labels?: UseRefreshControlLabels | undefined;
39
39
  };
40
40
  export type UseRefreshControlResult = {
41
41
  /** Pass as `refreshControl` to a FlatList, SectionList, ScrollView or KeyboardAwareScrollView. */
@@ -2,7 +2,7 @@ export interface UseResendCountdownOptions {
2
2
  /** Seconds before a new code may be asked for. */
3
3
  resendSeconds: number;
4
4
  /** Seconds the code stays valid; null or undefined when the code has no known expiry. */
5
- expirySeconds?: number | null;
5
+ expirySeconds?: number | null | undefined;
6
6
  /** Wall-clock start (Date.now()) of the current challenge. Changing it restarts both timers. */
7
7
  startedAtMs: number;
8
8
  }
@@ -2,7 +2,7 @@ import type { NativeScrollEvent, NativeSyntheticEvent } from "react-native";
2
2
  export type ScrollDirection = "up" | "down" | "idle";
3
3
  export type UseScrollDirectionOptions = {
4
4
  /** Points of travel in one direction before the direction flips. Default 8. */
5
- threshold?: number;
5
+ threshold?: number | undefined;
6
6
  };
7
7
  export type UseScrollDirectionResult = {
8
8
  direction: ScrollDirection;
@@ -12,8 +12,8 @@ export interface DiscardGuardHandle {
12
12
  export interface DiscardGuardProps {
13
13
  /** While true, every way out of the screen is held and the person chooses Keep editing or Discard. */
14
14
  when: boolean;
15
- labels?: Partial<DiscardGuardLabels>;
16
- testID?: string;
15
+ labels?: Partial<DiscardGuardLabels> | undefined;
16
+ testID?: string | undefined;
17
17
  }
18
18
  /**
19
19
  * Asks before a form with unsaved changes is left. While `when` is true, every way out of the screen (the phone's