@webority/mobile-ui 0.129.0 → 0.130.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 (176) hide show
  1. package/dist/canvas-kit/kit.js +2891 -2918
  2. package/dist/canvas-kit/manifest.json +241 -294
  3. package/dist/canvas-kit/release.json +6 -6
  4. package/lib/commonjs/components/AppLockOverlay/AppLockOverlay.js +1 -1
  5. package/lib/commonjs/components/Avatar/Avatar.js +1 -1
  6. package/lib/commonjs/components/Banner/Banner.js +1 -1
  7. package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
  8. package/lib/commonjs/components/Card/Card.js +1 -1
  9. package/lib/commonjs/components/Checkbox/Checkbox.js +1 -1
  10. package/lib/commonjs/components/Confirm/confirm.js +1 -1
  11. package/lib/commonjs/components/DatePicker/DatePicker.js +1 -1
  12. package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +1 -1
  13. package/lib/commonjs/components/Dialog/Dialog.js +1 -1
  14. package/lib/commonjs/components/Drawer/Drawer.js +1 -1
  15. package/lib/commonjs/components/FieldBase/FieldBase.js +1 -1
  16. package/lib/commonjs/components/FilePicker/FilePicker.js +1 -1
  17. package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -1
  18. package/lib/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.js +1 -1
  19. package/lib/commonjs/components/IconBadge/IconBadge.js +1 -1
  20. package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
  21. package/lib/commonjs/components/InlineSelect/InlineSelect.js +1 -1
  22. package/lib/commonjs/components/Input/Input.js +1 -1
  23. package/lib/commonjs/components/ListItem/ListItem.js +1 -1
  24. package/lib/commonjs/components/Menu/Menu.js +1 -1
  25. package/lib/commonjs/components/Menu/MenuSurface.js +1 -1
  26. package/lib/commonjs/components/Menu/useContextMenu.js +1 -1
  27. package/lib/commonjs/components/Modal/Modal.js +1 -1
  28. package/lib/commonjs/components/OTPInput/OTPInput.js +1 -1
  29. package/lib/commonjs/components/OptionSheet/OptionSheet.js +1 -1
  30. package/lib/commonjs/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
  31. package/lib/commonjs/components/PickerTrigger/PickerTrigger.js +1 -1
  32. package/lib/commonjs/components/ProfilePicker/ProfilePicker.js +1 -1
  33. package/lib/commonjs/components/ProgressBar/ProgressBar.js +1 -1
  34. package/lib/commonjs/components/Radio/Radio.js +1 -1
  35. package/lib/commonjs/components/Rating/Rating.js +1 -1
  36. package/lib/commonjs/components/SearchBar/SearchBar.js +1 -1
  37. package/lib/commonjs/components/Select/Select.js +1 -1
  38. package/lib/commonjs/components/SliderField/SliderField.js +1 -1
  39. package/lib/commonjs/components/SquircleImage/SquircleImage.js +1 -1
  40. package/lib/commonjs/components/TimePicker/TimePicker.js +1 -1
  41. package/lib/commonjs/components/Tooltip/Tooltip.js +1 -1
  42. package/lib/commonjs/components/Tour/Tour.js +1 -1
  43. package/lib/commonjs/components/index.js +1 -1
  44. package/lib/commonjs/components/not-drawn.json +0 -1
  45. package/lib/commonjs/icons.js +1 -0
  46. package/lib/commonjs/index.js +1 -1
  47. package/lib/commonjs/navigation/DiscardGuard.js +1 -1
  48. package/lib/commonjs/sizes.js +1 -0
  49. package/lib/commonjs/squircle.js +1 -0
  50. package/lib/module/components/AppLockOverlay/AppLockOverlay.js +1 -1
  51. package/lib/module/components/Avatar/Avatar.js +1 -1
  52. package/lib/module/components/Banner/Banner.js +1 -1
  53. package/lib/module/components/BottomSheet/BottomSheet.js +1 -1
  54. package/lib/module/components/Card/Card.js +1 -1
  55. package/lib/module/components/Checkbox/Checkbox.js +1 -1
  56. package/lib/module/components/Confirm/confirm.js +1 -1
  57. package/lib/module/components/DatePicker/DatePicker.js +1 -1
  58. package/lib/module/components/DateRangePicker/DateRangePicker.js +1 -1
  59. package/lib/module/components/Dialog/Dialog.js +1 -1
  60. package/lib/module/components/Drawer/Drawer.js +1 -1
  61. package/lib/module/components/FieldBase/FieldBase.js +1 -1
  62. package/lib/module/components/FilePicker/FilePicker.js +1 -1
  63. package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -1
  64. package/lib/module/components/ForceUpdateDialog/ForceUpdateDialog.js +1 -1
  65. package/lib/module/components/IconBadge/IconBadge.js +1 -1
  66. package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
  67. package/lib/module/components/InlineSelect/InlineSelect.js +1 -1
  68. package/lib/module/components/Input/Input.js +1 -1
  69. package/lib/module/components/ListItem/ListItem.js +1 -1
  70. package/lib/module/components/Menu/Menu.js +1 -1
  71. package/lib/module/components/Menu/MenuSurface.js +1 -1
  72. package/lib/module/components/Menu/useContextMenu.js +1 -1
  73. package/lib/module/components/Modal/Modal.js +1 -1
  74. package/lib/module/components/OTPInput/OTPInput.js +1 -1
  75. package/lib/module/components/OptionSheet/OptionSheet.js +1 -1
  76. package/lib/module/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
  77. package/lib/module/components/PickerTrigger/PickerTrigger.js +1 -1
  78. package/lib/module/components/ProfilePicker/ProfilePicker.js +1 -1
  79. package/lib/module/components/ProgressBar/ProgressBar.js +1 -1
  80. package/lib/module/components/Radio/Radio.js +1 -1
  81. package/lib/module/components/Rating/Rating.js +1 -1
  82. package/lib/module/components/SearchBar/SearchBar.js +1 -1
  83. package/lib/module/components/Select/Select.js +1 -1
  84. package/lib/module/components/SliderField/SliderField.js +1 -1
  85. package/lib/module/components/SquircleImage/SquircleImage.js +1 -1
  86. package/lib/module/components/TimePicker/TimePicker.js +1 -1
  87. package/lib/module/components/Tooltip/Tooltip.js +1 -1
  88. package/lib/module/components/Tour/Tour.js +1 -1
  89. package/lib/module/components/index.js +1 -1
  90. package/lib/module/components/not-drawn.json +0 -1
  91. package/lib/module/icons.js +1 -0
  92. package/lib/module/index.js +1 -1
  93. package/lib/module/navigation/DiscardGuard.js +1 -1
  94. package/lib/module/sizes.js +1 -0
  95. package/lib/module/squircle.js +1 -0
  96. package/lib/typescript/commonjs/components/AppLockOverlay/AppLockOverlay.d.ts +3 -3
  97. package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +7 -0
  98. package/lib/typescript/commonjs/components/Banner/Banner.d.ts +1 -1
  99. package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +4 -4
  100. package/lib/typescript/commonjs/components/Calendar/calendarStyles.d.ts +4 -4
  101. package/lib/typescript/commonjs/components/Card/Card.d.ts +1 -3
  102. package/lib/typescript/commonjs/components/DatePicker/DatePicker.d.ts +3 -3
  103. package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +3 -3
  104. package/lib/typescript/commonjs/components/Descriptions/Descriptions.d.ts +2 -2
  105. package/lib/typescript/commonjs/components/Dialog/Dialog.d.ts +1 -1
  106. package/lib/typescript/commonjs/components/Drawer/Drawer.d.ts +4 -4
  107. package/lib/typescript/commonjs/components/FieldBase/FieldBase.d.ts +8 -6
  108. package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +5 -0
  109. package/lib/typescript/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +3 -3
  110. package/lib/typescript/commonjs/components/IconBadge/IconBadge.d.ts +4 -0
  111. package/lib/typescript/commonjs/components/IconBadge/index.d.ts +1 -1
  112. package/lib/typescript/commonjs/components/Input/Input.d.ts +3 -2
  113. package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +7 -7
  114. package/lib/typescript/commonjs/components/Menu/Menu.d.ts +3 -3
  115. package/lib/typescript/commonjs/components/Menu/useContextMenu.d.ts +1 -1
  116. package/lib/typescript/commonjs/components/Modal/Modal.d.ts +4 -4
  117. package/lib/typescript/commonjs/components/OptionSheet/OptionSheet.d.ts +5 -5
  118. package/lib/typescript/commonjs/components/PhoneNumberInput/PhoneNumberInput.d.ts +3 -2
  119. package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +3 -3
  120. package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +5 -3
  121. package/lib/typescript/commonjs/components/Select/Select.d.ts +4 -3
  122. package/lib/typescript/commonjs/components/SliderField/SliderField.d.ts +2 -2
  123. package/lib/typescript/commonjs/components/SquircleImage/SquircleImage.d.ts +4 -3
  124. package/lib/typescript/commonjs/components/TimePicker/TimePicker.d.ts +3 -3
  125. package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts +2 -2
  126. package/lib/typescript/commonjs/components/Tour/Tour.d.ts +1 -1
  127. package/lib/typescript/commonjs/components/index.d.ts +0 -2
  128. package/lib/typescript/commonjs/icons.d.ts +3 -0
  129. package/lib/typescript/commonjs/index.d.ts +7 -6
  130. package/lib/typescript/commonjs/sizes.d.ts +2 -0
  131. package/lib/typescript/commonjs/squircle.d.ts +2 -0
  132. package/lib/typescript/module/components/AppLockOverlay/AppLockOverlay.d.ts +3 -3
  133. package/lib/typescript/module/components/Avatar/Avatar.d.ts +7 -0
  134. package/lib/typescript/module/components/Banner/Banner.d.ts +1 -1
  135. package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +4 -4
  136. package/lib/typescript/module/components/Calendar/calendarStyles.d.ts +4 -4
  137. package/lib/typescript/module/components/Card/Card.d.ts +1 -3
  138. package/lib/typescript/module/components/DatePicker/DatePicker.d.ts +3 -3
  139. package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +3 -3
  140. package/lib/typescript/module/components/Descriptions/Descriptions.d.ts +2 -2
  141. package/lib/typescript/module/components/Dialog/Dialog.d.ts +1 -1
  142. package/lib/typescript/module/components/Drawer/Drawer.d.ts +4 -4
  143. package/lib/typescript/module/components/FieldBase/FieldBase.d.ts +8 -6
  144. package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +5 -0
  145. package/lib/typescript/module/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +3 -3
  146. package/lib/typescript/module/components/IconBadge/IconBadge.d.ts +4 -0
  147. package/lib/typescript/module/components/IconBadge/index.d.ts +1 -1
  148. package/lib/typescript/module/components/Input/Input.d.ts +3 -2
  149. package/lib/typescript/module/components/ListItem/ListItem.d.ts +7 -7
  150. package/lib/typescript/module/components/Menu/Menu.d.ts +3 -3
  151. package/lib/typescript/module/components/Menu/useContextMenu.d.ts +1 -1
  152. package/lib/typescript/module/components/Modal/Modal.d.ts +4 -4
  153. package/lib/typescript/module/components/OptionSheet/OptionSheet.d.ts +5 -5
  154. package/lib/typescript/module/components/PhoneNumberInput/PhoneNumberInput.d.ts +3 -2
  155. package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +3 -3
  156. package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +5 -3
  157. package/lib/typescript/module/components/Select/Select.d.ts +4 -3
  158. package/lib/typescript/module/components/SliderField/SliderField.d.ts +2 -2
  159. package/lib/typescript/module/components/SquircleImage/SquircleImage.d.ts +4 -3
  160. package/lib/typescript/module/components/TimePicker/TimePicker.d.ts +3 -3
  161. package/lib/typescript/module/components/Tooltip/Tooltip.d.ts +2 -2
  162. package/lib/typescript/module/components/Tour/Tour.d.ts +1 -1
  163. package/lib/typescript/module/components/index.d.ts +0 -2
  164. package/lib/typescript/module/icons.d.ts +3 -0
  165. package/lib/typescript/module/index.d.ts +7 -6
  166. package/lib/typescript/module/sizes.d.ts +2 -0
  167. package/lib/typescript/module/squircle.d.ts +2 -0
  168. package/package.json +37 -7
  169. package/lib/commonjs/components/Notation/Notation.js +0 -1
  170. package/lib/commonjs/components/Notation/index.js +0 -1
  171. package/lib/module/components/Notation/Notation.js +0 -1
  172. package/lib/module/components/Notation/index.js +0 -1
  173. package/lib/typescript/commonjs/components/Notation/Notation.d.ts +0 -43
  174. package/lib/typescript/commonjs/components/Notation/index.d.ts +0 -3
  175. package/lib/typescript/module/components/Notation/Notation.d.ts +0 -43
  176. package/lib/typescript/module/components/Notation/index.d.ts +0 -3
@@ -8,8 +8,8 @@ export interface ForceUpdateDialogLabels {
8
8
  }
9
9
  export declare const DEFAULT_FORCE_UPDATE_DIALOG_LABELS: ForceUpdateDialogLabels;
10
10
  export interface ForceUpdateDialogProps {
11
- /** Whether the dialog is visible. */
12
- visible: boolean;
11
+ /** Whether the dialog is open. */
12
+ open: boolean;
13
13
  /** Called when the dialog is dismissed (only fired when `mandatory` is `false`). */
14
14
  onClose?: () => void;
15
15
  /**
@@ -43,7 +43,7 @@ export interface ForceUpdateDialogProps {
43
43
  * const { isUpdateRequired, updateUrl } = useVersionCheck(isAppReady);
44
44
  * return (
45
45
  * <ForceUpdateDialog
46
- * visible={isUpdateRequired}
46
+ * open={isUpdateRequired}
47
47
  * mandatory
48
48
  * updateUrl={updateUrl}
49
49
  * />
@@ -11,6 +11,8 @@ export type IconBadgeTone = Tone;
11
11
  * overlaps.
12
12
  */
13
13
  export type IconBadgeFill = "tint" | "halo" | "surface";
14
+ /** `circle`: a full circle. `squircle`: a smooth-cornered square drawn as a path on both platforms. */
15
+ export type IconBadgeShape = "circle" | "squircle";
14
16
  export interface IconBadgeProps {
15
17
  /**
16
18
  * The icon: an AppIcon name (`icon="shield-tick"`), `{ name, variant }`, a
@@ -32,6 +34,8 @@ export interface IconBadgeProps {
32
34
  color?: string;
33
35
  /** Default `'tint'`. See {@link IconBadgeFill}. */
34
36
  fill?: IconBadgeFill;
37
+ /** Default `'circle'`. `'squircle'` draws the smooth-cornered shape instead. */
38
+ shape?: IconBadgeShape;
35
39
  /** Width and height in points, for a host that sizes the circle itself. Wins over `size`; a named icon takes half of it, rounded. */
36
40
  dimension?: number;
37
41
  /**
@@ -1,3 +1,3 @@
1
- export type { IconBadgeFill, IconBadgeProps, IconBadgeSize, IconBadgeTone } from "./IconBadge";
1
+ export type { IconBadgeFill, IconBadgeProps, IconBadgeShape, IconBadgeSize, IconBadgeTone } from "./IconBadge";
2
2
  export { IconBadge } from "./IconBadge";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,7 @@
1
1
  import type React from "react";
2
2
  import type { BlurEvent, FocusEvent, StyleProp, TextInputProps, TextStyle, ViewStyle } from "react-native";
3
3
  import { TextInput } from "react-native";
4
+ import type { RadiusName } from "../../theme/types";
4
5
  import type { FieldVariant, Size } from "../../types/vocabulary";
5
6
  import type { SlotIcon, SlotIconState } from "../AppIcon/slotIcon";
6
7
  import type { ButtonTone, ButtonVariant } from "../Button";
@@ -171,8 +172,8 @@ export interface InputProps extends Omit<TextInputProps, "style"> {
171
172
  labelStyle?: StyleProp<TextStyle>;
172
173
  /** Style applied to the helper/error text below the field. */
173
174
  messageStyle?: StyleProp<TextStyle>;
174
- /** Per-instance override for the field's corner radius. Wins over the field size's radius. */
175
- borderRadius?: number;
175
+ /** A theme radius name (`sm`, `md`, `lg`, `xl`, `pill`) for the field's corner. Wins over the field size's radius. */
176
+ radius?: Exclude<RadiusName, "none">;
176
177
  onFocus?: (e: FocusEvent) => void;
177
178
  onBlur?: (e: BlurEvent) => void;
178
179
  accessibilityLabel?: string;
@@ -10,7 +10,7 @@ export type ListItemSize = Extract<Size, "sm" | "md" | "lg">;
10
10
  /** `menu` is a popup menu row: 48 pt high, no press scale, announced as a menu item. */
11
11
  export type ListItemVariant = "list" | "menu";
12
12
  /**
13
- * Where the `right` slot sits. `side` is beside the text, `below` is under the
13
+ * Where the `trailing` slot sits. `side` is beside the text, `below` is under the
14
14
  * subtitle and description, and `auto` is `side` until the user's text size is
15
15
  * above 1.2 times the default, then `below`, so a badge stops squeezing the title.
16
16
  */
@@ -43,7 +43,7 @@ export interface ListItemProps {
43
43
  subtitle?: React.ReactNode;
44
44
  description?: string;
45
45
  /**
46
- * Content drawn in the text column under the description, before a `right`
46
+ * Content drawn in the text column under the description, before a `trailing`
47
47
  * slot placed below. Inside the row's press target.
48
48
  */
49
49
  children?: React.ReactNode;
@@ -51,17 +51,17 @@ export interface ListItemProps {
51
51
  titleLines?: number;
52
52
  /** Lines a text subtitle may take before it is truncated. Default 1; 0 for no limit. */
53
53
  subtitleLines?: number;
54
- left?: React.ReactNode;
54
+ leading?: React.ReactNode;
55
55
  /**
56
56
  * A leading icon in a tinted circle (an IconBadge sized to the row). Drawn in
57
- * the left slot when `left` is not given; `left` wins when both are set.
57
+ * the leading slot when `leading` is not given; `leading` wins when both are set.
58
58
  */
59
59
  icon?: SlotIcon;
60
60
  /** Tone of the `icon` circle. Default `'primary'`. */
61
61
  iconTone?: Tone;
62
- right?: React.ReactNode;
62
+ trailing?: React.ReactNode;
63
63
  /**
64
- * Where the `right` slot is drawn. Default `'auto'`: beside the text, and
64
+ * Where the `trailing` slot is drawn. Default `'auto'`: beside the text, and
65
65
  * under the subtitle when the font scale is above 1.2. The chevron always
66
66
  * stays at the side.
67
67
  */
@@ -69,7 +69,7 @@ export interface ListItemProps {
69
69
  /**
70
70
  * Selection mode. The whole row becomes one checkbox (role `checkbox`, with
71
71
  * its `checked` state announced) and the box is drawn in the leading slot,
72
- * before any `left` or `icon`. Pressing the row calls `onCheckedChange` and
72
+ * before any `leading` or `icon`. Pressing the row calls `onCheckedChange` and
73
73
  * `onPress` is not used. The box is a drawing, not a control, so nothing
74
74
  * nests inside the row's press target.
75
75
  */
@@ -20,9 +20,9 @@ export interface MenuProps {
20
20
  presentation?: MenuPresentation;
21
21
  /** Default `'disable'`: unavailable items stay visible, dimmed and focusable. */
22
22
  unavailable?: MenuUnavailable;
23
- /** Controlled visibility. */
24
- visible?: boolean;
25
- onVisibleChange?: (visible: boolean) => void;
23
+ /** Controlled open state. */
24
+ open?: boolean;
25
+ onOpenChange?: (open: boolean) => void;
26
26
  /** Haptic on choosing an item. Pass false to disable; a HapticType to override. */
27
27
  haptic?: HapticType | false;
28
28
  /** Accessible name of the menu when there is no `title`. */
@@ -21,7 +21,7 @@ export interface ContextMenuConfig {
21
21
  presentation?: MenuPresentation;
22
22
  /** Preferred side of the pressed view. Default `'bottom'`. */
23
23
  placement?: PlacementPreference;
24
- onVisibleChange?: (visible: boolean) => void;
24
+ onOpenChange?: (open: boolean) => void;
25
25
  accessibilityLabel?: string;
26
26
  /** Accessible names of the tap-outside area (`close`, default 'Close menu') and of a submenu's Back row (`back`, default 'Back'). */
27
27
  labels?: Partial<MenuLabels>;
@@ -9,20 +9,20 @@ export interface ModalLabels {
9
9
  }
10
10
  export declare const DEFAULT_MODAL_LABELS: Readonly<ModalLabels>;
11
11
  /**
12
- * Grace period between `visible` flipping false and the native modal being
12
+ * Grace period between `open` flipping false and the native modal being
13
13
  * safely gone. Unmounting the tree (navigation reset, auth flip) before this
14
14
  * elapses races Android's ReactModalHostView dismiss and NPE-crashes.
15
15
  */
16
16
  export declare const MODAL_DISMISS_GRACE_MS = 300;
17
17
  export interface ModalProps {
18
- visible: boolean;
18
+ open: boolean;
19
19
  onClose: () => void;
20
20
  presentation?: ModalPresentation;
21
21
  backdropOpacity?: number;
22
22
  backdropPressClose?: boolean;
23
23
  animationDuration?: number;
24
24
  /**
25
- * Whether a modal that is visible as it mounts plays its enter animation.
25
+ * Whether a modal that is open as it mounts plays its enter animation.
26
26
  * When false it is drawn at rest at once, scrim included; later opens and
27
27
  * every close animate as usual. Default true.
28
28
  */
@@ -40,7 +40,7 @@ export interface ModalProps {
40
40
  */
41
41
  restoreFocusRef?: React.RefObject<RNView | null>;
42
42
  /**
43
- * Fired once after the modal closes, MODAL_DISMISS_GRACE_MS after `visible`
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
45
45
  * tree (navigate away, flip auth state) without racing the native dismiss
46
46
  * on Android. Sequence follow-up work (or a follow-up modal) from here.
@@ -50,17 +50,17 @@ export interface OptionSheetLabels {
50
50
  }
51
51
  export declare const DEFAULT_OPTION_SHEET_LABELS: Readonly<OptionSheetLabels>;
52
52
  export interface OptionSheetProps<T = SelectOption> {
53
- visible: boolean;
54
- /** Requests close (backdrop tap, hardware back, multi Done). Caller flips `visible`. */
53
+ open: boolean;
54
+ /** Requests close (backdrop tap, hardware back, multi Done). Caller flips `open`. */
55
55
  onClose: () => void;
56
56
  /**
57
57
  * Called once, after the close has finished: the Modal's exit is over and it
58
- * is about to unmount (`MODAL_DISMISS_GRACE_MS` after `visible` turns false).
58
+ * is about to unmount (`MODAL_DISMISS_GRACE_MS` after `open` turns false).
59
59
  * Present anything native (an image picker, the share sheet) from here.
60
60
  */
61
61
  onAfterClose?: () => void;
62
- /** Called with `true` when `visible` turns on and `false` when it turns off, not again while it stays the same. */
63
- onVisibleChange?: (visible: boolean) => void;
62
+ /** Called with `true` when `open` turns on and `false` when it turns off, not again while it stays the same. */
63
+ onOpenChange?: (open: boolean) => void;
64
64
  /** Sheet heading. Also the modal's a11y label fallback. */
65
65
  title?: string;
66
66
  options: ReadonlyArray<T>;
@@ -1,6 +1,7 @@
1
1
  import type { PhoneCountry, PhoneValidationKind } from "@webority/mobile-core";
2
2
  import type { ReactNode } from "react";
3
3
  import type { StyleProp, TextInputProps, TextStyle, ViewStyle } from "react-native";
4
+ import type { Theme } from "../../theme/types";
4
5
  import type { FieldVariant, Size } from "../../types/vocabulary";
5
6
  import type { HapticType } from "../../utils";
6
7
  /** How the label sits: static above the box, or floating up from inside it. */
@@ -188,8 +189,8 @@ export interface PhoneNumberInputProps extends Pick<TextInputProps, "returnKeyTy
188
189
  disabled?: boolean;
189
190
  size?: Extract<Size, "sm" | "md" | "lg">;
190
191
  variant?: FieldVariant;
191
- /** Per-instance corner radius. Wins over the field size's radius. */
192
- borderRadius?: number;
192
+ /** Corner radius token from the theme (none, sm, md, lg, xl, pill). Wins over the field size's radius. */
193
+ radius?: keyof Theme["radius"];
193
194
  /** Strings the field draws itself: the placeholder, the picker's headings and search box, the invalid-number texts, the country button's name. */
194
195
  labels?: Partial<PhoneNumberInputLabels>;
195
196
  haptic?: HapticType | false;
@@ -50,8 +50,8 @@ export interface PickerTriggerProps {
50
50
  clearable?: boolean;
51
51
  /** Called when the clear affordance is pressed. */
52
52
  onClear?: () => void;
53
- /** Leading icon slot (e.g. calendar / clock). */
54
- leadingIcon?: React.ReactNode;
53
+ /** Left icon slot (e.g. calendar / clock). */
54
+ leftIcon?: React.ReactNode;
55
55
  /** Trailing slot — defaults to a chevron when unset. Pass `null` to suppress. */
56
56
  trailing?: React.ReactNode;
57
57
  disabled?: boolean;
@@ -67,7 +67,7 @@ export interface PickerTriggerProps {
67
67
  testID?: string;
68
68
  }
69
69
  /** The PickerTrigger props a picker forwards to its built-in trigger field. */
70
- export type PickerTriggerPassThroughProps = Pick<PickerTriggerProps, "label" | "help" | "placeholder" | "helperText" | "error" | "required" | "disabled" | "size" | "variant" | "clearable" | "onClear" | "leadingIcon" | "trailing" | "triggerStyle" | "valueStyle" | "labelStyle" | "messageStyle" | "accessibilityLabel"> & {
70
+ export type PickerTriggerPassThroughProps = Pick<PickerTriggerProps, "label" | "help" | "placeholder" | "helperText" | "error" | "required" | "disabled" | "size" | "variant" | "clearable" | "onClear" | "leftIcon" | "trailing" | "triggerStyle" | "valueStyle" | "labelStyle" | "messageStyle" | "accessibilityLabel"> & {
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
  };
@@ -1,5 +1,6 @@
1
1
  import type { StyleProp, TextInputProps, TextStyle, ViewStyle } from "react-native";
2
2
  import { TextInput } from "react-native";
3
+ import type { RadiusName } from "../../theme/types";
3
4
  import type { FieldVariant, Size } from "../../types/vocabulary";
4
5
  import type { HapticType } from "../../utils/hapticUtils";
5
6
  import type { SlotIcon } from "../AppIcon/slotIcon";
@@ -45,10 +46,11 @@ export interface SearchBarProps extends Omit<TextInputProps, "style" | "value" |
45
46
  size?: Extract<Size, "sm" | "md" | "lg">;
46
47
  variant?: FieldVariant;
47
48
  /**
48
- * Corner radius. Default: the theme's `components["search-bar"].<size>.radius`
49
- * (the pill). Ignored on `underline`, which is always square.
49
+ * Corner radius from the theme's radius scale. Default: the theme's
50
+ * `components["search-bar"].<size>.radius` (the pill). Ignored on `underline`,
51
+ * which is always square.
50
52
  */
51
- borderRadius?: number;
53
+ radius?: RadiusName;
52
54
  /**
53
55
  * Chips under the field that narrow what is searched, for example All, People, Files.
54
56
  * Put the broadest scope first: it is the one selected until the person picks another.
@@ -13,6 +13,7 @@ import type { HapticType } from "../../utils";
13
13
  import type { SlotIcon } from "../AppIcon/slotIcon";
14
14
  import type { SelectOption, SelectValue } from "../OptionSheet/OptionSheet";
15
15
  export type SelectSize = Extract<Size, "sm" | "md" | "lg">;
16
+ type SelectRadius = "sm" | "md" | "lg" | "xl" | "pill";
16
17
  export type { SelectOption, SelectValue };
17
18
  export interface SelectLabels {
18
19
  placeholder: string;
@@ -47,7 +48,7 @@ interface BaseSelectProps<T = SelectOption> {
47
48
  getOptionIcon?: (option: T) => React.ReactNode;
48
49
  placeholder?: string;
49
50
  /** Called with `true` when the option sheet opens and `false` when it closes. */
50
- onVisibleChange?: (visible: boolean) => void;
51
+ onOpenChange?: (open: boolean) => void;
51
52
  searchable?: boolean;
52
53
  /**
53
54
  * Haptic feedback for interactions. Pass false to disable; pass a HapticType
@@ -127,8 +128,8 @@ interface BaseSelectProps<T = SelectOption> {
127
128
  chevronColor?: string;
128
129
  /** Size of the built-in chevron in pixels. Ignored when `rightIcon` is set. Default: the field size's `icon`. */
129
130
  chevronSize?: number;
130
- /** Per-instance override for the trigger's corner radius. Wins over the field size's radius. */
131
- borderRadius?: number;
131
+ /** A theme radius token name for the trigger's corner. Wins over the field size's radius. */
132
+ radius?: SelectRadius;
132
133
  accessibilityLabel?: string;
133
134
  /** Style for the field label text above the trigger; the same prop as Input's and NumberInput's. */
134
135
  labelStyle?: StyleProp<TextStyle>;
@@ -49,9 +49,9 @@ interface SliderFieldCommonProps {
49
49
  /** Minus and plus buttons at the ends of the track, stepping by `step`. Single mode only. Default `false`. */
50
50
  showStepper?: boolean;
51
51
  /** Icon at the start of the row, outside the bounds. */
52
- startIcon?: SlotIcon;
52
+ leftIcon?: SlotIcon;
53
53
  /** Icon at the end of the row, outside the bounds. */
54
- endIcon?: SlotIcon;
54
+ rightIcon?: SlotIcon;
55
55
  /** Replaces the formatted `min` at the start of the track. */
56
56
  startLabel?: string;
57
57
  /** Replaces the formatted `max` at the end of the track. */
@@ -1,7 +1,8 @@
1
1
  import { type ImageProps } from "expo-image";
2
+ import { type RadiusName } from "../../theme";
2
3
  export interface SquircleImageProps extends ImageProps {
3
- /** Corner radius of the image, the same number `SquircleView` takes. */
4
- borderRadius: number;
4
+ /** Corner radius token of the image: none, sm, md, lg, xl or pill. */
5
+ radius: RadiusName;
5
6
  /** Paints the corners outside the smooth curve on Android. Default: the theme's base surface. */
6
7
  cornerColor?: string;
7
8
  }
@@ -13,7 +14,7 @@ export interface SquircleImageProps extends ImageProps {
13
14
  * through.
14
15
  */
15
16
  declare const SquircleImage: {
16
- ({ borderRadius, cornerColor, style, onLayout, ...imageProps }: SquircleImageProps): import("react").JSX.Element;
17
+ ({ radius, cornerColor, style, onLayout, ...imageProps }: SquircleImageProps): import("react").JSX.Element;
17
18
  displayName: string;
18
19
  };
19
20
  export { SquircleImage };
@@ -26,17 +26,17 @@ export declare const DEFAULT_TIME_PICKER_LABELS: Readonly<TimePickerLabels>;
26
26
  /**
27
27
  * TimePicker supports two modes:
28
28
  *
29
- * 1. Controlled-modal mode — pass `visible`, `onChange`, `onClose`. The
29
+ * 1. Controlled-modal mode: pass `open`, `onChange`, `onClose`. The
30
30
  * component renders only the modal sheet and the caller owns open/close
31
31
  * state plus its own trigger UI.
32
- * 2. Trigger mode — omit `visible`. The component renders a PickerTrigger
32
+ * 2. Trigger mode: omit `open`. The component renders a PickerTrigger
33
33
  * field (label / value / placeholder / chevron / clear / helper / error)
34
34
  * and manages its own modal open state. `onChange` is still called on
35
35
  * confirm.
36
36
  */
37
37
  export interface TimePickerProps extends PickerTriggerPassThroughProps {
38
38
  /** Controlled-modal visibility. When omitted, the component enters trigger mode. */
39
- visible?: boolean;
39
+ open?: boolean;
40
40
  value?: TimeValue | null;
41
41
  onChange?: (time: TimeValue) => void;
42
42
  onClose?: () => void;
@@ -35,8 +35,8 @@ export interface TooltipProps {
35
35
  * never attached to a child with its own `contextMenu`: the menu wins.
36
36
  */
37
37
  trigger?: TooltipTrigger;
38
- visible?: boolean;
39
- onVisibleChange?: (visible: boolean) => void;
38
+ open?: boolean;
39
+ onOpenChange?: (open: boolean) => void;
40
40
  hideOnContentPress?: boolean;
41
41
  maxWidth?: number;
42
42
  showArrow?: boolean;
@@ -46,7 +46,7 @@ export interface TourProps {
46
46
  tourId: string;
47
47
  steps: TourStep[];
48
48
  /** Set true to run the tour; set it back to false from `onClose`. */
49
- visible: boolean;
49
+ open: boolean;
50
50
  onClose: (reason: TourCloseReason) => void;
51
51
  /** Consulted before showing and written when the tour finishes or is skipped. */
52
52
  seenStore?: TourSeenStore;
@@ -110,8 +110,6 @@ export type { MessageListLabels, MessageListProps, MessageRenderInfo } from "./M
110
110
  export { DEFAULT_MESSAGE_LIST_LABELS, MessageList } from "./MessageList";
111
111
  export type { ModalLabels, ModalPresentation, ModalProps } from "./Modal";
112
112
  export { DEFAULT_MODAL_LABELS, MODAL_DISMISS_GRACE_MS, Modal } from "./Modal";
113
- export type { NotationProps, NotationRun, NotationTextRun } from "./Notation";
114
- export { Notation, parseNotation, sym } from "./Notation";
115
113
  export type { NumberInputLabels, NumberInputProps, NumberInputRef, NumberInputSize, NumberInputVariant } from "./NumberInput";
116
114
  export { DEFAULT_NUMBER_INPUT_LABELS, NumberInput } from "./NumberInput";
117
115
  export type { OnboardingPage, OnboardingPagerLabels, OnboardingPagerProps, } from "./OnboardingPager";
@@ -0,0 +1,3 @@
1
+ export { CURATED_ICON_NAMES, defaultIcons, ICON_NAMES } from "./components/AppIcon";
2
+ export { textOf } from "./theme";
3
+ //# sourceMappingURL=icons.d.ts.map
@@ -1,16 +1,17 @@
1
1
  export { PHONE_CHROME_INSETS } from "./canvasKit";
2
- export * from "./components";
2
+ export type * from "./components";
3
+ export { Accordion, AccordionGroup, ALL_CALLING_CODES, AmountSlider, AnimatePresence, AppBar, AppLockOverlay, AsyncBlock, AuthedImage, Autocomplete, Avatar, AvatarGroup, authedImageCacheStats, Badge, Banner, BarChart, BottomNavigation, BottomSheet, Box, Button, buttonLabelInk, Calendar, Card, Carousel, Checkbox, Chip, ChoiceGroup, Composer, Confetti, ConfirmHost, clearAuthedImageCache, confirm, DatePicker, DateRangePicker, DateSeparator, DEFAULT_CALLING_CODES, DecimalInput, Descriptions, Dialog, Divider, Drawer, defineStatusMap, EmptyState, ErrorBoundary, FilePicker, FileViewer, FilterChipRow, FloatingActionButton, FloatingActionButtonGroup, ForceUpdateDialog, FormField, formatE164, formatFileSize, getAuthedImageCacheLimit, IconBadge, IconButton, ImageGallery, InlineSelect, Input, KeyboardAwareScrollView, KeyboardToolbar, ListItem, ListSection, LoaderOverlay, loader, Markdown, Menu, MessageBubble, MessageList, MODAL_DISMISS_GRACE_MS, Modal, NumberInput, OnboardingPager, OptionSheet, OTPInput, OTPResendRow, PagedListFooter, PermissionPrompt, PhoneNumberInput, PickerTrigger, ProfileCompletion, ProfilePicker, ProgressBar, ProgressRing, Radio, RadioDot, RadioGroup, Rating, Repeater, RichTextEditor, Row, ScannerOverlay, Screen, SearchBar, SectionHeader, SegmentedControl, Select, SignaturePad, Skeleton, SkeletonCircle, SkeletonClockProvider, SkeletonContent, SkeletonList, SkeletonProvider, SkeletonSkip, SkeletonText, Slider, SliderField, SlideToConfirm, SortableList, Spacer, Sparkline, Spinner, SquircleImage, SquircleView, Stack, StatTile, StatusBadge, Stepper, Swipeable, Switch, setAuthedImageCacheLimit, Tabs, TagInput, Text, TextInkContext, Timeline, TimePicker, Toast, ToastHost, ToastProvider, Tooltip, Tour, TypingIndicator, toast, useBottomSheet, useErrorHandler, useRecentSearches, useTextInk, useToast, WheelPicker, withErrorBoundary, ZoomableImage, } from "./components";
3
4
  export type { AppIconColor, AppIconName, AppIconProps, AppIconSize, CuratedIconName, IconName, IconsaxShadowedName, IconVariant, SlotIcon, SlotIconRef, SlotIconState, SlotNode, } from "./components/AppIcon";
4
- export { APP_ICON_SIZES, AppIcon, CURATED_ICON_NAMES, defaultIcons, ICON_NAMES, ICONSAX_SUFFIX, renderSlotIcon, } from "./components/AppIcon";
5
+ export { AppIcon } from "./components/AppIcon";
5
6
  export type { FormCompletion, HookFieldProps, HookFormFieldProps, UseFormCompletionOptions } from "./form";
6
- export { deletePath, getPath, HookFormField, isFieldFilled, setPath, useFormCompletion, useHookFormField, } from "./form";
7
+ export { HookFormField, useHookFormField } from "./form";
7
8
  export type { FieldChain, FieldChainProps, FieldErrorRegistry, MotionDurationKey, PresenceMotion, PressAnimationPreset, ScrollDirection, UseControllableStateOptions, UseFieldErrorScrollOptions, UseFieldErrorScrollResult, UsePressAnimationOptions, UsePressAnimationResult, UseRefreshControlLabels, UseRefreshControlOptions, UseRefreshControlResult, UseResendCountdownOptions, UseResendCountdownResult, UseScrollDirectionOptions, UseScrollDirectionResult, UseToggleResult, } from "./hooks";
8
- export { FieldErrorScrollContext, FLICK_TOLERANCE, PRESENCE_REDUCE_MOTION, PRESS_ANIMATION_PRESETS, useControllableState, useDebounce, useFieldChain, useFieldErrorAnchor, useFieldErrorScroll, useFlickGuard, usePresenceMotion, usePressAnimation, useReducedMotion, useRefreshControl, useResendCountdown, useScrollDirection, useToggle, } from "./hooks";
9
+ export { useDebounce, useFieldChain, useRefreshControl, useScrollDirection } from "./hooks";
9
10
  export type { NetworkStatusBannerProps } from "./network";
10
11
  export { NetworkStatusBanner } from "./network";
11
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";
12
- export { COLOR_NAMES, DURATION_NAMES, darkTheme, EASE_NAMES, FONT_NAMES, KitThemeBridge, LEADING_NAMES, LETTER_SPACING_NAMES, lightTheme, makeStyles, mergeBrand, RADIUS_NAMES, radiusOf, resolveBadgeSize, resolveButtonSize, resolveCheckboxSize, resolveChipSize, resolveEmptyStateSize, resolveFieldSize, resolveFloatingActionButtonSize, resolveListItemSize, resolveOtpInputSize, resolveRadioSize, resolveSegmentedControlSize, resolveSliderSize, resolveSwitchSize, resolveTabsSize, SHADOW_NAMES, SIZE_NAMES, SPACE_NAMES, spaceOf, TEXT_NAMES, ThemeProvider, textOf, useTheme, useThemeMode, WEIGHT_NAMES, } from "./theme";
13
+ export { KitThemeBridge, lightTheme, makeStyles, ThemeProvider, useTheme, useThemeMode } from "./theme";
13
14
  export type { FieldVariant, FillVariant, SelectionMode, Size, Tone, } from "./types/vocabulary";
14
15
  export type { AnnounceOptions, BreakpointKey, FeedbackIntent, HapticType, ResponsiveScales, ScreenInfo, SquirclePathParams, } from "./utils";
15
- export { announce, Breakpoints, configureFeedback, feedback, hapticForIntent, isFeedbackEnabled, isScreenSize, isTablet, SQUIRCLE_MIN_RADIUS, SQUIRCLE_SMOOTHING, setHapticImplementation, shadowStyle, smoothCorners, squircleApplies, squircleHostRadius, squirclePath, triggerHaptic, useScreenDimensions, warnUnknownProps, } from "./utils";
16
+ export { setHapticImplementation, triggerHaptic } from "./utils";
16
17
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,2 @@
1
+ export { resolveBadgeSize, resolveButtonSize, resolveCheckboxSize, resolveChipSize, resolveEmptyStateSize, resolveFieldSize, resolveFloatingActionButtonSize, resolveListItemSize, resolveOtpInputSize, resolveRadioSize, resolveSegmentedControlSize, resolveSliderSize, resolveSwitchSize, resolveTabsSize, } from "./theme";
2
+ //# sourceMappingURL=sizes.d.ts.map
@@ -0,0 +1,2 @@
1
+ export { squircleApplies, squircleHostRadius, squirclePath } from "./utils";
2
+ //# sourceMappingURL=squircle.d.ts.map
@@ -10,7 +10,7 @@ export interface AppLockOverlayLabels {
10
10
  }
11
11
  export declare const DEFAULT_APP_LOCK_OVERLAY_LABELS: Readonly<AppLockOverlayLabels>;
12
12
  export interface AppLockOverlayProps {
13
- visible: boolean;
13
+ open: boolean;
14
14
  onUnlock: () => void;
15
15
  /** The last unlock failure; "cancelled" shows no message. */
16
16
  failure?: AppLockFailure;
@@ -22,6 +22,6 @@ export interface AppLockOverlayProps {
22
22
  labels?: Partial<AppLockOverlayLabels>;
23
23
  testID?: string;
24
24
  }
25
- /** Calls `onUnlock` once each time it becomes visible, and again on every press of the unlock button. */
26
- export declare function AppLockOverlay({ visible, onUnlock, failure, secondaryAction, brandMark, labels: labelOverrides, testID, }: AppLockOverlayProps): React.ReactElement | null;
25
+ /** Calls `onUnlock` once each time it becomes open, and again on every press of the unlock button. */
26
+ export declare function AppLockOverlay({ open, onUnlock, failure, secondaryAction, brandMark, labels: labelOverrides, testID, }: AppLockOverlayProps): React.ReactElement | null;
27
27
  //# sourceMappingURL=AppLockOverlay.d.ts.map
@@ -1,3 +1,4 @@
1
+ import type { DownloadHttpClient } from "@webority/mobile-core/download";
1
2
  import type React from "react";
2
3
  import type { GestureResponderEvent, ImageSourcePropType, ImageStyle, PressableProps, View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
3
4
  import type { RadiusName } from "../../theme/tokens.generated.js";
@@ -65,6 +66,12 @@ export interface AvatarProps {
65
66
  * triggers the initials fallback. When omitted, expo-image's `<Image>` is used.
66
67
  */
67
68
  ImageComponent?: React.ComponentType<AvatarImageProps>;
69
+ /**
70
+ * The authed fetcher for a `source` with a `uri` (the app's signed-in client, as AuthedImage's `client`).
71
+ * With it set and no ImageComponent, the picture draws through AuthedImage: the image is fetched with the
72
+ * client, cached on disk and shown with the initials as its fallback.
73
+ */
74
+ imageClient?: DownloadHttpClient;
68
75
  name?: string;
69
76
  size?: AvatarSize;
70
77
  shape?: AvatarShape;
@@ -57,7 +57,7 @@ export interface BannerProps {
57
57
  labels?: Partial<BannerLabels>;
58
58
  /** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
59
59
  haptic?: HapticType | false;
60
- visible?: boolean;
60
+ open?: boolean;
61
61
  animateMount?: boolean;
62
62
  /**
63
63
  * When true, renders the component as its authored skeleton placeholder shape.
@@ -7,7 +7,7 @@
7
7
  * USAGE:
8
8
  *
9
9
  * const [open, setOpen] = useState(false);
10
- * <BottomSheet visible={open} onClose={() => setOpen(false)} snapPoints={[200, '50%', '90%']}>
10
+ * <BottomSheet open={open} onClose={() => setOpen(false)} snapPoints={[200, '50%', '90%']}>
11
11
  * <YourContent />
12
12
  * </BottomSheet>
13
13
  */
@@ -39,9 +39,9 @@ export interface BottomSheetProps {
39
39
  */
40
40
  snapPoints?: SnapPoint[];
41
41
  /** Whether the sheet is open. Set it to false in `onClose`; a sheet closed by the person stays closed until this goes false and true again. */
42
- visible: boolean;
42
+ open: boolean;
43
43
  /**
44
- * Called after the person dismisses the sheet (a handle drag, a swipe down, the scrim, Android Back, Escape) and `onBeforeClose` allowed it. The parent sets `visible` to false in it; a sheet closed this way stays closed until `visible` goes false and true again.
44
+ * Called after the person dismisses the sheet (a handle drag, a swipe down, the scrim, Android Back, Escape) and `onBeforeClose` allowed it. The parent sets `open` to false in it; a sheet closed this way stays closed until `open` goes false and true again.
45
45
  */
46
46
  onClose: () => void;
47
47
  /** The snap point to open at, and the one to move to when it changes. Omitted, the sheet opens at its first snap point. A drag does not move it: follow the position with `onSnapChange`. */
@@ -132,7 +132,7 @@ export interface BottomSheetProps {
132
132
  */
133
133
  presentation?: BottomSheetPresentation;
134
134
  /**
135
- * Whether a sheet that opens as it mounts (`visible` on the first render)
135
+ * Whether a sheet that opens as it mounts (`open` on the first render)
136
136
  * slides up into place. When false it is drawn at its snap
137
137
  * point at once, and a re-measured host moves it without a spring, until
138
138
  * its first close; later opens slide as usual. Default true.
@@ -28,8 +28,8 @@ export declare const buildCalendarStyles: (theme: Theme) => {
28
28
  opacity: number;
29
29
  };
30
30
  navText: {
31
- fontFamily?: string | undefined | undefined;
32
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
33
  fontSize: number;
34
34
  lineHeight: number;
35
35
  color: string;
@@ -39,8 +39,8 @@ export declare const buildCalendarStyles: (theme: Theme) => {
39
39
  alignItems: "center";
40
40
  };
41
41
  headerLabel: {
42
- fontFamily?: string | undefined | undefined;
43
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
44
  fontSize: number;
45
45
  color: string;
46
46
  };
@@ -54,8 +54,8 @@ export declare const buildCalendarStyles: (theme: Theme) => {
54
54
  paddingVertical: number;
55
55
  };
56
56
  weekdayText: {
57
- fontFamily?: string | undefined | undefined;
58
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
59
  fontSize: number;
60
60
  color: string;
61
61
  letterSpacing: number;
@@ -101,8 +101,8 @@ export declare const buildCalendarStyles: (theme: Theme) => {
101
101
  borderRadius: number;
102
102
  };
103
103
  dayText: {
104
- fontFamily?: string | undefined | undefined;
105
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
106
  fontSize: number;
107
107
  };
108
108
  dots: {
@@ -12,7 +12,7 @@ export interface CardTextAction {
12
12
  accessibilityLabel?: string;
13
13
  }
14
14
  export type CardElevation = "none" | ShadowName;
15
- export type CardRadius = "sm" | "md" | "lg" | "xl";
15
+ export type CardRadius = "sm" | "md" | "lg" | "xl" | "pill";
16
16
  export type CardPadding = "none" | "sm" | "md" | "lg" | "xl";
17
17
  export type CardTitleFont = "sans" | "serif";
18
18
  declare const BACKGROUND_TOKENS: readonly ["bg", "bg-subtle", "bg-muted", "surface", "scrim", "surface-inverse", "primary-wash"];
@@ -105,8 +105,6 @@ export interface CardProps extends Omit<PressableProps, "style" | "children"> {
105
105
  bodyStyle?: StyleProp<ViewStyle>;
106
106
  /** Style applied to the footer wrapper View. */
107
107
  footerStyle?: StyleProp<ViewStyle>;
108
- /** Per-instance override of the corner radius. Wins over the `radius` token. */
109
- borderRadius?: number;
110
108
  testID?: string;
111
109
  }
112
110
  declare const Card: React.MemoExoticComponent<React.ForwardRefExoticComponent<CardProps & React.RefAttributes<RNView>>> & {
@@ -24,9 +24,9 @@ export declare const DEFAULT_DATE_PICKER_LABELS: Readonly<DatePickerLabels>;
24
24
  /**
25
25
  * DatePicker operates in two modes:
26
26
  *
27
- * 1. **Controlled-modal mode** — pass `visible` (plus `onChange` / `onClose`)
27
+ * 1. **Controlled-modal mode**: pass `open` (plus `onChange` / `onClose`)
28
28
  * and own the open state externally. The component renders only the modal.
29
- * 2. **Trigger mode** — omit `visible`. The component renders a built-in
29
+ * 2. **Trigger mode**: omit `open`. The component renders a built-in
30
30
  * PickerTrigger field (label / value / placeholder / chevron / clear /
31
31
  * helper / error / size / variant) and manages its own open state. The
32
32
  * field opens the modal on press and closes it on confirm/cancel.
@@ -36,7 +36,7 @@ export declare const DEFAULT_DATE_PICKER_LABELS: Readonly<DatePickerLabels>;
36
36
  * they remain semantically required.
37
37
  */
38
38
  export interface DatePickerProps extends PickerTriggerPassThroughProps {
39
- visible?: boolean;
39
+ open?: boolean;
40
40
  value?: Date | null;
41
41
  onChange?: (date: Date) => void;
42
42
  onClose?: () => void;
@@ -18,14 +18,14 @@ export declare const DEFAULT_DATE_RANGE_PICKER_LABELS: Readonly<DateRangePickerL
18
18
  /**
19
19
  * DateRangePicker — supports two usage modes:
20
20
  *
21
- * 1. Controlled-modal mode (pass `visible` + `onClose`): renders only the
21
+ * 1. Controlled-modal mode (pass `open` + `onClose`): renders only the
22
22
  * modal; parent owns open/close state.
23
- * 2. Trigger mode (omit `visible`): renders a built-in `PickerTrigger`
23
+ * 2. Trigger mode (omit `open`): renders a built-in `PickerTrigger`
24
24
  * field that opens an internally-managed modal on tap. Confirm fires
25
25
  * `onChange?.(...)` and closes.
26
26
  */
27
27
  export interface DateRangePickerProps extends PickerTriggerPassThroughProps {
28
- visible?: boolean;
28
+ open?: boolean;
29
29
  value: DateRange;
30
30
  onChange?: (range: {
31
31
  start: Date;
@@ -11,8 +11,8 @@ export interface DescriptionItem {
11
11
  */
12
12
  label: React.ReactNode;
13
13
  /**
14
- * A string, a number, a `sym()` / `Notation` or a list of those renders as text in the value's
15
- * size, weight and colour (`strong`, `tone`), the subscript included. Any other node (a badge, a
14
+ * A string, a number or a list of those renders as text in the value's
15
+ * size, weight and colour (`strong`, `tone`). Any other node (a badge, a
16
16
  * Text of your own) renders as-is in a View and owns its type. Empty renders as a plain hyphen, "-".
17
17
  */
18
18
  value?: React.ReactNode;