react-native-phone-country-input 1.0.1 → 1.0.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/Keyboard/KeypadButtonContainer.js +1 -4
- package/lib/commonjs/Keyboard/KeypadButtonContainer.js.map +1 -1
- package/lib/module/Keyboard/KeypadButtonContainer.js +1 -3
- package/lib/module/Keyboard/KeypadButtonContainer.js.map +1 -1
- package/lib/typescript/Keyboard/KeypadButtonContainer.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/Keyboard/KeypadButtonContainer.tsx +2 -4
|
@@ -7,12 +7,9 @@ exports.default = KeypadButtonContainer;
|
|
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _Colors = require("../Styling/Colors");
|
|
10
|
-
var _Sizing = require("
|
|
10
|
+
var _Sizing = require("../Styling/Sizing");
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
12
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
13
|
-
// import { Box } from '@/components/ui/box';
|
|
14
|
-
// import { GetColor } from '@/utils/get-color';
|
|
15
|
-
|
|
16
13
|
function KeypadButtonContainer({
|
|
17
14
|
children,
|
|
18
15
|
shouldDisableShadow,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_Colors","_Sizing","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","KeypadButtonContainer","children","shouldDisableShadow","bgColor","colors","white","bgPressedColor","gray","props","isCurrentlyPressed","setIsCurrentlyPressed","useState","jsx","Pressable","style","styles","pressable","unstable_pressDelay","onPressIn","onPressOut","View","container","backgroundColor","undefined","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","StyleSheet","create","flex","flexDirection","justifyContent","alignItems","gap","borderRadius","paddingVertical","spacing"],"sourceRoot":"../../../src","sources":["Keyboard/KeypadButtonContainer.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_Colors","_Sizing","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","KeypadButtonContainer","children","shouldDisableShadow","bgColor","colors","white","bgPressedColor","gray","props","isCurrentlyPressed","setIsCurrentlyPressed","useState","jsx","Pressable","style","styles","pressable","unstable_pressDelay","onPressIn","onPressOut","View","container","backgroundColor","undefined","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","StyleSheet","create","flex","flexDirection","justifyContent","alignItems","gap","borderRadius","paddingVertical","spacing"],"sourceRoot":"../../../src","sources":["Keyboard/KeypadButtonContainer.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAA4C,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,wBAAAM,CAAA,EAAAC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EAACnC,YAAA,CAAAoC,SAAS;IACRC,KAAK,EAAEC,MAAM,CAACC,SAAU;IACxBC,mBAAmB,EAAE,CAAE;IACvBC,SAAS,EAAEA,CAAA,KAAM;MACfR,qBAAqB,CAAC,IAAI,CAAC;IAC7B,CAAE;IACFS,UAAU,EAAEA,CAAA,KAAM;MAChBT,qBAAqB,CAAC,KAAK,CAAC;IAC9B,CAAE;IAAA,GACEF,KAAK;IAAAP,QAAA,eACT,IAAArB,WAAA,CAAAgC,GAAA,EAACnC,YAAA,CAAA2C,IAAI;MACHN,KAAK,EAAE,CACLC,MAAM,CAACM,SAAS,EAChB;QAAEC,eAAe,EAAE,CAACb,kBAAkB,GAAGH,cAAc,GAAGH,OAAO,KAAKoB;MAAU,CAAC,EACjF,CAACrB,mBAAmB,IAAI;QACtBsB,WAAW,EAAE,MAAM;QACnBC,YAAY,EAAE;UAAEC,KAAK,EAAE,CAAC;UAAEC,MAAM,EAAE;QAAE,CAAC;QACrCC,aAAa,EAAE,IAAI;QACnBC,YAAY,EAAE,CAAC;QACfC,SAAS,EAAE;MACb,CAAC,CACD;MAAA7B,QAAA,EACDA;IAAQ,CACL;EAAC,CACE,CAAC;AAEhB;AAEA,MAAMc,MAAM,GAAGgB,uBAAU,CAACC,MAAM,CAAC;EAC/BhB,SAAS,EAAE;IACTiB,IAAI,EAAE;EACR,CAAC;EACDZ,SAAS,EAAE;IACTY,IAAI,EAAE,CAAC;IACPC,aAAa,EAAE,QAAQ;IACvBC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,GAAG,EAAE,CAAC;IACNC,YAAY,EAAE,EAAE;IAChBC,eAAe,EAAEC,eAAO,CAAC,CAAC;EAC5B;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -3,9 +3,7 @@
|
|
|
3
3
|
import React, { useState } from 'react';
|
|
4
4
|
import { Pressable, StyleSheet, View } from 'react-native';
|
|
5
5
|
import { colors } from '../Styling/Colors';
|
|
6
|
-
import { spacing } from '
|
|
7
|
-
// import { Box } from '@/components/ui/box';
|
|
8
|
-
// import { GetColor } from '@/utils/get-color';
|
|
6
|
+
import { spacing } from '../Styling/Sizing';
|
|
9
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
8
|
export default function KeypadButtonContainer({
|
|
11
9
|
children,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","Pressable","StyleSheet","View","colors","spacing","jsx","_jsx","KeypadButtonContainer","children","shouldDisableShadow","bgColor","white","bgPressedColor","gray","props","isCurrentlyPressed","setIsCurrentlyPressed","style","styles","pressable","unstable_pressDelay","onPressIn","onPressOut","container","backgroundColor","undefined","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","create","flex","flexDirection","justifyContent","alignItems","gap","borderRadius","paddingVertical"],"sourceRoot":"../../../src","sources":["Keyboard/KeypadButtonContainer.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,SAAS,EAAkBC,UAAU,EAAEC,IAAI,
|
|
1
|
+
{"version":3,"names":["React","useState","Pressable","StyleSheet","View","colors","spacing","jsx","_jsx","KeypadButtonContainer","children","shouldDisableShadow","bgColor","white","bgPressedColor","gray","props","isCurrentlyPressed","setIsCurrentlyPressed","style","styles","pressable","unstable_pressDelay","onPressIn","onPressOut","container","backgroundColor","undefined","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","create","flex","flexDirection","justifyContent","alignItems","gap","borderRadius","paddingVertical"],"sourceRoot":"../../../src","sources":["Keyboard/KeypadButtonContainer.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,SAAS,EAAkBC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC1E,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SAASC,OAAO,QAAQ,mBAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAU5C,eAAe,SA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AAE,EAAE;IAChBC,eAAe,EAAEpC,OAAO,CAAC,CAAC;EAC5B;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeypadButtonContainer.d.ts","sourceRoot":"","sources":["../../../src/Keyboard/KeypadButtonContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAa,cAAc,
|
|
1
|
+
{"version":3,"file":"KeypadButtonContainer.d.ts","sourceRoot":"","sources":["../../../src/Keyboard/KeypadButtonContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAa,cAAc,EAAoB,MAAM,cAAc,CAAC;AAI3E,UAAU,0BAA2B,SAAQ,cAAc;IACzD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAC5C,QAAQ,EACR,mBAAmB,EACnB,OAAsB,EACtB,cAAiC,EACjC,GAAG,KAAK,EACT,EAAE,0BAA0B,qBA8B5B"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
|
-
import { Pressable, PressableProps, StyleSheet, View
|
|
2
|
+
import { Pressable, PressableProps, StyleSheet, View } from 'react-native';
|
|
3
3
|
import { colors } from '../Styling/Colors';
|
|
4
|
-
import { spacing } from '
|
|
5
|
-
// import { Box } from '@/components/ui/box';
|
|
6
|
-
// import { GetColor } from '@/utils/get-color';
|
|
4
|
+
import { spacing } from '../Styling/Sizing';
|
|
7
5
|
|
|
8
6
|
interface KeypadButtonContainerProps extends PressableProps {
|
|
9
7
|
children: React.ReactNode;
|