@webority/mobile-ui 0.147.0 → 0.149.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 (218) hide show
  1. package/dist/canvas-kit/kit.js +4744 -4512
  2. package/dist/canvas-kit/manifest.json +8 -1
  3. package/dist/canvas-kit/release.json +6 -6
  4. package/lib/commonjs/components/AppBar/AppBar.js +1 -1
  5. package/lib/commonjs/components/AuthedImage/authedImageCache.js +1 -1
  6. package/lib/commonjs/components/AuthedImage/imageStore.js +1 -1
  7. package/lib/commonjs/components/AuthedImage/imageStore.web.js +1 -1
  8. package/lib/commonjs/components/Avatar/Avatar.js +1 -1
  9. package/lib/commonjs/components/BarChart/BarChart.js +1 -1
  10. package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
  11. package/lib/commonjs/components/Box/Box.js +1 -1
  12. package/lib/commonjs/components/Drawer/Drawer.js +1 -1
  13. package/lib/commonjs/components/FieldBase/FieldBase.js +1 -1
  14. package/lib/commonjs/components/FieldBase/useFloatingLabel.js +1 -1
  15. package/lib/commonjs/components/FileViewer/useFileViewerZoom.js +1 -1
  16. package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
  17. package/lib/commonjs/components/Input/Input.js +1 -1
  18. package/lib/commonjs/components/ListItem/ListItem.js +1 -1
  19. package/lib/commonjs/components/Markdown/Markdown.js +1 -1
  20. package/lib/commonjs/components/MessageList/MessageList.js +1 -1
  21. package/lib/commonjs/components/OptionSheet/OptionSheet.js +1 -1
  22. package/lib/commonjs/components/ProgressBar/ProgressBar.js +1 -1
  23. package/lib/commonjs/components/RichTextEditor/RichTextEditor.js +1 -1
  24. package/lib/commonjs/components/SignaturePad/SignaturePad.js +1 -1
  25. package/lib/commonjs/components/SignaturePad/writePng.js +1 -1
  26. package/lib/commonjs/components/SignaturePad/writePng.web.js +1 -1
  27. package/lib/commonjs/components/SlideToConfirm/SlideToConfirm.js +1 -1
  28. package/lib/commonjs/components/Slider/Slider.js +1 -1
  29. package/lib/commonjs/components/SortableList/SortableList.js +1 -1
  30. package/lib/commonjs/components/Swipeable/Swipeable.js +1 -1
  31. package/lib/commonjs/components/WheelPicker/Wheel.js +1 -1
  32. package/lib/commonjs/components/ZoomableImage/ZoomableImage.js +1 -1
  33. package/lib/commonjs/hooks/useDragToDismiss.js +1 -1
  34. package/lib/commonjs/index.js +1 -1
  35. package/lib/commonjs/navigation/NavigationScreen.js +1 -1
  36. package/lib/commonjs/theme/Gradient.js +1 -1
  37. package/lib/module/components/AppBar/AppBar.js +1 -1
  38. package/lib/module/components/AuthedImage/authedImageCache.js +1 -1
  39. package/lib/module/components/AuthedImage/imageStore.js +1 -1
  40. package/lib/module/components/AuthedImage/imageStore.web.js +1 -1
  41. package/lib/module/components/Avatar/Avatar.js +1 -1
  42. package/lib/module/components/BarChart/BarChart.js +1 -1
  43. package/lib/module/components/BottomSheet/BottomSheet.js +1 -1
  44. package/lib/module/components/Box/Box.js +1 -1
  45. package/lib/module/components/Drawer/Drawer.js +1 -1
  46. package/lib/module/components/FieldBase/FieldBase.js +1 -1
  47. package/lib/module/components/FieldBase/useFloatingLabel.js +1 -1
  48. package/lib/module/components/FileViewer/useFileViewerZoom.js +1 -1
  49. package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
  50. package/lib/module/components/Input/Input.js +1 -1
  51. package/lib/module/components/ListItem/ListItem.js +1 -1
  52. package/lib/module/components/Markdown/Markdown.js +1 -1
  53. package/lib/module/components/MessageList/MessageList.js +1 -1
  54. package/lib/module/components/OptionSheet/OptionSheet.js +1 -1
  55. package/lib/module/components/ProgressBar/ProgressBar.js +1 -1
  56. package/lib/module/components/RichTextEditor/RichTextEditor.js +1 -1
  57. package/lib/module/components/SignaturePad/SignaturePad.js +1 -1
  58. package/lib/module/components/SignaturePad/writePng.js +1 -1
  59. package/lib/module/components/SignaturePad/writePng.web.js +1 -1
  60. package/lib/module/components/SlideToConfirm/SlideToConfirm.js +1 -1
  61. package/lib/module/components/Slider/Slider.js +1 -1
  62. package/lib/module/components/SortableList/SortableList.js +1 -1
  63. package/lib/module/components/Swipeable/Swipeable.js +1 -1
  64. package/lib/module/components/WheelPicker/Wheel.js +1 -1
  65. package/lib/module/components/ZoomableImage/ZoomableImage.js +1 -1
  66. package/lib/module/hooks/useDragToDismiss.js +1 -1
  67. package/lib/module/index.js +1 -1
  68. package/lib/module/navigation/NavigationScreen.js +1 -1
  69. package/lib/module/theme/Gradient.js +1 -1
  70. package/lib/typescript/commonjs/canvasKit/index.d.ts +15 -6
  71. package/lib/typescript/commonjs/components/AmountSlider/AmountSlider.d.ts +3 -2
  72. package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +2 -2
  73. package/lib/typescript/commonjs/components/AuthedImage/imageStore.d.ts +1 -1
  74. package/lib/typescript/commonjs/components/AuthedImage/imageStore.web.d.ts +1 -1
  75. package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +2 -2
  76. package/lib/typescript/commonjs/components/Badge/Badge.d.ts +2 -2
  77. package/lib/typescript/commonjs/components/Banner/Banner.d.ts +2 -2
  78. package/lib/typescript/commonjs/components/BarChart/BarChart.d.ts +2 -2
  79. package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +2 -2
  80. package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +3 -4
  81. package/lib/typescript/commonjs/components/Box/Box.d.ts +4 -4
  82. package/lib/typescript/commonjs/components/Button/Button.d.ts +3 -2
  83. package/lib/typescript/commonjs/components/Calendar/Calendar.d.ts +3 -2
  84. package/lib/typescript/commonjs/components/Calendar/calendarStyles.d.ts +25 -116
  85. package/lib/typescript/commonjs/components/Card/Card.d.ts +2 -2
  86. package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +2 -2
  87. package/lib/typescript/commonjs/components/Chip/Chip.d.ts +2 -2
  88. package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +2 -2
  89. package/lib/typescript/commonjs/components/Composer/Composer.d.ts +2 -3
  90. package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +3 -2
  91. package/lib/typescript/commonjs/components/DecimalInput/DecimalInput.d.ts +3 -2
  92. package/lib/typescript/commonjs/components/Divider/Divider.d.ts +3 -2
  93. package/lib/typescript/commonjs/components/Drawer/Drawer.d.ts +1 -1
  94. package/lib/typescript/commonjs/components/EmptyState/EmptyState.d.ts +2 -2
  95. package/lib/typescript/commonjs/components/FileViewer/useFileViewerZoom.d.ts +14 -22
  96. package/lib/typescript/commonjs/components/FilterChipRow/FilterChipRow.d.ts +3 -2
  97. package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +2 -2
  98. package/lib/typescript/commonjs/components/FormField/FormField.d.ts +2 -2
  99. package/lib/typescript/commonjs/components/IconBadge/IconBadge.d.ts +3 -2
  100. package/lib/typescript/commonjs/components/IconButton/IconButton.d.ts +3 -2
  101. package/lib/typescript/commonjs/components/InlineSelect/InlineSelect.d.ts +2 -2
  102. package/lib/typescript/commonjs/components/Input/Input.d.ts +2 -3
  103. package/lib/typescript/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +1 -1
  104. package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +4 -3
  105. package/lib/typescript/commonjs/components/Markdown/Markdown.d.ts +3 -1
  106. package/lib/typescript/commonjs/components/Menu/useContextMenu.d.ts +2 -2
  107. package/lib/typescript/commonjs/components/Modal/Modal.d.ts +3 -3
  108. package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +4 -2
  109. package/lib/typescript/commonjs/components/ProfileCompletion/ProfileCompletion.d.ts +2 -2
  110. package/lib/typescript/commonjs/components/ProfilePicker/ProfilePicker.d.ts +2 -2
  111. package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +4 -4
  112. package/lib/typescript/commonjs/components/ProgressRing/ProgressRing.d.ts +2 -2
  113. package/lib/typescript/commonjs/components/Radio/Radio.d.ts +3 -3
  114. package/lib/typescript/commonjs/components/Rating/Rating.d.ts +2 -2
  115. package/lib/typescript/commonjs/components/RichTextEditor/RichTextEditor.d.ts +2 -2
  116. package/lib/typescript/commonjs/components/ScannerOverlay/ScannerOverlay.d.ts +2 -2
  117. package/lib/typescript/commonjs/components/Screen/Screen.d.ts +2 -2
  118. package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +3 -3
  119. package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +3 -3
  120. package/lib/typescript/commonjs/components/Select/Select.d.ts +2 -2
  121. package/lib/typescript/commonjs/components/SignaturePad/writePng.d.ts +1 -1
  122. package/lib/typescript/commonjs/components/SignaturePad/writePng.web.d.ts +1 -1
  123. package/lib/typescript/commonjs/components/SlideToConfirm/SlideToConfirm.d.ts +2 -2
  124. package/lib/typescript/commonjs/components/Slider/Slider.d.ts +2 -2
  125. package/lib/typescript/commonjs/components/SliderField/SliderField.d.ts +2 -2
  126. package/lib/typescript/commonjs/components/Sparkline/Sparkline.d.ts +3 -2
  127. package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +2 -2
  128. package/lib/typescript/commonjs/components/SquircleView/SquircleView.d.ts +3 -2
  129. package/lib/typescript/commonjs/components/StatTile/StatTile.d.ts +3 -3
  130. package/lib/typescript/commonjs/components/StatusBadge/StatusBadge.d.ts +2 -2
  131. package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +2 -2
  132. package/lib/typescript/commonjs/components/Swipeable/Swipeable.d.ts +1 -1
  133. package/lib/typescript/commonjs/components/Switch/Switch.d.ts +3 -3
  134. package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +3 -3
  135. package/lib/typescript/commonjs/components/TagInput/TagInput.d.ts +3 -2
  136. package/lib/typescript/commonjs/components/Text/Text.d.ts +2 -2
  137. package/lib/typescript/commonjs/components/Tooltip/RichTooltipBody.d.ts +3 -3
  138. package/lib/typescript/commonjs/components/Tour/Tour.d.ts +2 -2
  139. package/lib/typescript/commonjs/hooks/useDragToDismiss.d.ts +5 -5
  140. package/lib/typescript/commonjs/hooks/useFieldErrorScroll.d.ts +5 -5
  141. package/lib/typescript/commonjs/index.d.ts +1 -1
  142. package/lib/typescript/commonjs/theme/Gradient.d.ts +5 -1
  143. package/lib/typescript/commonjs/theme/makeStyles.d.ts +4 -2
  144. package/lib/typescript/module/canvasKit/index.d.ts +15 -6
  145. package/lib/typescript/module/components/AmountSlider/AmountSlider.d.ts +3 -2
  146. package/lib/typescript/module/components/AppBar/AppBar.d.ts +2 -2
  147. package/lib/typescript/module/components/AuthedImage/imageStore.d.ts +1 -1
  148. package/lib/typescript/module/components/AuthedImage/imageStore.web.d.ts +1 -1
  149. package/lib/typescript/module/components/Avatar/Avatar.d.ts +2 -2
  150. package/lib/typescript/module/components/Badge/Badge.d.ts +2 -2
  151. package/lib/typescript/module/components/Banner/Banner.d.ts +2 -2
  152. package/lib/typescript/module/components/BarChart/BarChart.d.ts +2 -2
  153. package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +2 -2
  154. package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +3 -4
  155. package/lib/typescript/module/components/Box/Box.d.ts +4 -4
  156. package/lib/typescript/module/components/Button/Button.d.ts +3 -2
  157. package/lib/typescript/module/components/Calendar/Calendar.d.ts +3 -2
  158. package/lib/typescript/module/components/Calendar/calendarStyles.d.ts +25 -116
  159. package/lib/typescript/module/components/Card/Card.d.ts +2 -2
  160. package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +2 -2
  161. package/lib/typescript/module/components/Chip/Chip.d.ts +2 -2
  162. package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +2 -2
  163. package/lib/typescript/module/components/Composer/Composer.d.ts +2 -3
  164. package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +3 -2
  165. package/lib/typescript/module/components/DecimalInput/DecimalInput.d.ts +3 -2
  166. package/lib/typescript/module/components/Divider/Divider.d.ts +3 -2
  167. package/lib/typescript/module/components/Drawer/Drawer.d.ts +1 -1
  168. package/lib/typescript/module/components/EmptyState/EmptyState.d.ts +2 -2
  169. package/lib/typescript/module/components/FileViewer/useFileViewerZoom.d.ts +14 -22
  170. package/lib/typescript/module/components/FilterChipRow/FilterChipRow.d.ts +3 -2
  171. package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +2 -2
  172. package/lib/typescript/module/components/FormField/FormField.d.ts +2 -2
  173. package/lib/typescript/module/components/IconBadge/IconBadge.d.ts +3 -2
  174. package/lib/typescript/module/components/IconButton/IconButton.d.ts +3 -2
  175. package/lib/typescript/module/components/InlineSelect/InlineSelect.d.ts +2 -2
  176. package/lib/typescript/module/components/Input/Input.d.ts +2 -3
  177. package/lib/typescript/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +1 -1
  178. package/lib/typescript/module/components/ListItem/ListItem.d.ts +4 -3
  179. package/lib/typescript/module/components/Markdown/Markdown.d.ts +3 -1
  180. package/lib/typescript/module/components/Menu/useContextMenu.d.ts +2 -2
  181. package/lib/typescript/module/components/Modal/Modal.d.ts +3 -3
  182. package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +4 -2
  183. package/lib/typescript/module/components/ProfileCompletion/ProfileCompletion.d.ts +2 -2
  184. package/lib/typescript/module/components/ProfilePicker/ProfilePicker.d.ts +2 -2
  185. package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +4 -4
  186. package/lib/typescript/module/components/ProgressRing/ProgressRing.d.ts +2 -2
  187. package/lib/typescript/module/components/Radio/Radio.d.ts +3 -3
  188. package/lib/typescript/module/components/Rating/Rating.d.ts +2 -2
  189. package/lib/typescript/module/components/RichTextEditor/RichTextEditor.d.ts +2 -2
  190. package/lib/typescript/module/components/ScannerOverlay/ScannerOverlay.d.ts +2 -2
  191. package/lib/typescript/module/components/Screen/Screen.d.ts +2 -2
  192. package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +3 -3
  193. package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +3 -3
  194. package/lib/typescript/module/components/Select/Select.d.ts +2 -2
  195. package/lib/typescript/module/components/SignaturePad/writePng.d.ts +1 -1
  196. package/lib/typescript/module/components/SignaturePad/writePng.web.d.ts +1 -1
  197. package/lib/typescript/module/components/SlideToConfirm/SlideToConfirm.d.ts +2 -2
  198. package/lib/typescript/module/components/Slider/Slider.d.ts +2 -2
  199. package/lib/typescript/module/components/SliderField/SliderField.d.ts +2 -2
  200. package/lib/typescript/module/components/Sparkline/Sparkline.d.ts +3 -2
  201. package/lib/typescript/module/components/Spinner/Spinner.d.ts +2 -2
  202. package/lib/typescript/module/components/SquircleView/SquircleView.d.ts +3 -2
  203. package/lib/typescript/module/components/StatTile/StatTile.d.ts +3 -3
  204. package/lib/typescript/module/components/StatusBadge/StatusBadge.d.ts +2 -2
  205. package/lib/typescript/module/components/Stepper/Stepper.d.ts +2 -2
  206. package/lib/typescript/module/components/Swipeable/Swipeable.d.ts +1 -1
  207. package/lib/typescript/module/components/Switch/Switch.d.ts +3 -3
  208. package/lib/typescript/module/components/Tabs/Tabs.d.ts +3 -3
  209. package/lib/typescript/module/components/TagInput/TagInput.d.ts +3 -2
  210. package/lib/typescript/module/components/Text/Text.d.ts +2 -2
  211. package/lib/typescript/module/components/Tooltip/RichTooltipBody.d.ts +3 -3
  212. package/lib/typescript/module/components/Tour/Tour.d.ts +2 -2
  213. package/lib/typescript/module/hooks/useDragToDismiss.d.ts +5 -5
  214. package/lib/typescript/module/hooks/useFieldErrorScroll.d.ts +5 -5
  215. package/lib/typescript/module/index.d.ts +1 -1
  216. package/lib/typescript/module/theme/Gradient.d.ts +5 -1
  217. package/lib/typescript/module/theme/makeStyles.d.ts +4 -2
  218. package/package.json +31 -31
@@ -7,7 +7,7 @@
7
7
  * styling, full a11y, and dark-mode auto.
8
8
  */
9
9
  import type React from "react";
10
- import type { View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
10
+ import type { HostInstance, StyleProp, TextStyle, ViewStyle } from "react-native";
11
11
  import type { FieldVariant, Size } from "../../types/vocabulary.js";
12
12
  import type { HapticType } from "../../utils/index.js";
13
13
  import type { SlotIcon } from "../AppIcon/slotIcon.js";
@@ -157,7 +157,7 @@ export interface MultiSelectProps<T = SelectOption> extends BaseSelectProps<T> {
157
157
  onChange: (value: SelectValue[]) => void;
158
158
  }
159
159
  export type SelectProps<T = SelectOption> = SingleSelectProps<T> | MultiSelectProps<T>;
160
- declare const Select: React.ForwardRefExoticComponent<SelectProps<unknown> & React.RefAttributes<RNView>>;
160
+ declare const Select: React.ForwardRefExoticComponent<SelectProps<unknown> & React.RefAttributes<HostInstance>>;
161
161
  export { Select };
162
162
  export default Select;
163
163
  //# sourceMappingURL=Select.d.ts.map
@@ -3,5 +3,5 @@
3
3
  * expo-file-system is read here, on the first signature saved, so nothing that
4
4
  * imports the pad pays for it at start (the web build uses `writePng.web.ts`).
5
5
  */
6
- export declare const writePng: (base64: string) => string;
6
+ export declare const writePng: (base64: string) => Promise<string>;
7
7
  //# sourceMappingURL=writePng.d.ts.map
@@ -1,3 +1,3 @@
1
1
  /** The browser has no cache folder: the PNG is answered as a data uri, usable as an image source or an upload body. */
2
- export declare const writePng: (base64: string) => string;
2
+ export declare const writePng: (base64: string) => Promise<string>;
3
3
  //# sourceMappingURL=writePng.web.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
2
+ import type { HostInstance, StyleProp, TextStyle, ViewStyle } from "react-native";
3
3
  import type { Size, Tone } from "../../types/vocabulary.js";
4
4
  import type { HapticType } from "../../utils/index.js";
5
5
  export type SlideToConfirmTone = Tone;
@@ -34,7 +34,7 @@ export interface SlideToConfirmProps {
34
34
  labelStyle?: StyleProp<TextStyle>;
35
35
  testID?: string;
36
36
  }
37
- declare const SlideToConfirm: React.ForwardRefExoticComponent<SlideToConfirmProps & React.RefAttributes<RNView>>;
37
+ declare const SlideToConfirm: React.ForwardRefExoticComponent<SlideToConfirmProps & React.RefAttributes<HostInstance>>;
38
38
  export { SlideToConfirm };
39
39
  export default SlideToConfirm;
40
40
  //# sourceMappingURL=SlideToConfirm.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type React from "react";
2
- import type { View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
2
+ import type { HostInstance, StyleProp, TextStyle, ViewStyle } from "react-native";
3
3
  import type { Size, Tone } from "../../types/vocabulary.js";
4
4
  import type { HapticType } from "../../utils/index.js";
5
5
  export type SliderTone = Tone;
@@ -85,7 +85,7 @@ export interface SliderRangeProps extends SliderCommonProps {
85
85
  onChange?: (value: [number, number]) => void;
86
86
  }
87
87
  export type SliderProps = SliderSingleProps | SliderRangeProps;
88
- declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<RNView>>;
88
+ declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HostInstance>>;
89
89
  export { Slider };
90
90
  export default Slider;
91
91
  //# sourceMappingURL=Slider.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type React from "react";
2
- import type { View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
2
+ import type { HostInstance, StyleProp, TextStyle, ViewStyle } from "react-native";
3
3
  import type { HapticType } from "../../utils/index.js";
4
4
  import type { SlotIcon } from "../AppIcon/index.js";
5
5
  import type { SliderSize, SliderTone, SliderVariant } from "../Slider/index.js";
@@ -91,7 +91,7 @@ interface SliderFieldRangeProps extends SliderFieldCommonProps {
91
91
  onChange?: (value: [number, number]) => void;
92
92
  }
93
93
  export type SliderFieldProps = SliderFieldSingleProps | SliderFieldRangeProps;
94
- declare const SliderField: React.ForwardRefExoticComponent<SliderFieldProps & React.RefAttributes<RNView>>;
94
+ declare const SliderField: React.ForwardRefExoticComponent<SliderFieldProps & React.RefAttributes<HostInstance>>;
95
95
  export { SliderField };
96
96
  export default SliderField;
97
97
  //# sourceMappingURL=SliderField.d.ts.map
@@ -7,7 +7,8 @@
7
7
  * reads as one image to a screen reader, with a label that states the start,
8
8
  * end, low and high values, so nothing rests on the line's colour.
9
9
  */
10
- import type { View as RNView, StyleProp, ViewStyle } from "react-native";
10
+ import type { ForwardRefExoticComponent, RefAttributes } from "react";
11
+ import type { HostInstance, StyleProp, ViewStyle } from "react-native";
11
12
  import type { Tone } from "../../types/vocabulary.js";
12
13
  export type SparklineTone = Tone;
13
14
  export interface SparklineLabels {
@@ -43,7 +44,7 @@ export interface SparklineProps {
43
44
  style?: StyleProp<ViewStyle>;
44
45
  testID?: string;
45
46
  }
46
- declare const Sparkline: import("react").ForwardRefExoticComponent<SparklineProps & import("react").RefAttributes<RNView>>;
47
+ declare const Sparkline: ForwardRefExoticComponent<SparklineProps & RefAttributes<HostInstance>>;
47
48
  export { Sparkline };
48
49
  export default Sparkline;
49
50
  //# sourceMappingURL=Sparkline.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type React from "react";
2
- import type { View as RNView, StyleProp, ViewStyle } from "react-native";
2
+ import type { HostInstance, StyleProp, ViewStyle } from "react-native";
3
3
  import type { Size } from "../../types/vocabulary.js";
4
4
  export type SpinnerSize = Extract<Size, "sm" | "md" | "lg">;
5
5
  export type SpinnerVariant = "circular" | "dots" | "contained";
@@ -25,7 +25,7 @@ export interface SpinnerProps {
25
25
  style?: StyleProp<ViewStyle>;
26
26
  testID?: string;
27
27
  }
28
- declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<RNView>>;
28
+ declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HostInstance>>;
29
29
  export { Spinner };
30
30
  export default Spinner;
31
31
  //# sourceMappingURL=Spinner.d.ts.map
@@ -1,4 +1,5 @@
1
- import type { View as RNView, ViewProps } from "react-native";
1
+ import type { ForwardRefExoticComponent, RefAttributes } from "react";
2
+ import type { HostInstance, ViewProps } from "react-native";
2
3
  export type SquircleViewProps = ViewProps;
3
4
  /**
4
5
  * A `View` whose rounded corners are smooth on both platforms, for a surface
@@ -16,7 +17,7 @@ export type SquircleViewProps = ViewProps;
16
17
  * Children are not clipped to the curve. Use `Card` or `Box` when the surface
17
18
  * is a themed card or a spacing container.
18
19
  */
19
- declare const SquircleView: import("react").ForwardRefExoticComponent<ViewProps & import("react").RefAttributes<RNView>>;
20
+ declare const SquircleView: ForwardRefExoticComponent<SquircleViewProps & RefAttributes<HostInstance>>;
20
21
  export { SquircleView };
21
22
  export default SquircleView;
22
23
  //# sourceMappingURL=SquircleView.d.ts.map
@@ -1,5 +1,5 @@
1
- import type { ReactNode } from "react";
2
- import type { View as RNView, StyleProp, ViewStyle } from "react-native";
1
+ import type { ForwardRefExoticComponent, ReactNode, RefAttributes } from "react";
2
+ import type { HostInstance, StyleProp, ViewStyle } from "react-native";
3
3
  import type { Tone } from "../../types/vocabulary.js";
4
4
  import type { IconVariant } from "../AppIcon/AppIcon.js";
5
5
  import type { SlotIcon } from "../AppIcon/slotIcon.js";
@@ -56,7 +56,7 @@ export interface StatTileProps {
56
56
  style?: StyleProp<ViewStyle>;
57
57
  testID?: string;
58
58
  }
59
- declare const StatTile: import("react").ForwardRefExoticComponent<StatTileProps & import("react").RefAttributes<RNView>>;
59
+ declare const StatTile: ForwardRefExoticComponent<StatTileProps & RefAttributes<HostInstance>>;
60
60
  export { StatTile };
61
61
  export default StatTile;
62
62
  //# sourceMappingURL=StatTile.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type React from "react";
2
- import type { View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
2
+ import type { HostInstance, StyleProp, TextStyle, ViewStyle } from "react-native";
3
3
  import type { FillVariant, Size, Tone } from "../../types/vocabulary.js";
4
4
  /**
5
5
  * The same semantic vocabulary Chip and Badge use, and the web library's
@@ -60,7 +60,7 @@ export interface StatusBadgeProps {
60
60
  textStyle?: StyleProp<TextStyle>;
61
61
  testID?: string;
62
62
  }
63
- declare const StatusBadge: React.ForwardRefExoticComponent<StatusBadgeProps & React.RefAttributes<RNView>> & {
63
+ declare const StatusBadge: React.ForwardRefExoticComponent<StatusBadgeProps & React.RefAttributes<HostInstance>> & {
64
64
  Skeleton: React.FC<StatusBadgeProps>;
65
65
  };
66
66
  export { StatusBadge };
@@ -1,5 +1,5 @@
1
1
  import type React from "react";
2
- import type { View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
2
+ import type { HostInstance, StyleProp, TextStyle, ViewStyle } from "react-native";
3
3
  import type { Tone } from "../../types/vocabulary.js";
4
4
  import type { HapticType } from "../../utils/hapticUtils.js";
5
5
  /**
@@ -92,7 +92,7 @@ export interface StepperProps {
92
92
  haptic?: HapticType | false;
93
93
  testID?: string;
94
94
  }
95
- declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<RNView>> & {
95
+ declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<HostInstance>> & {
96
96
  Skeleton: React.FC<StepperProps>;
97
97
  };
98
98
  export { Stepper };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Swipeable — Reanimated 3 + Gesture Handler 2 implementation.
2
+ * Swipeable: Reanimated 4 and Gesture Handler 3 hook implementation.
3
3
  *
4
4
  * Wraps any content and reveals contextual actions when the user
5
5
  * swipes left or right. Past `fullSwipeThreshold`, the first action
@@ -1,5 +1,5 @@
1
- import type { ReactNode } from "react";
2
- import type { PressableProps, View as RNView, StyleProp, ViewStyle } from "react-native";
1
+ import type { ForwardRefExoticComponent, ReactNode, RefAttributes } from "react";
2
+ import type { HostInstance, PressableProps, StyleProp, ViewStyle } from "react-native";
3
3
  import type { Size, Tone } from "../../types/vocabulary.js";
4
4
  import type { HapticType } from "../../utils/hapticUtils.js";
5
5
  export type SwitchSize = Extract<Size, "sm" | "md" | "lg">;
@@ -50,7 +50,7 @@ export interface SwitchProps extends Omit<PressableProps, "style" | "children" |
50
50
  thumbStyle?: StyleProp<ViewStyle>;
51
51
  testID?: string;
52
52
  }
53
- declare const Switch: import("react").ForwardRefExoticComponent<SwitchProps & import("react").RefAttributes<RNView>>;
53
+ declare const Switch: ForwardRefExoticComponent<SwitchProps & RefAttributes<HostInstance>>;
54
54
  export { Switch };
55
55
  export default Switch;
56
56
  //# sourceMappingURL=Switch.d.ts.map
@@ -14,8 +14,8 @@
14
14
  * is a look, not a semantic change: the roles stay tablist/tab, and a value
15
15
  * choice is still SegmentedControl.
16
16
  */
17
- import { type ReactNode } from "react";
18
- import type { View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
17
+ import { type ForwardRefExoticComponent, type ReactNode, type RefAttributes } from "react";
18
+ import type { HostInstance, StyleProp, TextStyle, ViewStyle } from "react-native";
19
19
  import { Animated } from "react-native";
20
20
  import type { RadiusName } from "../../theme/types.js";
21
21
  import type { Size } from "../../types/vocabulary.js";
@@ -94,7 +94,7 @@ export interface TabsProps {
94
94
  accessibilityLabel?: string;
95
95
  testID?: string;
96
96
  }
97
- declare const Tabs: import("react").ForwardRefExoticComponent<TabsProps & import("react").RefAttributes<RNView>>;
97
+ declare const Tabs: ForwardRefExoticComponent<TabsProps & RefAttributes<HostInstance>>;
98
98
  export { Tabs };
99
99
  export default Tabs;
100
100
  //# sourceMappingURL=Tabs.d.ts.map
@@ -1,4 +1,5 @@
1
- import type { FocusEvent, TextInput as RNTextInput, StyleProp, ViewStyle } from "react-native";
1
+ import type { ForwardRefExoticComponent, RefAttributes } from "react";
2
+ import type { FocusEvent, StyleProp, TextInputInstance, ViewStyle } from "react-native";
2
3
  import type { HapticType } from "../../utils/index.js";
3
4
  import type { FieldBaseSize, FieldBaseVariant } from "../FieldBase/index.js";
4
5
  export interface TagInputProps {
@@ -37,6 +38,6 @@ export interface TagInputProps {
37
38
  * Chip renders a tag and Input takes text, but nothing joined them, so consumers
38
39
  * built this by hand each time (and each one disagreed about backspace).
39
40
  */
40
- export declare const TagInput: import("react").ForwardRefExoticComponent<TagInputProps & import("react").RefAttributes<RNTextInput>>;
41
+ export declare const TagInput: ForwardRefExoticComponent<TagInputProps & RefAttributes<TextInputInstance>>;
41
42
  export default TagInput;
42
43
  //# sourceMappingURL=TagInput.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type React from "react";
2
- import type { TextProps as RNTextProps, Text as RNTextRef, StyleProp, TextStyle } from "react-native";
2
+ import type { HostInstance, TextProps as RNTextProps, StyleProp, TextStyle } from "react-native";
3
3
  import type { TextName, Theme, WeightName } from "../../theme/types.js";
4
4
  import type { Tone } from "../../types/vocabulary.js";
5
5
  export type TextVariant = "display" | "h1" | "h2" | "h3" | "title" | "body" | "bodySmall" | "caption" | "label" | "overline";
@@ -25,7 +25,7 @@ export interface TextProps extends Omit<RNTextProps, "style"> {
25
25
  style?: StyleProp<TextStyle>;
26
26
  }
27
27
  export declare const resolveColor: (theme: Theme, color: string) => string;
28
- declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<RNTextRef>>;
28
+ declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HostInstance>>;
29
29
  export { Text };
30
30
  export default Text;
31
31
  //# sourceMappingURL=Text.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type React from "react";
2
- import type { Text as RNText, View as RNView, StyleProp, TextStyle } from "react-native";
2
+ import type { HostInstance, StyleProp, TextStyle } from "react-native";
3
3
  /** The one text button of a rich tooltip. */
4
4
  export interface TooltipAction {
5
5
  label: string;
@@ -12,9 +12,9 @@ interface RichTooltipBodyProps {
12
12
  action?: TooltipAction;
13
13
  onAction: () => void;
14
14
  /** Takes screen reader focus on open: the title, or the text when there is none. */
15
- focusRef: React.Ref<RNText>;
15
+ focusRef: React.Ref<HostInstance>;
16
16
  /** Takes keyboard focus on open on the web. */
17
- actionRef: React.Ref<RNView>;
17
+ actionRef: React.Ref<HostInstance>;
18
18
  messageStyle?: StyleProp<TextStyle>;
19
19
  }
20
20
  /**
@@ -1,5 +1,5 @@
1
1
  import type React from "react";
2
- import type { View as RNView } from "react-native";
2
+ import type { HostInstance } from "react-native";
3
3
  import type { Theme } from "../../theme/types.js";
4
4
  import type { HapticType } from "../../utils/hapticUtils.js";
5
5
  export interface TourStep {
@@ -8,7 +8,7 @@ export interface TourStep {
8
8
  * `collapsable={false}` so Android keeps it in the native tree. A step whose
9
9
  * view is not mounted or not on screen is skipped.
10
10
  */
11
- target: React.RefObject<RNView | null>;
11
+ target: React.RefObject<HostInstance | null>;
12
12
  title?: string;
13
13
  description: string;
14
14
  /**
@@ -11,7 +11,7 @@
11
11
  * there moves the sheet, whatever the content is doing;
12
12
  * - `sheetGesture` for the sheet itself: a downward drag anywhere moves the
13
13
  * sheet while `contentAtTop()` says the content cannot scroll up any
14
- * further. Pass the list's own `Gesture.Native()` as `scrollGesture` so
14
+ * further. Pass the list's own `useNativeGesture()` as `scrollGesture` so
15
15
  * the two run together: the list scrolls as usual, and once it is at its
16
16
  * top the same finger pulls the sheet down.
17
17
  *
@@ -25,12 +25,12 @@
25
25
  * `<Modal>` needs its own one inside the modal (BottomSheet does the same).
26
26
  */
27
27
  import { Animated } from "react-native";
28
- import { Gesture } from "react-native-gesture-handler";
28
+ import { type useNativeGesture, usePanGesture } from "react-native-gesture-handler";
29
29
  import type { Theme } from "../theme/types.js";
30
30
  import { type PresenceMotion } from "./usePresenceMotion.js";
31
31
  /** The gesture types as the installed gesture-handler builds them; typed off the value so a second copy of the package cannot split them. */
32
- export type SheetPanGesture = ReturnType<typeof Gesture.Pan>;
33
- export type SheetNativeGesture = ReturnType<typeof Gesture.Native>;
32
+ export type SheetPanGesture = ReturnType<typeof usePanGesture>;
33
+ export type SheetNativeGesture = ReturnType<typeof useNativeGesture>;
34
34
  /** Release beyond this many px of downward drag dismisses. */
35
35
  export declare const DRAG_DISMISS_DISTANCE = 100;
36
36
  /** Release above this downward velocity (px/ms) dismisses. */
@@ -43,7 +43,7 @@ export interface UseDragToDismissOptions {
43
43
  onDismiss: () => void;
44
44
  /** Whether the content under the finger is scrolled to its top. Default: always. */
45
45
  contentAtTop?: () => boolean;
46
- /** The scrollable content's `Gesture.Native()`, so the sheet drag runs alongside its scroll. */
46
+ /** The scrollable content's `useNativeGesture()`, so the sheet drag runs alongside its scroll. */
47
47
  scrollGesture?: SheetNativeGesture;
48
48
  }
49
49
  export interface UseDragToDismissResult {
@@ -1,7 +1,7 @@
1
1
  import { type Ref, type RefObject } from "react";
2
- import type { LayoutChangeEvent, ScrollView, View } from "react-native";
2
+ import type { HostInstance, LayoutChangeEvent, ScrollViewInstance } from "react-native";
3
3
  export interface FieldErrorRegistry {
4
- add: (anchor: RefObject<View | null>) => () => void;
4
+ add: (anchor: RefObject<HostInstance | null>) => () => void;
5
5
  }
6
6
  /**
7
7
  * Bringing the first field that shows an error into view. A form field that shows an error joins
@@ -12,15 +12,15 @@ export interface FieldErrorRegistry {
12
12
  * and a step lays its fields out in its own. Outside a provider a field joins nothing.
13
13
  */
14
14
  export declare const FieldErrorScrollContext: import("react").Context<FieldErrorRegistry | null>;
15
- export declare const useFieldErrorAnchor: (error: unknown, forwardedRef?: Ref<View>) => ((node: View | null) => void);
15
+ export declare const useFieldErrorAnchor: (error: unknown, forwardedRef?: Ref<HostInstance>) => ((node: HostInstance | null) => void);
16
16
  export interface UseFieldErrorScrollOptions {
17
- scrollRef: RefObject<ScrollView | null>;
17
+ scrollRef: RefObject<ScrollViewInstance | null>;
18
18
  /** Room kept above the first error so its label shows too. Defaults to 16. */
19
19
  offset?: number;
20
20
  }
21
21
  export interface UseFieldErrorScrollResult {
22
22
  registry: FieldErrorRegistry;
23
- containerRef: RefObject<View | null>;
23
+ containerRef: RefObject<HostInstance | null>;
24
24
  onContainerLayout: (event: LayoutChangeEvent) => void;
25
25
  scrollToFirstError: () => void;
26
26
  }
@@ -10,7 +10,7 @@ export { useDebounce, useFieldChain, useReducedMotion, useRefreshControl, useScr
10
10
  export type { NetworkStatusBannerProps } from "./network/index.js";
11
11
  export { NetworkStatusBanner } from "./network/index.js";
12
12
  export type { BrandOverrides, ColorMode, ColorName, ColorSchemePreference, ComponentName, ComponentSettings, ComponentSizeTokens, ComponentTokens, DurationName, EaseName, FontFaces, FontName, FontWeightValue, GradientDefinition, GradientScale, IconRegistry, IconRenderer, KitThemeBridgeProps, LeadingName, LetterSpacingName, PhoneShadow, RadiusName, Resolved, ShadowName, SizeName, SpaceName, Spring, SpringScale, TextName, TextVariantSpec, Theme, ThemeProviderProps, ThemeSettings, TokenSet, WeightName, } from "./theme/index.js";
13
- export { KitThemeBridge, lightTheme, makeStyles, radiusOf, ThemeProvider, useTheme, useThemeMode } from "./theme/index.js";
13
+ export { fontFor, KitThemeBridge, lightTheme, makeStyles, radiusOf, ThemeProvider, useTheme, useThemeMode } from "./theme/index.js";
14
14
  export type { FieldVariant, FillVariant, SelectionMode, Size, Tone, } from "./types/vocabulary.js";
15
15
  export type { AnnounceOptions, BreakpointKey, FeedbackIntent, HapticType, ResponsiveScales, ScreenInfo, SquirclePathParams, } from "./utils/index.js";
16
16
  export { announce, isHapticsEnabled, setHapticImplementation, setHapticsEnabled, triggerHaptic } from "./utils/index.js";
@@ -1,6 +1,10 @@
1
1
  import type React from "react";
2
- import type { LinearGradientValue, StyleProp, ViewStyle } from "react-native";
2
+ import type { StyleProp, ViewStyle } from "react-native";
3
3
  import type { GradientDefinition } from "./types.js";
4
+ type BackgroundImage = Extract<NonNullable<ViewStyle["experimental_backgroundImage"]>, ReadonlyArray<unknown>>[number];
5
+ type LinearGradientValue = Extract<BackgroundImage, {
6
+ type: "linear-gradient";
7
+ }>;
4
8
  /**
5
9
  * Render a linear gradient with React Native's own `experimental_backgroundImage`
6
10
  * style prop. `GradientDefinition` keeps its vector-based `start`/`end` shape,
@@ -1,5 +1,7 @@
1
- import { StyleSheet } from "react-native";
1
+ import type { ImageStyle, TextStyle, ViewStyle } from "react-native";
2
2
  import type { Theme } from "./types.js";
3
3
  /** `const useStyles = makeStyles((theme) => ({ ... }))`, then `const styles = useStyles()`; rebuilt only when the theme changes. */
4
- export declare function makeStyles<T extends StyleSheet.NamedStyles<T>>(factory: (theme: Theme) => T): () => T;
4
+ export declare function makeStyles<T extends {
5
+ [K in keyof T]: ViewStyle | TextStyle | ImageStyle;
6
+ }>(factory: (theme: Theme) => T): () => T;
5
7
  //# sourceMappingURL=makeStyles.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/mobile-ui",
3
- "version": "0.147.0",
3
+ "version": "0.149.0",
4
4
  "description": "Beautiful, animated, accessible React Native components, theme and form engine for Webority projects.",
5
5
  "keywords": [
6
6
  "react-native",
@@ -115,26 +115,26 @@
115
115
  }
116
116
  },
117
117
  "dependencies": {
118
- "@webority/markdown-core": "0.147.0"
118
+ "@webority/markdown-core": "0.149.0"
119
119
  },
120
120
  "peerDependencies": {
121
121
  "@react-navigation/bottom-tabs": ">=7.0.0",
122
122
  "@react-navigation/native": ">=7.0.0",
123
- "@webority/canvas-kit": "0.147.0",
124
- "@webority/mobile-core": "0.147.0",
125
- "expo": ">=57.0.0",
126
- "expo-file-system": ">=57.0.0",
127
- "expo-haptics": ">=57.0.0",
128
- "expo-image": ">=57.0.0",
129
- "react": "^19.1.0",
123
+ "@webority/canvas-kit": "0.149.0",
124
+ "@webority/mobile-core": "0.149.0",
125
+ "expo": ">=58.0.0",
126
+ "expo-file-system": ">=58.0.0",
127
+ "expo-haptics": ">=58.0.0",
128
+ "expo-image": ">=58.0.0",
129
+ "react": "^19.3.0",
130
130
  "react-hook-form": "^7.55.0",
131
- "react-native": ">=0.81.0",
132
- "react-native-gesture-handler": "^2.21.0 || ^3.0.0",
131
+ "react-native": ">=0.88.0",
132
+ "react-native-gesture-handler": "^3.3.0",
133
133
  "react-native-keyboard-controller": ">=1.21.9",
134
134
  "react-native-reanimated": "^4.0.0",
135
135
  "react-native-safe-area-context": ">=5.4.0",
136
136
  "react-native-svg": ">=15.0.0",
137
- "react-native-worklets": ">=0.10.0"
137
+ "react-native-worklets": ">=0.13.0"
138
138
  },
139
139
  "peerDependenciesMeta": {
140
140
  "@react-navigation/bottom-tabs": {
@@ -178,33 +178,33 @@
178
178
  ]
179
179
  },
180
180
  "devDependencies": {
181
- "@react-native/metro-config": "0.86.3",
181
+ "@react-native/metro-config": "0.88.1",
182
182
  "@react-navigation/bottom-tabs": "7.19.2",
183
183
  "@react-navigation/native": "7.5.1",
184
184
  "@testing-library/react-native": "12.9.0",
185
185
  "@types/node": "25.6.0",
186
- "@types/react": "19.2.18",
187
- "@types/react-test-renderer": "19.1.0",
188
- "@webority/canvas-kit": "0.147.0",
189
- "@webority/mobile-core": "0.147.0",
186
+ "@types/react": "19.3.0",
187
+ "@types/react-test-renderer": "19.3.0",
188
+ "@webority/canvas-kit": "0.149.0",
189
+ "@webority/mobile-core": "0.149.0",
190
190
  "@webority/mobile-dev": "0.0.0",
191
- "@webority/tokens": "0.147.0",
192
- "expo": "57.0.31",
193
- "expo-file-system": "57.0.7",
194
- "expo-haptics": "57.0.3",
195
- "expo-image": "57.0.5",
191
+ "@webority/tokens": "0.149.0",
192
+ "expo": "58.0.23",
193
+ "expo-file-system": "58.0.13",
194
+ "expo-haptics": "58.0.7",
195
+ "expo-image": "58.0.18",
196
196
  "jest": "29.7.0",
197
- "react": "19.2.8",
197
+ "react": "19.3.0",
198
198
  "react-hook-form": "7.89.0",
199
- "react-native": "0.86.3",
199
+ "react-native": "0.88.1",
200
200
  "react-native-builder-bob": "0.43.0",
201
- "react-native-gesture-handler": "3.2.1",
202
- "react-native-keyboard-controller": "1.21.9",
203
- "react-native-reanimated": "4.5.3",
204
- "react-native-safe-area-context": "5.9.1",
205
- "react-native-svg": "15.15.5",
206
- "react-native-worklets": "0.10.4",
207
- "react-test-renderer": "19.2.8",
201
+ "react-native-gesture-handler": "3.3.0",
202
+ "react-native-keyboard-controller": "1.22.7",
203
+ "react-native-reanimated": "4.7.1",
204
+ "react-native-safe-area-context": "5.11.1",
205
+ "react-native-svg": "15.16.0",
206
+ "react-native-worklets": "0.13.0",
207
+ "react-test-renderer": "19.3.0",
208
208
  "typescript": "5.9.3"
209
209
  },
210
210
  "scripts": {