@webority/mobile-ui 0.88.1 → 0.89.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 (396) hide show
  1. package/README.md +2 -0
  2. package/lib/commonjs/canvasKit/index.js +1 -1
  3. package/lib/commonjs/components/Accordion/Accordion.js +1 -1
  4. package/lib/commonjs/components/AmountSlider/AmountSlider.js +1 -1
  5. package/lib/commonjs/components/AnimatePresence/AnimatePresence.js +1 -1
  6. package/lib/commonjs/components/AppBar/AppBar.js +1 -1
  7. package/lib/commonjs/components/AppIcon/AppIcon.js +1 -1
  8. package/lib/commonjs/components/AsyncBlock/AsyncBlock.js +1 -1
  9. package/lib/commonjs/components/AuthedImage/AuthedImage.js +1 -1
  10. package/lib/commonjs/components/Autocomplete/Autocomplete.js +1 -1
  11. package/lib/commonjs/components/Avatar/Avatar.js +1 -1
  12. package/lib/commonjs/components/Badge/Badge.js +1 -1
  13. package/lib/commonjs/components/Banner/Banner.js +1 -1
  14. package/lib/commonjs/components/BarChart/BarChart.js +1 -1
  15. package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +1 -1
  16. package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
  17. package/lib/commonjs/components/Box/Box.js +1 -1
  18. package/lib/commonjs/components/Button/Button.js +1 -1
  19. package/lib/commonjs/components/Calendar/Calendar.js +1 -1
  20. package/lib/commonjs/components/Calendar/CalendarDay.js +1 -1
  21. package/lib/commonjs/components/Calendar/calendarStyles.js +1 -1
  22. package/lib/commonjs/components/Card/Card.js +1 -1
  23. package/lib/commonjs/components/Carousel/Carousel.js +1 -1
  24. package/lib/commonjs/components/Checkbox/Checkbox.js +1 -1
  25. package/lib/commonjs/components/Chip/Chip.js +1 -1
  26. package/lib/commonjs/components/ChoiceGroup/ChoiceGroup.js +1 -1
  27. package/lib/commonjs/components/Composer/Composer.js +1 -1
  28. package/lib/commonjs/components/Confetti/Confetti.js +1 -1
  29. package/lib/commonjs/components/DatePicker/DatePicker.js +1 -1
  30. package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +1 -1
  31. package/lib/commonjs/components/DateSeparator/DateSeparator.js +1 -1
  32. package/lib/commonjs/components/Descriptions/Descriptions.js +1 -1
  33. package/lib/commonjs/components/Dialog/Dialog.js +1 -1
  34. package/lib/commonjs/components/Divider/Divider.js +1 -1
  35. package/lib/commonjs/components/Drawer/Drawer.js +1 -1
  36. package/lib/commonjs/components/EmptyState/EmptyState.js +1 -1
  37. package/lib/commonjs/components/ErrorBoundary/ErrorBoundary.js +1 -1
  38. package/lib/commonjs/components/FieldBase/Chevron.js +1 -1
  39. package/lib/commonjs/components/FieldBase/ChoiceText.js +1 -1
  40. package/lib/commonjs/components/FieldBase/FieldBase.js +1 -1
  41. package/lib/commonjs/components/FieldBase/useFloatingLabel.js +1 -1
  42. package/lib/commonjs/components/FilePicker/FilePicker.js +1 -1
  43. package/lib/commonjs/components/FileViewer/FileViewer.js +1 -1
  44. package/lib/commonjs/components/FilterChipRow/FilterChipRow.js +1 -1
  45. package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -1
  46. package/lib/commonjs/components/FormField/FormField.js +1 -1
  47. package/lib/commonjs/components/IconBadge/IconBadge.js +1 -1
  48. package/lib/commonjs/components/IconButton/IconButton.js +1 -1
  49. package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
  50. package/lib/commonjs/components/InlineSelect/InlineSelect.js +1 -1
  51. package/lib/commonjs/components/Input/Input.js +1 -1
  52. package/lib/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.js +1 -1
  53. package/lib/commonjs/components/KeyboardToolbar/KeyboardToolbar.js +1 -1
  54. package/lib/commonjs/components/ListItem/ListItem.js +1 -1
  55. package/lib/commonjs/components/LoaderOverlay/LoaderOverlay.js +1 -1
  56. package/lib/commonjs/components/Markdown/Markdown.js +1 -1
  57. package/lib/commonjs/components/Menu/MenuSurface.js +1 -1
  58. package/lib/commonjs/components/MessageBubble/MessageBubble.js +1 -1
  59. package/lib/commonjs/components/MessageList/MessageList.js +1 -1
  60. package/lib/commonjs/components/Modal/Modal.js +1 -1
  61. package/lib/commonjs/components/Notation/Notation.js +1 -1
  62. package/lib/commonjs/components/NumberInput/NumberInput.js +1 -1
  63. package/lib/commonjs/components/OTPInput/OTPInput.js +1 -1
  64. package/lib/commonjs/components/OnboardingPager/OnboardingPager.js +1 -1
  65. package/lib/commonjs/components/OptionSheet/OptionSheet.js +1 -1
  66. package/lib/commonjs/components/PaymentResult/PaymentResult.js +1 -1
  67. package/lib/commonjs/components/PermissionPrompt/PermissionPrompt.js +1 -1
  68. package/lib/commonjs/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
  69. package/lib/commonjs/components/PickerTrigger/PickerTrigger.js +1 -1
  70. package/lib/commonjs/components/ProfileCompletion/ProfileCompletion.js +1 -1
  71. package/lib/commonjs/components/ProfilePicker/ProfilePicker.js +1 -1
  72. package/lib/commonjs/components/ProgressBar/ProgressBar.js +1 -1
  73. package/lib/commonjs/components/ProgressRing/ProgressRing.js +1 -1
  74. package/lib/commonjs/components/Radio/Radio.js +1 -1
  75. package/lib/commonjs/components/Radio/RadioDot.js +1 -1
  76. package/lib/commonjs/components/Rating/Rating.js +1 -1
  77. package/lib/commonjs/components/Repeater/Repeater.js +1 -1
  78. package/lib/commonjs/components/RichTextEditor/RichTextEditor.js +1 -1
  79. package/lib/commonjs/components/ScannerOverlay/ScannerOverlay.js +1 -1
  80. package/lib/commonjs/components/Screen/Screen.js +1 -1
  81. package/lib/commonjs/components/SearchBar/SearchBar.js +1 -1
  82. package/lib/commonjs/components/SearchBar/SearchPanel.js +1 -1
  83. package/lib/commonjs/components/SectionHeader/SectionHeader.js +1 -1
  84. package/lib/commonjs/components/SegmentedControl/SegmentedControl.js +1 -1
  85. package/lib/commonjs/components/Select/Select.js +1 -1
  86. package/lib/commonjs/components/SignaturePad/SignaturePad.js +1 -1
  87. package/lib/commonjs/components/Skeleton/Skeleton.js +1 -1
  88. package/lib/commonjs/components/Skeleton/SkeletonContent.js +1 -1
  89. package/lib/commonjs/components/SlideToConfirm/SlideToConfirm.js +1 -1
  90. package/lib/commonjs/components/Slider/Slider.js +1 -1
  91. package/lib/commonjs/components/Slider/valueText.js +1 -1
  92. package/lib/commonjs/components/SliderField/SliderField.js +1 -1
  93. package/lib/commonjs/components/Sparkline/Sparkline.js +1 -1
  94. package/lib/commonjs/components/Spinner/Spinner.js +1 -1
  95. package/lib/commonjs/components/StatTile/StatTile.js +1 -1
  96. package/lib/commonjs/components/StatusBadge/StatusBadge.js +1 -1
  97. package/lib/commonjs/components/Stepper/Stepper.js +1 -1
  98. package/lib/commonjs/components/Swipeable/Swipeable.js +1 -1
  99. package/lib/commonjs/components/Switch/Switch.js +1 -1
  100. package/lib/commonjs/components/Tabs/Tabs.js +1 -1
  101. package/lib/commonjs/components/TagInput/TagInput.js +1 -1
  102. package/lib/commonjs/components/Text/Text.js +1 -1
  103. package/lib/commonjs/components/TimePicker/TimePicker.js +1 -1
  104. package/lib/commonjs/components/Timeline/Timeline.js +1 -1
  105. package/lib/commonjs/components/Toast/Toast.js +1 -1
  106. package/lib/commonjs/components/Toast/ToastProvider.js +1 -1
  107. package/lib/commonjs/components/Tooltip/RichTooltipBody.js +1 -1
  108. package/lib/commonjs/components/Tooltip/Tooltip.js +1 -1
  109. package/lib/commonjs/components/Tour/Tour.js +1 -1
  110. package/lib/commonjs/components/TypingIndicator/TypingIndicator.js +1 -1
  111. package/lib/commonjs/components/WheelPicker/Wheel.js +1 -1
  112. package/lib/commonjs/components/WheelPicker/WheelPicker.js +1 -1
  113. package/lib/commonjs/hooks/useDragToDismiss.js +1 -1
  114. package/lib/commonjs/hooks/usePressAnimation.js +1 -1
  115. package/lib/commonjs/hooks/useRefreshControl.js +1 -1
  116. package/lib/commonjs/index.js +1 -1
  117. package/lib/commonjs/initUI.js +1 -1
  118. package/lib/commonjs/network/NetworkStatusBanner.js +1 -1
  119. package/lib/commonjs/theme/ThemeContext.js +1 -1
  120. package/lib/commonjs/theme/componentSizes.js +1 -1
  121. package/lib/commonjs/theme/index.js +1 -1
  122. package/lib/commonjs/theme/merge.js +1 -1
  123. package/lib/commonjs/theme/scale.js +1 -1
  124. package/lib/commonjs/theme/textStyle.js +1 -1
  125. package/lib/commonjs/theme/tokens.generated.js +1 -1
  126. package/lib/commonjs/theme/tokens.js +1 -1
  127. package/lib/commonjs/utils/color.js +1 -1
  128. package/lib/module/canvasKit/index.js +1 -1
  129. package/lib/module/components/Accordion/Accordion.js +1 -1
  130. package/lib/module/components/AmountSlider/AmountSlider.js +1 -1
  131. package/lib/module/components/AnimatePresence/AnimatePresence.js +1 -1
  132. package/lib/module/components/AppBar/AppBar.js +1 -1
  133. package/lib/module/components/AppIcon/AppIcon.js +1 -1
  134. package/lib/module/components/AsyncBlock/AsyncBlock.js +1 -1
  135. package/lib/module/components/AuthedImage/AuthedImage.js +1 -1
  136. package/lib/module/components/Autocomplete/Autocomplete.js +1 -1
  137. package/lib/module/components/Avatar/Avatar.js +1 -1
  138. package/lib/module/components/Badge/Badge.js +1 -1
  139. package/lib/module/components/Banner/Banner.js +1 -1
  140. package/lib/module/components/BarChart/BarChart.js +1 -1
  141. package/lib/module/components/BottomNavigation/BottomNavigation.js +1 -1
  142. package/lib/module/components/BottomSheet/BottomSheet.js +1 -1
  143. package/lib/module/components/Box/Box.js +1 -1
  144. package/lib/module/components/Button/Button.js +1 -1
  145. package/lib/module/components/Calendar/Calendar.js +1 -1
  146. package/lib/module/components/Calendar/CalendarDay.js +1 -1
  147. package/lib/module/components/Calendar/calendarStyles.js +1 -1
  148. package/lib/module/components/Card/Card.js +1 -1
  149. package/lib/module/components/Carousel/Carousel.js +1 -1
  150. package/lib/module/components/Checkbox/Checkbox.js +1 -1
  151. package/lib/module/components/Chip/Chip.js +1 -1
  152. package/lib/module/components/ChoiceGroup/ChoiceGroup.js +1 -1
  153. package/lib/module/components/Composer/Composer.js +1 -1
  154. package/lib/module/components/Confetti/Confetti.js +1 -1
  155. package/lib/module/components/DatePicker/DatePicker.js +1 -1
  156. package/lib/module/components/DateRangePicker/DateRangePicker.js +1 -1
  157. package/lib/module/components/DateSeparator/DateSeparator.js +1 -1
  158. package/lib/module/components/Descriptions/Descriptions.js +1 -1
  159. package/lib/module/components/Dialog/Dialog.js +1 -1
  160. package/lib/module/components/Divider/Divider.js +1 -1
  161. package/lib/module/components/Drawer/Drawer.js +1 -1
  162. package/lib/module/components/EmptyState/EmptyState.js +1 -1
  163. package/lib/module/components/ErrorBoundary/ErrorBoundary.js +1 -1
  164. package/lib/module/components/FieldBase/Chevron.js +1 -1
  165. package/lib/module/components/FieldBase/ChoiceText.js +1 -1
  166. package/lib/module/components/FieldBase/FieldBase.js +1 -1
  167. package/lib/module/components/FieldBase/useFloatingLabel.js +1 -1
  168. package/lib/module/components/FilePicker/FilePicker.js +1 -1
  169. package/lib/module/components/FileViewer/FileViewer.js +1 -1
  170. package/lib/module/components/FilterChipRow/FilterChipRow.js +1 -1
  171. package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -1
  172. package/lib/module/components/FormField/FormField.js +1 -1
  173. package/lib/module/components/IconBadge/IconBadge.js +1 -1
  174. package/lib/module/components/IconButton/IconButton.js +1 -1
  175. package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
  176. package/lib/module/components/InlineSelect/InlineSelect.js +1 -1
  177. package/lib/module/components/Input/Input.js +1 -1
  178. package/lib/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.js +1 -1
  179. package/lib/module/components/KeyboardToolbar/KeyboardToolbar.js +1 -1
  180. package/lib/module/components/ListItem/ListItem.js +1 -1
  181. package/lib/module/components/LoaderOverlay/LoaderOverlay.js +1 -1
  182. package/lib/module/components/Markdown/Markdown.js +1 -1
  183. package/lib/module/components/Menu/MenuSurface.js +1 -1
  184. package/lib/module/components/MessageBubble/MessageBubble.js +1 -1
  185. package/lib/module/components/MessageList/MessageList.js +1 -1
  186. package/lib/module/components/Modal/Modal.js +1 -1
  187. package/lib/module/components/Notation/Notation.js +1 -1
  188. package/lib/module/components/NumberInput/NumberInput.js +1 -1
  189. package/lib/module/components/OTPInput/OTPInput.js +1 -1
  190. package/lib/module/components/OnboardingPager/OnboardingPager.js +1 -1
  191. package/lib/module/components/OptionSheet/OptionSheet.js +1 -1
  192. package/lib/module/components/PaymentResult/PaymentResult.js +1 -1
  193. package/lib/module/components/PermissionPrompt/PermissionPrompt.js +1 -1
  194. package/lib/module/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
  195. package/lib/module/components/PickerTrigger/PickerTrigger.js +1 -1
  196. package/lib/module/components/ProfileCompletion/ProfileCompletion.js +1 -1
  197. package/lib/module/components/ProfilePicker/ProfilePicker.js +1 -1
  198. package/lib/module/components/ProgressBar/ProgressBar.js +1 -1
  199. package/lib/module/components/ProgressRing/ProgressRing.js +1 -1
  200. package/lib/module/components/Radio/Radio.js +1 -1
  201. package/lib/module/components/Radio/RadioDot.js +1 -1
  202. package/lib/module/components/Rating/Rating.js +1 -1
  203. package/lib/module/components/Repeater/Repeater.js +1 -1
  204. package/lib/module/components/RichTextEditor/RichTextEditor.js +1 -1
  205. package/lib/module/components/ScannerOverlay/ScannerOverlay.js +1 -1
  206. package/lib/module/components/Screen/Screen.js +1 -1
  207. package/lib/module/components/SearchBar/SearchBar.js +1 -1
  208. package/lib/module/components/SearchBar/SearchPanel.js +1 -1
  209. package/lib/module/components/SectionHeader/SectionHeader.js +1 -1
  210. package/lib/module/components/SegmentedControl/SegmentedControl.js +1 -1
  211. package/lib/module/components/Select/Select.js +1 -1
  212. package/lib/module/components/SignaturePad/SignaturePad.js +1 -1
  213. package/lib/module/components/Skeleton/Skeleton.js +1 -1
  214. package/lib/module/components/Skeleton/SkeletonContent.js +1 -1
  215. package/lib/module/components/SlideToConfirm/SlideToConfirm.js +1 -1
  216. package/lib/module/components/Slider/Slider.js +1 -1
  217. package/lib/module/components/Slider/valueText.js +1 -1
  218. package/lib/module/components/SliderField/SliderField.js +1 -1
  219. package/lib/module/components/Sparkline/Sparkline.js +1 -1
  220. package/lib/module/components/Spinner/Spinner.js +1 -1
  221. package/lib/module/components/StatTile/StatTile.js +1 -1
  222. package/lib/module/components/StatusBadge/StatusBadge.js +1 -1
  223. package/lib/module/components/Stepper/Stepper.js +1 -1
  224. package/lib/module/components/Swipeable/Swipeable.js +1 -1
  225. package/lib/module/components/Switch/Switch.js +1 -1
  226. package/lib/module/components/Tabs/Tabs.js +1 -1
  227. package/lib/module/components/TagInput/TagInput.js +1 -1
  228. package/lib/module/components/Text/Text.js +1 -1
  229. package/lib/module/components/TimePicker/TimePicker.js +1 -1
  230. package/lib/module/components/Timeline/Timeline.js +1 -1
  231. package/lib/module/components/Toast/Toast.js +1 -1
  232. package/lib/module/components/Toast/ToastProvider.js +1 -1
  233. package/lib/module/components/Tooltip/RichTooltipBody.js +1 -1
  234. package/lib/module/components/Tooltip/Tooltip.js +1 -1
  235. package/lib/module/components/Tour/Tour.js +1 -1
  236. package/lib/module/components/TypingIndicator/TypingIndicator.js +1 -1
  237. package/lib/module/components/WheelPicker/Wheel.js +1 -1
  238. package/lib/module/components/WheelPicker/WheelPicker.js +1 -1
  239. package/lib/module/hooks/useDragToDismiss.js +1 -1
  240. package/lib/module/hooks/usePressAnimation.js +1 -1
  241. package/lib/module/hooks/useRefreshControl.js +1 -1
  242. package/lib/module/index.js +1 -1
  243. package/lib/module/initUI.js +1 -1
  244. package/lib/module/network/NetworkStatusBanner.js +1 -1
  245. package/lib/module/theme/ThemeContext.js +1 -1
  246. package/lib/module/theme/componentSizes.js +1 -1
  247. package/lib/module/theme/index.js +1 -1
  248. package/lib/module/theme/merge.js +1 -1
  249. package/lib/module/theme/scale.js +1 -1
  250. package/lib/module/theme/textStyle.js +1 -1
  251. package/lib/module/theme/tokens.generated.js +1 -1
  252. package/lib/module/theme/tokens.js +1 -1
  253. package/lib/module/utils/color.js +1 -1
  254. package/lib/typescript/commonjs/components/AmountSlider/AmountSlider.d.ts +1 -1
  255. package/lib/typescript/commonjs/components/AnimatePresence/AnimatePresence.d.ts +1 -1
  256. package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +4 -4
  257. package/lib/typescript/commonjs/components/AppIcon/AppIcon.d.ts +1 -1
  258. package/lib/typescript/commonjs/components/AppIcon/defaultIcons.d.ts +1 -1
  259. package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +4 -4
  260. package/lib/typescript/commonjs/components/Badge/Badge.d.ts +1 -1
  261. package/lib/typescript/commonjs/components/Banner/Banner.d.ts +1 -1
  262. package/lib/typescript/commonjs/components/BarChart/BarChart.d.ts +1 -1
  263. package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +8 -10
  264. package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +2 -2
  265. package/lib/typescript/commonjs/components/Box/Box.d.ts +21 -21
  266. package/lib/typescript/commonjs/components/Button/Button.d.ts +3 -3
  267. package/lib/typescript/commonjs/components/Calendar/Calendar.d.ts +1 -1
  268. package/lib/typescript/commonjs/components/Calendar/calendarStyles.d.ts +9 -9
  269. package/lib/typescript/commonjs/components/Card/Card.d.ts +7 -6
  270. package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +1 -1
  271. package/lib/typescript/commonjs/components/Chip/Chip.d.ts +1 -1
  272. package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +1 -1
  273. package/lib/typescript/commonjs/components/Dialog/Dialog.d.ts +2 -2
  274. package/lib/typescript/commonjs/components/FieldBase/Chevron.d.ts +1 -1
  275. package/lib/typescript/commonjs/components/FieldBase/FieldBase.d.ts +32 -33
  276. package/lib/typescript/commonjs/components/FieldBase/useFloatingLabel.d.ts +2 -3
  277. package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +2 -2
  278. package/lib/typescript/commonjs/components/FormField/FormField.d.ts +2 -3
  279. package/lib/typescript/commonjs/components/IconBadge/IconBadge.d.ts +1 -1
  280. package/lib/typescript/commonjs/components/IconButton/IconButton.d.ts +2 -2
  281. package/lib/typescript/commonjs/components/InlineSelect/InlineSelect.d.ts +2 -3
  282. package/lib/typescript/commonjs/components/Input/Input.d.ts +2 -2
  283. package/lib/typescript/commonjs/components/Notation/Notation.d.ts +1 -1
  284. package/lib/typescript/commonjs/components/OptionSheet/OptionSheet.d.ts +2 -2
  285. package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +2 -3
  286. package/lib/typescript/commonjs/components/ProfileCompletion/ProfileCompletion.d.ts +3 -4
  287. package/lib/typescript/commonjs/components/ProfilePicker/ProfilePicker.d.ts +5 -6
  288. package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +1 -1
  289. package/lib/typescript/commonjs/components/ProgressRing/ProgressRing.d.ts +6 -7
  290. package/lib/typescript/commonjs/components/Radio/Radio.d.ts +1 -1
  291. package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +1 -1
  292. package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +3 -4
  293. package/lib/typescript/commonjs/components/Select/Select.d.ts +5 -5
  294. package/lib/typescript/commonjs/components/Skeleton/Skeleton.d.ts +2 -2
  295. package/lib/typescript/commonjs/components/SlideToConfirm/SlideToConfirm.d.ts +1 -1
  296. package/lib/typescript/commonjs/components/Slider/Slider.d.ts +6 -7
  297. package/lib/typescript/commonjs/components/Slider/valueText.d.ts +1 -1
  298. package/lib/typescript/commonjs/components/Sparkline/Sparkline.d.ts +1 -1
  299. package/lib/typescript/commonjs/components/StatusBadge/StatusBadge.d.ts +2 -3
  300. package/lib/typescript/commonjs/components/Swipeable/Swipeable.d.ts +2 -2
  301. package/lib/typescript/commonjs/components/Switch/Switch.d.ts +1 -1
  302. package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +6 -7
  303. package/lib/typescript/commonjs/components/Text/Text.d.ts +6 -7
  304. package/lib/typescript/commonjs/components/Timeline/Timeline.d.ts +1 -1
  305. package/lib/typescript/commonjs/components/Toast/Toast.d.ts +1 -1
  306. package/lib/typescript/commonjs/components/Toast/ToastProvider.d.ts +2 -2
  307. package/lib/typescript/commonjs/components/Tour/Tour.d.ts +2 -2
  308. package/lib/typescript/commonjs/hooks/usePresenceMotion.d.ts +2 -2
  309. package/lib/typescript/commonjs/index.d.ts +2 -2
  310. package/lib/typescript/commonjs/initUI.d.ts +3 -3
  311. package/lib/typescript/commonjs/theme/ThemeContext.d.ts +5 -3
  312. package/lib/typescript/commonjs/theme/componentSizes.d.ts +40 -18
  313. package/lib/typescript/commonjs/theme/index.d.ts +15 -17
  314. package/lib/typescript/commonjs/theme/merge.d.ts +15 -2
  315. package/lib/typescript/commonjs/theme/scale.d.ts +6 -4
  316. package/lib/typescript/commonjs/theme/textStyle.d.ts +4 -17
  317. package/lib/typescript/commonjs/theme/tokens.generated.d.ts +239 -92
  318. package/lib/typescript/commonjs/theme/types.d.ts +104 -347
  319. package/lib/typescript/commonjs/utils/color.d.ts +6 -2
  320. package/lib/typescript/commonjs/utils/shadows.d.ts +2 -2
  321. package/lib/typescript/module/components/AmountSlider/AmountSlider.d.ts +1 -1
  322. package/lib/typescript/module/components/AnimatePresence/AnimatePresence.d.ts +1 -1
  323. package/lib/typescript/module/components/AppBar/AppBar.d.ts +4 -4
  324. package/lib/typescript/module/components/AppIcon/AppIcon.d.ts +1 -1
  325. package/lib/typescript/module/components/AppIcon/defaultIcons.d.ts +1 -1
  326. package/lib/typescript/module/components/Avatar/Avatar.d.ts +4 -4
  327. package/lib/typescript/module/components/Badge/Badge.d.ts +1 -1
  328. package/lib/typescript/module/components/Banner/Banner.d.ts +1 -1
  329. package/lib/typescript/module/components/BarChart/BarChart.d.ts +1 -1
  330. package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +8 -10
  331. package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +2 -2
  332. package/lib/typescript/module/components/Box/Box.d.ts +21 -21
  333. package/lib/typescript/module/components/Button/Button.d.ts +3 -3
  334. package/lib/typescript/module/components/Calendar/Calendar.d.ts +1 -1
  335. package/lib/typescript/module/components/Calendar/calendarStyles.d.ts +9 -9
  336. package/lib/typescript/module/components/Card/Card.d.ts +7 -6
  337. package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +1 -1
  338. package/lib/typescript/module/components/Chip/Chip.d.ts +1 -1
  339. package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +1 -1
  340. package/lib/typescript/module/components/Dialog/Dialog.d.ts +2 -2
  341. package/lib/typescript/module/components/FieldBase/Chevron.d.ts +1 -1
  342. package/lib/typescript/module/components/FieldBase/FieldBase.d.ts +32 -33
  343. package/lib/typescript/module/components/FieldBase/useFloatingLabel.d.ts +2 -3
  344. package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +2 -2
  345. package/lib/typescript/module/components/FormField/FormField.d.ts +2 -3
  346. package/lib/typescript/module/components/IconBadge/IconBadge.d.ts +1 -1
  347. package/lib/typescript/module/components/IconButton/IconButton.d.ts +2 -2
  348. package/lib/typescript/module/components/InlineSelect/InlineSelect.d.ts +2 -3
  349. package/lib/typescript/module/components/Input/Input.d.ts +2 -2
  350. package/lib/typescript/module/components/Notation/Notation.d.ts +1 -1
  351. package/lib/typescript/module/components/OptionSheet/OptionSheet.d.ts +2 -2
  352. package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +2 -3
  353. package/lib/typescript/module/components/ProfileCompletion/ProfileCompletion.d.ts +3 -4
  354. package/lib/typescript/module/components/ProfilePicker/ProfilePicker.d.ts +5 -6
  355. package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +1 -1
  356. package/lib/typescript/module/components/ProgressRing/ProgressRing.d.ts +6 -7
  357. package/lib/typescript/module/components/Radio/Radio.d.ts +1 -1
  358. package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +1 -1
  359. package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +3 -4
  360. package/lib/typescript/module/components/Select/Select.d.ts +5 -5
  361. package/lib/typescript/module/components/Skeleton/Skeleton.d.ts +2 -2
  362. package/lib/typescript/module/components/SlideToConfirm/SlideToConfirm.d.ts +1 -1
  363. package/lib/typescript/module/components/Slider/Slider.d.ts +6 -7
  364. package/lib/typescript/module/components/Slider/valueText.d.ts +1 -1
  365. package/lib/typescript/module/components/Sparkline/Sparkline.d.ts +1 -1
  366. package/lib/typescript/module/components/StatusBadge/StatusBadge.d.ts +2 -3
  367. package/lib/typescript/module/components/Swipeable/Swipeable.d.ts +2 -2
  368. package/lib/typescript/module/components/Switch/Switch.d.ts +1 -1
  369. package/lib/typescript/module/components/Tabs/Tabs.d.ts +6 -7
  370. package/lib/typescript/module/components/Text/Text.d.ts +6 -7
  371. package/lib/typescript/module/components/Timeline/Timeline.d.ts +1 -1
  372. package/lib/typescript/module/components/Toast/Toast.d.ts +1 -1
  373. package/lib/typescript/module/components/Toast/ToastProvider.d.ts +2 -2
  374. package/lib/typescript/module/components/Tour/Tour.d.ts +2 -2
  375. package/lib/typescript/module/hooks/usePresenceMotion.d.ts +2 -2
  376. package/lib/typescript/module/index.d.ts +2 -2
  377. package/lib/typescript/module/initUI.d.ts +3 -3
  378. package/lib/typescript/module/theme/ThemeContext.d.ts +5 -3
  379. package/lib/typescript/module/theme/componentSizes.d.ts +40 -18
  380. package/lib/typescript/module/theme/index.d.ts +15 -17
  381. package/lib/typescript/module/theme/merge.d.ts +15 -2
  382. package/lib/typescript/module/theme/scale.d.ts +6 -4
  383. package/lib/typescript/module/theme/textStyle.d.ts +4 -17
  384. package/lib/typescript/module/theme/tokens.generated.d.ts +239 -92
  385. package/lib/typescript/module/theme/types.d.ts +104 -347
  386. package/lib/typescript/module/utils/color.d.ts +6 -2
  387. package/lib/typescript/module/utils/shadows.d.ts +2 -2
  388. package/package.json +8 -15
  389. package/lib/commonjs/theme/componentTokens.js +0 -1
  390. package/lib/commonjs/theme/retiredThemeKeys.js +0 -1
  391. package/lib/module/theme/componentTokens.js +0 -1
  392. package/lib/module/theme/retiredThemeKeys.js +0 -1
  393. package/lib/typescript/commonjs/theme/componentTokens.d.ts +0 -762
  394. package/lib/typescript/commonjs/theme/retiredThemeKeys.d.ts +0 -22
  395. package/lib/typescript/module/theme/componentTokens.d.ts +0 -762
  396. package/lib/typescript/module/theme/retiredThemeKeys.d.ts +0 -22
@@ -89,7 +89,7 @@ export interface OptionSheetProps {
89
89
  disabledOf: (option: unknown) => boolean;
90
90
  /**
91
91
  * A row that destroys something (ProfilePicker's "Remove photo"): its label
92
- * is painted in `colors.error`. The row itself, its icon and its description
92
+ * is painted in `colors.danger`. The row itself, its icon and its description
93
93
  * are untouched, so the caller passes a matching icon. Default: none.
94
94
  */
95
95
  destructiveOf?: (option: unknown) => boolean;
@@ -101,7 +101,7 @@ export interface OptionSheetProps {
101
101
  /** Multi mode: checkboxes + Done footer instead of the selected dot. */
102
102
  multi?: boolean;
103
103
  searchable?: boolean;
104
- /** Caret/selection colour of the search input — callers mirror their focus colour. Default: `colors.border.focus`. */
104
+ /** Caret/selection colour of the search input — callers mirror their focus colour. Default: `colors["focus-ring"]`. */
105
105
  searchSelectionColor?: string;
106
106
  accessibilityLabel?: string;
107
107
  /** Style for every option row container (padding, background, etc.). Wins over the row defaults. */
@@ -33,9 +33,8 @@ export interface PickerTriggerProps {
33
33
  */
34
34
  error?: React.ReactNode;
35
35
  /**
36
- * Appends the required marker to the label. Marker text + colour come from
37
- * `theme.components.field.{requiredMarker,requiredMarkerColor}` (default
38
- * `'*'` in `colors.error`).
36
+ * Appends the required marker to the label. Marker text comes from
37
+ * `theme.settings.components.field.requiredMarker` (default `'*'`).
39
38
  */
40
39
  required?: boolean;
41
40
  /** Tap handler — typically opens the modal picker. */
@@ -46,14 +46,13 @@ export interface ProfileCompletionProps {
46
46
  avatarBackgroundColor?: string;
47
47
  /** Colour of the initials; wins over `avatarTone`. */
48
48
  avatarColor?: string;
49
- /** Ring stroke width. Default `theme.components.progressRing.strokeWidth`, then `3`. */
49
+ /** Ring stroke width. Default `3`. */
50
50
  ringWidth?: number;
51
51
  /** Air between the avatar's edge and the ring's inner edge. Default `1`. */
52
52
  ringGap?: number;
53
53
  /**
54
- * `'banded'` (default) colours the ring by progress: `error` below a
55
- * third, `warning` to two thirds, `success` from there
56
- * (`theme.components.progressRing.colorStops`). `'single'` draws it in one
54
+ * `'banded'` (default) colours the ring by progress: `danger` below a
55
+ * third, `warning` to two thirds, `success` from there. `'single'` draws it in one
57
56
  * colour, `tone` (default `'primary'`), at every progress.
58
57
  */
59
58
  ringVariant?: ProfileCompletionRingVariant;
@@ -29,7 +29,7 @@ export type ProfilePickerShape = "circle" | "rounded" | "square";
29
29
  */
30
30
  export type ProfilePickerLayout = "stacked" | "inline" | "profile";
31
31
  /** Theme colour of the camera badge; the same set StatusBadge and Chip use. */
32
- export type ProfilePickerTone = "primary" | "success" | "warning" | "error" | "info" | "neutral";
32
+ export type ProfilePickerTone = "primary" | "success" | "warning" | "danger" | "info" | "neutral";
33
33
  /**
34
34
  * Look of the camera badge. `solid`: the tone fills it, the icon in the
35
35
  * tone's ink. `soft`: a light tint of the tone, the icon in the tone. `outline`:
@@ -75,14 +75,13 @@ export interface ProfilePickerProps {
75
75
  /** Badge icon at the bottom-right: a name, or `{ name, variant }` for another Iconsax style. Default 'camera'. */
76
76
  badgeIcon?: IconName | SlotIconRef;
77
77
  /**
78
- * Theme colour of the badge. Default `theme.components.profilePicker.defaultTone`,
79
- * else 'primary'. `theme.components.profilePicker.badgeColor` replaces the
80
- * tone's colour and `badgeIconColor` the icon's.
78
+ * Theme colour of the badge. Default `theme.settings.components["profile-picker"].defaultTone`,
79
+ * else 'primary'.
81
80
  */
82
81
  tone?: ProfilePickerTone;
83
82
  /**
84
83
  * Look of the badge: `solid` (default), `soft` or `outline`. Default
85
- * `theme.components.profilePicker.defaultVariant`, else 'solid'.
84
+ * `theme.settings.components["profile-picker"].defaultVariant`, else 'solid'.
86
85
  */
87
86
  variant?: ProfilePickerVariant;
88
87
  /**
@@ -90,7 +89,7 @@ export interface ProfilePickerProps {
90
89
  * and the empty person placeholder take a soft tint of the tone with the
91
90
  * initials or icon in the tone, the Avatar's own `tone`. Unset keeps the
92
91
  * Avatar's per-name palette and the grey placeholder. Default
93
- * `theme.components.profilePicker.defaultAvatarTone`.
92
+ * `theme.settings.components["profile-picker"].defaultAvatarTone`.
94
93
  */
95
94
  avatarTone?: AvatarTone;
96
95
  /** Fill behind the initials or the placeholder icon; wins over `avatarTone`. */
@@ -1,7 +1,7 @@
1
1
  import type { ReactNode } from "react";
2
2
  import type { View as RNView, StyleProp, ViewStyle } from "react-native";
3
3
  import type { GradientDefinition } from "../../theme/types.js";
4
- export type ProgressBarTone = "primary" | "success" | "warning" | "error";
4
+ export type ProgressBarTone = "primary" | "success" | "warning" | "danger";
5
5
  export interface ProgressBarSegment {
6
6
  /** Fraction of the full track (0–1). */
7
7
  value: number;
@@ -12,26 +12,25 @@
12
12
  */
13
13
  import type React from "react";
14
14
  import type { View as RNView, StyleProp, ViewStyle } from "react-native";
15
- export type ProgressRingTone = "primary" | "success" | "warning" | "error";
15
+ export type ProgressRingTone = "primary" | "success" | "warning" | "danger";
16
16
  export interface ProgressRingProps {
17
17
  /** Fraction of the ring filled, 0 to 1, clamped. Default `0`. */
18
18
  progress?: number;
19
19
  /** Outer diameter in pixels. Default `48`. */
20
20
  size?: number;
21
- /** Stroke width of the track and the fill. Default `theme.components.progressRing.strokeWidth`, then `4`. */
21
+ /** Stroke width of the track and the fill. Default 4. */
22
22
  strokeWidth?: number;
23
23
  /** Fill colour when no `ringColor` is set. Default `'primary'`. */
24
24
  tone?: ProgressRingTone;
25
- /** Track colour override. Default `theme.components.progressRing.trackColor`, then `theme.colors.surface.disabled`. */
25
+ /** Track colour override. Default the surface-disabled colour. */
26
26
  trackColor?: string;
27
27
  /** Fill colour override; wins over `tone`. */
28
28
  ringColor?: string;
29
29
  /**
30
- * Colour the fill by how far it has got: `error` below the first stop,
30
+ * Colour the fill by how far it has got: `danger` below the first stop,
31
31
  * `warning` to the second, `success` from there (stops default to a third
32
- * and two thirds, `theme.components.progressRing.colorStops`). The colour
33
- * rides the same animated value as the arc, so it flips exactly when the
34
- * sweep crosses a stop. Ignored when `ringColor` is set. Default `false`.
32
+ * and two thirds). The colour rides the same animated value as the arc,
33
+ * so it flips exactly when the sweep crosses a stop. Ignored when `ringColor` is set. Default `false`.
35
34
  */
36
35
  colorByProgress?: boolean;
37
36
  /**
@@ -2,7 +2,7 @@ import type { ReactNode } from "react";
2
2
  import type { PressableProps, View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
3
3
  import type { HapticType } from "../../utils/hapticUtils.js";
4
4
  export type RadioSize = "sm" | "md" | "lg";
5
- export type RadioTone = "primary" | "success" | "warning" | "error";
5
+ export type RadioTone = "primary" | "success" | "warning" | "danger";
6
6
  export type RadioValue = string | number;
7
7
  export interface RadioGroupContextValue {
8
8
  selectedValue: RadioValue | undefined;
@@ -31,7 +31,7 @@ export interface SearchBarProps extends Omit<TextInputProps, "style" | "value" |
31
31
  size?: SearchBarSize;
32
32
  variant?: SearchBarVariant;
33
33
  /**
34
- * Corner radius. Default: the theme's `components.searchBar.<size>.radius`
34
+ * Corner radius. Default: the theme's `components["search-bar"].<size>.radius`
35
35
  * (the pill). Ignored on `underline`, which is always square.
36
36
  */
37
37
  borderRadius?: number;
@@ -14,7 +14,7 @@
14
14
  */
15
15
  import type { ReactNode } from "react";
16
16
  import type { View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
17
- import type { RadiusScale } from "../../theme/types.js";
17
+ import type { RadiusName } from "../../theme/types.js";
18
18
  import type { HapticType } from "../../utils/index.js";
19
19
  import type { SlotIcon, SlotIconState } from "../AppIcon/slotIcon.js";
20
20
  export type SegmentedControlSize = "sm" | "md" | "lg";
@@ -23,7 +23,7 @@ export type SegmentedControlTone = "primary" | "neutral";
23
23
  export type SegmentedControlVariant = "underline" | "pills" | "segmented";
24
24
  export type SegmentValue = string | number;
25
25
  /** A theme radius token or a pixel number. */
26
- export type SegmentedControlRadius = keyof RadiusScale | number;
26
+ export type SegmentedControlRadius = RadiusName | number;
27
27
  /** What a segment knows about itself when it draws its icon. */
28
28
  export interface SegmentIconState extends SlotIconState {
29
29
  selected: boolean;
@@ -71,8 +71,7 @@ export interface SegmentedControlProps {
71
71
  * track (the thumb nests inside with the track's corner minus the inset),
72
72
  * the pill, and the ends of the underline. Unset, each variant keeps its
73
73
  * own default: `md` track with an `sm` thumb, a `pill`-radius pill, a square
74
- * underline. The theme's `segmentedControl.radius` token is the app-wide
75
- * default under this prop.
74
+ * underline.
76
75
  */
77
76
  radius?: SegmentedControlRadius;
78
77
  /**
@@ -63,9 +63,9 @@ interface BaseSelectProps<T = SelectOption> {
63
63
  */
64
64
  title?: string;
65
65
  /**
66
- * Appends the required marker to the label. Marker text + colour come from
67
- * `theme.components.field.{requiredMarker,requiredMarkerColor}` (default
68
- * `'*'` in `colors.error`).
66
+ * Appends the required marker to the label. Marker text comes from
67
+ * `theme.settings.components.field.requiredMarker` (default `'*'` in
68
+ * `colors.danger`).
69
69
  */
70
70
  required?: boolean;
71
71
  /**
@@ -92,7 +92,7 @@ interface BaseSelectProps<T = SelectOption> {
92
92
  size?: SelectSize;
93
93
  /**
94
94
  * Controls the trigger field's fill + border treatment. Resolution chain:
95
- * caller prop → `components.select.defaultVariant` → `components.field.defaultVariant`
95
+ * caller prop → `settings.components.select.defaultVariant` → `settings.components.field.defaultVariant`
96
96
  * → 'outlined'.
97
97
  */
98
98
  variant?: SelectVariant;
@@ -109,7 +109,7 @@ interface BaseSelectProps<T = SelectOption> {
109
109
  * node if you want motion. Mirrors Input's `rightIcon`, same contract as `leftIcon`.
110
110
  */
111
111
  rightIcon?: SlotIcon;
112
- /** Colour of the built-in chevron. Ignored when `rightIcon` is set. Default: `colors.text.tertiary` (`text.disabled` when disabled). */
112
+ /** Colour of the built-in chevron. Ignored when `rightIcon` is set. Default: `colors["text-subtle"]` (`text-disabled` when disabled). */
113
113
  chevronColor?: string;
114
114
  /** Size of the built-in chevron in pixels. Ignored when `rightIcon` is set. Default: the field size's `icon`. */
115
115
  chevronSize?: number;
@@ -24,7 +24,7 @@
24
24
  */
25
25
  import type React from "react";
26
26
  import type { StyleProp, ViewStyle } from "react-native";
27
- import type { RadiusScale } from "../../theme/types.js";
27
+ import type { RadiusName } from "../../theme/types.js";
28
28
  import type { SkeletonColors } from "./SkeletonProvider.js";
29
29
  /** Animation pattern. */
30
30
  export type SkeletonVariant = "shimmer" | "pulse" | "none";
@@ -33,7 +33,7 @@ export type SkeletonSpeed = "slow" | "normal" | "fast";
33
33
  /** Pre-defined shape archetype. Plays nicely with `width`/`height` overrides. */
34
34
  export type SkeletonShape = "rect" | "rounded" | "circle" | "text";
35
35
  /** `theme.radius` token name or a literal pixel value. */
36
- export type SkeletonRadius = keyof Pick<RadiusScale, "sm" | "md" | "lg" | "xl" | "pill"> | number;
36
+ export type SkeletonRadius = Extract<RadiusName, "sm" | "md" | "lg" | "xl" | "pill"> | number;
37
37
  export type SkeletonWidth = number | "auto" | "100%" | `${number}%`;
38
38
  export interface SkeletonProps {
39
39
  /**
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import type { View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
3
3
  import type { HapticType } from "../../utils/index.js";
4
- export type SlideToConfirmTone = "primary" | "success" | "warning" | "error";
4
+ export type SlideToConfirmTone = "primary" | "success" | "warning" | "danger";
5
5
  export type SlideToConfirmSize = "sm" | "md" | "lg";
6
6
  export interface SlideToConfirmProps {
7
7
  /** Fired once the handle is dragged past the threshold. */
@@ -1,7 +1,7 @@
1
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/index.js";
4
- export type SliderTone = "primary" | "success" | "warning" | "error";
4
+ export type SliderTone = "primary" | "success" | "warning" | "danger";
5
5
  export type SliderSize = "sm" | "md" | "lg";
6
6
  /**
7
7
  * Visual style of the slider.
@@ -22,10 +22,9 @@ interface SliderCommonProps {
22
22
  tone?: SliderTone;
23
23
  size?: SliderSize;
24
24
  /**
25
- * Visual style. Default `'default'`. The theme's per-size `trackHeight` /
26
- * `thumbDiameter` tokens resize the `default` variant only: the other
27
- * variants carry their own proportions, which a single pair of numbers
28
- * would break.
25
+ * Visual style. Default `'default'`. The library's per-size track-height and
26
+ * thumb-diameter tokens size the `default` variant only: the other variants
27
+ * carry their own proportions, which a single pair of numbers would break.
29
28
  */
30
29
  variant?: SliderVariant;
31
30
  /**
@@ -70,13 +69,13 @@ interface SliderCommonProps {
70
69
  labelOpacity?: number;
71
70
  testID?: string;
72
71
  }
73
- interface SliderSingleProps extends SliderCommonProps {
72
+ export interface SliderSingleProps extends SliderCommonProps {
74
73
  range?: false;
75
74
  value?: number;
76
75
  defaultValue?: number;
77
76
  onChange?: (value: number) => void;
78
77
  }
79
- interface SliderRangeProps extends SliderCommonProps {
78
+ export interface SliderRangeProps extends SliderCommonProps {
80
79
  range: true;
81
80
  value?: [number, number];
82
81
  defaultValue?: [number, number];
@@ -1,7 +1,7 @@
1
1
  import type { StyleProp, TextStyle } from "react-native";
2
2
  import type { Theme } from "../../theme/types.js";
3
3
  /** The ink drawn on a slider's tone-coloured value bubble. */
4
- export declare const sliderToneInk: (theme: Theme, tone: "primary" | "success" | "warning" | "error") => string;
4
+ export declare const sliderToneInk: (theme: Theme, tone: "primary" | "success" | "warning" | "danger") => string;
5
5
  /**
6
6
  * Shared between AmountSlider and SliderField: the number that counts to its
7
7
  * new value, and the edit-in-a-box logic that keeps a half-typed entry from
@@ -8,7 +8,7 @@
8
8
  * end, low and high values, so nothing rests on the line's colour.
9
9
  */
10
10
  import type { View as RNView, StyleProp, ViewStyle } from "react-native";
11
- export type SparklineTone = "primary" | "success" | "warning" | "error" | "info" | "neutral";
11
+ export type SparklineTone = "primary" | "success" | "warning" | "danger" | "info" | "neutral";
12
12
  export interface SparklineProps {
13
13
  /** The series, oldest first. Values that are not finite numbers are dropped. */
14
14
  data: ReadonlyArray<number>;
@@ -2,11 +2,10 @@ 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
5
- * `AppStatusBadge`. `danger` is the web name for `error`, the mobile theme's
6
- * name, so a status mapped once for both platforms draws the same here.
5
+ * `AppStatusBadge`.
7
6
  * A semantic name survives a palette change; a colour name does not.
8
7
  */
9
- export type StatusBadgeTone = "success" | "warning" | "error" | "danger" | "info" | "primary" | "neutral";
8
+ export type StatusBadgeTone = "success" | "warning" | "danger" | "info" | "primary" | "neutral";
10
9
  /**
11
10
  * `soft` is the default: the tone at a light tint behind text in the tone,
12
11
  * with a border in the tone so the pill has an edge on any surface. `outline`
@@ -9,7 +9,7 @@
9
9
  *
10
10
  * <Swipeable
11
11
  * leftActions={[{ key: 'archive', label: 'Archive', tone: 'success', onPress: handleArchive }]}
12
- * rightActions={[{ key: 'delete', label: 'Delete', tone: 'error', onPress: handleDelete }]}
12
+ * rightActions={[{ key: 'delete', label: 'Delete', tone: 'danger', onPress: handleDelete }]}
13
13
  * >
14
14
  * <ListItem title="Inbox item" />
15
15
  * </Swipeable>
@@ -17,7 +17,7 @@
17
17
  import type React from "react";
18
18
  import type { StyleProp, ViewStyle } from "react-native";
19
19
  import type { HapticType } from "../../utils/index.js";
20
- export type SwipeableTone = "primary" | "success" | "warning" | "error" | "neutral";
20
+ export type SwipeableTone = "primary" | "success" | "warning" | "danger" | "neutral";
21
21
  export interface SwipeableAction {
22
22
  key: string;
23
23
  label: string;
@@ -2,7 +2,7 @@ import type { ReactNode } from "react";
2
2
  import type { PressableProps, View as RNView, StyleProp, ViewStyle } from "react-native";
3
3
  import type { HapticType } from "../../utils/hapticUtils.js";
4
4
  export type SwitchSize = "sm" | "md" | "lg";
5
- export type SwitchTone = "primary" | "success" | "warning" | "error";
5
+ export type SwitchTone = "primary" | "success" | "warning" | "danger";
6
6
  /** `inline`: the control, then the text beside it. `row`: the text on the left, the control on the right, the whole row pressable. */
7
7
  export type SwitchLayout = "inline" | "row";
8
8
  export interface SwitchProps extends Omit<PressableProps, "style" | "children" | "onPress"> {
@@ -9,20 +9,20 @@
9
9
  * because RN's native driver does not support layout props.
10
10
  *
11
11
  * `segmented` borrows SegmentedControl's look (filled track, sliding thumb)
12
- * for tabs that sit inside content, reading that control's size table and
13
- * theme overrides so the two stay in step; the inset is the tabs' own token
14
- * (tabs.trackPadding, 4). It is a look, not a semantic change: the roles
15
- * stay tablist/tab, and a value choice is still SegmentedControl.
12
+ * for tabs that sit inside content, reading that control's size table so the
13
+ * two stay in step; the inset is the tabs' own token (`track-padding`, 4). It
14
+ * is a look, not a semantic change: the roles stay tablist/tab, and a value
15
+ * choice is still SegmentedControl.
16
16
  */
17
17
  import type { View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
18
18
  import { Animated } from "react-native";
19
- import type { RadiusScale } from "../../theme/types.js";
19
+ import type { RadiusName } from "../../theme/types.js";
20
20
  import type { HapticType } from "../../utils/index.js";
21
21
  import type { SlotIcon, SlotIconState } from "../AppIcon/slotIcon.js";
22
22
  export type TabsVariant = "underline" | "pills" | "segmented";
23
23
  export type TabsSize = "sm" | "md" | "lg";
24
24
  /** A theme radius token or a pixel number. */
25
- export type TabsRadius = keyof RadiusScale | number;
25
+ export type TabsRadius = RadiusName | number;
26
26
  export type TabsAlign = "left" | "center";
27
27
  /** What a tab knows about itself when it draws its icon. */
28
28
  export interface TabItemIconState extends SlotIconState {
@@ -53,7 +53,6 @@ export interface TabsProps {
53
53
  * track (the thumb nests inside it, its corner the track's minus the inset),
54
54
  * the pill, and the ends of the underline. Unset, each variant keeps its own
55
55
  * default: `md` track with an `sm` thumb, a `pill`-radius pill, a square underline.
56
- * The theme's `tabs.radius` token is the app-wide default under this prop.
57
56
  */
58
57
  radius?: TabsRadius;
59
58
  /**
@@ -1,21 +1,20 @@
1
1
  import type React from "react";
2
2
  import type { TextProps as RNTextProps, Text as RNTextRef, StyleProp, TextStyle } from "react-native";
3
- import type { FontWeightKey } from "../../theme/index.js";
4
- import type { Theme, TypographyScale } from "../../theme/types.js";
3
+ import type { TextName, Theme, WeightName } from "../../theme/types.js";
5
4
  export type TextVariant = "display" | "h1" | "h2" | "h3" | "title" | "body" | "bodySmall" | "caption" | "label" | "overline";
6
- export type TextColor = "primary" | "secondary" | "tertiary" | "inverse" | "disabled" | "link" | "textStrong" | "success" | "warning" | "error" | "info";
5
+ export type TextColor = "primary" | "secondary" | "tertiary" | "inverse" | "disabled" | "link" | "textStrong" | "success" | "warning" | "danger" | "info";
7
6
  export interface TextProps extends Omit<RNTextProps, "style"> {
8
7
  /**
9
- * A built-in variant, or the name of one registered in `theme.textVariants`.
8
+ * A built-in variant, or the name of one registered in `theme.settings.textVariants`.
10
9
  * An unknown name falls back to `body`.
11
10
  */
12
11
  variant?: TextVariant | (string & {});
13
12
  /** Text role token, semantic tone, or a raw colour string. Defaults per variant. */
14
13
  color?: TextColor | (string & {});
15
14
  /** Override the variant's weight. */
16
- weight?: FontWeightKey;
17
- /** Override the variant's size — a typography token or a pixel number. */
18
- size?: keyof TypographyScale["fontSize"] | number;
15
+ weight?: WeightName;
16
+ /** Override the variant's size: a text step name or a pixel number. */
17
+ size?: TextName | number;
19
18
  align?: TextStyle["textAlign"];
20
19
  italic?: boolean;
21
20
  underline?: boolean;
@@ -8,7 +8,7 @@ import type { StyleProp, ViewStyle } from "react-native";
8
8
  * current — in progress now (warning)
9
9
  * done — completed (success)
10
10
  * onHold — blocked / waiting (info)
11
- * rejected — declined / failed (error)
11
+ * rejected — declined / failed (danger)
12
12
  * cancelled — aborted (muted)
13
13
  * skipped — intentionally bypassed (muted)
14
14
  *
@@ -1,7 +1,7 @@
1
1
  import type React from "react";
2
2
  import type { StyleProp, TextStyle, ViewStyle } from "react-native";
3
3
  import type { HapticType } from "../../utils/hapticUtils.js";
4
- export type ToastVariant = "default" | "success" | "error" | "warning" | "info";
4
+ export type ToastVariant = "default" | "success" | "danger" | "warning" | "info";
5
5
  export type ToastPosition = "top" | "bottom";
6
6
  export interface ToastAction {
7
7
  label: string;
@@ -34,13 +34,13 @@ export interface ToastProviderProps {
34
34
  /**
35
35
  * How long a toast stays, in milliseconds, when its own `duration` is left
36
36
  * out. `0` keeps it until dismissed. Without it the theme's
37
- * `components.toast.defaultDurationMs` applies (3000 by default).
37
+ * `settings.components.toast.defaultDurationMs` applies (3000 by default).
38
38
  */
39
39
  defaultDuration?: number;
40
40
  /**
41
41
  * Haptic per variant, for a toast whose own `haptic` is left out. A variant
42
42
  * left out of the map keeps its built-in haptic (`notificationError` for
43
- * `error`, `notificationSuccess` for `success`, `notificationWarning` for
43
+ * `danger`,`notificationSuccess` for `success`, `notificationWarning` for
44
44
  * `warning`, `selection` otherwise). A variant set to `false` is silent, and
45
45
  * `false` for the whole prop silences every toast.
46
46
  */
@@ -56,8 +56,8 @@ export interface TourProps {
56
56
  * Walks through product steps one highlighted view at a time: the screen is
57
57
  * dimmed except around the step's view, with a card holding the step text and
58
58
  * Back, Next and Skip. Built on `Modal`; the card sits on the side of the view
59
- * with more room, as `Tooltip` places its bubble, using the same tooltip gap and
60
- * screen-padding tokens. Motion comes from `theme.motion`, which collapses under
59
+ * with more room, as `Tooltip` places its bubble, using the same gap and screen padding
60
+ * (the sm space step). Motion comes from `theme.motion`, which collapses under
61
61
  * the OS Reduce Motion setting.
62
62
  */
63
63
  declare const Tour: React.FC<TourProps>;
@@ -1,6 +1,6 @@
1
1
  import { ReduceMotion } from "react-native-reanimated";
2
- import type { MotionScale } from "../theme/types.js";
3
- export type MotionDurationKey = keyof MotionScale["duration"];
2
+ import type { DurationName } from "../theme/types.js";
3
+ export type MotionDurationKey = DurationName;
4
4
  /** The reduceMotion flag every Reanimated fade passes, so the fade still runs under the OS setting. */
5
5
  export declare const PRESENCE_REDUCE_MOTION = ReduceMotion.Never;
6
6
  export interface PresenceMotion {
@@ -9,8 +9,8 @@ export type { InitUIOptions } from "./initUI.js";
9
9
  export { initUI } from "./initUI.js";
10
10
  export type { NetworkStatusBannerProps } from "./network/index.js";
11
11
  export { NetworkStatusBanner } from "./network/index.js";
12
- export type { ColorMode, ColorPalette, ColorSchemePreference, ComponentTokens, DeepPartial, FontSizeKey, IconRegistry, IconRenderer, MotionScale, RadiusKey, RadiusScale, Resolved, ShadowDefinition, ShadowScale, SpacingKey, SpacingScale, TextVariantSpec, Theme, ThemeOverrides, ThemeProviderProps, TypographyScale, } from "./theme/index.js";
13
- export { darkTheme, fontSizeOf, getColorMode, getTheme, lightTheme, mergeTheme, radiusOf, resetTheme, resolveBadgeSize, resolveButtonSize, resolveCheckboxSize, resolveChipSize, resolveEmptyStateSize, resolveFieldSize, resolveFloatingActionButtonSize, resolveListItemSize, resolveOtpInputSize, resolveRadioSize, resolveSegmentedControlSize, resolveSliderSize, resolveSwitchSize, resolveTabsSize, setColorMode, setTheme, spaceOf, subscribeTheme, ThemeProvider, useTheme, useThemeMode, } from "./theme/index.js";
12
+ export type { BrandOverrides, ColorMode, ColorName, ColorSchemePreference, ComponentName, ComponentSettings, ComponentSizeTokens, ComponentTokens, DurationName, EaseName, FieldVariant, FontFaces, FontName, FontWeightValue, GradientDefinition, GradientScale, IconRegistry, IconRenderer, LeadingName, LetterSpacingName, PhoneShadow, RadiusName, Resolved, ShadowName, SizeName, SpaceName, Spring, SpringScale, TextName, TextVariantSpec, Theme, ThemeProviderProps, ThemeSettings, TokenSet, WeightName, } from "./theme/index.js";
13
+ export { COLOR_NAMES, DURATION_NAMES, darkTheme, EASE_NAMES, FONT_NAMES, getColorMode, getTheme, LEADING_NAMES, LETTER_SPACING_NAMES, lightTheme, mergeBrand, RADIUS_NAMES, radiusOf, resetTheme, resolveBadgeSize, resolveButtonSize, resolveCheckboxSize, resolveChipSize, resolveEmptyStateSize, resolveFieldSize, resolveFloatingActionButtonSize, resolveListItemSize, resolveOtpInputSize, resolveRadioSize, resolveSegmentedControlSize, resolveSliderSize, resolveSwitchSize, resolveTabsSize, SHADOW_NAMES, SIZE_NAMES, SPACE_NAMES, setColorMode, setTheme, spaceOf, subscribeTheme, TEXT_NAMES, ThemeProvider, textOf, useTheme, useThemeMode, WEIGHT_NAMES, } from "./theme/index.js";
14
14
  export type { AnnounceOptions, BreakpointKey, FeedbackIntent, HapticType, ResponsiveScales, ScreenInfo, SquirclePathParams, } from "./utils/index.js";
15
15
  export { announce, Breakpoints, configureFeedback, feedback, hapticForIntent, isFeedbackEnabled, isScreenSize, isTablet, Responsive, ScreenDimensions, SQUIRCLE_MIN_RADIUS, SQUIRCLE_SMOOTHING, setHapticImplementation, shadowStyle, smoothCorners, squircleApplies, squircleHostRadius, squirclePath, triggerHaptic, useScreenDimensions, warnUnknownProps, } from "./utils/index.js";
16
16
  //# sourceMappingURL=index.d.ts.map
@@ -1,7 +1,7 @@
1
- import type { ColorMode, ThemeOverrides } from "./theme/types.js";
1
+ import type { BrandOverrides, ColorMode, ThemeSettings } from "./theme/types.js";
2
2
  export interface InitUIOptions {
3
- light?: ThemeOverrides;
4
- dark?: ThemeOverrides;
3
+ brand?: BrandOverrides;
4
+ settings?: ThemeSettings;
5
5
  defaultMode?: ColorMode;
6
6
  }
7
7
  /**
@@ -1,5 +1,5 @@
1
1
  import type React from "react";
2
- import type { ColorMode, Theme, ThemeOverrides } from "./types.js";
2
+ import type { BrandOverrides, ColorMode, Theme, ThemeSettings } from "./types.js";
3
3
  export type ColorSchemePreference = "light" | "dark" | "system";
4
4
  export interface ThemeProviderProps {
5
5
  children: React.ReactNode;
@@ -12,8 +12,10 @@ export interface ThemeProviderProps {
12
12
  * `toggleColorMode`. Without a key nothing is read or written.
13
13
  */
14
14
  persistKey?: string;
15
- lightOverrides?: ThemeOverrides;
16
- darkOverrides?: ThemeOverrides;
15
+ /** Pass a module-level constant: a new object identity merges the theme again. */
16
+ brand?: BrandOverrides;
17
+ /** Pass a module-level constant: a new object identity merges the theme again. */
18
+ settings?: ThemeSettings;
17
19
  }
18
20
  export declare const ThemeProvider: React.FC<ThemeProviderProps>;
19
21
  export declare const useTheme: () => Theme;
@@ -1,27 +1,49 @@
1
- import type { BadgeSizeTokens, ButtonSizeTokens, CheckboxSizeTokens, ChipSizeTokens, ComponentSizeKey, EmptyStateSizeTokens, FieldSizeTokens, FloatingActionButtonSizeTokens, ListItemSizeTokens, OTPInputSizeTokens, RadioSizeTokens, SegmentedControlSizeTokens, SliderSizeTokens, SwitchSizeTokens, TabsSizeTokens } from "./componentTokens.js";
2
1
  import type { Theme } from "./types.js";
3
2
  /** A size token with every scale name turned into pixels. */
4
3
  export type Resolved<T> = {
5
4
  [K in keyof T]: number;
6
5
  };
7
- export declare const resolveButtonSize: (theme: Theme, size: ComponentSizeKey) => Resolved<ButtonSizeTokens>;
8
- export declare const resolveFieldSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<FieldSizeTokens>;
9
- export declare const resolveEmptyStateSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<EmptyStateSizeTokens>;
10
- export declare const resolveListItemSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<ListItemSizeTokens>;
11
- export declare const resolveBadgeSize: (theme: Theme, size: "sm" | "md") => Resolved<BadgeSizeTokens>;
12
- export declare const resolveChipSize: (theme: Theme, size: "sm" | "md") => Resolved<ChipSizeTokens>;
13
- export declare const resolveCheckboxSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<CheckboxSizeTokens>;
14
- export declare const resolveRadioSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<RadioSizeTokens>;
15
- export declare const resolveSwitchSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<SwitchSizeTokens>;
16
- export declare const resolveOtpInputSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<OTPInputSizeTokens>;
17
- export declare const resolveSegmentedControlSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<SegmentedControlSizeTokens>;
18
- export declare const resolveTabsSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<TabsSizeTokens>;
19
- export declare const resolveSliderSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<SliderSizeTokens>;
20
- export declare const resolveFloatingActionButtonSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<FloatingActionButtonSizeTokens>;
6
+ export declare const resolveButtonSize: (theme: Theme, size: "xs" | "sm" | "md" | "lg" | "xl") => Resolved<import("./tokens.generated.js").ButtonSizeTokens>;
7
+ export declare const resolveFieldSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<import("./tokens.generated.js").FieldSizeTokens>;
8
+ export declare const resolveEmptyStateSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<import("./tokens.generated.js").EmptyStateSizeTokens>;
9
+ export declare const resolveListItemSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<{
10
+ "padding-y": import("./tokens.generated.js").SpaceName;
11
+ "title-text": import("./tokens.generated.js").TextName;
12
+ "subtitle-text": import("./tokens.generated.js").TextName;
13
+ "min-height": number;
14
+ }>;
15
+ export declare const resolveBadgeSize: (theme: Theme, size: "sm" | "md") => Resolved<import("./tokens.generated.js").BadgeSizeTokens>;
16
+ export declare const resolveChipSize: (theme: Theme, size: "sm" | "md") => Resolved<import("./tokens.generated.js").ChipSizeTokens>;
17
+ export declare const resolveCheckboxSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<{
18
+ "box-size": number;
19
+ }>;
20
+ export declare const resolveRadioSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<{
21
+ outer: number;
22
+ inner: number;
23
+ }>;
24
+ export declare const resolveSwitchSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<{
25
+ "track-width": number;
26
+ "track-height": number;
27
+ "thumb-size": number;
28
+ padding: import("./tokens.generated.js").SpaceName;
29
+ }>;
30
+ export declare const resolveOtpInputSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<{
31
+ cell: number;
32
+ text: import("./tokens.generated.js").TextName;
33
+ radius: import("./tokens.generated.js").RadiusName;
34
+ gap: import("./tokens.generated.js").SpaceName;
35
+ }>;
36
+ export declare const resolveSegmentedControlSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<import("./tokens.generated.js").SegmentedControlSizeTokens>;
37
+ export declare const resolveTabsSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<import("./tokens.generated.js").TabsSizeTokens>;
38
+ export declare const resolveSliderSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<{
39
+ "track-height": number;
40
+ "thumb-diameter": number;
41
+ }>;
42
+ export declare const resolveFloatingActionButtonSize: (theme: Theme, size: "sm" | "md" | "lg") => Resolved<import("./tokens.generated.js").FloatingActionButtonSizeTokens>;
21
43
  /**
22
- * Resolves every scale-named component token once, so a theme override that
23
- * names a missing scale step stops the app where the theme is built, with the
24
- * token's path, instead of drawing a component with no padding.
44
+ * Resolves every scale-named component token once, so a token that names a
45
+ * missing scale step stops the app where the theme is built, with the token's
46
+ * path, instead of drawing a component with no padding.
25
47
  */
26
48
  export declare const validateComponentTokens: (theme: Theme) => void;
27
49
  //# sourceMappingURL=componentSizes.d.ts.map