@webority/mobile-ui 0.157.0 → 0.158.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 (111) hide show
  1. package/canvas-kit.json +1 -1
  2. package/dist/canvas-kit/kit.js +5 -5
  3. package/dist/canvas-kit/manifest.json +17 -12
  4. package/dist/canvas-kit/release.json +7 -7
  5. package/lib/commonjs/components/AppBar/AppBar.js +1 -1
  6. package/lib/commonjs/components/AppIcon/AppIcon.js +1 -1
  7. package/lib/commonjs/components/AppIcon/index.js +1 -1
  8. package/lib/commonjs/components/Banner/Banner.js +1 -1
  9. package/lib/commonjs/components/BarChart/BarChart.js +1 -1
  10. package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
  11. package/lib/commonjs/components/Button/Button.js +1 -1
  12. package/lib/commonjs/components/Button/index.js +1 -1
  13. package/lib/commonjs/components/Carousel/Carousel.js +1 -1
  14. package/lib/commonjs/components/Checkbox/Checkbox.js +1 -1
  15. package/lib/commonjs/components/ChoiceGroup/ChoiceGroup.js +1 -1
  16. package/lib/commonjs/components/Confetti/Confetti.js +1 -1
  17. package/lib/commonjs/components/Drawer/Drawer.js +1 -1
  18. package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -1
  19. package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
  20. package/lib/commonjs/components/MessageList/MessageList.js +1 -1
  21. package/lib/commonjs/components/NonModalBottomSheet/NonModalBottomSheet.js +1 -1
  22. package/lib/commonjs/components/NumberInput/NumberInput.js +1 -1
  23. package/lib/commonjs/components/OTPInput/OTPInput.js +1 -1
  24. package/lib/commonjs/components/ProfilePicker/ProfilePicker.js +1 -1
  25. package/lib/commonjs/components/ProgressBar/ProgressBar.js +1 -1
  26. package/lib/commonjs/components/Radio/Radio.js +1 -1
  27. package/lib/commonjs/components/Radio/RadioGroup.js +1 -1
  28. package/lib/commonjs/components/Rating/Rating.js +1 -1
  29. package/lib/commonjs/components/SearchBar/SearchBar.js +1 -1
  30. package/lib/commonjs/components/SearchBar/useRecentSearches.js +1 -1
  31. package/lib/commonjs/components/Skeleton/Skeleton.js +1 -1
  32. package/lib/commonjs/components/Skeleton/SkeletonContent.js +1 -1
  33. package/lib/commonjs/components/Skeleton/SkeletonList.js +1 -1
  34. package/lib/commonjs/components/Slider/valueText.js +1 -1
  35. package/lib/commonjs/components/Stepper/Stepper.js +1 -1
  36. package/lib/commonjs/components/TagInput/TagInput.js +1 -1
  37. package/lib/commonjs/components/TimePicker/TimePicker.js +1 -1
  38. package/lib/commonjs/components/Toast/Toast.js +1 -1
  39. package/lib/commonjs/components/Tooltip/Tooltip.js +1 -1
  40. package/lib/commonjs/hooks/useControllableState.js +1 -1
  41. package/lib/commonjs/icons.js +1 -1
  42. package/lib/commonjs/index.js +1 -1
  43. package/lib/module/components/AppBar/AppBar.js +1 -1
  44. package/lib/module/components/AppIcon/AppIcon.js +1 -1
  45. package/lib/module/components/AppIcon/index.js +1 -1
  46. package/lib/module/components/Banner/Banner.js +1 -1
  47. package/lib/module/components/BarChart/BarChart.js +1 -1
  48. package/lib/module/components/BottomSheet/BottomSheet.js +1 -1
  49. package/lib/module/components/Button/Button.js +1 -1
  50. package/lib/module/components/Button/index.js +1 -1
  51. package/lib/module/components/Carousel/Carousel.js +1 -1
  52. package/lib/module/components/Checkbox/Checkbox.js +1 -1
  53. package/lib/module/components/ChoiceGroup/ChoiceGroup.js +1 -1
  54. package/lib/module/components/Confetti/Confetti.js +1 -1
  55. package/lib/module/components/Drawer/Drawer.js +1 -1
  56. package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -1
  57. package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
  58. package/lib/module/components/MessageList/MessageList.js +1 -1
  59. package/lib/module/components/NonModalBottomSheet/NonModalBottomSheet.js +1 -1
  60. package/lib/module/components/NumberInput/NumberInput.js +1 -1
  61. package/lib/module/components/OTPInput/OTPInput.js +1 -1
  62. package/lib/module/components/ProfilePicker/ProfilePicker.js +1 -1
  63. package/lib/module/components/ProgressBar/ProgressBar.js +1 -1
  64. package/lib/module/components/Radio/Radio.js +1 -1
  65. package/lib/module/components/Radio/RadioGroup.js +1 -1
  66. package/lib/module/components/Rating/Rating.js +1 -1
  67. package/lib/module/components/SearchBar/SearchBar.js +1 -1
  68. package/lib/module/components/SearchBar/useRecentSearches.js +1 -1
  69. package/lib/module/components/Skeleton/Skeleton.js +1 -1
  70. package/lib/module/components/Skeleton/SkeletonContent.js +1 -1
  71. package/lib/module/components/Skeleton/SkeletonList.js +1 -1
  72. package/lib/module/components/Slider/valueText.js +1 -1
  73. package/lib/module/components/Stepper/Stepper.js +1 -1
  74. package/lib/module/components/TagInput/TagInput.js +1 -1
  75. package/lib/module/components/TimePicker/TimePicker.js +1 -1
  76. package/lib/module/components/Toast/Toast.js +1 -1
  77. package/lib/module/components/Tooltip/Tooltip.js +1 -1
  78. package/lib/module/hooks/useControllableState.js +1 -1
  79. package/lib/module/icons.js +1 -1
  80. package/lib/module/index.js +1 -1
  81. package/lib/typescript/commonjs/components/AppIcon/AppIcon.d.ts +2 -0
  82. package/lib/typescript/commonjs/components/AppIcon/index.d.ts +1 -1
  83. package/lib/typescript/commonjs/components/Button/Button.d.ts +4 -0
  84. package/lib/typescript/commonjs/components/Button/index.d.ts +1 -1
  85. package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +7 -4
  86. package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +14 -6
  87. package/lib/typescript/commonjs/components/FieldBase/ChoiceText.d.ts +6 -5
  88. package/lib/typescript/commonjs/components/FilePicker/FilePicker.d.ts +2 -2
  89. package/lib/typescript/commonjs/components/ProfilePicker/ProfilePicker.d.ts +15 -9
  90. package/lib/typescript/commonjs/components/Radio/Radio.d.ts +7 -4
  91. package/lib/typescript/commonjs/components/Radio/RadioGroup.d.ts +5 -0
  92. package/lib/typescript/commonjs/components/Switch/Switch.d.ts +4 -4
  93. package/lib/typescript/commonjs/hooks/useControllableState.d.ts +23 -8
  94. package/lib/typescript/commonjs/icons.d.ts +1 -1
  95. package/lib/typescript/commonjs/index.d.ts +2 -1
  96. package/lib/typescript/module/components/AppIcon/AppIcon.d.ts +2 -0
  97. package/lib/typescript/module/components/AppIcon/index.d.ts +1 -1
  98. package/lib/typescript/module/components/Button/Button.d.ts +4 -0
  99. package/lib/typescript/module/components/Button/index.d.ts +1 -1
  100. package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +7 -4
  101. package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +14 -6
  102. package/lib/typescript/module/components/FieldBase/ChoiceText.d.ts +6 -5
  103. package/lib/typescript/module/components/FilePicker/FilePicker.d.ts +2 -2
  104. package/lib/typescript/module/components/ProfilePicker/ProfilePicker.d.ts +15 -9
  105. package/lib/typescript/module/components/Radio/Radio.d.ts +7 -4
  106. package/lib/typescript/module/components/Radio/RadioGroup.d.ts +5 -0
  107. package/lib/typescript/module/components/Switch/Switch.d.ts +4 -4
  108. package/lib/typescript/module/hooks/useControllableState.d.ts +23 -8
  109. package/lib/typescript/module/icons.d.ts +1 -1
  110. package/lib/typescript/module/index.d.ts +2 -1
  111. package/package.json +7 -7
@@ -1,3 +1,3 @@
1
1
  export type { ButtonLabels, ButtonProps, ButtonSize, ButtonTone, ButtonVariant } from "./Button.js";
2
- export { Button, buttonLabelInk, default } from "./Button.js";
2
+ export { BUTTON_TONES, BUTTON_VARIANTS, Button, buttonLabelInk, default, isButtonTone, isButtonVariant } from "./Button.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -16,10 +16,13 @@ export interface CheckboxProps extends Omit<PressableProps, "style" | "children"
16
16
  * explicit `accessibilityLabel` (the checkbox's screen-reader name).
17
17
  */
18
18
  label?: React.ReactNode | undefined;
19
- /** A muted hint directly under the label. It is the accessibility hint when set. */
20
- helperText?: string | undefined;
21
- /** Secondary line under the helper text. */
22
- description?: string | undefined;
19
+ /**
20
+ * A muted hint directly under the label: a string, or a node for a symbol with a
21
+ * subscript. A string is the accessibility hint; for a node pass `accessibilityHint`.
22
+ */
23
+ helperText?: React.ReactNode | undefined;
24
+ /** Secondary line under the helper text: a string or a node. */
25
+ description?: React.ReactNode | undefined;
23
26
  /**
24
27
  * Error line under the label, helper text and description; also draws the box in the error colour.
25
28
  * `true` shows the error state without a message.
@@ -126,17 +126,21 @@ interface BaseChoiceGroupProps<T = ChoiceOption> {
126
126
  min?: number | undefined;
127
127
  /** Multiple mode only: most options that can be selected. At this count the unselected options are disabled. Default no limit. */
128
128
  max?: number | undefined;
129
- /** A line of text drawn above the options. */
130
- description?: string | undefined;
131
- /** A hint drawn under the options; hidden while `error` is set. */
132
- helperText?: string | undefined;
129
+ /** A line of text drawn above the options: a string, or a node for a symbol with a subscript. */
130
+ description?: React.ReactNode | undefined;
131
+ /** A hint drawn under the options, a string or a node; hidden while `error` is set. */
132
+ helperText?: React.ReactNode | undefined;
133
133
  /** `true` marks the group invalid; a string is drawn under the options in place of `helperText`. */
134
134
  error?: string | boolean | undefined;
135
135
  testID?: string | undefined;
136
136
  }
137
137
  export interface SingleChoiceGroupProps<T = ChoiceOption> extends BaseChoiceGroupProps<T> {
138
138
  selectionMode?: "single" | undefined;
139
- /** Controlled selected value. */
139
+ /**
140
+ * Controlled selected value. The group is controlled whenever this prop is
141
+ * present: pass `value={undefined}` for "controlled, nothing selected".
142
+ * Leave the prop out for an uncontrolled group.
143
+ */
140
144
  value?: RadioValue | undefined;
141
145
  /** Uncontrolled initial value. */
142
146
  defaultValue?: RadioValue | undefined;
@@ -149,7 +153,11 @@ export interface MultipleChoiceGroupProps<T = ChoiceOption> extends BaseChoiceGr
149
153
  * `defaultValue` and `onChange` carry arrays of values.
150
154
  */
151
155
  selectionMode: "multiple";
152
- /** Controlled selected values. */
156
+ /**
157
+ * Controlled selected values. The group is controlled whenever this prop is
158
+ * present; `value={undefined}` and `[]` both mean nothing selected. Leave the
159
+ * prop out for an uncontrolled group.
160
+ */
153
161
  value?: RadioValue[] | undefined;
154
162
  /** Uncontrolled initial values. Default none. */
155
163
  defaultValue?: RadioValue[] | undefined;
@@ -9,9 +9,10 @@ import type { StyleProp, TextStyle, ViewStyle } from "react-native";
9
9
  export interface ChoiceTextProps {
10
10
  /** A string, or a node (a symbol with a subscript). */
11
11
  label?: React.ReactNode | undefined;
12
- /** A muted hint directly under the label. */
13
- helperText?: string | undefined;
14
- description?: string | undefined;
12
+ /** A muted hint directly under the label: a string or a node. */
13
+ helperText?: React.ReactNode | undefined;
14
+ /** A string or a node. */
15
+ description?: React.ReactNode | undefined;
15
16
  error?: string | undefined;
16
17
  disabled?: boolean | undefined;
17
18
  style?: StyleProp<ViewStyle> | undefined;
@@ -19,9 +20,9 @@ export interface ChoiceTextProps {
19
20
  }
20
21
  /** True when the control has a second line, so it aligns to the label's first line. */
21
22
  export declare const hasChoiceDetail: ({ description, error, helperText, }: {
22
- description?: string | undefined;
23
+ description?: React.ReactNode | undefined;
23
24
  error?: string | undefined;
24
- helperText?: string | undefined;
25
+ helperText?: React.ReactNode | undefined;
25
26
  }) => boolean;
26
27
  export declare const ChoiceText: React.FC<ChoiceTextProps>;
27
28
  //# sourceMappingURL=ChoiceText.d.ts.map
@@ -20,7 +20,7 @@
20
20
  * (compression, EXIF strip, local copy) before it lands in `files` —
21
21
  * plug the app's image pipeline in there.
22
22
  */
23
- import type { PickerSource } from "@webority/mobile-core/pickers";
23
+ import type { PickedFile, PickerSource } from "@webority/mobile-core/pickers";
24
24
  import type React from "react";
25
25
  import type { StyleProp, ViewStyle } from "react-native";
26
26
  import type { HapticType } from "../../utils/index.js";
@@ -50,7 +50,7 @@ export interface FilePickerFile {
50
50
  meta?: Record<string, unknown> | undefined;
51
51
  }
52
52
  /** Launch native picking through `pick()`: resolve `[]` for user-cancel, throw for real failures. */
53
- export interface FilePickerSource extends PickerSource {
53
+ export interface FilePickerSource<F extends PickedFile = PickedFile> extends PickerSource<F> {
54
54
  icon?: React.ReactNode | undefined;
55
55
  }
56
56
  /** Everything a custom `renderFile` template needs to paint one file. */
@@ -47,15 +47,16 @@ export interface ProfilePickerLabels {
47
47
  errorWrongType: string;
48
48
  }
49
49
  export declare const DEFAULT_PROFILE_PICKER_LABELS: Readonly<ProfilePickerLabels>;
50
- export interface ProfilePickerProps {
50
+ /** `F` is the file type the `sources` resolve; `onPick` receives that same object. */
51
+ export interface ProfilePickerProps<F extends PickedFile = PickedFile> {
51
52
  /** Current photo URL or local URI, or null for none. */
52
53
  value?: string | null | undefined;
53
54
  /** Person's name: drives the initials shown when there is no photo. */
54
55
  name?: string | undefined;
55
56
  /** Native picking adapters (same shape as FilePicker's). One launches directly; several open a chooser. */
56
- sources: ReadonlyArray<FilePickerSource>;
57
- /** Receives the validated pick. Upload it and pass the resulting URL back as `value`. */
58
- onPick?: ((file: PickedFile) => void) | undefined;
57
+ sources: ReadonlyArray<FilePickerSource<F>>;
58
+ /** Receives the validated pick, as its source returned it. Upload it and pass the resulting URL back as `value`. */
59
+ onPick?: ((file: F) => void) | undefined;
59
60
  /**
60
61
  * Clears the photo. Removal is a row at the end of the sheet: a just-picked
61
62
  * photo always offers it; an existing `value` offers it only when this is
@@ -103,10 +104,10 @@ export interface ProfilePickerProps {
103
104
  /** App-supplied error; wins over a rejected pick's own message. */
104
105
  error?: React.ReactNode | undefined;
105
106
  layout?: ProfilePickerLayout | undefined;
106
- /** Bold primary text beside / beneath the photo (inline and profile layouts). */
107
- title?: string | undefined;
108
- /** Muted secondary text beside / beneath the photo (inline and profile layouts). */
109
- subtitle?: string | undefined;
107
+ /** Bold primary text beside / beneath the photo (inline and profile layouts): a string or a node. */
108
+ title?: React.ReactNode | undefined;
109
+ /** Muted secondary text beside / beneath the photo (inline and profile layouts): a string or a node. */
110
+ subtitle?: React.ReactNode | undefined;
110
111
  /** Renders the photo, e.g. an authenticated image loader (see Avatar). */
111
112
  ImageComponent?: React.ComponentType<AvatarImageProps> | undefined;
112
113
  labels?: Partial<ProfilePickerLabels> | undefined;
@@ -118,7 +119,12 @@ export interface ProfilePickerProps {
118
119
  style?: StyleProp<ViewStyle> | undefined;
119
120
  testID?: string | undefined;
120
121
  }
121
- declare const ProfilePicker: React.ForwardRefExoticComponent<ProfilePickerProps & React.RefAttributes<HostInstance>>;
122
+ declare function ProfilePicker<F extends PickedFile = PickedFile>(props: ProfilePickerProps<F> & {
123
+ ref?: React.Ref<HostInstance> | undefined;
124
+ }): React.ReactElement;
125
+ declare namespace ProfilePicker {
126
+ var displayName: string;
127
+ }
122
128
  export { ProfilePicker };
123
129
  export default ProfilePicker;
124
130
  //# sourceMappingURL=ProfilePicker.d.ts.map
@@ -24,10 +24,13 @@ export interface RadioProps extends Omit<PressableProps, "style" | "children" |
24
24
  * explicit `accessibilityLabel` (the radio's screen-reader name).
25
25
  */
26
26
  label?: ReactNode | undefined;
27
- /** A muted hint directly under the label. It is the accessibility hint when set. */
28
- helperText?: string | undefined;
29
- /** Secondary line under the helper text. */
30
- description?: string | undefined;
27
+ /**
28
+ * A muted hint directly under the label: a string, or a node for a symbol with a
29
+ * subscript. A string is the accessibility hint; for a node pass `accessibilityHint`.
30
+ */
31
+ helperText?: ReactNode | undefined;
32
+ /** Secondary line under the helper text: a string or a node. */
33
+ description?: ReactNode | undefined;
31
34
  /**
32
35
  * Error line under the label, helper text and description; also draws the empty ring in the error colour.
33
36
  * `true` shows the error state without a message.
@@ -2,6 +2,11 @@ import type React from "react";
2
2
  import type { StyleProp, ViewStyle } from "react-native";
3
3
  import type { RadioValue } from "./Radio.js";
4
4
  export interface RadioGroupProps {
5
+ /**
6
+ * Controlled selected value. The group is controlled whenever this prop is
7
+ * present: pass `value={undefined}` for "controlled, nothing selected".
8
+ * Leave the prop out for an uncontrolled group.
9
+ */
5
10
  value?: RadioValue | undefined;
6
11
  defaultValue?: RadioValue | undefined;
7
12
  onChange?: ((value: RadioValue) => void) | undefined;
@@ -18,10 +18,10 @@ export interface SwitchProps extends Omit<PressableProps, "style" | "children" |
18
18
  * explicit `accessibilityLabel` (the switch's screen-reader name).
19
19
  */
20
20
  label?: ReactNode | undefined;
21
- /** Secondary line under the label. */
22
- description?: string | undefined;
23
- /** A hint under the label, description and error. */
24
- helperText?: string | undefined;
21
+ /** Secondary line under the label: a string, or a node for a symbol with a subscript. */
22
+ description?: ReactNode | undefined;
23
+ /** A hint under the label, description and error: a string or a node. */
24
+ helperText?: ReactNode | undefined;
25
25
  /**
26
26
  * Error line under the label (and description); also outlines the off track in the error colour.
27
27
  * `true` shows the error state without a message.
@@ -1,17 +1,32 @@
1
- export interface UseControllableStateOptions<T> {
2
- /** Controlled value. When `undefined`, the hook manages state internally. */
3
- value?: T | undefined;
1
+ interface ControllableStateBase<T> {
4
2
  /** Initial value used in uncontrolled mode. */
5
3
  defaultValue: T;
6
4
  /** Called on every change (both modes). */
7
5
  onChange?: ((value: T) => void) | undefined;
8
6
  }
7
+ /** The mode follows the value: a first `value` that is not `undefined` makes it controlled. */
8
+ interface ControlledByValue<T> extends ControllableStateBase<T> {
9
+ /** Controlled value. When `undefined`, the hook manages state internally. */
10
+ value?: T | undefined;
11
+ controlled?: undefined;
12
+ }
13
+ /**
14
+ * The caller names the mode, for a value whose `undefined` is itself a controlled
15
+ * state (a choice group with nothing selected). The caller passes whether its
16
+ * `value` prop is present; in controlled mode `value` is returned as is.
17
+ */
18
+ interface ControlledByPresence<T> extends ControllableStateBase<T> {
19
+ controlled: boolean;
20
+ value: T;
21
+ }
22
+ export type UseControllableStateOptions<T> = ControlledByValue<T> | ControlledByPresence<T>;
9
23
  /**
10
24
  * Bridges controlled and uncontrolled usage for a value+onChange pair. When
11
- * `value` is provided the component is controlled (the hook just forwards it
12
- * and calls `onChange`); otherwise the hook owns the state, seeded from
13
- * `defaultValue`. The controlled/uncontrolled decision is locked on first
14
- * render so a component never flips modes mid-life.
25
+ * the component is controlled the hook just forwards `value` and calls
26
+ * `onChange`; otherwise the hook owns the state, seeded from `defaultValue`.
27
+ * The controlled/uncontrolled decision is locked on first render so a
28
+ * component never flips modes mid-life.
15
29
  */
16
- export declare function useControllableState<T>({ value, defaultValue, onChange }: UseControllableStateOptions<T>): [T, (next: T) => void];
30
+ export declare function useControllableState<T>(options: UseControllableStateOptions<T>): [T, (next: T) => void];
31
+ export {};
17
32
  //# sourceMappingURL=useControllableState.d.ts.map
@@ -1,3 +1,3 @@
1
- export { CURATED_ICON_NAMES, defaultIcons, ICON_NAMES } from "./components/AppIcon/index.js";
1
+ export { CURATED_ICON_NAMES, defaultIcons, ICON_NAMES, ICONSAX_SUFFIX, isAppIconName } from "./components/AppIcon/index.js";
2
2
  export { textOf } from "./theme/index.js";
3
3
  //# sourceMappingURL=icons.d.ts.map
@@ -2,7 +2,8 @@ export { PHONE_CHROME_INSETS } from "./canvasKit/index.js";
2
2
  export type * from "./components/index.js";
3
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, NonModalBottomSheet, 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/index.js";
4
4
  export type { AppIconColor, AppIconName, AppIconProps, AppIconSize, CuratedIconName, IconName, IconsaxShadowedName, IconVariant, SlotIcon, SlotIconRef, SlotIconState, SlotNode, } from "./components/AppIcon/index.js";
5
- export { AppIcon } from "./components/AppIcon/index.js";
5
+ export { AppIcon, ICONSAX_SUFFIX, isAppIconName } from "./components/AppIcon/index.js";
6
+ export { BUTTON_TONES, BUTTON_VARIANTS, isButtonTone, isButtonVariant } from "./components/Button/index.js";
6
7
  export type { FormCompletion, HookFieldProps, HookFormFieldProps, UseFormCompletionOptions } from "./form/index.js";
7
8
  export { HookFormField, useHookFormField } from "./form/index.js";
8
9
  export type { FieldChain, FieldChainProps, FieldErrorRegistry, MotionDurationKey, PresenceMotion, PressAnimationPreset, ScrollDirection, UseControllableStateOptions, UseFieldErrorScrollOptions, UseFieldErrorScrollResult, UsePressAnimationOptions, UsePressAnimationResult, UseRefreshControlLabels, UseRefreshControlOptions, UseRefreshControlResult, UseResendCountdownOptions, UseResendCountdownResult, UseScrollDirectionOptions, UseScrollDirectionResult, UseToggleResult, } from "./hooks/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/mobile-ui",
3
- "version": "0.157.0",
3
+ "version": "0.158.0",
4
4
  "description": "Beautiful, animated, accessible React Native components, theme and form engine for Webority projects.",
5
5
  "keywords": [
6
6
  "react-native",
@@ -115,13 +115,13 @@
115
115
  }
116
116
  },
117
117
  "dependencies": {
118
- "@webority/markdown-core": "0.157.0"
118
+ "@webority/markdown-core": "0.158.0"
119
119
  },
120
120
  "peerDependencies": {
121
121
  "@react-navigation/bottom-tabs": ">=7.0.0",
122
122
  "@react-navigation/native": ">=7.0.0",
123
- "@webority/canvas-kit": "0.157.0",
124
- "@webority/mobile-core": "0.157.0",
123
+ "@webority/canvas-kit": "0.158.0",
124
+ "@webority/mobile-core": "0.158.0",
125
125
  "expo": ">=58.0.0",
126
126
  "expo-file-system": ">=58.0.0",
127
127
  "expo-haptics": ">=58.0.0",
@@ -185,10 +185,10 @@
185
185
  "@types/node": "25.6.0",
186
186
  "@types/react": "19.3.0",
187
187
  "@types/react-test-renderer": "19.3.0",
188
- "@webority/canvas-kit": "0.157.0",
189
- "@webority/mobile-core": "0.157.0",
188
+ "@webority/canvas-kit": "0.158.0",
189
+ "@webority/mobile-core": "0.158.0",
190
190
  "@webority/mobile-dev": "0.0.0",
191
- "@webority/tokens": "0.157.0",
191
+ "@webority/tokens": "0.158.0",
192
192
  "expo": "58.0.23",
193
193
  "expo-file-system": "58.0.13",
194
194
  "expo-haptics": "58.0.7",