@grupalia/rn-ui-kit 0.122.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 (35) 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/index.js.map +1 -1
  4. package/lib/commonjs/types/requireAtLeastOne.js +2 -0
  5. package/lib/commonjs/types/requireAtLeastOne.js.map +1 -0
  6. package/lib/module/components/PressableOpacity.js +5 -0
  7. package/lib/module/components/PressableOpacity.js.map +1 -1
  8. package/lib/module/index.js.map +1 -1
  9. package/lib/module/types/requireAtLeastOne.js +2 -0
  10. package/lib/module/types/requireAtLeastOne.js.map +1 -0
  11. package/lib/typescript/commonjs/components/BackButton.d.ts +2 -12
  12. package/lib/typescript/commonjs/components/BackButton.d.ts.map +1 -1
  13. package/lib/typescript/commonjs/components/BaseButton.d.ts +309 -4
  14. package/lib/typescript/commonjs/components/BaseButton.d.ts.map +1 -1
  15. package/lib/typescript/commonjs/components/MenuBottomSheetModal.d.ts +2 -2
  16. package/lib/typescript/commonjs/components/MenuBottomSheetModal.d.ts.map +1 -1
  17. package/lib/typescript/commonjs/components/PressableOpacity.d.ts +57 -4
  18. package/lib/typescript/commonjs/components/PressableOpacity.d.ts.map +1 -1
  19. package/lib/typescript/commonjs/index.d.ts +1 -0
  20. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  21. package/lib/typescript/commonjs/types/requireAtLeastOne.d.ts +15 -0
  22. package/lib/typescript/commonjs/types/requireAtLeastOne.d.ts.map +1 -0
  23. package/lib/typescript/module/components/BackButton.d.ts +2 -12
  24. package/lib/typescript/module/components/BackButton.d.ts.map +1 -1
  25. package/lib/typescript/module/components/BaseButton.d.ts +309 -4
  26. package/lib/typescript/module/components/BaseButton.d.ts.map +1 -1
  27. package/lib/typescript/module/components/MenuBottomSheetModal.d.ts +2 -2
  28. package/lib/typescript/module/components/MenuBottomSheetModal.d.ts.map +1 -1
  29. package/lib/typescript/module/components/PressableOpacity.d.ts +57 -4
  30. package/lib/typescript/module/components/PressableOpacity.d.ts.map +1 -1
  31. package/lib/typescript/module/index.d.ts +1 -0
  32. package/lib/typescript/module/index.d.ts.map +1 -1
  33. package/lib/typescript/module/types/requireAtLeastOne.d.ts +15 -0
  34. package/lib/typescript/module/types/requireAtLeastOne.d.ts.map +1 -0
  35. package/package.json +1 -1
@@ -9,6 +9,11 @@ var _react = require("react");
9
9
  var _reactNative = require("react-native");
10
10
  var _hocComponents = require("../hoc-components");
11
11
  var _jsxRuntime = require("react/jsx-runtime");
12
+ /**
13
+ * The press handlers a `PressableOpacity` can respond to. At least one must be
14
+ * provided so the component always does something on interaction.
15
+ */
16
+
12
17
  /**
13
18
  * The props remove the functional `style` from the pressable to simplify this implementation.
14
19
  */
@@ -1 +1 @@
1
- {"version":3,"names":["_nativewind","require","_react","_reactNative","_hocComponents","_jsxRuntime","AnimatedPressable","Animated","createAnimatedComponent","Pressable","PressableOpacity","forwardRef","children","activeOpacity","pressInAnimationDuration","pressOutAnimationDuration","onPressIn","onPressOut","style","props","ref","animation","useRef","Value","current","pressInEffect","useCallback","event","timing","toValue","duration","useNativeDriver","start","pressOutEffect","jsx","opacity","_default","exports","default","styled"],"sourceRoot":"../../../src","sources":["components/PressableOpacity.tsx"],"mappings":";;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AASA,IAAAG,cAAA,GAAAH,OAAA;AAA8C,IAAAI,WAAA,GAAAJ,OAAA;AAE9C;AACA;AACA;;AAYA,MAAMK,iBAAiB,GAAGC,qBAAQ,CAACC,uBAAuB,CAACC,wBAAS,CAAC;AAErE,MAAMC,gBAAgB,gBAAG,IAAAC,iBAAU,EACjC,CACE;EACEC,QAAQ;EACRC,aAAa,GAAG,GAAG;EACnBC,wBAAwB,GAAG,GAAG;EAC9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AAAC,IAAAwB,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEa,IAAAC,kBAAM,EAAC7B,gBAAgB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_nativewind","require","_react","_reactNative","_hocComponents","_jsxRuntime","AnimatedPressable","Animated","createAnimatedComponent","Pressable","PressableOpacity","forwardRef","children","activeOpacity","pressInAnimationDuration","pressOutAnimationDuration","onPressIn","onPressOut","style","props","ref","animation","useRef","Value","current","pressInEffect","useCallback","event","timing","toValue","duration","useNativeDriver","start","pressOutEffect","jsx","opacity","_default","exports","default","styled"],"sourceRoot":"../../../src","sources":["components/PressableOpacity.tsx"],"mappings":";;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AASA,IAAAG,cAAA,GAAAH,OAAA;AAA8C,IAAAI,WAAA,GAAAJ,OAAA;AAG9C;AACA;AACA;AACA;;AAMA;AACA;AACA;;AAeA,MAAMK,iBAAiB,GAAGC,qBAAQ,CAACC,uBAAuB,CAACC,wBAAS,CAAC;AAErE,MAAMC,gBAAgB,gBAAG,IAAAC,iBAAU,EACjC,CACE;EACEC,QAAQ;EACRC,aAAa,GAAG,GAAG;EACnBC,wBAAwB,GAAG,GAAG;EAC9BC,yBAAyB,GAAG,GAAG;EAC/BC,SAAS;EACTC,UAAU;EACVC,KAAK;EACL,GAAGC;AACL,CAAC,EACDC,GAAG,KACA;EACH,MAAMC,SAAS,GAAG,IAAAC,aAAM,EAAC,IAAIf,qBAAQ,CAACgB,KAAK,CAAC,CAAC,CAAC,CAAC,CAACC,OAAO;EAEvD,MAAMC,aAAa,GAAG,IAAAC,kBAAW,EAC9BC,KAA4B,IAAK;IAChCpB,qBAAQ,CAACqB,MAAM,CAACP,SAAS,EAAE;MACzBQ,OAAO,EAAEhB,aAAa;MACtBiB,QAAQ,EAAEhB,wBAAwB;MAClCiB,eAAe,EAAE;IACnB,CAAC,CAAC,CAACC,KAAK,CAAC,CAAC;IACV,IAAIhB,SAAS,EAAE;MACbA,SAAS,CAACW,KAAK,CAAC;IAClB;EACF,CAAC,EACD,CAACN,SAAS,EAAEL,SAAS,EAAEF,wBAAwB,EAAED,aAAa,CAChE,CAAC;EAED,MAAMoB,cAAc,GAAG,IAAAP,kBAAW,EAC/BC,KAA4B,IAAK;IAChCpB,qBAAQ,CAACqB,MAAM,CAACP,SAAS,EAAE;MACzBQ,OAAO,EAAE,CAAC;MACVC,QAAQ,EAAEf,yBAAyB;MACnCgB,eAAe,EAAE;IACnB,CAAC,CAAC,CAACC,KAAK,CAAC,CAAC;IACV,IAAIf,UAAU,EAAE;MACdA,UAAU,CAACU,KAAK,CAAC;IACnB;EACF,CAAC,EACD,CAACN,SAAS,EAAEJ,UAAU,EAAEF,yBAAyB,CACnD,CAAC;EAED,oBACE,IAAAV,WAAA,CAAA6B,GAAA,EAAC5B,iBAAiB;IAChBU,SAAS,EAAES,aAAc;IACzBR,UAAU,EAAEgB,cAAe;IAC3Bb,GAAG,EAAEA,GAAI;IACTF,KAAK,EAAE,CAACA,KAAK,EAAE;MAAEiB,OAAO,EAAEd;IAAU,CAAC,CAAE;IAAA,GACnCF,KAAK;IAAAP,QAAA,EAERA;EAAQ,CACQ,CAAC;AAExB,CACF,CAAC;AAAC,IAAAwB,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEa,IAAAC,kBAAM,EAAC7B,gBAAgB,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_components","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_preset","_interopRequireDefault","_backgroundColors","_foregroundColors","_utilityColors","_colors","_hooks","_UIKitProvider","_utils","_types","_jobRun","_line","e","__esModule","default"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAAAC,MAAA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B,OAAA,GAAAvB,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAqB,OAAA,EAAApB,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAmB,OAAA,CAAAnB,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAW,OAAA,CAAAnB,GAAA;IAAA;EAAA;AAAA;AAGA,IAAAoB,KAAA,GAAAxB,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAsB,KAAA,EAAArB,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAoB,KAAA,CAAApB,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAY,KAAA,CAAApB,GAAA;IAAA;EAAA;AAAA;AAAmD,SAAAU,uBAAAW,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
1
+ {"version":3,"names":["_components","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_preset","_interopRequireDefault","_backgroundColors","_foregroundColors","_utilityColors","_colors","_hooks","_UIKitProvider","_utils","_types","_jobRun","_line","e","__esModule","default"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;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requireAtLeastOne.ts"],"mappings":"","ignoreList":[]}
@@ -8,6 +8,11 @@ import { Animated
8
8
  } from 'react-native';
9
9
  import { Pressable } from "../hoc-components.js";
10
10
 
11
+ /**
12
+ * The press handlers a `PressableOpacity` can respond to. At least one must be
13
+ * provided so the component always does something on interaction.
14
+ */
15
+
11
16
  /**
12
17
  * The props remove the functional `style` from the pressable to simplify this implementation.
13
18
  */
@@ -1 +1 @@
1
- {"version":3,"names":["styled","forwardRef","useCallback","useRef","Animated","Pressable","jsx","_jsx","AnimatedPressable","createAnimatedComponent","PressableOpacity","children","activeOpacity","pressInAnimationDuration","pressOutAnimationDuration","onPressIn","onPressOut","style","props","ref","animation","Value","current","pressInEffect","event","timing","toValue","duration","useNativeDriver","start","pressOutEffect","opacity"],"sourceRoot":"../../../src","sources":["components/PressableOpacity.tsx"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,YAAY;AACnC,SAASC,UAAU,EAAEC,WAAW,EAAEC,MAAM,QAAQ,OAAO;AACvD,SACEC;;AAKM;AAAA,OACD,cAAc;AAErB,SAASC,SAAS,QAAQ,sBAAmB;;AAE7C;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA;AAcA,MAAMC,iBAAiB,GAAGJ,QAAQ,CAACK,uBAAuB,CAACJ,SAAS,CAAC;AAErE,MAAMK,gBAAgB,gBAAGT,UAAU,CACjC,CACE;EACEU,QAAQ;EACRC,aAAa,GAAG,GAAG;EACnBC,wBAAwB,GAAG,GAAG;EAC9BC,yBAAyB,GAAG,GAAG;EAC/BC,SAAS;EACTC,UAAU;EACVC,KAAK;EACL,GAAGC;AACL,CAAC,EACDC,GAAG,KACA;EACH,MAAMC,SAAS,GAAGjB,MAAM,CAAC,IAAIC,QAAQ,CAACiB,KAAK,CAAC,CAAC,CAAC,CAAC,CAACC,OAAO;EAEvD,MAAMC,aAAa,GAAGrB,WAAW,CAC9BsB,KAA4B,IAAK;IAChCpB,QAAQ,CAACqB,MAAM,CAACL,SAAS,EAAE;MACzBM,OAAO,EAAEd,aAAa;MACtBe,QAAQ,EAAEd,wBAAwB;MAClCe,eAAe,EAAE;IACnB,CAAC,CAAC,CAACC,KAAK,CAAC,CAAC;IACV,IAAId,SAAS,EAAE;MACbA,SAAS,CAACS,KAAK,CAAC;IAClB;EACF,CAAC,EACD,CAACJ,SAAS,EAAEL,SAAS,EAAEF,wBAAwB,EAAED,aAAa,CAChE,CAAC;EAED,MAAMkB,cAAc,GAAG5B,WAAW,CAC/BsB,KAA4B,IAAK;IAChCpB,QAAQ,CAACqB,MAAM,CAACL,SAAS,EAAE;MACzBM,OAAO,EAAE,CAAC;MACVC,QAAQ,EAAEb,yBAAyB;MACnCc,eAAe,EAAE;IACnB,CAAC,CAAC,CAACC,KAAK,CAAC,CAAC;IACV,IAAIb,UAAU,EAAE;MACdA,UAAU,CAACQ,KAAK,CAAC;IACnB;EACF,CAAC,EACD,CAACJ,SAAS,EAAEJ,UAAU,EAAEF,yBAAyB,CACnD,CAAC;EAED,oBACEP,IAAA,CAACC,iBAAiB;IAChBO,SAAS,EAAEQ,aAAc;IACzBP,UAAU,EAAEc,cAAe;IAC3BX,GAAG,EAAEA,GAAI;IACTF,KAAK,EAAE,CAACA,KAAK,EAAE;MAAEc,OAAO,EAAEX;IAAU,CAAC,CAAE;IAAA,GACnCF,KAAK;IAAAP,QAAA,EAERA;EAAQ,CACQ,CAAC;AAExB,CACF,CAAC;AAED,eAAeX,MAAM,CAACU,gBAAgB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["styled","forwardRef","useCallback","useRef","Animated","Pressable","jsx","_jsx","AnimatedPressable","createAnimatedComponent","PressableOpacity","children","activeOpacity","pressInAnimationDuration","pressOutAnimationDuration","onPressIn","onPressOut","style","props","ref","animation","Value","current","pressInEffect","event","timing","toValue","duration","useNativeDriver","start","pressOutEffect","opacity"],"sourceRoot":"../../../src","sources":["components/PressableOpacity.tsx"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,YAAY;AACnC,SAASC,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AC,EACD,CAACJ,SAAS,EAAEJ,UAAU,EAAEF,yBAAyB,CACnD,CAAC;EAED,oBACEP,IAAA,CAACC,iBAAiB;IAChBO,SAAS,EAAEQ,aAAc;IACzBP,UAAU,EAAEc,cAAe;IAC3BX,GAAG,EAAEA,GAAI;IACTF,KAAK,EAAE,CAACA,KAAK,EAAE;MAAEc,OAAO,EAAEX;IAAU,CAAC,CAAE;IAAA,GACnCF,KAAK;IAAAP,QAAA,EAERA;EAAQ,CACQ,CAAC;AAExB,CACF,CAAC;AAED,eAAeX,MAAM,CAACU,gBAAgB,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["default","preset","backgroundColors","foregroundColors","utilityColors","colors"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,cAAc,uBAAc;AAC5B,SAASA,OAAO,IAAIC,MAAM,QAAQ,aAAU;AAC5C,SAASD,OAAO,IAAIE,gBAAgB,QAAQ,+BAA4B;AACxE,SAASF,OAAO,IAAIG,gBAAgB,QAAQ,+BAA4B;AACxE,SAASH,OAAO,IAAII,aAAa,QAAQ,4BAAyB;AAClE,SAASJ,OAAO,IAAIK,MAAM,QAAQ,oBAAiB;AACnD,cAAc,kBAAS;AACvB,cAAc,oBAAiB;AAC/B,cAAc,kBAAS;AACvB,cAAc,gBAAa;AAC3B,cAAc,iBAAc;AAG5B,cAAc,6CAAoC","ignoreList":[]}
1
+ {"version":3,"names":["default","preset","backgroundColors","foregroundColors","utilityColors","colors"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,cAAc,uBAAc;AAC5B,SAASA,OAAO,IAAIC,MAAM,QAAQ,aAAU;AAC5C,SAASD,OAAO,IAAIE,gBAAgB,QAAQ,+BAA4B;AACxE,SAASF,OAAO,IAAIG,gBAAgB,QAAQ,+BAA4B;AACxE,SAASH,OAAO,IAAII,aAAa,QAAQ,4BAAyB;AAClE,SAASJ,OAAO,IAAIK,MAAM,QAAQ,oBAAiB;AACnD,cAAc,kBAAS;AACvB,cAAc,oBAAiB;AAC/B,cAAc,kBAAS;AACvB,cAAc,gBAAa;AAC3B,cAAc,iBAAc;AAI5B,cAAc,6CAAoC","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=requireAtLeastOne.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/requireAtLeastOne.ts"],"mappings":"","ignoreList":[]}
@@ -1,15 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare const _default: import("react").ForwardRefExoticComponent<Omit<import("react-native").PressableProps, "style"> & {
3
- activeOpacity?: number | undefined;
4
- keepPressedOnLongPress?: boolean | undefined;
5
- pressInAnimationDuration?: number | undefined;
6
- pressOutAnimationDuration?: number | undefined;
7
- style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
8
- } & {
9
- className?: string | undefined;
10
- tw?: string | undefined;
11
- baseClassName?: string | undefined;
12
- baseTw?: string | undefined;
13
- } & import("react").RefAttributes<unknown>>;
2
+ import { PressableOpacityProps } from './PressableOpacity';
3
+ declare const _default: import("react").ForwardRefExoticComponent<import("nativewind").StyledProps<PressableOpacityProps> & import("react").RefAttributes<unknown>>;
14
4
  export default _default;
15
5
  //# sourceMappingURL=BackButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BackButton.d.ts","sourceRoot":"","sources":["../../../../src/components/BackButton.tsx"],"names":[],"mappings":";;;;;;;;;;;;;AA4BA,wBAAkC"}
1
+ {"version":3,"file":"BackButton.d.ts","sourceRoot":"","sources":["../../../../src/components/BackButton.tsx"],"names":[],"mappings":";AAKA,OAAyB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;;AAuB7E,wBAAkC"}
@@ -1,12 +1,297 @@
1
1
  import React from 'react';
2
+ import { GestureResponderEvent } from 'react-native';
2
3
  import { Icon } from '../types/icons';
3
- declare const _default: React.ForwardRefExoticComponent<(Omit<Omit<import("nativewind").StyledProps<Omit<import("react-native").PressableProps, "style"> & {
4
+ declare const _default: React.ForwardRefExoticComponent<(Omit<Omit<Omit<import("react-native").PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
4
5
  activeOpacity?: number | undefined;
5
6
  keepPressedOnLongPress?: boolean | undefined;
6
7
  pressInAnimationDuration?: number | undefined;
7
8
  pressOutAnimationDuration?: number | undefined;
8
9
  style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
9
- } & React.RefAttributes<import("react-native").View>>, "ref"> & React.RefAttributes<import("react-native").View> & {
10
+ } & Omit<{
11
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
12
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
13
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
14
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
15
+ }, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<{
16
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
17
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
18
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
19
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
20
+ }, "onPress">> & Partial<Pick<{
21
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
22
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
23
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
24
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
25
+ }, "onPressIn" | "onPressOut" | "onLongPress">> & React.RefAttributes<import("react-native").View> & {
26
+ className?: string | undefined;
27
+ tw?: string | undefined;
28
+ baseClassName?: string | undefined;
29
+ baseTw?: string | undefined;
30
+ }, "ref"> & React.RefAttributes<import("react-native").View> & {
31
+ variant?: "primary" | "secondary" | "tertiary" | "link-color" | "link-gray" | "link-on-brand" | undefined;
32
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
33
+ text?: string | undefined;
34
+ loading?: boolean | undefined;
35
+ disabled?: boolean | undefined;
36
+ destructive?: boolean | undefined;
37
+ leftIcon?: Icon | null | undefined;
38
+ rightIcon?: Icon | null | undefined;
39
+ debounceSecs?: number | undefined;
40
+ } & {
41
+ countdownSecs: number;
42
+ popOnCountdownEnd?: boolean | undefined;
43
+ } & {
44
+ className?: string | undefined;
45
+ tw?: string | undefined;
46
+ baseClassName?: string | undefined;
47
+ baseTw?: string | undefined;
48
+ }, "ref"> | Omit<Omit<Omit<import("react-native").PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
49
+ activeOpacity?: number | undefined;
50
+ keepPressedOnLongPress?: boolean | undefined;
51
+ pressInAnimationDuration?: number | undefined;
52
+ pressOutAnimationDuration?: number | undefined;
53
+ style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
54
+ } & Omit<{
55
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
56
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
57
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
58
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
59
+ }, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<{
60
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
61
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
62
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
63
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
64
+ }, "onPress">> & Partial<Pick<{
65
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
66
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
67
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
68
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
69
+ }, "onPressIn" | "onPressOut" | "onLongPress">> & React.RefAttributes<import("react-native").View> & {
70
+ className?: string | undefined;
71
+ tw?: string | undefined;
72
+ baseClassName?: string | undefined;
73
+ baseTw?: string | undefined;
74
+ }, "ref"> & React.RefAttributes<import("react-native").View> & {
75
+ variant?: "primary" | "secondary" | "tertiary" | "link-color" | "link-gray" | "link-on-brand" | undefined;
76
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
77
+ text?: string | undefined;
78
+ loading?: boolean | undefined;
79
+ disabled?: boolean | undefined;
80
+ destructive?: boolean | undefined;
81
+ leftIcon?: Icon | null | undefined;
82
+ rightIcon?: Icon | null | undefined;
83
+ debounceSecs?: number | undefined;
84
+ } & {
85
+ countdownSecs?: undefined;
86
+ popOnCountdownEnd?: undefined;
87
+ } & {
88
+ className?: string | undefined;
89
+ tw?: string | undefined;
90
+ baseClassName?: string | undefined;
91
+ baseTw?: string | undefined;
92
+ }, "ref"> | Omit<Omit<Omit<import("react-native").PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
93
+ activeOpacity?: number | undefined;
94
+ keepPressedOnLongPress?: boolean | undefined;
95
+ pressInAnimationDuration?: number | undefined;
96
+ pressOutAnimationDuration?: number | undefined;
97
+ style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
98
+ } & Omit<{
99
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
100
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
101
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
102
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
103
+ }, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<{
104
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
105
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
106
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
107
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
108
+ }, "onPressIn">> & Partial<Pick<{
109
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
110
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
111
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
112
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
113
+ }, "onPress" | "onPressOut" | "onLongPress">> & React.RefAttributes<import("react-native").View> & {
114
+ className?: string | undefined;
115
+ tw?: string | undefined;
116
+ baseClassName?: string | undefined;
117
+ baseTw?: string | undefined;
118
+ }, "ref"> & React.RefAttributes<import("react-native").View> & {
119
+ variant?: "primary" | "secondary" | "tertiary" | "link-color" | "link-gray" | "link-on-brand" | undefined;
120
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
121
+ text?: string | undefined;
122
+ loading?: boolean | undefined;
123
+ disabled?: boolean | undefined;
124
+ destructive?: boolean | undefined;
125
+ leftIcon?: Icon | null | undefined;
126
+ rightIcon?: Icon | null | undefined;
127
+ debounceSecs?: number | undefined;
128
+ } & {
129
+ countdownSecs: number;
130
+ popOnCountdownEnd?: boolean | undefined;
131
+ } & {
132
+ className?: string | undefined;
133
+ tw?: string | undefined;
134
+ baseClassName?: string | undefined;
135
+ baseTw?: string | undefined;
136
+ }, "ref"> | Omit<Omit<Omit<import("react-native").PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
137
+ activeOpacity?: number | undefined;
138
+ keepPressedOnLongPress?: boolean | undefined;
139
+ pressInAnimationDuration?: number | undefined;
140
+ pressOutAnimationDuration?: number | undefined;
141
+ style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
142
+ } & Omit<{
143
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
144
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
145
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
146
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
147
+ }, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<{
148
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
149
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
150
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
151
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
152
+ }, "onPressIn">> & Partial<Pick<{
153
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
154
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
155
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
156
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
157
+ }, "onPress" | "onPressOut" | "onLongPress">> & React.RefAttributes<import("react-native").View> & {
158
+ className?: string | undefined;
159
+ tw?: string | undefined;
160
+ baseClassName?: string | undefined;
161
+ baseTw?: string | undefined;
162
+ }, "ref"> & React.RefAttributes<import("react-native").View> & {
163
+ variant?: "primary" | "secondary" | "tertiary" | "link-color" | "link-gray" | "link-on-brand" | undefined;
164
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
165
+ text?: string | undefined;
166
+ loading?: boolean | undefined;
167
+ disabled?: boolean | undefined;
168
+ destructive?: boolean | undefined;
169
+ leftIcon?: Icon | null | undefined;
170
+ rightIcon?: Icon | null | undefined;
171
+ debounceSecs?: number | undefined;
172
+ } & {
173
+ countdownSecs?: undefined;
174
+ popOnCountdownEnd?: undefined;
175
+ } & {
176
+ className?: string | undefined;
177
+ tw?: string | undefined;
178
+ baseClassName?: string | undefined;
179
+ baseTw?: string | undefined;
180
+ }, "ref"> | Omit<Omit<Omit<import("react-native").PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
181
+ activeOpacity?: number | undefined;
182
+ keepPressedOnLongPress?: boolean | undefined;
183
+ pressInAnimationDuration?: number | undefined;
184
+ pressOutAnimationDuration?: number | undefined;
185
+ style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
186
+ } & Omit<{
187
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
188
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
189
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
190
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
191
+ }, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<{
192
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
193
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
194
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
195
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
196
+ }, "onPressOut">> & Partial<Pick<{
197
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
198
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
199
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
200
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
201
+ }, "onPress" | "onPressIn" | "onLongPress">> & React.RefAttributes<import("react-native").View> & {
202
+ className?: string | undefined;
203
+ tw?: string | undefined;
204
+ baseClassName?: string | undefined;
205
+ baseTw?: string | undefined;
206
+ }, "ref"> & React.RefAttributes<import("react-native").View> & {
207
+ variant?: "primary" | "secondary" | "tertiary" | "link-color" | "link-gray" | "link-on-brand" | undefined;
208
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
209
+ text?: string | undefined;
210
+ loading?: boolean | undefined;
211
+ disabled?: boolean | undefined;
212
+ destructive?: boolean | undefined;
213
+ leftIcon?: Icon | null | undefined;
214
+ rightIcon?: Icon | null | undefined;
215
+ debounceSecs?: number | undefined;
216
+ } & {
217
+ countdownSecs: number;
218
+ popOnCountdownEnd?: boolean | undefined;
219
+ } & {
220
+ className?: string | undefined;
221
+ tw?: string | undefined;
222
+ baseClassName?: string | undefined;
223
+ baseTw?: string | undefined;
224
+ }, "ref"> | Omit<Omit<Omit<import("react-native").PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
225
+ activeOpacity?: number | undefined;
226
+ keepPressedOnLongPress?: boolean | undefined;
227
+ pressInAnimationDuration?: number | undefined;
228
+ pressOutAnimationDuration?: number | undefined;
229
+ style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
230
+ } & Omit<{
231
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
232
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
233
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
234
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
235
+ }, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<{
236
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
237
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
238
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
239
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
240
+ }, "onPressOut">> & Partial<Pick<{
241
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
242
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
243
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
244
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
245
+ }, "onPress" | "onPressIn" | "onLongPress">> & React.RefAttributes<import("react-native").View> & {
246
+ className?: string | undefined;
247
+ tw?: string | undefined;
248
+ baseClassName?: string | undefined;
249
+ baseTw?: string | undefined;
250
+ }, "ref"> & React.RefAttributes<import("react-native").View> & {
251
+ variant?: "primary" | "secondary" | "tertiary" | "link-color" | "link-gray" | "link-on-brand" | undefined;
252
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
253
+ text?: string | undefined;
254
+ loading?: boolean | undefined;
255
+ disabled?: boolean | undefined;
256
+ destructive?: boolean | undefined;
257
+ leftIcon?: Icon | null | undefined;
258
+ rightIcon?: Icon | null | undefined;
259
+ debounceSecs?: number | undefined;
260
+ } & {
261
+ countdownSecs?: undefined;
262
+ popOnCountdownEnd?: undefined;
263
+ } & {
264
+ className?: string | undefined;
265
+ tw?: string | undefined;
266
+ baseClassName?: string | undefined;
267
+ baseTw?: string | undefined;
268
+ }, "ref"> | Omit<Omit<Omit<import("react-native").PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
269
+ activeOpacity?: number | undefined;
270
+ keepPressedOnLongPress?: boolean | undefined;
271
+ pressInAnimationDuration?: number | undefined;
272
+ pressOutAnimationDuration?: number | undefined;
273
+ style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
274
+ } & Omit<{
275
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
276
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
277
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
278
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
279
+ }, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<{
280
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
281
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
282
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
283
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
284
+ }, "onLongPress">> & Partial<Pick<{
285
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
286
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
287
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
288
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
289
+ }, "onPress" | "onPressIn" | "onPressOut">> & React.RefAttributes<import("react-native").View> & {
290
+ className?: string | undefined;
291
+ tw?: string | undefined;
292
+ baseClassName?: string | undefined;
293
+ baseTw?: string | undefined;
294
+ }, "ref"> & React.RefAttributes<import("react-native").View> & {
10
295
  variant?: "primary" | "secondary" | "tertiary" | "link-color" | "link-gray" | "link-on-brand" | undefined;
11
296
  size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
12
297
  text?: string | undefined;
@@ -24,13 +309,33 @@ declare const _default: React.ForwardRefExoticComponent<(Omit<Omit<import("nativ
24
309
  tw?: string | undefined;
25
310
  baseClassName?: string | undefined;
26
311
  baseTw?: string | undefined;
27
- }, "ref"> | Omit<Omit<import("nativewind").StyledProps<Omit<import("react-native").PressableProps, "style"> & {
312
+ }, "ref"> | Omit<Omit<Omit<import("react-native").PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
28
313
  activeOpacity?: number | undefined;
29
314
  keepPressedOnLongPress?: boolean | undefined;
30
315
  pressInAnimationDuration?: number | undefined;
31
316
  pressOutAnimationDuration?: number | undefined;
32
317
  style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
33
- } & React.RefAttributes<import("react-native").View>>, "ref"> & React.RefAttributes<import("react-native").View> & {
318
+ } & Omit<{
319
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
320
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
321
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
322
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
323
+ }, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<{
324
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
325
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
326
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
327
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
328
+ }, "onLongPress">> & Partial<Pick<{
329
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
330
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
331
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
332
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
333
+ }, "onPress" | "onPressIn" | "onPressOut">> & React.RefAttributes<import("react-native").View> & {
334
+ className?: string | undefined;
335
+ tw?: string | undefined;
336
+ baseClassName?: string | undefined;
337
+ baseTw?: string | undefined;
338
+ }, "ref"> & React.RefAttributes<import("react-native").View> & {
34
339
  variant?: "primary" | "secondary" | "tertiary" | "link-color" | "link-gray" | "link-on-brand" | undefined;
35
340
  size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
36
341
  text?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"BaseButton.d.ts","sourceRoot":"","sources":["../../../../src/components/BaseButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8ZtC,wBAAkC"}
1
+ {"version":3,"file":"BaseButton.d.ts","sourceRoot":"","sources":["../../../../src/components/BaseButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAY,qBAAqB,EAAqB,MAAM,cAAc,CAAC;AAOlF,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8ZtC,wBAAkC"}
@@ -1,12 +1,12 @@
1
1
  /// <reference types="react" />
2
2
  import { PressableOpacityProps } from './PressableOpacity';
3
3
  import { Icon } from '../types/icons';
4
- interface MenuBottomSheetItem extends PressableOpacityProps {
4
+ type MenuBottomSheetItem = PressableOpacityProps & {
5
5
  icon: Icon;
6
6
  label: string;
7
7
  showDot?: boolean;
8
8
  active?: boolean;
9
- }
9
+ };
10
10
  interface MenuBottomSheetModalProps {
11
11
  visible: boolean;
12
12
  onClose: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"MenuBottomSheetModal.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuBottomSheetModal.tsx"],"names":[],"mappings":";AAQA,OAAyB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,UAAU,mBAAoB,SAAQ,qBAAqB;IACzD,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,UAAU,yBAAyB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B;;;;;;;AA0DD,wBAA4C;AAC5C,YAAY,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,CAAC"}
1
+ {"version":3,"file":"MenuBottomSheetModal.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuBottomSheetModal.tsx"],"names":[],"mappings":";AAQA,OAAyB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,KAAK,mBAAmB,GAAG,qBAAqB,GAAG;IACjD,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,UAAU,yBAAyB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B;;;;;;;AA0DD,wBAA4C;AAC5C,YAAY,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,CAAC"}
@@ -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"}
@@ -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":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACpD,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACjE,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAChE,cAAc,oCAAoC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACpD,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACjE,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"}
@@ -1,15 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare const _default: import("react").ForwardRefExoticComponent<Omit<import("react-native").PressableProps, "style"> & {
3
- activeOpacity?: number | undefined;
4
- keepPressedOnLongPress?: boolean | undefined;
5
- pressInAnimationDuration?: number | undefined;
6
- pressOutAnimationDuration?: number | undefined;
7
- style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
8
- } & {
9
- className?: string | undefined;
10
- tw?: string | undefined;
11
- baseClassName?: string | undefined;
12
- baseTw?: string | undefined;
13
- } & import("react").RefAttributes<unknown>>;
2
+ import { PressableOpacityProps } from './PressableOpacity';
3
+ declare const _default: import("react").ForwardRefExoticComponent<import("nativewind").StyledProps<PressableOpacityProps> & import("react").RefAttributes<unknown>>;
14
4
  export default _default;
15
5
  //# sourceMappingURL=BackButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BackButton.d.ts","sourceRoot":"","sources":["../../../../src/components/BackButton.tsx"],"names":[],"mappings":";;;;;;;;;;;;;AA4BA,wBAAkC"}
1
+ {"version":3,"file":"BackButton.d.ts","sourceRoot":"","sources":["../../../../src/components/BackButton.tsx"],"names":[],"mappings":";AAKA,OAAyB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;;AAuB7E,wBAAkC"}
@@ -1,12 +1,297 @@
1
1
  import React from 'react';
2
+ import { GestureResponderEvent } from 'react-native';
2
3
  import { Icon } from '../types/icons';
3
- declare const _default: React.ForwardRefExoticComponent<(Omit<Omit<import("nativewind").StyledProps<Omit<import("react-native").PressableProps, "style"> & {
4
+ declare const _default: React.ForwardRefExoticComponent<(Omit<Omit<Omit<import("react-native").PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
4
5
  activeOpacity?: number | undefined;
5
6
  keepPressedOnLongPress?: boolean | undefined;
6
7
  pressInAnimationDuration?: number | undefined;
7
8
  pressOutAnimationDuration?: number | undefined;
8
9
  style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
9
- } & React.RefAttributes<import("react-native").View>>, "ref"> & React.RefAttributes<import("react-native").View> & {
10
+ } & Omit<{
11
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
12
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
13
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
14
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
15
+ }, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<{
16
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
17
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
18
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
19
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
20
+ }, "onPress">> & Partial<Pick<{
21
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
22
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
23
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
24
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
25
+ }, "onPressIn" | "onPressOut" | "onLongPress">> & React.RefAttributes<import("react-native").View> & {
26
+ className?: string | undefined;
27
+ tw?: string | undefined;
28
+ baseClassName?: string | undefined;
29
+ baseTw?: string | undefined;
30
+ }, "ref"> & React.RefAttributes<import("react-native").View> & {
31
+ variant?: "primary" | "secondary" | "tertiary" | "link-color" | "link-gray" | "link-on-brand" | undefined;
32
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
33
+ text?: string | undefined;
34
+ loading?: boolean | undefined;
35
+ disabled?: boolean | undefined;
36
+ destructive?: boolean | undefined;
37
+ leftIcon?: Icon | null | undefined;
38
+ rightIcon?: Icon | null | undefined;
39
+ debounceSecs?: number | undefined;
40
+ } & {
41
+ countdownSecs: number;
42
+ popOnCountdownEnd?: boolean | undefined;
43
+ } & {
44
+ className?: string | undefined;
45
+ tw?: string | undefined;
46
+ baseClassName?: string | undefined;
47
+ baseTw?: string | undefined;
48
+ }, "ref"> | Omit<Omit<Omit<import("react-native").PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
49
+ activeOpacity?: number | undefined;
50
+ keepPressedOnLongPress?: boolean | undefined;
51
+ pressInAnimationDuration?: number | undefined;
52
+ pressOutAnimationDuration?: number | undefined;
53
+ style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
54
+ } & Omit<{
55
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
56
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
57
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
58
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
59
+ }, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<{
60
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
61
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
62
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
63
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
64
+ }, "onPress">> & Partial<Pick<{
65
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
66
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
67
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
68
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
69
+ }, "onPressIn" | "onPressOut" | "onLongPress">> & React.RefAttributes<import("react-native").View> & {
70
+ className?: string | undefined;
71
+ tw?: string | undefined;
72
+ baseClassName?: string | undefined;
73
+ baseTw?: string | undefined;
74
+ }, "ref"> & React.RefAttributes<import("react-native").View> & {
75
+ variant?: "primary" | "secondary" | "tertiary" | "link-color" | "link-gray" | "link-on-brand" | undefined;
76
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
77
+ text?: string | undefined;
78
+ loading?: boolean | undefined;
79
+ disabled?: boolean | undefined;
80
+ destructive?: boolean | undefined;
81
+ leftIcon?: Icon | null | undefined;
82
+ rightIcon?: Icon | null | undefined;
83
+ debounceSecs?: number | undefined;
84
+ } & {
85
+ countdownSecs?: undefined;
86
+ popOnCountdownEnd?: undefined;
87
+ } & {
88
+ className?: string | undefined;
89
+ tw?: string | undefined;
90
+ baseClassName?: string | undefined;
91
+ baseTw?: string | undefined;
92
+ }, "ref"> | Omit<Omit<Omit<import("react-native").PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
93
+ activeOpacity?: number | undefined;
94
+ keepPressedOnLongPress?: boolean | undefined;
95
+ pressInAnimationDuration?: number | undefined;
96
+ pressOutAnimationDuration?: number | undefined;
97
+ style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
98
+ } & Omit<{
99
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
100
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
101
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
102
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
103
+ }, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<{
104
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
105
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
106
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
107
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
108
+ }, "onPressIn">> & Partial<Pick<{
109
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
110
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
111
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
112
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
113
+ }, "onPress" | "onPressOut" | "onLongPress">> & React.RefAttributes<import("react-native").View> & {
114
+ className?: string | undefined;
115
+ tw?: string | undefined;
116
+ baseClassName?: string | undefined;
117
+ baseTw?: string | undefined;
118
+ }, "ref"> & React.RefAttributes<import("react-native").View> & {
119
+ variant?: "primary" | "secondary" | "tertiary" | "link-color" | "link-gray" | "link-on-brand" | undefined;
120
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
121
+ text?: string | undefined;
122
+ loading?: boolean | undefined;
123
+ disabled?: boolean | undefined;
124
+ destructive?: boolean | undefined;
125
+ leftIcon?: Icon | null | undefined;
126
+ rightIcon?: Icon | null | undefined;
127
+ debounceSecs?: number | undefined;
128
+ } & {
129
+ countdownSecs: number;
130
+ popOnCountdownEnd?: boolean | undefined;
131
+ } & {
132
+ className?: string | undefined;
133
+ tw?: string | undefined;
134
+ baseClassName?: string | undefined;
135
+ baseTw?: string | undefined;
136
+ }, "ref"> | Omit<Omit<Omit<import("react-native").PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
137
+ activeOpacity?: number | undefined;
138
+ keepPressedOnLongPress?: boolean | undefined;
139
+ pressInAnimationDuration?: number | undefined;
140
+ pressOutAnimationDuration?: number | undefined;
141
+ style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
142
+ } & Omit<{
143
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
144
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
145
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
146
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
147
+ }, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<{
148
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
149
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
150
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
151
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
152
+ }, "onPressIn">> & Partial<Pick<{
153
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
154
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
155
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
156
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
157
+ }, "onPress" | "onPressOut" | "onLongPress">> & React.RefAttributes<import("react-native").View> & {
158
+ className?: string | undefined;
159
+ tw?: string | undefined;
160
+ baseClassName?: string | undefined;
161
+ baseTw?: string | undefined;
162
+ }, "ref"> & React.RefAttributes<import("react-native").View> & {
163
+ variant?: "primary" | "secondary" | "tertiary" | "link-color" | "link-gray" | "link-on-brand" | undefined;
164
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
165
+ text?: string | undefined;
166
+ loading?: boolean | undefined;
167
+ disabled?: boolean | undefined;
168
+ destructive?: boolean | undefined;
169
+ leftIcon?: Icon | null | undefined;
170
+ rightIcon?: Icon | null | undefined;
171
+ debounceSecs?: number | undefined;
172
+ } & {
173
+ countdownSecs?: undefined;
174
+ popOnCountdownEnd?: undefined;
175
+ } & {
176
+ className?: string | undefined;
177
+ tw?: string | undefined;
178
+ baseClassName?: string | undefined;
179
+ baseTw?: string | undefined;
180
+ }, "ref"> | Omit<Omit<Omit<import("react-native").PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
181
+ activeOpacity?: number | undefined;
182
+ keepPressedOnLongPress?: boolean | undefined;
183
+ pressInAnimationDuration?: number | undefined;
184
+ pressOutAnimationDuration?: number | undefined;
185
+ style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
186
+ } & Omit<{
187
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
188
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
189
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
190
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
191
+ }, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<{
192
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
193
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
194
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
195
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
196
+ }, "onPressOut">> & Partial<Pick<{
197
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
198
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
199
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
200
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
201
+ }, "onPress" | "onPressIn" | "onLongPress">> & React.RefAttributes<import("react-native").View> & {
202
+ className?: string | undefined;
203
+ tw?: string | undefined;
204
+ baseClassName?: string | undefined;
205
+ baseTw?: string | undefined;
206
+ }, "ref"> & React.RefAttributes<import("react-native").View> & {
207
+ variant?: "primary" | "secondary" | "tertiary" | "link-color" | "link-gray" | "link-on-brand" | undefined;
208
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
209
+ text?: string | undefined;
210
+ loading?: boolean | undefined;
211
+ disabled?: boolean | undefined;
212
+ destructive?: boolean | undefined;
213
+ leftIcon?: Icon | null | undefined;
214
+ rightIcon?: Icon | null | undefined;
215
+ debounceSecs?: number | undefined;
216
+ } & {
217
+ countdownSecs: number;
218
+ popOnCountdownEnd?: boolean | undefined;
219
+ } & {
220
+ className?: string | undefined;
221
+ tw?: string | undefined;
222
+ baseClassName?: string | undefined;
223
+ baseTw?: string | undefined;
224
+ }, "ref"> | Omit<Omit<Omit<import("react-native").PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
225
+ activeOpacity?: number | undefined;
226
+ keepPressedOnLongPress?: boolean | undefined;
227
+ pressInAnimationDuration?: number | undefined;
228
+ pressOutAnimationDuration?: number | undefined;
229
+ style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
230
+ } & Omit<{
231
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
232
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
233
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
234
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
235
+ }, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<{
236
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
237
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
238
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
239
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
240
+ }, "onPressOut">> & Partial<Pick<{
241
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
242
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
243
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
244
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
245
+ }, "onPress" | "onPressIn" | "onLongPress">> & React.RefAttributes<import("react-native").View> & {
246
+ className?: string | undefined;
247
+ tw?: string | undefined;
248
+ baseClassName?: string | undefined;
249
+ baseTw?: string | undefined;
250
+ }, "ref"> & React.RefAttributes<import("react-native").View> & {
251
+ variant?: "primary" | "secondary" | "tertiary" | "link-color" | "link-gray" | "link-on-brand" | undefined;
252
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
253
+ text?: string | undefined;
254
+ loading?: boolean | undefined;
255
+ disabled?: boolean | undefined;
256
+ destructive?: boolean | undefined;
257
+ leftIcon?: Icon | null | undefined;
258
+ rightIcon?: Icon | null | undefined;
259
+ debounceSecs?: number | undefined;
260
+ } & {
261
+ countdownSecs?: undefined;
262
+ popOnCountdownEnd?: undefined;
263
+ } & {
264
+ className?: string | undefined;
265
+ tw?: string | undefined;
266
+ baseClassName?: string | undefined;
267
+ baseTw?: string | undefined;
268
+ }, "ref"> | Omit<Omit<Omit<import("react-native").PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
269
+ activeOpacity?: number | undefined;
270
+ keepPressedOnLongPress?: boolean | undefined;
271
+ pressInAnimationDuration?: number | undefined;
272
+ pressOutAnimationDuration?: number | undefined;
273
+ style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
274
+ } & Omit<{
275
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
276
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
277
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
278
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
279
+ }, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<{
280
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
281
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
282
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
283
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
284
+ }, "onLongPress">> & Partial<Pick<{
285
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
286
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
287
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
288
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
289
+ }, "onPress" | "onPressIn" | "onPressOut">> & React.RefAttributes<import("react-native").View> & {
290
+ className?: string | undefined;
291
+ tw?: string | undefined;
292
+ baseClassName?: string | undefined;
293
+ baseTw?: string | undefined;
294
+ }, "ref"> & React.RefAttributes<import("react-native").View> & {
10
295
  variant?: "primary" | "secondary" | "tertiary" | "link-color" | "link-gray" | "link-on-brand" | undefined;
11
296
  size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
12
297
  text?: string | undefined;
@@ -24,13 +309,33 @@ declare const _default: React.ForwardRefExoticComponent<(Omit<Omit<import("nativ
24
309
  tw?: string | undefined;
25
310
  baseClassName?: string | undefined;
26
311
  baseTw?: string | undefined;
27
- }, "ref"> | Omit<Omit<import("nativewind").StyledProps<Omit<import("react-native").PressableProps, "style"> & {
312
+ }, "ref"> | Omit<Omit<Omit<import("react-native").PressableProps, "style" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & {
28
313
  activeOpacity?: number | undefined;
29
314
  keepPressedOnLongPress?: boolean | undefined;
30
315
  pressInAnimationDuration?: number | undefined;
31
316
  pressOutAnimationDuration?: number | undefined;
32
317
  style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
33
- } & React.RefAttributes<import("react-native").View>>, "ref"> & React.RefAttributes<import("react-native").View> & {
318
+ } & Omit<{
319
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
320
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
321
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
322
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
323
+ }, "onPress" | "onPressIn" | "onPressOut" | "onLongPress"> & Required<Pick<{
324
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
325
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
326
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
327
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
328
+ }, "onLongPress">> & Partial<Pick<{
329
+ onPress?: ((event: GestureResponderEvent) => void) | null | undefined;
330
+ onPressIn?: ((event: GestureResponderEvent) => void) | null | undefined;
331
+ onPressOut?: ((event: GestureResponderEvent) => void) | null | undefined;
332
+ onLongPress?: ((event: GestureResponderEvent) => void) | null | undefined;
333
+ }, "onPress" | "onPressIn" | "onPressOut">> & React.RefAttributes<import("react-native").View> & {
334
+ className?: string | undefined;
335
+ tw?: string | undefined;
336
+ baseClassName?: string | undefined;
337
+ baseTw?: string | undefined;
338
+ }, "ref"> & React.RefAttributes<import("react-native").View> & {
34
339
  variant?: "primary" | "secondary" | "tertiary" | "link-color" | "link-gray" | "link-on-brand" | undefined;
35
340
  size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
36
341
  text?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"BaseButton.d.ts","sourceRoot":"","sources":["../../../../src/components/BaseButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8ZtC,wBAAkC"}
1
+ {"version":3,"file":"BaseButton.d.ts","sourceRoot":"","sources":["../../../../src/components/BaseButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAY,qBAAqB,EAAqB,MAAM,cAAc,CAAC;AAOlF,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8ZtC,wBAAkC"}
@@ -1,12 +1,12 @@
1
1
  /// <reference types="react" />
2
2
  import { PressableOpacityProps } from './PressableOpacity';
3
3
  import { Icon } from '../types/icons';
4
- interface MenuBottomSheetItem extends PressableOpacityProps {
4
+ type MenuBottomSheetItem = PressableOpacityProps & {
5
5
  icon: Icon;
6
6
  label: string;
7
7
  showDot?: boolean;
8
8
  active?: boolean;
9
- }
9
+ };
10
10
  interface MenuBottomSheetModalProps {
11
11
  visible: boolean;
12
12
  onClose: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"MenuBottomSheetModal.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuBottomSheetModal.tsx"],"names":[],"mappings":";AAQA,OAAyB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,UAAU,mBAAoB,SAAQ,qBAAqB;IACzD,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,UAAU,yBAAyB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B;;;;;;;AA0DD,wBAA4C;AAC5C,YAAY,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,CAAC"}
1
+ {"version":3,"file":"MenuBottomSheetModal.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuBottomSheetModal.tsx"],"names":[],"mappings":";AAQA,OAAyB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,KAAK,mBAAmB,GAAG,qBAAqB,GAAG;IACjD,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,UAAU,yBAAyB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B;;;;;;;AA0DD,wBAA4C;AAC5C,YAAY,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,CAAC"}
@@ -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"}
@@ -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":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACpD,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACjE,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAChE,cAAc,oCAAoC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACpD,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACjE,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.122.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",