@sumup/react-native-checkout 0.0.0-alpha.1 → 0.0.0-alpha.2
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/AnimatedContainer/styles.js +1 -1
- package/lib/commonjs/components/AnimatedContainer/styles.js.map +1 -1
- package/lib/commonjs/components/ApplePayButton/styles.js +3 -2
- package/lib/commonjs/components/ApplePayButton/styles.js.map +1 -1
- package/lib/commonjs/components/Button/styles.js +9 -7
- package/lib/commonjs/components/Button/styles.js.map +1 -1
- package/lib/commonjs/components/CardInformation/styles.js +3 -3
- package/lib/commonjs/components/CardInformation/styles.js.map +1 -1
- package/lib/commonjs/components/CardSheet/styles.js +3 -3
- package/lib/commonjs/components/CardSheet/styles.js.map +1 -1
- package/lib/commonjs/components/Checkbox/styles.js +5 -3
- package/lib/commonjs/components/Checkbox/styles.js.map +1 -1
- package/lib/commonjs/components/GooglePayButton/styles.js +4 -3
- package/lib/commonjs/components/GooglePayButton/styles.js.map +1 -1
- package/lib/commonjs/components/Header/styles.js +1 -1
- package/lib/commonjs/components/Header/styles.js.map +1 -1
- package/lib/commonjs/components/InputFields/BaseInputField/index.js +1 -1
- package/lib/commonjs/components/InputFields/BaseInputField/index.js.map +1 -1
- package/lib/commonjs/components/InputFields/BaseInputField/styles.js +12 -9
- package/lib/commonjs/components/InputFields/BaseInputField/styles.js.map +1 -1
- package/lib/commonjs/components/LoadingSpinner/styles.js +6 -5
- package/lib/commonjs/components/LoadingSpinner/styles.js.map +1 -1
- package/lib/commonjs/components/Modal/styles.js +1 -1
- package/lib/commonjs/components/Modal/styles.js.map +1 -1
- package/lib/commonjs/components/NoInternetConnection/styles.js +1 -1
- package/lib/commonjs/components/NoInternetConnection/styles.js.map +1 -1
- package/lib/commonjs/components/OptionMenuModal/index.js +1 -1
- package/lib/commonjs/components/OptionMenuModal/index.js.map +1 -1
- package/lib/commonjs/components/OptionMenuModal/styles.js +7 -6
- package/lib/commonjs/components/OptionMenuModal/styles.js.map +1 -1
- package/lib/commonjs/components/PayButton/styles.js +1 -1
- package/lib/commonjs/components/PayButton/styles.js.map +1 -1
- package/lib/commonjs/components/PaymentMethodFormHeaderOption/styles.js +10 -7
- package/lib/commonjs/components/PaymentMethodFormHeaderOption/styles.js.map +1 -1
- package/lib/commonjs/components/PaymentMethodsForm/styles.js +10 -7
- package/lib/commonjs/components/PaymentMethodsForm/styles.js.map +1 -1
- package/lib/commonjs/components/ProcessButton/styles.js +6 -5
- package/lib/commonjs/components/ProcessButton/styles.js.map +1 -1
- package/lib/commonjs/components/SaveCardButton/styles.js +1 -1
- package/lib/commonjs/components/SaveCardButton/styles.js.map +1 -1
- package/lib/commonjs/components/SavedCard/styles.js +2 -2
- package/lib/commonjs/components/SavedCard/styles.js.map +1 -1
- package/lib/commonjs/components/Switch/styles.js +7 -6
- package/lib/commonjs/components/Switch/styles.js.map +1 -1
- package/lib/commonjs/components/WebViewSheet/index.js +1 -1
- package/lib/commonjs/components/WebViewSheet/index.js.map +1 -1
- package/lib/commonjs/components/WebViewSheet/styles.js +1 -1
- package/lib/commonjs/components/WebViewSheet/styles.js.map +1 -1
- package/lib/commonjs/contexts/ThemeContext.js +5 -1
- package/lib/commonjs/contexts/ThemeContext.js.map +1 -1
- package/lib/commonjs/styles/borderWidths.js +10 -0
- package/lib/commonjs/styles/borderWidths.js.map +1 -0
- package/lib/commonjs/styles/colors.js +18 -20
- package/lib/commonjs/styles/colors.js.map +1 -1
- package/lib/commonjs/styles/designTokens.js +57 -0
- package/lib/commonjs/styles/designTokens.js.map +1 -0
- package/lib/commonjs/styles/index.js +9 -1
- package/lib/commonjs/styles/index.js.map +1 -1
- package/lib/commonjs/styles/radii.js +10 -0
- package/lib/commonjs/styles/radii.js.map +1 -0
- package/lib/commonjs/styles/spacings.js +10 -0
- package/lib/commonjs/styles/spacings.js.map +1 -0
- package/lib/module/components/AnimatedContainer/styles.js +1 -1
- package/lib/module/components/AnimatedContainer/styles.js.map +1 -1
- package/lib/module/components/ApplePayButton/styles.js +3 -2
- package/lib/module/components/ApplePayButton/styles.js.map +1 -1
- package/lib/module/components/Button/styles.js +9 -7
- package/lib/module/components/Button/styles.js.map +1 -1
- package/lib/module/components/CardInformation/styles.js +3 -3
- package/lib/module/components/CardInformation/styles.js.map +1 -1
- package/lib/module/components/CardSheet/styles.js +3 -3
- package/lib/module/components/CardSheet/styles.js.map +1 -1
- package/lib/module/components/Checkbox/styles.js +5 -3
- package/lib/module/components/Checkbox/styles.js.map +1 -1
- package/lib/module/components/GooglePayButton/styles.js +4 -3
- package/lib/module/components/GooglePayButton/styles.js.map +1 -1
- package/lib/module/components/Header/styles.js +1 -1
- package/lib/module/components/Header/styles.js.map +1 -1
- package/lib/module/components/InputFields/BaseInputField/index.js +1 -1
- package/lib/module/components/InputFields/BaseInputField/index.js.map +1 -1
- package/lib/module/components/InputFields/BaseInputField/styles.js +12 -9
- package/lib/module/components/InputFields/BaseInputField/styles.js.map +1 -1
- package/lib/module/components/LoadingSpinner/styles.js +6 -5
- package/lib/module/components/LoadingSpinner/styles.js.map +1 -1
- package/lib/module/components/Modal/styles.js +1 -1
- package/lib/module/components/Modal/styles.js.map +1 -1
- package/lib/module/components/NoInternetConnection/styles.js +1 -1
- package/lib/module/components/NoInternetConnection/styles.js.map +1 -1
- package/lib/module/components/OptionMenuModal/index.js +1 -1
- package/lib/module/components/OptionMenuModal/index.js.map +1 -1
- package/lib/module/components/OptionMenuModal/styles.js +7 -6
- package/lib/module/components/OptionMenuModal/styles.js.map +1 -1
- package/lib/module/components/PayButton/styles.js +1 -1
- package/lib/module/components/PayButton/styles.js.map +1 -1
- package/lib/module/components/PaymentMethodFormHeaderOption/styles.js +10 -7
- package/lib/module/components/PaymentMethodFormHeaderOption/styles.js.map +1 -1
- package/lib/module/components/PaymentMethodsForm/styles.js +10 -7
- package/lib/module/components/PaymentMethodsForm/styles.js.map +1 -1
- package/lib/module/components/ProcessButton/styles.js +6 -5
- package/lib/module/components/ProcessButton/styles.js.map +1 -1
- package/lib/module/components/SaveCardButton/styles.js +1 -1
- package/lib/module/components/SaveCardButton/styles.js.map +1 -1
- package/lib/module/components/SavedCard/styles.js +2 -2
- package/lib/module/components/SavedCard/styles.js.map +1 -1
- package/lib/module/components/Switch/styles.js +7 -6
- package/lib/module/components/Switch/styles.js.map +1 -1
- package/lib/module/components/WebViewSheet/index.js +1 -1
- package/lib/module/components/WebViewSheet/index.js.map +1 -1
- package/lib/module/components/WebViewSheet/styles.js +1 -1
- package/lib/module/components/WebViewSheet/styles.js.map +1 -1
- package/lib/module/contexts/ThemeContext.js +6 -2
- package/lib/module/contexts/ThemeContext.js.map +1 -1
- package/lib/module/styles/borderWidths.js +3 -0
- package/lib/module/styles/borderWidths.js.map +1 -0
- package/lib/module/styles/colors.js +18 -20
- package/lib/module/styles/colors.js.map +1 -1
- package/lib/module/styles/designTokens.js +48 -0
- package/lib/module/styles/designTokens.js.map +1 -0
- package/lib/module/styles/index.js +5 -1
- package/lib/module/styles/index.js.map +1 -1
- package/lib/module/styles/radii.js +3 -0
- package/lib/module/styles/radii.js.map +1 -0
- package/lib/module/styles/spacings.js +3 -0
- package/lib/module/styles/spacings.js.map +1 -0
- package/lib/typescript/components/AnimatedContainer/styles.d.ts +1 -1
- package/lib/typescript/components/ApplePayButton/styles.d.ts +2 -2
- package/lib/typescript/components/ApplePayButton/styles.d.ts.map +1 -1
- package/lib/typescript/components/Button/styles.d.ts +4 -4
- package/lib/typescript/components/Button/styles.d.ts.map +1 -1
- package/lib/typescript/components/CardInformation/styles.d.ts +3 -3
- package/lib/typescript/components/CardSheet/styles.d.ts +3 -3
- package/lib/typescript/components/Checkbox/styles.d.ts +3 -3
- package/lib/typescript/components/Checkbox/styles.d.ts.map +1 -1
- package/lib/typescript/components/GooglePayButton/styles.d.ts +3 -3
- package/lib/typescript/components/GooglePayButton/styles.d.ts.map +1 -1
- package/lib/typescript/components/Header/styles.d.ts +1 -1
- package/lib/typescript/components/InputFields/BaseInputField/styles.d.ts +7 -7
- package/lib/typescript/components/LoadingSpinner/styles.d.ts +5 -5
- package/lib/typescript/components/LoadingSpinner/styles.d.ts.map +1 -1
- package/lib/typescript/components/Modal/styles.d.ts +1 -1
- package/lib/typescript/components/NoInternetConnection/styles.d.ts +1 -1
- package/lib/typescript/components/OptionMenuModal/index.d.ts.map +1 -1
- package/lib/typescript/components/OptionMenuModal/styles.d.ts +5 -6
- package/lib/typescript/components/OptionMenuModal/styles.d.ts.map +1 -1
- package/lib/typescript/components/PayButton/styles.d.ts +1 -1
- package/lib/typescript/components/PaymentMethodFormHeaderOption/styles.d.ts +7 -7
- package/lib/typescript/components/PaymentMethodFormHeaderOption/styles.d.ts.map +1 -1
- package/lib/typescript/components/PaymentMethodsForm/styles.d.ts +6 -6
- package/lib/typescript/components/PaymentMethodsForm/styles.d.ts.map +1 -1
- package/lib/typescript/components/ProcessButton/styles.d.ts +2 -2
- package/lib/typescript/components/ProcessButton/styles.d.ts.map +1 -1
- package/lib/typescript/components/SaveCardButton/styles.d.ts +1 -1
- package/lib/typescript/components/SavedCard/styles.d.ts +2 -2
- package/lib/typescript/components/Switch/styles.d.ts +5 -5
- package/lib/typescript/components/WebViewSheet/index.d.ts.map +1 -1
- package/lib/typescript/components/WebViewSheet/styles.d.ts +1 -1
- package/lib/typescript/contexts/ThemeContext.d.ts +82 -20
- package/lib/typescript/contexts/ThemeContext.d.ts.map +1 -1
- package/lib/typescript/styles/borderWidths.d.ts +5 -0
- package/lib/typescript/styles/borderWidths.d.ts.map +1 -0
- package/lib/typescript/styles/colors.d.ts +17 -20
- package/lib/typescript/styles/colors.d.ts.map +1 -1
- package/lib/typescript/styles/designTokens.d.ts +87 -0
- package/lib/typescript/styles/designTokens.d.ts.map +1 -0
- package/lib/typescript/styles/index.d.ts +5 -1
- package/lib/typescript/styles/index.d.ts.map +1 -1
- package/lib/typescript/styles/radii.d.ts +8 -0
- package/lib/typescript/styles/radii.d.ts.map +1 -0
- package/lib/typescript/styles/spacings.d.ts +12 -0
- package/lib/typescript/styles/spacings.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/AnimatedContainer/styles.tsx +1 -1
- package/src/components/ApplePayButton/styles.tsx +3 -2
- package/src/components/Button/styles.tsx +9 -7
- package/src/components/CardInformation/styles.tsx +3 -3
- package/src/components/CardSheet/styles.tsx +3 -3
- package/src/components/Checkbox/styles.tsx +5 -3
- package/src/components/GooglePayButton/styles.tsx +4 -3
- package/src/components/Header/styles.tsx +1 -1
- package/src/components/InputFields/BaseInputField/index.tsx +1 -1
- package/src/components/InputFields/BaseInputField/styles.tsx +9 -9
- package/src/components/LoadingSpinner/styles.tsx +6 -5
- package/src/components/Modal/styles.tsx +1 -1
- package/src/components/NoInternetConnection/styles.tsx +1 -1
- package/src/components/OptionMenuModal/index.tsx +3 -1
- package/src/components/OptionMenuModal/styles.tsx +7 -6
- package/src/components/PayButton/styles.tsx +1 -1
- package/src/components/PaymentMethodFormHeaderOption/styles.tsx +10 -7
- package/src/components/PaymentMethodsForm/styles.tsx +10 -7
- package/src/components/ProcessButton/styles.tsx +6 -5
- package/src/components/SaveCardButton/styles.tsx +1 -1
- package/src/components/SavedCard/styles.tsx +2 -2
- package/src/components/Switch/styles.tsx +6 -6
- package/src/components/WebViewSheet/index.tsx +3 -1
- package/src/components/WebViewSheet/styles.tsx +1 -1
- package/src/contexts/ThemeContext.tsx +13 -1
- package/src/styles/borderWidths.ts +3 -0
- package/src/styles/colors.ts +19 -20
- package/src/styles/designTokens.ts +49 -0
- package/src/styles/index.ts +5 -1
- package/src/styles/radii.ts +3 -0
- package/src/styles/spacings.ts +3 -0
- package/{sumup-react-native.podspec → sumup-react-native-checkout.podspec} +5 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","height","colors","useTheme","width","useWindowDimensions","styles","StyleSheet","create","container","position","bottom","top","left","right","content","backgroundColor","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","height","colors","useTheme","width","useWindowDimensions","styles","StyleSheet","create","container","position","bottom","top","left","right","content","backgroundColor","bgNormal","borderTopLeftRadius","borderTopRightRadius","paddingHorizontal","keyboardAvoidingView","flex","justifyContent","exports"],"sourceRoot":"../../../../src","sources":["components/AnimatedContainer/styles.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAEO,MAAME,SAAS,GAAIC,MAAe,IAAK;EAC5C,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAE7B,MAAM;IAAEC;EAAM,CAAC,GAAG,IAAAC,gCAAmB,EAAC,CAAC;EAEvC,MAAMC,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;IAC/BC,SAAS,EAAE;MACTC,QAAQ,EAAE,UAAU;MACpBC,MAAM,EAAE,CAAC;MACTC,GAAG,EAAE,CAAC;MACNC,IAAI,EAAE,CAAC;MACPC,KAAK,EAAE;IACT,CAAC;IACDC,OAAO,EAAE;MACPC,eAAe,EAAEd,MAAM,CAACe,QAAQ;MAChCb,KAAK,EAAEA,KAAK;MACZH,MAAM;MACNiB,mBAAmB,EAAE,CAAC;MACtBC,oBAAoB,EAAE,CAAC;MACvBC,iBAAiB,EAAE;IACrB,CAAC;IACDC,oBAAoB,EAAE;MACpBC,IAAI,EAAE,CAAC;MACPC,cAAc,EAAE;IAClB;EACF,CAAC,CAAC;EAEF,OAAOjB,MAAM;AACf,CAAC;AAACkB,OAAA,CAAAxB,SAAA,GAAAA,SAAA"}
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.useStyles = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _ThemeContext = require("../../contexts/ThemeContext");
|
|
9
|
+
var _radii = require("../../styles/radii");
|
|
9
10
|
const useStyles = disabled => {
|
|
10
11
|
const {
|
|
11
12
|
colors
|
|
@@ -15,8 +16,8 @@ const useStyles = disabled => {
|
|
|
15
16
|
opacity: disabled ? 0.6 : 1,
|
|
16
17
|
height: 48,
|
|
17
18
|
width: '100%',
|
|
18
|
-
backgroundColor: colors.
|
|
19
|
-
borderRadius:
|
|
19
|
+
backgroundColor: colors.bgStrong,
|
|
20
|
+
borderRadius: _radii.radii.byte,
|
|
20
21
|
justifyContent: 'center',
|
|
21
22
|
alignItems: 'center'
|
|
22
23
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","disabled","colors","useTheme","styles","StyleSheet","create","container","opacity","height","width","backgroundColor","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_ThemeContext","_radii","useStyles","disabled","colors","useTheme","styles","StyleSheet","create","container","opacity","height","width","backgroundColor","bgStrong","borderRadius","radii","byte","justifyContent","alignItems","image","exports"],"sourceRoot":"../../../../src","sources":["components/ApplePayButton/styles.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AAEO,MAAMG,SAAS,GAAIC,QAAkB,IAAK;EAC/C,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAE7B,MAAMC,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;IAC/BC,SAAS,EAAE;MACTC,OAAO,EAAEP,QAAQ,GAAG,GAAG,GAAG,CAAC;MAC3BQ,MAAM,EAAE,EAAE;MACVC,KAAK,EAAE,MAAM;MACbC,eAAe,EAAET,MAAM,CAACU,QAAQ;MAChCC,YAAY,EAAEC,YAAK,CAACC,IAAI;MACxBC,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE;IACd,CAAC;IACDC,KAAK,EAAE;MACLR,KAAK,EAAE,EAAE;MACTD,MAAM,EAAE;IACV;EACF,CAAC,CAAC;EAEF,OAAOL,MAAM;AACf,CAAC;AAACe,OAAA,CAAAnB,SAAA,GAAAA,SAAA"}
|
|
@@ -6,35 +6,37 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.useStyles = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _ThemeContext = require("../../contexts/ThemeContext");
|
|
9
|
+
var _borderWidths = require("../../styles/borderWidths");
|
|
10
|
+
var _radii = require("../../styles/radii");
|
|
9
11
|
const useStyles = type => {
|
|
10
12
|
const {
|
|
11
13
|
colors,
|
|
12
14
|
fonts
|
|
13
15
|
} = (0, _ThemeContext.useTheme)();
|
|
14
16
|
const textColor = {
|
|
15
|
-
primary: colors.
|
|
16
|
-
secondary: colors.
|
|
17
|
-
tertiary: colors.
|
|
17
|
+
primary: colors.fgOnStrong,
|
|
18
|
+
secondary: colors.fgNormal,
|
|
19
|
+
tertiary: colors.fgDanger
|
|
18
20
|
};
|
|
19
21
|
const backgroundColor = {
|
|
20
|
-
primary: colors.
|
|
22
|
+
primary: colors.bgAccentStrong,
|
|
21
23
|
secondary: colors.transparent,
|
|
22
24
|
tertiary: colors.transparent
|
|
23
25
|
};
|
|
24
26
|
const borderColor = {
|
|
25
27
|
primary: colors.transparent,
|
|
26
|
-
secondary: colors.
|
|
28
|
+
secondary: colors.borderNormal,
|
|
27
29
|
tertiary: colors.transparent
|
|
28
30
|
};
|
|
29
31
|
const borderWidth = {
|
|
30
32
|
primary: 0,
|
|
31
|
-
secondary:
|
|
33
|
+
secondary: _borderWidths.borderWidths.kilo,
|
|
32
34
|
tertiary: 0
|
|
33
35
|
};
|
|
34
36
|
const styles = _reactNative.StyleSheet.create({
|
|
35
37
|
container: {
|
|
36
38
|
height: 48,
|
|
37
|
-
borderRadius:
|
|
39
|
+
borderRadius: _radii.radii.byte,
|
|
38
40
|
width: '100%',
|
|
39
41
|
justifyContent: 'center',
|
|
40
42
|
alignItems: 'center',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","type","colors","fonts","useTheme","textColor","primary","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_ThemeContext","_borderWidths","_radii","useStyles","type","colors","fonts","useTheme","textColor","primary","fgOnStrong","secondary","fgNormal","tertiary","fgDanger","backgroundColor","bgAccentStrong","transparent","borderColor","borderNormal","borderWidth","borderWidths","kilo","styles","StyleSheet","create","container","height","borderRadius","radii","byte","width","justifyContent","alignItems","text","fontSize","lineHeight","color","fontFamily","sfProTextBold","exports"],"sourceRoot":"../../../../src","sources":["components/Button/styles.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AAGO,MAAMI,SAAS,GAAIC,IAAgB,IAAK;EAC7C,MAAM;IAAEC,MAAM;IAAEC;EAAM,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAEpC,MAAMC,SAAS,GAAG;IAChBC,OAAO,EAAEJ,MAAM,CAACK,UAAU;IAC1BC,SAAS,EAAEN,MAAM,CAACO,QAAQ;IAC1BC,QAAQ,EAAER,MAAM,CAACS;EACnB,CAAC;EAED,MAAMC,eAAe,GAAG;IACtBN,OAAO,EAAEJ,MAAM,CAACW,cAAc;IAC9BL,SAAS,EAAEN,MAAM,CAACY,WAAW;IAC7BJ,QAAQ,EAAER,MAAM,CAACY;EACnB,CAAC;EAED,MAAMC,WAAW,GAAG;IAClBT,OAAO,EAAEJ,MAAM,CAACY,WAAW;IAC3BN,SAAS,EAAEN,MAAM,CAACc,YAAY;IAC9BN,QAAQ,EAAER,MAAM,CAACY;EACnB,CAAC;EAED,MAAMG,WAAW,GAAG;IAClBX,OAAO,EAAE,CAAC;IACVE,SAAS,EAAEU,0BAAY,CAACC,IAAI;IAC5BT,QAAQ,EAAE;EACZ,CAAC;EAED,MAAMU,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;IAC/BC,SAAS,EAAE;MACTC,MAAM,EAAE,EAAE;MACVC,YAAY,EAAEC,YAAK,CAACC,IAAI;MACxBC,KAAK,EAAE,MAAM;MACbC,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE,QAAQ;MACpBlB,eAAe,EAAEA,eAAe,CAACX,IAAI,CAAC;MACtCgB,WAAW,EAAEA,WAAW,CAAChB,IAAI,CAAC;MAC9Bc,WAAW,EAAEA,WAAW,CAACd,IAAI;IAC/B,CAAC;IACD8B,IAAI,EAAE;MACJC,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE,EAAE;MACdC,KAAK,EAAE7B,SAAS,CAACJ,IAAI,CAAC;MACtBkC,UAAU,EAAEhC,KAAK,CAACiC;IACpB;EACF,CAAC,CAAC;EAEF,OAAOhB,MAAM;AACf,CAAC;AAACiB,OAAA,CAAArC,SAAA,GAAAA,SAAA"}
|
|
@@ -26,14 +26,14 @@ const useStyles = () => {
|
|
|
26
26
|
title: {
|
|
27
27
|
fontWeight: '600',
|
|
28
28
|
fontSize: 14,
|
|
29
|
-
color: colors.
|
|
29
|
+
color: colors.fgSubtle,
|
|
30
30
|
marginBottom: 8
|
|
31
31
|
},
|
|
32
32
|
privacyPolicyText: {
|
|
33
|
-
color: colors.
|
|
33
|
+
color: colors.fgSubtle
|
|
34
34
|
},
|
|
35
35
|
privacyPolicyLink: {
|
|
36
|
-
color: colors.
|
|
36
|
+
color: colors.bgAccentStrong
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
39
|
return styles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","colors","useTheme","styles","StyleSheet","create","rowContainer","flexDirection","marginTop","expirationDateInput","flex","cvcInput","marginLeft","justifyContent","title","fontWeight","fontSize","color","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","colors","useTheme","styles","StyleSheet","create","rowContainer","flexDirection","marginTop","expirationDateInput","flex","cvcInput","marginLeft","justifyContent","title","fontWeight","fontSize","color","fgSubtle","marginBottom","privacyPolicyText","privacyPolicyLink","bgAccentStrong","exports"],"sourceRoot":"../../../../src","sources":["components/CardInformation/styles.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAEO,MAAME,SAAS,GAAGA,CAAA,KAAM;EAC7B,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAE7B,MAAMC,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;IAC/BC,YAAY,EAAE;MACZC,aAAa,EAAE,KAAK;MACpBC,SAAS,EAAE,CAAC;IACd,CAAC;IACDC,mBAAmB,EAAE;MACnBC,IAAI,EAAE;IACR,CAAC;IACDC,QAAQ,EAAE;MACRD,IAAI,EAAE,CAAC;MACPE,UAAU,EAAE,CAAC,CAAC;MACdC,cAAc,EAAE;IAClB,CAAC;IACDC,KAAK,EAAE;MACLC,UAAU,EAAE,KAAK;MACjBC,QAAQ,EAAE,EAAE;MACZC,KAAK,EAAEhB,MAAM,CAACiB,QAAQ;MACtBC,YAAY,EAAE;IAChB,CAAC;IACDC,iBAAiB,EAAE;MACjBH,KAAK,EAAEhB,MAAM,CAACiB;IAChB,CAAC;IACDG,iBAAiB,EAAE;MACjBJ,KAAK,EAAEhB,MAAM,CAACqB;IAChB;EACF,CAAC,CAAC;EAEF,OAAOnB,MAAM;AACf,CAAC;AAACoB,OAAA,CAAAvB,SAAA,GAAAA,SAAA"}
|
|
@@ -17,7 +17,7 @@ const useStyles = () => {
|
|
|
17
17
|
const insets = (0, _useSafeArea.useSafeArea)();
|
|
18
18
|
const styles = _reactNative.StyleSheet.create({
|
|
19
19
|
container: {
|
|
20
|
-
backgroundColor: colors.
|
|
20
|
+
backgroundColor: colors.bgNormal,
|
|
21
21
|
maxHeight: height - insets.top,
|
|
22
22
|
paddingBottom: insets.bottom + 16
|
|
23
23
|
},
|
|
@@ -25,12 +25,12 @@ const useStyles = () => {
|
|
|
25
25
|
fontWeight: 'bold',
|
|
26
26
|
fontSize: 20,
|
|
27
27
|
marginBottom: 30,
|
|
28
|
-
color: colors.
|
|
28
|
+
color: colors.fgAccent
|
|
29
29
|
},
|
|
30
30
|
separatorText: {
|
|
31
31
|
fontSize: 14,
|
|
32
32
|
lineHeight: 16,
|
|
33
|
-
color: colors.
|
|
33
|
+
color: colors.fgAccent,
|
|
34
34
|
width: '100%',
|
|
35
35
|
textAlign: 'center'
|
|
36
36
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_ThemeContext","_useSafeArea","useStyles","colors","useTheme","height","useWindowDimensions","insets","useSafeArea","styles","StyleSheet","create","container","backgroundColor","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_ThemeContext","_useSafeArea","useStyles","colors","useTheme","height","useWindowDimensions","insets","useSafeArea","styles","StyleSheet","create","container","backgroundColor","bgNormal","maxHeight","top","paddingBottom","bottom","title","fontWeight","fontSize","marginBottom","color","fgAccent","separatorText","lineHeight","width","textAlign","image","savedCardContainer","marginTop","marginLeft","keyboardView","exports"],"sourceRoot":"../../../../src","sources":["components/CardSheet/styles.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AAEO,MAAMG,SAAS,GAAGA,CAAA,KAAM;EAC7B,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAE7B,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,gCAAmB,EAAC,CAAC;EAExC,MAAMC,MAAM,GAAG,IAAAC,wBAAW,EAAC,CAAC;EAE5B,MAAMC,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;IAC/BC,SAAS,EAAE;MACTC,eAAe,EAAEV,MAAM,CAACW,QAAQ;MAChCC,SAAS,EAAEV,MAAM,GAAGE,MAAM,CAACS,GAAG;MAC9BC,aAAa,EAAEV,MAAM,CAACW,MAAM,GAAG;IACjC,CAAC;IACDC,KAAK,EAAE;MACLC,UAAU,EAAE,MAAM;MAClBC,QAAQ,EAAE,EAAE;MACZC,YAAY,EAAE,EAAE;MAChBC,KAAK,EAAEpB,MAAM,CAACqB;IAChB,CAAC;IACDC,aAAa,EAAE;MACbJ,QAAQ,EAAE,EAAE;MACZK,UAAU,EAAE,EAAE;MACdH,KAAK,EAAEpB,MAAM,CAACqB,QAAQ;MACtBG,KAAK,EAAE,MAAM;MACbC,SAAS,EAAE;IACb,CAAC;IACDC,KAAK,EAAE;MACLF,KAAK,EAAE,EAAE;MACTtB,MAAM,EAAE;IACV,CAAC;IACDyB,kBAAkB,EAAE;MAClBC,SAAS,EAAE,EAAE;MACbT,YAAY,EAAE,EAAE;MAChBU,UAAU,EAAE;IACd,CAAC;IACDC,YAAY,EAAE;MACZ;IAAA;EAEJ,CAAC,CAAC;EAEF,OAAOxB,MAAM;AACf,CAAC;AAACyB,OAAA,CAAAhC,SAAA,GAAAA,SAAA"}
|
|
@@ -6,17 +6,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.useStyles = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _ThemeContext = require("../../contexts/ThemeContext");
|
|
9
|
+
var _borderWidths = require("../../styles/borderWidths");
|
|
10
|
+
var _radii = require("../../styles/radii");
|
|
9
11
|
const useStyles = selected => {
|
|
10
12
|
const {
|
|
11
13
|
colors
|
|
12
14
|
} = (0, _ThemeContext.useTheme)();
|
|
13
15
|
const styles = _reactNative.StyleSheet.create({
|
|
14
16
|
container: {
|
|
15
|
-
borderRadius:
|
|
17
|
+
borderRadius: _radii.radii.kilo,
|
|
16
18
|
width: 24,
|
|
17
19
|
height: 24,
|
|
18
|
-
borderWidth:
|
|
19
|
-
borderColor: selected ? colors.
|
|
20
|
+
borderWidth: _borderWidths.borderWidths.mega,
|
|
21
|
+
borderColor: selected ? colors.bgAccentStrong : colors.fgSubtle
|
|
20
22
|
},
|
|
21
23
|
image: {
|
|
22
24
|
width: 24,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","selected","colors","useTheme","styles","StyleSheet","create","container","borderRadius","width","height","borderWidth","borderColor","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_ThemeContext","_borderWidths","_radii","useStyles","selected","colors","useTheme","styles","StyleSheet","create","container","borderRadius","radii","kilo","width","height","borderWidth","borderWidths","mega","borderColor","bgAccentStrong","fgSubtle","image","marginLeft","marginTop","exports"],"sourceRoot":"../../../../src","sources":["components/Checkbox/styles.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AAEO,MAAMI,SAAS,GAAIC,QAAiB,IAAK;EAC9C,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAE7B,MAAMC,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;IAC/BC,SAAS,EAAE;MACTC,YAAY,EAAEC,YAAK,CAACC,IAAI;MACxBC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE,EAAE;MACVC,WAAW,EAAEC,0BAAY,CAACC,IAAI;MAC9BC,WAAW,EAAEf,QAAQ,GAAGC,MAAM,CAACe,cAAc,GAAGf,MAAM,CAACgB;IACzD,CAAC;IACDC,KAAK,EAAE;MACLR,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE,EAAE;MACVQ,UAAU,EAAE,CAAC,CAAC;MACdC,SAAS,EAAE,CAAC;IACd;EACF,CAAC,CAAC;EAEF,OAAOjB,MAAM;AACf,CAAC;AAACkB,OAAA,CAAAtB,SAAA,GAAAA,SAAA"}
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.useStyles = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _ThemeContext = require("../../contexts/ThemeContext");
|
|
9
|
+
var _radii = require("../../styles/radii");
|
|
9
10
|
const useStyles = disabled => {
|
|
10
11
|
const {
|
|
11
12
|
colors
|
|
@@ -16,14 +17,14 @@ const useStyles = disabled => {
|
|
|
16
17
|
opacity: disabled ? 0.6 : 1,
|
|
17
18
|
height: 48,
|
|
18
19
|
width: '100%',
|
|
19
|
-
backgroundColor: colors.
|
|
20
|
-
borderRadius:
|
|
20
|
+
backgroundColor: colors.bgStrong,
|
|
21
|
+
borderRadius: _radii.radii.byte,
|
|
21
22
|
justifyContent: 'center',
|
|
22
23
|
alignItems: 'center'
|
|
23
24
|
},
|
|
24
25
|
text: {
|
|
25
26
|
fontSize: 14,
|
|
26
|
-
color: colors.
|
|
27
|
+
color: colors.fgOnStrong
|
|
27
28
|
},
|
|
28
29
|
image: {
|
|
29
30
|
width: 44,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","disabled","colors","useTheme","styles","StyleSheet","create","container","flexDirection","opacity","height","width","backgroundColor","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_ThemeContext","_radii","useStyles","disabled","colors","useTheme","styles","StyleSheet","create","container","flexDirection","opacity","height","width","backgroundColor","bgStrong","borderRadius","radii","byte","justifyContent","alignItems","text","fontSize","color","fgOnStrong","image","exports"],"sourceRoot":"../../../../src","sources":["components/GooglePayButton/styles.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AAEO,MAAMG,SAAS,GAAIC,QAAkB,IAAK;EAC/C,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAE7B,MAAMC,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;IAC/BC,SAAS,EAAE;MACTC,aAAa,EAAE,KAAK;MACpBC,OAAO,EAAER,QAAQ,GAAG,GAAG,GAAG,CAAC;MAC3BS,MAAM,EAAE,EAAE;MACVC,KAAK,EAAE,MAAM;MACbC,eAAe,EAAEV,MAAM,CAACW,QAAQ;MAChCC,YAAY,EAAEC,YAAK,CAACC,IAAI;MACxBC,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE;IACd,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE,EAAE;MACZC,KAAK,EAAEnB,MAAM,CAACoB;IAChB,CAAC;IACDC,KAAK,EAAE;MACLZ,KAAK,EAAE,EAAE;MACTD,MAAM,EAAE;IACV;EACF,CAAC,CAAC;EAEF,OAAON,MAAM;AACf,CAAC;AAACoB,OAAA,CAAAxB,SAAA,GAAAA,SAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","colors","fonts","useTheme","styles","StyleSheet","create","container","flexDirection","height","alignItems","justifyContent","marginBottom","title","color","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","colors","fonts","useTheme","styles","StyleSheet","create","container","flexDirection","height","alignItems","justifyContent","marginBottom","title","color","fgNormal","fontWeight","fontSize","textAlign","flex","fontFamily","sfProTextBold","image","width","imageContainer","exports"],"sourceRoot":"../../../../src","sources":["components/Header/styles.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAEO,MAAME,SAAS,GAAGA,CAAA,KAAM;EAC7B,MAAM;IAAEC,MAAM;IAAEC;EAAM,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAEpC,MAAMC,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;IAC/BC,SAAS,EAAE;MACTC,aAAa,EAAE,KAAK;MACpBC,MAAM,EAAE,EAAE;MACVC,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE,QAAQ;MACxBC,YAAY,EAAE;IAChB,CAAC;IACDC,KAAK,EAAE;MACLC,KAAK,EAAEb,MAAM,CAACc,QAAQ;MACtBC,UAAU,EAAE,KAAK;MACjBC,QAAQ,EAAE,EAAE;MACZC,SAAS,EAAE,QAAQ;MACnBC,IAAI,EAAE,CAAC;MACPC,UAAU,EAAElB,KAAK,CAACmB;IACpB,CAAC;IACDC,KAAK,EAAE;MACLb,MAAM,EAAE,EAAE;MACVc,KAAK,EAAE;IACT,CAAC;IACDC,cAAc,EAAE;MACdf,MAAM,EAAE,EAAE;MACVc,KAAK,EAAE;IACT;EACF,CAAC,CAAC;EAEF,OAAOnB,MAAM;AACf,CAAC;AAACqB,OAAA,CAAAzB,SAAA,GAAAA,SAAA"}
|
|
@@ -30,7 +30,7 @@ const BaseInputField = props => {
|
|
|
30
30
|
style: [styles.container]
|
|
31
31
|
}, /*#__PURE__*/_react.default.createElement(_reactNative.TextInput, {
|
|
32
32
|
placeholder: props.placeholder,
|
|
33
|
-
placeholderTextColor: theme.colors.
|
|
33
|
+
placeholderTextColor: theme.colors.fgPlaceholder,
|
|
34
34
|
autoCorrect: false,
|
|
35
35
|
spellCheck: false,
|
|
36
36
|
keyboardType: props.keyboardType,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_styles","_ThemeContext","_reactNativeSpacingSystem","_Text","obj","__esModule","default","BaseInputField","props","styles","useStyles","theme","useTheme","onFocus","inputModel","onBlur","createElement","View","style","containerStyle","Text","title","Stack","size","container","TextInput","placeholder","placeholderTextColor","colors","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_styles","_ThemeContext","_reactNativeSpacingSystem","_Text","obj","__esModule","default","BaseInputField","props","styles","useStyles","theme","useTheme","onFocus","inputModel","onBlur","createElement","View","style","containerStyle","Text","title","Stack","size","container","TextInput","placeholder","placeholderTextColor","colors","fgPlaceholder","autoCorrect","spellCheck","keyboardType","maxLength","value","onChangeText","setValue","input","errorText","exports"],"sourceRoot":"../../../../../src","sources":["components/InputFields/BaseInputField/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAQA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,yBAAA,GAAAJ,OAAA;AACA,IAAAK,KAAA,GAAAL,OAAA;AAAgD,SAAAD,uBAAAO,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAYzC,MAAMG,cAAc,GAAIC,KAA0B,IAAK;EAC5D,MAAMC,MAAM,GAAG,IAAAC,iBAAS,EAAC,CAAC;EAE1B,MAAMC,KAAK,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAExB,MAAMC,OAAO,GAAGA,CAAA,KAAM;IACpBL,KAAK,CAACM,UAAU,CAACD,OAAO,CAAC,CAAC;EAC5B,CAAC;EAED,MAAME,MAAM,GAAGA,CAAA,KAAM;IACnBP,KAAK,CAACM,UAAU,CAACC,MAAM,CAAC,CAAC;EAC3B,CAAC;EAED,oBACEnB,MAAA,CAAAU,OAAA,CAAAU,aAAA,CAACjB,YAAA,CAAAkB,IAAI;IAACC,KAAK,EAAEV,KAAK,CAACW;EAAe,gBAChCvB,MAAA,CAAAU,OAAA,CAAAU,aAAA,CAACb,KAAA,CAAAiB,IAAI;IAACF,KAAK,EAAET,MAAM,CAACY;EAAM,GAAEb,KAAK,CAACa,KAAY,CAAC,eAC/CzB,MAAA,CAAAU,OAAA,CAAAU,aAAA,CAACd,yBAAA,CAAAoB,KAAK;IAACC,IAAI,EAAE;EAAE,CAAE,CAAC,eAClB3B,MAAA,CAAAU,OAAA,CAAAU,aAAA,CAACjB,YAAA,CAAAkB,IAAI;IAACC,KAAK,EAAE,CAACT,MAAM,CAACe,SAAS;EAAE,gBAC9B5B,MAAA,CAAAU,OAAA,CAAAU,aAAA,CAACjB,YAAA,CAAA0B,SAAS;IACRC,WAAW,EAAElB,KAAK,CAACkB,WAAY;IAC/BC,oBAAoB,EAAEhB,KAAK,CAACiB,MAAM,CAACC,aAAc;IACjDC,WAAW,EAAE,KAAM;IACnBC,UAAU,EAAE,KAAM;IAClBC,YAAY,EAAExB,KAAK,CAACwB,YAAa;IACjCC,SAAS,EAAEzB,KAAK,CAACyB,SAAU;IAC3BC,KAAK,EAAE1B,KAAK,CAACM,UAAU,CAACoB,KAAM;IAC9BC,YAAY,EAAE3B,KAAK,CAACM,UAAU,CAACsB,QAAS;IACxClB,KAAK,EAAET,MAAM,CAAC4B,KAAM;IACpBxB,OAAO,EAAEA,OAAQ;IACjBE,MAAM,EAAEA;EAAO,CAChB,CACG,CAAC,EACN,CAAC,CAACP,KAAK,CAACM,UAAU,CAACwB,SAAS,iBAC3B1C,MAAA,CAAAU,OAAA,CAAAU,aAAA,CAACb,KAAA,CAAAiB,IAAI;IAACF,KAAK,EAAET,MAAM,CAAC6B;EAAU,GAAE9B,KAAK,CAACM,UAAU,CAACwB,SAAgB,CAE/D,CAAC;AAEX,CAAC;AAACC,OAAA,CAAAhC,cAAA,GAAAA,cAAA"}
|
|
@@ -9,31 +9,34 @@ var _ThemeContext = require("../../../contexts/ThemeContext");
|
|
|
9
9
|
const useStyles = () => {
|
|
10
10
|
const {
|
|
11
11
|
colors,
|
|
12
|
-
fonts
|
|
12
|
+
fonts,
|
|
13
|
+
borderWidths,
|
|
14
|
+
radii,
|
|
15
|
+
spacings
|
|
13
16
|
} = (0, _ThemeContext.useTheme)();
|
|
14
17
|
const styles = _reactNative.StyleSheet.create({
|
|
15
18
|
input: {
|
|
16
19
|
fontSize: 16,
|
|
17
|
-
paddingHorizontal:
|
|
20
|
+
paddingHorizontal: spacings.mega,
|
|
18
21
|
width: '100%',
|
|
19
|
-
color: colors.
|
|
22
|
+
color: colors.fgNormal,
|
|
20
23
|
fontFamily: fonts.sfProTextRegular
|
|
21
24
|
},
|
|
22
25
|
title: {
|
|
23
26
|
fontSize: 14,
|
|
24
27
|
lineHeight: 20,
|
|
25
|
-
color: colors.
|
|
28
|
+
color: colors.fgNormal,
|
|
26
29
|
fontFamily: fonts.sfProTextRegular
|
|
27
30
|
},
|
|
28
31
|
container: {
|
|
29
|
-
borderColor: colors.
|
|
30
|
-
borderWidth:
|
|
31
|
-
height:
|
|
32
|
+
borderColor: colors.borderNormal,
|
|
33
|
+
borderWidth: borderWidths.kilo,
|
|
34
|
+
height: 48,
|
|
32
35
|
justifyContent: 'center',
|
|
33
|
-
borderRadius:
|
|
36
|
+
borderRadius: radii.byte
|
|
34
37
|
},
|
|
35
38
|
errorText: {
|
|
36
|
-
color: colors.
|
|
39
|
+
color: colors.fgDanger,
|
|
37
40
|
fontSize: 12,
|
|
38
41
|
marginVertical: 6,
|
|
39
42
|
fontFamily: fonts.sfProTextRegular
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","colors","fonts","useTheme","styles","StyleSheet","create","input","fontSize","paddingHorizontal","width","color","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","colors","fonts","borderWidths","radii","spacings","useTheme","styles","StyleSheet","create","input","fontSize","paddingHorizontal","mega","width","color","fgNormal","fontFamily","sfProTextRegular","title","lineHeight","container","borderColor","borderNormal","borderWidth","kilo","height","justifyContent","borderRadius","byte","errorText","fgDanger","marginVertical","exports"],"sourceRoot":"../../../../../src","sources":["components/InputFields/BaseInputField/styles.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAEO,MAAME,SAAS,GAAGA,CAAA,KAAM;EAC7B,MAAM;IAAEC,MAAM;IAAEC,KAAK;IAAEC,YAAY;IAAEC,KAAK;IAAEC;EAAS,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAEnE,MAAMC,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;IAC/BC,KAAK,EAAE;MACLC,QAAQ,EAAE,EAAE;MACZC,iBAAiB,EAAEP,QAAQ,CAACQ,IAAI;MAChCC,KAAK,EAAE,MAAM;MACbC,KAAK,EAAEd,MAAM,CAACe,QAAQ;MACtBC,UAAU,EAAEf,KAAK,CAACgB;IACpB,CAAC;IACDC,KAAK,EAAE;MACLR,QAAQ,EAAE,EAAE;MACZS,UAAU,EAAE,EAAE;MACdL,KAAK,EAAEd,MAAM,CAACe,QAAQ;MACtBC,UAAU,EAAEf,KAAK,CAACgB;IACpB,CAAC;IACDG,SAAS,EAAE;MACTC,WAAW,EAAErB,MAAM,CAACsB,YAAY;MAChCC,WAAW,EAAErB,YAAY,CAACsB,IAAI;MAC9BC,MAAM,EAAE,EAAE;MACVC,cAAc,EAAE,QAAQ;MACxBC,YAAY,EAAExB,KAAK,CAACyB;IACtB,CAAC;IACDC,SAAS,EAAE;MACTf,KAAK,EAAEd,MAAM,CAAC8B,QAAQ;MACtBpB,QAAQ,EAAE,EAAE;MACZqB,cAAc,EAAE,CAAC;MACjBf,UAAU,EAAEf,KAAK,CAACgB;IACpB;EACF,CAAC,CAAC;EAEF,OAAOX,MAAM;AACf,CAAC;AAAC0B,OAAA,CAAAjC,SAAA,GAAAA,SAAA"}
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.useStyles = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _ThemeContext = require("../../contexts/ThemeContext");
|
|
9
|
+
var _radii = require("../../styles/radii");
|
|
9
10
|
const useStyles = () => {
|
|
10
11
|
const {
|
|
11
12
|
colors
|
|
@@ -18,13 +19,13 @@ const useStyles = () => {
|
|
|
18
19
|
alignItems: 'center'
|
|
19
20
|
},
|
|
20
21
|
progress: {
|
|
21
|
-
borderTopColor: colors.
|
|
22
|
+
borderTopColor: colors.fgOnStrong,
|
|
22
23
|
width: '100%',
|
|
23
24
|
height: '100%',
|
|
24
|
-
borderRadius:
|
|
25
|
-
borderLeftColor: colors.
|
|
26
|
-
borderRightColor: colors.
|
|
27
|
-
borderBottomColor: colors.
|
|
25
|
+
borderRadius: _radii.radii.mega,
|
|
26
|
+
borderLeftColor: colors.fgOnStrong,
|
|
27
|
+
borderRightColor: colors.fgOnStrong,
|
|
28
|
+
borderBottomColor: colors.bgAccentStrong,
|
|
28
29
|
borderWidth: 3,
|
|
29
30
|
position: 'absolute'
|
|
30
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","colors","useTheme","styles","StyleSheet","create","container","width","height","justifyContent","alignItems","progress","borderTopColor","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_ThemeContext","_radii","useStyles","colors","useTheme","styles","StyleSheet","create","container","width","height","justifyContent","alignItems","progress","borderTopColor","fgOnStrong","borderRadius","radii","mega","borderLeftColor","borderRightColor","borderBottomColor","bgAccentStrong","borderWidth","position","exports"],"sourceRoot":"../../../../src","sources":["components/LoadingSpinner/styles.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AAEO,MAAMG,SAAS,GAAGA,CAAA,KAAM;EAC7B,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAE7B,MAAMC,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;IAC/BC,SAAS,EAAE;MACTC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE,EAAE;MACVC,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE;IACd,CAAC;IACDC,QAAQ,EAAE;MACRC,cAAc,EAAEX,MAAM,CAACY,UAAU;MACjCN,KAAK,EAAE,MAAM;MACbC,MAAM,EAAE,MAAM;MACdM,YAAY,EAAEC,YAAK,CAACC,IAAI;MACxBC,eAAe,EAAEhB,MAAM,CAACY,UAAU;MAClCK,gBAAgB,EAAEjB,MAAM,CAACY,UAAU;MACnCM,iBAAiB,EAAElB,MAAM,CAACmB,cAAc;MACxCC,WAAW,EAAE,CAAC;MACdC,QAAQ,EAAE;IACZ;EACF,CAAC,CAAC;EAEF,OAAOnB,MAAM;AACf,CAAC;AAACoB,OAAA,CAAAvB,SAAA,GAAAA,SAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","colors","useTheme","styles","StyleSheet","create","modalStyle","margin","safeArea","flex","bottomColorContainer","width","height","backgroundColor","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","colors","useTheme","styles","StyleSheet","create","modalStyle","margin","safeArea","flex","bottomColorContainer","width","height","backgroundColor","bgNormal","position","bottom","contentContainer","paddingBottom","exports"],"sourceRoot":"../../../../src","sources":["components/Modal/styles.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAEO,MAAME,SAAS,GAAGA,CAAA,KAAM;EAC7B,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAE7B,MAAMC,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;IAC/BC,UAAU,EAAE;MACVC,MAAM,EAAE;IACV,CAAC;IACDC,QAAQ,EAAE;MACRC,IAAI,EAAE;IACR,CAAC;IACDC,oBAAoB,EAAE;MACpBC,KAAK,EAAE,MAAM;MACbC,MAAM,EAAE,GAAG;MACXC,eAAe,EAAEZ,MAAM,CAACa,QAAQ;MAChCC,QAAQ,EAAE,UAAU;MACpBC,MAAM,EAAE,CAAC;IACX,CAAC;IACDC,gBAAgB,EAAE;MAChBR,IAAI,EAAE,CAAC;MACPS,aAAa,EAAE;IACjB;EACF,CAAC,CAAC;EAEF,OAAOf,MAAM;AACf,CAAC;AAACgB,OAAA,CAAAnB,SAAA,GAAAA,SAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","colors","useTheme","styles","StyleSheet","create","text","color","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","colors","useTheme","styles","StyleSheet","create","text","color","fgDanger","exports"],"sourceRoot":"../../../../src","sources":["components/NoInternetConnection/styles.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAEO,MAAME,SAAS,GAAGA,CAAA,KAAM;EAC7B,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAE7B,MAAMC,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;IAC/BC,IAAI,EAAE;MACJC,KAAK,EAAEN,MAAM,CAACO;IAChB;EACF,CAAC,CAAC;EAEF,OAAOL,MAAM;AACf,CAAC;AAACM,OAAA,CAAAT,SAAA,GAAAA,SAAA"}
|
|
@@ -39,7 +39,7 @@ const OptionMenuModal = props => {
|
|
|
39
39
|
onPress: onPress
|
|
40
40
|
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
41
41
|
style: [styles.optionText, {
|
|
42
|
-
color: type === 'destructive' ? colors.
|
|
42
|
+
color: type === 'destructive' ? colors.fgDanger : colors.fgAccent
|
|
43
43
|
}]
|
|
44
44
|
}, text));
|
|
45
45
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeModal","_styles","_OptionMenuContext","_ThemeContext","_LanguageContext","obj","__esModule","default","LEFT_OFFSET","TOP_OFFSET_WITHOUT_USED","TOP_OFFSET_WITH_USED","OptionMenuModal","props","colors","useTheme","strings","useStrings","styles","useStyles","isVisible","x","y","isUsed","hide","useOptionMenu","close","renderOption","text","type","onPress","createElement","TouchableOpacity","style","optionContainer","Text","optionText","color","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeModal","_styles","_OptionMenuContext","_ThemeContext","_LanguageContext","obj","__esModule","default","LEFT_OFFSET","TOP_OFFSET_WITHOUT_USED","TOP_OFFSET_WITH_USED","OptionMenuModal","props","colors","useTheme","strings","useStrings","styles","useStyles","isVisible","x","y","isUsed","hide","useOptionMenu","close","renderOption","text","type","onPress","createElement","TouchableOpacity","style","optionContainer","Text","optionText","color","fgDanger","fgAccent","onDelete","onUse","hasBackdrop","animationIn","animationInTiming","Platform","OS","undefined","animationOut","animationOutTiming","onBackdropPress","backdropOpacity","modalStyle","View","container","left","top","Fragment","savedCards","options","use","separator","delete","exports"],"sourceRoot":"../../../../src","sources":["components/OptionMenuModal/index.tsx"],"mappings":"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"}
|
|
@@ -6,6 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.useStyles = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _ThemeContext = require("../../contexts/ThemeContext");
|
|
9
|
+
var _radii = require("../../styles/radii");
|
|
10
|
+
var _spacings = require("../../styles/spacings");
|
|
9
11
|
const useStyles = () => {
|
|
10
12
|
const {
|
|
11
13
|
colors,
|
|
@@ -16,10 +18,10 @@ const useStyles = () => {
|
|
|
16
18
|
margin: 0
|
|
17
19
|
},
|
|
18
20
|
container: {
|
|
19
|
-
borderRadius:
|
|
20
|
-
backgroundColor: colors.
|
|
21
|
+
borderRadius: _radii.radii.kilo,
|
|
22
|
+
backgroundColor: colors.bgNormal,
|
|
21
23
|
position: 'absolute',
|
|
22
|
-
shadowColor: colors.
|
|
24
|
+
shadowColor: colors.fgNormal,
|
|
23
25
|
shadowOffset: {
|
|
24
26
|
width: 0,
|
|
25
27
|
height: 3
|
|
@@ -30,13 +32,12 @@ const useStyles = () => {
|
|
|
30
32
|
},
|
|
31
33
|
separator: {
|
|
32
34
|
height: 1,
|
|
33
|
-
backgroundColor: colors.
|
|
34
|
-
opacity: 0.2
|
|
35
|
+
backgroundColor: colors.borderDivider
|
|
35
36
|
},
|
|
36
37
|
optionContainer: {
|
|
37
38
|
width: 107,
|
|
38
39
|
paddingVertical: 11,
|
|
39
|
-
paddingHorizontal:
|
|
40
|
+
paddingHorizontal: _spacings.spacings.mega
|
|
40
41
|
},
|
|
41
42
|
optionText: {
|
|
42
43
|
fontFamily: fonts.sfProTextRegular,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","colors","fonts","useTheme","styles","StyleSheet","create","modalStyle","margin","container","borderRadius","backgroundColor","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_ThemeContext","_radii","_spacings","useStyles","colors","fonts","useTheme","styles","StyleSheet","create","modalStyle","margin","container","borderRadius","radii","kilo","backgroundColor","bgNormal","position","shadowColor","fgNormal","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","separator","borderDivider","optionContainer","paddingVertical","paddingHorizontal","spacings","mega","optionText","fontFamily","sfProTextRegular","fontSize","lineHeight","exports"],"sourceRoot":"../../../../src","sources":["components/OptionMenuModal/styles.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AAEO,MAAMI,SAAS,GAAGA,CAAA,KAAM;EAC7B,MAAM;IAAEC,MAAM;IAAEC;EAAM,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAEpC,MAAMC,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;IAC/BC,UAAU,EAAE;MACVC,MAAM,EAAE;IACV,CAAC;IACDC,SAAS,EAAE;MACTC,YAAY,EAAEC,YAAK,CAACC,IAAI;MACxBC,eAAe,EAAEZ,MAAM,CAACa,QAAQ;MAChCC,QAAQ,EAAE,UAAU;MACpBC,WAAW,EAAEf,MAAM,CAACgB,QAAQ;MAC5BC,YAAY,EAAE;QACZC,KAAK,EAAE,CAAC;QACRC,MAAM,EAAE;MACV,CAAC;MACDC,aAAa,EAAE,GAAG;MAClBC,YAAY,EAAE,EAAE;MAEhBC,SAAS,EAAE;IACb,CAAC;IACDC,SAAS,EAAE;MACTJ,MAAM,EAAE,CAAC;MACTP,eAAe,EAAEZ,MAAM,CAACwB;IAC1B,CAAC;IACDC,eAAe,EAAE;MACfP,KAAK,EAAE,GAAG;MACVQ,eAAe,EAAE,EAAE;MACnBC,iBAAiB,EAAEC,kBAAQ,CAACC;IAC9B,CAAC;IACDC,UAAU,EAAE;MACVC,UAAU,EAAE9B,KAAK,CAAC+B,gBAAgB;MAClCC,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACd;EACF,CAAC,CAAC;EAEF,OAAO/B,MAAM;AACf,CAAC;AAACgC,OAAA,CAAApC,SAAA,GAAAA,SAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","colors","fonts","useTheme","styles","StyleSheet","create","text","fontSize","lineHeight","color","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","colors","fonts","useTheme","styles","StyleSheet","create","text","fontSize","lineHeight","color","fgOnStrong","fontFamily","aktivGroteskBold","lockImage","width","height","defaultContentContainer","flexDirection","exports"],"sourceRoot":"../../../../src","sources":["components/PayButton/styles.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAEO,MAAME,SAAS,GAAGA,CAAA,KAAM;EAC7B,MAAM;IAAEC,MAAM;IAAEC;EAAM,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAEpC,MAAMC,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;IAC/BC,IAAI,EAAE;MACJC,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE,EAAE;MACdC,KAAK,EAAET,MAAM,CAACU,UAAU;MACxBC,UAAU,EAAEV,KAAK,CAACW;IACpB,CAAC;IACDC,SAAS,EAAE;MACTC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE;IACV,CAAC;IACDC,uBAAuB,EAAE;MACvBC,aAAa,EAAE;IACjB;EACF,CAAC,CAAC;EAEF,OAAOd,MAAM;AACf,CAAC;AAACe,OAAA,CAAAnB,SAAA,GAAAA,SAAA"}
|
|
@@ -6,6 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.useStyles = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _ThemeContext = require("../../contexts/ThemeContext");
|
|
9
|
+
var _borderWidths = require("../../styles/borderWidths");
|
|
10
|
+
var _radii = require("../../styles/radii");
|
|
11
|
+
var _spacings = require("../../styles/spacings");
|
|
9
12
|
const useStyles = () => {
|
|
10
13
|
const {
|
|
11
14
|
colors,
|
|
@@ -13,16 +16,16 @@ const useStyles = () => {
|
|
|
13
16
|
} = (0, _ThemeContext.useTheme)();
|
|
14
17
|
const styles = _reactNative.StyleSheet.create({
|
|
15
18
|
container: {
|
|
16
|
-
borderColor: colors.
|
|
17
|
-
borderWidth:
|
|
18
|
-
borderRadius:
|
|
19
|
-
paddingHorizontal:
|
|
19
|
+
borderColor: colors.borderDivider,
|
|
20
|
+
borderWidth: _borderWidths.borderWidths.mega,
|
|
21
|
+
borderRadius: _radii.radii.mega,
|
|
22
|
+
paddingHorizontal: _spacings.spacings.mega
|
|
20
23
|
},
|
|
21
24
|
title: {
|
|
22
25
|
fontWeight: '700',
|
|
23
26
|
fontSize: 14,
|
|
24
27
|
lineHeight: 20,
|
|
25
|
-
color: colors.
|
|
28
|
+
color: colors.fgNormal,
|
|
26
29
|
flex: 1,
|
|
27
30
|
fontFamily: fonts.sfProTextBold
|
|
28
31
|
},
|
|
@@ -31,10 +34,10 @@ const useStyles = () => {
|
|
|
31
34
|
height: 24
|
|
32
35
|
},
|
|
33
36
|
optionContainer: {
|
|
34
|
-
backgroundColor: colors.
|
|
37
|
+
backgroundColor: colors.bgNormal,
|
|
35
38
|
flexDirection: 'row',
|
|
36
39
|
alignItems: 'center',
|
|
37
|
-
paddingVertical:
|
|
40
|
+
paddingVertical: _spacings.spacings.kilo
|
|
38
41
|
}
|
|
39
42
|
});
|
|
40
43
|
return styles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_ThemeContext","useStyles","colors","fonts","useTheme","styles","StyleSheet","create","container","borderColor","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_ThemeContext","_borderWidths","_radii","_spacings","useStyles","colors","fonts","useTheme","styles","StyleSheet","create","container","borderColor","borderDivider","borderWidth","borderWidths","mega","borderRadius","radii","paddingHorizontal","spacings","title","fontWeight","fontSize","lineHeight","color","fgNormal","flex","fontFamily","sfProTextBold","image","width","height","optionContainer","backgroundColor","bgNormal","flexDirection","alignItems","paddingVertical","kilo","exports"],"sourceRoot":"../../../../src","sources":["components/PaymentMethodFormHeaderOption/styles.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AAEO,MAAMK,SAAS,GAAGA,CAAA,KAAM;EAC7B,MAAM;IAAEC,MAAM;IAAEC;EAAM,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAEpC,MAAMC,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;IAC/BC,SAAS,EAAE;MACTC,WAAW,EAAEP,MAAM,CAACQ,aAAa;MACjCC,WAAW,EAAEC,0BAAY,CAACC,IAAI;MAC9BC,YAAY,EAAEC,YAAK,CAACF,IAAI;MACxBG,iBAAiB,EAAEC,kBAAQ,CAACJ;IAC9B,CAAC;IACDK,KAAK,EAAE;MACLC,UAAU,EAAE,KAAK;MACjBC,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE,EAAE;MACdC,KAAK,EAAEpB,MAAM,CAACqB,QAAQ;MACtBC,IAAI,EAAE,CAAC;MACPC,UAAU,EAAEtB,KAAK,CAACuB;IACpB,CAAC;IACDC,KAAK,EAAE;MACLC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE;IACV,CAAC;IACDC,eAAe,EAAE;MACfC,eAAe,EAAE7B,MAAM,CAAC8B,QAAQ;MAChCC,aAAa,EAAE,KAAK;MACpBC,UAAU,EAAE,QAAQ;MACpBC,eAAe,EAAElB,kBAAQ,CAACmB;IAC5B;EACF,CAAC,CAAC;EAEF,OAAO/B,MAAM;AACf,CAAC;AAACgC,OAAA,CAAApC,SAAA,GAAAA,SAAA"}
|