@webority/mobile-ui 0.147.0 → 0.148.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 (184) hide show
  1. package/dist/canvas-kit/kit.js +1614 -1543
  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/Box/Box.js +1 -1
  10. package/lib/commonjs/components/FieldBase/FieldBase.js +1 -1
  11. package/lib/commonjs/components/Input/Input.js +1 -1
  12. package/lib/commonjs/components/ListItem/ListItem.js +1 -1
  13. package/lib/commonjs/components/Markdown/Markdown.js +1 -1
  14. package/lib/commonjs/components/MessageList/MessageList.js +1 -1
  15. package/lib/commonjs/components/ProgressBar/ProgressBar.js +1 -1
  16. package/lib/commonjs/components/RichTextEditor/RichTextEditor.js +1 -1
  17. package/lib/commonjs/components/SignaturePad/SignaturePad.js +1 -1
  18. package/lib/commonjs/components/SignaturePad/writePng.js +1 -1
  19. package/lib/commonjs/components/SignaturePad/writePng.web.js +1 -1
  20. package/lib/commonjs/components/WheelPicker/Wheel.js +1 -1
  21. package/lib/commonjs/index.js +1 -1
  22. package/lib/commonjs/theme/Gradient.js +1 -1
  23. package/lib/module/components/AppBar/AppBar.js +1 -1
  24. package/lib/module/components/AuthedImage/authedImageCache.js +1 -1
  25. package/lib/module/components/AuthedImage/imageStore.js +1 -1
  26. package/lib/module/components/AuthedImage/imageStore.web.js +1 -1
  27. package/lib/module/components/Avatar/Avatar.js +1 -1
  28. package/lib/module/components/Box/Box.js +1 -1
  29. package/lib/module/components/FieldBase/FieldBase.js +1 -1
  30. package/lib/module/components/Input/Input.js +1 -1
  31. package/lib/module/components/ListItem/ListItem.js +1 -1
  32. package/lib/module/components/Markdown/Markdown.js +1 -1
  33. package/lib/module/components/MessageList/MessageList.js +1 -1
  34. package/lib/module/components/ProgressBar/ProgressBar.js +1 -1
  35. package/lib/module/components/RichTextEditor/RichTextEditor.js +1 -1
  36. package/lib/module/components/SignaturePad/SignaturePad.js +1 -1
  37. package/lib/module/components/SignaturePad/writePng.js +1 -1
  38. package/lib/module/components/SignaturePad/writePng.web.js +1 -1
  39. package/lib/module/components/WheelPicker/Wheel.js +1 -1
  40. package/lib/module/index.js +1 -1
  41. package/lib/module/theme/Gradient.js +1 -1
  42. package/lib/typescript/commonjs/canvasKit/index.d.ts +15 -6
  43. package/lib/typescript/commonjs/components/AmountSlider/AmountSlider.d.ts +3 -2
  44. package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +2 -2
  45. package/lib/typescript/commonjs/components/AuthedImage/imageStore.d.ts +1 -1
  46. package/lib/typescript/commonjs/components/AuthedImage/imageStore.web.d.ts +1 -1
  47. package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +2 -2
  48. package/lib/typescript/commonjs/components/Badge/Badge.d.ts +2 -2
  49. package/lib/typescript/commonjs/components/Banner/Banner.d.ts +2 -2
  50. package/lib/typescript/commonjs/components/BarChart/BarChart.d.ts +2 -2
  51. package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +2 -2
  52. package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +2 -3
  53. package/lib/typescript/commonjs/components/Box/Box.d.ts +4 -4
  54. package/lib/typescript/commonjs/components/Button/Button.d.ts +3 -2
  55. package/lib/typescript/commonjs/components/Calendar/Calendar.d.ts +3 -2
  56. package/lib/typescript/commonjs/components/Calendar/calendarStyles.d.ts +25 -116
  57. package/lib/typescript/commonjs/components/Card/Card.d.ts +2 -2
  58. package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +2 -2
  59. package/lib/typescript/commonjs/components/Chip/Chip.d.ts +2 -2
  60. package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +2 -2
  61. package/lib/typescript/commonjs/components/Composer/Composer.d.ts +2 -3
  62. package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +3 -2
  63. package/lib/typescript/commonjs/components/DecimalInput/DecimalInput.d.ts +3 -2
  64. package/lib/typescript/commonjs/components/Divider/Divider.d.ts +3 -2
  65. package/lib/typescript/commonjs/components/EmptyState/EmptyState.d.ts +2 -2
  66. package/lib/typescript/commonjs/components/FileViewer/useFileViewerZoom.d.ts +14 -22
  67. package/lib/typescript/commonjs/components/FilterChipRow/FilterChipRow.d.ts +3 -2
  68. package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +2 -2
  69. package/lib/typescript/commonjs/components/FormField/FormField.d.ts +2 -2
  70. package/lib/typescript/commonjs/components/IconBadge/IconBadge.d.ts +3 -2
  71. package/lib/typescript/commonjs/components/IconButton/IconButton.d.ts +3 -2
  72. package/lib/typescript/commonjs/components/InlineSelect/InlineSelect.d.ts +2 -2
  73. package/lib/typescript/commonjs/components/Input/Input.d.ts +2 -3
  74. package/lib/typescript/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +1 -1
  75. package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +4 -3
  76. package/lib/typescript/commonjs/components/Markdown/Markdown.d.ts +3 -1
  77. package/lib/typescript/commonjs/components/Menu/useContextMenu.d.ts +2 -2
  78. package/lib/typescript/commonjs/components/Modal/Modal.d.ts +3 -3
  79. package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +4 -2
  80. package/lib/typescript/commonjs/components/ProfileCompletion/ProfileCompletion.d.ts +2 -2
  81. package/lib/typescript/commonjs/components/ProfilePicker/ProfilePicker.d.ts +2 -2
  82. package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +4 -4
  83. package/lib/typescript/commonjs/components/ProgressRing/ProgressRing.d.ts +2 -2
  84. package/lib/typescript/commonjs/components/Radio/Radio.d.ts +3 -3
  85. package/lib/typescript/commonjs/components/Rating/Rating.d.ts +2 -2
  86. package/lib/typescript/commonjs/components/RichTextEditor/RichTextEditor.d.ts +2 -2
  87. package/lib/typescript/commonjs/components/ScannerOverlay/ScannerOverlay.d.ts +2 -2
  88. package/lib/typescript/commonjs/components/Screen/Screen.d.ts +2 -2
  89. package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +3 -3
  90. package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +3 -3
  91. package/lib/typescript/commonjs/components/Select/Select.d.ts +2 -2
  92. package/lib/typescript/commonjs/components/SignaturePad/writePng.d.ts +1 -1
  93. package/lib/typescript/commonjs/components/SignaturePad/writePng.web.d.ts +1 -1
  94. package/lib/typescript/commonjs/components/SlideToConfirm/SlideToConfirm.d.ts +2 -2
  95. package/lib/typescript/commonjs/components/Slider/Slider.d.ts +2 -2
  96. package/lib/typescript/commonjs/components/SliderField/SliderField.d.ts +2 -2
  97. package/lib/typescript/commonjs/components/Sparkline/Sparkline.d.ts +3 -2
  98. package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +2 -2
  99. package/lib/typescript/commonjs/components/SquircleView/SquircleView.d.ts +3 -2
  100. package/lib/typescript/commonjs/components/StatTile/StatTile.d.ts +3 -3
  101. package/lib/typescript/commonjs/components/StatusBadge/StatusBadge.d.ts +2 -2
  102. package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +2 -2
  103. package/lib/typescript/commonjs/components/Switch/Switch.d.ts +3 -3
  104. package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +3 -3
  105. package/lib/typescript/commonjs/components/TagInput/TagInput.d.ts +3 -2
  106. package/lib/typescript/commonjs/components/Text/Text.d.ts +2 -2
  107. package/lib/typescript/commonjs/components/Tooltip/RichTooltipBody.d.ts +3 -3
  108. package/lib/typescript/commonjs/components/Tour/Tour.d.ts +2 -2
  109. package/lib/typescript/commonjs/hooks/useFieldErrorScroll.d.ts +5 -5
  110. package/lib/typescript/commonjs/index.d.ts +1 -1
  111. package/lib/typescript/commonjs/theme/Gradient.d.ts +5 -1
  112. package/lib/typescript/commonjs/theme/makeStyles.d.ts +4 -2
  113. package/lib/typescript/module/canvasKit/index.d.ts +15 -6
  114. package/lib/typescript/module/components/AmountSlider/AmountSlider.d.ts +3 -2
  115. package/lib/typescript/module/components/AppBar/AppBar.d.ts +2 -2
  116. package/lib/typescript/module/components/AuthedImage/imageStore.d.ts +1 -1
  117. package/lib/typescript/module/components/AuthedImage/imageStore.web.d.ts +1 -1
  118. package/lib/typescript/module/components/Avatar/Avatar.d.ts +2 -2
  119. package/lib/typescript/module/components/Badge/Badge.d.ts +2 -2
  120. package/lib/typescript/module/components/Banner/Banner.d.ts +2 -2
  121. package/lib/typescript/module/components/BarChart/BarChart.d.ts +2 -2
  122. package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +2 -2
  123. package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +2 -3
  124. package/lib/typescript/module/components/Box/Box.d.ts +4 -4
  125. package/lib/typescript/module/components/Button/Button.d.ts +3 -2
  126. package/lib/typescript/module/components/Calendar/Calendar.d.ts +3 -2
  127. package/lib/typescript/module/components/Calendar/calendarStyles.d.ts +25 -116
  128. package/lib/typescript/module/components/Card/Card.d.ts +2 -2
  129. package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +2 -2
  130. package/lib/typescript/module/components/Chip/Chip.d.ts +2 -2
  131. package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +2 -2
  132. package/lib/typescript/module/components/Composer/Composer.d.ts +2 -3
  133. package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +3 -2
  134. package/lib/typescript/module/components/DecimalInput/DecimalInput.d.ts +3 -2
  135. package/lib/typescript/module/components/Divider/Divider.d.ts +3 -2
  136. package/lib/typescript/module/components/EmptyState/EmptyState.d.ts +2 -2
  137. package/lib/typescript/module/components/FileViewer/useFileViewerZoom.d.ts +14 -22
  138. package/lib/typescript/module/components/FilterChipRow/FilterChipRow.d.ts +3 -2
  139. package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +2 -2
  140. package/lib/typescript/module/components/FormField/FormField.d.ts +2 -2
  141. package/lib/typescript/module/components/IconBadge/IconBadge.d.ts +3 -2
  142. package/lib/typescript/module/components/IconButton/IconButton.d.ts +3 -2
  143. package/lib/typescript/module/components/InlineSelect/InlineSelect.d.ts +2 -2
  144. package/lib/typescript/module/components/Input/Input.d.ts +2 -3
  145. package/lib/typescript/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +1 -1
  146. package/lib/typescript/module/components/ListItem/ListItem.d.ts +4 -3
  147. package/lib/typescript/module/components/Markdown/Markdown.d.ts +3 -1
  148. package/lib/typescript/module/components/Menu/useContextMenu.d.ts +2 -2
  149. package/lib/typescript/module/components/Modal/Modal.d.ts +3 -3
  150. package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +4 -2
  151. package/lib/typescript/module/components/ProfileCompletion/ProfileCompletion.d.ts +2 -2
  152. package/lib/typescript/module/components/ProfilePicker/ProfilePicker.d.ts +2 -2
  153. package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +4 -4
  154. package/lib/typescript/module/components/ProgressRing/ProgressRing.d.ts +2 -2
  155. package/lib/typescript/module/components/Radio/Radio.d.ts +3 -3
  156. package/lib/typescript/module/components/Rating/Rating.d.ts +2 -2
  157. package/lib/typescript/module/components/RichTextEditor/RichTextEditor.d.ts +2 -2
  158. package/lib/typescript/module/components/ScannerOverlay/ScannerOverlay.d.ts +2 -2
  159. package/lib/typescript/module/components/Screen/Screen.d.ts +2 -2
  160. package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +3 -3
  161. package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +3 -3
  162. package/lib/typescript/module/components/Select/Select.d.ts +2 -2
  163. package/lib/typescript/module/components/SignaturePad/writePng.d.ts +1 -1
  164. package/lib/typescript/module/components/SignaturePad/writePng.web.d.ts +1 -1
  165. package/lib/typescript/module/components/SlideToConfirm/SlideToConfirm.d.ts +2 -2
  166. package/lib/typescript/module/components/Slider/Slider.d.ts +2 -2
  167. package/lib/typescript/module/components/SliderField/SliderField.d.ts +2 -2
  168. package/lib/typescript/module/components/Sparkline/Sparkline.d.ts +3 -2
  169. package/lib/typescript/module/components/Spinner/Spinner.d.ts +2 -2
  170. package/lib/typescript/module/components/SquircleView/SquircleView.d.ts +3 -2
  171. package/lib/typescript/module/components/StatTile/StatTile.d.ts +3 -3
  172. package/lib/typescript/module/components/StatusBadge/StatusBadge.d.ts +2 -2
  173. package/lib/typescript/module/components/Stepper/Stepper.d.ts +2 -2
  174. package/lib/typescript/module/components/Switch/Switch.d.ts +3 -3
  175. package/lib/typescript/module/components/Tabs/Tabs.d.ts +3 -3
  176. package/lib/typescript/module/components/TagInput/TagInput.d.ts +3 -2
  177. package/lib/typescript/module/components/Text/Text.d.ts +2 -2
  178. package/lib/typescript/module/components/Tooltip/RichTooltipBody.d.ts +3 -3
  179. package/lib/typescript/module/components/Tour/Tour.d.ts +2 -2
  180. package/lib/typescript/module/hooks/useFieldErrorScroll.d.ts +5 -5
  181. package/lib/typescript/module/index.d.ts +1 -1
  182. package/lib/typescript/module/theme/Gradient.d.ts +5 -1
  183. package/lib/typescript/module/theme/makeStyles.d.ts +4 -2
  184. package/package.json +29 -29
@@ -1,122 +1,31 @@
1
+ import { type TextStyle, type ViewStyle } from "react-native";
1
2
  import type { Theme } from "../../theme/types";
2
3
  /** The smallest day cell: the 44 pt minimum touch target. */
3
4
  export declare const MIN_CELL_SIZE = 44;
4
5
  export declare const NAV_BUTTON_SIZE = 36;
5
- export declare const buildCalendarStyles: (theme: Theme) => {
6
- root: {
7
- alignSelf: "stretch";
8
- };
9
- headerRow: {
10
- flexDirection: "row";
11
- alignItems: "center";
12
- justifyContent: "space-between";
13
- marginBottom: number;
14
- };
15
- navBtn: {
16
- alignItems: "center";
17
- justifyContent: "center";
18
- backgroundColor: string;
19
- borderCurve: "continuous";
20
- width: number;
21
- height: number;
22
- borderRadius: number;
23
- };
24
- navBtnPressed: {
25
- backgroundColor: string;
26
- };
27
- navBtnDisabled: {
28
- opacity: number;
29
- };
30
- navText: {
31
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
32
- fontFamily?: string | undefined | undefined;
33
- fontSize: number;
34
- lineHeight: number;
35
- color: string;
36
- };
37
- headerLabelWrap: {
38
- flex: number;
39
- alignItems: "center";
40
- };
41
- headerLabel: {
42
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
43
- fontFamily?: string | undefined | undefined;
44
- fontSize: number;
45
- color: string;
46
- };
47
- weekdayRow: {
48
- flexDirection: "row";
49
- justifyContent: "center";
50
- marginBottom: number;
51
- };
52
- weekdayCell: {
53
- alignItems: "center";
54
- paddingVertical: number;
55
- };
56
- weekdayText: {
57
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
58
- fontFamily?: string | undefined | undefined;
59
- fontSize: number;
60
- color: string;
61
- letterSpacing: number;
62
- };
63
- gridRow: {
64
- flexDirection: "row";
65
- justifyContent: "center";
66
- };
67
- dayCell: {
68
- alignItems: "center";
69
- justifyContent: "center";
70
- padding: number;
71
- };
72
- barLeft: {
73
- position: "absolute";
74
- left: number;
75
- right: "50%";
76
- top: "5%";
77
- bottom: "5%";
78
- };
79
- barRight: {
80
- position: "absolute";
81
- left: "50%";
82
- right: number;
83
- top: "5%";
84
- bottom: "5%";
85
- };
86
- rangeFill: {
87
- backgroundColor: string;
88
- };
89
- dayInner: {
90
- borderCurve: "continuous";
91
- width: "90%";
92
- height: "90%";
93
- alignItems: "center";
94
- justifyContent: "center";
95
- borderRadius: number;
96
- };
97
- dayEdge: {
98
- backgroundColor: string;
99
- };
100
- dayMid: {
101
- borderRadius: number;
102
- };
103
- dayText: {
104
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
105
- fontFamily?: string | undefined | undefined;
106
- fontSize: number;
107
- };
108
- dots: {
109
- position: "absolute";
110
- bottom: number;
111
- flexDirection: "row";
112
- gap: number;
113
- };
114
- dot: {
115
- borderCurve: "continuous";
116
- width: number;
117
- height: number;
118
- borderRadius: number;
119
- };
6
+ export declare const buildCalendarStyles: (theme: Theme) => CalendarStyles;
7
+ export type CalendarStyles = {
8
+ root: ViewStyle;
9
+ headerRow: ViewStyle;
10
+ navBtn: ViewStyle;
11
+ navBtnPressed: ViewStyle;
12
+ navBtnDisabled: ViewStyle;
13
+ navText: TextStyle;
14
+ headerLabelWrap: ViewStyle;
15
+ headerLabel: TextStyle;
16
+ weekdayRow: ViewStyle;
17
+ weekdayCell: ViewStyle;
18
+ weekdayText: TextStyle;
19
+ gridRow: ViewStyle;
20
+ dayCell: ViewStyle;
21
+ barLeft: ViewStyle;
22
+ barRight: ViewStyle;
23
+ rangeFill: ViewStyle;
24
+ dayInner: ViewStyle;
25
+ dayEdge: ViewStyle;
26
+ dayMid: ViewStyle;
27
+ dayText: TextStyle;
28
+ dots: ViewStyle;
29
+ dot: ViewStyle;
120
30
  };
121
- export type CalendarStyles = ReturnType<typeof buildCalendarStyles>;
122
31
  //# sourceMappingURL=calendarStyles.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { GestureResponderEvent, ImageSourcePropType, PressableProps, View as RNView, StyleProp, ViewStyle } from "react-native";
2
+ import type { GestureResponderEvent, HostInstance, ImageSourcePropType, PressableProps, StyleProp, ViewStyle } from "react-native";
3
3
  import type { PressAnimationPreset } from "../../hooks/usePressAnimation";
4
4
  import type { GradientDefinition, ShadowName } from "../../theme/types";
5
5
  import type { HapticType } from "../../utils/hapticUtils";
@@ -107,7 +107,7 @@ export interface CardProps extends Omit<PressableProps, "style" | "children"> {
107
107
  footerStyle?: StyleProp<ViewStyle>;
108
108
  testID?: string;
109
109
  }
110
- declare const Card: React.MemoExoticComponent<React.ForwardRefExoticComponent<CardProps & React.RefAttributes<RNView>>> & {
110
+ declare const Card: React.MemoExoticComponent<React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HostInstance>>> & {
111
111
  Skeleton: React.FC<CardProps>;
112
112
  };
113
113
  export { Card };
@@ -1,5 +1,5 @@
1
1
  import type React from "react";
2
- import type { PressableProps, View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
2
+ import type { HostInstance, PressableProps, StyleProp, TextStyle, ViewStyle } from "react-native";
3
3
  import type { Size, Tone } from "../../types/vocabulary";
4
4
  import type { HapticType } from "../../utils/hapticUtils";
5
5
  export type CheckboxSize = Extract<Size, "sm" | "md" | "lg">;
@@ -49,7 +49,7 @@ export interface CheckboxProps extends Omit<PressableProps, "style" | "children"
49
49
  labelStyle?: StyleProp<TextStyle>;
50
50
  testID?: string;
51
51
  }
52
- declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<RNView>>;
52
+ declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HostInstance>>;
53
53
  export { Checkbox };
54
54
  export default Checkbox;
55
55
  //# sourceMappingURL=Checkbox.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, SelectionMode, Size, Tone } from "../../types/vocabulary";
4
4
  import type { HapticType } from "../../utils/hapticUtils";
5
5
  import type { IconVariant } from "../AppIcon/AppIcon";
@@ -79,7 +79,7 @@ export interface ChipProps {
79
79
  labels?: Partial<ChipLabels>;
80
80
  testID?: string;
81
81
  }
82
- declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<RNView>> & {
82
+ declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HostInstance>> & {
83
83
  Skeleton: React.FC<ChipProps>;
84
84
  };
85
85
  export { Chip };
@@ -25,7 +25,7 @@
25
25
  * accessors for custom shapes.
26
26
  */
27
27
  import type React from "react";
28
- import type { View as RNView, StyleProp, ViewStyle } from "react-native";
28
+ import type { HostInstance, StyleProp, ViewStyle } from "react-native";
29
29
  import type { SelectionMode, Size } from "../../types/vocabulary";
30
30
  import type { HapticType } from "../../utils";
31
31
  import type { SlotIcon } from "../AppIcon/slotIcon";
@@ -157,7 +157,7 @@ export interface MultipleChoiceGroupProps<T = ChoiceOption> extends BaseChoiceGr
157
157
  onChange?: (values: RadioValue[]) => void;
158
158
  }
159
159
  export type ChoiceGroupProps<T = ChoiceOption> = SingleChoiceGroupProps<T> | MultipleChoiceGroupProps<T>;
160
- declare const ChoiceGroup: React.ForwardRefExoticComponent<ChoiceGroupProps<unknown> & React.RefAttributes<RNView>>;
160
+ declare const ChoiceGroup: React.ForwardRefExoticComponent<ChoiceGroupProps<unknown> & React.RefAttributes<HostInstance>>;
161
161
  export { ChoiceGroup };
162
162
  export default ChoiceGroup;
163
163
  //# sourceMappingURL=ChoiceGroup.d.ts.map
@@ -1,6 +1,5 @@
1
1
  import type React from "react";
2
- import type { StyleProp, ViewStyle } from "react-native";
3
- import { TextInput } from "react-native";
2
+ import type { StyleProp, TextInputInstance, ViewStyle } from "react-native";
4
3
  import type { HapticType } from "../../utils/hapticUtils";
5
4
  import type { AppIconName } from "../AppIcon/AppIcon";
6
5
  export interface ComposerLabels {
@@ -82,6 +81,6 @@ export interface ComposerProps {
82
81
  * the keyboard and pads for the bottom safe area, so a chat screen is a
83
82
  * `MessageList` above a `Composer` with no keyboard wiring of its own.
84
83
  */
85
- export declare const Composer: React.ForwardRefExoticComponent<ComposerProps & React.RefAttributes<TextInput>>;
84
+ export declare const Composer: React.ForwardRefExoticComponent<ComposerProps & React.RefAttributes<TextInputInstance>>;
86
85
  export default Composer;
87
86
  //# sourceMappingURL=Composer.d.ts.map
@@ -1,4 +1,5 @@
1
- import type { View as RNView, StyleProp, ViewStyle } from "react-native";
1
+ import type { ForwardRefExoticComponent, RefAttributes } from "react";
2
+ import type { HostInstance, StyleProp, ViewStyle } from "react-native";
2
3
  import type { HapticType } from "../../utils";
3
4
  import type { CalendarMark } from "../Calendar";
4
5
  import type { CalendarWeekStart } from "../Calendar/calendarDates";
@@ -64,7 +65,7 @@ export interface DateRangePickerProps extends PickerTriggerPassThroughProps {
64
65
  footerButtonStyle?: StyleProp<ViewStyle>;
65
66
  testID?: string;
66
67
  }
67
- declare const DateRangePicker: import("react").ForwardRefExoticComponent<DateRangePickerProps & import("react").RefAttributes<RNView>>;
68
+ declare const DateRangePicker: ForwardRefExoticComponent<DateRangePickerProps & RefAttributes<HostInstance>>;
68
69
  export { DateRangePicker };
69
70
  export default DateRangePicker;
70
71
  //# sourceMappingURL=DateRangePicker.d.ts.map
@@ -1,4 +1,5 @@
1
- import type { TextInput } from "react-native";
1
+ import { type ForwardRefExoticComponent, type RefAttributes } from "react";
2
+ import type { TextInputInstance } from "react-native";
2
3
  import type { InputProps } from "../Input";
3
4
  export interface DecimalRules {
4
5
  /** Digits only: no point, no minus. */
@@ -59,7 +60,7 @@ export interface DecimalInputProps extends Omit<InputProps, "value" | "onChange"
59
60
  * A figure typed on a number keyboard, over Input. Every Input prop passes through; the value may be
60
61
  * empty or half-typed, which NumberInput's stepper cannot be.
61
62
  */
62
- declare const DecimalInput: import("react").ForwardRefExoticComponent<DecimalInputProps & import("react").RefAttributes<TextInput>>;
63
+ declare const DecimalInput: ForwardRefExoticComponent<DecimalInputProps & RefAttributes<TextInputInstance>>;
63
64
  export { DecimalInput };
64
65
  export default DecimalInput;
65
66
  //# sourceMappingURL=DecimalInput.d.ts.map
@@ -1,4 +1,5 @@
1
- import type { View as RNView, StyleProp, ViewStyle } from "react-native";
1
+ import type { ForwardRefExoticComponent, RefAttributes } from "react";
2
+ import type { HostInstance, StyleProp, ViewStyle } from "react-native";
2
3
  export type DividerOrientation = "horizontal" | "vertical";
3
4
  export type DividerSpacing = "none" | "sm" | "md" | "lg";
4
5
  export type DividerLabelPosition = "start" | "center" | "end";
@@ -13,7 +14,7 @@ export interface DividerProps {
13
14
  style?: StyleProp<ViewStyle>;
14
15
  testID?: string;
15
16
  }
16
- declare const Divider: import("react").ForwardRefExoticComponent<DividerProps & import("react").RefAttributes<RNView>>;
17
+ declare const Divider: ForwardRefExoticComponent<DividerProps & RefAttributes<HostInstance>>;
17
18
  export { Divider };
18
19
  export default Divider;
19
20
  //# sourceMappingURL=Divider.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type React from "react";
2
- import type { ImageSourcePropType, View as RNView, StyleProp, ViewStyle } from "react-native";
2
+ import type { HostInstance, ImageSourcePropType, StyleProp, ViewStyle } from "react-native";
3
3
  import type { Size } from "../../types/vocabulary";
4
4
  export type EmptyStateSize = Extract<Size, "sm" | "md" | "lg">;
5
5
  /** `block` is the centred block with room around it. `inline` is one quiet caption line, centred, with no padding; it draws the title only. */
@@ -33,7 +33,7 @@ export interface EmptyStateProps {
33
33
  style?: StyleProp<ViewStyle>;
34
34
  testID?: string;
35
35
  }
36
- declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<RNView>>;
36
+ declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HostInstance>>;
37
37
  export { EmptyState };
38
38
  export default EmptyState;
39
39
  //# sourceMappingURL=EmptyState.d.ts.map
@@ -1,3 +1,8 @@
1
+ import type { ViewStyle } from "react-native";
2
+ import { Gesture } from "react-native-gesture-handler";
3
+ import type Animated from "react-native-reanimated";
4
+ import type { AnimatedRef } from "react-native-reanimated";
5
+ import { useAnimatedStyle } from "react-native-reanimated";
1
6
  /** A zoom that ends at or below this counts as none and springs back to 1x. */
2
7
  export declare const ZOOM_REST = 1.01;
3
8
  interface UseFileViewerZoomOptions {
@@ -8,6 +13,14 @@ interface UseFileViewerZoomOptions {
8
13
  /** The furthest the document scrolls, so a pan carried into the scroll stops at the end. */
9
14
  maxScroll: number;
10
15
  }
16
+ export type UseFileViewerZoomResult = {
17
+ scrollRef: AnimatedRef<Animated.ScrollView>;
18
+ scrollGesture: ReturnType<typeof Gesture.Native>;
19
+ zoomGesture: ReturnType<typeof Gesture.Simultaneous>;
20
+ zoomStyle: ReturnType<typeof useAnimatedStyle<ViewStyle>>;
21
+ zoomLevel: number;
22
+ resetZoom: () => void;
23
+ };
11
24
  /**
12
25
  * FileViewer's zoom: a scale and translate on the whole scroll view, so the
13
26
  * maths stays in viewport space. Pinch zooms around the fingers, a double tap
@@ -15,27 +28,6 @@ interface UseFileViewerZoomOptions {
15
28
  * past the zoomed page's top or bottom edge, carries on into the document's
16
29
  * scroll. `zoomLevel` reaches React only when a gesture settles, never per frame.
17
30
  */
18
- export declare const useFileViewerZoom: ({ zoomEnabled, maxZoom, viewportWidth, viewportHeight, maxScroll }: UseFileViewerZoomOptions) => {
19
- scrollRef: import("react-native-reanimated").AnimatedRef<import("react-native").ReactNativeElement>;
20
- scrollGesture: import("react-native-gesture-handler/lib/typescript/handlers/gestures/nativeGesture").NativeGesture;
21
- zoomGesture: import("react-native-gesture-handler/lib/typescript/handlers/gestures/gestureComposition").SimultaneousGesture;
22
- zoomStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{
23
- transform: ({
24
- translateX: number;
25
- translateY?: undefined;
26
- scale?: undefined;
27
- } | {
28
- translateY: number;
29
- translateX?: undefined;
30
- scale?: undefined;
31
- } | {
32
- scale: number;
33
- translateX?: undefined;
34
- translateY?: undefined;
35
- })[];
36
- }>;
37
- zoomLevel: number;
38
- resetZoom: () => void;
39
- };
31
+ export declare const useFileViewerZoom: ({ zoomEnabled, maxZoom, viewportWidth, viewportHeight, maxScroll, }: UseFileViewerZoomOptions) => UseFileViewerZoomResult;
40
32
  export {};
41
33
  //# sourceMappingURL=useFileViewerZoom.d.ts.map
@@ -13,7 +13,8 @@
13
13
  * ChoiceGroup: a filter picks a value on the same data. Sections of a screen
14
14
  * are `Tabs`, not this.
15
15
  */
16
- import type { View as RNView, StyleProp, ViewStyle } from "react-native";
16
+ import type { ForwardRefExoticComponent, RefAttributes } from "react";
17
+ import type { HostInstance, StyleProp, ViewStyle } from "react-native";
17
18
  import type { HapticType } from "../../utils";
18
19
  import type { ChipSize, ChipTone, ChipVariant } from "../Chip";
19
20
  export interface FilterChipItem {
@@ -51,7 +52,7 @@ export interface FilterChipRowProps {
51
52
  contentContainerStyle?: StyleProp<ViewStyle>;
52
53
  testID?: string;
53
54
  }
54
- declare const FilterChipRow: import("react").ForwardRefExoticComponent<FilterChipRowProps & import("react").RefAttributes<RNView>>;
55
+ declare const FilterChipRow: ForwardRefExoticComponent<FilterChipRowProps & RefAttributes<HostInstance>>;
55
56
  export { FilterChipRow };
56
57
  export default FilterChipRow;
57
58
  //# sourceMappingURL=FilterChipRow.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, Tone } from "../../types/vocabulary";
4
4
  import type { HapticType } from "../../utils/hapticUtils";
5
5
  import { type SlotIcon } from "../AppIcon/slotIcon";
@@ -45,7 +45,7 @@ export interface FloatingActionButtonProps {
45
45
  labelStyle?: StyleProp<ViewStyle>;
46
46
  testID?: string;
47
47
  }
48
- declare const FloatingActionButton: React.ForwardRefExoticComponent<FloatingActionButtonProps & React.RefAttributes<RNView>>;
48
+ declare const FloatingActionButton: React.ForwardRefExoticComponent<FloatingActionButtonProps & React.RefAttributes<HostInstance>>;
49
49
  export interface FloatingActionButtonGroupAction {
50
50
  key: string;
51
51
  /** Drawn in the action's ink at the group's size; see `FloatingActionButtonProps.icon`. */
@@ -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
  export type FormFieldLayout = "stacked" | "inline";
4
4
  export interface FormFieldLabels {
5
5
  labelWithError: (label: string, error: string) => string;
@@ -48,7 +48,7 @@ export interface FormFieldProps {
48
48
  labels?: Partial<FormFieldLabels>;
49
49
  testID?: string;
50
50
  }
51
- declare const FormField: React.ForwardRefExoticComponent<FormFieldProps & React.RefAttributes<RNView>>;
51
+ declare const FormField: React.ForwardRefExoticComponent<FormFieldProps & React.RefAttributes<HostInstance>>;
52
52
  export { FormField };
53
53
  export default FormField;
54
54
  //# sourceMappingURL=FormField.d.ts.map
@@ -1,4 +1,5 @@
1
- import type { View as RNView, StyleProp, ViewProps, ViewStyle } from "react-native";
1
+ import type { ForwardRefExoticComponent, RefAttributes } from "react";
2
+ import type { HostInstance, StyleProp, ViewProps, ViewStyle } from "react-native";
2
3
  import type { Size, Tone } from "../../types/vocabulary";
3
4
  import type { IconVariant } from "../AppIcon/AppIcon";
4
5
  import type { SlotIcon } from "../AppIcon/slotIcon";
@@ -48,7 +49,7 @@ export interface IconBadgeProps {
48
49
  style?: StyleProp<ViewStyle>;
49
50
  testID?: string;
50
51
  }
51
- declare const IconBadge: import("react").ForwardRefExoticComponent<IconBadgeProps & import("react").RefAttributes<RNView>>;
52
+ declare const IconBadge: ForwardRefExoticComponent<IconBadgeProps & RefAttributes<HostInstance>>;
52
53
  export { IconBadge };
53
54
  export default IconBadge;
54
55
  //# sourceMappingURL=IconBadge.d.ts.map
@@ -1,4 +1,5 @@
1
- import type { AccessibilityState, GestureResponderEvent, View as RNView, StyleProp, ViewStyle } from "react-native";
1
+ import type { ForwardRefExoticComponent, RefAttributes } from "react";
2
+ import type { AccessibilityState, GestureResponderEvent, HostInstance, StyleProp, ViewStyle } from "react-native";
2
3
  import type { FillVariant, Size, Tone } from "../../types/vocabulary";
3
4
  import type { HapticType } from "../../utils";
4
5
  import type { IconVariant } from "../AppIcon/AppIcon";
@@ -46,7 +47,7 @@ export interface IconButtonProps {
46
47
  style?: StyleProp<ViewStyle>;
47
48
  testID?: string;
48
49
  }
49
- declare const IconButton: import("react").ForwardRefExoticComponent<IconButtonProps & import("react").RefAttributes<RNView>>;
50
+ declare const IconButton: ForwardRefExoticComponent<IconButtonProps & RefAttributes<HostInstance>>;
50
51
  export { IconButton };
51
52
  export default IconButton;
52
53
  //# sourceMappingURL=IconButton.d.ts.map
@@ -22,7 +22,7 @@
22
22
  * ```
23
23
  */
24
24
  import type React from "react";
25
- import type { View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
25
+ import type { HostInstance, StyleProp, TextStyle, ViewStyle } from "react-native";
26
26
  import type { Size } from "../../types/vocabulary";
27
27
  import type { HapticType } from "../../utils";
28
28
  import type { SelectOption, SelectValue } from "../OptionSheet/OptionSheet";
@@ -99,7 +99,7 @@ export interface InlineSelectProps<T = SelectOption> {
99
99
  accessibilityLabel?: string;
100
100
  testID?: string;
101
101
  }
102
- declare const InlineSelect: React.ForwardRefExoticComponent<InlineSelectProps<unknown> & React.RefAttributes<RNView>>;
102
+ declare const InlineSelect: React.ForwardRefExoticComponent<InlineSelectProps<unknown> & React.RefAttributes<HostInstance>>;
103
103
  export { InlineSelect };
104
104
  export default InlineSelect;
105
105
  //# sourceMappingURL=InlineSelect.d.ts.map
@@ -1,6 +1,5 @@
1
1
  import type React from "react";
2
- import type { BlurEvent, FocusEvent, StyleProp, TextInputProps, TextStyle, ViewStyle } from "react-native";
3
- import { TextInput } from "react-native";
2
+ import type { BlurEvent, FocusEvent, StyleProp, TextInputInstance, TextInputProps, TextStyle, ViewStyle } from "react-native";
4
3
  import type { RadiusName } from "../../theme/types";
5
4
  import type { FieldVariant, Size } from "../../types/vocabulary";
6
5
  import type { SlotIcon, SlotIconState } from "../AppIcon/slotIcon";
@@ -181,7 +180,7 @@ export interface InputProps extends Omit<TextInputProps, "style"> {
181
180
  labels?: Partial<InputLabels>;
182
181
  testID?: string;
183
182
  }
184
- declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<TextInput>>;
183
+ declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<TextInputInstance>>;
185
184
  export { Input };
186
185
  export default Input;
187
186
  //# sourceMappingURL=Input.d.ts.map
@@ -28,7 +28,7 @@ export interface KeyboardAwareScrollViewProps extends ControllerScrollViewProps
28
28
  * Needs the app's
29
29
  * `KeyboardProvider` at the root.
30
30
  */
31
- declare const KeyboardAwareScrollView: import("react").ForwardRefExoticComponent<KeyboardAwareScrollViewProps & import("react").RefAttributes<KeyboardAwareScrollViewRef>>;
31
+ declare const KeyboardAwareScrollView: import("react").ForwardRefExoticComponent<KeyboardAwareScrollViewProps & import("react").RefAttributes<never>>;
32
32
  export { KeyboardAwareScrollView };
33
33
  export default KeyboardAwareScrollView;
34
34
  //# sourceMappingURL=KeyboardAwareScrollView.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { GestureResponderEvent, PressableProps, View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
2
+ import type { GestureResponderEvent, HostInstance, PressableProps, StyleProp, TextStyle, ViewStyle } from "react-native";
3
3
  import type { Size, Tone } from "../../types/vocabulary";
4
4
  import type { HapticType } from "../../utils/hapticUtils";
5
5
  import type { SlotIcon } from "../AppIcon/slotIcon";
@@ -41,7 +41,8 @@ export interface ListItemProps {
41
41
  loading?: boolean;
42
42
  /** Text in the subtitle style, or any node drawn as is. */
43
43
  subtitle?: React.ReactNode;
44
- description?: string;
44
+ /** Text in the description style, clamped to 2 lines, or any node drawn as is. `descriptionStyle` and the clamp apply to text only. */
45
+ description?: React.ReactNode;
45
46
  /**
46
47
  * Content drawn in the text column under the description, before a `trailing`
47
48
  * slot placed below. Inside the row's press target.
@@ -125,7 +126,7 @@ export interface ListItemProps {
125
126
  rightSlotStyle?: StyleProp<ViewStyle>;
126
127
  testID?: string;
127
128
  }
128
- declare const ListItem: React.MemoExoticComponent<React.ForwardRefExoticComponent<ListItemProps & React.RefAttributes<RNView>>> & {
129
+ declare const ListItem: React.MemoExoticComponent<React.ForwardRefExoticComponent<ListItemProps & React.RefAttributes<HostInstance>>> & {
129
130
  Skeleton: React.FC<ListItemProps>;
130
131
  };
131
132
  export { ListItem };
@@ -31,13 +31,15 @@ export interface MarkdownProps<T = string> {
31
31
  style?: StyleProp<ViewStyle>;
32
32
  /** Applied to every text block, so a caller can set the base size or colour. */
33
33
  textStyle?: StyleProp<TextStyle>;
34
+ /** Makes every text block selectable, so a person can select and copy it. List markers are not selectable; a code block always is. */
35
+ selectable?: boolean;
34
36
  testID?: string;
35
37
  }
36
38
  /**
37
39
  * Renders the shared markdown grammar with the theme's own type scale and colours,
38
40
  * with no dependency. Inline HTML is plain text.
39
41
  */
40
- export declare function Markdown<T = string>({ children, links, headings, figureText, resolveLink, isCitation, onOpenCitation, onAppLinkPress, onLinkPress, onPageLinkPress, loading, style, textStyle, testID, }: MarkdownProps<T>): React.ReactElement | null;
42
+ export declare function Markdown<T = string>({ children, links, headings, figureText, resolveLink, isCitation, onOpenCitation, onAppLinkPress, onLinkPress, onPageLinkPress, loading, style, textStyle, selectable, testID, }: MarkdownProps<T>): React.ReactElement | null;
41
43
  export declare namespace Markdown {
42
44
  var displayName: string;
43
45
  }
@@ -1,5 +1,5 @@
1
1
  import type React from "react";
2
- import type { AccessibilityActionEvent, AccessibilityActionInfo, PressableProps, View as RNView } from "react-native";
2
+ import type { AccessibilityActionEvent, AccessibilityActionInfo, HostInstance, PressableProps } from "react-native";
3
3
  import type { HapticType } from "../../utils/hapticUtils";
4
4
  import type { PlacementPreference } from "../../utils/placement";
5
5
  import type { MenuItem, MenuItems, MenuLabels, MenuPresentation, MenuUnavailable } from "./menuModel";
@@ -38,7 +38,7 @@ export interface ContextMenuBinding {
38
38
  /** False when there is no config or nothing in it to show. */
39
39
  enabled: boolean;
40
40
  /** Merge onto the host's pressable; the menu measures it to anchor and lift it. */
41
- hostRef: React.RefObject<RNView | null>;
41
+ hostRef: React.RefObject<HostInstance | null>;
42
42
  /**
43
43
  * Spread on the host's pressable after its own props: the long press, the
44
44
  * screen reader actions and, on the web, right-click and Shift+F10.
@@ -1,5 +1,5 @@
1
1
  import type React from "react";
2
- import type { LayoutRectangle, View as RNView, StyleProp, ViewStyle } from "react-native";
2
+ import type { HostInstance, LayoutRectangle, StyleProp, ViewStyle } from "react-native";
3
3
  import type { HapticType } from "../../utils/hapticUtils";
4
4
  import type { PlacementAlign, PlacementPreference } from "../../utils/placement";
5
5
  import type { ModalInsets } from "../ModalSafeArea/ModalSafeArea";
@@ -38,7 +38,7 @@ export interface ModalProps {
38
38
  * back where they invoked the dialog instead of at the top of the screen.
39
39
  * Opt-in: when undefined, focus behaviour is unchanged.
40
40
  */
41
- restoreFocusRef?: React.RefObject<RNView | null>;
41
+ restoreFocusRef?: React.RefObject<HostInstance | null>;
42
42
  /**
43
43
  * Fired once after the modal closes, MODAL_DISMISS_GRACE_MS after `open`
44
44
  * flips false — the earliest point it is safe to unmount the surrounding
@@ -70,7 +70,7 @@ export interface ModalProps {
70
70
  /** Called with the top and bottom insets of the window the modal draws in, whenever they change. */
71
71
  onInsetsChange?: (insets: ModalInsets) => void;
72
72
  }
73
- declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<RNView>>;
73
+ declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HostInstance>>;
74
74
  export { Modal };
75
75
  export default Modal;
76
76
  //# sourceMappingURL=Modal.d.ts.map
@@ -12,7 +12,7 @@
12
12
  * - Render PickerTrigger themselves alongside a controlled picker.
13
13
  */
14
14
  import type React from "react";
15
- import type { View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
15
+ import type { StyleProp, TextStyle, ViewStyle } from "react-native";
16
16
  import type { FieldVariant, Size } from "../../types/vocabulary";
17
17
  export type PickerTriggerSize = Extract<Size, "sm" | "md" | "lg">;
18
18
  export type PickerTriggerVariant = FieldVariant;
@@ -71,7 +71,9 @@ export type PickerTriggerPassThroughProps = Pick<PickerTriggerProps, "label" | "
71
71
  /** Copy for the trigger field (placeholder, selection, noSelection, clear). Named apart from labels, which is the copy of the picker sheet. */
72
72
  triggerLabels?: Partial<PickerTriggerLabels>;
73
73
  };
74
- declare const PickerTrigger: React.ForwardRefExoticComponent<PickerTriggerProps & React.RefAttributes<RNView>>;
74
+ declare const PickerTrigger: React.ForwardRefExoticComponent<PickerTriggerProps & React.RefAttributes<(props: Omit<import("react-native").ViewProps, "ref"> & {
75
+ ref?: React.Ref<import("react-native").ViewInstance> | undefined;
76
+ }) => React.ReactNode>>;
75
77
  export { PickerTrigger };
76
78
  export default PickerTrigger;
77
79
  //# sourceMappingURL=PickerTrigger.d.ts.map
@@ -10,7 +10,7 @@
10
10
  * design wants one.
11
11
  */
12
12
  import type React from "react";
13
- import type { ImageSourcePropType, View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
13
+ import type { HostInstance, ImageSourcePropType, StyleProp, TextStyle, ViewStyle } from "react-native";
14
14
  import type { Size, Tone } from "../../types/vocabulary";
15
15
  import type { AvatarImageProps, AvatarTone } from "../Avatar";
16
16
  /** The Avatar's own tone set; kept under this name for the component's public surface. */
@@ -85,7 +85,7 @@ export interface ProfileCompletionProps {
85
85
  descriptionStyle?: StyleProp<TextStyle>;
86
86
  testID?: string;
87
87
  }
88
- declare const ProfileCompletion: React.ForwardRefExoticComponent<ProfileCompletionProps & React.RefAttributes<RNView>>;
88
+ declare const ProfileCompletion: React.ForwardRefExoticComponent<ProfileCompletionProps & React.RefAttributes<HostInstance>>;
89
89
  export { ProfileCompletion };
90
90
  export default ProfileCompletion;
91
91
  //# sourceMappingURL=ProfileCompletion.d.ts.map
@@ -16,7 +16,7 @@
16
16
  */
17
17
  import type { PickedFile } from "@webority/mobile-core/pickers";
18
18
  import type React from "react";
19
- import type { View as RNView, StyleProp, ViewStyle } from "react-native";
19
+ import type { HostInstance, StyleProp, ViewStyle } from "react-native";
20
20
  import type { FillVariant, Size, Tone } from "../../types/vocabulary";
21
21
  import type { HapticType } from "../../utils";
22
22
  import type { IconName, SlotIconRef } from "../AppIcon";
@@ -118,7 +118,7 @@ export interface ProfilePickerProps {
118
118
  style?: StyleProp<ViewStyle>;
119
119
  testID?: string;
120
120
  }
121
- declare const ProfilePicker: React.ForwardRefExoticComponent<ProfilePickerProps & React.RefAttributes<RNView>>;
121
+ declare const ProfilePicker: React.ForwardRefExoticComponent<ProfilePickerProps & React.RefAttributes<HostInstance>>;
122
122
  export { ProfilePicker };
123
123
  export default ProfilePicker;
124
124
  //# sourceMappingURL=ProfilePicker.d.ts.map