react-native-timer-picker 2.0.2 → 2.1.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/README.md +33 -17
- package/dist/commonjs/components/DurationScroll/index.js +65 -70
- package/dist/commonjs/components/DurationScroll/index.js.map +1 -1
- package/dist/commonjs/components/DurationScroll/types.js.map +1 -1
- package/dist/commonjs/components/Modal/styles.js +0 -7
- package/dist/commonjs/components/Modal/styles.js.map +1 -1
- package/dist/commonjs/components/TimerPicker/index.js +1 -3
- package/dist/commonjs/components/TimerPicker/index.js.map +1 -1
- package/dist/commonjs/components/TimerPicker/styles.js +9 -6
- package/dist/commonjs/components/TimerPicker/styles.js.map +1 -1
- package/dist/commonjs/components/TimerPicker/types.js.map +1 -1
- package/dist/commonjs/tests/DurationScroll.test.js +10 -4
- package/dist/commonjs/tests/DurationScroll.test.js.map +1 -1
- package/dist/module/components/DurationScroll/index.js +65 -70
- package/dist/module/components/DurationScroll/index.js.map +1 -1
- package/dist/module/components/DurationScroll/types.js.map +1 -1
- package/dist/module/components/Modal/styles.js +0 -7
- package/dist/module/components/Modal/styles.js.map +1 -1
- package/dist/module/components/TimerPicker/index.js +1 -3
- package/dist/module/components/TimerPicker/index.js.map +1 -1
- package/dist/module/components/TimerPicker/styles.js +9 -6
- package/dist/module/components/TimerPicker/styles.js.map +1 -1
- package/dist/module/components/TimerPicker/types.js.map +1 -1
- package/dist/module/tests/DurationScroll.test.js +10 -4
- package/dist/module/tests/DurationScroll.test.js.map +1 -1
- package/dist/typescript/components/DurationScroll/types.d.ts +1 -2
- package/dist/typescript/components/Modal/styles.d.ts +0 -7
- package/dist/typescript/components/TimerPicker/styles.d.ts +8 -7
- package/dist/typescript/components/TimerPicker/types.d.ts +1 -2
- package/package.json +1 -1
|
@@ -21,9 +21,7 @@ export interface CustomTimerPickerStyles {
|
|
|
21
21
|
text?: TextStyle;
|
|
22
22
|
theme?: "light" | "dark";
|
|
23
23
|
}
|
|
24
|
-
export declare const generateStyles: (customStyles: CustomTimerPickerStyles | undefined
|
|
25
|
-
padWithNItems: number;
|
|
26
|
-
}) => {
|
|
24
|
+
export declare const generateStyles: (customStyles: CustomTimerPickerStyles | undefined) => {
|
|
27
25
|
pickerContainer: {
|
|
28
26
|
backfaceVisibility?: "visible" | "hidden" | undefined;
|
|
29
27
|
backgroundColor: string;
|
|
@@ -931,6 +929,9 @@ export declare const generateStyles: (customStyles: CustomTimerPickerStyles | un
|
|
|
931
929
|
textAlignVertical?: "center" | "auto" | "bottom" | "top" | undefined;
|
|
932
930
|
includeFontPadding?: boolean | undefined;
|
|
933
931
|
};
|
|
932
|
+
maskedView: {
|
|
933
|
+
flex: number;
|
|
934
|
+
};
|
|
934
935
|
pickerGradientOverlay: {
|
|
935
936
|
backfaceVisibility?: "visible" | "hidden" | undefined;
|
|
936
937
|
backgroundColor?: import("react-native").ColorValue | undefined;
|
|
@@ -976,7 +977,7 @@ export declare const generateStyles: (customStyles: CustomTimerPickerStyles | un
|
|
|
976
977
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
977
978
|
height: string | number;
|
|
978
979
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
979
|
-
left
|
|
980
|
+
left?: string | number | undefined;
|
|
980
981
|
margin?: string | number | undefined;
|
|
981
982
|
marginBottom?: string | number | undefined;
|
|
982
983
|
marginEnd?: string | number | undefined;
|
|
@@ -1001,10 +1002,10 @@ export declare const generateStyles: (customStyles: CustomTimerPickerStyles | un
|
|
|
1001
1002
|
paddingTop?: string | number | undefined;
|
|
1002
1003
|
paddingVertical?: string | number | undefined;
|
|
1003
1004
|
position: "absolute" | "relative";
|
|
1004
|
-
right
|
|
1005
|
+
right?: string | number | undefined;
|
|
1005
1006
|
start?: string | number | undefined;
|
|
1006
1007
|
top?: string | number | undefined;
|
|
1007
|
-
width
|
|
1008
|
+
width: string | number;
|
|
1008
1009
|
zIndex?: number | undefined;
|
|
1009
1010
|
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
1010
1011
|
shadowColor?: import("react-native").ColorValue | undefined;
|
|
@@ -1095,7 +1096,7 @@ export declare const generateStyles: (customStyles: CustomTimerPickerStyles | un
|
|
|
1095
1096
|
right?: string | number | undefined;
|
|
1096
1097
|
start?: string | number | undefined;
|
|
1097
1098
|
top?: string | number | undefined;
|
|
1098
|
-
width
|
|
1099
|
+
width: string | number;
|
|
1099
1100
|
zIndex?: number | undefined;
|
|
1100
1101
|
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
1101
1102
|
shadowColor?: import("react-native").ColorValue | undefined;
|
|
@@ -24,10 +24,10 @@ export interface TimerPickerProps {
|
|
|
24
24
|
FlatList?: CustomFlatList;
|
|
25
25
|
Haptics?: any;
|
|
26
26
|
LinearGradient?: any;
|
|
27
|
+
MaskedView?: any;
|
|
27
28
|
aggressivelyGetLatestDuration?: boolean;
|
|
28
29
|
allowFontScaling?: boolean;
|
|
29
30
|
amLabel?: string;
|
|
30
|
-
bottomPickerGradientOverlayProps?: Partial<LinearGradientProps>;
|
|
31
31
|
clickSoundAsset?: SoundAssetType;
|
|
32
32
|
disableInfiniteScroll?: boolean;
|
|
33
33
|
hideHours?: boolean;
|
|
@@ -70,6 +70,5 @@ export interface TimerPickerProps {
|
|
|
70
70
|
secondLimit?: LimitType;
|
|
71
71
|
secondsPickerIsDisabled?: boolean;
|
|
72
72
|
styles?: CustomTimerPickerStyles;
|
|
73
|
-
topPickerGradientOverlayProps?: Partial<LinearGradientProps>;
|
|
74
73
|
use12HourPicker?: boolean;
|
|
75
74
|
}
|