@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.
- package/canvas-kit.json +1 -1
- package/dist/canvas-kit/kit.js +5 -5
- package/dist/canvas-kit/manifest.json +17 -12
- package/dist/canvas-kit/release.json +7 -7
- package/lib/commonjs/components/AppBar/AppBar.js +1 -1
- package/lib/commonjs/components/AppIcon/AppIcon.js +1 -1
- package/lib/commonjs/components/AppIcon/index.js +1 -1
- package/lib/commonjs/components/Banner/Banner.js +1 -1
- package/lib/commonjs/components/BarChart/BarChart.js +1 -1
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
- package/lib/commonjs/components/Button/Button.js +1 -1
- package/lib/commonjs/components/Button/index.js +1 -1
- package/lib/commonjs/components/Carousel/Carousel.js +1 -1
- package/lib/commonjs/components/Checkbox/Checkbox.js +1 -1
- package/lib/commonjs/components/ChoiceGroup/ChoiceGroup.js +1 -1
- package/lib/commonjs/components/Confetti/Confetti.js +1 -1
- package/lib/commonjs/components/Drawer/Drawer.js +1 -1
- package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +1 -1
- package/lib/commonjs/components/NonModalBottomSheet/NonModalBottomSheet.js +1 -1
- package/lib/commonjs/components/NumberInput/NumberInput.js +1 -1
- package/lib/commonjs/components/OTPInput/OTPInput.js +1 -1
- package/lib/commonjs/components/ProfilePicker/ProfilePicker.js +1 -1
- package/lib/commonjs/components/ProgressBar/ProgressBar.js +1 -1
- package/lib/commonjs/components/Radio/Radio.js +1 -1
- package/lib/commonjs/components/Radio/RadioGroup.js +1 -1
- package/lib/commonjs/components/Rating/Rating.js +1 -1
- package/lib/commonjs/components/SearchBar/SearchBar.js +1 -1
- package/lib/commonjs/components/SearchBar/useRecentSearches.js +1 -1
- package/lib/commonjs/components/Skeleton/Skeleton.js +1 -1
- package/lib/commonjs/components/Skeleton/SkeletonContent.js +1 -1
- package/lib/commonjs/components/Skeleton/SkeletonList.js +1 -1
- package/lib/commonjs/components/Slider/valueText.js +1 -1
- package/lib/commonjs/components/Stepper/Stepper.js +1 -1
- package/lib/commonjs/components/TagInput/TagInput.js +1 -1
- package/lib/commonjs/components/TimePicker/TimePicker.js +1 -1
- package/lib/commonjs/components/Toast/Toast.js +1 -1
- package/lib/commonjs/components/Tooltip/Tooltip.js +1 -1
- package/lib/commonjs/hooks/useControllableState.js +1 -1
- package/lib/commonjs/icons.js +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/module/components/AppBar/AppBar.js +1 -1
- package/lib/module/components/AppIcon/AppIcon.js +1 -1
- package/lib/module/components/AppIcon/index.js +1 -1
- package/lib/module/components/Banner/Banner.js +1 -1
- package/lib/module/components/BarChart/BarChart.js +1 -1
- package/lib/module/components/BottomSheet/BottomSheet.js +1 -1
- package/lib/module/components/Button/Button.js +1 -1
- package/lib/module/components/Button/index.js +1 -1
- package/lib/module/components/Carousel/Carousel.js +1 -1
- package/lib/module/components/Checkbox/Checkbox.js +1 -1
- package/lib/module/components/ChoiceGroup/ChoiceGroup.js +1 -1
- package/lib/module/components/Confetti/Confetti.js +1 -1
- package/lib/module/components/Drawer/Drawer.js +1 -1
- package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
- package/lib/module/components/MessageList/MessageList.js +1 -1
- package/lib/module/components/NonModalBottomSheet/NonModalBottomSheet.js +1 -1
- package/lib/module/components/NumberInput/NumberInput.js +1 -1
- package/lib/module/components/OTPInput/OTPInput.js +1 -1
- package/lib/module/components/ProfilePicker/ProfilePicker.js +1 -1
- package/lib/module/components/ProgressBar/ProgressBar.js +1 -1
- package/lib/module/components/Radio/Radio.js +1 -1
- package/lib/module/components/Radio/RadioGroup.js +1 -1
- package/lib/module/components/Rating/Rating.js +1 -1
- package/lib/module/components/SearchBar/SearchBar.js +1 -1
- package/lib/module/components/SearchBar/useRecentSearches.js +1 -1
- package/lib/module/components/Skeleton/Skeleton.js +1 -1
- package/lib/module/components/Skeleton/SkeletonContent.js +1 -1
- package/lib/module/components/Skeleton/SkeletonList.js +1 -1
- package/lib/module/components/Slider/valueText.js +1 -1
- package/lib/module/components/Stepper/Stepper.js +1 -1
- package/lib/module/components/TagInput/TagInput.js +1 -1
- package/lib/module/components/TimePicker/TimePicker.js +1 -1
- package/lib/module/components/Toast/Toast.js +1 -1
- package/lib/module/components/Tooltip/Tooltip.js +1 -1
- package/lib/module/hooks/useControllableState.js +1 -1
- package/lib/module/icons.js +1 -1
- package/lib/module/index.js +1 -1
- package/lib/typescript/commonjs/components/AppIcon/AppIcon.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Button/Button.d.ts +4 -0
- package/lib/typescript/commonjs/components/Button/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +7 -4
- package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +14 -6
- package/lib/typescript/commonjs/components/FieldBase/ChoiceText.d.ts +6 -5
- package/lib/typescript/commonjs/components/FilePicker/FilePicker.d.ts +2 -2
- package/lib/typescript/commonjs/components/ProfilePicker/ProfilePicker.d.ts +15 -9
- package/lib/typescript/commonjs/components/Radio/Radio.d.ts +7 -4
- package/lib/typescript/commonjs/components/Radio/RadioGroup.d.ts +5 -0
- package/lib/typescript/commonjs/components/Switch/Switch.d.ts +4 -4
- package/lib/typescript/commonjs/hooks/useControllableState.d.ts +23 -8
- package/lib/typescript/commonjs/icons.d.ts +1 -1
- package/lib/typescript/commonjs/index.d.ts +2 -1
- package/lib/typescript/module/components/AppIcon/AppIcon.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/index.d.ts +1 -1
- package/lib/typescript/module/components/Button/Button.d.ts +4 -0
- package/lib/typescript/module/components/Button/index.d.ts +1 -1
- package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +7 -4
- package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +14 -6
- package/lib/typescript/module/components/FieldBase/ChoiceText.d.ts +6 -5
- package/lib/typescript/module/components/FilePicker/FilePicker.d.ts +2 -2
- package/lib/typescript/module/components/ProfilePicker/ProfilePicker.d.ts +15 -9
- package/lib/typescript/module/components/Radio/Radio.d.ts +7 -4
- package/lib/typescript/module/components/Radio/RadioGroup.d.ts +5 -0
- package/lib/typescript/module/components/Switch/Switch.d.ts +4 -4
- package/lib/typescript/module/hooks/useControllableState.d.ts +23 -8
- package/lib/typescript/module/icons.d.ts +1 -1
- package/lib/typescript/module/index.d.ts +2 -1
- 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
|
-
/**
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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?:
|
|
131
|
-
/** A hint drawn under the options; hidden while `error` is set. */
|
|
132
|
-
helperText?:
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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?:
|
|
14
|
-
|
|
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?:
|
|
23
|
+
description?: React.ReactNode | undefined;
|
|
23
24
|
error?: string | undefined;
|
|
24
|
-
helperText?:
|
|
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
|
-
|
|
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:
|
|
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?:
|
|
108
|
-
/** Muted secondary text beside / beneath the photo (inline and profile layouts). */
|
|
109
|
-
subtitle?:
|
|
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
|
|
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
|
-
/**
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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?:
|
|
23
|
-
/** A hint under the label, description and error. */
|
|
24
|
-
helperText?:
|
|
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
|
-
|
|
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
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
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>(
|
|
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.
|
|
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.
|
|
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.
|
|
124
|
-
"@webority/mobile-core": "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.
|
|
189
|
-
"@webority/mobile-core": "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.
|
|
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",
|