@webority/mobile-ui 0.149.0 → 0.150.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (459) hide show
  1. package/dist/canvas-kit/kit.js +13 -56714
  2. package/dist/canvas-kit/manifest.json +20 -41
  3. package/dist/canvas-kit/release.json +6 -6
  4. package/lib/commonjs/components/Accordion/Accordion.js +1 -1
  5. package/lib/commonjs/components/AppIcon/AppIcon.js +1 -1
  6. package/lib/commonjs/components/AppIcon/glyphs.g.js +1 -1
  7. package/lib/commonjs/components/AsyncBlock/AsyncBlock.js +1 -1
  8. package/lib/commonjs/components/AuthedImage/AuthedImage.js +1 -1
  9. package/lib/commonjs/components/AuthedImage/authedImageCache.js +1 -1
  10. package/lib/commonjs/components/Avatar/Avatar.js +1 -1
  11. package/lib/commonjs/components/Badge/Badge.js +1 -1
  12. package/lib/commonjs/components/Banner/Banner.js +1 -1
  13. package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +1 -1
  14. package/lib/commonjs/components/Box/Box.js +1 -1
  15. package/lib/commonjs/components/Card/Card.js +1 -1
  16. package/lib/commonjs/components/Carousel/Carousel.js +1 -1
  17. package/lib/commonjs/components/Chip/Chip.js +1 -1
  18. package/lib/commonjs/components/ChoiceGroup/ChoiceGroup.js +1 -1
  19. package/lib/commonjs/components/Confetti/Confetti.js +1 -1
  20. package/lib/commonjs/components/DatePicker/DatePicker.js +1 -1
  21. package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +1 -1
  22. package/lib/commonjs/components/Descriptions/Descriptions.js +1 -1
  23. package/lib/commonjs/components/Dialog/Dialog.js +1 -1
  24. package/lib/commonjs/components/FileViewer/fileSource.js +1 -1
  25. package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -1
  26. package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
  27. package/lib/commonjs/components/InlineSelect/InlineSelect.js +1 -1
  28. package/lib/commonjs/components/Input/Input.js +1 -1
  29. package/lib/commonjs/components/ListItem/ListItem.js +1 -1
  30. package/lib/commonjs/components/Markdown/Markdown.js +1 -1
  31. package/lib/commonjs/components/Menu/MenuSurface.js +1 -1
  32. package/lib/commonjs/components/Menu/focusHost.js +1 -1
  33. package/lib/commonjs/components/OptionSheet/OptionSheet.js +1 -1
  34. package/lib/commonjs/components/OptionSheet/optionAccessors.js +1 -0
  35. package/lib/commonjs/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
  36. package/lib/commonjs/components/ProgressRing/ProgressRing.js +1 -1
  37. package/lib/commonjs/components/Radio/RadioGroup.js +1 -1
  38. package/lib/commonjs/components/Rating/Rating.js +1 -1
  39. package/lib/commonjs/components/Repeater/Repeater.js +1 -1
  40. package/lib/commonjs/components/Screen/Screen.js +1 -1
  41. package/lib/commonjs/components/SearchBar/useRecentSearches.js +1 -1
  42. package/lib/commonjs/components/SegmentedControl/SegmentedControl.js +1 -1
  43. package/lib/commonjs/components/Select/Select.js +1 -1
  44. package/lib/commonjs/components/Skeleton/SkeletonContent.js +1 -1
  45. package/lib/commonjs/components/Skeleton/SkeletonList.js +1 -1
  46. package/lib/commonjs/components/Slider/Slider.js +1 -1
  47. package/lib/commonjs/components/SliderField/SliderField.js +1 -1
  48. package/lib/commonjs/components/SortableList/SortableList.js +1 -1
  49. package/lib/commonjs/components/Sparkline/Sparkline.js +1 -1
  50. package/lib/commonjs/components/SquircleFill/SquircleFill.js +1 -1
  51. package/lib/commonjs/components/StatTile/StatTile.js +1 -1
  52. package/lib/commonjs/components/StatusBadge/StatusBadge.js +1 -1
  53. package/lib/commonjs/components/StatusBadge/statusMap.js +1 -1
  54. package/lib/commonjs/components/Stepper/Stepper.js +1 -1
  55. package/lib/commonjs/components/Text/Text.js +1 -1
  56. package/lib/commonjs/components/TimePicker/TimePicker.js +1 -1
  57. package/lib/commonjs/components/WheelPicker/WheelPicker.js +1 -1
  58. package/lib/commonjs/form/HookFormField.js +1 -1
  59. package/lib/commonjs/form/path.js +1 -1
  60. package/lib/commonjs/hooks/useControllableState.js +1 -1
  61. package/lib/commonjs/specs/NativePdfRasterizer.js +1 -1
  62. package/lib/commonjs/theme/ThemeContext.js +1 -1
  63. package/lib/commonjs/theme/animatedValue.js +1 -1
  64. package/lib/commonjs/theme/componentSizes.js +1 -1
  65. package/lib/commonjs/theme/merge.js +1 -1
  66. package/lib/commonjs/theme/scale.js +1 -1
  67. package/lib/commonjs/utils/complete.js +1 -0
  68. package/lib/commonjs/utils/guards.js +1 -0
  69. package/lib/commonjs/utils/hapticUtils.js +1 -1
  70. package/lib/module/components/Accordion/Accordion.js +1 -1
  71. package/lib/module/components/AppIcon/AppIcon.js +1 -1
  72. package/lib/module/components/AppIcon/glyphs.g.js +1 -1
  73. package/lib/module/components/AsyncBlock/AsyncBlock.js +1 -1
  74. package/lib/module/components/AuthedImage/AuthedImage.js +1 -1
  75. package/lib/module/components/AuthedImage/authedImageCache.js +1 -1
  76. package/lib/module/components/Avatar/Avatar.js +1 -1
  77. package/lib/module/components/Badge/Badge.js +1 -1
  78. package/lib/module/components/Banner/Banner.js +1 -1
  79. package/lib/module/components/BottomNavigation/BottomNavigation.js +1 -1
  80. package/lib/module/components/Box/Box.js +1 -1
  81. package/lib/module/components/Card/Card.js +1 -1
  82. package/lib/module/components/Carousel/Carousel.js +1 -1
  83. package/lib/module/components/Chip/Chip.js +1 -1
  84. package/lib/module/components/ChoiceGroup/ChoiceGroup.js +1 -1
  85. package/lib/module/components/Confetti/Confetti.js +1 -1
  86. package/lib/module/components/DatePicker/DatePicker.js +1 -1
  87. package/lib/module/components/DateRangePicker/DateRangePicker.js +1 -1
  88. package/lib/module/components/Descriptions/Descriptions.js +1 -1
  89. package/lib/module/components/Dialog/Dialog.js +1 -1
  90. package/lib/module/components/FileViewer/fileSource.js +1 -1
  91. package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -1
  92. package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
  93. package/lib/module/components/InlineSelect/InlineSelect.js +1 -1
  94. package/lib/module/components/Input/Input.js +1 -1
  95. package/lib/module/components/ListItem/ListItem.js +1 -1
  96. package/lib/module/components/Markdown/Markdown.js +1 -1
  97. package/lib/module/components/Menu/MenuSurface.js +1 -1
  98. package/lib/module/components/Menu/focusHost.js +1 -1
  99. package/lib/module/components/OptionSheet/OptionSheet.js +1 -1
  100. package/lib/module/components/OptionSheet/optionAccessors.js +1 -0
  101. package/lib/module/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
  102. package/lib/module/components/ProgressRing/ProgressRing.js +1 -1
  103. package/lib/module/components/Radio/RadioGroup.js +1 -1
  104. package/lib/module/components/Rating/Rating.js +1 -1
  105. package/lib/module/components/Repeater/Repeater.js +1 -1
  106. package/lib/module/components/Screen/Screen.js +1 -1
  107. package/lib/module/components/SearchBar/useRecentSearches.js +1 -1
  108. package/lib/module/components/SegmentedControl/SegmentedControl.js +1 -1
  109. package/lib/module/components/Select/Select.js +1 -1
  110. package/lib/module/components/Skeleton/SkeletonContent.js +1 -1
  111. package/lib/module/components/Skeleton/SkeletonList.js +1 -1
  112. package/lib/module/components/Slider/Slider.js +1 -1
  113. package/lib/module/components/SliderField/SliderField.js +1 -1
  114. package/lib/module/components/SortableList/SortableList.js +1 -1
  115. package/lib/module/components/Sparkline/Sparkline.js +1 -1
  116. package/lib/module/components/SquircleFill/SquircleFill.js +1 -1
  117. package/lib/module/components/StatTile/StatTile.js +1 -1
  118. package/lib/module/components/StatusBadge/StatusBadge.js +1 -1
  119. package/lib/module/components/StatusBadge/statusMap.js +1 -1
  120. package/lib/module/components/Stepper/Stepper.js +1 -1
  121. package/lib/module/components/Text/Text.js +1 -1
  122. package/lib/module/components/TimePicker/TimePicker.js +1 -1
  123. package/lib/module/components/WheelPicker/WheelPicker.js +1 -1
  124. package/lib/module/form/HookFormField.js +1 -1
  125. package/lib/module/form/path.js +1 -1
  126. package/lib/module/hooks/useControllableState.js +1 -1
  127. package/lib/module/specs/NativePdfRasterizer.js +1 -1
  128. package/lib/module/theme/ThemeContext.js +1 -1
  129. package/lib/module/theme/animatedValue.js +1 -1
  130. package/lib/module/theme/componentSizes.js +1 -1
  131. package/lib/module/theme/merge.js +1 -1
  132. package/lib/module/theme/scale.js +1 -1
  133. package/lib/module/utils/complete.js +1 -0
  134. package/lib/module/utils/guards.js +1 -0
  135. package/lib/module/utils/hapticUtils.js +1 -1
  136. package/lib/typescript/commonjs/canvasKit/index.d.ts +12 -12
  137. package/lib/typescript/commonjs/canvasKit/meta.d.ts +5 -7
  138. package/lib/typescript/commonjs/components/Accordion/Accordion.d.ts +22 -22
  139. package/lib/typescript/commonjs/components/AmountSlider/AmountSlider.d.ts +23 -23
  140. package/lib/typescript/commonjs/components/AnimatePresence/AnimatePresence.d.ts +5 -5
  141. package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +39 -39
  142. package/lib/typescript/commonjs/components/AppIcon/AppIcon.d.ts +7 -7
  143. package/lib/typescript/commonjs/components/AppIcon/defaultIcons.d.ts +2 -1
  144. package/lib/typescript/commonjs/components/AppIcon/glyphs.g.d.ts +233 -233
  145. package/lib/typescript/commonjs/components/AppIcon/slotIcon.d.ts +1 -1
  146. package/lib/typescript/commonjs/components/AppLockOverlay/AppLockOverlay.d.ts +5 -5
  147. package/lib/typescript/commonjs/components/AsyncBlock/AsyncBlock.d.ts +22 -40
  148. package/lib/typescript/commonjs/components/AuthedImage/AuthedImage.d.ts +15 -15
  149. package/lib/typescript/commonjs/components/AuthedImage/authedImageCache.d.ts +2 -2
  150. package/lib/typescript/commonjs/components/Autocomplete/Autocomplete.d.ts +24 -24
  151. package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +36 -36
  152. package/lib/typescript/commonjs/components/Badge/Badge.d.ts +18 -18
  153. package/lib/typescript/commonjs/components/Banner/Banner.d.ts +25 -25
  154. package/lib/typescript/commonjs/components/BarChart/BarChart.d.ts +21 -21
  155. package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +36 -36
  156. package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +32 -32
  157. package/lib/typescript/commonjs/components/Box/Box.d.ts +27 -27
  158. package/lib/typescript/commonjs/components/Button/Button.d.ts +22 -22
  159. package/lib/typescript/commonjs/components/Calendar/Calendar.d.ts +20 -20
  160. package/lib/typescript/commonjs/components/Calendar/CalendarDay.d.ts +4 -2
  161. package/lib/typescript/commonjs/components/Card/Card.d.ts +41 -41
  162. package/lib/typescript/commonjs/components/Carousel/Carousel.d.ts +21 -21
  163. package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +21 -21
  164. package/lib/typescript/commonjs/components/Chip/Chip.d.ts +23 -23
  165. package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +51 -46
  166. package/lib/typescript/commonjs/components/Composer/Composer.d.ts +27 -27
  167. package/lib/typescript/commonjs/components/Confetti/Confetti.d.ts +22 -21
  168. package/lib/typescript/commonjs/components/Confirm/confirm.d.ts +4 -4
  169. package/lib/typescript/commonjs/components/DatePicker/DatePicker.d.ts +20 -20
  170. package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +22 -22
  171. package/lib/typescript/commonjs/components/DateSeparator/DateSeparator.d.ts +9 -9
  172. package/lib/typescript/commonjs/components/DecimalInput/DecimalInput.d.ts +14 -14
  173. package/lib/typescript/commonjs/components/Descriptions/Descriptions.d.ts +13 -13
  174. package/lib/typescript/commonjs/components/Dialog/Dialog.d.ts +24 -24
  175. package/lib/typescript/commonjs/components/Dialog/OverlayActions.d.ts +5 -5
  176. package/lib/typescript/commonjs/components/Divider/Divider.d.ts +9 -9
  177. package/lib/typescript/commonjs/components/Drawer/Drawer.d.ts +14 -14
  178. package/lib/typescript/commonjs/components/EmptyState/EmptyState.d.ts +13 -13
  179. package/lib/typescript/commonjs/components/ErrorBoundary/ErrorBoundary.d.ts +8 -8
  180. package/lib/typescript/commonjs/components/FieldBase/Chevron.d.ts +2 -2
  181. package/lib/typescript/commonjs/components/FieldBase/ChoiceText.d.ts +10 -10
  182. package/lib/typescript/commonjs/components/FieldBase/FieldBase.d.ts +54 -54
  183. package/lib/typescript/commonjs/components/FieldBase/useFloatingLabel.d.ts +8 -8
  184. package/lib/typescript/commonjs/components/FilePicker/FilePicker.d.ts +35 -35
  185. package/lib/typescript/commonjs/components/FileViewer/FileViewer.d.ts +10 -10
  186. package/lib/typescript/commonjs/components/FileViewer/fileSource.d.ts +3 -3
  187. package/lib/typescript/commonjs/components/FilterChipRow/FilterChipRow.d.ts +12 -12
  188. package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +35 -35
  189. package/lib/typescript/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +11 -11
  190. package/lib/typescript/commonjs/components/FormField/FormField.d.ts +15 -15
  191. package/lib/typescript/commonjs/components/IconBadge/IconBadge.d.ts +11 -11
  192. package/lib/typescript/commonjs/components/IconButton/IconButton.d.ts +14 -14
  193. package/lib/typescript/commonjs/components/ImageGallery/ImageGallery.d.ts +14 -14
  194. package/lib/typescript/commonjs/components/InlineSelect/InlineSelect.d.ts +36 -31
  195. package/lib/typescript/commonjs/components/Input/Input.d.ts +47 -47
  196. package/lib/typescript/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +7 -7
  197. package/lib/typescript/commonjs/components/KeyboardToolbar/KeyboardToolbar.d.ts +8 -8
  198. package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +44 -44
  199. package/lib/typescript/commonjs/components/ListSection/ListSection.d.ts +6 -6
  200. package/lib/typescript/commonjs/components/LoaderOverlay/LoaderOverlay.d.ts +17 -11
  201. package/lib/typescript/commonjs/components/Markdown/Markdown.d.ts +15 -15
  202. package/lib/typescript/commonjs/components/Menu/Menu.d.ts +17 -12
  203. package/lib/typescript/commonjs/components/Menu/MenuSurface.d.ts +8 -8
  204. package/lib/typescript/commonjs/components/Menu/menuModel.d.ts +11 -11
  205. package/lib/typescript/commonjs/components/Menu/useContextMenu.d.ts +13 -13
  206. package/lib/typescript/commonjs/components/Menu/webOnly.d.ts +3 -3
  207. package/lib/typescript/commonjs/components/MessageBubble/MessageBubble.d.ts +20 -20
  208. package/lib/typescript/commonjs/components/MessageList/MessageList.d.ts +14 -14
  209. package/lib/typescript/commonjs/components/Modal/Modal.d.ts +19 -19
  210. package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +27 -27
  211. package/lib/typescript/commonjs/components/OTPInput/OTPInput.d.ts +20 -20
  212. package/lib/typescript/commonjs/components/OTPInput/OTPResendRow.d.ts +9 -9
  213. package/lib/typescript/commonjs/components/OnboardingPager/OnboardingPager.d.ts +5 -5
  214. package/lib/typescript/commonjs/components/OptionSheet/OptionSheet.d.ts +33 -33
  215. package/lib/typescript/commonjs/components/OptionSheet/optionAccessors.d.ts +8 -0
  216. package/lib/typescript/commonjs/components/PagedListFooter/PagedListFooter.d.ts +2 -2
  217. package/lib/typescript/commonjs/components/PermissionPrompt/PermissionPrompt.d.ts +6 -6
  218. package/lib/typescript/commonjs/components/PermissionPrompt/usePermissionPrompt.d.ts +1 -1
  219. package/lib/typescript/commonjs/components/PhoneNumberInput/PhoneNumberInput.d.ts +43 -43
  220. package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +23 -23
  221. package/lib/typescript/commonjs/components/ProfileCompletion/ProfileCompletion.d.ts +23 -23
  222. package/lib/typescript/commonjs/components/ProfilePicker/ProfilePicker.d.ts +30 -30
  223. package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +21 -21
  224. package/lib/typescript/commonjs/components/ProgressRing/ProgressRing.d.ts +13 -13
  225. package/lib/typescript/commonjs/components/Radio/Radio.d.ts +18 -18
  226. package/lib/typescript/commonjs/components/Radio/RadioDot.d.ts +5 -5
  227. package/lib/typescript/commonjs/components/Radio/RadioGroup.d.ts +8 -8
  228. package/lib/typescript/commonjs/components/Rating/Rating.d.ts +15 -15
  229. package/lib/typescript/commonjs/components/Repeater/Repeater.d.ts +10 -10
  230. package/lib/typescript/commonjs/components/RichTextEditor/RichTextEditor.d.ts +15 -15
  231. package/lib/typescript/commonjs/components/ScannerOverlay/ScannerOverlay.d.ts +13 -13
  232. package/lib/typescript/commonjs/components/Screen/Screen.d.ts +43 -44
  233. package/lib/typescript/commonjs/components/Screen/index.d.ts +1 -1
  234. package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +31 -31
  235. package/lib/typescript/commonjs/components/SearchBar/SearchPanel.d.ts +6 -6
  236. package/lib/typescript/commonjs/components/SearchBar/useRecentSearches.d.ts +1 -1
  237. package/lib/typescript/commonjs/components/SectionHeader/SectionHeader.d.ts +10 -10
  238. package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +25 -24
  239. package/lib/typescript/commonjs/components/Select/Select.d.ts +50 -45
  240. package/lib/typescript/commonjs/components/SignaturePad/SignaturePad.d.ts +20 -20
  241. package/lib/typescript/commonjs/components/Skeleton/Skeleton.d.ts +13 -13
  242. package/lib/typescript/commonjs/components/Skeleton/SkeletonContent.d.ts +9 -9
  243. package/lib/typescript/commonjs/components/Skeleton/SkeletonList.d.ts +30 -8
  244. package/lib/typescript/commonjs/components/Skeleton/SkeletonProvider.d.ts +9 -9
  245. package/lib/typescript/commonjs/components/SlideToConfirm/SlideToConfirm.d.ts +14 -14
  246. package/lib/typescript/commonjs/components/Slider/Slider.d.ts +30 -30
  247. package/lib/typescript/commonjs/components/Slider/valueText.d.ts +9 -9
  248. package/lib/typescript/commonjs/components/SliderField/SliderField.d.ts +41 -41
  249. package/lib/typescript/commonjs/components/SortableList/SortableList.d.ts +5 -5
  250. package/lib/typescript/commonjs/components/Sparkline/Sparkline.d.ts +13 -13
  251. package/lib/typescript/commonjs/components/Sparkline/geometry.d.ts +3 -1
  252. package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +10 -10
  253. package/lib/typescript/commonjs/components/SquircleFill/SquircleFill.d.ts +3 -3
  254. package/lib/typescript/commonjs/components/SquircleImage/SquircleImage.d.ts +5 -12
  255. package/lib/typescript/commonjs/components/StatTile/StatTile.d.ts +14 -14
  256. package/lib/typescript/commonjs/components/StatusBadge/StatusBadge.d.ts +13 -13
  257. package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +21 -21
  258. package/lib/typescript/commonjs/components/Swipeable/Swipeable.d.ts +15 -15
  259. package/lib/typescript/commonjs/components/Switch/Switch.d.ts +19 -19
  260. package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +20 -20
  261. package/lib/typescript/commonjs/components/TagInput/TagInput.d.ts +19 -19
  262. package/lib/typescript/commonjs/components/Text/Text.d.ts +10 -10
  263. package/lib/typescript/commonjs/components/TimePicker/TimePicker.d.ts +14 -14
  264. package/lib/typescript/commonjs/components/Timeline/Timeline.d.ts +12 -12
  265. package/lib/typescript/commonjs/components/Toast/Toast.d.ts +17 -17
  266. package/lib/typescript/commonjs/components/Toast/ToastProvider.d.ts +8 -8
  267. package/lib/typescript/commonjs/components/Tooltip/RichTooltipBody.d.ts +4 -4
  268. package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts +24 -19
  269. package/lib/typescript/commonjs/components/Tour/Tour.d.ts +7 -7
  270. package/lib/typescript/commonjs/components/TypingIndicator/TypingIndicator.d.ts +6 -6
  271. package/lib/typescript/commonjs/components/WheelPicker/Wheel.d.ts +6 -6
  272. package/lib/typescript/commonjs/components/WheelPicker/WheelPicker.d.ts +20 -20
  273. package/lib/typescript/commonjs/components/ZoomableImage/ZoomableImage.d.ts +8 -8
  274. package/lib/typescript/commonjs/form/HookFormField.d.ts +5 -18
  275. package/lib/typescript/commonjs/form/path.d.ts +4 -2
  276. package/lib/typescript/commonjs/form/useFormCompletion.d.ts +1 -1
  277. package/lib/typescript/commonjs/hooks/useControllableState.d.ts +2 -2
  278. package/lib/typescript/commonjs/hooks/useDragToDismiss.d.ts +3 -3
  279. package/lib/typescript/commonjs/hooks/useFieldErrorScroll.d.ts +1 -1
  280. package/lib/typescript/commonjs/hooks/usePressAnimation.d.ts +4 -4
  281. package/lib/typescript/commonjs/hooks/useRefreshControl.d.ts +8 -8
  282. package/lib/typescript/commonjs/hooks/useResendCountdown.d.ts +1 -1
  283. package/lib/typescript/commonjs/hooks/useScrollDirection.d.ts +1 -1
  284. package/lib/typescript/commonjs/navigation/DiscardGuard.d.ts +2 -2
  285. package/lib/typescript/commonjs/navigation/NavigationScreen.d.ts +3 -3
  286. package/lib/typescript/commonjs/network/NetworkStatusBanner.d.ts +7 -7
  287. package/lib/typescript/commonjs/theme/Gradient.d.ts +2 -2
  288. package/lib/typescript/commonjs/theme/ThemeContext.d.ts +5 -5
  289. package/lib/typescript/commonjs/theme/componentSizes.d.ts +15 -38
  290. package/lib/typescript/commonjs/theme/types.d.ts +84 -84
  291. package/lib/typescript/commonjs/utils/announce.d.ts +1 -1
  292. package/lib/typescript/commonjs/utils/complete.d.ts +5 -0
  293. package/lib/typescript/commonjs/utils/feedback.d.ts +3 -1
  294. package/lib/typescript/commonjs/utils/guards.d.ts +9 -0
  295. package/lib/typescript/commonjs/utils/placement.d.ts +3 -3
  296. package/lib/typescript/commonjs/utils/squircle.d.ts +2 -2
  297. package/lib/typescript/module/canvasKit/index.d.ts +12 -12
  298. package/lib/typescript/module/canvasKit/meta.d.ts +5 -7
  299. package/lib/typescript/module/components/Accordion/Accordion.d.ts +22 -22
  300. package/lib/typescript/module/components/AmountSlider/AmountSlider.d.ts +23 -23
  301. package/lib/typescript/module/components/AnimatePresence/AnimatePresence.d.ts +5 -5
  302. package/lib/typescript/module/components/AppBar/AppBar.d.ts +39 -39
  303. package/lib/typescript/module/components/AppIcon/AppIcon.d.ts +7 -7
  304. package/lib/typescript/module/components/AppIcon/defaultIcons.d.ts +2 -1
  305. package/lib/typescript/module/components/AppIcon/glyphs.g.d.ts +233 -233
  306. package/lib/typescript/module/components/AppIcon/slotIcon.d.ts +1 -1
  307. package/lib/typescript/module/components/AppLockOverlay/AppLockOverlay.d.ts +5 -5
  308. package/lib/typescript/module/components/AsyncBlock/AsyncBlock.d.ts +22 -40
  309. package/lib/typescript/module/components/AuthedImage/AuthedImage.d.ts +15 -15
  310. package/lib/typescript/module/components/AuthedImage/authedImageCache.d.ts +2 -2
  311. package/lib/typescript/module/components/Autocomplete/Autocomplete.d.ts +24 -24
  312. package/lib/typescript/module/components/Avatar/Avatar.d.ts +36 -36
  313. package/lib/typescript/module/components/Badge/Badge.d.ts +18 -18
  314. package/lib/typescript/module/components/Banner/Banner.d.ts +25 -25
  315. package/lib/typescript/module/components/BarChart/BarChart.d.ts +21 -21
  316. package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +36 -36
  317. package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +32 -32
  318. package/lib/typescript/module/components/Box/Box.d.ts +27 -27
  319. package/lib/typescript/module/components/Button/Button.d.ts +22 -22
  320. package/lib/typescript/module/components/Calendar/Calendar.d.ts +20 -20
  321. package/lib/typescript/module/components/Calendar/CalendarDay.d.ts +4 -2
  322. package/lib/typescript/module/components/Card/Card.d.ts +41 -41
  323. package/lib/typescript/module/components/Carousel/Carousel.d.ts +21 -21
  324. package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +21 -21
  325. package/lib/typescript/module/components/Chip/Chip.d.ts +23 -23
  326. package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +51 -46
  327. package/lib/typescript/module/components/Composer/Composer.d.ts +27 -27
  328. package/lib/typescript/module/components/Confetti/Confetti.d.ts +22 -21
  329. package/lib/typescript/module/components/Confirm/confirm.d.ts +4 -4
  330. package/lib/typescript/module/components/DatePicker/DatePicker.d.ts +20 -20
  331. package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +22 -22
  332. package/lib/typescript/module/components/DateSeparator/DateSeparator.d.ts +9 -9
  333. package/lib/typescript/module/components/DecimalInput/DecimalInput.d.ts +14 -14
  334. package/lib/typescript/module/components/Descriptions/Descriptions.d.ts +13 -13
  335. package/lib/typescript/module/components/Dialog/Dialog.d.ts +24 -24
  336. package/lib/typescript/module/components/Dialog/OverlayActions.d.ts +5 -5
  337. package/lib/typescript/module/components/Divider/Divider.d.ts +9 -9
  338. package/lib/typescript/module/components/Drawer/Drawer.d.ts +14 -14
  339. package/lib/typescript/module/components/EmptyState/EmptyState.d.ts +13 -13
  340. package/lib/typescript/module/components/ErrorBoundary/ErrorBoundary.d.ts +8 -8
  341. package/lib/typescript/module/components/FieldBase/Chevron.d.ts +2 -2
  342. package/lib/typescript/module/components/FieldBase/ChoiceText.d.ts +10 -10
  343. package/lib/typescript/module/components/FieldBase/FieldBase.d.ts +54 -54
  344. package/lib/typescript/module/components/FieldBase/useFloatingLabel.d.ts +8 -8
  345. package/lib/typescript/module/components/FilePicker/FilePicker.d.ts +35 -35
  346. package/lib/typescript/module/components/FileViewer/FileViewer.d.ts +10 -10
  347. package/lib/typescript/module/components/FileViewer/fileSource.d.ts +3 -3
  348. package/lib/typescript/module/components/FilterChipRow/FilterChipRow.d.ts +12 -12
  349. package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +35 -35
  350. package/lib/typescript/module/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +11 -11
  351. package/lib/typescript/module/components/FormField/FormField.d.ts +15 -15
  352. package/lib/typescript/module/components/IconBadge/IconBadge.d.ts +11 -11
  353. package/lib/typescript/module/components/IconButton/IconButton.d.ts +14 -14
  354. package/lib/typescript/module/components/ImageGallery/ImageGallery.d.ts +14 -14
  355. package/lib/typescript/module/components/InlineSelect/InlineSelect.d.ts +36 -31
  356. package/lib/typescript/module/components/Input/Input.d.ts +47 -47
  357. package/lib/typescript/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +7 -7
  358. package/lib/typescript/module/components/KeyboardToolbar/KeyboardToolbar.d.ts +8 -8
  359. package/lib/typescript/module/components/ListItem/ListItem.d.ts +44 -44
  360. package/lib/typescript/module/components/ListSection/ListSection.d.ts +6 -6
  361. package/lib/typescript/module/components/LoaderOverlay/LoaderOverlay.d.ts +17 -11
  362. package/lib/typescript/module/components/Markdown/Markdown.d.ts +15 -15
  363. package/lib/typescript/module/components/Menu/Menu.d.ts +17 -12
  364. package/lib/typescript/module/components/Menu/MenuSurface.d.ts +8 -8
  365. package/lib/typescript/module/components/Menu/menuModel.d.ts +11 -11
  366. package/lib/typescript/module/components/Menu/useContextMenu.d.ts +13 -13
  367. package/lib/typescript/module/components/Menu/webOnly.d.ts +3 -3
  368. package/lib/typescript/module/components/MessageBubble/MessageBubble.d.ts +20 -20
  369. package/lib/typescript/module/components/MessageList/MessageList.d.ts +14 -14
  370. package/lib/typescript/module/components/Modal/Modal.d.ts +19 -19
  371. package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +27 -27
  372. package/lib/typescript/module/components/OTPInput/OTPInput.d.ts +20 -20
  373. package/lib/typescript/module/components/OTPInput/OTPResendRow.d.ts +9 -9
  374. package/lib/typescript/module/components/OnboardingPager/OnboardingPager.d.ts +5 -5
  375. package/lib/typescript/module/components/OptionSheet/OptionSheet.d.ts +33 -33
  376. package/lib/typescript/module/components/OptionSheet/optionAccessors.d.ts +8 -0
  377. package/lib/typescript/module/components/PagedListFooter/PagedListFooter.d.ts +2 -2
  378. package/lib/typescript/module/components/PermissionPrompt/PermissionPrompt.d.ts +6 -6
  379. package/lib/typescript/module/components/PermissionPrompt/usePermissionPrompt.d.ts +1 -1
  380. package/lib/typescript/module/components/PhoneNumberInput/PhoneNumberInput.d.ts +43 -43
  381. package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +23 -23
  382. package/lib/typescript/module/components/ProfileCompletion/ProfileCompletion.d.ts +23 -23
  383. package/lib/typescript/module/components/ProfilePicker/ProfilePicker.d.ts +30 -30
  384. package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +21 -21
  385. package/lib/typescript/module/components/ProgressRing/ProgressRing.d.ts +13 -13
  386. package/lib/typescript/module/components/Radio/Radio.d.ts +18 -18
  387. package/lib/typescript/module/components/Radio/RadioDot.d.ts +5 -5
  388. package/lib/typescript/module/components/Radio/RadioGroup.d.ts +8 -8
  389. package/lib/typescript/module/components/Rating/Rating.d.ts +15 -15
  390. package/lib/typescript/module/components/Repeater/Repeater.d.ts +10 -10
  391. package/lib/typescript/module/components/RichTextEditor/RichTextEditor.d.ts +15 -15
  392. package/lib/typescript/module/components/ScannerOverlay/ScannerOverlay.d.ts +13 -13
  393. package/lib/typescript/module/components/Screen/Screen.d.ts +43 -44
  394. package/lib/typescript/module/components/Screen/index.d.ts +1 -1
  395. package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +31 -31
  396. package/lib/typescript/module/components/SearchBar/SearchPanel.d.ts +6 -6
  397. package/lib/typescript/module/components/SearchBar/useRecentSearches.d.ts +1 -1
  398. package/lib/typescript/module/components/SectionHeader/SectionHeader.d.ts +10 -10
  399. package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +25 -24
  400. package/lib/typescript/module/components/Select/Select.d.ts +50 -45
  401. package/lib/typescript/module/components/SignaturePad/SignaturePad.d.ts +20 -20
  402. package/lib/typescript/module/components/Skeleton/Skeleton.d.ts +13 -13
  403. package/lib/typescript/module/components/Skeleton/SkeletonContent.d.ts +9 -9
  404. package/lib/typescript/module/components/Skeleton/SkeletonList.d.ts +30 -8
  405. package/lib/typescript/module/components/Skeleton/SkeletonProvider.d.ts +9 -9
  406. package/lib/typescript/module/components/SlideToConfirm/SlideToConfirm.d.ts +14 -14
  407. package/lib/typescript/module/components/Slider/Slider.d.ts +30 -30
  408. package/lib/typescript/module/components/Slider/valueText.d.ts +9 -9
  409. package/lib/typescript/module/components/SliderField/SliderField.d.ts +41 -41
  410. package/lib/typescript/module/components/SortableList/SortableList.d.ts +5 -5
  411. package/lib/typescript/module/components/Sparkline/Sparkline.d.ts +13 -13
  412. package/lib/typescript/module/components/Sparkline/geometry.d.ts +3 -1
  413. package/lib/typescript/module/components/Spinner/Spinner.d.ts +10 -10
  414. package/lib/typescript/module/components/SquircleFill/SquircleFill.d.ts +3 -3
  415. package/lib/typescript/module/components/SquircleImage/SquircleImage.d.ts +5 -12
  416. package/lib/typescript/module/components/StatTile/StatTile.d.ts +14 -14
  417. package/lib/typescript/module/components/StatusBadge/StatusBadge.d.ts +13 -13
  418. package/lib/typescript/module/components/Stepper/Stepper.d.ts +21 -21
  419. package/lib/typescript/module/components/Swipeable/Swipeable.d.ts +15 -15
  420. package/lib/typescript/module/components/Switch/Switch.d.ts +19 -19
  421. package/lib/typescript/module/components/Tabs/Tabs.d.ts +20 -20
  422. package/lib/typescript/module/components/TagInput/TagInput.d.ts +19 -19
  423. package/lib/typescript/module/components/Text/Text.d.ts +10 -10
  424. package/lib/typescript/module/components/TimePicker/TimePicker.d.ts +14 -14
  425. package/lib/typescript/module/components/Timeline/Timeline.d.ts +12 -12
  426. package/lib/typescript/module/components/Toast/Toast.d.ts +17 -17
  427. package/lib/typescript/module/components/Toast/ToastProvider.d.ts +8 -8
  428. package/lib/typescript/module/components/Tooltip/RichTooltipBody.d.ts +4 -4
  429. package/lib/typescript/module/components/Tooltip/Tooltip.d.ts +24 -19
  430. package/lib/typescript/module/components/Tour/Tour.d.ts +7 -7
  431. package/lib/typescript/module/components/TypingIndicator/TypingIndicator.d.ts +6 -6
  432. package/lib/typescript/module/components/WheelPicker/Wheel.d.ts +6 -6
  433. package/lib/typescript/module/components/WheelPicker/WheelPicker.d.ts +20 -20
  434. package/lib/typescript/module/components/ZoomableImage/ZoomableImage.d.ts +8 -8
  435. package/lib/typescript/module/form/HookFormField.d.ts +5 -18
  436. package/lib/typescript/module/form/path.d.ts +4 -2
  437. package/lib/typescript/module/form/useFormCompletion.d.ts +1 -1
  438. package/lib/typescript/module/hooks/useControllableState.d.ts +2 -2
  439. package/lib/typescript/module/hooks/useDragToDismiss.d.ts +3 -3
  440. package/lib/typescript/module/hooks/useFieldErrorScroll.d.ts +1 -1
  441. package/lib/typescript/module/hooks/usePressAnimation.d.ts +4 -4
  442. package/lib/typescript/module/hooks/useRefreshControl.d.ts +8 -8
  443. package/lib/typescript/module/hooks/useResendCountdown.d.ts +1 -1
  444. package/lib/typescript/module/hooks/useScrollDirection.d.ts +1 -1
  445. package/lib/typescript/module/navigation/DiscardGuard.d.ts +2 -2
  446. package/lib/typescript/module/navigation/NavigationScreen.d.ts +3 -3
  447. package/lib/typescript/module/network/NetworkStatusBanner.d.ts +7 -7
  448. package/lib/typescript/module/theme/Gradient.d.ts +2 -2
  449. package/lib/typescript/module/theme/ThemeContext.d.ts +5 -5
  450. package/lib/typescript/module/theme/componentSizes.d.ts +15 -38
  451. package/lib/typescript/module/theme/types.d.ts +84 -84
  452. package/lib/typescript/module/utils/announce.d.ts +1 -1
  453. package/lib/typescript/module/utils/complete.d.ts +5 -0
  454. package/lib/typescript/module/utils/feedback.d.ts +3 -1
  455. package/lib/typescript/module/utils/guards.d.ts +9 -0
  456. package/lib/typescript/module/utils/placement.d.ts +3 -3
  457. package/lib/typescript/module/utils/squircle.d.ts +2 -2
  458. package/package.json +9 -9
  459. package/src/specs/NativePdfRasterizer.ts +1 -1
@@ -9,6 +9,7 @@ export interface SparklineGeometry {
9
9
  y: number;
10
10
  } | null;
11
11
  }
12
+ declare const finite: (data: ReadonlyArray<number>) => number[];
12
13
  /**
13
14
  * Lays the series out in real pixels. The range is the series' own (a
14
15
  * dynamic range, not zero based: a sparkline shows shape, not size); a flat
@@ -16,5 +17,6 @@ export interface SparklineGeometry {
16
17
  * that are not finite numbers are dropped.
17
18
  */
18
19
  export declare const sparklineGeometry: (data: ReadonlyArray<number>, width: number, height: number, inset: number) => SparklineGeometry;
19
- export declare const finiteValues: (data: ReadonlyArray<number>) => number[];
20
+ export declare const finiteValues: typeof finite;
21
+ export {};
20
22
  //# sourceMappingURL=geometry.d.ts.map
@@ -8,22 +8,22 @@ export interface SpinnerLabels {
8
8
  }
9
9
  export declare const DEFAULT_SPINNER_LABELS: Readonly<SpinnerLabels>;
10
10
  export interface SpinnerProps {
11
- size?: SpinnerSize;
12
- color?: string;
13
- message?: string;
11
+ size?: SpinnerSize | undefined;
12
+ color?: string | undefined;
13
+ message?: string | undefined;
14
14
  /** Ignored by `variant="contained"`, which fills its own parent instead. */
15
- overlay?: boolean;
16
- backdropColor?: string;
15
+ overlay?: boolean | undefined;
16
+ backdropColor?: string | undefined;
17
17
  /**
18
18
  * `'contained'` draws the indicator on a tinted round container and fills
19
19
  * the card or section it sits in (no backdrop, no elevation), so one slow
20
20
  * section can load without a full-screen spinner. Library default: `'circular'`.
21
21
  */
22
- variant?: SpinnerVariant;
23
- accessibilityLabel?: string;
24
- labels?: Partial<SpinnerLabels>;
25
- style?: StyleProp<ViewStyle>;
26
- testID?: string;
22
+ variant?: SpinnerVariant | undefined;
23
+ accessibilityLabel?: string | undefined;
24
+ labels?: Partial<SpinnerLabels> | undefined;
25
+ style?: StyleProp<ViewStyle> | undefined;
26
+ testID?: string | undefined;
27
27
  }
28
28
  declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HostInstance>>;
29
29
  export { Spinner };
@@ -30,10 +30,10 @@ export interface SquircleFillProps {
30
30
  /** Fill colour; an Animated interpolation follows the host's state animation. */
31
31
  fill: SquircleColor;
32
32
  /** Border colour; omitted or transparent draws no border. */
33
- stroke?: SquircleColor;
33
+ stroke?: SquircleColor | undefined;
34
34
  /** Border width; the path is inset by half of it so the outer edge meets the host's bounds. */
35
- strokeWidth?: number;
36
- testID?: string;
35
+ strokeWidth?: number | undefined;
36
+ testID?: string | undefined;
37
37
  }
38
38
  export declare function SquircleFill({ width, height, radius, fill, stroke, strokeWidth, testID }: SquircleFillProps): import("react").JSX.Element;
39
39
  export declare namespace SquircleFill {
@@ -4,19 +4,12 @@ export interface SquircleImageProps extends ImageProps {
4
4
  /** Corner radius token of the image: none, sm, md, lg, xl or pill. */
5
5
  radius: RadiusName;
6
6
  /** Paints the corners outside the smooth curve on Android. Default: the theme's base surface. */
7
- cornerColor?: string;
7
+ cornerColor?: string | undefined;
8
+ }
9
+ declare function SquircleImage({ radius, cornerColor, style, onLayout, ...imageProps }: SquircleImageProps): import("react").JSX.Element;
10
+ declare namespace SquircleImage {
11
+ var displayName: string;
8
12
  }
9
- /**
10
- * An expo-image whose corners are smooth on both platforms. iOS clips the
11
- * image to the continuous curve natively. Android clips to the native corner
12
- * and paints `cornerColor` over the corners outside the squircle, so it
13
- * matches the iOS shape without a separate clip. Every expo-image prop passes
14
- * through.
15
- */
16
- declare const SquircleImage: {
17
- ({ radius, cornerColor, style, onLayout, ...imageProps }: SquircleImageProps): import("react").JSX.Element;
18
- displayName: string;
19
- };
20
13
  export { SquircleImage };
21
14
  export default SquircleImage;
22
15
  //# sourceMappingURL=SquircleImage.d.ts.map
@@ -12,9 +12,9 @@ export interface StatTileTrend {
12
12
  /** Which way the figure moved. `'flat'` draws a dash and no sign. */
13
13
  direction: "up" | "down" | "flat";
14
14
  /** Which direction is good news. Colours the change green or red. Default `'up'`. */
15
- goodWhen?: "up" | "down";
15
+ goodWhen?: "up" | "down" | undefined;
16
16
  /** What the change is measured against, written in full: "vs last month". */
17
- period?: string;
17
+ period?: string | undefined;
18
18
  }
19
19
  export interface StatTileLabels {
20
20
  trendUp: string;
@@ -28,33 +28,33 @@ export interface StatTileProps {
28
28
  /** The figure, always given. A string or number is drawn in the heading style; a node is drawn as is. */
29
29
  value: NonNullable<ReactNode>;
30
30
  /** Leading icon in a tinted circle: an AppIcon name, `{ name, variant }`, a render fn or any node. */
31
- icon?: SlotIcon;
31
+ icon?: SlotIcon | undefined;
32
32
  /** Iconsax style for `icon` given as a name. Default `'linear'`. */
33
- iconVariant?: IconVariant;
33
+ iconVariant?: IconVariant | undefined;
34
34
  /** Tone of the icon circle. Default `'primary'`. */
35
- tone?: Tone;
35
+ tone?: Tone | undefined;
36
36
  /** A small line under the figure (a period, a delta). */
37
- caption?: ReactNode;
37
+ caption?: ReactNode | undefined;
38
38
  /**
39
39
  * How the figure changed. Drawn under the figure as an arrow, a sign and the change, so the
40
40
  * direction never rests on colour alone: "+12.4% vs last month".
41
41
  */
42
- trend?: StatTileTrend;
42
+ trend?: StatTileTrend | undefined;
43
43
  /** A small chart under the tile's text, usually a `Sparkline`. */
44
- sparkline?: ReactNode;
44
+ sparkline?: ReactNode | undefined;
45
45
  /** Makes the tile pressable, with the button role. */
46
- onPress?: () => void;
46
+ onPress?: (() => void) | undefined;
47
47
  /** Draws a placeholder of the same footprint while the figure loads. */
48
- loading?: boolean;
48
+ loading?: boolean | undefined;
49
49
  /**
50
50
  * Announced instead of the label and figure. Defaults to `"label, value"` for a text figure,
51
51
  * with the change after it ("up 12.4% vs last month") when there is a `trend`.
52
52
  */
53
- accessibilityLabel?: string;
53
+ accessibilityLabel?: string | undefined;
54
54
  /** The words the spoken trend uses for each direction. Give only the ones to change. */
55
- labels?: Partial<StatTileLabels>;
56
- style?: StyleProp<ViewStyle>;
57
- testID?: string;
55
+ labels?: Partial<StatTileLabels> | undefined;
56
+ style?: StyleProp<ViewStyle> | undefined;
57
+ testID?: string | undefined;
58
58
  }
59
59
  declare const StatTile: ForwardRefExoticComponent<StatTileProps & RefAttributes<HostInstance>>;
60
60
  export { StatTile };
@@ -30,35 +30,35 @@ export type StatusBadgeSize = Extract<Size, "sm" | "md">;
30
30
  export interface StatusBadgeProps {
31
31
  /** The status as the reader should see it ("Active", "Pending review"). */
32
32
  label: string;
33
- tone?: StatusBadgeTone;
34
- variant?: StatusBadgeVariant;
35
- size?: StatusBadgeSize;
33
+ tone?: StatusBadgeTone | undefined;
34
+ variant?: StatusBadgeVariant | undefined;
35
+ size?: StatusBadgeSize | undefined;
36
36
  /** Default `'tone'`. See {@link StatusBadgeInk}. */
37
- ink?: StatusBadgeInk;
37
+ ink?: StatusBadgeInk | undefined;
38
38
  /** Weight of the label. Default `'semibold'`. */
39
- weight?: StatusBadgeWeight;
39
+ weight?: StatusBadgeWeight | undefined;
40
40
  /** Default `'default'`. See {@link StatusBadgePadding}. */
41
- padding?: StatusBadgePadding;
41
+ padding?: StatusBadgePadding | undefined;
42
42
  /** A small disc before the label in the status colour. */
43
- dot?: boolean;
43
+ dot?: boolean | undefined;
44
44
  /**
45
45
  * A status colour of the app's own, `#RRGGBB`, for a status the backend
46
46
  * names with a colour rather than a tone (a pipeline stage, a category).
47
47
  * Fill, border, text and dot all derive from it, so nothing else needs
48
48
  * naming. Wins over `tone`. A non-hex value falls back to the tone.
49
49
  */
50
- color?: string;
50
+ color?: string | undefined;
51
51
  /**
52
52
  * When true, renders the component as its authored skeleton placeholder shape.
53
53
  * The placeholder mirrors the real layout's footprint so the UI doesn't reflow
54
54
  * when data arrives. Use this while the data driving the component is being fetched.
55
55
  */
56
- loading?: boolean;
56
+ loading?: boolean | undefined;
57
57
  /** Defaults to the label. */
58
- accessibilityLabel?: string;
59
- style?: StyleProp<ViewStyle>;
60
- textStyle?: StyleProp<TextStyle>;
61
- testID?: string;
58
+ accessibilityLabel?: string | undefined;
59
+ style?: StyleProp<ViewStyle> | undefined;
60
+ textStyle?: StyleProp<TextStyle> | undefined;
61
+ testID?: string | undefined;
62
62
  }
63
63
  declare const StatusBadge: React.ForwardRefExoticComponent<StatusBadgeProps & React.RefAttributes<HostInstance>> & {
64
64
  Skeleton: React.FC<StatusBadgeProps>;
@@ -21,8 +21,8 @@ export type StepperPressMode = "none" | "back" | "select";
21
21
  export interface StepperStep {
22
22
  key: string;
23
23
  label: string;
24
- description?: string;
25
- icon?: React.ReactNode;
24
+ description?: string | undefined;
25
+ icon?: React.ReactNode | undefined;
26
26
  }
27
27
  export interface StepperLabels {
28
28
  step: (index: number, total: number, label: string, status: string) => string;
@@ -44,53 +44,53 @@ export interface StepperProps {
44
44
  * active step controlled; leave it out and the stepper keeps its own,
45
45
  * starting at `defaultActiveStep`.
46
46
  */
47
- activeStep?: number | null;
47
+ activeStep?: number | null | undefined;
48
48
  /** Starting active step when `activeStep` is left out. Default 0. */
49
- defaultActiveStep?: number | null;
49
+ defaultActiveStep?: number | null | undefined;
50
50
  /** What a tap on a step does. Default `none`. */
51
- pressMode?: StepperPressMode;
51
+ pressMode?: StepperPressMode | undefined;
52
52
  /** Every accepted tap, with the step's index, before the state changes. */
53
- onStepPress?: (index: number) => void;
53
+ onStepPress?: ((index: number) => void) | undefined;
54
54
  /** The new active step after a tap; `null` for none. */
55
- onActiveStepChange?: (index: number | null) => void;
56
- variant?: StepperVariant;
57
- tone?: StepperTone;
55
+ onActiveStepChange?: ((index: number | null) => void) | undefined;
56
+ variant?: StepperVariant | undefined;
57
+ tone?: StepperTone | undefined;
58
58
  /**
59
59
  * `segmented` only: the caption above the bars. Receives the zero-based
60
60
  * index of the active step (`null` when none is active), the step count
61
61
  * and that step. Default `Step 2 of 3 · Billing`, or `1 of 3 done` with no
62
62
  * active step.
63
63
  */
64
- formatCaption?: (index: number | null, total: number, step: StepperStep | undefined) => string;
64
+ formatCaption?: ((index: number | null, total: number, step: StepperStep | undefined) => string) | undefined;
65
65
  /**
66
66
  * `segmented` only: whether the caption above the bars is drawn. Pass false
67
67
  * to show the bars alone, for a screen that already says which step it is
68
68
  * on. The progressbar's accessibility label and value are unchanged.
69
69
  * Default true.
70
70
  */
71
- showCaption?: boolean;
71
+ showCaption?: boolean | undefined;
72
72
  /** Overrides for the words the stepper speaks and draws, merged over the English defaults. */
73
- labels?: Partial<StepperLabels>;
73
+ labels?: Partial<StepperLabels> | undefined;
74
74
  /**
75
75
  * When true, renders the component as its authored skeleton placeholder shape.
76
76
  * The placeholder mirrors the real layout's footprint so the UI doesn't reflow
77
77
  * when data arrives. Use this while the data driving the component is being fetched.
78
78
  */
79
- loading?: boolean;
80
- accessibilityLabel?: string;
79
+ loading?: boolean | undefined;
80
+ accessibilityLabel?: string | undefined;
81
81
  /** The outer box. Applied last on that node, so it wins over containerStyle. */
82
- style?: StyleProp<ViewStyle>;
82
+ style?: StyleProp<ViewStyle> | undefined;
83
83
  /** Alias of style, applied before it on the same node. Use style. */
84
- containerStyle?: StyleProp<ViewStyle>;
85
- circleStyle?: StyleProp<ViewStyle>;
86
- labelStyle?: StyleProp<TextStyle>;
87
- connectorStyle?: StyleProp<ViewStyle>;
84
+ containerStyle?: StyleProp<ViewStyle> | undefined;
85
+ circleStyle?: StyleProp<ViewStyle> | undefined;
86
+ labelStyle?: StyleProp<TextStyle> | undefined;
87
+ connectorStyle?: StyleProp<ViewStyle> | undefined;
88
88
  /**
89
89
  * Haptic feedback for interactions. Pass false to disable; pass a HapticType
90
90
  * to override the default.
91
91
  */
92
- haptic?: HapticType | false;
93
- testID?: string;
92
+ haptic?: HapticType | false | undefined;
93
+ testID?: string | undefined;
94
94
  }
95
95
  declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<HostInstance>> & {
96
96
  Skeleton: React.FC<StepperProps>;
@@ -23,28 +23,28 @@ export type SwipeableTone = Tone;
23
23
  export interface SwipeableAction {
24
24
  key: string;
25
25
  label: string;
26
- icon?: SlotIcon;
26
+ icon?: SlotIcon | undefined;
27
27
  onPress: () => void;
28
- tone?: SwipeableTone;
28
+ tone?: SwipeableTone | undefined;
29
29
  }
30
30
  export interface SwipeableProps {
31
31
  children: React.ReactNode;
32
- leftActions?: SwipeableAction[];
33
- rightActions?: SwipeableAction[];
32
+ leftActions?: SwipeableAction[] | undefined;
33
+ rightActions?: SwipeableAction[] | undefined;
34
34
  /** px to fully reveal the row of actions; default 80 */
35
- threshold?: number;
35
+ threshold?: number | undefined;
36
36
  /** px past which the first action fires automatically + content slides off-screen; default 200 */
37
- fullSwipeThreshold?: number;
38
- onSwipeOpen?: (side: "left" | "right") => void;
39
- onSwipeClose?: () => void;
40
- disabled?: boolean;
37
+ fullSwipeThreshold?: number | undefined;
38
+ onSwipeOpen?: ((side: "left" | "right") => void) | undefined;
39
+ onSwipeClose?: (() => void) | undefined;
40
+ disabled?: boolean | undefined;
41
41
  /** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
42
- haptic?: HapticType | false;
43
- containerStyle?: StyleProp<ViewStyle>;
44
- contentStyle?: StyleProp<ViewStyle>;
45
- actionStyle?: StyleProp<ViewStyle>;
46
- accessibilityLabel?: string;
47
- testID?: string;
42
+ haptic?: HapticType | false | undefined;
43
+ containerStyle?: StyleProp<ViewStyle> | undefined;
44
+ contentStyle?: StyleProp<ViewStyle> | undefined;
45
+ actionStyle?: StyleProp<ViewStyle> | undefined;
46
+ accessibilityLabel?: string | undefined;
47
+ testID?: string | undefined;
48
48
  }
49
49
  declare const Swipeable: React.FC<SwipeableProps>;
50
50
  export { Swipeable };
@@ -7,26 +7,26 @@ export type SwitchTone = Tone;
7
7
  /** `inline`: the control, then the text beside it. `row`: the text on the left, the control on the right, the whole row pressable. */
8
8
  export type SwitchLayout = "inline" | "row";
9
9
  export interface SwitchProps extends Omit<PressableProps, "style" | "children" | "onPress"> {
10
- value?: boolean;
11
- defaultValue?: boolean;
12
- onChange?: (value: boolean) => void;
13
- disabled?: boolean;
14
- size?: SwitchSize;
15
- tone?: SwitchTone;
10
+ value?: boolean | undefined;
11
+ defaultValue?: boolean | undefined;
12
+ onChange?: ((value: boolean) => void) | undefined;
13
+ disabled?: boolean | undefined;
14
+ size?: SwitchSize | undefined;
15
+ tone?: SwitchTone | undefined;
16
16
  /**
17
17
  * A string, or a node for a symbol with a subscript. A node label needs an
18
18
  * explicit `accessibilityLabel` (the switch's screen-reader name).
19
19
  */
20
- label?: ReactNode;
20
+ label?: ReactNode | undefined;
21
21
  /** Secondary line under the label. */
22
- description?: string;
22
+ description?: string | undefined;
23
23
  /** A hint under the label, description and error. */
24
- helperText?: string;
24
+ helperText?: string | undefined;
25
25
  /**
26
26
  * Error line under the label (and description); also outlines the off track in the error colour.
27
27
  * `true` shows the error state without a message.
28
28
  */
29
- error?: string | boolean;
29
+ error?: string | boolean | undefined;
30
30
  /**
31
31
  * `'inline'` (default): the control with the text beside it. `'row'`: the
32
32
  * label and description on the left (taking the free width), the control on
@@ -34,21 +34,21 @@ export interface SwitchProps extends Omit<PressableProps, "style" | "children" |
34
34
  * target and accessibility element. Without a label or description `'row'`
35
35
  * draws the bare control, as `'inline'` does.
36
36
  */
37
- layout?: SwitchLayout;
38
- accessibilityLabel?: string;
39
- haptic?: HapticType | false;
37
+ layout?: SwitchLayout | undefined;
38
+ accessibilityLabel?: string | undefined;
39
+ haptic?: HapticType | false | undefined;
40
40
  /**
41
41
  * When true, the thumb briefly scales up on value change (1 → 1.15 → 1).
42
42
  * Use for playful/brand-flavored switches; default off for system feel.
43
43
  */
44
- bounce?: boolean;
44
+ bounce?: boolean | undefined;
45
45
  /** The outer box. Applied last on that node, so it wins over containerStyle. */
46
- style?: StyleProp<ViewStyle>;
46
+ style?: StyleProp<ViewStyle> | undefined;
47
47
  /** Alias of style, applied before it on the same node. Use style. With no label or text, it wraps the Pressable instead. */
48
- containerStyle?: StyleProp<ViewStyle>;
49
- trackStyle?: StyleProp<ViewStyle>;
50
- thumbStyle?: StyleProp<ViewStyle>;
51
- testID?: string;
48
+ containerStyle?: StyleProp<ViewStyle> | undefined;
49
+ trackStyle?: StyleProp<ViewStyle> | undefined;
50
+ thumbStyle?: StyleProp<ViewStyle> | undefined;
51
+ testID?: string | undefined;
52
52
  }
53
53
  declare const Switch: ForwardRefExoticComponent<SwitchProps & RefAttributes<HostInstance>>;
54
54
  export { Switch };
@@ -40,45 +40,45 @@ export type TabItemIcon = SlotIcon<TabItemIconState>;
40
40
  export interface TabItem {
41
41
  key: string;
42
42
  label: string;
43
- icon?: TabItemIcon;
43
+ icon?: TabItemIcon | undefined;
44
44
  /** Optional numeric/string badge — rendered inline after the label when provided. */
45
- badge?: string | number;
46
- disabled?: boolean;
45
+ badge?: string | number | undefined;
46
+ disabled?: boolean | undefined;
47
47
  }
48
48
  export interface TabsProps {
49
49
  tabs: TabItem[];
50
50
  activeKey: string;
51
51
  onChange: (key: string) => void;
52
- variant?: TabsVariant;
52
+ variant?: TabsVariant | undefined;
53
53
  /**
54
54
  * Corner radius, a theme token or a pixel number. Rounds the segmented
55
55
  * track (the thumb nests inside it, its corner the track's minus the inset),
56
56
  * the pill, and the ends of the underline. Unset, each variant keeps its own
57
57
  * default: `md` track with an `sm` thumb, a `pill`-radius pill, a square underline.
58
58
  */
59
- radius?: TabsRadius;
59
+ radius?: TabsRadius | undefined;
60
60
  /**
61
61
  * Scales the type, the tab padding and the icon together. `md` is the
62
62
  * default look. On the segmented variant the size is SegmentedControl's
63
63
  * size of the same name.
64
64
  */
65
- size?: TabsSize;
66
- scrollable?: boolean;
65
+ size?: TabsSize | undefined;
66
+ scrollable?: boolean | undefined;
67
67
  /** One page per tab, swiped horizontally under the bar; the shown page follows `activeKey`, and a swipe calls `onChange` with the new tab's key. */
68
- pages?: ReactNode[];
69
- align?: TabsAlign;
70
- style?: StyleProp<ViewStyle>;
71
- tabStyle?: StyleProp<ViewStyle>;
68
+ pages?: ReactNode[] | undefined;
69
+ align?: TabsAlign | undefined;
70
+ style?: StyleProp<ViewStyle> | undefined;
71
+ tabStyle?: StyleProp<ViewStyle> | undefined;
72
72
  /** Style override applied to each tab label Text. */
73
- tabLabelStyle?: StyleProp<TextStyle>;
73
+ tabLabelStyle?: StyleProp<TextStyle> | undefined;
74
74
  /** Style override applied to the per-tab icon wrapper. */
75
- tabIconStyle?: StyleProp<ViewStyle>;
75
+ tabIconStyle?: StyleProp<ViewStyle> | undefined;
76
76
  /** Style override applied to the per-tab badge wrapper. */
77
- tabBadgeStyle?: StyleProp<ViewStyle>;
77
+ tabBadgeStyle?: StyleProp<ViewStyle> | undefined;
78
78
  /** Style override applied to the bottom divider line (underline variant only). */
79
- dividerStyle?: StyleProp<ViewStyle>;
79
+ dividerStyle?: StyleProp<ViewStyle> | undefined;
80
80
  /** Style override applied to the animated indicator (underline or pill). */
81
- indicatorStyle?: StyleProp<ViewStyle>;
81
+ indicatorStyle?: StyleProp<ViewStyle> | undefined;
82
82
  /**
83
83
  * Optional fractional active-index (0..tabs.length-1). When supplied and
84
84
  * every tab has been measured, the indicator's translateX + width track
@@ -88,11 +88,11 @@ export interface TabsProps {
88
88
  * the same way; consumers typically scroll the pager in response so the
89
89
  * progress value catches up.
90
90
  */
91
- progress?: Animated.AnimatedInterpolation<number> | Animated.Value;
91
+ progress?: Animated.AnimatedInterpolation<number> | Animated.Value | undefined;
92
92
  /** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
93
- haptic?: HapticType | false;
94
- accessibilityLabel?: string;
95
- testID?: string;
93
+ haptic?: HapticType | false | undefined;
94
+ accessibilityLabel?: string | undefined;
95
+ testID?: string | undefined;
96
96
  }
97
97
  declare const Tabs: ForwardRefExoticComponent<TabsProps & RefAttributes<HostInstance>>;
98
98
  export { Tabs };
@@ -4,34 +4,34 @@ import type { HapticType } from "../../utils";
4
4
  import type { FieldBaseSize, FieldBaseVariant } from "../FieldBase";
5
5
  export interface TagInputProps {
6
6
  /** Controlled tags. */
7
- value?: string[];
8
- defaultValue?: string[];
9
- onChange?: (tags: string[]) => void;
10
- placeholder?: string;
11
- label?: string;
12
- helperText?: string;
7
+ value?: string[] | undefined;
8
+ defaultValue?: string[] | undefined;
9
+ onChange?: ((tags: string[]) => void) | undefined;
10
+ placeholder?: string | undefined;
11
+ label?: string | undefined;
12
+ helperText?: string | undefined;
13
13
  /**
14
14
  * A string puts the field in the error state and shows it below in place of the helper; `true`
15
15
  * shows the error state without a message.
16
16
  */
17
- error?: string | boolean;
18
- required?: boolean;
19
- disabled?: boolean;
20
- size?: FieldBaseSize;
21
- variant?: FieldBaseVariant;
17
+ error?: string | boolean | undefined;
18
+ required?: boolean | undefined;
19
+ disabled?: boolean | undefined;
20
+ size?: FieldBaseSize | undefined;
21
+ variant?: FieldBaseVariant | undefined;
22
22
  /** Reject a tag past this count. Omit for unlimited. */
23
- maxTags?: number;
23
+ maxTags?: number | undefined;
24
24
  /** Reject a tag that already exists (case-insensitive). Default true. */
25
- unique?: boolean;
25
+ unique?: boolean | undefined;
26
26
  /** Validate or transform a candidate. Return null to reject it. */
27
- transform?: (raw: string) => string | null;
27
+ transform?: ((raw: string) => string | null) | undefined;
28
28
  /** Characters that commit the current draft in addition to submit. Default [',']. */
29
- separators?: string[];
30
- haptic?: HapticType | false;
29
+ separators?: string[] | undefined;
30
+ haptic?: HapticType | false | undefined;
31
31
  /** Called when the text field takes focus. */
32
- onFocus?: (e: FocusEvent) => void;
33
- style?: StyleProp<ViewStyle>;
34
- testID?: string;
32
+ onFocus?: ((e: FocusEvent) => void) | undefined;
33
+ style?: StyleProp<ViewStyle> | undefined;
34
+ testID?: string | undefined;
35
35
  }
36
36
  /**
37
37
  * Chips as input — the "type a value, press enter, it becomes a tag" field.
@@ -9,20 +9,20 @@ export interface TextProps extends Omit<RNTextProps, "style"> {
9
9
  * A built-in variant, or the name of one registered in `theme.settings.textVariants`.
10
10
  * An unknown name warns in development and renders as `body`.
11
11
  */
12
- variant?: TextVariant | (string & {});
12
+ variant?: TextVariant | (string & {}) | undefined;
13
13
  /** A text role, a tone or brand. A raw colour string is refused: it warns in development and the variant's colour is drawn. */
14
- color?: TextColor;
14
+ color?: TextColor | undefined;
15
15
  /** Override the variant's weight. */
16
- weight?: WeightName;
16
+ weight?: WeightName | undefined;
17
17
  /** Override the variant's size with a text step name. */
18
- size?: TextName;
19
- align?: TextStyle["textAlign"];
20
- italic?: boolean;
21
- underline?: boolean;
18
+ size?: TextName | undefined;
19
+ align?: TextStyle["textAlign"] | undefined;
20
+ italic?: boolean | undefined;
21
+ underline?: boolean | undefined;
22
22
  /** Draws a line through the text, for a done or reversed item. It joins with underline. */
23
- strikethrough?: boolean;
24
- children?: React.ReactNode;
25
- style?: StyleProp<TextStyle>;
23
+ strikethrough?: boolean | undefined;
24
+ children?: React.ReactNode | undefined;
25
+ style?: StyleProp<TextStyle> | undefined;
26
26
  }
27
27
  export declare const resolveColor: (theme: Theme, color: string) => string;
28
28
  declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HostInstance>>;
@@ -36,27 +36,27 @@ export declare const DEFAULT_TIME_PICKER_LABELS: Readonly<TimePickerLabels>;
36
36
  */
37
37
  export interface TimePickerProps extends PickerTriggerPassThroughProps {
38
38
  /** Controlled-modal visibility. When omitted, the component enters trigger mode. */
39
- open?: boolean;
40
- value?: TimeValue | null;
41
- onChange?: (time: TimeValue) => void;
42
- onClose?: () => void;
43
- format?: TimeFormat;
44
- minuteStep?: MinuteStep;
39
+ open?: boolean | undefined;
40
+ value?: TimeValue | null | undefined;
41
+ onChange?: ((time: TimeValue) => void) | undefined;
42
+ onClose?: (() => void) | undefined;
43
+ format?: TimeFormat | undefined;
44
+ minuteStep?: MinuteStep | undefined;
45
45
  /** Chrome copy, merged over DEFAULT_TIME_PICKER_LABELS. */
46
- labels?: Partial<TimePickerLabels>;
47
- testID?: string;
46
+ labels?: Partial<TimePickerLabels> | undefined;
47
+ testID?: string | undefined;
48
48
  /** The outer box. Applied last on that node, so it wins over containerStyle. */
49
- style?: StyleProp<ViewStyle>;
49
+ style?: StyleProp<ViewStyle> | undefined;
50
50
  /** Applied to the bottom sheet, before style on the same node. */
51
- containerStyle?: StyleProp<ViewStyle>;
51
+ containerStyle?: StyleProp<ViewStyle> | undefined;
52
52
  /** Style override for the title text container. */
53
- headerLabelStyle?: StyleProp<ViewStyle>;
53
+ headerLabelStyle?: StyleProp<ViewStyle> | undefined;
54
54
  /** Style override for the cancel/confirm footer buttons. */
55
- footerButtonStyle?: StyleProp<ViewStyle>;
55
+ footerButtonStyle?: StyleProp<ViewStyle> | undefined;
56
56
  /** Override the trigger field's value formatting. Defaults to `format`-aware h:mm/HH:mm. */
57
- formatValue?: (time: TimeValue) => string;
57
+ formatValue?: ((time: TimeValue) => string) | undefined;
58
58
  /** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
59
- haptic?: HapticType | false;
59
+ haptic?: HapticType | false | undefined;
60
60
  }
61
61
  declare const TimePicker: React.FC<TimePickerProps>;
62
62
  export { TimePicker };