react-native-timer-picker 1.5.0 → 1.5.1

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 +1 @@
1
- {"version":3,"names":["_reactNative","require","DARK_MODE_BACKGROUND_COLOR","DARK_MODE_TEXT_COLOR","LIGHT_MODE_BACKGROUND_COLOR","LIGHT_MODE_TEXT_COLOR","generateStyles","customStyles","StyleSheet","create","container","justifyContent","alignItems","overflow","contentContainer","backgroundColor","theme","borderRadius","padding","buttonContainer","flexDirection","marginTop","button","marginHorizontal","paddingVertical","paddingHorizontal","borderWidth","fontSize","text","cancelButton","borderColor","color","undefined","confirmButton","modalTitle","fontWeight","marginBottom","exports"],"sources":["TimerPickerModal.styles.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { StyleSheet, Text, View } from \"react-native\";\n\nimport type { CustomTimerPickerStyles } from \"./TimerPicker/TimerPicker.styles\";\nimport { ComponentProps } from \"react\";\n\nexport interface CustomTimerPickerModalStyles extends CustomTimerPickerStyles {\n container?: ComponentProps<typeof View>;\n contentContainer?: ComponentProps<typeof View>;\n buttonContainer?: ComponentProps<typeof View>;\n button?: ComponentProps<typeof Text>;\n cancelButton?: ComponentProps<typeof Text>;\n confirmButton?: ComponentProps<typeof Text>;\n modalTitle?: ComponentProps<typeof Text>;\n}\n\nconst DARK_MODE_BACKGROUND_COLOR = \"#232323\";\nconst DARK_MODE_TEXT_COLOR = \"#E9E9E9\";\nconst LIGHT_MODE_BACKGROUND_COLOR = \"#F1F1F1\";\nconst LIGHT_MODE_TEXT_COLOR = \"#1B1B1B\";\n\nexport const generateStyles = (\n customStyles: CustomTimerPickerModalStyles | undefined\n) =>\n StyleSheet.create({\n container: {\n justifyContent: \"center\",\n alignItems: \"center\",\n overflow: \"hidden\",\n ...customStyles?.container,\n },\n contentContainer: {\n backgroundColor:\n customStyles?.backgroundColor ?? customStyles?.theme === \"dark\"\n ? DARK_MODE_BACKGROUND_COLOR\n : LIGHT_MODE_BACKGROUND_COLOR,\n justifyContent: \"center\",\n alignItems: \"center\",\n borderRadius: 20,\n padding: 20,\n ...customStyles?.contentContainer,\n },\n buttonContainer: {\n flexDirection: \"row\",\n marginTop: 25,\n ...customStyles?.buttonContainer,\n },\n button: {\n marginHorizontal: 12,\n paddingVertical: 10,\n paddingHorizontal: 20,\n borderWidth: 1,\n borderRadius: 10,\n fontSize: 16,\n overflow: \"hidden\",\n ...customStyles?.text,\n ...customStyles?.button,\n },\n cancelButton: {\n borderColor: \"gray\",\n color:\n customStyles?.theme === \"dark\" ? DARK_MODE_TEXT_COLOR : \"gray\",\n backgroundColor:\n customStyles?.theme === \"dark\" ? \"gray\" : undefined,\n ...customStyles?.text,\n ...customStyles?.cancelButton,\n },\n confirmButton: {\n borderColor: \"green\",\n color:\n customStyles?.theme === \"dark\" ? DARK_MODE_TEXT_COLOR : \"green\",\n backgroundColor:\n customStyles?.theme === \"dark\" ? \"green\" : undefined,\n ...customStyles?.text,\n ...customStyles?.confirmButton,\n },\n modalTitle: {\n fontSize: 24,\n fontWeight: \"bold\",\n marginBottom: 15,\n color:\n customStyles?.theme === \"dark\"\n ? DARK_MODE_TEXT_COLOR\n : LIGHT_MODE_TEXT_COLOR,\n ...customStyles?.text,\n ...customStyles?.modalTitle,\n },\n });\n"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AADA;;AAgBA,MAAMC,0BAA0B,GAAG,SAAS;AAC5C,MAAMC,oBAAoB,GAAG,SAAS;AACtC,MAAMC,2BAA2B,GAAG,SAAS;AAC7C,MAAMC,qBAAqB,GAAG,SAAS;AAEhC,MAAMC,cAAc,GACvBC,YAAsD,IAEtDC,uBAAU,CAACC,MAAM,CAAC;EACdC,SAAS,EAAE;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,QAAQ,EAAE,QAAQ;IAClB,IAAGN,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAA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AAZA,YAAY,CAAEsB,YAAY;EACjC,CAAC;EACDI,aAAa,EAAE;IACXH,WAAW,EAAE,OAAO;IACpBC,KAAK,EACD,CAAAxB,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAES,KAAK,MAAK,MAAM,GAAGb,oBAAoB,GAAG,OAAO;IACnEY,eAAe,EACX,CAAAR,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAES,KAAK,MAAK,MAAM,GAAG,OAAO,GAAGgB,SAAS;IACxD,IAAGzB,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEqB,IAAI;IACrB,IAAGrB,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAE0B,aAAa;EAClC,CAAC;EACDC,UAAU,EAAE;IACRP,QAAQ,EAAE,EAAE;IACZQ,UAAU,EAAE,MAAM;IAClBC,YAAY,EAAE,EAAE;IAChBL,KAAK,EACD,CAAAxB,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAES,KAAK,MAAK,MAAM,GACxBb,oBAAoB,GACpBE,qBAAqB;IAC/B,IAAGE,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEqB,IAAI;IACrB,IAAGrB,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAE2B,UAAU;EAC/B;AACJ,CAAC,CAAC;AAACG,OAAA,CAAA/B,cAAA,GAAAA,cAAA"}
1
+ {"version":3,"names":["_reactNative","require","DARK_MODE_BACKGROUND_COLOR","DARK_MODE_TEXT_COLOR","LIGHT_MODE_BACKGROUND_COLOR","LIGHT_MODE_TEXT_COLOR","generateStyles","customStyles","StyleSheet","create","container","justifyContent","alignItems","overflow","contentContainer","backgroundColor","theme","borderRadius","padding","buttonContainer","flexDirection","marginTop","button","marginHorizontal","paddingVertical","paddingHorizontal","borderWidth","fontSize","text","cancelButton","borderColor","color","undefined","confirmButton","modalTitle","fontWeight","marginBottom","exports"],"sources":["TimerPickerModal.styles.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { StyleSheet } from \"react-native\";\n\nimport type { CustomTimerPickerStyles } from \"./TimerPicker/TimerPicker.styles\";\n\nexport interface CustomTimerPickerModalStyles extends CustomTimerPickerStyles {\n container?: any;\n contentContainer?: any;\n buttonContainer?: any;\n button?: any;\n cancelButton?: any;\n confirmButton?: any;\n modalTitle?: any;\n}\n\nconst DARK_MODE_BACKGROUND_COLOR = \"#232323\";\nconst DARK_MODE_TEXT_COLOR = \"#E9E9E9\";\nconst LIGHT_MODE_BACKGROUND_COLOR = \"#F1F1F1\";\nconst LIGHT_MODE_TEXT_COLOR = \"#1B1B1B\";\n\nexport const generateStyles = (\n customStyles: CustomTimerPickerModalStyles | undefined\n) =>\n StyleSheet.create({\n container: {\n justifyContent: \"center\",\n alignItems: \"center\",\n overflow: \"hidden\",\n ...customStyles?.container,\n },\n contentContainer: {\n backgroundColor:\n customStyles?.backgroundColor ?? customStyles?.theme === \"dark\"\n ? DARK_MODE_BACKGROUND_COLOR\n : LIGHT_MODE_BACKGROUND_COLOR,\n justifyContent: \"center\",\n alignItems: \"center\",\n borderRadius: 20,\n padding: 20,\n ...customStyles?.contentContainer,\n },\n buttonContainer: {\n flexDirection: \"row\",\n marginTop: 25,\n ...customStyles?.buttonContainer,\n },\n button: {\n marginHorizontal: 12,\n paddingVertical: 10,\n paddingHorizontal: 20,\n borderWidth: 1,\n borderRadius: 10,\n fontSize: 16,\n overflow: \"hidden\",\n ...customStyles?.text,\n ...customStyles?.button,\n },\n cancelButton: {\n borderColor: \"gray\",\n color:\n customStyles?.theme === \"dark\" ? DARK_MODE_TEXT_COLOR : \"gray\",\n backgroundColor:\n customStyles?.theme === \"dark\" ? \"gray\" : undefined,\n ...customStyles?.text,\n ...customStyles?.cancelButton,\n },\n confirmButton: {\n borderColor: \"green\",\n color:\n customStyles?.theme === \"dark\" ? DARK_MODE_TEXT_COLOR : \"green\",\n backgroundColor:\n customStyles?.theme === \"dark\" ? \"green\" : undefined,\n ...customStyles?.text,\n ...customStyles?.confirmButton,\n },\n modalTitle: {\n fontSize: 24,\n fontWeight: \"bold\",\n marginBottom: 15,\n color:\n customStyles?.theme === \"dark\"\n ? DARK_MODE_TEXT_COLOR\n : LIGHT_MODE_TEXT_COLOR,\n ...customStyles?.text,\n ...customStyles?.modalTitle,\n },\n });\n"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AADA;;AAeA,MAAMC,0BAA0B,GAAG,SAAS;AAC5C,MAAMC,oBAAoB,GAAG,SAAS;AACtC,MAAMC,2BAA2B,GAAG,SAAS;AAC7C,MAAMC,qBAAqB,GAAG,SAAS;AAEhC,MAAMC,cAAc,GACvBC,YAAsD,IAEtDC,uBAAU,CAACC,MAAM,CAAC;EACdC,SAAS,EAAE;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,QAAQ,EAAE,QAAQ;IAClB,IAAGN,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEG,SAAS;EAC9B,CAAC;EACDI,gBAAgB,EAAE;IACdC,eAAe,EACX,CAAAR,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEQ,eAAe,KAAI,CAAAR,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAES,KAAK,MAAK,MAAM,GACzDd,0BAA0B,GAC1BE,2BAA2B;IACrCO,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBK,YAAY,EAAE,EAAE;IAChBC,OAAO,EAAE,EAAE;IACX,IAAGX,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEO,gBAAgB;EACrC,CAAC;EACDK,eAAe,EAAE;IACbC,aAAa,EAAE,KAAK;IACpBC,SAAS,EAAE,EAAE;IACb,IAAGd,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEY,eAAe;EACpC,CAAC;EACDG,MAAM,EAAE;IACJC,gBAAgB,EAAE,EAAE;IACpBC,eAAe,EAAE,EAAE;IACnBC,iBAAiB,EAAE,EAAE;IACrBC,WAA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AAqB;IAC/B,IAAGE,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEqB,IAAI;IACrB,IAAGrB,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAE2B,UAAU;EAC/B;AACJ,CAAC,CAAC;AAACG,OAAA,CAAA/B,cAAA,GAAAA,cAAA"}
@@ -1 +1 @@
1
- {"version":3,"names":["StyleSheet","DARK_MODE_BACKGROUND_COLOR","DARK_MODE_TEXT_COLOR","LIGHT_MODE_BACKGROUND_COLOR","LIGHT_MODE_TEXT_COLOR","generateStyles","customStyles","create","container","justifyContent","alignItems","overflow","contentContainer","backgroundColor","theme","borderRadius","padding","buttonContainer","flexDirection","marginTop","button","marginHorizontal","paddingVertical","paddingHorizontal","borderWidth","fontSize","text","cancelButton","borderColor","color","undefined","confirmButton","modalTitle","fontWeight","marginBottom"],"sources":["TimerPickerModal.styles.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { StyleSheet, Text, View } from \"react-native\";\n\nimport type { CustomTimerPickerStyles } from \"./TimerPicker/TimerPicker.styles\";\nimport { ComponentProps } from \"react\";\n\nexport interface CustomTimerPickerModalStyles extends CustomTimerPickerStyles {\n container?: ComponentProps<typeof View>;\n contentContainer?: ComponentProps<typeof View>;\n buttonContainer?: ComponentProps<typeof View>;\n button?: ComponentProps<typeof Text>;\n cancelButton?: ComponentProps<typeof Text>;\n confirmButton?: ComponentProps<typeof Text>;\n modalTitle?: ComponentProps<typeof Text>;\n}\n\nconst DARK_MODE_BACKGROUND_COLOR = \"#232323\";\nconst DARK_MODE_TEXT_COLOR = \"#E9E9E9\";\nconst LIGHT_MODE_BACKGROUND_COLOR = \"#F1F1F1\";\nconst LIGHT_MODE_TEXT_COLOR = \"#1B1B1B\";\n\nexport const generateStyles = (\n customStyles: CustomTimerPickerModalStyles | undefined\n) =>\n StyleSheet.create({\n container: {\n justifyContent: \"center\",\n alignItems: \"center\",\n overflow: \"hidden\",\n ...customStyles?.container,\n },\n contentContainer: {\n backgroundColor:\n customStyles?.backgroundColor ?? customStyles?.theme === \"dark\"\n ? DARK_MODE_BACKGROUND_COLOR\n : LIGHT_MODE_BACKGROUND_COLOR,\n justifyContent: \"center\",\n alignItems: \"center\",\n borderRadius: 20,\n padding: 20,\n ...customStyles?.contentContainer,\n },\n buttonContainer: {\n flexDirection: \"row\",\n marginTop: 25,\n ...customStyles?.buttonContainer,\n },\n button: {\n marginHorizontal: 12,\n paddingVertical: 10,\n paddingHorizontal: 20,\n borderWidth: 1,\n borderRadius: 10,\n fontSize: 16,\n overflow: \"hidden\",\n ...customStyles?.text,\n ...customStyles?.button,\n },\n cancelButton: {\n borderColor: \"gray\",\n color:\n customStyles?.theme === \"dark\" ? DARK_MODE_TEXT_COLOR : \"gray\",\n backgroundColor:\n customStyles?.theme === \"dark\" ? \"gray\" : undefined,\n ...customStyles?.text,\n ...customStyles?.cancelButton,\n },\n confirmButton: {\n borderColor: \"green\",\n color:\n customStyles?.theme === \"dark\" ? DARK_MODE_TEXT_COLOR : \"green\",\n backgroundColor:\n customStyles?.theme === \"dark\" ? \"green\" : undefined,\n ...customStyles?.text,\n ...customStyles?.confirmButton,\n },\n modalTitle: {\n fontSize: 24,\n fontWeight: \"bold\",\n marginBottom: 15,\n color:\n customStyles?.theme === \"dark\"\n ? DARK_MODE_TEXT_COLOR\n : LIGHT_MODE_TEXT_COLOR,\n ...customStyles?.text,\n ...customStyles?.modalTitle,\n },\n });\n"],"mappings":"AAAA;AACA,SAASA,UAAU,QAAoB,cAAc;AAerD,MAAMC,0BAA0B,GAAG,SAAS;AAC5C,MAAMC,oBAAoB,GAAG,SAAS;AACtC,MAAMC,2BAA2B,GAAG,SAAS;AAC7C,MAAMC,qBAAqB,GAAG,SAAS;AAEvC,OAAO,MAAMC,cAAc,GACvBC,YAAsD,IAEtDN,UAAU,CAACO,MAAM,CAAC;EACdC,SAAS,EAAE;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,Q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AAZA,YAAY,uBAAZA,YAAY,CAAEoB,IAAI;IACrB,IAAGpB,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEqB,YAAY;EACjC,CAAC;EACDI,aAAa,EAAE;IACXH,WAAW,EAAE,OAAO;IACpBC,KAAK,EACD,CAAAvB,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEQ,KAAK,MAAK,MAAM,GAAGZ,oBAAoB,GAAG,OAAO;IACnEW,eAAe,EACX,CAAAP,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEQ,KAAK,MAAK,MAAM,GAAG,OAAO,GAAGgB,SAAS;IACxD,IAAGxB,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEoB,IAAI;IACrB,IAAGpB,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEyB,aAAa;EAClC,CAAC;EACDC,UAAU,EAAE;IACRP,QAAQ,EAAE,EAAE;IACZQ,UAAU,EAAE,MAAM;IAClBC,YAAY,EAAE,EAAE;IAChBL,KAAK,EACD,CAAAvB,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEQ,KAAK,MAAK,MAAM,GACxBZ,oBAAoB,GACpBE,qBAAqB;IAC/B,IAAGE,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEoB,IAAI;IACrB,IAAGpB,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAE0B,UAAU;EAC/B;AACJ,CAAC,CAAC"}
1
+ {"version":3,"names":["StyleSheet","DARK_MODE_BACKGROUND_COLOR","DARK_MODE_TEXT_COLOR","LIGHT_MODE_BACKGROUND_COLOR","LIGHT_MODE_TEXT_COLOR","generateStyles","customStyles","create","container","justifyContent","alignItems","overflow","contentContainer","backgroundColor","theme","borderRadius","padding","buttonContainer","flexDirection","marginTop","button","marginHorizontal","paddingVertical","paddingHorizontal","borderWidth","fontSize","text","cancelButton","borderColor","color","undefined","confirmButton","modalTitle","fontWeight","marginBottom"],"sources":["TimerPickerModal.styles.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { StyleSheet } from \"react-native\";\n\nimport type { CustomTimerPickerStyles } from \"./TimerPicker/TimerPicker.styles\";\n\nexport interface CustomTimerPickerModalStyles extends CustomTimerPickerStyles {\n container?: any;\n contentContainer?: any;\n buttonContainer?: any;\n button?: any;\n cancelButton?: any;\n confirmButton?: any;\n modalTitle?: any;\n}\n\nconst DARK_MODE_BACKGROUND_COLOR = \"#232323\";\nconst DARK_MODE_TEXT_COLOR = \"#E9E9E9\";\nconst LIGHT_MODE_BACKGROUND_COLOR = \"#F1F1F1\";\nconst LIGHT_MODE_TEXT_COLOR = \"#1B1B1B\";\n\nexport const generateStyles = (\n customStyles: CustomTimerPickerModalStyles | undefined\n) =>\n StyleSheet.create({\n container: {\n justifyContent: \"center\",\n alignItems: \"center\",\n overflow: \"hidden\",\n ...customStyles?.container,\n },\n contentContainer: {\n backgroundColor:\n customStyles?.backgroundColor ?? customStyles?.theme === \"dark\"\n ? DARK_MODE_BACKGROUND_COLOR\n : LIGHT_MODE_BACKGROUND_COLOR,\n justifyContent: \"center\",\n alignItems: \"center\",\n borderRadius: 20,\n padding: 20,\n ...customStyles?.contentContainer,\n },\n buttonContainer: {\n flexDirection: \"row\",\n marginTop: 25,\n ...customStyles?.buttonContainer,\n },\n button: {\n marginHorizontal: 12,\n paddingVertical: 10,\n paddingHorizontal: 20,\n borderWidth: 1,\n borderRadius: 10,\n fontSize: 16,\n overflow: \"hidden\",\n ...customStyles?.text,\n ...customStyles?.button,\n },\n cancelButton: {\n borderColor: \"gray\",\n color:\n customStyles?.theme === \"dark\" ? DARK_MODE_TEXT_COLOR : \"gray\",\n backgroundColor:\n customStyles?.theme === \"dark\" ? \"gray\" : undefined,\n ...customStyles?.text,\n ...customStyles?.cancelButton,\n },\n confirmButton: {\n borderColor: \"green\",\n color:\n customStyles?.theme === \"dark\" ? DARK_MODE_TEXT_COLOR : \"green\",\n backgroundColor:\n customStyles?.theme === \"dark\" ? \"green\" : undefined,\n ...customStyles?.text,\n ...customStyles?.confirmButton,\n },\n modalTitle: {\n fontSize: 24,\n fontWeight: \"bold\",\n marginBottom: 15,\n color:\n customStyles?.theme === \"dark\"\n ? DARK_MODE_TEXT_COLOR\n : LIGHT_MODE_TEXT_COLOR,\n ...customStyles?.text,\n ...customStyles?.modalTitle,\n },\n });\n"],"mappings":"AAAA;AACA,SAASA,UAAU,QAAQ,cAAc;AAczC,MAAMC,0BAA0B,GAAG,SAAS;AAC5C,MAAMC,oBAAoB,GAAG,SAAS;AACtC,MAAMC,2BAA2B,GAAG,SAAS;AAC7C,MAAMC,qBAAqB,GAAG,SAAS;AAEvC,OAAO,MAAMC,cAAc,GACvBC,YAAsD,IAEtDN,UAAU,CAACO,MAAM,CAAC;EACdC,SAAS,EAAE;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,QAAQ,EAAE,QAAQ;IAClB,IAAGL,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEE,SAAS;EAC9B,CAAC;EACDI,gBAAgB,EAAE;IACdC,eAAe,EACX,CAAAP,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEO,eAAe,KAAI,CAAAP,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEQ,KAAK,MAAK,MAAM,GACzDb,0BAA0B,GAC1BE,2BAA2B;IACrCM,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBK,YAAY,EAAE,EAAE;IAChBC,OAAO,EAAE,EAAE;IACX,IAAGV,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEM,gBAAgB;EACrC,CAAC;EACDK,eAAe,EAAE;IACbC,aAAa,EAAE,KAAK;IACpBC,SAAS,EAAE,EAAE;IACb,IAAGb,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEW,eAAe;EACpC,CAAC;EACDG,MAAM,EAAE;IACJC,gBAAgB,EAAE,EAAE;IACpBC,eAAe,EAAE,EAAE;IACnBC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Q,KAAK,MAAK,MAAM,GACxBZ,oBAAoB,GACpBE,qBAAqB;IAC/B,IAAGE,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEoB,IAAI;IACrB,IAAGpB,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAE0B,UAAU;EAC/B;AACJ,CAAC,CAAC"}
@@ -1,290 +1,17 @@
1
- import { Text, View } from "react-native";
2
1
  import type { CustomTimerPickerStyles } from "./TimerPicker/TimerPicker.styles";
3
- import { ComponentProps } from "react";
4
2
  export interface CustomTimerPickerModalStyles extends CustomTimerPickerStyles {
5
- container?: ComponentProps<typeof View>;
6
- contentContainer?: ComponentProps<typeof View>;
7
- buttonContainer?: ComponentProps<typeof View>;
8
- button?: ComponentProps<typeof Text>;
9
- cancelButton?: ComponentProps<typeof Text>;
10
- confirmButton?: ComponentProps<typeof Text>;
11
- modalTitle?: ComponentProps<typeof Text>;
3
+ container?: any;
4
+ contentContainer?: any;
5
+ buttonContainer?: any;
6
+ button?: any;
7
+ cancelButton?: any;
8
+ confirmButton?: any;
9
+ modalTitle?: any;
12
10
  }
13
11
  export declare const generateStyles: (customStyles: CustomTimerPickerModalStyles | undefined) => {
14
- container: {
15
- children?: import("react").ReactNode;
16
- hitSlop?: import("react-native").Insets | undefined;
17
- id?: string | undefined;
18
- onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
19
- pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined;
20
- removeClippedSubviews?: boolean | undefined;
21
- style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
22
- testID?: string | undefined;
23
- nativeID?: string | undefined;
24
- collapsable?: boolean | undefined;
25
- needsOffscreenAlphaCompositing?: boolean | undefined;
26
- renderToHardwareTextureAndroid?: boolean | undefined;
27
- focusable?: boolean | undefined;
28
- shouldRasterizeIOS?: boolean | undefined;
29
- isTVSelectable?: boolean | undefined;
30
- hasTVPreferredFocus?: boolean | undefined;
31
- tvParallaxProperties?: import("react-native").TVParallaxProperties | undefined;
32
- tvParallaxShiftDistanceX?: number | undefined;
33
- tvParallaxShiftDistanceY?: number | undefined;
34
- tvParallaxTiltAngle?: number | undefined;
35
- tvParallaxMagnification?: number | undefined;
36
- onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
37
- onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
38
- onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
39
- onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
40
- onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
41
- onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
42
- onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
43
- onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
44
- onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
45
- onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
46
- onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
47
- onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
48
- onTouchStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
49
- onTouchMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
50
- onTouchEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
51
- onTouchCancel?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
52
- onTouchEndCapture?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
53
- onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
54
- onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
55
- onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
56
- onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
57
- onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
58
- onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
59
- onPointerCancel?: ((event: import("react-native").PointerEvent) => void) | undefined;
60
- onPointerCancelCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
61
- onPointerDown?: ((event: import("react-native").PointerEvent) => void) | undefined;
62
- onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
63
- onPointerUp?: ((event: import("react-native").PointerEvent) => void) | undefined;
64
- onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
65
- accessible?: boolean | undefined;
66
- accessibilityActions?: readonly Readonly<{
67
- name: string;
68
- label?: string | undefined;
69
- }>[] | undefined;
70
- accessibilityLabel?: string | undefined;
71
- 'aria-label'?: string | undefined;
72
- accessibilityRole?: import("react-native").AccessibilityRole | undefined;
73
- accessibilityState?: import("react-native").AccessibilityState | undefined;
74
- 'aria-busy'?: boolean | undefined;
75
- 'aria-checked'?: boolean | "mixed" | undefined;
76
- 'aria-disabled'?: boolean | undefined;
77
- 'aria-expanded'?: boolean | undefined;
78
- 'aria-selected'?: boolean | undefined;
79
- 'aria-labelledby'?: string | undefined;
80
- accessibilityHint?: string | undefined;
81
- accessibilityValue?: import("react-native").AccessibilityValue | undefined;
82
- 'aria-valuemax'?: number | undefined;
83
- 'aria-valuemin'?: number | undefined;
84
- 'aria-valuenow'?: number | undefined;
85
- 'aria-valuetext'?: string | undefined;
86
- onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | undefined;
87
- importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | undefined;
88
- 'aria-hidden'?: boolean | undefined;
89
- 'aria-live'?: "polite" | "assertive" | "off" | undefined;
90
- 'aria-modal'?: boolean | undefined;
91
- role?: import("react-native").Role | undefined;
92
- accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
93
- accessibilityLabelledBy?: string | string[] | undefined;
94
- accessibilityElementsHidden?: boolean | undefined;
95
- accessibilityViewIsModal?: boolean | undefined;
96
- onAccessibilityEscape?: (() => void) | undefined;
97
- onAccessibilityTap?: (() => void) | undefined;
98
- onMagicTap?: (() => void) | undefined;
99
- accessibilityIgnoresInvertColors?: boolean | undefined;
100
- accessibilityLanguage?: string | undefined;
101
- justifyContent: "center";
102
- alignItems: "center";
103
- overflow: "hidden";
104
- };
105
- contentContainer: {
106
- children?: import("react").ReactNode;
107
- hitSlop?: import("react-native").Insets | undefined;
108
- id?: string | undefined;
109
- onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
110
- pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined;
111
- removeClippedSubviews?: boolean | undefined;
112
- style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
113
- testID?: string | undefined;
114
- nativeID?: string | undefined;
115
- collapsable?: boolean | undefined;
116
- needsOffscreenAlphaCompositing?: boolean | undefined;
117
- renderToHardwareTextureAndroid?: boolean | undefined;
118
- focusable?: boolean | undefined;
119
- shouldRasterizeIOS?: boolean | undefined;
120
- isTVSelectable?: boolean | undefined;
121
- hasTVPreferredFocus?: boolean | undefined;
122
- tvParallaxProperties?: import("react-native").TVParallaxProperties | undefined;
123
- tvParallaxShiftDistanceX?: number | undefined;
124
- tvParallaxShiftDistanceY?: number | undefined;
125
- tvParallaxTiltAngle?: number | undefined;
126
- tvParallaxMagnification?: number | undefined;
127
- onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
128
- onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
129
- onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
130
- onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
131
- onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
132
- onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
133
- onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
134
- onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
135
- onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
136
- onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
137
- onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
138
- onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
139
- onTouchStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
140
- onTouchMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
141
- onTouchEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
142
- onTouchCancel?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
143
- onTouchEndCapture?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
144
- onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
145
- onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
146
- onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
147
- onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
148
- onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
149
- onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
150
- onPointerCancel?: ((event: import("react-native").PointerEvent) => void) | undefined;
151
- onPointerCancelCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
152
- onPointerDown?: ((event: import("react-native").PointerEvent) => void) | undefined;
153
- onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
154
- onPointerUp?: ((event: import("react-native").PointerEvent) => void) | undefined;
155
- onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
156
- accessible?: boolean | undefined;
157
- accessibilityActions?: readonly Readonly<{
158
- name: string;
159
- label?: string | undefined;
160
- }>[] | undefined;
161
- accessibilityLabel?: string | undefined;
162
- 'aria-label'?: string | undefined;
163
- accessibilityRole?: import("react-native").AccessibilityRole | undefined;
164
- accessibilityState?: import("react-native").AccessibilityState | undefined;
165
- 'aria-busy'?: boolean | undefined;
166
- 'aria-checked'?: boolean | "mixed" | undefined;
167
- 'aria-disabled'?: boolean | undefined;
168
- 'aria-expanded'?: boolean | undefined;
169
- 'aria-selected'?: boolean | undefined;
170
- 'aria-labelledby'?: string | undefined;
171
- accessibilityHint?: string | undefined;
172
- accessibilityValue?: import("react-native").AccessibilityValue | undefined;
173
- 'aria-valuemax'?: number | undefined;
174
- 'aria-valuemin'?: number | undefined;
175
- 'aria-valuenow'?: number | undefined;
176
- 'aria-valuetext'?: string | undefined;
177
- onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | undefined;
178
- importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | undefined;
179
- 'aria-hidden'?: boolean | undefined;
180
- 'aria-live'?: "polite" | "assertive" | "off" | undefined;
181
- 'aria-modal'?: boolean | undefined;
182
- role?: import("react-native").Role | undefined;
183
- accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
184
- accessibilityLabelledBy?: string | string[] | undefined;
185
- accessibilityElementsHidden?: boolean | undefined;
186
- accessibilityViewIsModal?: boolean | undefined;
187
- onAccessibilityEscape?: (() => void) | undefined;
188
- onAccessibilityTap?: (() => void) | undefined;
189
- onMagicTap?: (() => void) | undefined;
190
- accessibilityIgnoresInvertColors?: boolean | undefined;
191
- accessibilityLanguage?: string | undefined;
192
- backgroundColor: string;
193
- justifyContent: "center";
194
- alignItems: "center";
195
- borderRadius: number;
196
- padding: number;
197
- };
198
- buttonContainer: {
199
- children?: import("react").ReactNode;
200
- hitSlop?: import("react-native").Insets | undefined;
201
- id?: string | undefined;
202
- onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
203
- pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined;
204
- removeClippedSubviews?: boolean | undefined;
205
- style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
206
- testID?: string | undefined;
207
- nativeID?: string | undefined;
208
- collapsable?: boolean | undefined;
209
- needsOffscreenAlphaCompositing?: boolean | undefined;
210
- renderToHardwareTextureAndroid?: boolean | undefined;
211
- focusable?: boolean | undefined;
212
- shouldRasterizeIOS?: boolean | undefined;
213
- isTVSelectable?: boolean | undefined;
214
- hasTVPreferredFocus?: boolean | undefined;
215
- tvParallaxProperties?: import("react-native").TVParallaxProperties | undefined;
216
- tvParallaxShiftDistanceX?: number | undefined;
217
- tvParallaxShiftDistanceY?: number | undefined;
218
- tvParallaxTiltAngle?: number | undefined;
219
- tvParallaxMagnification?: number | undefined;
220
- onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
221
- onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
222
- onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
223
- onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
224
- onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
225
- onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
226
- onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
227
- onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
228
- onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
229
- onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
230
- onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
231
- onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
232
- onTouchStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
233
- onTouchMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
234
- onTouchEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
235
- onTouchCancel?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
236
- onTouchEndCapture?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
237
- onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
238
- onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
239
- onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
240
- onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
241
- onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
242
- onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
243
- onPointerCancel?: ((event: import("react-native").PointerEvent) => void) | undefined;
244
- onPointerCancelCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
245
- onPointerDown?: ((event: import("react-native").PointerEvent) => void) | undefined;
246
- onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
247
- onPointerUp?: ((event: import("react-native").PointerEvent) => void) | undefined;
248
- onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
249
- accessible?: boolean | undefined;
250
- accessibilityActions?: readonly Readonly<{
251
- name: string;
252
- label?: string | undefined;
253
- }>[] | undefined;
254
- accessibilityLabel?: string | undefined;
255
- 'aria-label'?: string | undefined;
256
- accessibilityRole?: import("react-native").AccessibilityRole | undefined;
257
- accessibilityState?: import("react-native").AccessibilityState | undefined;
258
- 'aria-busy'?: boolean | undefined;
259
- 'aria-checked'?: boolean | "mixed" | undefined;
260
- 'aria-disabled'?: boolean | undefined;
261
- 'aria-expanded'?: boolean | undefined;
262
- 'aria-selected'?: boolean | undefined;
263
- 'aria-labelledby'?: string | undefined;
264
- accessibilityHint?: string | undefined;
265
- accessibilityValue?: import("react-native").AccessibilityValue | undefined;
266
- 'aria-valuemax'?: number | undefined;
267
- 'aria-valuemin'?: number | undefined;
268
- 'aria-valuenow'?: number | undefined;
269
- 'aria-valuetext'?: string | undefined;
270
- onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | undefined;
271
- importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | undefined;
272
- 'aria-hidden'?: boolean | undefined;
273
- 'aria-live'?: "polite" | "assertive" | "off" | undefined;
274
- 'aria-modal'?: boolean | undefined;
275
- role?: import("react-native").Role | undefined;
276
- accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
277
- accessibilityLabelledBy?: string | string[] | undefined;
278
- accessibilityElementsHidden?: boolean | undefined;
279
- accessibilityViewIsModal?: boolean | undefined;
280
- onAccessibilityEscape?: (() => void) | undefined;
281
- onAccessibilityTap?: (() => void) | undefined;
282
- onMagicTap?: (() => void) | undefined;
283
- accessibilityIgnoresInvertColors?: boolean | undefined;
284
- accessibilityLanguage?: string | undefined;
285
- flexDirection: "row";
286
- marginTop: number;
287
- };
12
+ container: any;
13
+ contentContainer: any;
14
+ buttonContainer: any;
288
15
  button: any;
289
16
  cancelButton: any;
290
17
  confirmButton: any;
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/troberts-28"
7
7
  },
8
8
  "license": "MIT",
9
- "version": "1.5.0",
9
+ "version": "1.5.1",
10
10
  "main": "dist/commonjs/index.js",
11
11
  "types": "dist/typescript/src/index.d.ts",
12
12
  "scripts": {
@@ -1,17 +1,16 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
- import { StyleSheet, Text, View } from "react-native";
2
+ import { StyleSheet } from "react-native";
3
3
 
4
4
  import type { CustomTimerPickerStyles } from "./TimerPicker/TimerPicker.styles";
5
- import { ComponentProps } from "react";
6
5
 
7
6
  export interface CustomTimerPickerModalStyles extends CustomTimerPickerStyles {
8
- container?: ComponentProps<typeof View>;
9
- contentContainer?: ComponentProps<typeof View>;
10
- buttonContainer?: ComponentProps<typeof View>;
11
- button?: ComponentProps<typeof Text>;
12
- cancelButton?: ComponentProps<typeof Text>;
13
- confirmButton?: ComponentProps<typeof Text>;
14
- modalTitle?: ComponentProps<typeof Text>;
7
+ container?: any;
8
+ contentContainer?: any;
9
+ buttonContainer?: any;
10
+ button?: any;
11
+ cancelButton?: any;
12
+ confirmButton?: any;
13
+ modalTitle?: any;
15
14
  }
16
15
 
17
16
  const DARK_MODE_BACKGROUND_COLOR = "#232323";