@grupalia/rn-ui-kit 0.122.0 → 0.124.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/PressableOpacity.js +5 -0
- package/lib/commonjs/components/PressableOpacity.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/styles/border-colors.js +14 -2
- package/lib/commonjs/styles/border-colors.js.map +1 -1
- package/lib/commonjs/types/requireAtLeastOne.js +2 -0
- package/lib/commonjs/types/requireAtLeastOne.js.map +1 -0
- package/lib/module/components/PressableOpacity.js +5 -0
- package/lib/module/components/PressableOpacity.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/styles/border-colors.js +14 -2
- package/lib/module/styles/border-colors.js.map +1 -1
- package/lib/module/types/requireAtLeastOne.js +2 -0
- package/lib/module/types/requireAtLeastOne.js.map +1 -0
- package/lib/typescript/commonjs/components/BackButton.d.ts +2 -12
- package/lib/typescript/commonjs/components/BackButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/BaseButton.d.ts +309 -4
- package/lib/typescript/commonjs/components/BaseButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/MenuBottomSheetModal.d.ts +2 -2
- package/lib/typescript/commonjs/components/MenuBottomSheetModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/PressableOpacity.d.ts +57 -4
- package/lib/typescript/commonjs/components/PressableOpacity.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +1 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/styles/border-colors.d.ts.map +1 -1
- package/lib/typescript/commonjs/types/requireAtLeastOne.d.ts +15 -0
- package/lib/typescript/commonjs/types/requireAtLeastOne.d.ts.map +1 -0
- package/lib/typescript/module/components/BackButton.d.ts +2 -12
- package/lib/typescript/module/components/BackButton.d.ts.map +1 -1
- package/lib/typescript/module/components/BaseButton.d.ts +309 -4
- package/lib/typescript/module/components/BaseButton.d.ts.map +1 -1
- package/lib/typescript/module/components/MenuBottomSheetModal.d.ts +2 -2
- package/lib/typescript/module/components/MenuBottomSheetModal.d.ts.map +1 -1
- package/lib/typescript/module/components/PressableOpacity.d.ts +57 -4
- package/lib/typescript/module/components/PressableOpacity.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +1 -0
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/styles/border-colors.d.ts.map +1 -1
- package/lib/typescript/module/types/requireAtLeastOne.d.ts +15 -0
- package/lib/typescript/module/types/requireAtLeastOne.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/styles/border-colors.ts +14 -2
|
@@ -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;
|
|
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,CAAAC,IAAA,CAAAH,WAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAA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AAApB,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;
|
|
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,CAAAC,IAAA,CAAAH,WAAA,EAAAI,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,MAAAL,WAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAb,WAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,OAAA,GAAAC,sBAAA,CAAAd,OAAA;AACA,IAAAe,iBAAA,GAAAD,sBAAA,CAAAd,OAAA;AACA,IAAAgB,iBAAA,GAAAF,sBAAA,CAAAd,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,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":[]}
|
|
@@ -40,13 +40,25 @@ const borderColors = {
|
|
|
40
40
|
light: _colors.default.brand['600'],
|
|
41
41
|
dark: _colors.default.gray_dark['700']
|
|
42
42
|
},
|
|
43
|
+
'border-brand-secondary': {
|
|
44
|
+
light: _colors.default.brand['200'],
|
|
45
|
+
dark: _colors.default.brand['700']
|
|
46
|
+
},
|
|
43
47
|
'border-error': {
|
|
44
48
|
light: _colors.default.error['500'],
|
|
45
49
|
dark: _colors.default.error['400']
|
|
46
50
|
},
|
|
47
51
|
'border-error_subtle': {
|
|
48
|
-
light: _colors.default.error['
|
|
49
|
-
dark: _colors.default.error['
|
|
52
|
+
light: _colors.default.error['100'],
|
|
53
|
+
dark: _colors.default.error['700']
|
|
54
|
+
},
|
|
55
|
+
'border-success': {
|
|
56
|
+
light: _colors.default.success['500'],
|
|
57
|
+
dark: _colors.default.success['400']
|
|
58
|
+
},
|
|
59
|
+
'border-success_subtle': {
|
|
60
|
+
light: _colors.default.success['100'],
|
|
61
|
+
dark: _colors.default.success['700']
|
|
50
62
|
}
|
|
51
63
|
};
|
|
52
64
|
Object.entries(_utilityColors.default).forEach(([key, value]) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_colors","_interopRequireDefault","require","_utilityColors","e","__esModule","default","borderColors","light","colors","gray_light","dark","gray_dark","brand","error","Object","entries","utilityColors","forEach","key","value","_default","exports"],"sourceRoot":"../../../src","sources":["styles/border-colors.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAF,sBAAA,CAAAC,OAAA;AAA6C,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAW7C,MAAMG,YAA8B,GAAG;EACrC,gBAAgB,EAAE;IAChBC,KAAK,EAAEC,eAAM,CAACC,UAAU,CAAC,KAAK,CAAC;IAC/BC,IAAI,EAAEF,eAAM,CAACG,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,kBAAkB,EAAE;IAClBJ,KAAK,EAAEC,eAAM,CAACC,UAAU,CAAC,KAAK,CAAC;IAC/BC,IAAI,EAAEF,eAAM,CAACG,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,sBAAsB,EAAE;IACtBJ,KAAK,EAAE,WAAW;IAClBG,IAAI,EAAEF,eAAM,CAACG,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,iBAAiB,EAAE;IACjBJ,KAAK,EAAEC,eAAM,CAACC,UAAU,CAAC,KAAK,CAAC;IAC/BC,IAAI,EAAEF,eAAM,CAACG,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,iBAAiB,EAAE;IACjBJ,KAAK,EAAEC,eAAM,CAACC,UAAU,CAAC,KAAK,CAAC;IAC/BC,IAAI,EAAEF,eAAM,CAACG,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,wBAAwB,EAAE;IACxBJ,KAAK,EAAEC,eAAM,CAACC,UAAU,CAAC,KAAK,CAAC;IAC/BC,IAAI,EAAEF,eAAM,CAACG,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,cAAc,EAAE;IACdJ,KAAK,EAAEC,eAAM,CAACI,KAAK,CAAC,KAAK,CAAC;IAC1BF,IAAI,EAAEF,eAAM,CAACI,KAAK,CAAC,KAAK;EAC1B,CAAC;EACD,kBAAkB,EAAE;IAClBL,KAAK,EAAEC,eAAM,CAACI,KAAK,CAAC,KAAK,CAAC;IAC1BF,IAAI,EAAEF,eAAM,CAACG,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,cAAc,EAAE;
|
|
1
|
+
{"version":3,"names":["_colors","_interopRequireDefault","require","_utilityColors","e","__esModule","default","borderColors","light","colors","gray_light","dark","gray_dark","brand","error","success","Object","entries","utilityColors","forEach","key","value","_default","exports"],"sourceRoot":"../../../src","sources":["styles/border-colors.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAF,sBAAA,CAAAC,OAAA;AAA6C,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAW7C,MAAMG,YAA8B,GAAG;EACrC,gBAAgB,EAAE;IAChBC,KAAK,EAAEC,eAAM,CAACC,UAAU,CAAC,KAAK,CAAC;IAC/BC,IAAI,EAAEF,eAAM,CAACG,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,kBAAkB,EAAE;IAClBJ,KAAK,EAAEC,eAAM,CAACC,UAAU,CAAC,KAAK,CAAC;IAC/BC,IAAI,EAAEF,eAAM,CAACG,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,sBAAsB,EAAE;IACtBJ,KAAK,EAAE,WAAW;IAClBG,IAAI,EAAEF,eAAM,CAACG,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,iBAAiB,EAAE;IACjBJ,KAAK,EAAEC,eAAM,CAACC,UAAU,CAAC,KAAK,CAAC;IAC/BC,IAAI,EAAEF,eAAM,CAACG,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,iBAAiB,EAAE;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K;EAC5B;AACF,CAAC;AAEDC,MAAM,CAACC,OAAO,CAACC,sBAAa,CAAC,CAACC,OAAO,CAAC,CAAC,CAACC,GAAG,EAAEC,KAAK,CAAC,KAAK;EACtDd,YAAY,CAAC,UAAUa,GAAG,EAAE,CAAC,GAAG;IAC9BZ,KAAK,EAAEa,KAAK,CAACb,KAAK;IAClBG,IAAI,EAAEU,KAAK,CAACV;EACd,CAAC;AACH,CAAC,CAAC;AAAC,IAAAW,QAAA,GAAAC,OAAA,CAAAjB,OAAA,GAEYC,YAAY","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/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;;
|
|
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;;AAG7C;AACA;AACA;AACA;;AAMA;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA;AAiBA,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":[]}
|
package/lib/module/index.js.map
CHANGED
|
@@ -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;
|
|
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":[]}
|
|
@@ -35,13 +35,25 @@ const borderColors = {
|
|
|
35
35
|
light: colors.brand['600'],
|
|
36
36
|
dark: colors.gray_dark['700']
|
|
37
37
|
},
|
|
38
|
+
'border-brand-secondary': {
|
|
39
|
+
light: colors.brand['200'],
|
|
40
|
+
dark: colors.brand['700']
|
|
41
|
+
},
|
|
38
42
|
'border-error': {
|
|
39
43
|
light: colors.error['500'],
|
|
40
44
|
dark: colors.error['400']
|
|
41
45
|
},
|
|
42
46
|
'border-error_subtle': {
|
|
43
|
-
light: colors.error['
|
|
44
|
-
dark: colors.error['
|
|
47
|
+
light: colors.error['100'],
|
|
48
|
+
dark: colors.error['700']
|
|
49
|
+
},
|
|
50
|
+
'border-success': {
|
|
51
|
+
light: colors.success['500'],
|
|
52
|
+
dark: colors.success['400']
|
|
53
|
+
},
|
|
54
|
+
'border-success_subtle': {
|
|
55
|
+
light: colors.success['100'],
|
|
56
|
+
dark: colors.success['700']
|
|
45
57
|
}
|
|
46
58
|
};
|
|
47
59
|
Object.entries(utilityColors).forEach(([key, value]) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["colors","utilityColors","borderColors","light","gray_light","dark","gray_dark","brand","error","Object","entries","forEach","key","value"],"sourceRoot":"../../../src","sources":["styles/border-colors.ts"],"mappings":";;AAAA,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","borderColors","light","gray_light","dark","gray_dark","brand","error","success","Object","entries","forEach","key","value"],"sourceRoot":"../../../src","sources":["styles/border-colors.ts"],"mappings":";;AAAA,OAAOA,MAAM,MAAM,aAAU;AAC7B,OAAOC,aAAa,MAAM,qBAAkB;AAW5C,MAAMC,YAA8B,GAAG;EACrC,gBAAgB,EAAE;IAChBC,KAAK,EAAEH,MAAM,CAACI,UAAU,CAAC,KAAK,CAAC;IAC/BC,IAAI,EAAEL,MAAM,CAACM,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,kBAAkB,EAAE;IAClBH,KAAK,EAAEH,MAAM,CAACI,UAAU,CAAC,KAAK,CAAC;IAC/BC,IAAI,EAAEL,MAAM,CAACM,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,sBAAsB,EAAE;IACtBH,KAAK,EAAE,WAAW;IAClBE,IAAI,EAAEL,MAAM,CAACM,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,iBAAiB,EAAE;IACjBH,KAAK,EAAEH,MAAM,CAACI,UAAU,CAAC,KAAK,CAAC;IAC/BC,IAAI,EAAEL,MAAM,CAACM,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,iBAAiB,EAAE;IACjBH,KAAK,EAAEH,MAAM,CAACI,UAAU,CAAC,KAAK,CAAC;IAC/BC,IAAI,EAAEL,MAAM,CAACM,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,wBAAwB,EAAE;IACxBH,KAAK,EAAEH,MAAM,CAACI,UAAU,CAAC,KAAK,CAAC;IAC/BC,IAAI,EAAEL,MAAM,CAACM,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,cAAc,EAAE;IACdH,KAAK,EAAEH,MAAM,CAACO,KAAK,CAAC,KAAK,CAAC;IAC1BF,IAAI,EAAEL,MAAM,CAACO,KAAK,CAAC,KAAK;EAC1B,CAAC;EACD,kBAAkB,EAAE;IAClBJ,KAAK,EAAEH,MAAM,CAACO,KAAK,CAAC,KAAK,CAAC;IAC1BF,IAAI,EAAEL,MAAM,CAACM,SAAS,CAAC,KAAK;EAC9B,CAAC;EACD,wBAAwB,EAAE;IACxBH,KAAK,EAAEH,MAAM,CAACO,KAAK,CAAC,KAAK,CAAC;IAC1BF,IAAI,EAAEL,MAAM,CAACO,KAAK,CAAC,KAAK;EAC1B,CAAC;EACD,cAAc,EAAE;IACdJ,KAAK,EAAEH,MAAM,CAACQ,KAAK,CAAC,KAAK,CAAC;IAC1BH,IAAI,EAAEL,MAAM,CAACQ,KAAK,CAAC,KAAK;EAC1B,CAAC;EACD,qBAAqB,EAAE;IACrBL,KAAK,EAAEH,MAAM,CAACQ,KAAK,CAAC,KAAK,CAAC;IAC1BH,IAAI,EAAEL,MAAM,CAACQ,KAAK,CAAC,KAAK;EAC1B,CAAC;EACD,gBAAgB,EAAE;IAChBL,KAAK,EAAEH,MAAM,CAACS,OAAO,CAAC,KAAK,CAAC;IAC5BJ,IAAI,EAAEL,MAAM,CAACS,OAAO,CAAC,KAAK;EAC5B,CAAC;EACD,uBAAuB,EAAE;IACvBN,KAAK,EAAEH,MAAM,CAACS,OAAO,CAAC,KAAK,CAAC;IAC5BJ,IAAI,EAAEL,MAAM,CAACS,OAAO,CAAC,KAAK;EAC5B;AACF,CAAC;AAEDC,MAAM,CAACC,OAAO,CAACV,aAAa,CAAC,CAACW,OAAO,CAAC,CAAC,CAACC,GAAG,EAAEC,KAAK,CAAC,KAAK;EACtDZ,YAAY,CAAC,UAAUW,GAAG,EAAE,CAAC,GAAG;IAC9BV,KAAK,EAAEW,KAAK,CAACX,KAAK;IAClBE,IAAI,EAAES,KAAK,CAACT;EACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAeH,YAAY","ignoreList":[]}
|
|
@@ -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
|
-
|
|
3
|
-
|
|
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":"
|
|
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<
|
|
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
|
-
} &
|
|
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<
|
|
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
|
-
} &
|
|
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;
|
|
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
|
-
|
|
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,
|
|
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"}
|