@grupalia/rn-ui-kit 0.25.0 → 0.27.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.
Files changed (93) hide show
  1. package/lib/commonjs/assets/illustrations/my-location.svg +1 -0
  2. package/lib/commonjs/components/BasePhoneInput.js +115 -0
  3. package/lib/commonjs/components/BasePhoneInput.js.map +1 -0
  4. package/lib/commonjs/components/BaseTextInput.js +80 -0
  5. package/lib/commonjs/components/BaseTextInput.js.map +1 -0
  6. package/lib/commonjs/components/FormikPhoneInput.js +26 -0
  7. package/lib/commonjs/components/FormikPhoneInput.js.map +1 -0
  8. package/lib/commonjs/components/FormikTextInput.js +45 -0
  9. package/lib/commonjs/components/FormikTextInput.js.map +1 -0
  10. package/lib/commonjs/components/RetrieveGeolocation.js +147 -0
  11. package/lib/commonjs/components/RetrieveGeolocation.js.map +1 -0
  12. package/lib/commonjs/components/SignatureApiWebView.js +82 -0
  13. package/lib/commonjs/components/SignatureApiWebView.js.map +1 -0
  14. package/lib/commonjs/components/index.js +65 -23
  15. package/lib/commonjs/components/index.js.map +1 -1
  16. package/lib/commonjs/components/svgs/MyLocation.js +15 -0
  17. package/lib/commonjs/components/svgs/MyLocation.js.map +1 -0
  18. package/lib/commonjs/hooks/useGetGeolocation.js +87 -0
  19. package/lib/commonjs/hooks/useGetGeolocation.js.map +1 -0
  20. package/lib/commonjs/utils/index.js +11 -0
  21. package/lib/commonjs/utils/index.js.map +1 -1
  22. package/lib/commonjs/utils/log.js +20 -0
  23. package/lib/commonjs/utils/log.js.map +1 -0
  24. package/lib/module/assets/illustrations/my-location.svg +1 -0
  25. package/lib/module/components/BasePhoneInput.js +110 -0
  26. package/lib/module/components/BasePhoneInput.js.map +1 -0
  27. package/lib/module/components/BaseTextInput.js +74 -0
  28. package/lib/module/components/BaseTextInput.js.map +1 -0
  29. package/lib/module/components/FormikPhoneInput.js +21 -0
  30. package/lib/module/components/FormikPhoneInput.js.map +1 -0
  31. package/lib/module/components/FormikTextInput.js +39 -0
  32. package/lib/module/components/FormikTextInput.js.map +1 -0
  33. package/lib/module/components/RetrieveGeolocation.js +141 -0
  34. package/lib/module/components/RetrieveGeolocation.js.map +1 -0
  35. package/lib/module/components/SignatureApiWebView.js +76 -0
  36. package/lib/module/components/SignatureApiWebView.js.map +1 -0
  37. package/lib/module/components/index.js +29 -23
  38. package/lib/module/components/index.js.map +1 -1
  39. package/lib/module/components/svgs/MyLocation.js +10 -0
  40. package/lib/module/components/svgs/MyLocation.js.map +1 -0
  41. package/lib/module/hooks/useGetGeolocation.js +82 -0
  42. package/lib/module/hooks/useGetGeolocation.js.map +1 -0
  43. package/lib/module/utils/index.js +1 -0
  44. package/lib/module/utils/index.js.map +1 -1
  45. package/lib/module/utils/log.js +16 -0
  46. package/lib/module/utils/log.js.map +1 -0
  47. package/lib/typescript/commonjs/components/BasePhoneInput.d.ts +24 -0
  48. package/lib/typescript/commonjs/components/BasePhoneInput.d.ts.map +1 -0
  49. package/lib/typescript/commonjs/components/BaseTextInput.d.ts +15 -0
  50. package/lib/typescript/commonjs/components/BaseTextInput.d.ts.map +1 -0
  51. package/lib/typescript/commonjs/components/FormikDateTimeSelectorBottomSheet.d.ts +1 -1
  52. package/lib/typescript/commonjs/components/FormikPhoneInput.d.ts +8 -0
  53. package/lib/typescript/commonjs/components/FormikPhoneInput.d.ts.map +1 -0
  54. package/lib/typescript/commonjs/components/FormikTextInput.d.ts +9 -0
  55. package/lib/typescript/commonjs/components/FormikTextInput.d.ts.map +1 -0
  56. package/lib/typescript/commonjs/components/RetrieveGeolocation.d.ts +10 -0
  57. package/lib/typescript/commonjs/components/RetrieveGeolocation.d.ts.map +1 -0
  58. package/lib/typescript/commonjs/components/SignatureApiWebView.d.ts +10 -0
  59. package/lib/typescript/commonjs/components/SignatureApiWebView.d.ts.map +1 -0
  60. package/lib/typescript/commonjs/components/index.d.ts +29 -23
  61. package/lib/typescript/commonjs/components/index.d.ts.map +1 -1
  62. package/lib/typescript/commonjs/components/svgs/MyLocation.d.ts +6 -0
  63. package/lib/typescript/commonjs/components/svgs/MyLocation.d.ts.map +1 -0
  64. package/lib/typescript/commonjs/hooks/useGetGeolocation.d.ts +24 -0
  65. package/lib/typescript/commonjs/hooks/useGetGeolocation.d.ts.map +1 -0
  66. package/lib/typescript/commonjs/utils/index.d.ts +1 -0
  67. package/lib/typescript/commonjs/utils/index.d.ts.map +1 -1
  68. package/lib/typescript/commonjs/utils/log.d.ts +4 -0
  69. package/lib/typescript/commonjs/utils/log.d.ts.map +1 -0
  70. package/lib/typescript/module/components/BasePhoneInput.d.ts +24 -0
  71. package/lib/typescript/module/components/BasePhoneInput.d.ts.map +1 -0
  72. package/lib/typescript/module/components/BaseTextInput.d.ts +15 -0
  73. package/lib/typescript/module/components/BaseTextInput.d.ts.map +1 -0
  74. package/lib/typescript/module/components/FormikDateTimeSelectorBottomSheet.d.ts +1 -1
  75. package/lib/typescript/module/components/FormikPhoneInput.d.ts +8 -0
  76. package/lib/typescript/module/components/FormikPhoneInput.d.ts.map +1 -0
  77. package/lib/typescript/module/components/FormikTextInput.d.ts +9 -0
  78. package/lib/typescript/module/components/FormikTextInput.d.ts.map +1 -0
  79. package/lib/typescript/module/components/RetrieveGeolocation.d.ts +10 -0
  80. package/lib/typescript/module/components/RetrieveGeolocation.d.ts.map +1 -0
  81. package/lib/typescript/module/components/SignatureApiWebView.d.ts +10 -0
  82. package/lib/typescript/module/components/SignatureApiWebView.d.ts.map +1 -0
  83. package/lib/typescript/module/components/index.d.ts +29 -23
  84. package/lib/typescript/module/components/index.d.ts.map +1 -1
  85. package/lib/typescript/module/components/svgs/MyLocation.d.ts +6 -0
  86. package/lib/typescript/module/components/svgs/MyLocation.d.ts.map +1 -0
  87. package/lib/typescript/module/hooks/useGetGeolocation.d.ts +24 -0
  88. package/lib/typescript/module/hooks/useGetGeolocation.d.ts.map +1 -0
  89. package/lib/typescript/module/utils/index.d.ts +1 -0
  90. package/lib/typescript/module/utils/index.d.ts.map +1 -1
  91. package/lib/typescript/module/utils/log.d.ts +4 -0
  92. package/lib/typescript/module/utils/log.d.ts.map +1 -0
  93. package/package.json +9 -4
@@ -1,37 +1,43 @@
1
- export { default as BaseButton } from './BaseButton';
1
+ export { default as AppView } from './AppView';
2
+ export { default as BaseAlert } from './BaseAlert';
2
3
  export { default as BaseBadge } from './BaseBadge';
4
+ export { default as BaseBottomSheetModal } from './BaseBottomSheetModal';
5
+ export { default as BaseButton } from './BaseButton';
3
6
  export { default as BaseConfirmationModal } from './BaseConfirmationModal';
4
- export { default as BaseIconBox } from './BaseIconBox';
5
- export { default as BaseSpinner } from './BaseSpinner';
6
- export { default as BaseStackedList } from './BaseStackedList';
7
+ export { default as BaseDateInput } from './BaseDateInput';
8
+ export { default as BaseErrorBox } from './BaseErrorBox';
9
+ export { default as BaseErrorScreen } from './BaseErrorScreen';
10
+ export { default as BaseHorizontalTabs, Tab } from './BaseHorizontalTabs';
7
11
  export { default as BaseIcon } from './BaseIcon';
8
- export { default as BaseAlert } from './BaseAlert';
12
+ export { default as BaseIconBox } from './BaseIconBox';
13
+ export { default as BaseLoadingBox } from './BaseLoadingBox';
14
+ export { default as BaseRadioGroup } from './BaseRadioGroup';
9
15
  export { default as BaseSelect, SelectOption } from './BaseSelect';
10
- export { default as FormikSelect } from './FormikSelect';
11
- export { default as BaseHorizontalTabs, Tab } from './BaseHorizontalTabs';
12
16
  export { default as BaseSelectionItem } from './BaseSelectionItem';
13
- export { default as BaseRadioGroup } from './BaseRadioGroup';
14
- export { default as FormikRadioGroup } from './FormikRadioGroup';
15
- export { default as BaseDateInput } from './BaseDateInput';
16
- export { default as FormikDateInput } from './FormikDateInput';
17
+ export { default as BaseSpinner } from './BaseSpinner';
18
+ export { default as BaseStackedList } from './BaseStackedList';
17
19
  export { default as BaseSwitch } from './BaseSwitch';
18
- export { default as PressableOpacity } from './PressableOpacity';
19
20
  export { default as BaseText } from './BaseText';
20
- export { default as Toasts } from './Toasts';
21
- export { default as CameraWrapperModal, CameraWrapperModalImage } from './CameraWrapperModal';
22
- export { default as ImagePickerBottomSheet, ImagePickerBottomSheetImage } from './ImagePickerBottomSheet';
23
- export { default as PhotoPickerModal } from './PhotoPickerModal';
24
21
  export { default as CameraImageInput, CameraImageInputProps, CameraImage } from './CameraImageInput';
25
- export { default as FormikCameraImageInput } from './FormikCameraImageInput';
22
+ export { default as CameraWrapperModal, CameraWrapperModalImage } from './CameraWrapperModal';
26
23
  export { default as DateSelector } from './DateSelector';
27
- export { default as FormikDateSelector } from './FormikDateSelector';
28
24
  export { default as DateTimeSelector } from './DateTimeSelector';
25
+ export { default as FormikCameraImageInput } from './FormikCameraImageInput';
26
+ export { default as FormikDateInput } from './FormikDateInput';
27
+ export { default as FormikDateSelector } from './FormikDateSelector';
29
28
  export { default as FormikDateTimeSelector } from './FormikDateTimeSelector';
30
29
  export { default as FormikDateTimeSelectorBottomSheet } from './FormikDateTimeSelectorBottomSheet';
30
+ export { default as FormikRadioGroup } from './FormikRadioGroup';
31
+ export { default as FormikSelect } from './FormikSelect';
32
+ export { default as ImagePickerBottomSheet, ImagePickerBottomSheetImage } from './ImagePickerBottomSheet';
31
33
  export { default as NetworkBanner } from './NetworkBanner';
32
- export { default as BaseErrorScreen } from './BaseErrorScreen';
33
- export { default as BaseErrorBox } from './BaseErrorBox';
34
- export { default as AppView } from './AppView';
35
- export { default as BaseBottomSheetModal } from './BaseBottomSheetModal';
36
- export { default as BaseLoadingBox } from './BaseLoadingBox';
34
+ export { default as PhotoPickerModal } from './PhotoPickerModal';
35
+ export { default as PressableOpacity } from './PressableOpacity';
36
+ export { default as SignatureApiWebView } from './SignatureApiWebView';
37
+ export { default as Toasts } from './Toasts';
38
+ export { default as BaseTextInput } from './BaseTextInput';
39
+ export { default as BasePhoneInput } from './BasePhoneInput';
40
+ export { default as FormikTextInput } from './FormikTextInput';
41
+ export { default as FormikPhoneInput } from './FormikPhoneInput';
42
+ export { default as RetrieveGeolocation } from './RetrieveGeolocation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EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ComponentProps } from 'react';
2
+ import MyLocationSvg from '../../assets/illustrations/my-location.svg';
3
+ type Props = ComponentProps<typeof MyLocationSvg>;
4
+ export default function MyLocation(props: Props): import("react").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=MyLocation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MyLocation.d.ts","sourceRoot":"","sources":["../../../../../src/components/svgs/MyLocation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,aAAa,MAAM,4CAA4C,CAAC;AAEvE,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;AAElD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,KAAK,+BAI9C"}
@@ -0,0 +1,24 @@
1
+ import { type GeolocationResponse } from '@react-native-community/geolocation';
2
+ interface RequestPermissionError {
3
+ code: number;
4
+ message: string;
5
+ PERMISSION_DENIED: number;
6
+ POSITION_UNAVAILABLE: number;
7
+ TIMEOUT: number;
8
+ }
9
+ interface RequestPermission {
10
+ onPermissionGranted: () => void;
11
+ onPermissionDenied: (error: RequestPermissionError) => void;
12
+ }
13
+ interface Props {
14
+ onRetrievedGeolocation: (data: GeolocationResponse) => void;
15
+ onError?: (error: unknown) => void;
16
+ }
17
+ export default function useGetGeolocation({ onRetrievedGeolocation, onError }: Props): {
18
+ isRequestingPermission: boolean;
19
+ isRequestingGeolocation: boolean;
20
+ getGeolocation: () => Promise<void>;
21
+ requestPermission: ({ onPermissionGranted, onPermissionDenied }: RequestPermission) => void;
22
+ };
23
+ export {};
24
+ //# sourceMappingURL=useGetGeolocation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGetGeolocation.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useGetGeolocation.ts"],"names":[],"mappings":"AAAA,OAAoB,EAAE,KAAK,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AA8B5F,UAAU,sBAAsB;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,iBAAiB;IACzB,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,kBAAkB,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,IAAI,CAAC;CAC7D;AAaD,UAAU,KAAK;IACb,sBAAsB,EAAE,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC5D,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACpC;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,sBAAsB,EAAE,OAAO,EAAE,EAAE,KAAK;;;;qEAIV,iBAAiB;EA0D1F"}
@@ -2,4 +2,5 @@ export * from './clabe';
2
2
  export * from './fileDirectoryUtils';
3
3
  export * from './timeConstants';
4
4
  export * from './filters';
5
+ export * from './log';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC"}
@@ -0,0 +1,4 @@
1
+ type LogArg = string | number | boolean | object | null | undefined;
2
+ export default function log(tag: string, ...args: LogArg[]): void;
3
+ export {};
4
+ //# sourceMappingURL=log.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../../src/utils/log.ts"],"names":[],"mappings":"AAAA,KAAK,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,CAehE"}
@@ -0,0 +1,24 @@
1
+ /// <reference types="react" />
2
+ import { StyleProp, ViewStyle } from 'react-native';
3
+ interface BasePhoneInputProps {
4
+ value?: string;
5
+ onChangeText?: (value: string) => void;
6
+ label: string;
7
+ description?: string;
8
+ validating?: boolean;
9
+ validated?: boolean | null;
10
+ className?: string;
11
+ style?: StyleProp<ViewStyle>;
12
+ onBlur?: (e: unknown) => void;
13
+ onFocus?: (e: unknown) => void;
14
+ error?: string;
15
+ touched?: boolean;
16
+ }
17
+ declare const _default: import("react").ForwardRefExoticComponent<BasePhoneInputProps & {
18
+ className?: string | undefined;
19
+ tw?: string | undefined;
20
+ baseClassName?: string | undefined;
21
+ baseTw?: string | undefined;
22
+ } & import("react").RefAttributes<unknown>>;
23
+ export default _default;
24
+ //# sourceMappingURL=BasePhoneInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BasePhoneInput.d.ts","sourceRoot":"","sources":["../../../../src/components/BasePhoneInput.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAWpD,UAAU,mBAAmB;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9B,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;;;;;;;AAiHD,wBAAsC"}
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { TextInput } from '../hoc-components';
3
+ interface BaseTextInputProps extends React.ComponentProps<typeof TextInput> {
4
+ label?: string;
5
+ description?: string;
6
+ className?: string;
7
+ disabled?: boolean;
8
+ loading?: boolean;
9
+ keyboardType?: 'default' | 'numeric' | 'phone-pad';
10
+ error?: string;
11
+ touched?: boolean;
12
+ }
13
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("nativewind").StyledProps<BaseTextInputProps>, "ref"> & React.RefAttributes<unknown>>;
14
+ export default _default;
15
+ //# sourceMappingURL=BaseTextInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseTextInput.d.ts","sourceRoot":"","sources":["../../../../src/components/BaseTextInput.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAQ,MAAM,mBAAmB,CAAC;AAIpD,UAAU,kBAAmB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC;IACzE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;IACnD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;;AAsED,wBAAqC"}
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ViewProps } from 'react-native';
3
3
  import { DateTimeSelectorProps } from './DateTimeSelector';
4
- declare const _default: import("react").ForwardRefExoticComponent<ViewProps & Omit<DateTimeSelectorProps, "value" | "onChange" | "description" | "error"> & {
4
+ declare const _default: import("react").ForwardRefExoticComponent<ViewProps & Omit<DateTimeSelectorProps, "value" | "onChange" | "error" | "description"> & {
5
5
  name: string;
6
6
  label?: string | undefined;
7
7
  dateLabel?: string | undefined;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import BasePhoneInput from './BasePhoneInput';
3
+ interface FormikPhoneInputProps extends Omit<React.ComponentProps<typeof BasePhoneInput>, 'value' | 'onChangeText' | 'error' | 'touched'> {
4
+ name: string;
5
+ }
6
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<import("nativewind").StyledProps<FormikPhoneInputProps>, "ref"> & import("react").RefAttributes<unknown>>;
7
+ export default _default;
8
+ //# sourceMappingURL=FormikPhoneInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormikPhoneInput.d.ts","sourceRoot":"","sources":["../../../../src/components/FormikPhoneInput.tsx"],"names":[],"mappings":";AAGA,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,UAAU,qBAAsB,SAAQ,IAAI,CAC1C,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,EAC3C,OAAO,GACL,cAAc,GACd,OAAO,GACP,SAAS,CACZ;IACC,IAAI,EAAE,MAAM,CAAC;CACd;;AAmBD,wBAAwC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import BaseTextInput from './BaseTextInput';
3
+ interface FormikTextInputProps extends Omit<React.ComponentProps<typeof BaseTextInput>, 'value' | 'onChangeText' | 'error' | 'touched' | 'onBlur' | 'onFocus'> {
4
+ name: string;
5
+ trimWhitespace?: boolean;
6
+ }
7
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("nativewind").StyledProps<FormikTextInputProps>, "ref"> & React.RefAttributes<unknown>>;
8
+ export default _default;
9
+ //# sourceMappingURL=FormikTextInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormikTextInput.d.ts","sourceRoot":"","sources":["../../../../src/components/FormikTextInput.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,UAAU,oBAAqB,SAAQ,IAAI,CACzC,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,EAC1C,OAAO,GACL,cAAc,GACd,OAAO,GACP,SAAS,GACT,QAAQ,GACR,SAAS,CACZ;IACC,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;;AAsCD,wBAAuC"}
@@ -0,0 +1,10 @@
1
+ import { type GeolocationResponse } from '@react-native-community/geolocation';
2
+ import React from 'react';
3
+ interface Props {
4
+ isLoading?: boolean;
5
+ onSuccess: (data: GeolocationResponse) => void;
6
+ locationUseExplanation: string;
7
+ }
8
+ export default function RetrieveGeolocation({ onSuccess, isLoading: externalIsLoading, locationUseExplanation }: Props): React.JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=RetrieveGeolocation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RetrieveGeolocation.d.ts","sourceRoot":"","sources":["../../../../src/components/RetrieveGeolocation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAA8B,MAAM,OAAO,CAAC;AA6DnD,UAAU,KAAK;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC/C,sBAAsB,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CACzC,EAAE,SAAS,EAAE,SAAS,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,EAAE,KAAK,qBAsG3E"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface SignatureApiWebViewProps {
3
+ ceremonyUrl: string;
4
+ onCompleted: () => void;
5
+ onCanceled: () => void;
6
+ onFailed: () => void;
7
+ }
8
+ export default function SignatureApiWebView({ ceremonyUrl, onCompleted, onCanceled, onFailed, }: SignatureApiWebViewProps): React.JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=SignatureApiWebView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SignatureApiWebView.d.ts","sourceRoot":"","sources":["../../../../src/components/SignatureApiWebView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAI3C,UAAU,wBAAwB;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AA0BD,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAC1C,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,GAC/C,EAAE,wBAAwB,qBAqC1B"}
@@ -1,37 +1,43 @@
1
- export { default as BaseButton } from './BaseButton';
1
+ export { default as AppView } from './AppView';
2
+ export { default as BaseAlert } from './BaseAlert';
2
3
  export { default as BaseBadge } from './BaseBadge';
4
+ export { default as BaseBottomSheetModal } from './BaseBottomSheetModal';
5
+ export { default as BaseButton } from './BaseButton';
3
6
  export { default as BaseConfirmationModal } from './BaseConfirmationModal';
4
- export { default as BaseIconBox } from './BaseIconBox';
5
- export { default as BaseSpinner } from './BaseSpinner';
6
- export { default as BaseStackedList } from './BaseStackedList';
7
+ export { default as BaseDateInput } from './BaseDateInput';
8
+ export { default as BaseErrorBox } from './BaseErrorBox';
9
+ export { default as BaseErrorScreen } from './BaseErrorScreen';
10
+ export { default as BaseHorizontalTabs, Tab } from './BaseHorizontalTabs';
7
11
  export { default as BaseIcon } from './BaseIcon';
8
- export { default as BaseAlert } from './BaseAlert';
12
+ export { default as BaseIconBox } from './BaseIconBox';
13
+ export { default as BaseLoadingBox } from './BaseLoadingBox';
14
+ export { default as BaseRadioGroup } from './BaseRadioGroup';
9
15
  export { default as BaseSelect, SelectOption } from './BaseSelect';
10
- export { default as FormikSelect } from './FormikSelect';
11
- export { default as BaseHorizontalTabs, Tab } from './BaseHorizontalTabs';
12
16
  export { default as BaseSelectionItem } from './BaseSelectionItem';
13
- export { default as BaseRadioGroup } from './BaseRadioGroup';
14
- export { default as FormikRadioGroup } from './FormikRadioGroup';
15
- export { default as BaseDateInput } from './BaseDateInput';
16
- export { default as FormikDateInput } from './FormikDateInput';
17
+ export { default as BaseSpinner } from './BaseSpinner';
18
+ export { default as BaseStackedList } from './BaseStackedList';
17
19
  export { default as BaseSwitch } from './BaseSwitch';
18
- export { default as PressableOpacity } from './PressableOpacity';
19
20
  export { default as BaseText } from './BaseText';
20
- export { default as Toasts } from './Toasts';
21
- export { default as CameraWrapperModal, CameraWrapperModalImage } from './CameraWrapperModal';
22
- export { default as ImagePickerBottomSheet, ImagePickerBottomSheetImage } from './ImagePickerBottomSheet';
23
- export { default as PhotoPickerModal } from './PhotoPickerModal';
24
21
  export { default as CameraImageInput, CameraImageInputProps, CameraImage } from './CameraImageInput';
25
- export { default as FormikCameraImageInput } from './FormikCameraImageInput';
22
+ export { default as CameraWrapperModal, CameraWrapperModalImage } from './CameraWrapperModal';
26
23
  export { default as DateSelector } from './DateSelector';
27
- export { default as FormikDateSelector } from './FormikDateSelector';
28
24
  export { default as DateTimeSelector } from './DateTimeSelector';
25
+ export { default as FormikCameraImageInput } from './FormikCameraImageInput';
26
+ export { default as FormikDateInput } from './FormikDateInput';
27
+ export { default as FormikDateSelector } from './FormikDateSelector';
29
28
  export { default as FormikDateTimeSelector } from './FormikDateTimeSelector';
30
29
  export { default as FormikDateTimeSelectorBottomSheet } from './FormikDateTimeSelectorBottomSheet';
30
+ export { default as FormikRadioGroup } from './FormikRadioGroup';
31
+ export { default as FormikSelect } from './FormikSelect';
32
+ export { default as ImagePickerBottomSheet, ImagePickerBottomSheetImage } from './ImagePickerBottomSheet';
31
33
  export { default as NetworkBanner } from './NetworkBanner';
32
- export { default as BaseErrorScreen } from './BaseErrorScreen';
33
- export { default as BaseErrorBox } from './BaseErrorBox';
34
- export { default as AppView } from './AppView';
35
- export { default as BaseBottomSheetModal } from './BaseBottomSheetModal';
36
- export { default as BaseLoadingBox } from './BaseLoadingBox';
34
+ export { default as PhotoPickerModal } from './PhotoPickerModal';
35
+ export { default as PressableOpacity } from './PressableOpacity';
36
+ export { default as SignatureApiWebView } from './SignatureApiWebView';
37
+ export { default as Toasts } from './Toasts';
38
+ export { default as BaseTextInput } from './BaseTextInput';
39
+ export { default as BasePhoneInput } from './BasePhoneInput';
40
+ export { default as FormikTextInput } from './FormikTextInput';
41
+ export { default as FormikPhoneInput } from './FormikPhoneInput';
42
+ export { default as RetrieveGeolocation } from './RetrieveGeolocation';
37
43
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot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,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ComponentProps } from 'react';
2
+ import MyLocationSvg from '../../assets/illustrations/my-location.svg';
3
+ type Props = ComponentProps<typeof MyLocationSvg>;
4
+ export default function MyLocation(props: Props): import("react").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=MyLocation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MyLocation.d.ts","sourceRoot":"","sources":["../../../../../src/components/svgs/MyLocation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,aAAa,MAAM,4CAA4C,CAAC;AAEvE,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;AAElD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,KAAK,+BAI9C"}
@@ -0,0 +1,24 @@
1
+ import { type GeolocationResponse } from '@react-native-community/geolocation';
2
+ interface RequestPermissionError {
3
+ code: number;
4
+ message: string;
5
+ PERMISSION_DENIED: number;
6
+ POSITION_UNAVAILABLE: number;
7
+ TIMEOUT: number;
8
+ }
9
+ interface RequestPermission {
10
+ onPermissionGranted: () => void;
11
+ onPermissionDenied: (error: RequestPermissionError) => void;
12
+ }
13
+ interface Props {
14
+ onRetrievedGeolocation: (data: GeolocationResponse) => void;
15
+ onError?: (error: unknown) => void;
16
+ }
17
+ export default function useGetGeolocation({ onRetrievedGeolocation, onError }: Props): {
18
+ isRequestingPermission: boolean;
19
+ isRequestingGeolocation: boolean;
20
+ getGeolocation: () => Promise<void>;
21
+ requestPermission: ({ onPermissionGranted, onPermissionDenied }: RequestPermission) => void;
22
+ };
23
+ export {};
24
+ //# sourceMappingURL=useGetGeolocation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGetGeolocation.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useGetGeolocation.ts"],"names":[],"mappings":"AAAA,OAAoB,EAAE,KAAK,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AA8B5F,UAAU,sBAAsB;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,iBAAiB;IACzB,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,kBAAkB,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,IAAI,CAAC;CAC7D;AAaD,UAAU,KAAK;IACb,sBAAsB,EAAE,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC5D,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACpC;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,sBAAsB,EAAE,OAAO,EAAE,EAAE,KAAK;;;;qEAIV,iBAAiB;EA0D1F"}
@@ -2,4 +2,5 @@ export * from './clabe';
2
2
  export * from './fileDirectoryUtils';
3
3
  export * from './timeConstants';
4
4
  export * from './filters';
5
+ export * from './log';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC"}
@@ -0,0 +1,4 @@
1
+ type LogArg = string | number | boolean | object | null | undefined;
2
+ export default function log(tag: string, ...args: LogArg[]): void;
3
+ export {};
4
+ //# sourceMappingURL=log.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../../src/utils/log.ts"],"names":[],"mappings":"AAAA,KAAK,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,CAehE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grupalia/rn-ui-kit",
3
- "version": "0.25.0",
3
+ "version": "0.27.0",
4
4
  "description": "Grupalia React Native UI Kit",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/module/index.d.ts",
@@ -22,16 +22,17 @@
22
22
  "bump-patch-version": "npm version patch --message 'chore(release): bump version'"
23
23
  },
24
24
  "peerDependencies": {
25
+ "@date-fns/tz": "^1.3.1",
25
26
  "@gorhom/bottom-sheet": "^5",
26
27
  "@react-native-async-storage/async-storage": "1.23.1",
27
28
  "@react-native-community/hooks": "^100.1.0",
28
29
  "@react-native-community/netinfo": "11.3.1",
29
30
  "@react-navigation/native": "^6.1.18",
31
+ "@react-native-community/geolocation": "^3.4.0",
30
32
  "@sentry/react-native": "^6.9.1",
31
33
  "@tanstack/react-query": "^5.63.0",
32
34
  "clsx": "^2.1.1",
33
35
  "date-fns": "^4.1.0",
34
- "@date-fns/tz": "^1.3.1",
35
36
  "expo-constants": "~16.0.1",
36
37
  "expo-file-system": "17",
37
38
  "expo-linear-gradient": "~13.0.2",
@@ -47,10 +48,12 @@
47
48
  "react-native-image-picker": "^7.2.3",
48
49
  "react-native-svg": "*",
49
50
  "react-native-vision-camera": "^4.6.3",
51
+ "react-native-webview": "^13.12.5",
50
52
  "tailwindcss": "3.3.2"
51
53
  },
52
54
  "devDependencies": {
53
55
  "@babel/core": "^7.20.0",
56
+ "@date-fns/tz": "^1.3.1",
54
57
  "@gorhom/bottom-sheet": "^5",
55
58
  "@react-native-async-storage/async-storage": "1.23.1",
56
59
  "@react-native-community/hooks": "^100.1.0",
@@ -66,7 +69,6 @@
66
69
  "chokidar-cli": "^3.0.0",
67
70
  "clsx": "^2.1.1",
68
71
  "date-fns": "^4.1.0",
69
- "@date-fns/tz": "^1.3.1",
70
72
  "eslint": "^8.29.0",
71
73
  "eslint-config-airbnb": "^19.0.4",
72
74
  "eslint-plugin-import": "^2.29.1",
@@ -91,6 +93,7 @@
91
93
  "react-native-image-picker": "^7.2.3",
92
94
  "react-native-svg": "^15.11.2",
93
95
  "react-native-vision-camera": "^4.6.3",
96
+ "react-native-webview": "^13.12.5",
94
97
  "tailwindcss": "3.3.2",
95
98
  "typescript": "~5.3.3",
96
99
  "vitest": "^3.2.4"
@@ -140,5 +143,7 @@
140
143
  "node_modules/",
141
144
  "lib/"
142
145
  ],
143
- "dependencies": {}
146
+ "dependencies": {
147
+ "@react-native-community/geolocation": "^3.4.0"
148
+ }
144
149
  }