@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
@@ -0,0 +1,24 @@
1
+ import { type DownloadHttpClient } from "@webority/mobile-core/download";
2
+ import type { FileViewerKind } from "./FileViewer";
3
+ export interface FileViewerSource {
4
+ uri: string;
5
+ headers?: Record<string, string>;
6
+ /**
7
+ * Fetches a remote `uri`. Pass the app's signed-in client (mobile-core's
8
+ * `userClient`, or its own) for a document behind sign-in; defaults to
9
+ * mobile-core's `publicClient`.
10
+ */
11
+ client?: DownloadHttpClient;
12
+ /** Reuse a previously downloaded copy of this URL instead of re-fetching. Default true. */
13
+ cache?: boolean;
14
+ }
15
+ export declare const HAS_SCHEME: RegExp;
16
+ /**
17
+ * Named from the whole URL, so two documents whose URLs end the same
18
+ * (`/collateral/123` and `/leads/123`) never share one saved copy.
19
+ */
20
+ export declare const cacheFileName: (uri: string) => string;
21
+ export declare const localPathFromSource: (source: FileViewerSource) => Promise<string>;
22
+ /** "auto" reads the file name: a picture extension is a picture, anything else a PDF. */
23
+ export declare const resolveKind: (kind: FileViewerKind, uri: string) => "pdf" | "image";
24
+ //# sourceMappingURL=fileSource.d.ts.map
@@ -1,3 +1,3 @@
1
- export type { FileViewerProps, FileViewerSource } from "./FileViewer";
1
+ export type { FileViewerKind, FileViewerProps, FileViewerSource } from "./FileViewer";
2
2
  export { FileViewer } from "./FileViewer";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -27,13 +27,20 @@ export interface FloatingActionButtonProps {
27
27
  position?: FloatingActionButtonPosition;
28
28
  bottomOffset?: number;
29
29
  disabled?: boolean;
30
+ /**
31
+ * Replaces the icon with a Spinner and ignores presses, for an action already in flight.
32
+ * The button keeps its colours and reports itself busy to assistive technology.
33
+ */
34
+ loading?: boolean;
30
35
  hideOnScroll?: boolean;
31
36
  isScrolling?: boolean;
32
37
  accessibilityLabel: string;
33
38
  accessibilityHint?: string;
34
39
  /** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
35
40
  haptic?: HapticType | false;
41
+ /** The outer box. Applied last on that node, so it wins over containerStyle. */
36
42
  style?: StyleProp<ViewStyle>;
43
+ /** Alias of style, applied before it on the same node. Use style. */
37
44
  containerStyle?: StyleProp<ViewStyle>;
38
45
  labelStyle?: StyleProp<ViewStyle>;
39
46
  testID?: string;
@@ -81,6 +88,7 @@ export interface FloatingActionButtonGroupProps {
81
88
  hideOnScroll?: boolean;
82
89
  /** Whether the list behind the group is scrolling right now; wire to your scroll handler. */
83
90
  isScrolling?: boolean;
91
+ /** Styles the group wrapper, not an alias of `style`. */
84
92
  containerStyle?: StyleProp<ViewStyle>;
85
93
  secondaryActionStyle?: StyleProp<ViewStyle>;
86
94
  labelPillStyle?: StyleProp<ViewStyle>;
@@ -8,8 +8,8 @@ export interface ForceUpdateDialogLabels {
8
8
  }
9
9
  export declare const DEFAULT_FORCE_UPDATE_DIALOG_LABELS: ForceUpdateDialogLabels;
10
10
  export interface ForceUpdateDialogProps {
11
- /** Whether the dialog is visible. */
12
- visible: boolean;
11
+ /** Whether the dialog is open. */
12
+ open: boolean;
13
13
  /** Called when the dialog is dismissed (only fired when `mandatory` is `false`). */
14
14
  onClose?: () => void;
15
15
  /**
@@ -43,7 +43,7 @@ export interface ForceUpdateDialogProps {
43
43
  * const { isUpdateRequired, updateUrl } = useVersionCheck(isAppReady);
44
44
  * return (
45
45
  * <ForceUpdateDialog
46
- * visible={isUpdateRequired}
46
+ * open={isUpdateRequired}
47
47
  * mandatory
48
48
  * updateUrl={updateUrl}
49
49
  * />
@@ -11,6 +11,8 @@ export type IconBadgeTone = Tone;
11
11
  * overlaps.
12
12
  */
13
13
  export type IconBadgeFill = "tint" | "halo" | "surface";
14
+ /** `circle`: a full circle. `squircle`: a smooth-cornered square drawn as a path on both platforms. */
15
+ export type IconBadgeShape = "circle" | "squircle";
14
16
  export interface IconBadgeProps {
15
17
  /**
16
18
  * The icon: an AppIcon name (`icon="shield-tick"`), `{ name, variant }`, a
@@ -32,6 +34,8 @@ export interface IconBadgeProps {
32
34
  color?: string;
33
35
  /** Default `'tint'`. See {@link IconBadgeFill}. */
34
36
  fill?: IconBadgeFill;
37
+ /** Default `'circle'`. `'squircle'` draws the smooth-cornered shape instead. */
38
+ shape?: IconBadgeShape;
35
39
  /** Width and height in points, for a host that sizes the circle itself. Wins over `size`; a named icon takes half of it, rounded. */
36
40
  dimension?: number;
37
41
  /**
@@ -1,3 +1,3 @@
1
- export type { IconBadgeFill, IconBadgeProps, IconBadgeSize, IconBadgeTone } from "./IconBadge";
1
+ export type { IconBadgeFill, IconBadgeProps, IconBadgeShape, IconBadgeSize, IconBadgeTone } from "./IconBadge";
2
2
  export { IconBadge } from "./IconBadge";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,7 @@
1
1
  import type React from "react";
2
2
  import type { BlurEvent, FocusEvent, StyleProp, TextInputProps, TextStyle, ViewStyle } from "react-native";
3
3
  import { TextInput } from "react-native";
4
+ import type { RadiusName } from "../../theme/types";
4
5
  import type { FieldVariant, Size } from "../../types/vocabulary";
5
6
  import type { SlotIcon, SlotIconState } from "../AppIcon/slotIcon";
6
7
  import type { ButtonTone, ButtonVariant } from "../Button";
@@ -171,8 +172,8 @@ export interface InputProps extends Omit<TextInputProps, "style"> {
171
172
  labelStyle?: StyleProp<TextStyle>;
172
173
  /** Style applied to the helper/error text below the field. */
173
174
  messageStyle?: StyleProp<TextStyle>;
174
- /** Per-instance override for the field's corner radius. Wins over the field size's radius. */
175
- borderRadius?: number;
175
+ /** A theme radius name (`sm`, `md`, `lg`, `xl`, `pill`) for the field's corner. Wins over the field size's radius. */
176
+ radius?: Exclude<RadiusName, "none">;
176
177
  onFocus?: (e: FocusEvent) => void;
177
178
  onBlur?: (e: BlurEvent) => void;
178
179
  accessibilityLabel?: string;
@@ -10,7 +10,7 @@ export type ListItemSize = Extract<Size, "sm" | "md" | "lg">;
10
10
  /** `menu` is a popup menu row: 48 pt high, no press scale, announced as a menu item. */
11
11
  export type ListItemVariant = "list" | "menu";
12
12
  /**
13
- * Where the `right` slot sits. `side` is beside the text, `below` is under the
13
+ * Where the `trailing` slot sits. `side` is beside the text, `below` is under the
14
14
  * subtitle and description, and `auto` is `side` until the user's text size is
15
15
  * above 1.2 times the default, then `below`, so a badge stops squeezing the title.
16
16
  */
@@ -43,7 +43,7 @@ export interface ListItemProps {
43
43
  subtitle?: React.ReactNode;
44
44
  description?: string;
45
45
  /**
46
- * Content drawn in the text column under the description, before a `right`
46
+ * Content drawn in the text column under the description, before a `trailing`
47
47
  * slot placed below. Inside the row's press target.
48
48
  */
49
49
  children?: React.ReactNode;
@@ -51,17 +51,17 @@ export interface ListItemProps {
51
51
  titleLines?: number;
52
52
  /** Lines a text subtitle may take before it is truncated. Default 1; 0 for no limit. */
53
53
  subtitleLines?: number;
54
- left?: React.ReactNode;
54
+ leading?: React.ReactNode;
55
55
  /**
56
56
  * A leading icon in a tinted circle (an IconBadge sized to the row). Drawn in
57
- * the left slot when `left` is not given; `left` wins when both are set.
57
+ * the leading slot when `leading` is not given; `leading` wins when both are set.
58
58
  */
59
59
  icon?: SlotIcon;
60
60
  /** Tone of the `icon` circle. Default `'primary'`. */
61
61
  iconTone?: Tone;
62
- right?: React.ReactNode;
62
+ trailing?: React.ReactNode;
63
63
  /**
64
- * Where the `right` slot is drawn. Default `'auto'`: beside the text, and
64
+ * Where the `trailing` slot is drawn. Default `'auto'`: beside the text, and
65
65
  * under the subtitle when the font scale is above 1.2. The chevron always
66
66
  * stays at the side.
67
67
  */
@@ -69,7 +69,7 @@ export interface ListItemProps {
69
69
  /**
70
70
  * Selection mode. The whole row becomes one checkbox (role `checkbox`, with
71
71
  * its `checked` state announced) and the box is drawn in the leading slot,
72
- * before any `left` or `icon`. Pressing the row calls `onCheckedChange` and
72
+ * before any `leading` or `icon`. Pressing the row calls `onCheckedChange` and
73
73
  * `onPress` is not used. The box is a drawing, not a control, so nothing
74
74
  * nests inside the row's press target.
75
75
  */
@@ -18,6 +18,8 @@ export interface MarkdownProps<T = string> {
18
18
  onAppLinkPress?: (target: T) => void;
19
19
  /** Called instead of Linking.openURL when a web or contact link is pressed. */
20
20
  onLinkPress?: (href: string) => void;
21
+ /** Opens a relative link, such as `/pricing`, in the host. Without it, relative links show as plain text. */
22
+ onPageLinkPress?: (href: string) => void;
21
23
  /**
22
24
  * When true, renders the component as its authored skeleton placeholder shape.
23
25
  * The placeholder mirrors the real layout's footprint so the UI doesn't reflow
@@ -33,7 +35,7 @@ export interface MarkdownProps<T = string> {
33
35
  * Renders the shared markdown grammar with the theme's own type scale and colours,
34
36
  * with no dependency. Inline HTML is plain text.
35
37
  */
36
- export declare function Markdown<T = string>({ children, links, headings, resolveLink, isCitation, onOpenCitation, onAppLinkPress, onLinkPress, loading, style, textStyle, testID, }: MarkdownProps<T>): React.ReactElement | null;
38
+ export declare function Markdown<T = string>({ children, links, headings, resolveLink, isCitation, onOpenCitation, onAppLinkPress, onLinkPress, onPageLinkPress, loading, style, textStyle, testID, }: MarkdownProps<T>): React.ReactElement | null;
37
39
  export declare namespace Markdown {
38
40
  var displayName: string;
39
41
  }
@@ -20,9 +20,9 @@ export interface MenuProps {
20
20
  presentation?: MenuPresentation;
21
21
  /** Default `'disable'`: unavailable items stay visible, dimmed and focusable. */
22
22
  unavailable?: MenuUnavailable;
23
- /** Controlled visibility. */
24
- visible?: boolean;
25
- onVisibleChange?: (visible: boolean) => void;
23
+ /** Controlled open state. */
24
+ open?: boolean;
25
+ onOpenChange?: (open: boolean) => void;
26
26
  /** Haptic on choosing an item. Pass false to disable; a HapticType to override. */
27
27
  haptic?: HapticType | false;
28
28
  /** Accessible name of the menu when there is no `title`. */
@@ -21,7 +21,7 @@ export interface ContextMenuConfig {
21
21
  presentation?: MenuPresentation;
22
22
  /** Preferred side of the pressed view. Default `'bottom'`. */
23
23
  placement?: PlacementPreference;
24
- onVisibleChange?: (visible: boolean) => void;
24
+ onOpenChange?: (open: boolean) => void;
25
25
  accessibilityLabel?: string;
26
26
  /** Accessible names of the tap-outside area (`close`, default 'Close menu') and of a submenu's Back row (`back`, default 'Back'). */
27
27
  labels?: Partial<MenuLabels>;
@@ -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";
4
4
  import type { PlacementAlign, PlacementPreference } from "../../utils/placement";
5
+ import type { ModalInsets } from "../ModalSafeArea/ModalSafeArea";
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";
2
2
  export { DEFAULT_OTP_INPUT_LABELS, default, OTPInput } from "./OTPInput";
3
+ export type { OTPResendRowLabels, OTPResendRowProps } from "./OTPResendRow";
4
+ export { DEFAULT_OTP_RESEND_ROW_LABELS, OTPResendRow } from "./OTPResendRow";
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";
4
5
  import type { FieldVariant, Size } from "../../types/vocabulary";
5
6
  import type { HapticType } from "../../utils";
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";
1
+ export type { PickerTriggerLabels, PickerTriggerPassThroughProps, PickerTriggerProps, PickerTriggerSize, PickerTriggerVariant, } from "./PickerTrigger";
2
2
  export { DEFAULT_PICKER_TRIGGER_LABELS, default, PickerTrigger } from "./PickerTrigger";
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";
3
4
  import type { FieldVariant, Size } from "../../types/vocabulary";
4
5
  import type { HapticType } from "../../utils/hapticUtils";
5
6
  import type { SlotIcon } from "../AppIcon/slotIcon";
@@ -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";
13
13
  import type { SlotIcon } from "../AppIcon/slotIcon";
14
14
  import type { SelectOption, SelectValue } from "../OptionSheet/OptionSheet";
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";
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