@codeleap/mobile 7.1.1 → 7.1.3
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.
|
@@ -1,61 +1,14 @@
|
|
|
1
1
|
import { AvatarCtxValue } from './types';
|
|
2
2
|
export declare const AvatarContext: import("react").Context<AvatarCtxValue>;
|
|
3
3
|
export declare const useAvatarContext: <T = AvatarCtxValue>(providedProps?: Partial<T>) => {
|
|
4
|
-
|
|
4
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
5
5
|
id?: string | undefined | undefined;
|
|
6
|
+
needsOffscreenAlphaCompositing?: boolean | undefined | undefined;
|
|
6
7
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined | undefined;
|
|
7
|
-
onPress?: import("@codeleap/types").AnyFunction | undefined;
|
|
8
|
-
onPressIn?: null | ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
|
|
9
|
-
onPressOut?: null | ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
|
|
10
|
-
onLongPress?: null | ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
|
|
11
|
-
testID?: string | undefined | undefined;
|
|
12
|
-
nativeID?: string | undefined | undefined;
|
|
13
8
|
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined | undefined;
|
|
14
|
-
pressRetentionOffset?: number | import("react-native").Insets | null | undefined;
|
|
15
|
-
disabled?: boolean | undefined;
|
|
16
|
-
accessible?: boolean | undefined | undefined;
|
|
17
|
-
accessibilityActions?: readonly Readonly<{
|
|
18
|
-
name: import("react-native").AccessibilityActionName | string;
|
|
19
|
-
label?: string | undefined;
|
|
20
|
-
}>[] | undefined;
|
|
21
|
-
accessibilityLabel?: string | undefined | undefined;
|
|
22
|
-
'aria-label'?: string | undefined | undefined;
|
|
23
|
-
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
24
|
-
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
25
|
-
'aria-busy'?: boolean | undefined | undefined;
|
|
26
|
-
'aria-checked'?: boolean | "mixed" | undefined | undefined;
|
|
27
|
-
'aria-disabled'?: boolean | undefined | undefined;
|
|
28
|
-
'aria-expanded'?: boolean | undefined | undefined;
|
|
29
|
-
'aria-selected'?: boolean | undefined | undefined;
|
|
30
|
-
accessibilityHint?: string | undefined | undefined;
|
|
31
|
-
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
32
|
-
'aria-valuemax'?: number | undefined;
|
|
33
|
-
'aria-valuemin'?: number | undefined;
|
|
34
|
-
'aria-valuenow'?: number | undefined;
|
|
35
|
-
'aria-valuetext'?: string | undefined;
|
|
36
|
-
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | undefined | undefined;
|
|
37
|
-
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined | undefined;
|
|
38
|
-
'aria-hidden'?: boolean | undefined | undefined;
|
|
39
|
-
'aria-modal'?: boolean | undefined | undefined;
|
|
40
|
-
role?: import("react-native").Role | undefined;
|
|
41
|
-
accessibilityLabelledBy?: string | string[] | undefined | undefined;
|
|
42
|
-
'aria-labelledby'?: string | undefined | undefined;
|
|
43
|
-
accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined | undefined;
|
|
44
|
-
'aria-live'?: ("polite" | "assertive" | "off") | undefined | undefined;
|
|
45
|
-
screenReaderFocusable?: boolean | undefined | undefined;
|
|
46
|
-
accessibilityElementsHidden?: boolean | undefined | undefined;
|
|
47
|
-
accessibilityViewIsModal?: boolean | undefined | undefined;
|
|
48
|
-
onAccessibilityEscape?: (() => void) | undefined | undefined;
|
|
49
|
-
onAccessibilityTap?: (() => void) | undefined | undefined;
|
|
50
|
-
onMagicTap?: (() => void) | undefined | undefined;
|
|
51
|
-
accessibilityIgnoresInvertColors?: boolean | undefined | undefined;
|
|
52
|
-
accessibilityLanguage?: string | undefined | undefined;
|
|
53
|
-
accessibilityShowsLargeContentViewer?: boolean | undefined | undefined;
|
|
54
|
-
accessibilityLargeContentTitle?: string | undefined | undefined;
|
|
55
|
-
accessibilityRespondsToUserInteraction?: boolean | undefined | undefined;
|
|
56
|
-
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
57
|
-
needsOffscreenAlphaCompositing?: boolean | undefined | undefined;
|
|
58
9
|
removeClippedSubviews?: boolean | undefined | undefined;
|
|
10
|
+
testID?: string | undefined | undefined;
|
|
11
|
+
nativeID?: string | undefined | undefined;
|
|
59
12
|
collapsable?: boolean | undefined | undefined;
|
|
60
13
|
collapsableChildren?: boolean | undefined | undefined;
|
|
61
14
|
onBlur?: null | ((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | undefined | undefined;
|
|
@@ -99,6 +52,54 @@ export declare const useAvatarContext: <T = AvatarCtxValue>(providedProps?: Part
|
|
|
99
52
|
onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
100
53
|
onPointerUp?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
101
54
|
onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
55
|
+
accessible?: boolean | undefined | undefined;
|
|
56
|
+
accessibilityActions?: readonly Readonly<{
|
|
57
|
+
name: import("react-native").AccessibilityActionName | string;
|
|
58
|
+
label?: string | undefined;
|
|
59
|
+
}>[] | undefined;
|
|
60
|
+
accessibilityLabel?: string | undefined | undefined;
|
|
61
|
+
'aria-label'?: string | undefined | undefined;
|
|
62
|
+
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
63
|
+
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
64
|
+
'aria-busy'?: boolean | undefined | undefined;
|
|
65
|
+
'aria-checked'?: boolean | "mixed" | undefined | undefined;
|
|
66
|
+
'aria-disabled'?: boolean | undefined | undefined;
|
|
67
|
+
'aria-expanded'?: boolean | undefined | undefined;
|
|
68
|
+
'aria-selected'?: boolean | undefined | undefined;
|
|
69
|
+
accessibilityHint?: string | undefined | undefined;
|
|
70
|
+
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
71
|
+
'aria-valuemax'?: number | undefined;
|
|
72
|
+
'aria-valuemin'?: number | undefined;
|
|
73
|
+
'aria-valuenow'?: number | undefined;
|
|
74
|
+
'aria-valuetext'?: string | undefined;
|
|
75
|
+
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | undefined | undefined;
|
|
76
|
+
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined | undefined;
|
|
77
|
+
'aria-hidden'?: boolean | undefined | undefined;
|
|
78
|
+
'aria-modal'?: boolean | undefined | undefined;
|
|
79
|
+
role?: import("react-native").Role | undefined;
|
|
80
|
+
accessibilityLabelledBy?: string | string[] | undefined | undefined;
|
|
81
|
+
'aria-labelledby'?: string | undefined | undefined;
|
|
82
|
+
accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined | undefined;
|
|
83
|
+
'aria-live'?: ("polite" | "assertive" | "off") | undefined | undefined;
|
|
84
|
+
screenReaderFocusable?: boolean | undefined | undefined;
|
|
85
|
+
accessibilityElementsHidden?: boolean | undefined | undefined;
|
|
86
|
+
accessibilityViewIsModal?: boolean | undefined | undefined;
|
|
87
|
+
onAccessibilityEscape?: (() => void) | undefined | undefined;
|
|
88
|
+
onAccessibilityTap?: (() => void) | undefined | undefined;
|
|
89
|
+
onMagicTap?: (() => void) | undefined | undefined;
|
|
90
|
+
accessibilityIgnoresInvertColors?: boolean | undefined | undefined;
|
|
91
|
+
accessibilityLanguage?: string | undefined | undefined;
|
|
92
|
+
accessibilityShowsLargeContentViewer?: boolean | undefined | undefined;
|
|
93
|
+
accessibilityLargeContentTitle?: string | undefined | undefined;
|
|
94
|
+
accessibilityRespondsToUserInteraction?: boolean | undefined | undefined;
|
|
95
|
+
disabled?: boolean | undefined;
|
|
96
|
+
name?: string | string[] | undefined;
|
|
97
|
+
onPress?: import("@codeleap/types").AnyFunction | undefined;
|
|
98
|
+
onPressIn?: null | ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
|
|
99
|
+
onPressOut?: null | ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
|
|
100
|
+
ref?: React.Ref<import("react-native").View> | undefined;
|
|
101
|
+
onLongPress?: null | ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
|
|
102
|
+
pressRetentionOffset?: number | import("react-native").Insets | null | undefined;
|
|
102
103
|
debugName?: string | undefined;
|
|
103
104
|
badge?: number | boolean | undefined;
|
|
104
105
|
onHoverIn?: null | ((event: import("react-native").MouseEvent) => void) | undefined | undefined;
|
|
@@ -124,9 +125,8 @@ export declare const useAvatarContext: <T = AvatarCtxValue>(providedProps?: Part
|
|
|
124
125
|
analyticsData?: Record<string, any> | undefined;
|
|
125
126
|
dismissKeyboard?: boolean | undefined;
|
|
126
127
|
image?: (import("react-native").ImageRequireSource | string) | undefined;
|
|
127
|
-
text?: string | undefined;
|
|
128
|
-
name?: string | string[] | undefined;
|
|
129
128
|
icon?: import("@codeleap/styles").AppIcon | undefined;
|
|
129
|
+
text?: string | undefined;
|
|
130
130
|
firstNameOnly?: boolean | undefined;
|
|
131
131
|
overlayIcon?: import("@codeleap/styles").AppIcon | undefined;
|
|
132
132
|
onPressOverlayIcon?: import("@codeleap/types").AnyFunction | undefined;
|
|
@@ -2,13 +2,13 @@ import { EmptyPlaceholderCtxValue } from './types';
|
|
|
2
2
|
export declare const EmptyPlaceholderContext: import("react").Context<EmptyPlaceholderCtxValue>;
|
|
3
3
|
export declare const useEmptyPlaceholderContext: <T = EmptyPlaceholderCtxValue>(providedProps?: Partial<T>) => {
|
|
4
4
|
onPress?: import("@codeleap/types").AnyFunction | undefined;
|
|
5
|
-
order?: Array<"info" | "illustration" | "button"> | undefined;
|
|
6
5
|
description?: string | undefined;
|
|
7
|
-
|
|
6
|
+
order?: Array<"info" | "illustration" | "button"> | undefined;
|
|
8
7
|
title?: string | undefined;
|
|
8
|
+
itemName?: string | undefined;
|
|
9
|
+
image?: number | import("@d11/react-native-fast-image").Source | undefined;
|
|
9
10
|
icon?: import("@codeleap/styles").AppIcon | undefined;
|
|
10
11
|
loading?: boolean | undefined;
|
|
11
|
-
itemName?: string | undefined;
|
|
12
12
|
LoadingComponent?: import("react").ReactElement | undefined;
|
|
13
13
|
buttonText?: string | undefined;
|
|
14
14
|
styles: import("@codeleap/styles").StyleRecord<import("./styles").EmptyPlaceholderComposition>;
|
|
@@ -19,54 +19,14 @@ export declare const Tabs: {
|
|
|
19
19
|
TabList: (props: {
|
|
20
20
|
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
21
21
|
children?: React.ReactNode;
|
|
22
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
22
23
|
id?: string | undefined | undefined;
|
|
24
|
+
needsOffscreenAlphaCompositing?: boolean | undefined | undefined;
|
|
23
25
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined | undefined;
|
|
24
|
-
testID?: string | undefined | undefined;
|
|
25
|
-
nativeID?: string | undefined | undefined;
|
|
26
26
|
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined | undefined;
|
|
27
|
-
accessible?: boolean | undefined | undefined;
|
|
28
|
-
accessibilityActions?: readonly Readonly<{
|
|
29
|
-
name: import("react-native").AccessibilityActionName | string;
|
|
30
|
-
label?: string | undefined;
|
|
31
|
-
}>[] | undefined;
|
|
32
|
-
accessibilityLabel?: string | undefined | undefined;
|
|
33
|
-
'aria-label'?: string | undefined | undefined;
|
|
34
|
-
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
35
|
-
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
36
|
-
'aria-busy'?: boolean | undefined | undefined;
|
|
37
|
-
'aria-checked'?: boolean | "mixed" | undefined | undefined;
|
|
38
|
-
'aria-disabled'?: boolean | undefined | undefined;
|
|
39
|
-
'aria-expanded'?: boolean | undefined | undefined;
|
|
40
|
-
'aria-selected'?: boolean | undefined | undefined;
|
|
41
|
-
accessibilityHint?: string | undefined | undefined;
|
|
42
|
-
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
43
|
-
'aria-valuemax'?: number | undefined;
|
|
44
|
-
'aria-valuemin'?: number | undefined;
|
|
45
|
-
'aria-valuenow'?: number | undefined;
|
|
46
|
-
'aria-valuetext'?: string | undefined;
|
|
47
|
-
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | undefined | undefined;
|
|
48
|
-
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined | undefined;
|
|
49
|
-
'aria-hidden'?: boolean | undefined | undefined;
|
|
50
|
-
'aria-modal'?: boolean | undefined | undefined;
|
|
51
|
-
role?: import("react-native").Role | undefined;
|
|
52
|
-
accessibilityLabelledBy?: string | string[] | undefined | undefined;
|
|
53
|
-
'aria-labelledby'?: string | undefined | undefined;
|
|
54
|
-
accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined | undefined;
|
|
55
|
-
'aria-live'?: ("polite" | "assertive" | "off") | undefined | undefined;
|
|
56
|
-
screenReaderFocusable?: boolean | undefined | undefined;
|
|
57
|
-
accessibilityElementsHidden?: boolean | undefined | undefined;
|
|
58
|
-
accessibilityViewIsModal?: boolean | undefined | undefined;
|
|
59
|
-
onAccessibilityEscape?: (() => void) | undefined | undefined;
|
|
60
|
-
onAccessibilityTap?: (() => void) | undefined | undefined;
|
|
61
|
-
onMagicTap?: (() => void) | undefined | undefined;
|
|
62
|
-
accessibilityIgnoresInvertColors?: boolean | undefined | undefined;
|
|
63
|
-
accessibilityLanguage?: string | undefined | undefined;
|
|
64
|
-
accessibilityShowsLargeContentViewer?: boolean | undefined | undefined;
|
|
65
|
-
accessibilityLargeContentTitle?: string | undefined | undefined;
|
|
66
|
-
accessibilityRespondsToUserInteraction?: boolean | undefined | undefined;
|
|
67
|
-
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
68
|
-
needsOffscreenAlphaCompositing?: boolean | undefined | undefined;
|
|
69
27
|
removeClippedSubviews?: boolean | undefined | undefined;
|
|
28
|
+
testID?: string | undefined | undefined;
|
|
29
|
+
nativeID?: string | undefined | undefined;
|
|
70
30
|
collapsable?: boolean | undefined | undefined;
|
|
71
31
|
collapsableChildren?: boolean | undefined | undefined;
|
|
72
32
|
onBlur?: ((e: import("react-native").BlurEvent) => void) | null | undefined | undefined;
|
|
@@ -110,31 +70,118 @@ export declare const Tabs: {
|
|
|
110
70
|
onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
111
71
|
onPointerUp?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
112
72
|
onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
|
|
73
|
+
accessible?: boolean | undefined | undefined;
|
|
74
|
+
accessibilityActions?: readonly Readonly<{
|
|
75
|
+
name: import("react-native").AccessibilityActionName | string;
|
|
76
|
+
label?: string | undefined;
|
|
77
|
+
}>[] | undefined;
|
|
78
|
+
accessibilityLabel?: string | undefined | undefined;
|
|
79
|
+
'aria-label'?: string | undefined | undefined;
|
|
80
|
+
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
81
|
+
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
82
|
+
'aria-busy'?: boolean | undefined | undefined;
|
|
83
|
+
'aria-checked'?: boolean | "mixed" | undefined | undefined;
|
|
84
|
+
'aria-disabled'?: boolean | undefined | undefined;
|
|
85
|
+
'aria-expanded'?: boolean | undefined | undefined;
|
|
86
|
+
'aria-selected'?: boolean | undefined | undefined;
|
|
87
|
+
accessibilityHint?: string | undefined | undefined;
|
|
88
|
+
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
89
|
+
'aria-valuemax'?: number | undefined;
|
|
90
|
+
'aria-valuemin'?: number | undefined;
|
|
91
|
+
'aria-valuenow'?: number | undefined;
|
|
92
|
+
'aria-valuetext'?: string | undefined;
|
|
93
|
+
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | undefined | undefined;
|
|
94
|
+
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined | undefined;
|
|
95
|
+
'aria-hidden'?: boolean | undefined | undefined;
|
|
96
|
+
'aria-modal'?: boolean | undefined | undefined;
|
|
97
|
+
role?: import("react-native").Role | undefined;
|
|
98
|
+
accessibilityLabelledBy?: string | string[] | undefined | undefined;
|
|
99
|
+
'aria-labelledby'?: string | undefined | undefined;
|
|
100
|
+
accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined | undefined;
|
|
101
|
+
'aria-live'?: ("polite" | "assertive" | "off") | undefined | undefined;
|
|
102
|
+
screenReaderFocusable?: boolean | undefined | undefined;
|
|
103
|
+
accessibilityElementsHidden?: boolean | undefined | undefined;
|
|
104
|
+
accessibilityViewIsModal?: boolean | undefined | undefined;
|
|
105
|
+
onAccessibilityEscape?: (() => void) | undefined | undefined;
|
|
106
|
+
onAccessibilityTap?: (() => void) | undefined | undefined;
|
|
107
|
+
onMagicTap?: (() => void) | undefined | undefined;
|
|
108
|
+
accessibilityIgnoresInvertColors?: boolean | undefined | undefined;
|
|
109
|
+
accessibilityLanguage?: string | undefined | undefined;
|
|
110
|
+
accessibilityShowsLargeContentViewer?: boolean | undefined | undefined;
|
|
111
|
+
accessibilityLargeContentTitle?: string | undefined | undefined;
|
|
112
|
+
accessibilityRespondsToUserInteraction?: boolean | undefined | undefined;
|
|
113
|
+
onContentSizeChange?: ((contentWidth: number, contentHeight: number) => void) | undefined | undefined;
|
|
114
|
+
onScroll?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").NativeScrollEvent>) => void) | undefined | undefined;
|
|
115
|
+
scrollEnabled?: boolean | undefined | undefined;
|
|
116
|
+
keyExtractor?: ((item: any, index: number) => string) | undefined;
|
|
117
|
+
onMomentumScrollEnd?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").NativeScrollEvent>) => void) | undefined | undefined;
|
|
118
|
+
onRefresh?: (() => void) | null | undefined | undefined;
|
|
119
|
+
refreshing?: boolean | null | undefined | undefined;
|
|
120
|
+
progressViewOffset?: number | undefined | undefined;
|
|
121
|
+
refreshControl?: React.ReactElement<import("react-native").RefreshControlProps, string | React.JSXElementConstructor<any>> | undefined;
|
|
122
|
+
stickyHeaderIndices?: number[] | undefined | undefined;
|
|
123
|
+
ItemSeparatorComponent?: React.ComponentType<any> | null | undefined;
|
|
124
|
+
ListEmptyComponent?: React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | React.ComponentType<any> | null | undefined;
|
|
125
|
+
ListFooterComponent?: React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | React.ComponentType<any> | null | undefined;
|
|
126
|
+
ListFooterComponentStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
127
|
+
ListHeaderComponent?: React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | React.ComponentType<any> | null | undefined;
|
|
128
|
+
ListHeaderComponentStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
129
|
+
debug?: boolean | undefined | undefined;
|
|
130
|
+
disableVirtualization?: boolean | undefined | undefined;
|
|
131
|
+
extraData?: any | undefined;
|
|
132
|
+
getItem?: ((data: any, index: number) => any) | undefined;
|
|
133
|
+
getItemCount?: ((data: any) => number) | undefined | undefined;
|
|
134
|
+
getItemLayout?: ((data: ArrayLike<any> | null | undefined, index: number) => {
|
|
135
|
+
length: number;
|
|
136
|
+
offset: number;
|
|
137
|
+
index: number;
|
|
138
|
+
}) | undefined;
|
|
139
|
+
horizontal?: boolean | null | undefined | undefined;
|
|
140
|
+
initialNumToRender?: number | undefined | undefined;
|
|
141
|
+
initialScrollIndex?: number | null | undefined | undefined;
|
|
142
|
+
inverted?: boolean | null | undefined | undefined;
|
|
143
|
+
maxToRenderPerBatch?: number | undefined | undefined;
|
|
144
|
+
onEndReached?: ((info: {
|
|
145
|
+
distanceFromEnd: number;
|
|
146
|
+
}) => void) | null | undefined | undefined;
|
|
147
|
+
onEndReachedThreshold?: number | null | undefined | undefined;
|
|
148
|
+
onScrollToIndexFailed?: ((info: {
|
|
149
|
+
index: number;
|
|
150
|
+
highestMeasuredFrameIndex: number;
|
|
151
|
+
averageItemLength: number;
|
|
152
|
+
}) => void) | undefined | undefined;
|
|
153
|
+
onStartReached?: ((info: {
|
|
154
|
+
distanceFromStart: number;
|
|
155
|
+
}) => void) | null | undefined | undefined;
|
|
156
|
+
onStartReachedThreshold?: number | null | undefined | undefined;
|
|
157
|
+
onViewableItemsChanged?: ((info: {
|
|
158
|
+
viewableItems: import("react-native").ViewToken<any>[];
|
|
159
|
+
changed: import("react-native").ViewToken<any>[];
|
|
160
|
+
}) => void) | null | undefined;
|
|
161
|
+
renderScrollComponent?: ((props: import("react-native").ScrollViewProps) => React.ReactElement<import("react-native").ScrollViewProps>) | undefined | undefined;
|
|
162
|
+
updateCellsBatchingPeriod?: number | undefined | undefined;
|
|
163
|
+
viewabilityConfig?: import("react-native").ViewabilityConfig | undefined;
|
|
164
|
+
viewabilityConfigCallbackPairs?: import("react-native").ViewabilityConfigCallbackPairs | undefined;
|
|
165
|
+
windowSize?: number | undefined | undefined;
|
|
166
|
+
CellRendererComponent?: React.ComponentType<import("react-native").CellRendererProps<any>> | null | undefined;
|
|
113
167
|
contentContainerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
114
168
|
innerViewRef?: React.RefObject<import("react-native").View> | undefined;
|
|
115
169
|
scrollViewRef?: React.RefObject<import("react-native").ScrollView> | undefined;
|
|
116
170
|
decelerationRate?: "fast" | "normal" | number | undefined | undefined;
|
|
117
|
-
horizontal?: boolean | null | undefined | undefined;
|
|
118
171
|
invertStickyHeaders?: boolean | undefined | undefined;
|
|
119
172
|
keyboardDismissMode?: "none" | "interactive" | "on-drag" | undefined | undefined;
|
|
120
173
|
keyboardShouldPersistTaps?: boolean | "always" | "never" | "handled" | undefined | undefined;
|
|
121
|
-
onContentSizeChange?: ((contentWidth: number, contentHeight: number) => void) | undefined | undefined;
|
|
122
|
-
onScroll?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").NativeScrollEvent>) => void) | undefined | undefined;
|
|
123
174
|
onScrollBeginDrag?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").NativeScrollEvent>) => void) | undefined | undefined;
|
|
124
175
|
onScrollEndDrag?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").NativeScrollEvent>) => void) | undefined | undefined;
|
|
125
|
-
onMomentumScrollEnd?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").NativeScrollEvent>) => void) | undefined | undefined;
|
|
126
176
|
onMomentumScrollBegin?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").NativeScrollEvent>) => void) | undefined | undefined;
|
|
127
177
|
pagingEnabled?: boolean | undefined | undefined;
|
|
128
|
-
scrollEnabled?: boolean | undefined | undefined;
|
|
129
178
|
showsHorizontalScrollIndicator?: boolean | undefined | undefined;
|
|
130
179
|
showsVerticalScrollIndicator?: boolean | undefined | undefined;
|
|
131
180
|
stickyHeaderHiddenOnScroll?: boolean | undefined | undefined;
|
|
132
|
-
refreshControl?: React.ReactElement<import("react-native").RefreshControlProps, string | React.JSXElementConstructor<any>> | undefined;
|
|
133
181
|
snapToInterval?: number | undefined | undefined;
|
|
134
182
|
snapToOffsets?: number[] | undefined | undefined;
|
|
135
183
|
snapToStart?: boolean | undefined | undefined;
|
|
136
184
|
snapToEnd?: boolean | undefined | undefined;
|
|
137
|
-
stickyHeaderIndices?: number[] | undefined | undefined;
|
|
138
185
|
disableIntervalMomentum?: boolean | undefined | undefined;
|
|
139
186
|
disableScrollViewPanResponder?: boolean | undefined | undefined;
|
|
140
187
|
StickyHeaderComponent?: React.ComponentType<any> | undefined;
|
|
@@ -176,56 +223,9 @@ export declare const Tabs: {
|
|
|
176
223
|
end: number;
|
|
177
224
|
} | undefined | undefined;
|
|
178
225
|
persistentScrollbar?: boolean | undefined | undefined;
|
|
179
|
-
onRefresh?: (() => void) | null | undefined | undefined;
|
|
180
|
-
refreshing?: boolean | null | undefined | undefined;
|
|
181
|
-
keyExtractor?: ((item: any, index: number) => string) | undefined;
|
|
182
|
-
getItemLayout?: ((data: ArrayLike<any> | null | undefined, index: number) => {
|
|
183
|
-
length: number;
|
|
184
|
-
offset: number;
|
|
185
|
-
index: number;
|
|
186
|
-
}) | undefined;
|
|
187
|
-
columnWrapperStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
188
|
-
extraData?: any | undefined;
|
|
189
|
-
initialNumToRender?: number | undefined | undefined;
|
|
190
|
-
initialScrollIndex?: number | null | undefined | undefined;
|
|
191
226
|
legacyImplementation?: boolean | undefined | undefined;
|
|
227
|
+
columnWrapperStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
192
228
|
numColumns?: number | undefined | undefined;
|
|
193
|
-
onViewableItemsChanged?: ((info: {
|
|
194
|
-
viewableItems: import("react-native").ViewToken<any>[];
|
|
195
|
-
changed: import("react-native").ViewToken<any>[];
|
|
196
|
-
}) => void) | null | undefined;
|
|
197
|
-
viewabilityConfig?: import("react-native").ViewabilityConfig | undefined;
|
|
198
|
-
ItemSeparatorComponent?: React.ComponentType<any> | null | undefined;
|
|
199
|
-
ListEmptyComponent?: React.ComponentType<any> | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | null | undefined;
|
|
200
|
-
ListFooterComponent?: React.ComponentType<any> | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | null | undefined;
|
|
201
|
-
ListFooterComponentStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
202
|
-
ListHeaderComponent?: React.ComponentType<any> | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | null | undefined;
|
|
203
|
-
ListHeaderComponentStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
204
|
-
debug?: boolean | undefined | undefined;
|
|
205
|
-
disableVirtualization?: boolean | undefined | undefined;
|
|
206
|
-
getItem?: ((data: any, index: number) => any) | undefined;
|
|
207
|
-
getItemCount?: ((data: any) => number) | undefined | undefined;
|
|
208
|
-
inverted?: boolean | null | undefined | undefined;
|
|
209
|
-
maxToRenderPerBatch?: number | undefined | undefined;
|
|
210
|
-
onEndReached?: ((info: {
|
|
211
|
-
distanceFromEnd: number;
|
|
212
|
-
}) => void) | null | undefined | undefined;
|
|
213
|
-
onEndReachedThreshold?: number | null | undefined | undefined;
|
|
214
|
-
onScrollToIndexFailed?: ((info: {
|
|
215
|
-
index: number;
|
|
216
|
-
highestMeasuredFrameIndex: number;
|
|
217
|
-
averageItemLength: number;
|
|
218
|
-
}) => void) | undefined | undefined;
|
|
219
|
-
onStartReached?: ((info: {
|
|
220
|
-
distanceFromStart: number;
|
|
221
|
-
}) => void) | null | undefined | undefined;
|
|
222
|
-
onStartReachedThreshold?: number | null | undefined | undefined;
|
|
223
|
-
progressViewOffset?: number | undefined | undefined;
|
|
224
|
-
renderScrollComponent?: ((props: import("react-native").ScrollViewProps) => React.ReactElement<import("react-native").ScrollViewProps>) | undefined | undefined;
|
|
225
|
-
updateCellsBatchingPeriod?: number | undefined | undefined;
|
|
226
|
-
viewabilityConfigCallbackPairs?: import("react-native").ViewabilityConfigCallbackPairs | undefined;
|
|
227
|
-
windowSize?: number | undefined | undefined;
|
|
228
|
-
CellRendererComponent?: React.ComponentType<import("react-native").CellRendererProps<any>> | null | undefined;
|
|
229
229
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
230
230
|
Panel: ({ keepMounted: panelKeepMounted, ...props }: Omit<import("../View").ViewProps, "style"> & {
|
|
231
231
|
value: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAG3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACnC,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAG7D,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAEzC,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AAExB,eAAO,MAAM,IAAI;YAAW,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAG3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACnC,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAG7D,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAEzC,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AAExB,eAAO,MAAM,IAAI;YAAW,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAuD06e,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAbv7e,CAAC,SAAS,SAAS,UAAU,CAAC,GACtC,CAAC,CAAC,KAAK,EAAE,oBAAoB,CAAC,SAAS,EAAE,OAAO,MAAM,CAAC,KAAK,IAAI,CAAC,GAAG;QACjF,GAAG,EAAE,OAAO,GAAG,CAAC;QAChB,OAAO,EAAE,OAAO,OAAO,CAAC;QACxB,KAAK,EAAE,OAAO,KAAK,CAAC;KACrB;;CAfF,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codeleap/mobile",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.3",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -22,29 +22,29 @@
|
|
|
22
22
|
"directory": "packages/mobile"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@codeleap/config": "7.
|
|
26
|
-
"@codeleap/form": "7.
|
|
27
|
-
"@codeleap/hooks": "7.
|
|
28
|
-
"@codeleap/logger": "7.
|
|
29
|
-
"@codeleap/portals": "7.
|
|
30
|
-
"@codeleap/query": "7.
|
|
31
|
-
"@codeleap/styles": "7.
|
|
32
|
-
"@codeleap/types": "7.
|
|
33
|
-
"@codeleap/utils": "7.
|
|
25
|
+
"@codeleap/config": "7.1.2",
|
|
26
|
+
"@codeleap/form": "7.1.2",
|
|
27
|
+
"@codeleap/hooks": "7.1.2",
|
|
28
|
+
"@codeleap/logger": "7.1.2",
|
|
29
|
+
"@codeleap/portals": "7.1.2",
|
|
30
|
+
"@codeleap/query": "7.1.2",
|
|
31
|
+
"@codeleap/styles": "7.1.2",
|
|
32
|
+
"@codeleap/types": "7.1.2",
|
|
33
|
+
"@codeleap/utils": "7.1.2"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "tsc --build tsconfig.build.json",
|
|
37
37
|
"lint": "eslint -c .eslintrc.js --fix \"./src/**/*.{ts,tsx,js,jsx}\""
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@codeleap/types": "7.
|
|
41
|
-
"@codeleap/utils": "7.
|
|
42
|
-
"@codeleap/hooks": "7.
|
|
43
|
-
"@codeleap/form": "7.
|
|
44
|
-
"@codeleap/query": "7.
|
|
45
|
-
"@codeleap/logger": "7.
|
|
46
|
-
"@codeleap/styles": "7.
|
|
47
|
-
"@codeleap/portals": "7.
|
|
40
|
+
"@codeleap/types": "7.1.2",
|
|
41
|
+
"@codeleap/utils": "7.1.2",
|
|
42
|
+
"@codeleap/hooks": "7.1.2",
|
|
43
|
+
"@codeleap/form": "7.1.2",
|
|
44
|
+
"@codeleap/query": "7.1.2",
|
|
45
|
+
"@codeleap/logger": "7.1.2",
|
|
46
|
+
"@codeleap/styles": "7.1.2",
|
|
47
|
+
"@codeleap/portals": "7.1.2",
|
|
48
48
|
"@d11/react-native-fast-image": "8.12.0",
|
|
49
49
|
"@react-native-firebase/messaging": "23.4.1",
|
|
50
50
|
"@react-navigation/bottom-tabs": "7.4.9",
|