@webority-technologies/mobile 0.0.2 → 0.0.4
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/lib/commonjs/components/{Header/Header.js → AppBar/AppBar.js} +6 -6
- package/lib/commonjs/components/{Header → AppBar}/index.js +4 -4
- package/lib/commonjs/components/{Icon/Icon.js → AppIcon/AppIcon.js} +5 -5
- package/lib/commonjs/components/{Icon → AppIcon}/index.js +4 -4
- package/lib/commonjs/components/{FAB/FAB.js → FloatingActionButton/FloatingActionButton.js} +11 -11
- package/lib/commonjs/components/{FAB → FloatingActionButton}/index.js +6 -6
- package/lib/commonjs/components/{Field/Field.js → FormField/FormField.js} +5 -5
- package/lib/commonjs/components/{LoadingSpinner → FormField}/index.js +4 -4
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +2 -2
- package/lib/commonjs/components/SearchBar/SearchBar.js +3 -3
- package/lib/commonjs/components/{SkeletonLoader/SkeletonLoader.js → Skeleton/Skeleton.js} +1 -1
- package/lib/commonjs/components/{SkeletonLoader → Skeleton}/SkeletonContent.js +14 -8
- package/lib/commonjs/components/Skeleton/SkeletonList.js +82 -0
- package/lib/commonjs/components/{SkeletonLoader → Skeleton}/index.js +15 -8
- package/lib/commonjs/components/{LoadingSpinner/LoadingSpinner.js → Spinner/Spinner.js} +5 -5
- package/lib/commonjs/components/{Field → Spinner}/index.js +4 -4
- package/lib/commonjs/components/index.js +36 -30
- package/lib/module/components/{Header/Header.js → AppBar/AppBar.js} +6 -6
- package/lib/module/components/AppBar/index.js +4 -0
- package/lib/module/components/{Icon/Icon.js → AppIcon/AppIcon.js} +5 -5
- package/lib/module/components/AppIcon/index.js +4 -0
- package/lib/module/components/{FAB/FAB.js → FloatingActionButton/FloatingActionButton.js} +10 -10
- package/lib/module/components/FloatingActionButton/index.js +4 -0
- package/lib/module/components/{Field/Field.js → FormField/FormField.js} +5 -5
- package/lib/module/components/FormField/index.js +4 -0
- package/lib/module/components/ImageGallery/ImageGallery.js +2 -2
- package/lib/module/components/SearchBar/SearchBar.js +3 -3
- package/lib/module/components/{SkeletonLoader/SkeletonLoader.js → Skeleton/Skeleton.js} +1 -1
- package/lib/module/components/{SkeletonLoader → Skeleton}/SkeletonContent.js +9 -3
- package/lib/module/components/Skeleton/SkeletonList.js +77 -0
- package/lib/module/components/Skeleton/index.js +6 -0
- package/lib/module/components/{LoadingSpinner/LoadingSpinner.js → Spinner/Spinner.js} +5 -5
- package/lib/module/components/Spinner/index.js +4 -0
- package/lib/module/components/index.js +6 -6
- package/lib/typescript/commonjs/components/{Header/Header.d.ts → AppBar/AppBar.d.ts} +13 -13
- package/lib/typescript/commonjs/components/AppBar/index.d.ts +3 -0
- package/lib/typescript/{module/components/Icon/Icon.d.ts → commonjs/components/AppIcon/AppIcon.d.ts} +5 -5
- package/lib/typescript/commonjs/components/AppIcon/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +53 -0
- package/lib/typescript/commonjs/components/FloatingActionButton/index.d.ts +3 -0
- package/lib/typescript/{module/components/Field/Field.d.ts → commonjs/components/FormField/FormField.d.ts} +7 -7
- package/lib/typescript/commonjs/components/FormField/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/{SkeletonLoader/SkeletonLoader.d.ts → Skeleton/Skeleton.d.ts} +1 -1
- package/lib/typescript/{module/components/SkeletonLoader → commonjs/components/Skeleton}/SkeletonContent.d.ts +7 -1
- package/lib/typescript/commonjs/components/Skeleton/SkeletonList.d.ts +27 -0
- package/lib/typescript/commonjs/components/{SkeletonLoader → Skeleton}/index.d.ts +4 -2
- package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +20 -0
- package/lib/typescript/commonjs/components/Spinner/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/index.d.ts +12 -12
- package/lib/typescript/module/components/{Header/Header.d.ts → AppBar/AppBar.d.ts} +13 -13
- package/lib/typescript/module/components/AppBar/index.d.ts +3 -0
- package/lib/typescript/{commonjs/components/Icon/Icon.d.ts → module/components/AppIcon/AppIcon.d.ts} +5 -5
- package/lib/typescript/module/components/AppIcon/index.d.ts +3 -0
- package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +53 -0
- package/lib/typescript/module/components/FloatingActionButton/index.d.ts +3 -0
- package/lib/typescript/{commonjs/components/Field/Field.d.ts → module/components/FormField/FormField.d.ts} +7 -7
- package/lib/typescript/module/components/FormField/index.d.ts +3 -0
- package/lib/typescript/module/components/{SkeletonLoader/SkeletonLoader.d.ts → Skeleton/Skeleton.d.ts} +1 -1
- package/lib/typescript/{commonjs/components/SkeletonLoader → module/components/Skeleton}/SkeletonContent.d.ts +7 -1
- package/lib/typescript/module/components/Skeleton/SkeletonList.d.ts +27 -0
- package/lib/typescript/module/components/{SkeletonLoader → Skeleton}/index.d.ts +4 -2
- package/lib/typescript/module/components/Spinner/Spinner.d.ts +20 -0
- package/lib/typescript/module/components/Spinner/index.d.ts +3 -0
- package/lib/typescript/module/components/index.d.ts +12 -12
- package/package.json +2 -2
- package/lib/module/components/FAB/index.js +0 -4
- package/lib/module/components/Field/index.js +0 -4
- package/lib/module/components/Header/index.js +0 -4
- package/lib/module/components/Icon/index.js +0 -4
- package/lib/module/components/LoadingSpinner/index.js +0 -4
- package/lib/module/components/SkeletonLoader/index.js +0 -5
- package/lib/typescript/commonjs/components/FAB/FAB.d.ts +0 -53
- package/lib/typescript/commonjs/components/FAB/index.d.ts +0 -3
- package/lib/typescript/commonjs/components/Field/index.d.ts +0 -3
- package/lib/typescript/commonjs/components/Header/index.d.ts +0 -3
- package/lib/typescript/commonjs/components/Icon/index.d.ts +0 -3
- package/lib/typescript/commonjs/components/LoadingSpinner/LoadingSpinner.d.ts +0 -20
- package/lib/typescript/commonjs/components/LoadingSpinner/index.d.ts +0 -3
- package/lib/typescript/module/components/FAB/FAB.d.ts +0 -53
- package/lib/typescript/module/components/FAB/index.d.ts +0 -3
- package/lib/typescript/module/components/Field/index.d.ts +0 -3
- package/lib/typescript/module/components/Header/index.d.ts +0 -3
- package/lib/typescript/module/components/Icon/index.d.ts +0 -3
- package/lib/typescript/module/components/LoadingSpinner/LoadingSpinner.d.ts +0 -20
- package/lib/typescript/module/components/LoadingSpinner/index.d.ts +0 -3
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { View } from 'react-native';
|
|
3
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
-
import type { IconFamily } from '../Icon';
|
|
5
|
-
export type FABSize = 'sm' | 'md' | 'lg';
|
|
6
|
-
export type FABTone = 'primary' | 'success' | 'warning' | 'error' | 'neutral';
|
|
7
|
-
export type FABPosition = 'bottomRight' | 'bottomLeft' | 'bottomCenter';
|
|
8
|
-
export interface FABIconConfig {
|
|
9
|
-
name: string;
|
|
10
|
-
family?: IconFamily;
|
|
11
|
-
}
|
|
12
|
-
export interface FABProps {
|
|
13
|
-
icon: React.ReactNode | FABIconConfig;
|
|
14
|
-
onPress: () => void;
|
|
15
|
-
label?: string;
|
|
16
|
-
size?: FABSize;
|
|
17
|
-
tone?: FABTone;
|
|
18
|
-
position?: FABPosition;
|
|
19
|
-
bottomOffset?: number;
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
hideOnScroll?: boolean;
|
|
22
|
-
isScrolling?: boolean;
|
|
23
|
-
accessibilityLabel: string;
|
|
24
|
-
accessibilityHint?: string;
|
|
25
|
-
style?: StyleProp<ViewStyle>;
|
|
26
|
-
testID?: string;
|
|
27
|
-
}
|
|
28
|
-
declare const FAB: React.ForwardRefExoticComponent<FABProps & React.RefAttributes<View>>;
|
|
29
|
-
export interface FABGroupAction {
|
|
30
|
-
key: string;
|
|
31
|
-
icon: React.ReactNode;
|
|
32
|
-
label?: string;
|
|
33
|
-
onPress: () => void;
|
|
34
|
-
tone?: FABTone;
|
|
35
|
-
accessibilityLabel: string;
|
|
36
|
-
}
|
|
37
|
-
export interface FABGroupProps {
|
|
38
|
-
primaryIcon: React.ReactNode;
|
|
39
|
-
primaryActiveIcon?: React.ReactNode;
|
|
40
|
-
actions: FABGroupAction[];
|
|
41
|
-
open?: boolean;
|
|
42
|
-
defaultOpen?: boolean;
|
|
43
|
-
onOpenChange?: (open: boolean) => void;
|
|
44
|
-
position?: FABPosition;
|
|
45
|
-
bottomOffset?: number;
|
|
46
|
-
size?: FABSize;
|
|
47
|
-
accessibilityLabel?: string;
|
|
48
|
-
testID?: string;
|
|
49
|
-
}
|
|
50
|
-
declare const FABGroup: React.FC<FABGroupProps>;
|
|
51
|
-
export { FAB, FABGroup };
|
|
52
|
-
export default FAB;
|
|
53
|
-
//# sourceMappingURL=FAB.d.ts.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { View } from 'react-native';
|
|
3
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
-
export type LoadingSpinnerSize = 'small' | 'medium' | 'large';
|
|
5
|
-
export type LoadingSpinnerVariant = 'circular' | 'dots';
|
|
6
|
-
export interface LoadingSpinnerProps {
|
|
7
|
-
size?: LoadingSpinnerSize;
|
|
8
|
-
color?: string;
|
|
9
|
-
message?: string;
|
|
10
|
-
overlay?: boolean;
|
|
11
|
-
backdropColor?: string;
|
|
12
|
-
variant?: LoadingSpinnerVariant;
|
|
13
|
-
accessibilityLabel?: string;
|
|
14
|
-
style?: StyleProp<ViewStyle>;
|
|
15
|
-
testID?: string;
|
|
16
|
-
}
|
|
17
|
-
declare const LoadingSpinner: React.ForwardRefExoticComponent<LoadingSpinnerProps & React.RefAttributes<View>>;
|
|
18
|
-
export { LoadingSpinner };
|
|
19
|
-
export default LoadingSpinner;
|
|
20
|
-
//# sourceMappingURL=LoadingSpinner.d.ts.map
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { View } from 'react-native';
|
|
3
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
-
import type { IconFamily } from '../Icon';
|
|
5
|
-
export type FABSize = 'sm' | 'md' | 'lg';
|
|
6
|
-
export type FABTone = 'primary' | 'success' | 'warning' | 'error' | 'neutral';
|
|
7
|
-
export type FABPosition = 'bottomRight' | 'bottomLeft' | 'bottomCenter';
|
|
8
|
-
export interface FABIconConfig {
|
|
9
|
-
name: string;
|
|
10
|
-
family?: IconFamily;
|
|
11
|
-
}
|
|
12
|
-
export interface FABProps {
|
|
13
|
-
icon: React.ReactNode | FABIconConfig;
|
|
14
|
-
onPress: () => void;
|
|
15
|
-
label?: string;
|
|
16
|
-
size?: FABSize;
|
|
17
|
-
tone?: FABTone;
|
|
18
|
-
position?: FABPosition;
|
|
19
|
-
bottomOffset?: number;
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
hideOnScroll?: boolean;
|
|
22
|
-
isScrolling?: boolean;
|
|
23
|
-
accessibilityLabel: string;
|
|
24
|
-
accessibilityHint?: string;
|
|
25
|
-
style?: StyleProp<ViewStyle>;
|
|
26
|
-
testID?: string;
|
|
27
|
-
}
|
|
28
|
-
declare const FAB: React.ForwardRefExoticComponent<FABProps & React.RefAttributes<View>>;
|
|
29
|
-
export interface FABGroupAction {
|
|
30
|
-
key: string;
|
|
31
|
-
icon: React.ReactNode;
|
|
32
|
-
label?: string;
|
|
33
|
-
onPress: () => void;
|
|
34
|
-
tone?: FABTone;
|
|
35
|
-
accessibilityLabel: string;
|
|
36
|
-
}
|
|
37
|
-
export interface FABGroupProps {
|
|
38
|
-
primaryIcon: React.ReactNode;
|
|
39
|
-
primaryActiveIcon?: React.ReactNode;
|
|
40
|
-
actions: FABGroupAction[];
|
|
41
|
-
open?: boolean;
|
|
42
|
-
defaultOpen?: boolean;
|
|
43
|
-
onOpenChange?: (open: boolean) => void;
|
|
44
|
-
position?: FABPosition;
|
|
45
|
-
bottomOffset?: number;
|
|
46
|
-
size?: FABSize;
|
|
47
|
-
accessibilityLabel?: string;
|
|
48
|
-
testID?: string;
|
|
49
|
-
}
|
|
50
|
-
declare const FABGroup: React.FC<FABGroupProps>;
|
|
51
|
-
export { FAB, FABGroup };
|
|
52
|
-
export default FAB;
|
|
53
|
-
//# sourceMappingURL=FAB.d.ts.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { View } from 'react-native';
|
|
3
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
-
export type LoadingSpinnerSize = 'small' | 'medium' | 'large';
|
|
5
|
-
export type LoadingSpinnerVariant = 'circular' | 'dots';
|
|
6
|
-
export interface LoadingSpinnerProps {
|
|
7
|
-
size?: LoadingSpinnerSize;
|
|
8
|
-
color?: string;
|
|
9
|
-
message?: string;
|
|
10
|
-
overlay?: boolean;
|
|
11
|
-
backdropColor?: string;
|
|
12
|
-
variant?: LoadingSpinnerVariant;
|
|
13
|
-
accessibilityLabel?: string;
|
|
14
|
-
style?: StyleProp<ViewStyle>;
|
|
15
|
-
testID?: string;
|
|
16
|
-
}
|
|
17
|
-
declare const LoadingSpinner: React.ForwardRefExoticComponent<LoadingSpinnerProps & React.RefAttributes<View>>;
|
|
18
|
-
export { LoadingSpinner };
|
|
19
|
-
export default LoadingSpinner;
|
|
20
|
-
//# sourceMappingURL=LoadingSpinner.d.ts.map
|