@webority/mobile-ui 0.128.0 → 0.130.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 (312) hide show
  1. package/dist/canvas-kit/kit.js +8340 -8095
  2. package/dist/canvas-kit/manifest.json +492 -333
  3. package/dist/canvas-kit/release.json +6 -6
  4. package/lib/commonjs/components/Accordion/Accordion.js +1 -1
  5. package/lib/commonjs/components/AppBar/AppBar.js +1 -1
  6. package/lib/commonjs/components/AppIcon/AppIcon.js +1 -1
  7. package/lib/commonjs/components/AppIcon/catalog.g.js +1 -1
  8. package/lib/commonjs/components/AppIcon/glyphs.g.js +1 -1
  9. package/lib/commonjs/components/AppIcon/variants.g.js +1 -1
  10. package/lib/commonjs/components/AppLockOverlay/AppLockOverlay.js +1 -1
  11. package/lib/commonjs/components/Avatar/Avatar.js +1 -1
  12. package/lib/commonjs/components/Banner/Banner.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/Card/Card.js +1 -1
  17. package/lib/commonjs/components/Checkbox/Checkbox.js +1 -1
  18. package/lib/commonjs/components/Composer/Composer.js +1 -1
  19. package/lib/commonjs/components/Confirm/confirm.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/Drawer/Drawer.js +1 -1
  25. package/lib/commonjs/components/FieldBase/ChoiceText.js +1 -1
  26. package/lib/commonjs/components/FieldBase/FieldBase.js +1 -1
  27. package/lib/commonjs/components/FieldBase/useFloatingLabel.js +1 -1
  28. package/lib/commonjs/components/FilePicker/FilePicker.js +1 -1
  29. package/lib/commonjs/components/FileViewer/FileViewer.js +1 -1
  30. package/lib/commonjs/components/FileViewer/FileViewerImage.js +1 -0
  31. package/lib/commonjs/components/FileViewer/fileSource.js +1 -0
  32. package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -1
  33. package/lib/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.js +1 -1
  34. package/lib/commonjs/components/FormField/FormField.js +1 -1
  35. package/lib/commonjs/components/IconBadge/IconBadge.js +1 -1
  36. package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
  37. package/lib/commonjs/components/InlineSelect/InlineSelect.js +1 -1
  38. package/lib/commonjs/components/Input/Input.js +1 -1
  39. package/lib/commonjs/components/ListItem/ListItem.js +1 -1
  40. package/lib/commonjs/components/Markdown/Markdown.js +1 -1
  41. package/lib/commonjs/components/Menu/Menu.js +1 -1
  42. package/lib/commonjs/components/Menu/MenuSurface.js +1 -1
  43. package/lib/commonjs/components/Menu/useContextMenu.js +1 -1
  44. package/lib/commonjs/components/Modal/Modal.js +1 -1
  45. package/lib/commonjs/components/NumberInput/NumberInput.js +1 -1
  46. package/lib/commonjs/components/OTPInput/OTPInput.js +1 -1
  47. package/lib/commonjs/components/OTPInput/OTPResendRow.js +1 -0
  48. package/lib/commonjs/components/OTPInput/index.js +1 -1
  49. package/lib/commonjs/components/OptionSheet/OptionSheet.js +1 -1
  50. package/lib/commonjs/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
  51. package/lib/commonjs/components/PickerTrigger/PickerTrigger.js +1 -1
  52. package/lib/commonjs/components/ProfilePicker/ProfilePicker.js +1 -1
  53. package/lib/commonjs/components/ProgressBar/ProgressBar.js +1 -1
  54. package/lib/commonjs/components/Radio/Radio.js +1 -1
  55. package/lib/commonjs/components/Rating/Rating.js +1 -1
  56. package/lib/commonjs/components/SearchBar/SearchBar.js +1 -1
  57. package/lib/commonjs/components/SectionHeader/SectionHeader.js +1 -1
  58. package/lib/commonjs/components/Select/Select.js +1 -1
  59. package/lib/commonjs/components/SliderField/SliderField.js +1 -1
  60. package/lib/commonjs/components/SquircleImage/SquircleImage.js +1 -1
  61. package/lib/commonjs/components/Text/Text.js +1 -1
  62. package/lib/commonjs/components/Text/textInk.js +1 -0
  63. package/lib/commonjs/components/TimePicker/TimePicker.js +1 -1
  64. package/lib/commonjs/components/Tooltip/Tooltip.js +1 -1
  65. package/lib/commonjs/components/Tour/Tour.js +1 -1
  66. package/lib/commonjs/components/index.js +1 -1
  67. package/lib/commonjs/components/not-drawn.json +1 -0
  68. package/lib/commonjs/form/HookFormField.js +1 -1
  69. package/lib/commonjs/hooks/index.js +1 -1
  70. package/lib/commonjs/hooks/useFieldErrorScroll.js +1 -0
  71. package/lib/commonjs/hooks/useResendCountdown.js +1 -0
  72. package/lib/commonjs/icons.js +1 -0
  73. package/lib/commonjs/index.js +1 -1
  74. package/lib/commonjs/navigation/DiscardGuard.js +1 -1
  75. package/lib/commonjs/navigation/index.js +1 -1
  76. package/lib/commonjs/navigation/useNavigationTheme.js +1 -0
  77. package/lib/commonjs/sizes.js +1 -0
  78. package/lib/commonjs/squircle.js +1 -0
  79. package/lib/commonjs/utils/feedback.js +1 -1
  80. package/lib/commonjs/utils/hapticUtils.js +1 -1
  81. package/lib/module/components/Accordion/Accordion.js +1 -1
  82. package/lib/module/components/AppBar/AppBar.js +1 -1
  83. package/lib/module/components/AppIcon/AppIcon.js +1 -1
  84. package/lib/module/components/AppIcon/catalog.g.js +1 -1
  85. package/lib/module/components/AppIcon/glyphs.g.js +1 -1
  86. package/lib/module/components/AppIcon/variants.g.js +1 -1
  87. package/lib/module/components/AppLockOverlay/AppLockOverlay.js +1 -1
  88. package/lib/module/components/Avatar/Avatar.js +1 -1
  89. package/lib/module/components/Banner/Banner.js +1 -1
  90. package/lib/module/components/BottomSheet/BottomSheet.js +1 -1
  91. package/lib/module/components/Box/Box.js +1 -1
  92. package/lib/module/components/Button/Button.js +1 -1
  93. package/lib/module/components/Card/Card.js +1 -1
  94. package/lib/module/components/Checkbox/Checkbox.js +1 -1
  95. package/lib/module/components/Composer/Composer.js +1 -1
  96. package/lib/module/components/Confirm/confirm.js +1 -1
  97. package/lib/module/components/DatePicker/DatePicker.js +1 -1
  98. package/lib/module/components/DateRangePicker/DateRangePicker.js +1 -1
  99. package/lib/module/components/Descriptions/Descriptions.js +1 -1
  100. package/lib/module/components/Dialog/Dialog.js +1 -1
  101. package/lib/module/components/Drawer/Drawer.js +1 -1
  102. package/lib/module/components/FieldBase/ChoiceText.js +1 -1
  103. package/lib/module/components/FieldBase/FieldBase.js +1 -1
  104. package/lib/module/components/FieldBase/useFloatingLabel.js +1 -1
  105. package/lib/module/components/FilePicker/FilePicker.js +1 -1
  106. package/lib/module/components/FileViewer/FileViewer.js +1 -1
  107. package/lib/module/components/FileViewer/FileViewerImage.js +1 -0
  108. package/lib/module/components/FileViewer/fileSource.js +1 -0
  109. package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -1
  110. package/lib/module/components/ForceUpdateDialog/ForceUpdateDialog.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/ImageGallery/ImageGallery.js +1 -1
  114. package/lib/module/components/InlineSelect/InlineSelect.js +1 -1
  115. package/lib/module/components/Input/Input.js +1 -1
  116. package/lib/module/components/ListItem/ListItem.js +1 -1
  117. package/lib/module/components/Markdown/Markdown.js +1 -1
  118. package/lib/module/components/Menu/Menu.js +1 -1
  119. package/lib/module/components/Menu/MenuSurface.js +1 -1
  120. package/lib/module/components/Menu/useContextMenu.js +1 -1
  121. package/lib/module/components/Modal/Modal.js +1 -1
  122. package/lib/module/components/NumberInput/NumberInput.js +1 -1
  123. package/lib/module/components/OTPInput/OTPInput.js +1 -1
  124. package/lib/module/components/OTPInput/OTPResendRow.js +1 -0
  125. package/lib/module/components/OTPInput/index.js +1 -1
  126. package/lib/module/components/OptionSheet/OptionSheet.js +1 -1
  127. package/lib/module/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
  128. package/lib/module/components/PickerTrigger/PickerTrigger.js +1 -1
  129. package/lib/module/components/ProfilePicker/ProfilePicker.js +1 -1
  130. package/lib/module/components/ProgressBar/ProgressBar.js +1 -1
  131. package/lib/module/components/Radio/Radio.js +1 -1
  132. package/lib/module/components/Rating/Rating.js +1 -1
  133. package/lib/module/components/SearchBar/SearchBar.js +1 -1
  134. package/lib/module/components/SectionHeader/SectionHeader.js +1 -1
  135. package/lib/module/components/Select/Select.js +1 -1
  136. package/lib/module/components/SliderField/SliderField.js +1 -1
  137. package/lib/module/components/SquircleImage/SquircleImage.js +1 -1
  138. package/lib/module/components/Text/Text.js +1 -1
  139. package/lib/module/components/Text/textInk.js +1 -0
  140. package/lib/module/components/TimePicker/TimePicker.js +1 -1
  141. package/lib/module/components/Tooltip/Tooltip.js +1 -1
  142. package/lib/module/components/Tour/Tour.js +1 -1
  143. package/lib/module/components/index.js +1 -1
  144. package/lib/module/components/not-drawn.json +1 -0
  145. package/lib/module/form/HookFormField.js +1 -1
  146. package/lib/module/hooks/index.js +1 -1
  147. package/lib/module/hooks/useFieldErrorScroll.js +1 -0
  148. package/lib/module/hooks/useResendCountdown.js +1 -0
  149. package/lib/module/icons.js +1 -0
  150. package/lib/module/index.js +1 -1
  151. package/lib/module/navigation/DiscardGuard.js +1 -1
  152. package/lib/module/navigation/index.js +1 -1
  153. package/lib/module/navigation/useNavigationTheme.js +1 -0
  154. package/lib/module/sizes.js +1 -0
  155. package/lib/module/squircle.js +1 -0
  156. package/lib/module/utils/feedback.js +1 -1
  157. package/lib/module/utils/hapticUtils.js +1 -1
  158. package/lib/typescript/commonjs/components/Accordion/Accordion.d.ts +2 -1
  159. package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +2 -1
  160. package/lib/typescript/commonjs/components/AppIcon/AppIcon.d.ts +6 -3
  161. package/lib/typescript/commonjs/components/AppIcon/catalog.g.d.ts +1 -1
  162. package/lib/typescript/commonjs/components/AppIcon/glyphs.g.d.ts +1 -0
  163. package/lib/typescript/commonjs/components/AppIcon/index.d.ts +1 -1
  164. package/lib/typescript/commonjs/components/AppLockOverlay/AppLockOverlay.d.ts +3 -3
  165. package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +7 -0
  166. package/lib/typescript/commonjs/components/Banner/Banner.d.ts +3 -2
  167. package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +4 -4
  168. package/lib/typescript/commonjs/components/Box/Box.d.ts +2 -2
  169. package/lib/typescript/commonjs/components/Button/Button.d.ts +3 -0
  170. package/lib/typescript/commonjs/components/Card/Card.d.ts +6 -7
  171. package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +2 -1
  172. package/lib/typescript/commonjs/components/Chip/Chip.d.ts +2 -1
  173. package/lib/typescript/commonjs/components/Composer/Composer.d.ts +4 -0
  174. package/lib/typescript/commonjs/components/DatePicker/DatePicker.d.ts +7 -17
  175. package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +7 -17
  176. package/lib/typescript/commonjs/components/Descriptions/Descriptions.d.ts +2 -2
  177. package/lib/typescript/commonjs/components/Dialog/Dialog.d.ts +1 -1
  178. package/lib/typescript/commonjs/components/Drawer/Drawer.d.ts +4 -4
  179. package/lib/typescript/commonjs/components/FieldBase/FieldBase.d.ts +8 -6
  180. package/lib/typescript/commonjs/components/FileViewer/FileViewer.d.ts +5 -33
  181. package/lib/typescript/commonjs/components/FileViewer/FileViewerImage.d.ts +5 -0
  182. package/lib/typescript/commonjs/components/FileViewer/fileSource.d.ts +24 -0
  183. package/lib/typescript/commonjs/components/FileViewer/index.d.ts +1 -1
  184. package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +8 -0
  185. package/lib/typescript/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +3 -3
  186. package/lib/typescript/commonjs/components/IconBadge/IconBadge.d.ts +4 -0
  187. package/lib/typescript/commonjs/components/IconBadge/index.d.ts +1 -1
  188. package/lib/typescript/commonjs/components/Input/Input.d.ts +3 -2
  189. package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +7 -7
  190. package/lib/typescript/commonjs/components/Markdown/Markdown.d.ts +3 -1
  191. package/lib/typescript/commonjs/components/Menu/Menu.d.ts +3 -3
  192. package/lib/typescript/commonjs/components/Menu/useContextMenu.d.ts +1 -1
  193. package/lib/typescript/commonjs/components/Modal/Modal.d.ts +14 -4
  194. package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +2 -0
  195. package/lib/typescript/commonjs/components/OTPInput/OTPResendRow.d.ts +25 -0
  196. package/lib/typescript/commonjs/components/OTPInput/index.d.ts +2 -0
  197. package/lib/typescript/commonjs/components/OptionSheet/OptionSheet.d.ts +5 -5
  198. package/lib/typescript/commonjs/components/PhoneNumberInput/PhoneNumberInput.d.ts +3 -2
  199. package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +7 -2
  200. package/lib/typescript/commonjs/components/PickerTrigger/index.d.ts +1 -1
  201. package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +2 -0
  202. package/lib/typescript/commonjs/components/Radio/Radio.d.ts +2 -0
  203. package/lib/typescript/commonjs/components/Rating/Rating.d.ts +2 -0
  204. package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +5 -3
  205. package/lib/typescript/commonjs/components/SectionHeader/SectionHeader.d.ts +2 -0
  206. package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +2 -0
  207. package/lib/typescript/commonjs/components/Select/Select.d.ts +4 -3
  208. package/lib/typescript/commonjs/components/Slider/Slider.d.ts +2 -0
  209. package/lib/typescript/commonjs/components/SliderField/SliderField.d.ts +2 -2
  210. package/lib/typescript/commonjs/components/SquircleImage/SquircleImage.d.ts +4 -3
  211. package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +2 -0
  212. package/lib/typescript/commonjs/components/Switch/Switch.d.ts +2 -0
  213. package/lib/typescript/commonjs/components/Text/Text.d.ts +2 -0
  214. package/lib/typescript/commonjs/components/Text/textInk.d.ts +14 -0
  215. package/lib/typescript/commonjs/components/TimePicker/TimePicker.d.ts +7 -18
  216. package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts +4 -3
  217. package/lib/typescript/commonjs/components/Tour/Tour.d.ts +1 -1
  218. package/lib/typescript/commonjs/components/index.d.ts +5 -6
  219. package/lib/typescript/commonjs/form/HookFormField.d.ts +4 -4
  220. package/lib/typescript/commonjs/hooks/index.d.ts +4 -0
  221. package/lib/typescript/commonjs/hooks/useFieldErrorScroll.d.ts +28 -0
  222. package/lib/typescript/commonjs/hooks/useResendCountdown.d.ts +16 -0
  223. package/lib/typescript/commonjs/icons.d.ts +3 -0
  224. package/lib/typescript/commonjs/index.d.ts +9 -8
  225. package/lib/typescript/commonjs/navigation/index.d.ts +1 -0
  226. package/lib/typescript/commonjs/navigation/useNavigationTheme.d.ts +7 -0
  227. package/lib/typescript/commonjs/sizes.d.ts +2 -0
  228. package/lib/typescript/commonjs/squircle.d.ts +2 -0
  229. package/lib/typescript/commonjs/utils/feedback.d.ts +2 -2
  230. package/lib/typescript/commonjs/utils/hapticUtils.d.ts +2 -0
  231. package/lib/typescript/module/components/Accordion/Accordion.d.ts +2 -1
  232. package/lib/typescript/module/components/AppBar/AppBar.d.ts +2 -1
  233. package/lib/typescript/module/components/AppIcon/AppIcon.d.ts +6 -3
  234. package/lib/typescript/module/components/AppIcon/catalog.g.d.ts +1 -1
  235. package/lib/typescript/module/components/AppIcon/glyphs.g.d.ts +1 -0
  236. package/lib/typescript/module/components/AppIcon/index.d.ts +1 -1
  237. package/lib/typescript/module/components/AppLockOverlay/AppLockOverlay.d.ts +3 -3
  238. package/lib/typescript/module/components/Avatar/Avatar.d.ts +7 -0
  239. package/lib/typescript/module/components/Banner/Banner.d.ts +3 -2
  240. package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +4 -4
  241. package/lib/typescript/module/components/Box/Box.d.ts +2 -2
  242. package/lib/typescript/module/components/Button/Button.d.ts +3 -0
  243. package/lib/typescript/module/components/Card/Card.d.ts +6 -7
  244. package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +2 -1
  245. package/lib/typescript/module/components/Chip/Chip.d.ts +2 -1
  246. package/lib/typescript/module/components/Composer/Composer.d.ts +4 -0
  247. package/lib/typescript/module/components/DatePicker/DatePicker.d.ts +7 -17
  248. package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +7 -17
  249. package/lib/typescript/module/components/Descriptions/Descriptions.d.ts +2 -2
  250. package/lib/typescript/module/components/Dialog/Dialog.d.ts +1 -1
  251. package/lib/typescript/module/components/Drawer/Drawer.d.ts +4 -4
  252. package/lib/typescript/module/components/FieldBase/FieldBase.d.ts +8 -6
  253. package/lib/typescript/module/components/FileViewer/FileViewer.d.ts +5 -33
  254. package/lib/typescript/module/components/FileViewer/FileViewerImage.d.ts +5 -0
  255. package/lib/typescript/module/components/FileViewer/fileSource.d.ts +24 -0
  256. package/lib/typescript/module/components/FileViewer/index.d.ts +1 -1
  257. package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +8 -0
  258. package/lib/typescript/module/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +3 -3
  259. package/lib/typescript/module/components/IconBadge/IconBadge.d.ts +4 -0
  260. package/lib/typescript/module/components/IconBadge/index.d.ts +1 -1
  261. package/lib/typescript/module/components/Input/Input.d.ts +3 -2
  262. package/lib/typescript/module/components/ListItem/ListItem.d.ts +7 -7
  263. package/lib/typescript/module/components/Markdown/Markdown.d.ts +3 -1
  264. package/lib/typescript/module/components/Menu/Menu.d.ts +3 -3
  265. package/lib/typescript/module/components/Menu/useContextMenu.d.ts +1 -1
  266. package/lib/typescript/module/components/Modal/Modal.d.ts +14 -4
  267. package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +2 -0
  268. package/lib/typescript/module/components/OTPInput/OTPResendRow.d.ts +25 -0
  269. package/lib/typescript/module/components/OTPInput/index.d.ts +2 -0
  270. package/lib/typescript/module/components/OptionSheet/OptionSheet.d.ts +5 -5
  271. package/lib/typescript/module/components/PhoneNumberInput/PhoneNumberInput.d.ts +3 -2
  272. package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +7 -2
  273. package/lib/typescript/module/components/PickerTrigger/index.d.ts +1 -1
  274. package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +2 -0
  275. package/lib/typescript/module/components/Radio/Radio.d.ts +2 -0
  276. package/lib/typescript/module/components/Rating/Rating.d.ts +2 -0
  277. package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +5 -3
  278. package/lib/typescript/module/components/SectionHeader/SectionHeader.d.ts +2 -0
  279. package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +2 -0
  280. package/lib/typescript/module/components/Select/Select.d.ts +4 -3
  281. package/lib/typescript/module/components/Slider/Slider.d.ts +2 -0
  282. package/lib/typescript/module/components/SliderField/SliderField.d.ts +2 -2
  283. package/lib/typescript/module/components/SquircleImage/SquircleImage.d.ts +4 -3
  284. package/lib/typescript/module/components/Stepper/Stepper.d.ts +2 -0
  285. package/lib/typescript/module/components/Switch/Switch.d.ts +2 -0
  286. package/lib/typescript/module/components/Text/Text.d.ts +2 -0
  287. package/lib/typescript/module/components/Text/textInk.d.ts +14 -0
  288. package/lib/typescript/module/components/TimePicker/TimePicker.d.ts +7 -18
  289. package/lib/typescript/module/components/Tooltip/Tooltip.d.ts +4 -3
  290. package/lib/typescript/module/components/Tour/Tour.d.ts +1 -1
  291. package/lib/typescript/module/components/index.d.ts +5 -6
  292. package/lib/typescript/module/form/HookFormField.d.ts +4 -4
  293. package/lib/typescript/module/hooks/index.d.ts +4 -0
  294. package/lib/typescript/module/hooks/useFieldErrorScroll.d.ts +28 -0
  295. package/lib/typescript/module/hooks/useResendCountdown.d.ts +16 -0
  296. package/lib/typescript/module/icons.d.ts +3 -0
  297. package/lib/typescript/module/index.d.ts +9 -8
  298. package/lib/typescript/module/navigation/index.d.ts +1 -0
  299. package/lib/typescript/module/navigation/useNavigationTheme.d.ts +7 -0
  300. package/lib/typescript/module/sizes.d.ts +2 -0
  301. package/lib/typescript/module/squircle.d.ts +2 -0
  302. package/lib/typescript/module/utils/feedback.d.ts +2 -2
  303. package/lib/typescript/module/utils/hapticUtils.d.ts +2 -0
  304. package/package.json +37 -7
  305. package/lib/commonjs/components/Notation/Notation.js +0 -1
  306. package/lib/commonjs/components/Notation/index.js +0 -1
  307. package/lib/module/components/Notation/Notation.js +0 -1
  308. package/lib/module/components/Notation/index.js +0 -1
  309. package/lib/typescript/commonjs/components/Notation/Notation.d.ts +0 -53
  310. package/lib/typescript/commonjs/components/Notation/index.d.ts +0 -3
  311. package/lib/typescript/module/components/Notation/Notation.d.ts +0 -53
  312. package/lib/typescript/module/components/Notation/index.d.ts +0 -3
@@ -2,26 +2,27 @@ import type React from "react";
2
2
  import type { LayoutRectangle, View as RNView, StyleProp, ViewStyle } from "react-native";
3
3
  import type { HapticType } from "../../utils/hapticUtils.js";
4
4
  import type { PlacementAlign, PlacementPreference } from "../../utils/placement.js";
5
+ import type { ModalInsets } from "../ModalSafeArea/ModalSafeArea.js";
5
6
  export type ModalPresentation = "centered" | "bottom" | "fullScreen" | "anchored";
6
7
  export interface ModalLabels {
7
8
  close: string;
8
9
  }
9
10
  export declare const DEFAULT_MODAL_LABELS: Readonly<ModalLabels>;
10
11
  /**
11
- * Grace period between `visible` flipping false and the native modal being
12
+ * Grace period between `open` flipping false and the native modal being
12
13
  * safely gone. Unmounting the tree (navigation reset, auth flip) before this
13
14
  * elapses races Android's ReactModalHostView dismiss and NPE-crashes.
14
15
  */
15
16
  export declare const MODAL_DISMISS_GRACE_MS = 300;
16
17
  export interface ModalProps {
17
- visible: boolean;
18
+ open: boolean;
18
19
  onClose: () => void;
19
20
  presentation?: ModalPresentation;
20
21
  backdropOpacity?: number;
21
22
  backdropPressClose?: boolean;
22
23
  animationDuration?: number;
23
24
  /**
24
- * Whether a modal that is visible as it mounts plays its enter animation.
25
+ * Whether a modal that is open as it mounts plays its enter animation.
25
26
  * When false it is drawn at rest at once, scrim included; later opens and
26
27
  * every close animate as usual. Default true.
27
28
  */
@@ -39,7 +40,7 @@ export interface ModalProps {
39
40
  */
40
41
  restoreFocusRef?: React.RefObject<RNView | null>;
41
42
  /**
42
- * Fired once after the modal closes, MODAL_DISMISS_GRACE_MS after `visible`
43
+ * Fired once after the modal closes, MODAL_DISMISS_GRACE_MS after `open`
43
44
  * flips false — the earliest point it is safe to unmount the surrounding
44
45
  * tree (navigate away, flip auth state) without racing the native dismiss
45
46
  * on Android. Sequence follow-up work (or a follow-up modal) from here.
@@ -59,6 +60,15 @@ export interface ModalProps {
59
60
  /** Horizontal alignment of the anchored presentation against the anchor. Default "center". */
60
61
  align?: PlacementAlign;
61
62
  testID?: string;
63
+ /**
64
+ * Draws no surface, radius, shadow, padding or width around children: the children are the card.
65
+ * The dim layer, the dismiss tap, the safe area and the toast host stay with Modal. For "bottom" the
66
+ * children sit on the bottom edge at full width; for "fullScreen" they fill the layer and
67
+ * must place themselves (an anchored surface). Not valid with "anchored" (throws). Default false.
68
+ */
69
+ bare?: boolean;
70
+ /** Called with the top and bottom insets of the window the modal draws in, whenever they change. */
71
+ onInsetsChange?: (insets: ModalInsets) => void;
62
72
  }
63
73
  declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<RNView>>;
64
74
  export { Modal };
@@ -46,7 +46,9 @@ export interface NumberInputProps {
46
46
  haptic?: HapticType | false;
47
47
  labels?: Partial<NumberInputLabels>;
48
48
  accessibilityLabel?: string;
49
+ /** The outer box. Applied last on that node, so it wins over containerStyle. */
49
50
  style?: StyleProp<ViewStyle>;
51
+ /** Alias of style, applied before it on the same node. Use style. */
50
52
  containerStyle?: StyleProp<ViewStyle>;
51
53
  inputStyle?: StyleProp<TextStyle>;
52
54
  buttonStyle?: StyleProp<ViewStyle>;
@@ -0,0 +1,25 @@
1
+ import type { StyleProp, ViewStyle } from "react-native";
2
+ export interface OTPResendRowLabels {
3
+ expiresIn: (time: string) => string;
4
+ expired: string;
5
+ resendIn: (time: string) => string;
6
+ resendWaitSpoken: (seconds: number) => string;
7
+ resend: string;
8
+ sendNew: string;
9
+ }
10
+ export declare const DEFAULT_OTP_RESEND_ROW_LABELS: Readonly<OTPResendRowLabels>;
11
+ export interface OTPResendRowProps {
12
+ resendSecondsLeft: number;
13
+ expirySecondsLeft?: number | null;
14
+ onResend: () => void;
15
+ resending?: boolean;
16
+ labels?: Partial<OTPResendRowLabels>;
17
+ style?: StyleProp<ViewStyle>;
18
+ testID?: string;
19
+ }
20
+ declare const OTPResendRow: {
21
+ ({ resendSecondsLeft, expirySecondsLeft, onResend, resending, labels: labelsProp, style, testID, }: OTPResendRowProps): import("react").JSX.Element;
22
+ displayName: string;
23
+ };
24
+ export { OTPResendRow };
25
+ //# sourceMappingURL=OTPResendRow.d.ts.map
@@ -1,3 +1,5 @@
1
1
  export type { OTPInputLabels, OTPInputProps, OTPInputRef, OTPInputSize } from "./OTPInput.js";
2
2
  export { DEFAULT_OTP_INPUT_LABELS, default, OTPInput } from "./OTPInput.js";
3
+ export type { OTPResendRowLabels, OTPResendRowProps } from "./OTPResendRow.js";
4
+ export { DEFAULT_OTP_RESEND_ROW_LABELS, OTPResendRow } from "./OTPResendRow.js";
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -50,17 +50,17 @@ export interface OptionSheetLabels {
50
50
  }
51
51
  export declare const DEFAULT_OPTION_SHEET_LABELS: Readonly<OptionSheetLabels>;
52
52
  export interface OptionSheetProps<T = SelectOption> {
53
- visible: boolean;
54
- /** Requests close (backdrop tap, hardware back, multi Done). Caller flips `visible`. */
53
+ open: boolean;
54
+ /** Requests close (backdrop tap, hardware back, multi Done). Caller flips `open`. */
55
55
  onClose: () => void;
56
56
  /**
57
57
  * Called once, after the close has finished: the Modal's exit is over and it
58
- * is about to unmount (`MODAL_DISMISS_GRACE_MS` after `visible` turns false).
58
+ * is about to unmount (`MODAL_DISMISS_GRACE_MS` after `open` turns false).
59
59
  * Present anything native (an image picker, the share sheet) from here.
60
60
  */
61
61
  onAfterClose?: () => void;
62
- /** Called with `true` when `visible` turns on and `false` when it turns off, not again while it stays the same. */
63
- onVisibleChange?: (visible: boolean) => void;
62
+ /** Called with `true` when `open` turns on and `false` when it turns off, not again while it stays the same. */
63
+ onOpenChange?: (open: boolean) => void;
64
64
  /** Sheet heading. Also the modal's a11y label fallback. */
65
65
  title?: string;
66
66
  options: ReadonlyArray<T>;
@@ -1,6 +1,7 @@
1
1
  import type { PhoneCountry, PhoneValidationKind } from "@webority/mobile-core";
2
2
  import type { ReactNode } from "react";
3
3
  import type { StyleProp, TextInputProps, TextStyle, ViewStyle } from "react-native";
4
+ import type { Theme } from "../../theme/types.js";
4
5
  import type { FieldVariant, Size } from "../../types/vocabulary.js";
5
6
  import type { HapticType } from "../../utils/index.js";
6
7
  /** How the label sits: static above the box, or floating up from inside it. */
@@ -188,8 +189,8 @@ export interface PhoneNumberInputProps extends Pick<TextInputProps, "returnKeyTy
188
189
  disabled?: boolean;
189
190
  size?: Extract<Size, "sm" | "md" | "lg">;
190
191
  variant?: FieldVariant;
191
- /** Per-instance corner radius. Wins over the field size's radius. */
192
- borderRadius?: number;
192
+ /** Corner radius token from the theme (none, sm, md, lg, xl, pill). Wins over the field size's radius. */
193
+ radius?: keyof Theme["radius"];
193
194
  /** Strings the field draws itself: the placeholder, the picker's headings and search box, the invalid-number texts, the country button's name. */
194
195
  labels?: Partial<PhoneNumberInputLabels>;
195
196
  haptic?: HapticType | false;
@@ -50,8 +50,8 @@ export interface PickerTriggerProps {
50
50
  clearable?: boolean;
51
51
  /** Called when the clear affordance is pressed. */
52
52
  onClear?: () => void;
53
- /** Leading icon slot (e.g. calendar / clock). */
54
- leadingIcon?: React.ReactNode;
53
+ /** Left icon slot (e.g. calendar / clock). */
54
+ leftIcon?: React.ReactNode;
55
55
  /** Trailing slot — defaults to a chevron when unset. Pass `null` to suppress. */
56
56
  trailing?: React.ReactNode;
57
57
  disabled?: boolean;
@@ -66,6 +66,11 @@ export interface PickerTriggerProps {
66
66
  labels?: Partial<PickerTriggerLabels>;
67
67
  testID?: string;
68
68
  }
69
+ /** The PickerTrigger props a picker forwards to its built-in trigger field. */
70
+ export type PickerTriggerPassThroughProps = Pick<PickerTriggerProps, "label" | "help" | "placeholder" | "helperText" | "error" | "required" | "disabled" | "size" | "variant" | "clearable" | "onClear" | "leftIcon" | "trailing" | "triggerStyle" | "valueStyle" | "labelStyle" | "messageStyle" | "accessibilityLabel"> & {
71
+ /** Copy for the trigger field (placeholder, selection, noSelection, clear). Named apart from labels, which is the copy of the picker sheet. */
72
+ triggerLabels?: Partial<PickerTriggerLabels>;
73
+ };
69
74
  declare const PickerTrigger: React.ForwardRefExoticComponent<PickerTriggerProps & React.RefAttributes<RNView>>;
70
75
  export { PickerTrigger };
71
76
  export default PickerTrigger;
@@ -1,3 +1,3 @@
1
- export type { PickerTriggerLabels, PickerTriggerProps, PickerTriggerSize, PickerTriggerVariant } from "./PickerTrigger.js";
1
+ export type { PickerTriggerLabels, PickerTriggerPassThroughProps, PickerTriggerProps, PickerTriggerSize, PickerTriggerVariant, } from "./PickerTrigger.js";
2
2
  export { DEFAULT_PICKER_TRIGGER_LABELS, default, PickerTrigger } from "./PickerTrigger.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -32,7 +32,9 @@ export interface ProgressBarProps {
32
32
  /** Render a multi-colour breakdown bar (usage split) instead of a single progress fill. */
33
33
  segments?: ProgressBarSegment[];
34
34
  animated?: boolean;
35
+ /** The outer box. Applied last on that node, so it wins over containerStyle. */
35
36
  style?: StyleProp<ViewStyle>;
37
+ /** Alias of style, applied before it on the same node. Use style. */
36
38
  containerStyle?: StyleProp<ViewStyle>;
37
39
  barStyle?: StyleProp<ViewStyle>;
38
40
  accessibilityLabel?: string;
@@ -37,7 +37,9 @@ export interface RadioProps extends Omit<PressableProps, "style" | "children" |
37
37
  tone?: RadioTone;
38
38
  accessibilityLabel?: string;
39
39
  haptic?: HapticType | false;
40
+ /** The outer box. Applied last on that node, so it wins over containerStyle. */
40
41
  style?: StyleProp<ViewStyle>;
42
+ /** Alias of style, applied before it on the same node. Use style. */
41
43
  containerStyle?: StyleProp<ViewStyle>;
42
44
  circleStyle?: StyleProp<ViewStyle>;
43
45
  dotStyle?: StyleProp<ViewStyle>;
@@ -30,7 +30,9 @@ export interface RatingProps {
30
30
  haptic?: HapticType | false;
31
31
  labels?: Partial<RatingLabels>;
32
32
  accessibilityLabel?: string;
33
+ /** The outer box. Applied last on that node, so it wins over containerStyle. */
33
34
  style?: StyleProp<ViewStyle>;
35
+ /** Alias of style, applied before it on the same node. Use style. */
34
36
  containerStyle?: StyleProp<ViewStyle>;
35
37
  starContainerStyle?: StyleProp<ViewStyle>;
36
38
  testID?: string;
@@ -1,5 +1,6 @@
1
1
  import type { StyleProp, TextInputProps, TextStyle, ViewStyle } from "react-native";
2
2
  import { TextInput } from "react-native";
3
+ import type { RadiusName } from "../../theme/types.js";
3
4
  import type { FieldVariant, Size } from "../../types/vocabulary.js";
4
5
  import type { HapticType } from "../../utils/hapticUtils.js";
5
6
  import type { SlotIcon } from "../AppIcon/slotIcon.js";
@@ -45,10 +46,11 @@ export interface SearchBarProps extends Omit<TextInputProps, "style" | "value" |
45
46
  size?: Extract<Size, "sm" | "md" | "lg">;
46
47
  variant?: FieldVariant;
47
48
  /**
48
- * Corner radius. Default: the theme's `components["search-bar"].<size>.radius`
49
- * (the pill). Ignored on `underline`, which is always square.
49
+ * Corner radius from the theme's radius scale. Default: the theme's
50
+ * `components["search-bar"].<size>.radius` (the pill). Ignored on `underline`,
51
+ * which is always square.
50
52
  */
51
- borderRadius?: number;
53
+ radius?: RadiusName;
52
54
  /**
53
55
  * Chips under the field that narrow what is searched, for example All, People, Files.
54
56
  * Put the broadest scope first: it is the one selected until the person picks another.
@@ -16,6 +16,8 @@ export interface SectionHeaderProps {
16
16
  variant?: SectionHeaderVariant;
17
17
  /** Drop the room above, for the first heading of a block. */
18
18
  flush?: boolean;
19
+ /** Drop the room below, for a heading that sits tight on the content under it. flush drops the room above. */
20
+ flushBottom?: boolean;
19
21
  /** Draws the required marker after the heading and announces the heading as required. */
20
22
  required?: boolean;
21
23
  /** A link at the end of the heading row, such as See all. */
@@ -85,7 +85,9 @@ export interface SegmentedControlProps {
85
85
  /** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
86
86
  haptic?: HapticType | false;
87
87
  accessibilityLabel?: string;
88
+ /** The outer box. Applied last on that node, so it wins over containerStyle. */
88
89
  style?: StyleProp<ViewStyle>;
90
+ /** Alias of style, applied before it on the same node. Use style. */
89
91
  containerStyle?: StyleProp<ViewStyle>;
90
92
  segmentStyle?: StyleProp<ViewStyle>;
91
93
  selectedIndicatorStyle?: StyleProp<ViewStyle>;
@@ -13,6 +13,7 @@ import type { HapticType } from "../../utils/index.js";
13
13
  import type { SlotIcon } from "../AppIcon/slotIcon.js";
14
14
  import type { SelectOption, SelectValue } from "../OptionSheet/OptionSheet.js";
15
15
  export type SelectSize = Extract<Size, "sm" | "md" | "lg">;
16
+ type SelectRadius = "sm" | "md" | "lg" | "xl" | "pill";
16
17
  export type { SelectOption, SelectValue };
17
18
  export interface SelectLabels {
18
19
  placeholder: string;
@@ -47,7 +48,7 @@ interface BaseSelectProps<T = SelectOption> {
47
48
  getOptionIcon?: (option: T) => React.ReactNode;
48
49
  placeholder?: string;
49
50
  /** Called with `true` when the option sheet opens and `false` when it closes. */
50
- onVisibleChange?: (visible: boolean) => void;
51
+ onOpenChange?: (open: boolean) => void;
51
52
  searchable?: boolean;
52
53
  /**
53
54
  * Haptic feedback for interactions. Pass false to disable; pass a HapticType
@@ -127,8 +128,8 @@ interface BaseSelectProps<T = SelectOption> {
127
128
  chevronColor?: string;
128
129
  /** Size of the built-in chevron in pixels. Ignored when `rightIcon` is set. Default: the field size's `icon`. */
129
130
  chevronSize?: number;
130
- /** Per-instance override for the trigger's corner radius. Wins over the field size's radius. */
131
- borderRadius?: number;
131
+ /** A theme radius token name for the trigger's corner. Wins over the field size's radius. */
132
+ radius?: SelectRadius;
132
133
  accessibilityLabel?: string;
133
134
  /** Style for the field label text above the trigger; the same prop as Input's and NumberInput's. */
134
135
  labelStyle?: StyleProp<TextStyle>;
@@ -56,7 +56,9 @@ interface SliderCommonProps {
56
56
  * catching. Pass false to disable; pass a HapticType to override.
57
57
  */
58
58
  haptic?: HapticType | false;
59
+ /** The outer box. Applied last on that node, so it wins over containerStyle. */
59
60
  style?: StyleProp<ViewStyle>;
61
+ /** Alias of style, applied before it on the same node. Use style. */
60
62
  containerStyle?: StyleProp<ViewStyle>;
61
63
  trackStyle?: StyleProp<ViewStyle>;
62
64
  fillStyle?: StyleProp<ViewStyle>;
@@ -49,9 +49,9 @@ interface SliderFieldCommonProps {
49
49
  /** Minus and plus buttons at the ends of the track, stepping by `step`. Single mode only. Default `false`. */
50
50
  showStepper?: boolean;
51
51
  /** Icon at the start of the row, outside the bounds. */
52
- startIcon?: SlotIcon;
52
+ leftIcon?: SlotIcon;
53
53
  /** Icon at the end of the row, outside the bounds. */
54
- endIcon?: SlotIcon;
54
+ rightIcon?: SlotIcon;
55
55
  /** Replaces the formatted `min` at the start of the track. */
56
56
  startLabel?: string;
57
57
  /** Replaces the formatted `max` at the end of the track. */
@@ -1,7 +1,8 @@
1
1
  import { type ImageProps } from "expo-image";
2
+ import { type RadiusName } from "../../theme/index.js";
2
3
  export interface SquircleImageProps extends ImageProps {
3
- /** Corner radius of the image, the same number `SquircleView` takes. */
4
- borderRadius: number;
4
+ /** Corner radius token of the image: none, sm, md, lg, xl or pill. */
5
+ radius: RadiusName;
5
6
  /** Paints the corners outside the smooth curve on Android. Default: the theme's base surface. */
6
7
  cornerColor?: string;
7
8
  }
@@ -13,7 +14,7 @@ export interface SquircleImageProps extends ImageProps {
13
14
  * through.
14
15
  */
15
16
  declare const SquircleImage: {
16
- ({ borderRadius, cornerColor, style, onLayout, ...imageProps }: SquircleImageProps): import("react").JSX.Element;
17
+ ({ radius, cornerColor, style, onLayout, ...imageProps }: SquircleImageProps): import("react").JSX.Element;
17
18
  displayName: string;
18
19
  };
19
20
  export { SquircleImage };
@@ -78,7 +78,9 @@ export interface StepperProps {
78
78
  */
79
79
  loading?: boolean;
80
80
  accessibilityLabel?: string;
81
+ /** The outer box. Applied last on that node, so it wins over containerStyle. */
81
82
  style?: StyleProp<ViewStyle>;
83
+ /** Alias of style, applied before it on the same node. Use style. */
82
84
  containerStyle?: StyleProp<ViewStyle>;
83
85
  circleStyle?: StyleProp<ViewStyle>;
84
86
  labelStyle?: StyleProp<TextStyle>;
@@ -42,7 +42,9 @@ export interface SwitchProps extends Omit<PressableProps, "style" | "children" |
42
42
  * Use for playful/brand-flavored switches; default off for system feel.
43
43
  */
44
44
  bounce?: boolean;
45
+ /** The outer box. Applied last on that node, so it wins over containerStyle. */
45
46
  style?: StyleProp<ViewStyle>;
47
+ /** Alias of style, applied before it on the same node. Use style. With no label or text, it wraps the Pressable instead. */
46
48
  containerStyle?: StyleProp<ViewStyle>;
47
49
  trackStyle?: StyleProp<ViewStyle>;
48
50
  thumbStyle?: StyleProp<ViewStyle>;
@@ -19,6 +19,8 @@ export interface TextProps extends Omit<RNTextProps, "style"> {
19
19
  align?: TextStyle["textAlign"];
20
20
  italic?: boolean;
21
21
  underline?: boolean;
22
+ /** Draws a line through the text, for a done or reversed item. It joins with underline. */
23
+ strikethrough?: boolean;
22
24
  children?: React.ReactNode;
23
25
  style?: StyleProp<TextStyle>;
24
26
  }
@@ -0,0 +1,14 @@
1
+ import type { ColorValue, StyleProp, TextStyle } from "react-native";
2
+ /** The size and ink of the text line a child sits in, which an inline View cannot inherit. */
3
+ export interface TextInk {
4
+ fontSize: number;
5
+ color: ColorValue;
6
+ }
7
+ /**
8
+ * The size and colour of the text line around a child, published by Text and the field label lines,
9
+ * so inline elements match their line.
10
+ */
11
+ export declare const TextInkContext: import("react").Context<TextInk | null>;
12
+ /** The ink for a line's provider: the line's own `style` size and colour win over its defaults. */
13
+ export declare const useTextInk: (style: StyleProp<TextStyle>, fontSize: number, color: ColorValue) => TextInk;
14
+ //# sourceMappingURL=textInk.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import type React from "react";
2
2
  import type { StyleProp, ViewStyle } from "react-native";
3
3
  import type { HapticType } from "../../utils/hapticUtils.js";
4
- import type { FieldBaseSize, FieldBaseVariant } from "../FieldBase/index.js";
4
+ import type { PickerTriggerPassThroughProps } from "../PickerTrigger/PickerTrigger.js";
5
5
  export type TimeFormat = "12h" | "24h";
6
6
  export type Period = "AM" | "PM";
7
7
  export type MinuteStep = 1 | 5 | 15 | 30;
@@ -26,17 +26,17 @@ export declare const DEFAULT_TIME_PICKER_LABELS: Readonly<TimePickerLabels>;
26
26
  /**
27
27
  * TimePicker supports two modes:
28
28
  *
29
- * 1. Controlled-modal mode — pass `visible`, `onChange`, `onClose`. The
29
+ * 1. Controlled-modal mode: pass `open`, `onChange`, `onClose`. The
30
30
  * component renders only the modal sheet and the caller owns open/close
31
31
  * state plus its own trigger UI.
32
- * 2. Trigger mode — omit `visible`. The component renders a PickerTrigger
32
+ * 2. Trigger mode: omit `open`. The component renders a PickerTrigger
33
33
  * field (label / value / placeholder / chevron / clear / helper / error)
34
34
  * and manages its own modal open state. `onChange` is still called on
35
35
  * confirm.
36
36
  */
37
- export interface TimePickerProps {
37
+ export interface TimePickerProps extends PickerTriggerPassThroughProps {
38
38
  /** Controlled-modal visibility. When omitted, the component enters trigger mode. */
39
- visible?: boolean;
39
+ open?: boolean;
40
40
  value?: TimeValue | null;
41
41
  onChange?: (time: TimeValue) => void;
42
42
  onClose?: () => void;
@@ -45,27 +45,16 @@ export interface TimePickerProps {
45
45
  /** Chrome copy, merged over DEFAULT_TIME_PICKER_LABELS. */
46
46
  labels?: Partial<TimePickerLabels>;
47
47
  testID?: string;
48
+ /** The outer box. Applied last on that node, so it wins over containerStyle. */
48
49
  style?: StyleProp<ViewStyle>;
49
- /** Outer container style applied to the bottom sheet. */
50
+ /** Applied to the bottom sheet, before style on the same node. */
50
51
  containerStyle?: StyleProp<ViewStyle>;
51
52
  /** Style override for the title text container. */
52
53
  headerLabelStyle?: StyleProp<ViewStyle>;
53
54
  /** Style override for the cancel/confirm footer buttons. */
54
55
  footerButtonStyle?: StyleProp<ViewStyle>;
55
- label?: string;
56
- placeholder?: string;
57
- helperText?: string;
58
- error?: string | boolean;
59
- required?: boolean;
60
- disabled?: boolean;
61
- size?: FieldBaseSize;
62
- variant?: FieldBaseVariant;
63
- clearable?: boolean;
64
- onClear?: () => void;
65
56
  /** Override the trigger field's value formatting. Defaults to `format`-aware h:mm/HH:mm. */
66
57
  formatValue?: (time: TimeValue) => string;
67
- /** Style passed through to the PickerTrigger field row. */
68
- triggerStyle?: StyleProp<ViewStyle>;
69
58
  /** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
70
59
  haptic?: HapticType | false;
71
60
  }
@@ -35,14 +35,15 @@ export interface TooltipProps {
35
35
  * never attached to a child with its own `contextMenu`: the menu wins.
36
36
  */
37
37
  trigger?: TooltipTrigger;
38
- visible?: boolean;
39
- onVisibleChange?: (visible: boolean) => void;
38
+ open?: boolean;
39
+ onOpenChange?: (open: boolean) => void;
40
40
  hideOnContentPress?: boolean;
41
41
  maxWidth?: number;
42
42
  showArrow?: boolean;
43
43
  accessibilityLabel?: string;
44
+ /** The outer box. Applied last on that node, so it wins over containerStyle. */
44
45
  style?: StyleProp<ViewStyle>;
45
- /** Alias of `style`. Applied to the outer animated tooltip wrapper (merged additively). */
46
+ /** Alias of style, applied before it on the same node. Use style. */
46
47
  containerStyle?: StyleProp<ViewStyle>;
47
48
  /** Style override applied to the arrow caret View. */
48
49
  arrowStyle?: StyleProp<ViewStyle>;
@@ -46,7 +46,7 @@ export interface TourProps {
46
46
  tourId: string;
47
47
  steps: TourStep[];
48
48
  /** Set true to run the tour; set it back to false from `onClose`. */
49
- visible: boolean;
49
+ open: boolean;
50
50
  onClose: (reason: TourCloseReason) => void;
51
51
  /** Consulted before showing and written when the tour finishes or is skipped. */
52
52
  seenStore?: TourSeenStore;
@@ -70,7 +70,7 @@ export type { ErrorBoundaryInfo, ErrorBoundaryLabels, ErrorBoundaryProps } from
70
70
  export { DEFAULT_ERROR_BOUNDARY_LABELS, ErrorBoundary, useErrorHandler, withErrorBoundary } from "./ErrorBoundary/index.js";
71
71
  export type { FilePickerFile, FilePickerFileState, FilePickerFileStatus, FilePickerLabels, FilePickerProps, FilePickerRef, FilePickerSource, FilePickerTriggerState, FilePickerVariant, } from "./FilePicker/index.js";
72
72
  export { DEFAULT_FILE_PICKER_LABELS, FilePicker, formatFileSize } from "./FilePicker/index.js";
73
- export type { FileViewerProps, FileViewerSource } from "./FileViewer/index.js";
73
+ export type { FileViewerKind, FileViewerProps, FileViewerSource } from "./FileViewer/index.js";
74
74
  export { FileViewer } from "./FileViewer/index.js";
75
75
  export type { FilterChipItem, FilterChipRowProps } from "./FilterChipRow/index.js";
76
76
  export { FilterChipRow } from "./FilterChipRow/index.js";
@@ -110,23 +110,21 @@ export type { MessageListLabels, MessageListProps, MessageRenderInfo } from "./M
110
110
  export { DEFAULT_MESSAGE_LIST_LABELS, MessageList } from "./MessageList/index.js";
111
111
  export type { ModalLabels, ModalPresentation, ModalProps } from "./Modal/index.js";
112
112
  export { DEFAULT_MODAL_LABELS, MODAL_DISMISS_GRACE_MS, Modal } from "./Modal/index.js";
113
- export type { NotationProps, NotationRun, NotationTextRun } from "./Notation/index.js";
114
- export { Notation, parseNotation, sym } from "./Notation/index.js";
115
113
  export type { NumberInputLabels, NumberInputProps, NumberInputRef, NumberInputSize, NumberInputVariant } from "./NumberInput/index.js";
116
114
  export { DEFAULT_NUMBER_INPUT_LABELS, NumberInput } from "./NumberInput/index.js";
117
115
  export type { OnboardingPage, OnboardingPagerLabels, OnboardingPagerProps, } from "./OnboardingPager/index.js";
118
116
  export { DEFAULT_ONBOARDING_PAGER_LABELS, OnboardingPager } from "./OnboardingPager/index.js";
119
117
  export type { OptionRenderState, OptionSheetLabels, OptionSheetProps, OptionSheetSection } from "./OptionSheet/index.js";
120
118
  export { DEFAULT_OPTION_SHEET_LABELS, OptionSheet } from "./OptionSheet/index.js";
121
- export type { OTPInputLabels, OTPInputProps, OTPInputRef, OTPInputSize } from "./OTPInput/index.js";
122
- export { DEFAULT_OTP_INPUT_LABELS, OTPInput } from "./OTPInput/index.js";
119
+ export type { OTPInputLabels, OTPInputProps, OTPInputRef, OTPInputSize, OTPResendRowLabels, OTPResendRowProps } from "./OTPInput/index.js";
120
+ export { DEFAULT_OTP_INPUT_LABELS, DEFAULT_OTP_RESEND_ROW_LABELS, OTPInput, OTPResendRow } from "./OTPInput/index.js";
123
121
  export type { PagedListFooterLabels, PagedListFooterProps } from "./PagedListFooter/index.js";
124
122
  export { DEFAULT_PAGED_LIST_FOOTER_LABELS, PagedListFooter } from "./PagedListFooter/index.js";
125
123
  export type { PermissionPromptFallback, PermissionPromptLabels, PermissionPromptProps, PermissionPromptView, UsePermissionPromptOptions, UsePermissionPromptResult, } from "./PermissionPrompt/index.js";
126
124
  export { DEFAULT_PERMISSION_PROMPT_LABELS, PermissionPrompt, usePermissionPrompt } from "./PermissionPrompt/index.js";
127
125
  export type { CallingCode, PhoneNumberInfo, PhoneNumberInputLabelMode, PhoneNumberInputLabels, PhoneNumberInputProps, PhoneNumberInputRef, PhoneNumberValidation, PhoneNumberValue, } from "./PhoneNumberInput/index.js";
128
126
  export { ALL_CALLING_CODES, DEFAULT_CALLING_CODES, DEFAULT_PHONE_NUMBER_INPUT_LABELS, formatE164, PhoneNumberInput, parseE164, } from "./PhoneNumberInput/index.js";
129
- export type { PickerTriggerLabels, PickerTriggerProps, PickerTriggerSize, PickerTriggerVariant } from "./PickerTrigger/index.js";
127
+ export type { PickerTriggerLabels, PickerTriggerPassThroughProps, PickerTriggerProps, PickerTriggerSize, PickerTriggerVariant, } from "./PickerTrigger/index.js";
130
128
  export { DEFAULT_PICKER_TRIGGER_LABELS, PickerTrigger } from "./PickerTrigger/index.js";
131
129
  export type { ProfileCompletionAvatarTone, ProfileCompletionLabels, ProfileCompletionProps, ProfileCompletionRingVariant, ProfileCompletionSize, } from "./ProfileCompletion/index.js";
132
130
  export { DEFAULT_PROFILE_COMPLETION_LABELS, ProfileCompletion } from "./ProfileCompletion/index.js";
@@ -194,6 +192,7 @@ export type { TagInputProps } from "./TagInput/index.js";
194
192
  export { TagInput } from "./TagInput/index.js";
195
193
  export type { TextColor, TextProps, TextVariant } from "./Text/index.js";
196
194
  export { Text } from "./Text/index.js";
195
+ export { TextInkContext, useTextInk } from "./Text/textInk.js";
197
196
  export type { TimelineItem, TimelineOrientation, TimelineProps, TimelineStatus, TimelineVariant, } from "./Timeline/index.js";
198
197
  export { Timeline } from "./Timeline/index.js";
199
198
  export type { MinuteStep, Period, TimeFormat, TimePickerLabels, TimePickerProps, TimeValue } from "./TimePicker/index.js";
@@ -6,10 +6,10 @@ import { type HookFieldProps } from "./useHookFormField.js";
6
6
  type FieldChromeProps = Omit<FormFieldProps, "children" | "error">;
7
7
  export type HookFormFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TTransformedValues = TFieldValues> = FieldChromeProps & UseControllerProps<TFieldValues, TName, TTransformedValues> & {
8
8
  /**
9
- * A text input element (`<Input />`, `<PhoneNumberInput />`) gets `value`,
10
- * `onChangeText`, `onBlur`, `error` and a ref injected. Any other control
11
- * takes the render-prop form:
12
- * `{(field) => <Select value={field.value} onChange={field.onChange} error={field.error} />}`.
9
+ * A text input element (`<Input />`) gets `value`, `onChangeText`, `onBlur`,
10
+ * `error` and a ref injected. Any other control takes the render-prop form,
11
+ * for example a `PhoneNumberInput`, which takes an object `value` and `onChange`:
12
+ * `{(field) => <PhoneNumberInput value={field.value} onChange={field.onChange} error={field.error} />}`.
13
13
  * A render-prop control that is passed `error` draws it itself, so the
14
14
  * frame leaves its own copy out; one that is not passed `error` has the
15
15
  * message drawn under it by the frame.
@@ -5,6 +5,8 @@ export type { DragToDismissController, SheetNativeGesture, SheetPanGesture, UseD
5
5
  export { createDragToDismissController, DRAG_DISMISS_DISTANCE, DRAG_DISMISS_VELOCITY, useDragToDismiss, } from "./useDragToDismiss.js";
6
6
  export type { FieldChain, FieldChainProps } from "./useFieldChain.js";
7
7
  export { useFieldChain } from "./useFieldChain.js";
8
+ export type { FieldErrorRegistry, UseFieldErrorScrollOptions, UseFieldErrorScrollResult } from "./useFieldErrorScroll.js";
9
+ export { FieldErrorScrollContext, useFieldErrorAnchor, useFieldErrorScroll } from "./useFieldErrorScroll.js";
8
10
  export { FLICK_TOLERANCE, useFlickGuard } from "./useFlickGuard.js";
9
11
  export type { MotionDurationKey, PresenceMotion } from "./usePresenceMotion.js";
10
12
  export { PRESENCE_REDUCE_MOTION, usePresenceMotion } from "./usePresenceMotion.js";
@@ -13,6 +15,8 @@ export { PRESS_ANIMATION_PRESETS, usePressAnimation } from "./usePressAnimation.
13
15
  export { useReducedMotion } from "./useReducedMotion.js";
14
16
  export type { UseRefreshControlLabels, UseRefreshControlOptions, UseRefreshControlResult, } from "./useRefreshControl.js";
15
17
  export { useRefreshControl } from "./useRefreshControl.js";
18
+ export type { UseResendCountdownOptions, UseResendCountdownResult } from "./useResendCountdown.js";
19
+ export { useResendCountdown } from "./useResendCountdown.js";
16
20
  export type { ScrollDirection, UseScrollDirectionOptions, UseScrollDirectionResult, } from "./useScrollDirection.js";
17
21
  export { useScrollDirection } from "./useScrollDirection.js";
18
22
  export type { UseToggleResult } from "./useToggle.js";
@@ -0,0 +1,28 @@
1
+ import { type Ref, type RefObject } from "react";
2
+ import type { LayoutChangeEvent, ScrollView, View } from "react-native";
3
+ export interface FieldErrorRegistry {
4
+ add: (anchor: RefObject<View | null>) => () => void;
5
+ }
6
+ /**
7
+ * Bringing the first field that shows an error into view. A form field that shows an error joins
8
+ * the registry a screen provides (useFieldErrorAnchor, in the app's field wrappers); a refused step
9
+ * measures every member against a container inside the scroll content and scrolls to the topmost.
10
+ *
11
+ * Topmost by measurement rather than first by error key, because the keys follow the schema's order
12
+ * and a step lays its fields out in its own. Outside a provider a field joins nothing.
13
+ */
14
+ export declare const FieldErrorScrollContext: import("react").Context<FieldErrorRegistry | null>;
15
+ export declare const useFieldErrorAnchor: (error: unknown, forwardedRef?: Ref<View>) => ((node: View | null) => void);
16
+ export interface UseFieldErrorScrollOptions {
17
+ scrollRef: RefObject<ScrollView | null>;
18
+ /** Room kept above the first error so its label shows too. Defaults to 16. */
19
+ offset?: number;
20
+ }
21
+ export interface UseFieldErrorScrollResult {
22
+ registry: FieldErrorRegistry;
23
+ containerRef: RefObject<View | null>;
24
+ onContainerLayout: (event: LayoutChangeEvent) => void;
25
+ scrollToFirstError: () => void;
26
+ }
27
+ export declare const useFieldErrorScroll: ({ scrollRef, offset }: UseFieldErrorScrollOptions) => UseFieldErrorScrollResult;
28
+ //# sourceMappingURL=useFieldErrorScroll.d.ts.map
@@ -0,0 +1,16 @@
1
+ export interface UseResendCountdownOptions {
2
+ /** Seconds before a new code may be asked for. */
3
+ resendSeconds: number;
4
+ /** Seconds the code stays valid; null or undefined when the code has no known expiry. */
5
+ expirySeconds?: number | null;
6
+ /** Wall-clock start (Date.now()) of the current challenge. Changing it restarts both timers. */
7
+ startedAtMs: number;
8
+ }
9
+ export interface UseResendCountdownResult {
10
+ /** Whole seconds left before Resend is allowed; 0 when allowed. */
11
+ resendSecondsLeft: number;
12
+ /** Whole seconds left on the code; null when there is no expiry. 0 when expired. */
13
+ expirySecondsLeft: number | null;
14
+ }
15
+ export declare const useResendCountdown: ({ resendSeconds, expirySeconds, startedAtMs }: UseResendCountdownOptions) => UseResendCountdownResult;
16
+ //# sourceMappingURL=useResendCountdown.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { CURATED_ICON_NAMES, defaultIcons, ICON_NAMES } from "./components/AppIcon/index.js";
2
+ export { textOf } from "./theme/index.js";
3
+ //# sourceMappingURL=icons.d.ts.map