@webority/mobile-ui 0.8.1 → 0.9.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 (315) hide show
  1. package/lib/commonjs/components/Accordion/Accordion.js +1 -1
  2. package/lib/commonjs/components/AnimatePresence/AnimatePresence.js +1 -1
  3. package/lib/commonjs/components/AppBar/AppBar.js +1 -1
  4. package/lib/commonjs/components/AppIcon/AppIcon.js +1 -1
  5. package/lib/commonjs/components/AsyncBlock/AsyncBlock.js +1 -1
  6. package/lib/commonjs/components/Autocomplete/Autocomplete.js +1 -1
  7. package/lib/commonjs/components/Avatar/Avatar.js +1 -1
  8. package/lib/commonjs/components/Badge/Badge.js +1 -1
  9. package/lib/commonjs/components/Banner/Banner.js +1 -1
  10. package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +1 -1
  11. package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
  12. package/lib/commonjs/components/Box/Box.js +1 -1
  13. package/lib/commonjs/components/Button/Button.js +1 -1
  14. package/lib/commonjs/components/Calendar/Calendar.js +1 -0
  15. package/lib/commonjs/components/Calendar/CalendarDay.js +1 -0
  16. package/lib/commonjs/components/Calendar/calendarDates.js +1 -0
  17. package/lib/commonjs/components/Calendar/calendarStyles.js +1 -0
  18. package/lib/commonjs/components/Calendar/index.js +1 -0
  19. package/lib/commonjs/components/Card/Card.js +1 -1
  20. package/lib/commonjs/components/Carousel/Carousel.js +1 -1
  21. package/lib/commonjs/components/Checkbox/Checkbox.js +1 -1
  22. package/lib/commonjs/components/Chip/Chip.js +1 -1
  23. package/lib/commonjs/components/ChoiceGroup/ChoiceGroup.js +1 -1
  24. package/lib/commonjs/components/Confetti/Confetti.js +1 -1
  25. package/lib/commonjs/components/DatePicker/DatePicker.js +1 -1
  26. package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +1 -1
  27. package/lib/commonjs/components/Descriptions/Descriptions.js +1 -1
  28. package/lib/commonjs/components/Dialog/Dialog.js +1 -1
  29. package/lib/commonjs/components/Drawer/Drawer.js +1 -1
  30. package/lib/commonjs/components/EmptyState/EmptyState.js +1 -1
  31. package/lib/commonjs/components/ErrorBoundary/ErrorBoundary.js +1 -1
  32. package/lib/commonjs/components/ErrorBoundary/withErrorBoundary.js +1 -1
  33. package/lib/commonjs/components/FieldBase/Chevron.js +1 -1
  34. package/lib/commonjs/components/FieldBase/FieldBase.js +1 -1
  35. package/lib/commonjs/components/FilePicker/FilePicker.js +1 -1
  36. package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -1
  37. package/lib/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.js +1 -1
  38. package/lib/commonjs/components/FormField/FormField.js +1 -1
  39. package/lib/commonjs/components/IconButton/IconButton.js +1 -1
  40. package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
  41. package/lib/commonjs/components/InlineSelect/InlineSelect.js +1 -1
  42. package/lib/commonjs/components/Input/Input.js +1 -1
  43. package/lib/commonjs/components/KeyboardToolbar/KeyboardToolbar.js +1 -1
  44. package/lib/commonjs/components/ListItem/ListItem.js +1 -1
  45. package/lib/commonjs/components/LoaderOverlay/LoaderOverlay.js +1 -1
  46. package/lib/commonjs/components/Markdown/Markdown.js +1 -1
  47. package/lib/commonjs/components/Modal/Modal.js +1 -1
  48. package/lib/commonjs/components/NumberInput/NumberInput.js +1 -1
  49. package/lib/commonjs/components/OTPInput/OTPInput.js +1 -1
  50. package/lib/commonjs/components/OptionSheet/OptionSheet.js +1 -1
  51. package/lib/commonjs/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
  52. package/lib/commonjs/components/ProfilePicker/ProfilePicker.js +1 -1
  53. package/lib/commonjs/components/Radio/Radio.js +1 -1
  54. package/lib/commonjs/components/Radio/RadioDot.js +1 -1
  55. package/lib/commonjs/components/Radio/RadioGroup.js +1 -1
  56. package/lib/commonjs/components/Rating/Rating.js +1 -1
  57. package/lib/commonjs/components/Repeater/Repeater.js +1 -1
  58. package/lib/commonjs/components/RichTextEditor/RichTextEditor.js +1 -1
  59. package/lib/commonjs/components/SearchBar/SearchBar.js +1 -1
  60. package/lib/commonjs/components/SectionHeader/SectionHeader.js +1 -1
  61. package/lib/commonjs/components/SegmentedControl/SegmentedControl.js +1 -1
  62. package/lib/commonjs/components/Select/Select.js +1 -1
  63. package/lib/commonjs/components/Skeleton/Skeleton.js +1 -1
  64. package/lib/commonjs/components/Skeleton/SkeletonClock.js +1 -1
  65. package/lib/commonjs/components/Skeleton/SkeletonContent.js +1 -1
  66. package/lib/commonjs/components/Skeleton/SkeletonProvider.js +1 -1
  67. package/lib/commonjs/components/Skeleton/SkeletonSkip.js +1 -1
  68. package/lib/commonjs/components/SlideToConfirm/SlideToConfirm.js +1 -1
  69. package/lib/commonjs/components/Slider/Slider.js +1 -1
  70. package/lib/commonjs/components/SliderField/SliderField.js +1 -1
  71. package/lib/commonjs/components/Spinner/Spinner.js +1 -1
  72. package/lib/commonjs/components/StatusBadge/StatusBadge.js +1 -1
  73. package/lib/commonjs/components/Stepper/Stepper.js +1 -1
  74. package/lib/commonjs/components/Swipeable/Swipeable.js +1 -1
  75. package/lib/commonjs/components/Switch/Switch.js +1 -1
  76. package/lib/commonjs/components/Tabs/Tabs.js +1 -1
  77. package/lib/commonjs/components/Text/Text.js +1 -1
  78. package/lib/commonjs/components/TimePicker/TimePicker.js +1 -1
  79. package/lib/commonjs/components/Timeline/Timeline.js +1 -1
  80. package/lib/commonjs/components/Toast/Toast.js +1 -1
  81. package/lib/commonjs/components/Toast/ToastProvider.js +1 -1
  82. package/lib/commonjs/components/ZoomableImage/ZoomableImage.js +1 -1
  83. package/lib/commonjs/components/index.js +1 -1
  84. package/lib/commonjs/form/FormContext.js +1 -1
  85. package/lib/commonjs/network/NetworkStatusBanner.js +1 -1
  86. package/lib/commonjs/theme/ThemeContext.js +1 -1
  87. package/lib/commonjs/theme/merge.js +1 -1
  88. package/lib/commonjs/theme/textStyle.js +1 -1
  89. package/lib/commonjs/theme/tokens.js +1 -1
  90. package/lib/commonjs/theme/toneInk.js +1 -0
  91. package/lib/commonjs/utils/ariaState.js +1 -0
  92. package/lib/module/components/Accordion/Accordion.js +1 -1
  93. package/lib/module/components/AnimatePresence/AnimatePresence.js +1 -1
  94. package/lib/module/components/AppBar/AppBar.js +1 -1
  95. package/lib/module/components/AppIcon/AppIcon.js +1 -1
  96. package/lib/module/components/AsyncBlock/AsyncBlock.js +1 -1
  97. package/lib/module/components/Autocomplete/Autocomplete.js +1 -1
  98. package/lib/module/components/Avatar/Avatar.js +1 -1
  99. package/lib/module/components/Badge/Badge.js +1 -1
  100. package/lib/module/components/Banner/Banner.js +1 -1
  101. package/lib/module/components/BottomNavigation/BottomNavigation.js +1 -1
  102. package/lib/module/components/BottomSheet/BottomSheet.js +1 -1
  103. package/lib/module/components/Box/Box.js +1 -1
  104. package/lib/module/components/Button/Button.js +1 -1
  105. package/lib/module/components/Calendar/Calendar.js +1 -0
  106. package/lib/module/components/Calendar/CalendarDay.js +1 -0
  107. package/lib/module/components/Calendar/calendarDates.js +1 -0
  108. package/lib/module/components/Calendar/calendarStyles.js +1 -0
  109. package/lib/module/components/Calendar/index.js +1 -0
  110. package/lib/module/components/Card/Card.js +1 -1
  111. package/lib/module/components/Carousel/Carousel.js +1 -1
  112. package/lib/module/components/Checkbox/Checkbox.js +1 -1
  113. package/lib/module/components/Chip/Chip.js +1 -1
  114. package/lib/module/components/ChoiceGroup/ChoiceGroup.js +1 -1
  115. package/lib/module/components/Confetti/Confetti.js +1 -1
  116. package/lib/module/components/DatePicker/DatePicker.js +1 -1
  117. package/lib/module/components/DateRangePicker/DateRangePicker.js +1 -1
  118. package/lib/module/components/Descriptions/Descriptions.js +1 -1
  119. package/lib/module/components/Dialog/Dialog.js +1 -1
  120. package/lib/module/components/Drawer/Drawer.js +1 -1
  121. package/lib/module/components/EmptyState/EmptyState.js +1 -1
  122. package/lib/module/components/ErrorBoundary/ErrorBoundary.js +1 -1
  123. package/lib/module/components/ErrorBoundary/withErrorBoundary.js +1 -1
  124. package/lib/module/components/FieldBase/Chevron.js +1 -1
  125. package/lib/module/components/FieldBase/FieldBase.js +1 -1
  126. package/lib/module/components/FilePicker/FilePicker.js +1 -1
  127. package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -1
  128. package/lib/module/components/ForceUpdateDialog/ForceUpdateDialog.js +1 -1
  129. package/lib/module/components/FormField/FormField.js +1 -1
  130. package/lib/module/components/IconButton/IconButton.js +1 -1
  131. package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
  132. package/lib/module/components/InlineSelect/InlineSelect.js +1 -1
  133. package/lib/module/components/Input/Input.js +1 -1
  134. package/lib/module/components/KeyboardToolbar/KeyboardToolbar.js +1 -1
  135. package/lib/module/components/ListItem/ListItem.js +1 -1
  136. package/lib/module/components/LoaderOverlay/LoaderOverlay.js +1 -1
  137. package/lib/module/components/Markdown/Markdown.js +1 -1
  138. package/lib/module/components/Modal/Modal.js +1 -1
  139. package/lib/module/components/NumberInput/NumberInput.js +1 -1
  140. package/lib/module/components/OTPInput/OTPInput.js +1 -1
  141. package/lib/module/components/OptionSheet/OptionSheet.js +1 -1
  142. package/lib/module/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
  143. package/lib/module/components/ProfilePicker/ProfilePicker.js +1 -1
  144. package/lib/module/components/Radio/Radio.js +1 -1
  145. package/lib/module/components/Radio/RadioDot.js +1 -1
  146. package/lib/module/components/Radio/RadioGroup.js +1 -1
  147. package/lib/module/components/Rating/Rating.js +1 -1
  148. package/lib/module/components/Repeater/Repeater.js +1 -1
  149. package/lib/module/components/RichTextEditor/RichTextEditor.js +1 -1
  150. package/lib/module/components/SearchBar/SearchBar.js +1 -1
  151. package/lib/module/components/SectionHeader/SectionHeader.js +1 -1
  152. package/lib/module/components/SegmentedControl/SegmentedControl.js +1 -1
  153. package/lib/module/components/Select/Select.js +1 -1
  154. package/lib/module/components/Skeleton/Skeleton.js +1 -1
  155. package/lib/module/components/Skeleton/SkeletonClock.js +1 -1
  156. package/lib/module/components/Skeleton/SkeletonContent.js +1 -1
  157. package/lib/module/components/Skeleton/SkeletonProvider.js +1 -1
  158. package/lib/module/components/Skeleton/SkeletonSkip.js +1 -1
  159. package/lib/module/components/SlideToConfirm/SlideToConfirm.js +1 -1
  160. package/lib/module/components/Slider/Slider.js +1 -1
  161. package/lib/module/components/SliderField/SliderField.js +1 -1
  162. package/lib/module/components/Spinner/Spinner.js +1 -1
  163. package/lib/module/components/StatusBadge/StatusBadge.js +1 -1
  164. package/lib/module/components/Stepper/Stepper.js +1 -1
  165. package/lib/module/components/Swipeable/Swipeable.js +1 -1
  166. package/lib/module/components/Switch/Switch.js +1 -1
  167. package/lib/module/components/Tabs/Tabs.js +1 -1
  168. package/lib/module/components/Text/Text.js +1 -1
  169. package/lib/module/components/TimePicker/TimePicker.js +1 -1
  170. package/lib/module/components/Timeline/Timeline.js +1 -1
  171. package/lib/module/components/Toast/Toast.js +1 -1
  172. package/lib/module/components/Toast/ToastProvider.js +1 -1
  173. package/lib/module/components/ZoomableImage/ZoomableImage.js +1 -1
  174. package/lib/module/components/index.js +1 -1
  175. package/lib/module/form/FormContext.js +1 -1
  176. package/lib/module/network/NetworkStatusBanner.js +1 -1
  177. package/lib/module/theme/ThemeContext.js +1 -1
  178. package/lib/module/theme/merge.js +1 -1
  179. package/lib/module/theme/textStyle.js +1 -1
  180. package/lib/module/theme/tokens.js +1 -1
  181. package/lib/module/theme/toneInk.js +1 -0
  182. package/lib/module/utils/ariaState.js +1 -0
  183. package/lib/typescript/commonjs/components/Accordion/Accordion.d.ts +1 -1
  184. package/lib/typescript/commonjs/components/AnimatePresence/AnimatePresence.d.ts +1 -1
  185. package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +1 -1
  186. package/lib/typescript/commonjs/components/AppIcon/AppIcon.d.ts +1 -1
  187. package/lib/typescript/commonjs/components/AsyncBlock/AsyncBlock.d.ts +1 -1
  188. package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +2 -2
  189. package/lib/typescript/commonjs/components/Badge/Badge.d.ts +1 -1
  190. package/lib/typescript/commonjs/components/Banner/Banner.d.ts +1 -1
  191. package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +6 -0
  192. package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +1 -1
  193. package/lib/typescript/commonjs/components/Box/Box.d.ts +1 -1
  194. package/lib/typescript/commonjs/components/Calendar/Calendar.d.ts +70 -0
  195. package/lib/typescript/commonjs/components/Calendar/CalendarDay.d.ts +30 -0
  196. package/lib/typescript/commonjs/components/Calendar/calendarDates.d.ts +24 -0
  197. package/lib/typescript/commonjs/components/Calendar/calendarStyles.d.ts +125 -0
  198. package/lib/typescript/commonjs/components/Calendar/index.d.ts +4 -0
  199. package/lib/typescript/commonjs/components/Carousel/Carousel.d.ts +1 -1
  200. package/lib/typescript/commonjs/components/Chip/Chip.d.ts +1 -1
  201. package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +11 -1
  202. package/lib/typescript/commonjs/components/Confetti/Confetti.d.ts +1 -1
  203. package/lib/typescript/commonjs/components/DatePicker/DatePicker.d.ts +1 -1
  204. package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +7 -1
  205. package/lib/typescript/commonjs/components/Descriptions/Descriptions.d.ts +1 -1
  206. package/lib/typescript/commonjs/components/Dialog/Dialog.d.ts +1 -1
  207. package/lib/typescript/commonjs/components/Drawer/Drawer.d.ts +1 -1
  208. package/lib/typescript/commonjs/components/EmptyState/EmptyState.d.ts +1 -1
  209. package/lib/typescript/commonjs/components/ErrorBoundary/withErrorBoundary.d.ts +1 -1
  210. package/lib/typescript/commonjs/components/FieldBase/Chevron.d.ts +1 -1
  211. package/lib/typescript/commonjs/components/FilePicker/FilePicker.d.ts +1 -1
  212. package/lib/typescript/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +1 -1
  213. package/lib/typescript/commonjs/components/InlineSelect/InlineSelect.d.ts +1 -1
  214. package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +24 -0
  215. package/lib/typescript/commonjs/components/ListItem/index.d.ts +1 -1
  216. package/lib/typescript/commonjs/components/LoaderOverlay/LoaderOverlay.d.ts +1 -1
  217. package/lib/typescript/commonjs/components/Markdown/Markdown.d.ts +1 -1
  218. package/lib/typescript/commonjs/components/Modal/Modal.d.ts +1 -1
  219. package/lib/typescript/commonjs/components/ProfilePicker/ProfilePicker.d.ts +1 -1
  220. package/lib/typescript/commonjs/components/Radio/RadioDot.d.ts +1 -1
  221. package/lib/typescript/commonjs/components/Radio/RadioGroup.d.ts +1 -1
  222. package/lib/typescript/commonjs/components/Rating/Rating.d.ts +1 -1
  223. package/lib/typescript/commonjs/components/Repeater/Repeater.d.ts +1 -1
  224. package/lib/typescript/commonjs/components/RichTextEditor/RichTextEditor.d.ts +1 -1
  225. package/lib/typescript/commonjs/components/SectionHeader/SectionHeader.d.ts +1 -1
  226. package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +7 -0
  227. package/lib/typescript/commonjs/components/Skeleton/Skeleton.d.ts +1 -1
  228. package/lib/typescript/commonjs/components/Skeleton/SkeletonClock.d.ts +1 -1
  229. package/lib/typescript/commonjs/components/Skeleton/SkeletonProvider.d.ts +1 -1
  230. package/lib/typescript/commonjs/components/Skeleton/SkeletonSkip.d.ts +1 -1
  231. package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +1 -1
  232. package/lib/typescript/commonjs/components/StatusBadge/StatusBadge.d.ts +1 -1
  233. package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +1 -1
  234. package/lib/typescript/commonjs/components/Swipeable/Swipeable.d.ts +1 -1
  235. package/lib/typescript/commonjs/components/Text/Text.d.ts +1 -1
  236. package/lib/typescript/commonjs/components/TimePicker/TimePicker.d.ts +1 -1
  237. package/lib/typescript/commonjs/components/Timeline/Timeline.d.ts +1 -1
  238. package/lib/typescript/commonjs/components/Toast/Toast.d.ts +1 -1
  239. package/lib/typescript/commonjs/components/Toast/ToastProvider.d.ts +1 -1
  240. package/lib/typescript/commonjs/components/ZoomableImage/ZoomableImage.d.ts +1 -1
  241. package/lib/typescript/commonjs/components/index.d.ts +3 -1
  242. package/lib/typescript/commonjs/form/FormContext.d.ts +1 -1
  243. package/lib/typescript/commonjs/network/NetworkStatusBanner.d.ts +1 -1
  244. package/lib/typescript/commonjs/theme/ThemeContext.d.ts +1 -1
  245. package/lib/typescript/commonjs/theme/textStyle.d.ts +4 -1
  246. package/lib/typescript/commonjs/theme/toneInk.d.ts +38 -0
  247. package/lib/typescript/commonjs/theme/types.d.ts +37 -4
  248. package/lib/typescript/commonjs/utils/ariaState.d.ts +10 -0
  249. package/lib/typescript/module/components/Accordion/Accordion.d.ts +1 -1
  250. package/lib/typescript/module/components/AnimatePresence/AnimatePresence.d.ts +1 -1
  251. package/lib/typescript/module/components/AppBar/AppBar.d.ts +1 -1
  252. package/lib/typescript/module/components/AppIcon/AppIcon.d.ts +1 -1
  253. package/lib/typescript/module/components/AsyncBlock/AsyncBlock.d.ts +1 -1
  254. package/lib/typescript/module/components/Avatar/Avatar.d.ts +2 -2
  255. package/lib/typescript/module/components/Badge/Badge.d.ts +1 -1
  256. package/lib/typescript/module/components/Banner/Banner.d.ts +1 -1
  257. package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +6 -0
  258. package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +1 -1
  259. package/lib/typescript/module/components/Box/Box.d.ts +1 -1
  260. package/lib/typescript/module/components/Calendar/Calendar.d.ts +70 -0
  261. package/lib/typescript/module/components/Calendar/CalendarDay.d.ts +30 -0
  262. package/lib/typescript/module/components/Calendar/calendarDates.d.ts +24 -0
  263. package/lib/typescript/module/components/Calendar/calendarStyles.d.ts +125 -0
  264. package/lib/typescript/module/components/Calendar/index.d.ts +4 -0
  265. package/lib/typescript/module/components/Carousel/Carousel.d.ts +1 -1
  266. package/lib/typescript/module/components/Chip/Chip.d.ts +1 -1
  267. package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +11 -1
  268. package/lib/typescript/module/components/Confetti/Confetti.d.ts +1 -1
  269. package/lib/typescript/module/components/DatePicker/DatePicker.d.ts +1 -1
  270. package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +7 -1
  271. package/lib/typescript/module/components/Descriptions/Descriptions.d.ts +1 -1
  272. package/lib/typescript/module/components/Dialog/Dialog.d.ts +1 -1
  273. package/lib/typescript/module/components/Drawer/Drawer.d.ts +1 -1
  274. package/lib/typescript/module/components/EmptyState/EmptyState.d.ts +1 -1
  275. package/lib/typescript/module/components/ErrorBoundary/withErrorBoundary.d.ts +1 -1
  276. package/lib/typescript/module/components/FieldBase/Chevron.d.ts +1 -1
  277. package/lib/typescript/module/components/FilePicker/FilePicker.d.ts +1 -1
  278. package/lib/typescript/module/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +1 -1
  279. package/lib/typescript/module/components/InlineSelect/InlineSelect.d.ts +1 -1
  280. package/lib/typescript/module/components/ListItem/ListItem.d.ts +24 -0
  281. package/lib/typescript/module/components/ListItem/index.d.ts +1 -1
  282. package/lib/typescript/module/components/LoaderOverlay/LoaderOverlay.d.ts +1 -1
  283. package/lib/typescript/module/components/Markdown/Markdown.d.ts +1 -1
  284. package/lib/typescript/module/components/Modal/Modal.d.ts +1 -1
  285. package/lib/typescript/module/components/ProfilePicker/ProfilePicker.d.ts +1 -1
  286. package/lib/typescript/module/components/Radio/RadioDot.d.ts +1 -1
  287. package/lib/typescript/module/components/Radio/RadioGroup.d.ts +1 -1
  288. package/lib/typescript/module/components/Rating/Rating.d.ts +1 -1
  289. package/lib/typescript/module/components/Repeater/Repeater.d.ts +1 -1
  290. package/lib/typescript/module/components/RichTextEditor/RichTextEditor.d.ts +1 -1
  291. package/lib/typescript/module/components/SectionHeader/SectionHeader.d.ts +1 -1
  292. package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +7 -0
  293. package/lib/typescript/module/components/Skeleton/Skeleton.d.ts +1 -1
  294. package/lib/typescript/module/components/Skeleton/SkeletonClock.d.ts +1 -1
  295. package/lib/typescript/module/components/Skeleton/SkeletonProvider.d.ts +1 -1
  296. package/lib/typescript/module/components/Skeleton/SkeletonSkip.d.ts +1 -1
  297. package/lib/typescript/module/components/Spinner/Spinner.d.ts +1 -1
  298. package/lib/typescript/module/components/StatusBadge/StatusBadge.d.ts +1 -1
  299. package/lib/typescript/module/components/Stepper/Stepper.d.ts +1 -1
  300. package/lib/typescript/module/components/Swipeable/Swipeable.d.ts +1 -1
  301. package/lib/typescript/module/components/Text/Text.d.ts +1 -1
  302. package/lib/typescript/module/components/TimePicker/TimePicker.d.ts +1 -1
  303. package/lib/typescript/module/components/Timeline/Timeline.d.ts +1 -1
  304. package/lib/typescript/module/components/Toast/Toast.d.ts +1 -1
  305. package/lib/typescript/module/components/Toast/ToastProvider.d.ts +1 -1
  306. package/lib/typescript/module/components/ZoomableImage/ZoomableImage.d.ts +1 -1
  307. package/lib/typescript/module/components/index.d.ts +3 -1
  308. package/lib/typescript/module/form/FormContext.d.ts +1 -1
  309. package/lib/typescript/module/network/NetworkStatusBanner.d.ts +1 -1
  310. package/lib/typescript/module/theme/ThemeContext.d.ts +1 -1
  311. package/lib/typescript/module/theme/textStyle.d.ts +4 -1
  312. package/lib/typescript/module/theme/toneInk.d.ts +38 -0
  313. package/lib/typescript/module/theme/types.d.ts +37 -4
  314. package/lib/typescript/module/utils/ariaState.d.ts +10 -0
  315. package/package.json +2 -2
@@ -8,7 +8,7 @@
8
8
  * be a filled triangle drawn with view borders. Pass `open` to get the 180°
9
9
  * rotate-on-open animation; omit it for a static chevron.
10
10
  */
11
- import React from 'react';
11
+ import type React from 'react';
12
12
  import type { StyleProp, ViewStyle } from 'react-native';
13
13
  export interface ChevronProps {
14
14
  color: string;
@@ -20,7 +20,7 @@
20
20
  * (compression, EXIF strip, local copy) before it lands in `files` —
21
21
  * plug the app's image pipeline in there.
22
22
  */
23
- import React from 'react';
23
+ import type React from 'react';
24
24
  import type { StyleProp, ViewStyle } from 'react-native';
25
25
  import type { HapticType } from '../../utils';
26
26
  export type FilePickerVariant = 'card' | 'list';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
3
3
  export interface ForceUpdateDialogProps {
4
4
  /** Whether the dialog is visible. */
@@ -21,7 +21,7 @@
21
21
  * />
22
22
  * ```
23
23
  */
24
- import React from 'react';
24
+ import type React from 'react';
25
25
  import type { View as RNView, StyleProp, TextStyle, ViewStyle } from 'react-native';
26
26
  import type { HapticType } from '../../utils';
27
27
  import type { SelectOption, SelectValue } from '../OptionSheet/OptionSheet';
@@ -6,6 +6,12 @@ import type { ButtonProps } from '../Button';
6
6
  import type { IconBadgeTone } from '../IconBadge';
7
7
  import type { SwipeableAction } from '../Swipeable';
8
8
  export type ListItemSize = 'sm' | 'md' | 'lg';
9
+ /**
10
+ * Where the `right` slot sits. `side` is beside the text, `below` is under the
11
+ * subtitle and description, and `auto` is `side` until the user's text size is
12
+ * above 1.2 times the default, then `below`, so a badge stops squeezing the title.
13
+ */
14
+ export type ListItemRightPlacement = 'auto' | 'side' | 'below';
9
15
  /** One button of the `actions` row, drawn with the library Button at size `sm`. */
10
16
  export interface ListItemAction {
11
17
  label: string;
@@ -46,6 +52,24 @@ export interface ListItemProps {
46
52
  /** Tone of the `icon` circle. Default `'primary'`. */
47
53
  iconTone?: IconBadgeTone;
48
54
  right?: React.ReactNode;
55
+ /**
56
+ * Where the `right` slot is drawn. Default `'auto'`: beside the text, and
57
+ * under the subtitle when the font scale is above 1.2. The chevron always
58
+ * stays at the side.
59
+ */
60
+ rightPlacement?: ListItemRightPlacement;
61
+ /**
62
+ * Selection mode. The whole row becomes one checkbox (role `checkbox`, with
63
+ * its `checked` state announced) and the box is drawn in the leading slot,
64
+ * before any `left` or `icon`. Pressing the row calls `onCheckedChange` and
65
+ * `onPress` is not used. The box is a drawing, not a control, so nothing
66
+ * nests inside the row's press target.
67
+ */
68
+ selectable?: boolean;
69
+ /** Whether the row is checked. Controlled: update it from `onCheckedChange`. Used only with `selectable`. */
70
+ checked?: boolean;
71
+ /** Called with the next value when a `selectable` row is pressed. */
72
+ onCheckedChange?: (checked: boolean) => void;
49
73
  /**
50
74
  * A row of buttons under the item: a node drawn as is, or an array of
51
75
  * `ListItemAction` drawn as small Buttons. They sit outside the row's press
@@ -1,4 +1,4 @@
1
1
  export type { SwipeableAction } from '../Swipeable';
2
- export type { ListItemAction, ListItemProps, ListItemSize } from './ListItem';
2
+ export type { ListItemAction, ListItemProps, ListItemRightPlacement, ListItemSize } from './ListItem';
3
3
  export { default, ListItem } from './ListItem';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  export declare const loader: {
3
3
  show: (message?: string) => void;
4
4
  hide: () => void;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
3
3
  export interface MarkdownProps {
4
4
  /** The markdown source. An empty or missing string renders nothing. */
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { View as RNView, StyleProp, ViewStyle } from 'react-native';
3
3
  import type { HapticType } from '../../utils/hapticUtils';
4
4
  export type ModalPresentation = 'centered' | 'bottom' | 'fullScreen';
@@ -14,7 +14,7 @@
14
14
  * once (optimistic) while the app uploads it and reflects the result back
15
15
  * through `value`.
16
16
  */
17
- import React from 'react';
17
+ import type React from 'react';
18
18
  import type { View as RNView, StyleProp, ViewStyle } from 'react-native';
19
19
  import type { HapticType } from '../../utils';
20
20
  import type { IconName, SlotIconRef } from '../AppIcon';
@@ -6,7 +6,7 @@
6
6
  * animation or the disabled/selected colour rules. Purely visual — no press
7
7
  * handling, no a11y role; the parent control owns those.
8
8
  */
9
- import React from 'react';
9
+ import type React from 'react';
10
10
  import type { StyleProp, ViewStyle } from 'react-native';
11
11
  export type RadioDotSize = 'sm' | 'md' | 'lg';
12
12
  export interface RadioDotProps {
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { StyleProp, ViewStyle } from 'react-native';
3
3
  import type { RadioValue } from './Radio';
4
4
  export interface RadioGroupProps {
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { View as RNView, StyleProp, ViewStyle } from 'react-native';
3
3
  import type { HapticType } from '../../utils/hapticUtils';
4
4
  export type RatingTone = 'primary' | 'warning';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { StyleProp, ViewStyle } from 'react-native';
3
3
  import type { HapticType } from '../../utils';
4
4
  export interface RepeaterRenderArgs<T> {
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { TextInput as RNTextInput, StyleProp, TextStyle, ViewStyle } from 'react-native';
3
3
  import type { HapticType } from '../../utils';
4
4
  import type { MarkdownAction } from './markdownActions';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { StyleProp, TextStyle } from 'react-native';
3
3
  export type SectionHeaderVariant = 'title' | 'caps' | 'sub';
4
4
  export interface SectionHeaderProps {
@@ -71,6 +71,13 @@ export interface SegmentedControlProps {
71
71
  * default under this prop.
72
72
  */
73
73
  radius?: SegmentedControlRadius;
74
+ /**
75
+ * Lines a segment label may take before it is truncated: 1 (default) or 2.
76
+ * At 2 the segment is taller by one line, so a two-word label ("Second
77
+ * half") wraps instead of ending in an ellipsis; a one-word label stays on
78
+ * one line, centred.
79
+ */
80
+ labelLines?: 1 | 2;
74
81
  /** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
75
82
  haptic?: HapticType | false;
76
83
  accessibilityLabel?: string;
@@ -22,7 +22,7 @@
22
22
  * circle (50%), or text (small radius, slightly inset height). Set width /
23
23
  * height directly for full control.
24
24
  */
25
- import React from 'react';
25
+ import type React from 'react';
26
26
  import type { StyleProp, ViewStyle } from 'react-native';
27
27
  import type { RadiusScale } from '../../theme/types';
28
28
  import type { SkeletonColors } from './SkeletonProvider';
@@ -13,8 +13,8 @@
13
13
  * Skeleton interpolates that value into its own translateX / opacity output.
14
14
  * One native-driver loop, no drift, ~zero JS cost.
15
15
  */
16
+ import type React from 'react';
16
17
  import type { ReactNode } from 'react';
17
- import React from 'react';
18
18
  import { Animated } from 'react-native';
19
19
  import type { SkeletonSpeed, SkeletonVariant } from './Skeleton';
20
20
  export interface SkeletonClockValue {
@@ -13,8 +13,8 @@
13
13
  * if the user toggles the setting while the app is open the skeletons stop
14
14
  * shimmering immediately.
15
15
  */
16
+ import type React from 'react';
16
17
  import type { ReactNode } from 'react';
17
- import React from 'react';
18
18
  import type { SkeletonRadius, SkeletonSpeed, SkeletonVariant } from './Skeleton';
19
19
  /**
20
20
  * Per-instance color override for a skeleton. `background` is the resting
@@ -1,5 +1,5 @@
1
+ import type React from 'react';
1
2
  import type { ReactNode } from 'react';
2
- import React from 'react';
3
3
  export interface SkeletonSkipProps {
4
4
  children: ReactNode;
5
5
  }
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { View as RNView, StyleProp, ViewStyle } from 'react-native';
3
3
  export type SpinnerSize = 'sm' | 'md' | 'lg';
4
4
  export type SpinnerVariant = 'circular' | 'dots';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { View as RNView, StyleProp, TextStyle, ViewStyle } from 'react-native';
3
3
  /**
4
4
  * The same semantic vocabulary Chip and Badge use, and the web library's
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { View as RNView, StyleProp, TextStyle, ViewStyle } from 'react-native';
3
3
  import type { HapticType } from '../../utils/hapticUtils';
4
4
  /**
@@ -14,7 +14,7 @@
14
14
  * <ListItem title="Inbox item" />
15
15
  * </Swipeable>
16
16
  */
17
- import React from 'react';
17
+ import type React from 'react';
18
18
  import type { StyleProp, ViewStyle } from 'react-native';
19
19
  import type { HapticType } from '../../utils';
20
20
  export type SwipeableTone = 'primary' | 'success' | 'warning' | 'error' | 'neutral';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { TextProps as RNTextProps, Text as RNTextRef, StyleProp, TextStyle } from 'react-native';
3
3
  import type { FontWeightKey } from '../../theme';
4
4
  import type { Theme, TypographyScale } from '../../theme/types';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { StyleProp, ViewStyle } from 'react-native';
3
3
  import type { HapticType } from '../../utils/hapticUtils';
4
4
  import type { FieldBaseSize, FieldBaseVariant } from '../FieldBase';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { StyleProp, ViewStyle } from 'react-native';
3
3
  /**
4
4
  * The status vocabulary is shared with the web library's AppTimeline so a
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
3
3
  import type { HapticType } from '../../utils/hapticUtils';
4
4
  export type ToastVariant = 'default' | 'success' | 'error' | 'warning' | 'info';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { HapticType } from '../../utils/hapticUtils';
3
3
  import type { ToastOptions, ToastPosition, ToastVariant } from './Toast';
4
4
  export interface ToastApi {
@@ -21,7 +21,7 @@
21
21
  * a `source` prop would force re-implementing that per app. Wrapping keeps
22
22
  * this component ignorant of how the image is fetched.
23
23
  */
24
- import React from 'react';
24
+ import type React from 'react';
25
25
  import type { StyleProp, ViewStyle } from 'react-native';
26
26
  import type { HapticType } from '../../utils';
27
27
  export interface ZoomableImageProps {
@@ -26,6 +26,8 @@ export type { BoxProps, RowProps, SpacerProps, StackProps } from './Box';
26
26
  export { Box, Row, Spacer, Stack } from './Box';
27
27
  export type { ButtonProps, ButtonSize, ButtonTone, ButtonVariant } from './Button';
28
28
  export { Button } from './Button';
29
+ export type { CalendarMarkedDate, CalendarMarkKind, CalendarMode, CalendarProps, CalendarRange, CalendarWeekStart } from './Calendar';
30
+ export { Calendar } from './Calendar';
29
31
  export type { CardElevation, CardPadding, CardProps, CardRadius, CardTextAction, CardVariant } from './Card';
30
32
  export { Card } from './Card';
31
33
  export type { CarouselProps, CarouselRef, PaginationStyle } from './Carousel';
@@ -80,7 +82,7 @@ export type { KeyboardAwareScrollViewProps, KeyboardAwareScrollViewRef } from '.
80
82
  export { KeyboardAwareScrollView } from './KeyboardAwareScrollView';
81
83
  export type { KeyboardToolbarProps } from './KeyboardToolbar';
82
84
  export { KeyboardToolbar } from './KeyboardToolbar';
83
- export type { ListItemAction, ListItemProps, ListItemSize } from './ListItem';
85
+ export type { ListItemAction, ListItemProps, ListItemRightPlacement, ListItemSize } from './ListItem';
84
86
  export { ListItem } from './ListItem';
85
87
  export type { LoaderOverlayProps } from './LoaderOverlay';
86
88
  export { LoaderOverlay, loader, useLoader } from './LoaderOverlay';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { FormApi, FormValues } from './types';
3
3
  export interface FormProps<Values extends FormValues = FormValues> {
4
4
  /** The object returned by {@link useForm}. */
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { ViewStyle } from 'react-native';
3
3
  export interface NetworkStatusBannerProps {
4
4
  /** Override the default offline message. */
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { ColorMode, Theme, ThemeOverrides } from './types';
3
3
  export type ColorSchemePreference = 'light' | 'dark' | 'system';
4
4
  export interface ThemeProviderProps {
@@ -10,9 +10,12 @@ export type FontWeightKey = keyof TypographyScale['fontWeight'];
10
10
  * file controls the weight glyph itself. Falls back to `fontWeight` when no
11
11
  * brand font is registered for that weight.
12
12
  *
13
+ * `face: 'display'` picks `fontFamily.display` when the theme sets it and is
14
+ * otherwise identical to the call without it.
15
+ *
13
16
  * Note: the fontWeight scale uses `normal` while FontFamilyScale uses
14
17
  * `regular` (the conventional font-name suffix). The helper maps between
15
18
  * them transparently.
16
19
  */
17
- export declare const fontFor: (theme: Theme, weight: FontWeightKey) => Pick<TextStyle, "fontFamily" | "fontWeight">;
20
+ export declare const fontFor: (theme: Theme, weight: FontWeightKey, face?: "display") => Pick<TextStyle, "fontFamily" | "fontWeight">;
18
21
  //# sourceMappingURL=textStyle.d.ts.map
@@ -0,0 +1,38 @@
1
+ /** WCAG 2.x contrast ratio of two opaque `#RRGGBB` colours. */
2
+ export declare const contrastRatio: (a: string, b: string) => number;
3
+ /**
4
+ * A tone colour as text that reads at 4.5:1 on the given surfaces and on the
5
+ * tone's own soft tint over each. The colour is returned as it is when it
6
+ * already reads; otherwise its lightness moves (down on a light scheme, up on
7
+ * a dark one) with hue and saturation kept, so the ink stays the brand's own
8
+ * colour, only deeper or lighter. A value that is not a six-digit hex has no
9
+ * lightness to move and is returned unchanged.
10
+ */
11
+ export declare const deriveToneInk: (tone: string, surfaces: readonly string[], scheme: "light" | "dark") => string;
12
+ /**
13
+ * A tone colour as a solid fill under its `on*` ink, at 4.5:1. The fill is
14
+ * returned as it is when the pair already reads; otherwise its lightness moves
15
+ * away from the ink (darker under a light ink, lighter under a dark one) with
16
+ * hue and saturation kept. A colour that is not a six-digit hex has no
17
+ * lightness to move and is returned unchanged.
18
+ */
19
+ export declare const deriveSolidFill: (fill: string, on: string) => string;
20
+ /**
21
+ * The hover and pressed fills of a moved or brand-named solid fill, in its own
22
+ * hue. Each takes the size of the library's lightness step from `reference`
23
+ * (the library fill and its two state fills) and moves away from the `on` ink,
24
+ * as the library does (darker under white, lighter under a dark ink), so the
25
+ * label keeps its contrast while pressed and pressed stays further from the
26
+ * fill than hover. A fill with no room for the step on that side steps the
27
+ * other way. A value that is not a six-digit hex has no lightness to step and
28
+ * returns the reference states.
29
+ */
30
+ export declare const deriveStateFills: (fill: string, on: string, reference: {
31
+ fill: string;
32
+ hover: string;
33
+ pressed: string;
34
+ }) => {
35
+ hover: string;
36
+ pressed: string;
37
+ };
38
+ //# sourceMappingURL=toneInk.d.ts.map
@@ -43,10 +43,13 @@ export interface ColorPalette {
43
43
  * Foreground (text/icon) colour to render ON a solid fill of each semantic
44
44
  * tone. Solid Button / Badge / Chip / Banner backgrounds read these instead
45
45
  * of assuming `text.inverse` (white) — white-on-pale (notably `warning`
46
- * amber) fails contrast. Library defaults keep the historical white for
47
- * primary/success/error/info, use dark ink for `warning`, and `text.primary`
48
- * for the surface-like `secondary` tone. Override per-brand to match your
49
- * palette's luminance.
46
+ * amber) fails contrast. Library defaults use white on the light scheme's
47
+ * primary/success/error/info and dark ink on `warning` and on every dark
48
+ * scheme tone, each pair at 4.5:1 or more, and `text.primary` for the
49
+ * surface-like `secondary` tone. A brand that overrides a tone colour (or
50
+ * its `on*` ink) gets the FILL moved, in its own hue, until the pair reads
51
+ * at 4.5:1 (`mergeTheme`); override per-brand to match your palette's
52
+ * luminance.
50
53
  */
51
54
  onPrimary: string;
52
55
  onSecondary: string;
@@ -56,6 +59,24 @@ export interface ColorPalette {
56
59
  onInfo: string;
57
60
  /** Ink on a scrim (`background.overlay`), which is dark in both schemes. */
58
61
  onOverlay: string;
62
+ /**
63
+ * Each tone as TEXT, on the page surfaces and on that tone's own soft tint
64
+ * (14% of the tone). The tone colours above are fills: `warning` amber and
65
+ * `success` green sit near 2:1 as small text on a light page. These hold
66
+ * 4.5:1 against every `background.*` and the soft tint in both schemes, in
67
+ * the tone's own hue. Every component that draws a tone as text (soft and
68
+ * outline `StatusBadge`, `Banner`, `Chip`, `Button` soft / outline / ghost
69
+ * labels, `Avatar` initials on a tint, a field's required marker, the
70
+ * `FormField` hint and `ErrorBoundary` text) reads them. A brand that
71
+ * overrides a tone colour overrides its ink too.
72
+ */
73
+ toneText: {
74
+ primary: string;
75
+ success: string;
76
+ warning: string;
77
+ error: string;
78
+ info: string;
79
+ };
59
80
  text: {
60
81
  primary: string;
61
82
  secondary: string;
@@ -173,6 +194,14 @@ export interface FontFamilyScale {
173
194
  medium?: string;
174
195
  semibold?: string;
175
196
  bold?: string;
197
+ /**
198
+ * The title face (a serif, say). The built-in `display`, `h1`, `h2` and
199
+ * `title` `Text` variants, and a registered variant with
200
+ * `fontFamily: 'display'`, draw in it; when unset they use the weight faces
201
+ * above. It is one face: the variant's weight is not sent alongside it, so
202
+ * register the weight you want as this face.
203
+ */
204
+ display?: string;
176
205
  }
177
206
  export interface TypographyScale {
178
207
  fontSize: {
@@ -377,6 +406,7 @@ export interface ToastTokens {
377
406
  iconCircleSize: number;
378
407
  iconCircleBorderRadius: number;
379
408
  iconGlyphFontSize: number;
409
+ /** Width of the leading tone bar. Library default: 0 (none; the icon carries the tone). Set 4 to restore the bar. */
380
410
  tintBarWidth: number;
381
411
  /** Default auto-dismiss duration (ms) when toast.duration is unset. 0 = persistent. Library default: 3000. */
382
412
  defaultDurationMs?: number;
@@ -819,6 +849,7 @@ export interface AppBarTokens {
819
849
  badgeLineHeight?: number;
820
850
  }
821
851
  export interface BannerTokens {
852
+ /** Width of the leading tone bar. Library default: 0 (none; the icon carries the tone). Set 4 to restore the bar. */
822
853
  tintBarWidth?: number;
823
854
  iconCircleSize?: number;
824
855
  iconCircleRadius?: number;
@@ -1129,6 +1160,8 @@ export interface TextVariantSpec {
1129
1160
  letterSpacing?: number | keyof TypographyScale['letterSpacing'];
1130
1161
  italic?: boolean;
1131
1162
  fontVariant?: TextStyle['fontVariant'];
1163
+ /** `'display'` draws the variant in `typography.fontFamily.display` when the theme sets it; otherwise the weight faces. */
1164
+ fontFamily?: 'display';
1132
1165
  }
1133
1166
  export interface Theme {
1134
1167
  mode: ColorMode;
@@ -0,0 +1,10 @@
1
+ import type { AccessibilityState, ViewProps } from 'react-native';
2
+ type AriaStateProps = Pick<ViewProps, 'aria-busy' | 'aria-checked' | 'aria-disabled' | 'aria-expanded' | 'aria-selected'>;
3
+ /**
4
+ * The `aria-*` twin of an `accessibilityState`. React Native Web reads only the
5
+ * `aria-*` props, so a control that builds its state at run time spreads this
6
+ * beside `accessibilityState`; phones read the same values from either.
7
+ */
8
+ export declare const ariaFromState: (state: AccessibilityState | undefined) => AriaStateProps;
9
+ export {};
10
+ //# sourceMappingURL=ariaState.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { StyleProp, ViewStyle } from 'react-native';
3
3
  import type { HapticType } from '../../utils/hapticUtils.js';
4
4
  export type AccordionVariant = 'plain' | 'card';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { StyleProp, ViewStyle } from 'react-native';
3
3
  export type PresencePreset = 'fade' | 'scale' | 'slide-up' | 'slide-down';
4
4
  export interface AnimatePresenceProps {
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { View as RNView, StyleProp, ViewStyle } from 'react-native';
3
3
  import { Animated } from 'react-native';
4
4
  import type { HapticType } from '../../utils/hapticUtils.js';
@@ -18,7 +18,7 @@
18
18
  * them in an `<svg>` at the requested size, substitute the colour, and hand
19
19
  * the string to react-native-svg's `SvgXml`.
20
20
  */
21
- import React from 'react';
21
+ import type React from 'react';
22
22
  import type { StyleProp, ViewStyle } from 'react-native';
23
23
  import type { IconName } from './catalog.g.js';
24
24
  import { ICON_NAMES } from './catalog.g.js';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { StyleProp, ViewStyle } from 'react-native';
3
3
  /** Which failure the error state describes. */
4
4
  export type AsyncBlockErrorVariant = 'default' | 'offline';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { ImageSourcePropType, ImageStyle, View as RNView, StyleProp, TextStyle, ViewStyle } from 'react-native';
3
3
  import type { Theme } from '../../theme/types.js';
4
4
  /**
@@ -33,7 +33,7 @@ export type AvatarStatusPosition = 'topRight' | 'bottomRight';
33
33
  * primary text; `secondary` is the theme's secondary surface and its ink.
34
34
  */
35
35
  export type AvatarTone = 'neutral' | 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
36
- /** The fill and the ink of an initials disc in a tone. Shared with ProfilePicker's placeholder. */
36
+ /** The fill and the ink (the tone as text, `toneText`) of an initials disc in a tone. Shared with ProfilePicker's placeholder. */
37
37
  export declare const avatarToneColors: (theme: Theme, tone: AvatarTone) => {
38
38
  background: string;
39
39
  color: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { View as RNView, StyleProp, TextStyle, ViewStyle } from 'react-native';
3
3
  export type BadgeVariant = 'standard' | 'dot';
4
4
  export type BadgeTone = 'primary' | 'success' | 'warning' | 'error' | 'neutral' | 'info';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { View as RNView, StyleProp, ViewStyle } from 'react-native';
3
3
  import type { HapticType } from '../../utils/hapticUtils.js';
4
4
  export type BannerVariant = 'info' | 'success' | 'warning' | 'error' | 'neutral';
@@ -204,6 +204,12 @@ export interface BottomNavigationProps {
204
204
  /** Style applied to the active indicator of every variant (pill, line, bubble or expanded pill). */
205
205
  indicatorStyle?: StyleProp<ViewStyle>;
206
206
  labelStyle?: StyleProp<TextStyle>;
207
+ /**
208
+ * Largest font scale the tab label follows (React Native's
209
+ * `maxFontSizeMultiplier`). The icon and the badge keep their size. Default
210
+ * 1.2, or the theme's `maxFontSizeMultiplier` when that is set.
211
+ */
212
+ labelMaxFontScale?: number;
207
213
  testID?: string;
208
214
  }
209
215
  declare const BottomNavigation: React.ForwardRefExoticComponent<BottomNavigationProps & React.RefAttributes<RNView>>;
@@ -16,7 +16,7 @@
16
16
  * ref.current?.collapse(); // animate to smallest snap point
17
17
  * ref.current?.close(); // dismiss
18
18
  */
19
- import React from 'react';
19
+ import type React from 'react';
20
20
  import type { LayoutChangeEvent, NativeScrollEvent, NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native';
21
21
  import { ScrollView } from 'react-native';
22
22
  /**
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  import type { View as RNView, StyleProp, ViewProps, ViewStyle } from 'react-native';
3
3
  import type { ColorPalette, RadiusScale, SpacingScale, Theme } from '../../theme/types.js';
4
4
  export type SpacingToken = keyof SpacingScale;