@grupalia/rn-ui-kit 0.121.0 → 0.123.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 (47) hide show
  1. package/lib/commonjs/components/PressableOpacity.js +5 -0
  2. package/lib/commonjs/components/PressableOpacity.js.map +1 -1
  3. package/lib/commonjs/hooks/useBaseJobRunPolling.js +8 -17
  4. package/lib/commonjs/hooks/useBaseJobRunPolling.js.map +1 -1
  5. package/lib/commonjs/index.js.map +1 -1
  6. package/lib/commonjs/types/requireAtLeastOne.js +2 -0
  7. package/lib/commonjs/types/requireAtLeastOne.js.map +1 -0
  8. package/lib/module/components/PressableOpacity.js +5 -0
  9. package/lib/module/components/PressableOpacity.js.map +1 -1
  10. package/lib/module/hooks/useBaseJobRunPolling.js +8 -17
  11. package/lib/module/hooks/useBaseJobRunPolling.js.map +1 -1
  12. package/lib/module/index.js.map +1 -1
  13. package/lib/module/types/requireAtLeastOne.js +2 -0
  14. package/lib/module/types/requireAtLeastOne.js.map +1 -0
  15. package/lib/typescript/commonjs/api/jobRun.d.ts +1 -1
  16. package/lib/typescript/commonjs/api/jobRun.d.ts.map +1 -1
  17. package/lib/typescript/commonjs/components/BackButton.d.ts +2 -12
  18. package/lib/typescript/commonjs/components/BackButton.d.ts.map +1 -1
  19. package/lib/typescript/commonjs/components/BaseButton.d.ts +309 -4
  20. package/lib/typescript/commonjs/components/BaseButton.d.ts.map +1 -1
  21. package/lib/typescript/commonjs/components/MenuBottomSheetModal.d.ts +2 -2
  22. package/lib/typescript/commonjs/components/MenuBottomSheetModal.d.ts.map +1 -1
  23. package/lib/typescript/commonjs/components/PressableOpacity.d.ts +57 -4
  24. package/lib/typescript/commonjs/components/PressableOpacity.d.ts.map +1 -1
  25. package/lib/typescript/commonjs/hooks/useBaseJobRunPolling.d.ts +1 -2
  26. package/lib/typescript/commonjs/hooks/useBaseJobRunPolling.d.ts.map +1 -1
  27. package/lib/typescript/commonjs/index.d.ts +1 -0
  28. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  29. package/lib/typescript/commonjs/types/requireAtLeastOne.d.ts +15 -0
  30. package/lib/typescript/commonjs/types/requireAtLeastOne.d.ts.map +1 -0
  31. package/lib/typescript/module/api/jobRun.d.ts +1 -1
  32. package/lib/typescript/module/api/jobRun.d.ts.map +1 -1
  33. package/lib/typescript/module/components/BackButton.d.ts +2 -12
  34. package/lib/typescript/module/components/BackButton.d.ts.map +1 -1
  35. package/lib/typescript/module/components/BaseButton.d.ts +309 -4
  36. package/lib/typescript/module/components/BaseButton.d.ts.map +1 -1
  37. package/lib/typescript/module/components/MenuBottomSheetModal.d.ts +2 -2
  38. package/lib/typescript/module/components/MenuBottomSheetModal.d.ts.map +1 -1
  39. package/lib/typescript/module/components/PressableOpacity.d.ts +57 -4
  40. package/lib/typescript/module/components/PressableOpacity.d.ts.map +1 -1
  41. package/lib/typescript/module/hooks/useBaseJobRunPolling.d.ts +1 -2
  42. package/lib/typescript/module/hooks/useBaseJobRunPolling.d.ts.map +1 -1
  43. package/lib/typescript/module/index.d.ts +1 -0
  44. package/lib/typescript/module/index.d.ts.map +1 -1
  45. package/lib/typescript/module/types/requireAtLeastOne.d.ts +15 -0
  46. package/lib/typescript/module/types/requireAtLeastOne.d.ts.map +1 -0
  47. package/package.json +1 -1
@@ -1,9 +1,15 @@
1
1
  /// <reference types="react" />
2
2
  import { PressableProps, StyleProp, ViewStyle, View } from 'react-native';
3
+ import { RequireAtLeastOne } from '../types/requireAtLeastOne';
4
+ /**
5
+ * The press handlers a `PressableOpacity` can respond to. At least one must be
6
+ * provided so the component always does something on interaction.
7
+ */
8
+ type PressHandlers = Pick<PressableProps, 'onPress' | 'onLongPress' | 'onPressIn' | 'onPressOut'>;
3
9
  /**
4
10
  * The props remove the functional `style` from the pressable to simplify this implementation.
5
11
  */
6
- export type PressableOpacityProps = Omit<PressableProps, 'style'> & {
12
+ export type PressableOpacityProps = Omit<PressableProps, 'style' | keyof PressHandlers> & {
7
13
  activeOpacity?: number;
8
14
  keepPressedOnLongPress?: boolean;
9
15
  pressInAnimationDuration?: number;
@@ -12,8 +18,50 @@ export type PressableOpacityProps = Omit<PressableProps, 'style'> & {
12
18
  * Only allow the static style prop and not the functional one.
13
19
  */
14
20
  style?: StyleProp<ViewStyle>;
15
- };
16
- declare const _default: import("react").ForwardRefExoticComponent<Omit<import("nativewind").StyledProps<Omit<PressableProps, "style"> & {
21
+ } & RequireAtLeastOne<PressHandlers>;
22
+ declare const _default: import("react").ForwardRefExoticComponent<(Omit<Omit<PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
23
+ activeOpacity?: number | undefined;
24
+ keepPressedOnLongPress?: boolean | undefined;
25
+ pressInAnimationDuration?: number | undefined;
26
+ pressOutAnimationDuration?: number | undefined;
27
+ /**
28
+ * Only allow the static style prop and not the functional one.
29
+ */
30
+ style?: StyleProp<ViewStyle>;
31
+ } & Omit<PressHandlers, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<PressHandlers, "onPress">> & Partial<Pick<PressHandlers, "onPressIn" | "onPressOut" | "onLongPress">> & import("react").RefAttributes<View> & {
32
+ className?: string | undefined;
33
+ tw?: string | undefined;
34
+ baseClassName?: string | undefined;
35
+ baseTw?: string | undefined;
36
+ }, "ref"> | Omit<Omit<PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
37
+ activeOpacity?: number | undefined;
38
+ keepPressedOnLongPress?: boolean | undefined;
39
+ pressInAnimationDuration?: number | undefined;
40
+ pressOutAnimationDuration?: number | undefined;
41
+ /**
42
+ * Only allow the static style prop and not the functional one.
43
+ */
44
+ style?: StyleProp<ViewStyle>;
45
+ } & Omit<PressHandlers, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<PressHandlers, "onPressIn">> & Partial<Pick<PressHandlers, "onPress" | "onPressOut" | "onLongPress">> & import("react").RefAttributes<View> & {
46
+ className?: string | undefined;
47
+ tw?: string | undefined;
48
+ baseClassName?: string | undefined;
49
+ baseTw?: string | undefined;
50
+ }, "ref"> | Omit<Omit<PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
51
+ activeOpacity?: number | undefined;
52
+ keepPressedOnLongPress?: boolean | undefined;
53
+ pressInAnimationDuration?: number | undefined;
54
+ pressOutAnimationDuration?: number | undefined;
55
+ /**
56
+ * Only allow the static style prop and not the functional one.
57
+ */
58
+ style?: StyleProp<ViewStyle>;
59
+ } & Omit<PressHandlers, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<PressHandlers, "onPressOut">> & Partial<Pick<PressHandlers, "onPress" | "onPressIn" | "onLongPress">> & import("react").RefAttributes<View> & {
60
+ className?: string | undefined;
61
+ tw?: string | undefined;
62
+ baseClassName?: string | undefined;
63
+ baseTw?: string | undefined;
64
+ }, "ref"> | Omit<Omit<PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
17
65
  activeOpacity?: number | undefined;
18
66
  keepPressedOnLongPress?: boolean | undefined;
19
67
  pressInAnimationDuration?: number | undefined;
@@ -22,6 +70,11 @@ declare const _default: import("react").ForwardRefExoticComponent<Omit<import("n
22
70
  * Only allow the static style prop and not the functional one.
23
71
  */
24
72
  style?: StyleProp<ViewStyle>;
25
- } & import("react").RefAttributes<View>>, "ref"> & import("react").RefAttributes<View>>;
73
+ } & Omit<PressHandlers, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<PressHandlers, "onLongPress">> & Partial<Pick<PressHandlers, "onPress" | "onPressIn" | "onPressOut">> & import("react").RefAttributes<View> & {
74
+ className?: string | undefined;
75
+ tw?: string | undefined;
76
+ baseClassName?: string | undefined;
77
+ baseTw?: string | undefined;
78
+ }, "ref">) & import("react").RefAttributes<View>>;
26
79
  export default _default;
27
80
  //# sourceMappingURL=PressableOpacity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PressableOpacity.d.ts","sourceRoot":"","sources":["../../../../src/components/PressableOpacity.tsx"],"names":[],"mappings":";AAEA,OAAO,EAGL,cAAc,EACd,SAAS,EACT,SAAS,EACT,IAAI,EACL,MAAM,cAAc,CAAC;AAItB;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG;IAClE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;;;;;;IAJA;;OAEG;;;AAgEL,wBAAwC"}
1
+ {"version":3,"file":"PressableOpacity.d.ts","sourceRoot":"","sources":["../../../../src/components/PressableOpacity.tsx"],"names":[],"mappings":";AAEA,OAAO,EAGL,cAAc,EACd,SAAS,EACT,SAAS,EACT,IAAI,EACL,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D;;;GAGG;AACH,KAAK,aAAa,GAAG,IAAI,CACvB,cAAc,EACd,SAAS,GAAG,aAAa,GAAG,WAAW,GAAG,YAAY,CACvD,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,cAAc,EACd,OAAO,GAAG,MAAM,aAAa,CAC9B,GAAG;IACF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,GAAG,iBAAiB,CAAC,aAAa,CAAC,CAAC;;;;;;IAJnC;;OAEG;;;;;;;;;;;;IAFH;;OAEG;;;;;;;;;;;;IAFH;;OAEG;;;;;;;;;;;;IAFH;;OAEG;;;;;;;;AAgEL,wBAAwC"}
@@ -5,7 +5,6 @@ interface UseBaseJobRunPollingOptions<TResult = unknown, TErrorType extends stri
5
5
  onFailed?: (jobRun?: FailedJobRun<TErrorType>) => void;
6
6
  onTimeout?: () => void;
7
7
  pollingIntervalMs: number;
8
- timeoutMs: number;
9
8
  }
10
9
  interface UseBaseJobRunPollingReturn<TResult = unknown, TErrorType extends string = string> {
11
10
  jobRunResponse: JobRun<TResult, TErrorType> | null;
@@ -13,6 +12,6 @@ interface UseBaseJobRunPollingReturn<TResult = unknown, TErrorType extends strin
13
12
  startPolling: (jobRunId: number) => void;
14
13
  stopPolling: () => void;
15
14
  }
16
- export declare function useBaseJobRunPolling<TResult = unknown, TErrorType extends string = string>({ fetchJobRun, onCompleted, onFailed, onTimeout, pollingIntervalMs, timeoutMs, }: UseBaseJobRunPollingOptions<TResult, TErrorType>): UseBaseJobRunPollingReturn<TResult, TErrorType>;
15
+ export declare function useBaseJobRunPolling<TResult = unknown, TErrorType extends string = string>({ fetchJobRun, onCompleted, onFailed, onTimeout, pollingIntervalMs, }: UseBaseJobRunPollingOptions<TResult, TErrorType>): UseBaseJobRunPollingReturn<TResult, TErrorType>;
17
16
  export type { UseBaseJobRunPollingOptions, UseBaseJobRunPollingReturn };
18
17
  //# sourceMappingURL=useBaseJobRunPolling.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useBaseJobRunPolling.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useBaseJobRunPolling.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,eAAe,EAAE,YAAY,EAAE,MAAM,EAAE,cAAc,EACtD,MAAM,eAAe,CAAC;AAGvB,UAAU,2BAA2B,CAAC,OAAO,GAAG,OAAO,EAAE,UAAU,SAAS,MAAM,GAAG,MAAM;IACzF,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,cAAc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EAAE,MAAM,KAAK,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IAChF,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IACzD,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;IACvD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,UAAU,0BAA0B,CAAC,OAAO,GAAG,OAAO,EAAE,UAAU,SAAS,MAAM,GAAG,MAAM;IACxF,cAAc,EAAE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAI,CAAC;IACnD,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,wBAAgB,oBAAoB,CAAC,OAAO,GAAG,OAAO,EAAE,UAAU,SAAS,MAAM,GAAG,MAAM,EAAE,EAC1F,WAAW,EACX,WAAW,EACX,QAAQ,EACR,SAAS,EACT,iBAAiB,GAClB,EAAE,2BAA2B,CAAC,OAAO,EAAE,UAAU,CAAC,GACjD,0BAA0B,CAAC,OAAO,EAAE,UAAU,CAAC,CA0DhD;AAED,YAAY,EAAE,2BAA2B,EAAE,0BAA0B,EAAE,CAAC"}
@@ -11,5 +11,6 @@ export * from './api/types';
11
11
  export * from './api/jobRun';
12
12
  export type { HeroIcon, HeroIconProps } from './types/heroicons';
13
13
  export type { Icon, IconColor, IconProps } from './types/icons';
14
+ export type { RequireAtLeastOne } from './types/requireAtLeastOne';
14
15
  export * from './components/icons/untitledui/line';
15
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AA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,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAChE,YAAY,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,cAAc,oCAAoC,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Requires at least one of the keys `K` on `T` to be present (and non-nullable),
3
+ * while keeping the rest optional. Useful for props where several fields are
4
+ * individually optional but the object is meaningless if none are supplied.
5
+ *
6
+ * @example
7
+ * type Handlers = { onPress?: () => void; onLongPress?: () => void };
8
+ * type Props = RequireAtLeastOne<Handlers>;
9
+ * // { onPress: () => void; onLongPress?: () => void }
10
+ * // | { onLongPress: () => void; onPress?: () => void }
11
+ */
12
+ export type RequireAtLeastOne<T, K extends keyof T = keyof T> = Omit<T, K> & {
13
+ [P in K]-?: Required<Pick<T, P>> & Partial<Pick<T, Exclude<K, P>>>;
14
+ }[K];
15
+ //# sourceMappingURL=requireAtLeastOne.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"requireAtLeastOne.d.ts","sourceRoot":"","sources":["../../../../src/types/requireAtLeastOne.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,MAAM,iBAAiB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,GAAG,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;KAC1E,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;CACnE,CAAC,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grupalia/rn-ui-kit",
3
- "version": "0.121.0",
3
+ "version": "0.123.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",