react-native-timer-picker 2.3.0 → 2.4.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 +97 -106
- package/dist/commonjs/components/DurationScroll/DurationScroll.js +13 -27
- package/dist/commonjs/components/DurationScroll/DurationScroll.js.map +1 -1
- package/dist/commonjs/components/PickerItem/PickerItem.js +45 -0
- package/dist/commonjs/components/PickerItem/PickerItem.js.map +1 -0
- package/dist/commonjs/components/PickerItem/index.js +14 -0
- package/dist/commonjs/components/PickerItem/index.js.map +1 -0
- package/dist/commonjs/components/TimerPicker/TimerPicker.js +3 -3
- package/dist/commonjs/components/TimerPicker/TimerPicker.js.map +1 -1
- package/dist/commonjs/components/TimerPicker/styles.js +36 -18
- package/dist/commonjs/components/TimerPicker/styles.js.map +1 -1
- package/dist/commonjs/components/TimerPickerModal/styles.js +4 -15
- package/dist/commonjs/components/TimerPickerModal/styles.js.map +1 -1
- package/dist/commonjs/tests/generateNumbers.test.js +35 -35
- package/dist/commonjs/tests/generateNumbers.test.js.map +1 -1
- package/dist/commonjs/tests/padNumber.test.js +18 -18
- package/dist/commonjs/tests/padNumber.test.js.map +1 -1
- package/dist/commonjs/utils/generateNumbers.js +4 -3
- package/dist/commonjs/utils/generateNumbers.js.map +1 -1
- package/dist/commonjs/utils/padNumber.js +7 -7
- package/dist/commonjs/utils/padNumber.js.map +1 -1
- package/dist/module/components/DurationScroll/DurationScroll.js +12 -27
- package/dist/module/components/DurationScroll/DurationScroll.js.map +1 -1
- package/dist/module/components/PickerItem/PickerItem.js +38 -0
- package/dist/module/components/PickerItem/PickerItem.js.map +1 -0
- package/dist/module/components/PickerItem/index.js +2 -0
- package/dist/module/components/PickerItem/index.js.map +1 -0
- package/dist/module/components/TimerPicker/TimerPicker.js +3 -3
- package/dist/module/components/TimerPicker/TimerPicker.js.map +1 -1
- package/dist/module/components/TimerPicker/styles.js +36 -18
- package/dist/module/components/TimerPicker/styles.js.map +1 -1
- package/dist/module/components/TimerPickerModal/styles.js +4 -15
- package/dist/module/components/TimerPickerModal/styles.js.map +1 -1
- package/dist/module/tests/generateNumbers.test.js +35 -35
- package/dist/module/tests/generateNumbers.test.js.map +1 -1
- package/dist/module/tests/padNumber.test.js +18 -18
- package/dist/module/tests/padNumber.test.js.map +1 -1
- package/dist/module/utils/generateNumbers.js +4 -3
- package/dist/module/utils/generateNumbers.js.map +1 -1
- package/dist/module/utils/padNumber.js +7 -7
- package/dist/module/utils/padNumber.js.map +1 -1
- package/dist/typescript/components/PickerItem/PickerItem.d.ts +14 -0
- package/dist/typescript/components/PickerItem/index.d.ts +1 -0
- package/dist/typescript/components/TimerPicker/styles.d.ts +26 -25
- package/dist/typescript/components/TimerPickerModal/styles.d.ts +255 -254
- package/dist/typescript/utils/padNumber.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TextStyle, ViewStyle } from "react-native";
|
|
1
|
+
import type { DimensionValue, TextStyle, ViewStyle } from "react-native";
|
|
2
2
|
import type { CustomTimerPickerStyles } from "../TimerPicker/styles";
|
|
3
3
|
export interface CustomTimerPickerModalStyles extends CustomTimerPickerStyles {
|
|
4
4
|
button?: TextStyle;
|
|
@@ -13,7 +13,6 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
13
13
|
hasModalTitle: boolean;
|
|
14
14
|
}) => {
|
|
15
15
|
container: {
|
|
16
|
-
alignItems: undefined;
|
|
17
16
|
backfaceVisibility?: "visible" | "hidden" | undefined;
|
|
18
17
|
backgroundColor?: import("react-native").ColorValue | undefined;
|
|
19
18
|
borderBlockColor?: import("react-native").ColorValue | undefined;
|
|
@@ -45,6 +44,7 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
45
44
|
elevation?: number | undefined;
|
|
46
45
|
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined;
|
|
47
46
|
alignContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "stretch" | undefined;
|
|
47
|
+
alignItems?: import("react-native").FlexAlignType | undefined;
|
|
48
48
|
alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
|
|
49
49
|
aspectRatio?: string | number | undefined;
|
|
50
50
|
borderBottomWidth?: number | undefined;
|
|
@@ -54,11 +54,11 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
54
54
|
borderStartWidth?: number | undefined;
|
|
55
55
|
borderTopWidth?: number | undefined;
|
|
56
56
|
borderWidth?: number | undefined;
|
|
57
|
-
bottom?:
|
|
57
|
+
bottom?: DimensionValue | undefined;
|
|
58
58
|
display?: "none" | "flex" | undefined;
|
|
59
|
-
end?:
|
|
59
|
+
end?: DimensionValue | undefined;
|
|
60
60
|
flex?: number | undefined;
|
|
61
|
-
flexBasis?:
|
|
61
|
+
flexBasis?: DimensionValue | undefined;
|
|
62
62
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
63
63
|
rowGap?: number | undefined;
|
|
64
64
|
gap?: number | undefined;
|
|
@@ -66,37 +66,37 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
66
66
|
flexGrow?: number | undefined;
|
|
67
67
|
flexShrink?: number | undefined;
|
|
68
68
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
69
|
-
height?:
|
|
69
|
+
height?: DimensionValue | undefined;
|
|
70
70
|
justifyContent: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly";
|
|
71
|
-
left?:
|
|
72
|
-
margin?:
|
|
73
|
-
marginBottom?:
|
|
74
|
-
marginEnd?:
|
|
75
|
-
marginHorizontal?:
|
|
76
|
-
marginLeft?:
|
|
77
|
-
marginRight?:
|
|
78
|
-
marginStart?:
|
|
79
|
-
marginTop?:
|
|
80
|
-
marginVertical?:
|
|
81
|
-
maxHeight?:
|
|
82
|
-
maxWidth?:
|
|
83
|
-
minHeight?:
|
|
84
|
-
minWidth?:
|
|
71
|
+
left?: DimensionValue | undefined;
|
|
72
|
+
margin?: DimensionValue | undefined;
|
|
73
|
+
marginBottom?: DimensionValue | undefined;
|
|
74
|
+
marginEnd?: DimensionValue | undefined;
|
|
75
|
+
marginHorizontal?: DimensionValue | undefined;
|
|
76
|
+
marginLeft?: DimensionValue | undefined;
|
|
77
|
+
marginRight?: DimensionValue | undefined;
|
|
78
|
+
marginStart?: DimensionValue | undefined;
|
|
79
|
+
marginTop?: DimensionValue | undefined;
|
|
80
|
+
marginVertical?: DimensionValue | undefined;
|
|
81
|
+
maxHeight?: DimensionValue | undefined;
|
|
82
|
+
maxWidth?: DimensionValue | undefined;
|
|
83
|
+
minHeight?: DimensionValue | undefined;
|
|
84
|
+
minWidth?: DimensionValue | undefined;
|
|
85
85
|
overflow: "visible" | "hidden" | "scroll";
|
|
86
|
-
padding?:
|
|
87
|
-
paddingBottom?:
|
|
88
|
-
paddingEnd?:
|
|
89
|
-
paddingHorizontal?:
|
|
90
|
-
paddingLeft?:
|
|
91
|
-
paddingRight?:
|
|
92
|
-
paddingStart?:
|
|
93
|
-
paddingTop?:
|
|
94
|
-
paddingVertical?:
|
|
86
|
+
padding?: DimensionValue | undefined;
|
|
87
|
+
paddingBottom?: DimensionValue | undefined;
|
|
88
|
+
paddingEnd?: DimensionValue | undefined;
|
|
89
|
+
paddingHorizontal?: DimensionValue | undefined;
|
|
90
|
+
paddingLeft?: DimensionValue | undefined;
|
|
91
|
+
paddingRight?: DimensionValue | undefined;
|
|
92
|
+
paddingStart?: DimensionValue | undefined;
|
|
93
|
+
paddingTop?: DimensionValue | undefined;
|
|
94
|
+
paddingVertical?: DimensionValue | undefined;
|
|
95
95
|
position?: "absolute" | "relative" | undefined;
|
|
96
|
-
right?:
|
|
97
|
-
start?:
|
|
98
|
-
top?:
|
|
99
|
-
width?:
|
|
96
|
+
right?: DimensionValue | undefined;
|
|
97
|
+
start?: DimensionValue | undefined;
|
|
98
|
+
top?: DimensionValue | undefined;
|
|
99
|
+
width?: DimensionValue | undefined;
|
|
100
100
|
zIndex?: number | undefined;
|
|
101
101
|
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
102
102
|
shadowColor?: import("react-native").ColorValue | undefined;
|
|
@@ -115,8 +115,6 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
115
115
|
translateY?: import("react-native").AnimatableNumericValue | undefined;
|
|
116
116
|
};
|
|
117
117
|
contentContainer: {
|
|
118
|
-
paddingHorizontal: number;
|
|
119
|
-
paddingVertical: number;
|
|
120
118
|
backfaceVisibility?: "visible" | "hidden" | undefined;
|
|
121
119
|
backgroundColor: import("react-native").ColorValue;
|
|
122
120
|
borderBlockColor?: import("react-native").ColorValue | undefined;
|
|
@@ -158,11 +156,11 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
158
156
|
borderStartWidth?: number | undefined;
|
|
159
157
|
borderTopWidth?: number | undefined;
|
|
160
158
|
borderWidth?: number | undefined;
|
|
161
|
-
bottom?:
|
|
159
|
+
bottom?: DimensionValue | undefined;
|
|
162
160
|
display?: "none" | "flex" | undefined;
|
|
163
|
-
end?:
|
|
161
|
+
end?: DimensionValue | undefined;
|
|
164
162
|
flex?: number | undefined;
|
|
165
|
-
flexBasis?:
|
|
163
|
+
flexBasis?: DimensionValue | undefined;
|
|
166
164
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
167
165
|
rowGap?: number | undefined;
|
|
168
166
|
gap?: number | undefined;
|
|
@@ -170,35 +168,37 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
170
168
|
flexGrow?: number | undefined;
|
|
171
169
|
flexShrink?: number | undefined;
|
|
172
170
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
173
|
-
height?:
|
|
171
|
+
height?: DimensionValue | undefined;
|
|
174
172
|
justifyContent: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly";
|
|
175
|
-
left?:
|
|
176
|
-
margin?:
|
|
177
|
-
marginBottom?:
|
|
178
|
-
marginEnd?:
|
|
179
|
-
marginHorizontal?:
|
|
180
|
-
marginLeft?:
|
|
181
|
-
marginRight?:
|
|
182
|
-
marginStart?:
|
|
183
|
-
marginTop?:
|
|
184
|
-
marginVertical?:
|
|
185
|
-
maxHeight?:
|
|
186
|
-
maxWidth?:
|
|
187
|
-
minHeight?:
|
|
188
|
-
minWidth?:
|
|
173
|
+
left?: DimensionValue | undefined;
|
|
174
|
+
margin?: DimensionValue | undefined;
|
|
175
|
+
marginBottom?: DimensionValue | undefined;
|
|
176
|
+
marginEnd?: DimensionValue | undefined;
|
|
177
|
+
marginHorizontal?: DimensionValue | undefined;
|
|
178
|
+
marginLeft?: DimensionValue | undefined;
|
|
179
|
+
marginRight?: DimensionValue | undefined;
|
|
180
|
+
marginStart?: DimensionValue | undefined;
|
|
181
|
+
marginTop?: DimensionValue | undefined;
|
|
182
|
+
marginVertical?: DimensionValue | undefined;
|
|
183
|
+
maxHeight?: DimensionValue | undefined;
|
|
184
|
+
maxWidth?: DimensionValue | undefined;
|
|
185
|
+
minHeight?: DimensionValue | undefined;
|
|
186
|
+
minWidth?: DimensionValue | undefined;
|
|
189
187
|
overflow: "visible" | "hidden" | "scroll";
|
|
190
|
-
padding?:
|
|
191
|
-
paddingBottom?:
|
|
192
|
-
paddingEnd?:
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
188
|
+
padding?: DimensionValue | undefined;
|
|
189
|
+
paddingBottom?: DimensionValue | undefined;
|
|
190
|
+
paddingEnd?: DimensionValue | undefined;
|
|
191
|
+
paddingHorizontal: DimensionValue;
|
|
192
|
+
paddingLeft?: DimensionValue | undefined;
|
|
193
|
+
paddingRight?: DimensionValue | undefined;
|
|
194
|
+
paddingStart?: DimensionValue | undefined;
|
|
195
|
+
paddingTop?: DimensionValue | undefined;
|
|
196
|
+
paddingVertical?: DimensionValue | undefined;
|
|
197
197
|
position?: "absolute" | "relative" | undefined;
|
|
198
|
-
right?:
|
|
199
|
-
start?:
|
|
200
|
-
top?:
|
|
201
|
-
width?:
|
|
198
|
+
right?: DimensionValue | undefined;
|
|
199
|
+
start?: DimensionValue | undefined;
|
|
200
|
+
top?: DimensionValue | undefined;
|
|
201
|
+
width?: DimensionValue | undefined;
|
|
202
202
|
zIndex?: number | undefined;
|
|
203
203
|
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
204
204
|
shadowColor?: import("react-native").ColorValue | undefined;
|
|
@@ -258,11 +258,11 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
258
258
|
borderStartWidth?: number | undefined;
|
|
259
259
|
borderTopWidth?: number | undefined;
|
|
260
260
|
borderWidth?: number | undefined;
|
|
261
|
-
bottom?:
|
|
261
|
+
bottom?: DimensionValue | undefined;
|
|
262
262
|
display?: "none" | "flex" | undefined;
|
|
263
|
-
end?:
|
|
263
|
+
end?: DimensionValue | undefined;
|
|
264
264
|
flex?: number | undefined;
|
|
265
|
-
flexBasis?:
|
|
265
|
+
flexBasis?: DimensionValue | undefined;
|
|
266
266
|
flexDirection: "row" | "column" | "row-reverse" | "column-reverse";
|
|
267
267
|
rowGap?: number | undefined;
|
|
268
268
|
gap?: number | undefined;
|
|
@@ -270,37 +270,37 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
270
270
|
flexGrow?: number | undefined;
|
|
271
271
|
flexShrink?: number | undefined;
|
|
272
272
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
273
|
-
height?:
|
|
273
|
+
height?: DimensionValue | undefined;
|
|
274
274
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
275
|
-
left?:
|
|
276
|
-
margin?:
|
|
277
|
-
marginBottom:
|
|
278
|
-
marginEnd?:
|
|
279
|
-
marginHorizontal?:
|
|
280
|
-
marginLeft?:
|
|
281
|
-
marginRight?:
|
|
282
|
-
marginStart?:
|
|
283
|
-
marginTop:
|
|
284
|
-
marginVertical?:
|
|
285
|
-
maxHeight?:
|
|
286
|
-
maxWidth?:
|
|
287
|
-
minHeight?:
|
|
288
|
-
minWidth?:
|
|
275
|
+
left?: DimensionValue | undefined;
|
|
276
|
+
margin?: DimensionValue | undefined;
|
|
277
|
+
marginBottom: DimensionValue;
|
|
278
|
+
marginEnd?: DimensionValue | undefined;
|
|
279
|
+
marginHorizontal?: DimensionValue | undefined;
|
|
280
|
+
marginLeft?: DimensionValue | undefined;
|
|
281
|
+
marginRight?: DimensionValue | undefined;
|
|
282
|
+
marginStart?: DimensionValue | undefined;
|
|
283
|
+
marginTop: DimensionValue;
|
|
284
|
+
marginVertical?: DimensionValue | undefined;
|
|
285
|
+
maxHeight?: DimensionValue | undefined;
|
|
286
|
+
maxWidth?: DimensionValue | undefined;
|
|
287
|
+
minHeight?: DimensionValue | undefined;
|
|
288
|
+
minWidth?: DimensionValue | undefined;
|
|
289
289
|
overflow?: "visible" | "hidden" | "scroll" | undefined;
|
|
290
|
-
padding?:
|
|
291
|
-
paddingBottom?:
|
|
292
|
-
paddingEnd?:
|
|
293
|
-
paddingHorizontal?:
|
|
294
|
-
paddingLeft?:
|
|
295
|
-
paddingRight?:
|
|
296
|
-
paddingStart?:
|
|
297
|
-
paddingTop?:
|
|
298
|
-
paddingVertical?:
|
|
290
|
+
padding?: DimensionValue | undefined;
|
|
291
|
+
paddingBottom?: DimensionValue | undefined;
|
|
292
|
+
paddingEnd?: DimensionValue | undefined;
|
|
293
|
+
paddingHorizontal?: DimensionValue | undefined;
|
|
294
|
+
paddingLeft?: DimensionValue | undefined;
|
|
295
|
+
paddingRight?: DimensionValue | undefined;
|
|
296
|
+
paddingStart?: DimensionValue | undefined;
|
|
297
|
+
paddingTop?: DimensionValue | undefined;
|
|
298
|
+
paddingVertical?: DimensionValue | undefined;
|
|
299
299
|
position?: "absolute" | "relative" | undefined;
|
|
300
|
-
right?:
|
|
301
|
-
start?:
|
|
302
|
-
top?:
|
|
303
|
-
width?:
|
|
300
|
+
right?: DimensionValue | undefined;
|
|
301
|
+
start?: DimensionValue | undefined;
|
|
302
|
+
top?: DimensionValue | undefined;
|
|
303
|
+
width?: DimensionValue | undefined;
|
|
304
304
|
zIndex?: number | undefined;
|
|
305
305
|
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
306
306
|
shadowColor?: import("react-native").ColorValue | undefined;
|
|
@@ -323,7 +323,7 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
323
323
|
fontFamily?: string | undefined;
|
|
324
324
|
fontSize: number;
|
|
325
325
|
fontStyle?: "normal" | "italic" | undefined;
|
|
326
|
-
fontWeight?: "bold" | "
|
|
326
|
+
fontWeight?: "bold" | "100" | "normal" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
327
327
|
letterSpacing?: number | undefined;
|
|
328
328
|
lineHeight?: number | undefined;
|
|
329
329
|
textAlign?: "auto" | "center" | "left" | "right" | "justify" | undefined;
|
|
@@ -381,11 +381,11 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
381
381
|
borderStartWidth?: number | undefined;
|
|
382
382
|
borderTopWidth?: number | undefined;
|
|
383
383
|
borderWidth: number;
|
|
384
|
-
bottom?:
|
|
384
|
+
bottom?: DimensionValue | undefined;
|
|
385
385
|
display?: "none" | "flex" | undefined;
|
|
386
|
-
end?:
|
|
386
|
+
end?: DimensionValue | undefined;
|
|
387
387
|
flex?: number | undefined;
|
|
388
|
-
flexBasis?:
|
|
388
|
+
flexBasis?: DimensionValue | undefined;
|
|
389
389
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
390
390
|
rowGap?: number | undefined;
|
|
391
391
|
gap?: number | undefined;
|
|
@@ -393,37 +393,37 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
393
393
|
flexGrow?: number | undefined;
|
|
394
394
|
flexShrink?: number | undefined;
|
|
395
395
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
396
|
-
height?:
|
|
396
|
+
height?: DimensionValue | undefined;
|
|
397
397
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
398
|
-
left?:
|
|
399
|
-
margin?:
|
|
400
|
-
marginBottom?:
|
|
401
|
-
marginEnd?:
|
|
402
|
-
marginHorizontal:
|
|
403
|
-
marginLeft?:
|
|
404
|
-
marginRight?:
|
|
405
|
-
marginStart?:
|
|
406
|
-
marginTop?:
|
|
407
|
-
marginVertical?:
|
|
408
|
-
maxHeight?:
|
|
409
|
-
maxWidth?:
|
|
410
|
-
minHeight?:
|
|
411
|
-
minWidth?:
|
|
398
|
+
left?: DimensionValue | undefined;
|
|
399
|
+
margin?: DimensionValue | undefined;
|
|
400
|
+
marginBottom?: DimensionValue | undefined;
|
|
401
|
+
marginEnd?: DimensionValue | undefined;
|
|
402
|
+
marginHorizontal: DimensionValue;
|
|
403
|
+
marginLeft?: DimensionValue | undefined;
|
|
404
|
+
marginRight?: DimensionValue | undefined;
|
|
405
|
+
marginStart?: DimensionValue | undefined;
|
|
406
|
+
marginTop?: DimensionValue | undefined;
|
|
407
|
+
marginVertical?: DimensionValue | undefined;
|
|
408
|
+
maxHeight?: DimensionValue | undefined;
|
|
409
|
+
maxWidth?: DimensionValue | undefined;
|
|
410
|
+
minHeight?: DimensionValue | undefined;
|
|
411
|
+
minWidth?: DimensionValue | undefined;
|
|
412
412
|
overflow: "visible" | "hidden" | "scroll";
|
|
413
|
-
padding?:
|
|
414
|
-
paddingBottom?:
|
|
415
|
-
paddingEnd?:
|
|
416
|
-
paddingHorizontal:
|
|
417
|
-
paddingLeft?:
|
|
418
|
-
paddingRight?:
|
|
419
|
-
paddingStart?:
|
|
420
|
-
paddingTop?:
|
|
421
|
-
paddingVertical:
|
|
413
|
+
padding?: DimensionValue | undefined;
|
|
414
|
+
paddingBottom?: DimensionValue | undefined;
|
|
415
|
+
paddingEnd?: DimensionValue | undefined;
|
|
416
|
+
paddingHorizontal: DimensionValue;
|
|
417
|
+
paddingLeft?: DimensionValue | undefined;
|
|
418
|
+
paddingRight?: DimensionValue | undefined;
|
|
419
|
+
paddingStart?: DimensionValue | undefined;
|
|
420
|
+
paddingTop?: DimensionValue | undefined;
|
|
421
|
+
paddingVertical: DimensionValue;
|
|
422
422
|
position?: "absolute" | "relative" | undefined;
|
|
423
|
-
right?:
|
|
424
|
-
start?:
|
|
425
|
-
top?:
|
|
426
|
-
width?:
|
|
423
|
+
right?: DimensionValue | undefined;
|
|
424
|
+
start?: DimensionValue | undefined;
|
|
425
|
+
top?: DimensionValue | undefined;
|
|
426
|
+
width?: DimensionValue | undefined;
|
|
427
427
|
zIndex?: number | undefined;
|
|
428
428
|
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
429
429
|
shadowColor?: import("react-native").ColorValue | undefined;
|
|
@@ -449,7 +449,7 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
449
449
|
fontFamily?: string | undefined;
|
|
450
450
|
fontSize?: number | undefined;
|
|
451
451
|
fontStyle?: "normal" | "italic" | undefined;
|
|
452
|
-
fontWeight?: "bold" | "
|
|
452
|
+
fontWeight?: "bold" | "100" | "normal" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
453
453
|
letterSpacing?: number | undefined;
|
|
454
454
|
lineHeight?: number | undefined;
|
|
455
455
|
textAlign?: "auto" | "center" | "left" | "right" | "justify" | undefined;
|
|
@@ -507,11 +507,11 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
507
507
|
borderStartWidth?: number | undefined;
|
|
508
508
|
borderTopWidth?: number | undefined;
|
|
509
509
|
borderWidth?: number | undefined;
|
|
510
|
-
bottom?:
|
|
510
|
+
bottom?: DimensionValue | undefined;
|
|
511
511
|
display?: "none" | "flex" | undefined;
|
|
512
|
-
end?:
|
|
512
|
+
end?: DimensionValue | undefined;
|
|
513
513
|
flex?: number | undefined;
|
|
514
|
-
flexBasis?:
|
|
514
|
+
flexBasis?: DimensionValue | undefined;
|
|
515
515
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
516
516
|
rowGap?: number | undefined;
|
|
517
517
|
gap?: number | undefined;
|
|
@@ -519,37 +519,37 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
519
519
|
flexGrow?: number | undefined;
|
|
520
520
|
flexShrink?: number | undefined;
|
|
521
521
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
522
|
-
height?:
|
|
522
|
+
height?: DimensionValue | undefined;
|
|
523
523
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
524
|
-
left?:
|
|
525
|
-
margin?:
|
|
526
|
-
marginBottom?:
|
|
527
|
-
marginEnd?:
|
|
528
|
-
marginHorizontal?:
|
|
529
|
-
marginLeft?:
|
|
530
|
-
marginRight?:
|
|
531
|
-
marginStart?:
|
|
532
|
-
marginTop?:
|
|
533
|
-
marginVertical?:
|
|
534
|
-
maxHeight?:
|
|
535
|
-
maxWidth?:
|
|
536
|
-
minHeight?:
|
|
537
|
-
minWidth?:
|
|
524
|
+
left?: DimensionValue | undefined;
|
|
525
|
+
margin?: DimensionValue | undefined;
|
|
526
|
+
marginBottom?: DimensionValue | undefined;
|
|
527
|
+
marginEnd?: DimensionValue | undefined;
|
|
528
|
+
marginHorizontal?: DimensionValue | undefined;
|
|
529
|
+
marginLeft?: DimensionValue | undefined;
|
|
530
|
+
marginRight?: DimensionValue | undefined;
|
|
531
|
+
marginStart?: DimensionValue | undefined;
|
|
532
|
+
marginTop?: DimensionValue | undefined;
|
|
533
|
+
marginVertical?: DimensionValue | undefined;
|
|
534
|
+
maxHeight?: DimensionValue | undefined;
|
|
535
|
+
maxWidth?: DimensionValue | undefined;
|
|
536
|
+
minHeight?: DimensionValue | undefined;
|
|
537
|
+
minWidth?: DimensionValue | undefined;
|
|
538
538
|
overflow?: "visible" | "hidden" | "scroll" | undefined;
|
|
539
|
-
padding?:
|
|
540
|
-
paddingBottom?:
|
|
541
|
-
paddingEnd?:
|
|
542
|
-
paddingHorizontal?:
|
|
543
|
-
paddingLeft?:
|
|
544
|
-
paddingRight?:
|
|
545
|
-
paddingStart?:
|
|
546
|
-
paddingTop?:
|
|
547
|
-
paddingVertical?:
|
|
539
|
+
padding?: DimensionValue | undefined;
|
|
540
|
+
paddingBottom?: DimensionValue | undefined;
|
|
541
|
+
paddingEnd?: DimensionValue | undefined;
|
|
542
|
+
paddingHorizontal?: DimensionValue | undefined;
|
|
543
|
+
paddingLeft?: DimensionValue | undefined;
|
|
544
|
+
paddingRight?: DimensionValue | undefined;
|
|
545
|
+
paddingStart?: DimensionValue | undefined;
|
|
546
|
+
paddingTop?: DimensionValue | undefined;
|
|
547
|
+
paddingVertical?: DimensionValue | undefined;
|
|
548
548
|
position?: "absolute" | "relative" | undefined;
|
|
549
|
-
right?:
|
|
550
|
-
start?:
|
|
551
|
-
top?:
|
|
552
|
-
width?:
|
|
549
|
+
right?: DimensionValue | undefined;
|
|
550
|
+
start?: DimensionValue | undefined;
|
|
551
|
+
top?: DimensionValue | undefined;
|
|
552
|
+
width?: DimensionValue | undefined;
|
|
553
553
|
zIndex?: number | undefined;
|
|
554
554
|
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
555
555
|
shadowColor?: import("react-native").ColorValue | undefined;
|
|
@@ -575,7 +575,7 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
575
575
|
fontFamily?: string | undefined;
|
|
576
576
|
fontSize?: number | undefined;
|
|
577
577
|
fontStyle?: "normal" | "italic" | undefined;
|
|
578
|
-
fontWeight?: "bold" | "
|
|
578
|
+
fontWeight?: "bold" | "100" | "normal" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
579
579
|
letterSpacing?: number | undefined;
|
|
580
580
|
lineHeight?: number | undefined;
|
|
581
581
|
textAlign?: "auto" | "center" | "left" | "right" | "justify" | undefined;
|
|
@@ -633,11 +633,11 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
633
633
|
borderStartWidth?: number | undefined;
|
|
634
634
|
borderTopWidth?: number | undefined;
|
|
635
635
|
borderWidth?: number | undefined;
|
|
636
|
-
bottom?:
|
|
636
|
+
bottom?: DimensionValue | undefined;
|
|
637
637
|
display?: "none" | "flex" | undefined;
|
|
638
|
-
end?:
|
|
638
|
+
end?: DimensionValue | undefined;
|
|
639
639
|
flex?: number | undefined;
|
|
640
|
-
flexBasis?:
|
|
640
|
+
flexBasis?: DimensionValue | undefined;
|
|
641
641
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
642
642
|
rowGap?: number | undefined;
|
|
643
643
|
gap?: number | undefined;
|
|
@@ -645,37 +645,37 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
645
645
|
flexGrow?: number | undefined;
|
|
646
646
|
flexShrink?: number | undefined;
|
|
647
647
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
648
|
-
height?:
|
|
648
|
+
height?: DimensionValue | undefined;
|
|
649
649
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
650
|
-
left?:
|
|
651
|
-
margin?:
|
|
652
|
-
marginBottom?:
|
|
653
|
-
marginEnd?:
|
|
654
|
-
marginHorizontal?:
|
|
655
|
-
marginLeft?:
|
|
656
|
-
marginRight?:
|
|
657
|
-
marginStart?:
|
|
658
|
-
marginTop?:
|
|
659
|
-
marginVertical?:
|
|
660
|
-
maxHeight?:
|
|
661
|
-
maxWidth?:
|
|
662
|
-
minHeight?:
|
|
663
|
-
minWidth?:
|
|
650
|
+
left?: DimensionValue | undefined;
|
|
651
|
+
margin?: DimensionValue | undefined;
|
|
652
|
+
marginBottom?: DimensionValue | undefined;
|
|
653
|
+
marginEnd?: DimensionValue | undefined;
|
|
654
|
+
marginHorizontal?: DimensionValue | undefined;
|
|
655
|
+
marginLeft?: DimensionValue | undefined;
|
|
656
|
+
marginRight?: DimensionValue | undefined;
|
|
657
|
+
marginStart?: DimensionValue | undefined;
|
|
658
|
+
marginTop?: DimensionValue | undefined;
|
|
659
|
+
marginVertical?: DimensionValue | undefined;
|
|
660
|
+
maxHeight?: DimensionValue | undefined;
|
|
661
|
+
maxWidth?: DimensionValue | undefined;
|
|
662
|
+
minHeight?: DimensionValue | undefined;
|
|
663
|
+
minWidth?: DimensionValue | undefined;
|
|
664
664
|
overflow?: "visible" | "hidden" | "scroll" | undefined;
|
|
665
|
-
padding?:
|
|
666
|
-
paddingBottom?:
|
|
667
|
-
paddingEnd?:
|
|
668
|
-
paddingHorizontal?:
|
|
669
|
-
paddingLeft?:
|
|
670
|
-
paddingRight?:
|
|
671
|
-
paddingStart?:
|
|
672
|
-
paddingTop?:
|
|
673
|
-
paddingVertical?:
|
|
665
|
+
padding?: DimensionValue | undefined;
|
|
666
|
+
paddingBottom?: DimensionValue | undefined;
|
|
667
|
+
paddingEnd?: DimensionValue | undefined;
|
|
668
|
+
paddingHorizontal?: DimensionValue | undefined;
|
|
669
|
+
paddingLeft?: DimensionValue | undefined;
|
|
670
|
+
paddingRight?: DimensionValue | undefined;
|
|
671
|
+
paddingStart?: DimensionValue | undefined;
|
|
672
|
+
paddingTop?: DimensionValue | undefined;
|
|
673
|
+
paddingVertical?: DimensionValue | undefined;
|
|
674
674
|
position?: "absolute" | "relative" | undefined;
|
|
675
|
-
right?:
|
|
676
|
-
start?:
|
|
677
|
-
top?:
|
|
678
|
-
width?:
|
|
675
|
+
right?: DimensionValue | undefined;
|
|
676
|
+
start?: DimensionValue | undefined;
|
|
677
|
+
top?: DimensionValue | undefined;
|
|
678
|
+
width?: DimensionValue | undefined;
|
|
679
679
|
zIndex?: number | undefined;
|
|
680
680
|
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
681
681
|
shadowColor?: import("react-native").ColorValue | undefined;
|
|
@@ -701,7 +701,7 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
701
701
|
fontFamily?: string | undefined;
|
|
702
702
|
fontSize: number;
|
|
703
703
|
fontStyle?: "normal" | "italic" | undefined;
|
|
704
|
-
fontWeight: "bold" | "
|
|
704
|
+
fontWeight: "bold" | "100" | "normal" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
|
|
705
705
|
letterSpacing?: number | undefined;
|
|
706
706
|
lineHeight?: number | undefined;
|
|
707
707
|
textAlign?: "auto" | "center" | "left" | "right" | "justify" | undefined;
|
|
@@ -759,11 +759,11 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
759
759
|
borderStartWidth?: number | undefined;
|
|
760
760
|
borderTopWidth?: number | undefined;
|
|
761
761
|
borderWidth?: number | undefined;
|
|
762
|
-
bottom?:
|
|
762
|
+
bottom?: DimensionValue | undefined;
|
|
763
763
|
display?: "none" | "flex" | undefined;
|
|
764
|
-
end?:
|
|
764
|
+
end?: DimensionValue | undefined;
|
|
765
765
|
flex?: number | undefined;
|
|
766
|
-
flexBasis?:
|
|
766
|
+
flexBasis?: DimensionValue | undefined;
|
|
767
767
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
768
768
|
rowGap?: number | undefined;
|
|
769
769
|
gap?: number | undefined;
|
|
@@ -771,37 +771,37 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
771
771
|
flexGrow?: number | undefined;
|
|
772
772
|
flexShrink?: number | undefined;
|
|
773
773
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
774
|
-
height?:
|
|
774
|
+
height?: DimensionValue | undefined;
|
|
775
775
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
776
|
-
left?:
|
|
777
|
-
margin?:
|
|
778
|
-
marginBottom:
|
|
779
|
-
marginEnd?:
|
|
780
|
-
marginHorizontal?:
|
|
781
|
-
marginLeft?:
|
|
782
|
-
marginRight?:
|
|
783
|
-
marginStart?:
|
|
784
|
-
marginTop:
|
|
785
|
-
marginVertical?:
|
|
786
|
-
maxHeight?:
|
|
787
|
-
maxWidth?:
|
|
788
|
-
minHeight?:
|
|
789
|
-
minWidth?:
|
|
776
|
+
left?: DimensionValue | undefined;
|
|
777
|
+
margin?: DimensionValue | undefined;
|
|
778
|
+
marginBottom: DimensionValue;
|
|
779
|
+
marginEnd?: DimensionValue | undefined;
|
|
780
|
+
marginHorizontal?: DimensionValue | undefined;
|
|
781
|
+
marginLeft?: DimensionValue | undefined;
|
|
782
|
+
marginRight?: DimensionValue | undefined;
|
|
783
|
+
marginStart?: DimensionValue | undefined;
|
|
784
|
+
marginTop: DimensionValue;
|
|
785
|
+
marginVertical?: DimensionValue | undefined;
|
|
786
|
+
maxHeight?: DimensionValue | undefined;
|
|
787
|
+
maxWidth?: DimensionValue | undefined;
|
|
788
|
+
minHeight?: DimensionValue | undefined;
|
|
789
|
+
minWidth?: DimensionValue | undefined;
|
|
790
790
|
overflow?: "visible" | "hidden" | "scroll" | undefined;
|
|
791
|
-
padding?:
|
|
792
|
-
paddingBottom?:
|
|
793
|
-
paddingEnd?:
|
|
794
|
-
paddingHorizontal?:
|
|
795
|
-
paddingLeft?:
|
|
796
|
-
paddingRight?:
|
|
797
|
-
paddingStart?:
|
|
798
|
-
paddingTop?:
|
|
799
|
-
paddingVertical?:
|
|
791
|
+
padding?: DimensionValue | undefined;
|
|
792
|
+
paddingBottom?: DimensionValue | undefined;
|
|
793
|
+
paddingEnd?: DimensionValue | undefined;
|
|
794
|
+
paddingHorizontal?: DimensionValue | undefined;
|
|
795
|
+
paddingLeft?: DimensionValue | undefined;
|
|
796
|
+
paddingRight?: DimensionValue | undefined;
|
|
797
|
+
paddingStart?: DimensionValue | undefined;
|
|
798
|
+
paddingTop?: DimensionValue | undefined;
|
|
799
|
+
paddingVertical?: DimensionValue | undefined;
|
|
800
800
|
position?: "absolute" | "relative" | undefined;
|
|
801
|
-
right?:
|
|
802
|
-
start?:
|
|
803
|
-
top?:
|
|
804
|
-
width?:
|
|
801
|
+
right?: DimensionValue | undefined;
|
|
802
|
+
start?: DimensionValue | undefined;
|
|
803
|
+
top?: DimensionValue | undefined;
|
|
804
|
+
width?: DimensionValue | undefined;
|
|
805
805
|
zIndex?: number | undefined;
|
|
806
806
|
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
807
807
|
shadowColor?: import("react-native").ColorValue | undefined;
|
|
@@ -865,11 +865,11 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
865
865
|
borderStartWidth?: number | undefined;
|
|
866
866
|
borderTopWidth?: number | undefined;
|
|
867
867
|
borderWidth?: number | undefined;
|
|
868
|
-
bottom?:
|
|
868
|
+
bottom?: DimensionValue | undefined;
|
|
869
869
|
display?: "none" | "flex" | undefined;
|
|
870
|
-
end?:
|
|
870
|
+
end?: DimensionValue | undefined;
|
|
871
871
|
flex?: number | undefined;
|
|
872
|
-
flexBasis?:
|
|
872
|
+
flexBasis?: DimensionValue | undefined;
|
|
873
873
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
874
874
|
rowGap?: number | undefined;
|
|
875
875
|
gap?: number | undefined;
|
|
@@ -877,37 +877,37 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
877
877
|
flexGrow?: number | undefined;
|
|
878
878
|
flexShrink?: number | undefined;
|
|
879
879
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
880
|
-
height?:
|
|
880
|
+
height?: DimensionValue | undefined;
|
|
881
881
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
882
|
-
left?:
|
|
883
|
-
margin?:
|
|
884
|
-
marginBottom?:
|
|
885
|
-
marginEnd?:
|
|
886
|
-
marginHorizontal?:
|
|
887
|
-
marginLeft?:
|
|
888
|
-
marginRight
|
|
889
|
-
marginStart?:
|
|
890
|
-
marginTop?:
|
|
891
|
-
marginVertical?:
|
|
892
|
-
maxHeight?:
|
|
893
|
-
maxWidth?:
|
|
894
|
-
minHeight?:
|
|
895
|
-
minWidth?:
|
|
882
|
+
left?: DimensionValue | undefined;
|
|
883
|
+
margin?: DimensionValue | undefined;
|
|
884
|
+
marginBottom?: DimensionValue | undefined;
|
|
885
|
+
marginEnd?: DimensionValue | undefined;
|
|
886
|
+
marginHorizontal?: DimensionValue | undefined;
|
|
887
|
+
marginLeft?: DimensionValue | undefined;
|
|
888
|
+
marginRight: DimensionValue;
|
|
889
|
+
marginStart?: DimensionValue | undefined;
|
|
890
|
+
marginTop?: DimensionValue | undefined;
|
|
891
|
+
marginVertical?: DimensionValue | undefined;
|
|
892
|
+
maxHeight?: DimensionValue | undefined;
|
|
893
|
+
maxWidth?: DimensionValue | undefined;
|
|
894
|
+
minHeight?: DimensionValue | undefined;
|
|
895
|
+
minWidth?: DimensionValue | undefined;
|
|
896
896
|
overflow?: "visible" | "hidden" | "scroll" | undefined;
|
|
897
|
-
padding?:
|
|
898
|
-
paddingBottom?:
|
|
899
|
-
paddingEnd?:
|
|
900
|
-
paddingHorizontal
|
|
901
|
-
paddingLeft?:
|
|
902
|
-
paddingRight?:
|
|
903
|
-
paddingStart?:
|
|
904
|
-
paddingTop:
|
|
905
|
-
paddingVertical?:
|
|
897
|
+
padding?: DimensionValue | undefined;
|
|
898
|
+
paddingBottom?: DimensionValue | undefined;
|
|
899
|
+
paddingEnd?: DimensionValue | undefined;
|
|
900
|
+
paddingHorizontal?: DimensionValue | undefined;
|
|
901
|
+
paddingLeft?: DimensionValue | undefined;
|
|
902
|
+
paddingRight?: DimensionValue | undefined;
|
|
903
|
+
paddingStart?: DimensionValue | undefined;
|
|
904
|
+
paddingTop: DimensionValue;
|
|
905
|
+
paddingVertical?: DimensionValue | undefined;
|
|
906
906
|
position?: "absolute" | "relative" | undefined;
|
|
907
|
-
right?:
|
|
908
|
-
start?:
|
|
909
|
-
top?:
|
|
910
|
-
width?:
|
|
907
|
+
right?: DimensionValue | undefined;
|
|
908
|
+
start?: DimensionValue | undefined;
|
|
909
|
+
top?: DimensionValue | undefined;
|
|
910
|
+
width?: DimensionValue | undefined;
|
|
911
911
|
zIndex?: number | undefined;
|
|
912
912
|
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
913
913
|
shadowColor?: import("react-native").ColorValue | undefined;
|
|
@@ -931,6 +931,7 @@ export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles
|
|
|
931
931
|
durationScrollFlatList?: ViewStyle | undefined;
|
|
932
932
|
durationScrollFlatListContainer?: ViewStyle | undefined;
|
|
933
933
|
durationScrollFlatListContentContainer?: ViewStyle | undefined;
|
|
934
|
+
labelOffsetPercentage?: number | undefined;
|
|
934
935
|
pickerAmPmContainer?: ViewStyle | undefined;
|
|
935
936
|
pickerAmPmLabel?: TextStyle | undefined;
|
|
936
937
|
pickerGradientOverlay?: ViewStyle | undefined;
|