@webority/mobile-ui 0.163.0 → 0.164.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 (95) hide show
  1. package/android/src/newarch/java/com/webority/mobileui/pdfrasterizer/PdfRasterizerModule.kt +4 -4
  2. package/dist/canvas-kit/kit.js +2 -2
  3. package/dist/canvas-kit/manifest.json +6 -1
  4. package/dist/canvas-kit/release.json +6 -6
  5. package/ios/PdfRasterizer.mm +3 -3
  6. package/lib/commonjs/utils/warnUnknownProps.js +1 -1
  7. package/lib/module/utils/warnUnknownProps.js +1 -1
  8. package/lib/typescript/commonjs/components/Autocomplete/Autocomplete.d.ts +1 -1
  9. package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +1 -1
  10. package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +4 -4
  11. package/lib/typescript/commonjs/components/Carousel/Carousel.d.ts +1 -1
  12. package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +4 -4
  13. package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +1 -1
  14. package/lib/typescript/commonjs/components/Descriptions/Descriptions.d.ts +2 -2
  15. package/lib/typescript/commonjs/components/Drawer/Drawer.d.ts +1 -1
  16. package/lib/typescript/commonjs/components/FieldBase/Chevron.d.ts +1 -1
  17. package/lib/typescript/commonjs/components/FieldBase/FieldBase.d.ts +13 -13
  18. package/lib/typescript/commonjs/components/FilePicker/FilePicker.d.ts +10 -10
  19. package/lib/typescript/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +2 -2
  20. package/lib/typescript/commonjs/components/FormField/FormField.d.ts +1 -1
  21. package/lib/typescript/commonjs/components/IconButton/IconButton.d.ts +2 -2
  22. package/lib/typescript/commonjs/components/ImageGallery/ImageGallery.d.ts +1 -1
  23. package/lib/typescript/commonjs/components/InlineSelect/InlineSelect.d.ts +7 -7
  24. package/lib/typescript/commonjs/components/Input/Input.d.ts +2 -2
  25. package/lib/typescript/commonjs/components/Modal/Modal.d.ts +1 -1
  26. package/lib/typescript/commonjs/components/OptionSheet/OptionSheet.d.ts +4 -4
  27. package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +4 -4
  28. package/lib/typescript/commonjs/components/ProfilePicker/ProfilePicker.d.ts +1 -1
  29. package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +1 -1
  30. package/lib/typescript/commonjs/components/Radio/RadioDot.d.ts +2 -2
  31. package/lib/typescript/commonjs/components/Repeater/Repeater.d.ts +2 -2
  32. package/lib/typescript/commonjs/components/RichTextEditor/markdownActions.d.ts +3 -3
  33. package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +1 -1
  34. package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +1 -1
  35. package/lib/typescript/commonjs/components/Select/Select.d.ts +6 -6
  36. package/lib/typescript/commonjs/components/Skeleton/Skeleton.d.ts +3 -3
  37. package/lib/typescript/commonjs/components/Skeleton/SkeletonClock.d.ts +3 -3
  38. package/lib/typescript/commonjs/components/Skeleton/SkeletonContent.d.ts +6 -6
  39. package/lib/typescript/commonjs/components/Skeleton/SkeletonList.d.ts +2 -2
  40. package/lib/typescript/commonjs/components/Skeleton/SkeletonProvider.d.ts +5 -5
  41. package/lib/typescript/commonjs/components/Skeleton/SkeletonSkip.d.ts +2 -2
  42. package/lib/typescript/commonjs/components/SlideToConfirm/SlideToConfirm.d.ts +1 -1
  43. package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +2 -2
  44. package/lib/typescript/commonjs/components/TagInput/TagInput.d.ts +1 -1
  45. package/lib/typescript/commonjs/components/Timeline/Timeline.d.ts +8 -8
  46. package/lib/typescript/commonjs/components/ZoomableImage/ZoomableImage.d.ts +4 -4
  47. package/lib/typescript/commonjs/specs/NativePdfRasterizer.d.ts +4 -4
  48. package/lib/typescript/commonjs/theme/animatedValue.d.ts +4 -4
  49. package/lib/typescript/commonjs/utils/feedback.d.ts +3 -3
  50. package/lib/typescript/commonjs/utils/warnUnknownProps.d.ts +2 -2
  51. package/lib/typescript/module/components/Autocomplete/Autocomplete.d.ts +1 -1
  52. package/lib/typescript/module/components/Avatar/Avatar.d.ts +1 -1
  53. package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +4 -4
  54. package/lib/typescript/module/components/Carousel/Carousel.d.ts +1 -1
  55. package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +4 -4
  56. package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +1 -1
  57. package/lib/typescript/module/components/Descriptions/Descriptions.d.ts +2 -2
  58. package/lib/typescript/module/components/Drawer/Drawer.d.ts +1 -1
  59. package/lib/typescript/module/components/FieldBase/Chevron.d.ts +1 -1
  60. package/lib/typescript/module/components/FieldBase/FieldBase.d.ts +13 -13
  61. package/lib/typescript/module/components/FilePicker/FilePicker.d.ts +10 -10
  62. package/lib/typescript/module/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +2 -2
  63. package/lib/typescript/module/components/FormField/FormField.d.ts +1 -1
  64. package/lib/typescript/module/components/IconButton/IconButton.d.ts +2 -2
  65. package/lib/typescript/module/components/ImageGallery/ImageGallery.d.ts +1 -1
  66. package/lib/typescript/module/components/InlineSelect/InlineSelect.d.ts +7 -7
  67. package/lib/typescript/module/components/Input/Input.d.ts +2 -2
  68. package/lib/typescript/module/components/Modal/Modal.d.ts +1 -1
  69. package/lib/typescript/module/components/OptionSheet/OptionSheet.d.ts +4 -4
  70. package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +4 -4
  71. package/lib/typescript/module/components/ProfilePicker/ProfilePicker.d.ts +1 -1
  72. package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +1 -1
  73. package/lib/typescript/module/components/Radio/RadioDot.d.ts +2 -2
  74. package/lib/typescript/module/components/Repeater/Repeater.d.ts +2 -2
  75. package/lib/typescript/module/components/RichTextEditor/markdownActions.d.ts +3 -3
  76. package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +1 -1
  77. package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +1 -1
  78. package/lib/typescript/module/components/Select/Select.d.ts +6 -6
  79. package/lib/typescript/module/components/Skeleton/Skeleton.d.ts +3 -3
  80. package/lib/typescript/module/components/Skeleton/SkeletonClock.d.ts +3 -3
  81. package/lib/typescript/module/components/Skeleton/SkeletonContent.d.ts +6 -6
  82. package/lib/typescript/module/components/Skeleton/SkeletonList.d.ts +2 -2
  83. package/lib/typescript/module/components/Skeleton/SkeletonProvider.d.ts +5 -5
  84. package/lib/typescript/module/components/Skeleton/SkeletonSkip.d.ts +2 -2
  85. package/lib/typescript/module/components/SlideToConfirm/SlideToConfirm.d.ts +1 -1
  86. package/lib/typescript/module/components/Tabs/Tabs.d.ts +2 -2
  87. package/lib/typescript/module/components/TagInput/TagInput.d.ts +1 -1
  88. package/lib/typescript/module/components/Timeline/Timeline.d.ts +8 -8
  89. package/lib/typescript/module/components/ZoomableImage/ZoomableImage.d.ts +4 -4
  90. package/lib/typescript/module/specs/NativePdfRasterizer.d.ts +4 -4
  91. package/lib/typescript/module/theme/animatedValue.d.ts +4 -4
  92. package/lib/typescript/module/utils/feedback.d.ts +3 -3
  93. package/lib/typescript/module/utils/warnUnknownProps.d.ts +2 -2
  94. package/package.json +7 -7
  95. package/src/specs/NativePdfRasterizer.ts +4 -4
@@ -26,7 +26,7 @@ export interface RepeaterRenderArgs<T> {
26
26
  export interface RepeaterProps<T> {
27
27
  value: ReadonlyArray<T>;
28
28
  onChange: (next: T[]) => void;
29
- /** Builds a blank row. Called on add — must return a NEW object each time. */
29
+ /** Builds a blank row. Called on add; must return a NEW object each time. */
30
30
  createRow: () => T;
31
31
  renderRow: (args: RepeaterRenderArgs<T>) => React.ReactNode;
32
32
  /** Copy for the add button, the empty text, the per-row heading (`labels.row`) and the remove button. */
@@ -57,7 +57,7 @@ export interface RepeaterProps<T> {
57
57
  testID?: string | undefined;
58
58
  }
59
59
  /**
60
- * Add / remove / edit a list of form rows — line items, phone numbers,
60
+ * Add / remove / edit a list of form rows: line items, phone numbers,
61
61
  * addresses. Owns the array mechanics (immutably) so each screen stops
62
62
  * re-deriving splice/map logic, and keeps the min/max rules in one place where
63
63
  * they can't disagree between the add button and the remove button.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The text transforms behind the editor's toolbar, kept out of the component so
3
- * the behaviour people actually notice — toggling bold OFF again, and where the
4
- * caret lands when nothing is selected — can be tested as data, with no
3
+ * the behaviour people actually notice (toggling bold OFF again, and where the
4
+ * caret lands when nothing is selected) can be tested as data, with no
5
5
  * rendering involved.
6
6
  *
7
7
  * The output targets our own `<Markdown>` renderer, so the vocabulary is the
@@ -28,7 +28,7 @@ export declare const normalizeSelection: (selection: EditorSelection, length: nu
28
28
  *
29
29
  * Wrapping applies to the selection; with nothing selected the markers are
30
30
  * inserted and the caret lands between them. Applying an action to text that
31
- * already carries it removes it instead of stacking a second copy — which is
31
+ * already carries it removes it instead of stacking a second copy, which is
32
32
  * the half people notice immediately when it is missing.
33
33
  */
34
34
  export declare const applyMarkdownAction: (state: EditorState, action: MarkdownAction) => EditorState;
@@ -28,7 +28,7 @@ export interface SearchBarProps extends Omit<TextInputProps, "style" | "value" |
28
28
  /** How the label sits. Default `'top'`, the field family's static label; `'float'` rises on focus / value. */
29
29
  labelMode?: SearchBarLabelMode | undefined;
30
30
  labelStyle?: StyleProp<TextStyle> | undefined;
31
- /** Current value. Optional / nullable — treated as empty string when undefined or null. */
31
+ /** Current value. Optional / nullable; treated as empty string when undefined or null. */
32
32
  value?: string | null | undefined;
33
33
  onChangeText: (text: string) => void;
34
34
  onSubmit?: ((text: string) => void) | undefined;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * SegmentedControl — iOS-style segmented control.
2
+ * SegmentedControl: iOS-style segmented control.
3
3
  *
4
4
  * Rounded container whose segments take the width of their labels, sharing
5
5
  * any free room, and an animated thumb that
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Select — single + multi select with bottom-sheet picker.
2
+ * Select: single + multi select with bottom-sheet picker.
3
3
  *
4
4
  * The trigger is a FieldBase row; the picker itself is the shared OptionSheet
5
5
  * primitive (also behind InlineSelect), so the sheet look + behaviour never
@@ -30,7 +30,7 @@ export declare const DEFAULT_SELECT_LABELS: SelectLabels;
30
30
  interface BaseSelectProps<T = SelectOption> {
31
31
  /**
32
32
  * Options to render. Default shape is `SelectOption` (`{ label, value, ... }`)
33
- * — for that shape no accessors are needed. To use a different option shape
33
+ * For that shape, no accessors are needed. To use a different option shape
34
34
  * (e.g. `{ id, name }` from a domain model), pass `getOptionLabel` /
35
35
  * `getOptionValue` (and optionally `isOptionDisabled`/`getOptionDescription`/
36
36
  * `getOptionIcon`) so Select can read it without per-call-site mapping.
@@ -73,7 +73,7 @@ interface BaseSelectProps<T = SelectOption> {
73
73
  help?: React.ReactNode | undefined;
74
74
  /**
75
75
  * Heading shown at the top of the options bottom-sheet. Independent of
76
- * `label` (the field label above the trigger) — omit it for a sheet with no
76
+ * `label` (the field label above the trigger). Omit it for a sheet with no
77
77
  * heading. Falls back to `label`/`placeholder` only for the sheet's a11y name.
78
78
  */
79
79
  title?: string | undefined;
@@ -119,7 +119,7 @@ interface BaseSelectProps<T = SelectOption> {
119
119
  */
120
120
  leftIcon?: SlotIcon | undefined;
121
121
  /**
122
- * Replaces the built-in arrow on the right of the trigger. Rendered static —
122
+ * Replaces the built-in arrow on the right of the trigger. Rendered static;
123
123
  * the default chevron's rotate-on-open is dropped, so pass an already-animated
124
124
  * node if you want motion. Mirrors Input's `rightIcon`, same contract as `leftIcon`.
125
125
  */
@@ -138,11 +138,11 @@ interface BaseSelectProps<T = SelectOption> {
138
138
  textStyle?: StyleProp<TextStyle> | undefined;
139
139
  /** Style for every option row in the sheet (padding, background, …). */
140
140
  optionStyle?: StyleProp<ViewStyle> | undefined;
141
- /** Extra style for the selected option row — wins over `optionStyle` and the default selected fill. */
141
+ /** Extra style for the selected option row: it wins over `optionStyle` and the default selected fill. */
142
142
  selectedOptionStyle?: StyleProp<ViewStyle> | undefined;
143
143
  /** Style for every option's label text in the sheet. */
144
144
  optionTextStyle?: StyleProp<TextStyle> | undefined;
145
- /** Extra style for the selected option's label text — wins over `optionTextStyle` and the default selected colour. */
145
+ /** Extra style for the selected option's label text: it wins over `optionTextStyle` and the default selected colour. */
146
146
  selectedOptionTextStyle?: StyleProp<TextStyle> | undefined;
147
147
  testID?: string | undefined;
148
148
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Skeleton — the leaf placeholder primitive.
2
+ * Skeleton: the leaf placeholder primitive.
3
3
  *
4
4
  * Every Skeleton on screen reads the shared shimmer/pulse clock from
5
5
  * `SkeletonProvider` (see SkeletonClock.tsx). One native-driver loop per
@@ -46,8 +46,8 @@ export interface SkeletonProps {
46
46
  * dimensions/radius. Override individual values via `width`, `height`,
47
47
  * `radius` as needed.
48
48
  * - `'rect'`: default, sharp corners.
49
- * - `'rounded'`: `theme.radius.md` corners — for cards / buttons.
50
- * - `'circle'`: 50% radius — for avatars / icons (provide `width` = `height`).
49
+ * - `'rounded'`: `theme.radius.md` corners, for cards / buttons.
50
+ * - `'circle'`: 50% radius, for avatars / icons (provide `width` = `height`).
51
51
  * - `'text'`: small radius + roughly text-line height. `height` becomes
52
52
  * `1.15× fontSize` if a `fontSize` would have been passed.
53
53
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * SkeletonClock — single shared animation tick for every <Skeleton> on screen.
2
+ * SkeletonClock: single shared animation tick for every <Skeleton> on screen.
3
3
  *
4
4
  * Why this exists: previously every Skeleton primitive ran its own
5
5
  * `Animated.loop` on its own `Animated.Value`. A list of 20 placeholders =
@@ -35,7 +35,7 @@ export interface SkeletonClockValue {
35
35
  export interface SkeletonClockProviderProps {
36
36
  /** Drives the shimmer band's speed. */
37
37
  speed: SkeletonSpeed;
38
- /** Pause the clock entirely — e.g., when reduced-motion is on. */
38
+ /** Pause the clock entirely (e.g., when reduced-motion is on). */
39
39
  enabled: boolean;
40
40
  /**
41
41
  * Default variant flag. Both loops always run regardless (it's cheap),
@@ -54,7 +54,7 @@ export declare const SkeletonClockProvider: React.FC<SkeletonClockProviderProps>
54
54
  /**
55
55
  * Read the active clock. Returns a fallback "always-still" clock when no
56
56
  * provider is mounted, so the primitives still render (statically) outside
57
- * one — keeps demo/storybook usage friction-free.
57
+ * one, which keeps demo/storybook usage friction-free.
58
58
  */
59
59
  export declare const useSkeletonClock: () => SkeletonClockValue;
60
60
  //# sourceMappingURL=SkeletonClock.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * SkeletonContent — show placeholder shapes while data is loading, then
2
+ * SkeletonContent: show placeholder shapes while data is loading, then
3
3
  * cross-fade to the real children once it arrives.
4
4
  *
5
5
  * Three usage patterns, listed in order of preference:
@@ -11,7 +11,7 @@
11
11
  * </SkeletonContent>
12
12
  *
13
13
  * Renders `placeholder` verbatim while loading and `children` once loaded.
14
- * Most precise and predictable — what you write is exactly what shimmers.
14
+ * Most precise and predictable. What you write is exactly what shimmers.
15
15
  * Prefer this for any non-trivial layout.
16
16
  *
17
17
  * 2. **Self-describing components inside an auto-walked tree**:
@@ -37,11 +37,11 @@
37
37
  * </View>
38
38
  * </SkeletonContent>
39
39
  *
40
- * Same walker as (2) — the Text/Image/View introspection handles
40
+ * Same walker as (2): the Text/Image/View introspection handles
41
41
  * primitive trees that mirror the loaded layout.
42
42
  *
43
43
  * Cross-fade: when `loading` flips from true to false, real children fade in
44
- * over `fadeDuration` ms. The first render is guarded — content that was
44
+ * over `fadeDuration` ms. The first render is guarded; content that was
45
45
  * never in a loading state does NOT fade on mount, only the actual
46
46
  * loading→loaded transition does. Matches Chakra UI's `isLoaded` feel.
47
47
  */
@@ -66,7 +66,7 @@ export interface SkeletonContentProps {
66
66
  /**
67
67
  * Explicit placeholder JSX. When provided, the walker is bypassed entirely
68
68
  * and `placeholder` is rendered verbatim while `loading` is true. This is
69
- * the recommended path for any non-trivial layout — most precise and most
69
+ * the recommended path for any non-trivial layout; most precise and most
70
70
  * predictable. Combine with `count` to repeat the shape.
71
71
  */
72
72
  placeholder?: ReactNode | undefined;
@@ -82,7 +82,7 @@ export interface SkeletonContentProps {
82
82
  /**
83
83
  * Colour override forwarded to every walker-produced `<Skeleton>`. Either
84
84
  * or both keys can be set; missing keys fall back to provider defaults /
85
- * theme. Has no effect when `placeholder` is provided — author colours
85
+ * theme. Has no effect when `placeholder` is provided; author colours
86
86
  * directly on the placeholder JSX instead.
87
87
  */
88
88
  colors?: SkeletonColors | undefined;
@@ -16,7 +16,7 @@ export interface SkeletonListProps<ItemT> extends Omit<FlatListProps<ItemT>, "da
16
16
  renderPlaceholder?: ((index: number) => ReactNode) | undefined;
17
17
  /** How many placeholder rows to render while loading. Default: 3. */
18
18
  placeholderCount?: number | undefined;
19
- /** Animation style — same as Skeleton. */
19
+ /** Animation style: same as Skeleton. */
20
20
  variant?: SkeletonVariant | undefined;
21
21
  /** Colour override forwarded to the placeholder skeletons. */
22
22
  colors?: SkeletonColors | undefined;
@@ -35,7 +35,7 @@ export interface SkeletonListProps<ItemT> extends Omit<FlatListProps<ItemT>, "da
35
35
  *
36
36
  * Inside a vertical ScrollView, pass `scrollEnabled={false}` and let the outer
37
37
  * view scroll: once `loading` flips false a real VirtualizedList mounts, and RN
38
- * logs a nesting error for a same-orientation list — which only shows up after
38
+ * logs a nesting error for a same-orientation list, which only shows up after
39
39
  * the data arrives, never on first render.
40
40
  *
41
41
  * @example
@@ -1,11 +1,11 @@
1
1
  /**
2
- * SkeletonProvider — app-level defaults for every <Skeleton> below it.
2
+ * SkeletonProvider: app-level defaults for every <Skeleton> below it.
3
3
  *
4
4
  * Two responsibilities:
5
5
  * 1. Broadcasts the default variant / speed / colors / radius /
6
6
  * placeholderCount so consumers don't repeat them per call site.
7
7
  * 2. Mounts the shared `SkeletonClockProvider` (see SkeletonClock.tsx) so
8
- * every primitive shares a single Animated.Value — synchronized shimmer
8
+ * every primitive shares a single Animated.Value: synchronized shimmer
9
9
  * across the whole subtree, one native-driver loop per provider.
10
10
  *
11
11
  * Under the OS "Reduce Motion" preference an `'auto'` skeleton pulses instead
@@ -17,7 +17,7 @@ import type { SkeletonRadius, SkeletonSpeed, SkeletonVariant } from "./Skeleton"
17
17
  /**
18
18
  * Per-instance color override for a skeleton. `background` is the resting
19
19
  * tone of the placeholder; `highlight` is the moving shimmer band (or pulse
20
- * fade). Either can be omitted — missing keys fall back to the active theme.
20
+ * fade). Either can be omitted; missing keys fall back to the active theme.
21
21
  */
22
22
  export interface SkeletonColors {
23
23
  background?: string | undefined;
@@ -40,7 +40,7 @@ export interface SkeletonProviderDefaults {
40
40
  /**
41
41
  * Hard override for animation. `'auto'` (default) follows the OS
42
42
  * "Reduce Motion" preference: shimmer when off, pulse when on. `'always'`
43
- * forces shimmer regardless. `'never'` forces static — useful for tests or
43
+ * forces shimmer regardless. `'never'` forces static: useful for tests or
44
44
  * battery-sensitive screens.
45
45
  */
46
46
  animation?: "auto" | "always" | "never" | undefined;
@@ -52,7 +52,7 @@ export declare const SkeletonProvider: React.FC<SkeletonProviderProps>;
52
52
  /**
53
53
  * Read the current SkeletonProvider defaults. Returns an empty object when
54
54
  * no provider is mounted, so the skeleton primitives still work outside of
55
- * one — but without a shared clock or theme-coordinated colors.
55
+ * one, but without a shared clock or theme-coordinated colors.
56
56
  */
57
57
  export declare const useSkeletonDefaults: () => SkeletonProviderDefaults;
58
58
  //# sourceMappingURL=SkeletonProvider.d.ts.map
@@ -8,8 +8,8 @@ export interface SkeletonSkipProps {
8
8
  *
9
9
  * The walker recognizes this element type and returns its children unchanged
10
10
  * even while `loading` is true. Use it to keep a specific Text/Image/View
11
- * visible inside a skeleton block — e.g., a brand mark, a status icon, or a
12
- * decorative element that should never shimmer.
11
+ * visible inside a skeleton block (e.g., a brand mark, a status icon, or a
12
+ * decorative element that should never shimmer).
13
13
  *
14
14
  * @example
15
15
  * <SkeletonContent loading>
@@ -18,7 +18,7 @@ export interface SlideToConfirmProps {
18
18
  tone?: SlideToConfirmTone | undefined;
19
19
  size?: SlideToConfirmSize | undefined;
20
20
  disabled?: boolean | undefined;
21
- /** Fraction of the track (0–1) the handle must cross to confirm. Default 0.9. */
21
+ /** Fraction of the track (0-1) the handle must cross to confirm. Default 0.9. */
22
22
  threshold?: number | undefined;
23
23
  /** Auto-reset this many ms after confirm, or `false` to stay confirmed. Default `false`. */
24
24
  resetAfter?: number | false | undefined;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Tabs — top tabs with an animated underline, pill or segmented indicator.
2
+ * Tabs: top tabs with an animated underline, pill or segmented indicator.
3
3
  *
4
4
  * Layout: equal-width row by default, or horizontal-scrollable when
5
5
  * `scrollable` is true. The active indicator (underline, pill or segmented
@@ -41,7 +41,7 @@ export interface TabItem {
41
41
  key: string;
42
42
  label: string;
43
43
  icon?: TabItemIcon | undefined;
44
- /** Optional numeric/string badge — rendered inline after the label when provided. */
44
+ /** Optional numeric/string badge, rendered inline after the label when provided. */
45
45
  badge?: string | number | undefined;
46
46
  disabled?: boolean | undefined;
47
47
  }
@@ -34,7 +34,7 @@ export interface TagInputProps {
34
34
  testID?: string | undefined;
35
35
  }
36
36
  /**
37
- * Chips as input — the "type a value, press enter, it becomes a tag" field.
37
+ * Chips as input: the "type a value, press enter, it becomes a tag" field.
38
38
  * Chip renders a tag and Input takes text, but nothing joined them, so consumers
39
39
  * built this by hand each time (and each one disagreed about backspace).
40
40
  */
@@ -4,13 +4,13 @@ import type { StyleProp, ViewStyle } from "react-native";
4
4
  * The status vocabulary is shared with the web library's AppTimeline so a
5
5
  * sign-off history reads identically on both surfaces.
6
6
  *
7
- * upcoming — not started yet (muted disc)
8
- * current — in progress now (warning)
9
- * done — completed (success)
10
- * onHold — blocked / waiting (info)
11
- * rejected — declined / failed (danger)
12
- * cancelled — aborted (muted)
13
- * skipped — intentionally bypassed (muted)
7
+ * upcoming: not started yet (muted disc)
8
+ * current: in progress now (warning)
9
+ * done: completed (success)
10
+ * onHold: blocked / waiting (info)
11
+ * rejected: declined / failed (danger)
12
+ * cancelled: aborted (muted)
13
+ * skipped: intentionally bypassed (muted)
14
14
  *
15
15
  * Every dot sits inside a soft halo of its own colour (the accent at 16
16
16
  * percent), the web timeline's glow. The halo is a layout wrapper, not a
@@ -24,7 +24,7 @@ export type TimelineOrientation = "vertical" | "horizontal";
24
24
  export interface TimelineItem {
25
25
  title: string;
26
26
  description?: string | undefined;
27
- /** Rendered under the title — a timestamp, an actor, a metadata line. */
27
+ /** Rendered under the title: a timestamp, an actor, a metadata line. */
28
28
  meta?: string | undefined;
29
29
  /** `progress` variant: drives the dot colour. Defaults to 'done' in a feed. */
30
30
  status?: TimelineStatus | undefined;
@@ -1,12 +1,12 @@
1
1
  /**
2
- * ZoomableImage — a standalone pinch-to-zoom / pan / double-tap-to-zoom
2
+ * ZoomableImage: a standalone pinch-to-zoom / pan / double-tap-to-zoom
3
3
  * wrapper for a single piece of content (typically one `<Image>`).
4
4
  *
5
5
  * Reuses the same Reanimated 3 gesture composition `ImageGallery`'s internal
6
6
  * lightbox slide uses (pinch clamped and rubber-banded at its limits, pan
7
7
  * gated to only engage once zoomed in, double-tap toggling between baseline
8
8
  * and `doubleTapScale`), stripped of the carousel-slide concerns that
9
- * component needs and this one does not — there is no `index`/`total`/
9
+ * component needs and this one does not; there is no `index`/`total`/
10
10
  * `active` because a standalone image is always the one being viewed.
11
11
  *
12
12
  * USAGE:
@@ -25,11 +25,11 @@ import type React from "react";
25
25
  import type { StyleProp, ViewStyle } from "react-native";
26
26
  import type { HapticType } from "../../utils";
27
27
  export interface ZoomableImageProps {
28
- /** The content to pinch-zoom, pan, and double-tap-zoom — typically a single `<Image>`. */
28
+ /** The content to pinch-zoom, pan, and double-tap-zoom (typically a single `<Image>`). */
29
29
  children: React.ReactNode;
30
30
  /** Upper bound on pinch and double-tap zoom. Default 4. */
31
31
  maxScale?: number | undefined;
32
- /** Lower bound on pinch zoom — the resting scale a pinch springs back to. Default 1. */
32
+ /** Lower bound on pinch zoom: the resting scale a pinch springs back to. Default 1. */
33
33
  minScale?: number | undefined;
34
34
  /** Scale a double tap zooms to; a second double tap returns to baseline. Default 2. */
35
35
  doubleTapScale?: number | undefined;
@@ -1,9 +1,9 @@
1
1
  import type { TurboModule } from "react-native";
2
2
  export interface PdfDocumentInfo {
3
- /** Opaque handle for every subsequent call (getPageInfo/renderPage/close) — NOT the file path. */
3
+ /** Opaque handle for every subsequent call (getPageInfo/renderPage/close). NOT the file path. */
4
4
  handle: string;
5
5
  pageCount: number;
6
- /** Points (1/72 in), the page size of page 0 as displayed (after the page's /Rotate) — a per-page size read happens in renderPage. */
6
+ /** Points (1/72 in), the page size of page 0 as displayed (after the page's /Rotate). A per-page size read happens in renderPage. */
7
7
  pageWidth: number;
8
8
  pageHeight: number;
9
9
  }
@@ -13,7 +13,7 @@ export interface PdfPageInfo {
13
13
  }
14
14
  export interface Spec extends TurboModule {
15
15
  /**
16
- * Opens a LOCAL pdf file (a file:// path or bare absolute path — no http(s), no
16
+ * Opens a LOCAL pdf file (a file:// path or bare absolute path; no http(s), no
17
17
  * headers, no auth: callers download remote documents with mobile-core's
18
18
  * `downloadFile` first). Returns a handle used by every other call. Throws
19
19
  * (rejects) on a missing file, a corrupt PDF, or a password-protected PDF.
@@ -27,7 +27,7 @@ export interface Spec extends TurboModule {
27
27
  /**
28
28
  * Rasterizes one page to a PNG file in the cache directory and returns its
29
29
  * absolute path. `scale` is a multiplier on the page's own point size (pass
30
- * the view width / page width ratio, capped by the caller — see
30
+ * the view width / page width ratio, capped by the caller; see
31
31
  * react-native.md's "RGBA_8888 is 4 bytes/px" guidance). Renders are
32
32
  * serialized per handle on both platforms; call sequentially per document.
33
33
  */
@@ -5,14 +5,14 @@ import { Animated } from "react-native";
5
5
  * RN's Fabric renderer deep-freezes prop trees on host components. If an
6
6
  * `Animated.Value` is reachable from a `style` prop via interpolation chains
7
7
  * (the `_parent` ref on `AnimatedInterpolation` nodes), the recursive freeze
8
- * converts the value's `_animation` slot into a throwing setter — the next
8
+ * converts the value's `_animation` slot into a throwing setter: the next
9
9
  * `Animated.timing(v).start()` then crashes with
10
10
  * "_animation: object that is meant to be immutable".
11
11
  *
12
12
  * Sealing the value at construction makes `Object.isSealed(v) === true`,
13
13
  * which causes `deepFreezeAndThrowOnMutationInDev` to skip-and-return at
14
14
  * its top guard. Existing-property mutation (`_animation`, `_value`,
15
- * `_listeners`, `_tracking`) keeps working — seal only blocks adding NEW
15
+ * `_listeners`, `_tracking`) keeps working; seal only blocks adding NEW
16
16
  * properties, which `Animated.Value` does only once: `_tracking` is declared
17
17
  * as a type but never assigned in the constructor, so `stopTracking()` (run by
18
18
  * every `timing().start()`) adds it. On a sealed value that add throws
@@ -28,7 +28,7 @@ import { Animated } from "react-native";
28
28
  * NOT on web. The reasoning above ("Animated.Value doesn't add any properties
29
29
  * post-construction") holds for React Native but not for react-native-web,
30
30
  * whose `stopTracking()` assigns `_tracking` on an instance that never declared
31
- * it — on a sealed object that throws, and the throw happens during unmount, so
31
+ * it: on a sealed object that throws, and the throw happens during unmount, so
32
32
  * it takes the whole tree down. There is no Fabric deep-freeze on web either,
33
33
  * so the seal has nothing to protect against there.
34
34
  */
@@ -37,7 +37,7 @@ export declare const createAnimatedValue: (initial: number, config?: Constructor
37
37
  * Set an `Animated.Value` to a target without going through JS.
38
38
  *
39
39
  * Once a value has been driven by the native driver, the underlying
40
- * native node owns it — calling `value.setValue(x)` from JS throws
40
+ * native node owns it: calling `value.setValue(x)` from JS throws
41
41
  * "Attempting to run JS driven animation on animated node that has been moved to native".
42
42
  * Use this helper for any value that is *also* used in a native-driven
43
43
  * `Animated.timing/spring`. A zero-duration native timing routes the update
@@ -3,7 +3,7 @@ import { type HapticType } from "./hapticUtils";
3
3
  * What the interaction MEANT, not which vibration to play.
4
4
  *
5
5
  * Call sites that pick a `HapticType` directly end up disagreeing with each
6
- * other — one screen fires `impactMedium` on delete, the next fires
6
+ * other: one screen fires `impactMedium` on delete, the next fires
7
7
  * `notificationWarning`, and the app stops speaking one language. Naming the
8
8
  * intent moves that decision here, once.
9
9
  */
@@ -23,7 +23,7 @@ export declare const hapticForIntent: (intent: FeedbackIntent) => HapticType;
23
23
  export declare const feedback: {
24
24
  /** A plain press: button, row, chip. */
25
25
  readonly tap: () => void;
26
- /** Moving between options — segmented control, picker wheel, tab. */
26
+ /** Moving between options: segmented control, picker wheel, tab. */
27
27
  readonly select: () => void;
28
28
  /** A long-press threshold being crossed. */
29
29
  readonly longPress: () => void;
@@ -33,7 +33,7 @@ export declare const feedback: {
33
33
  readonly deleted: () => void;
34
34
  /** An undo landed. */
35
35
  readonly restored: () => void;
36
- /** A binary control turned on / off — switch, checkbox, favourite. */
36
+ /** A binary control turned on / off: switch, checkbox, favourite. */
37
37
  readonly toggled: (on: boolean) => void;
38
38
  /** A flow finished successfully. */
39
39
  readonly succeeded: () => void;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * This exists for a class of bug that nothing in a JS consumer's toolchain
5
5
  * objects to. A component destructures the props it knows and ignores the rest,
6
- * so a renamed or mistyped prop is simply dropped — silently, at every call
6
+ * so a renamed or mistyped prop is simply dropped, silently, at every call
7
7
  * site. The web library hit this three times in one day: `body` instead of
8
8
  * `message` left nine destructive confirm dialogs with no explanatory text, and
9
9
  * `name` instead of `icon` emptied an entire actions column across 23 call
@@ -14,7 +14,7 @@
14
14
  * who this is for. The check therefore has to be a runtime one, and it
15
15
  * has to run where the mistake is made: the consumer's dev server.
16
16
  *
17
- * DEV ONLY — the `__DEV__` guard means it costs a release build nothing.
17
+ * DEV ONLY: the `__DEV__` guard means it costs a release build nothing.
18
18
  */
19
19
  export declare const warnUnknownProps: (componentName: string, rest: Record<string, unknown> | undefined) => void;
20
20
  //# sourceMappingURL=warnUnknownProps.d.ts.map
@@ -27,7 +27,7 @@ export interface AutocompleteProps<T = string> {
27
27
  minChars?: number | undefined;
28
28
  /** Cap the number of suggestions shown. Default 8. */
29
29
  maxResults?: number | undefined;
30
- /** Show a loading spinner in the dropdown — e.g. while fetching remote results. */
30
+ /** Show a loading spinner in the dropdown, e.g. while fetching remote results. */
31
31
  loading?: boolean | undefined;
32
32
  /** `'client'` filters `options` locally; `'none'` shows them as-is (for server-side search). Default `'client'`. */
33
33
  filterMode?: "client" | "none" | undefined;
@@ -63,7 +63,7 @@ export interface AvatarProps {
63
63
  /**
64
64
  * Custom component used to render the image instead of the built-in `<Image>`.
65
65
  * Receives {@link AvatarImageProps}. Use this when `source` points at a secured
66
- * endpoint that needs auth headers / token refresh / caching — plug in the
66
+ * endpoint that needs auth headers / token refresh / caching: plug in the
67
67
  * app's authenticated image loader. On error it should call `onError`, which
68
68
  * triggers the initials fallback. When omitted, expo-image's `<Image>` is used.
69
69
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * BottomSheet — Reanimated 3 + Gesture Handler 3 implementation.
2
+ * BottomSheet: Reanimated 3 + Gesture Handler 3 implementation.
3
3
  *
4
4
  * A polished, theme-aware bottom sheet with multi-snap-point support,
5
5
  * UI-thread driven pan gestures, and native-driver spring animations.
@@ -152,7 +152,7 @@ export interface BottomSheetProps {
152
152
  /**
153
153
  * Sticky region pinned to the bottom of the sheet, above the safe-area
154
154
  * inset. Does not scroll with `children`, and rides up with the keyboard
155
- * when `keyboardBehavior='shift'` (no extra wiring needed — the whole sheet
155
+ * when `keyboardBehavior='shift'` (no extra wiring needed; the whole sheet
156
156
  * shifts). Typical use: action button rows.
157
157
  */
158
158
  footer?: React.ReactNode | undefined;
@@ -166,14 +166,14 @@ export interface BottomSheetProps {
166
166
  testID?: string | undefined;
167
167
  }
168
168
  /**
169
- * State + actions exposed to anything rendered inside a `<BottomSheet>` —
169
+ * State + actions exposed to anything rendered inside a `<BottomSheet>`,
170
170
  * including the `header` and `footer` slots. Read via `useBottomSheet()`.
171
171
  *
172
172
  * `snapIndex` is the JS-thread mirror of the current snap point. -1 means the
173
173
  * sheet is closed (mid-close-animation included). Use it to drive footer
174
174
  * button enable state, conditional headers, etc. If you need per-frame
175
175
  * progress (e.g. fade a header in as the sheet expands), reach for the
176
- * animated value via a future enhancement — not exposed today to keep the
176
+ * animated value via a future enhancement, not exposed today to keep the
177
177
  * surface minimal.
178
178
  */
179
179
  export interface BottomSheetContextValue {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Carousel — generic horizontal carousel with pagination, auto-play, and looping.
2
+ * Carousel: generic horizontal carousel with pagination, auto-play, and looping.
3
3
  *
4
4
  * Backed by a virtualized FlatList for memory efficiency. Dot and bar
5
5
  * pagination track the scroll gesture through `Animated.event`.
@@ -1,11 +1,11 @@
1
1
  /**
2
- * ChoiceGroup — headless choice group (one option, or `selectionMode="multiple"` for many) with templated options.
2
+ * ChoiceGroup: headless choice group (one option, or `selectionMode="multiple"` for many) with templated options.
3
3
  *
4
4
  * The component owns the BEHAVIOUR: selection state (controlled or
5
5
  * uncontrolled), per-option press handling, haptics, radio/radiogroup a11y,
6
6
  * and row/column/wrap layout. Each option's LOOK comes from a template:
7
7
  *
8
- * - `card` (default): a bordered card — label (+ optional icon /
8
+ * - `card` (default): a bordered card: label (+ optional icon /
9
9
  * description) with a RadioDot after the content (or before it, with
10
10
  * `indicatorPosition="leading"`), tinted with the option's colour when
11
11
  * selected. The "Hot / Warm / Cold" status-picker pattern works
@@ -19,7 +19,7 @@
19
19
  * indicator inside a custom layout.
20
20
  *
21
21
  * Cross-option visuals (a single indicator sliding BETWEEN options, joined
22
- * segments) are out of scope by design — that's SegmentedControl.
22
+ * segments) are out of scope by design; that's SegmentedControl.
23
23
  *
24
24
  * Same data contract as Select: `ChoiceOption[]` by default, `getOption*`
25
25
  * accessors for custom shapes.
@@ -82,7 +82,7 @@ interface BaseChoiceGroupProps<T = ChoiceOption> {
82
82
  getOptionColor?: ((option: T) => string | undefined) | undefined;
83
83
  /**
84
84
  * Custom option template. The library still owns press handling, haptics
85
- * and a11y — the template only paints. Selected-state styling is the
85
+ * and a11y: the template only paints. Selected-state styling is the
86
86
  * template's job (it gets the booleans).
87
87
  */
88
88
  renderOption?: ((state: ChoiceOptionState<T>) => React.ReactNode) | undefined;
@@ -17,7 +17,7 @@ export interface DateRangePickerLabels {
17
17
  }
18
18
  export declare const DEFAULT_DATE_RANGE_PICKER_LABELS: Readonly<DateRangePickerLabels>;
19
19
  /**
20
- * DateRangePicker — supports two usage modes:
20
+ * DateRangePicker: supports two usage modes:
21
21
  *
22
22
  * 1. Controlled-modal mode (pass `open` + `onClose`): renders only the
23
23
  * modal; parent owns open/close state.
@@ -29,7 +29,7 @@ export interface DescriptionItem {
29
29
  }
30
30
  export interface DescriptionsProps {
31
31
  items: ReadonlyArray<DescriptionItem>;
32
- /** 1 stacks label above value; 2 puts them side by side. Default 1 — phone widths are narrow. */
32
+ /** 1 stacks label above value; 2 puts them side by side. Default 1, since phone widths are narrow. */
33
33
  columns?: 1 | 2 | undefined;
34
34
  size?: DescriptionsSize | undefined;
35
35
  /** Hairlines between rows. */
@@ -44,7 +44,7 @@ export interface DescriptionsProps {
44
44
  testID?: string | undefined;
45
45
  }
46
46
  /**
47
- * A labelled key-value list for record detail — the "what are this thing's
47
+ * A labelled key-value list for record detail: the "what are this thing's
48
48
  * fields" view that every detail screen needs and that ListItem (a tappable row
49
49
  * with a title) is the wrong shape for.
50
50
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Drawer — slide-in side drawer (left / right / top / bottom).
2
+ * Drawer: slide-in side drawer (left / right / top / bottom).
3
3
  *
4
4
  * Built on Reanimated 4 and Gesture Handler 3's hooks: gestures and animations run on the
5
5
  * UI thread for buttery 60/120fps motion. Mirrors the BottomSheet ergonomics:
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Chevron — the shared dropdown indicator for the field family.
2
+ * Chevron: the shared dropdown indicator for the field family.
3
3
  *
4
4
  * One glyph for Select, InlineSelect, PickerTrigger and PhoneNumberInput so
5
5
  * the indicator never drifts between trigger components. It is the design