react-native-exp-fig 0.1.30 → 0.1.32
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/header-profile/index.js +1 -1
- package/lib/commonjs/components/header-profile/index.js.map +1 -1
- package/lib/commonjs/components/selects/select-option/styles.js +10 -7
- package/lib/commonjs/components/selects/select-option/styles.js.map +1 -1
- package/lib/module/components/header-profile/index.js +1 -1
- package/lib/module/components/header-profile/index.js.map +1 -1
- package/lib/module/components/selects/select-option/styles.js +10 -7
- package/lib/module/components/selects/select-option/styles.js.map +1 -1
- package/lib/typescript/src/components/selects/select-option/styles.d.ts +6 -3
- package/package.json +1 -1
- package/src/components/header-profile/index.tsx +1 -1
- package/src/components/selects/select-option/styles.ts +78 -75
|
@@ -128,7 +128,7 @@ const Header = ({
|
|
|
128
128
|
color: bluetoothIsConnected ? _theme.theme.colors.green[400] : _theme.theme.colors.red[900]
|
|
129
129
|
}), /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
|
|
130
130
|
icon: isInternetReachable ? "WIFI_HIGH" : "WIFI_X",
|
|
131
|
-
color: isInternetReachable ? _theme.theme.colors.
|
|
131
|
+
color: isInternetReachable ? _theme.theme.colors.green[400] : _theme.theme.colors.red[800]
|
|
132
132
|
}))));
|
|
133
133
|
};
|
|
134
134
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","Header","title","color","testID","arrow","permission","bluetoothIsConnected","isInternetReachable","handleNavigation","backgroundColor","isBluetooth","_color$colorText","width","widthScreen","Dimensions","get","isMobile","createElement","height","theme","colors","blue","flexStyle","flexDirection","justifyContent","alignItems","paddingStyle","paddingLeft","paddings","md","TouchableOpacity","disabled","onPress","style","Fragment","Icons","icon","marginStyle","marginBottom","flex","Typography","text","size","fontFamily","fonts","inter_bold_700","colorText","neutral","fontWeight","align","lineHeight","fontSizes","lg","letterSpacing","marginLeft","margins","marginRight","borderStyled","borderRadius","marginTop","green","red","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","Header","title","color","testID","arrow","permission","bluetoothIsConnected","isInternetReachable","handleNavigation","backgroundColor","isBluetooth","_color$colorText","width","widthScreen","Dimensions","get","isMobile","createElement","height","theme","colors","blue","flexStyle","flexDirection","justifyContent","alignItems","paddingStyle","paddingLeft","paddings","md","TouchableOpacity","disabled","onPress","style","Fragment","Icons","icon","marginStyle","marginBottom","flex","Typography","text","size","fontFamily","fonts","inter_bold_700","colorText","neutral","fontWeight","align","lineHeight","fontSizes","lg","letterSpacing","marginLeft","margins","marginRight","borderStyled","borderRadius","marginTop","green","red","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { Dimensions, TouchableOpacity } from \"react-native\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\n\n// typings\nimport { IHeaderProps } from \"./interface\";\n\n// commons\nimport { Icons } from \"../../common/icons-svg\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\n/**\n * Componente Header para a interação do usuário com ui.\n */\nconst Header: React.FC<IHeaderProps> = ({\n title,\n color,\n testID,\n arrow,\n // propsNav,\n permission,\n bluetoothIsConnected,\n isInternetReachable,\n handleNavigation,\n backgroundColor,\n isBluetooth = false,\n}) => {\n const { width: widthScreen } = Dimensions.get(\"window\");\n const isMobile = widthScreen < 768;\n\n return (\n <Box\n testID={testID}\n width={\"100%\"}\n height={45}\n backgroundColor={backgroundColor ?? theme.colors.blue[400]}\n flexStyle={{ flexDirection: \"row\", justifyContent: \"space-between\", alignItems: \"center\" }}\n >\n <Box\n width={\"10%\"}\n height={45}\n flexStyle={{ flexDirection: \"column\", justifyContent: \"center\", alignItems: \"flex-start\" }}\n paddingStyle={{ paddingLeft: theme.paddings.md }}\n >\n {arrow && title !== \"Login\" && (\n <TouchableOpacity\n disabled={!arrow}\n onPress={handleNavigation}\n style={{\n width: 50,\n height: 45,\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n justifyContent: \"center\",\n }}\n >\n {title === \"Controle de Jornada\" || title === \"Controle de Carregamento\" ? (\n <>\n <Icons icon=\"LIST\" color=\"#fff\" />\n <Box marginStyle={{ marginBottom: 8 }} />\n </>\n ) : (\n arrow && <Icons icon=\"ARROW_LEFT\" />\n )}\n </TouchableOpacity>\n )}\n </Box>\n\n <Box\n height={45}\n flexStyle={{\n flexDirection: \"row\",\n justifyContent: \"center\",\n alignItems: \"center\",\n flex: 0.9,\n }}\n >\n <Typography\n text={title ? title : \"Login\"}\n size={15.4}\n fontFamily={theme.fonts.inter_bold_700}\n color={color?.colorText ?? theme.colors.neutral[25]}\n fontWeight=\"700\"\n align=\"center\"\n lineHeight={theme.fontSizes.lg}\n letterSpacing={\"regular\"}\n marginLeft={theme.margins[\"2xl\"]}\n />\n </Box>\n\n <Box\n marginStyle={{ marginRight: isMobile ? 10 : 60 }}\n borderStyled={{ borderRadius: 10 }}\n width={50}\n height={24}\n >\n {permission ? (\n <Box marginStyle={{ marginTop: 2 }} />\n ) : (\n <Box\n marginStyle={{ marginTop: 2 }}\n flexStyle={{ flexDirection: \"row\", justifyContent: \"flex-end\" }}\n >\n {isBluetooth && (\n <Icons\n icon={bluetoothIsConnected ? \"BLUETOOTH_CONNECTED\" : \"BLUETOOTH\"}\n color={bluetoothIsConnected ? theme.colors.green[400] : theme.colors.red[900]}\n />\n )}\n <Icons\n icon={isInternetReachable ? \"WIFI_HIGH\" : \"WIFI_X\"}\n color={isInternetReachable ? theme.colors.green[400] : theme.colors.red[800]}\n />\n </Box>\n )}\n </Box>\n </Box>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { Header };\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IA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GAAG,WAAY;IACjEJ,KAAK,EAAEI,oBAAoB,GAAGa,YAAK,CAACC,MAAM,CAACwC,KAAK,CAAC,GAAG,CAAC,GAAGzC,YAAK,CAACC,MAAM,CAACyC,GAAG,CAAC,GAAG;EAAE,CAC/E,CACF,eACDxE,MAAA,CAAAU,OAAA,CAAAkB,aAAA,CAACtB,SAAA,CAAAwC,KAAK;IACJC,IAAI,EAAE7B,mBAAmB,GAAG,WAAW,GAAG,QAAS;IACnDL,KAAK,EAAEK,mBAAmB,GAAGY,YAAK,CAACC,MAAM,CAACwC,KAAK,CAAC,GAAG,CAAC,GAAGzC,YAAK,CAACC,MAAM,CAACyC,GAAG,CAAC,GAAG;EAAE,CAC9E,CACE,CAEJ,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AAFAC,OAAA,CAAA9D,MAAA,GAAAA,MAAA","ignoreList":[]}
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.styles = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _theme = require("../../../styles/theme/theme");
|
|
9
|
-
/**
|
|
10
|
-
* IMPORTS
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
// typings
|
|
@@ -54,12 +54,15 @@ const styles = props => {
|
|
|
54
54
|
width: "100%",
|
|
55
55
|
backgroundColor: _theme.theme.colors.neutral[25],
|
|
56
56
|
borderRadius: 10,
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
paddingVertical: 15,
|
|
58
|
+
paddingHorizontal: 20,
|
|
59
|
+
alignItems: "stretch"
|
|
59
60
|
},
|
|
60
61
|
option: {
|
|
61
62
|
width: "100%",
|
|
62
|
-
|
|
63
|
+
paddingVertical: 10,
|
|
64
|
+
paddingRight: 10,
|
|
65
|
+
paddingLeft: 0,
|
|
63
66
|
alignItems: "flex-start",
|
|
64
67
|
borderBottomWidth: 1,
|
|
65
68
|
borderBottomColor: _theme.theme.colors.gray[300]
|
|
@@ -76,8 +79,8 @@ const styles = props => {
|
|
|
76
79
|
});
|
|
77
80
|
};
|
|
78
81
|
|
|
79
|
-
/**
|
|
80
|
-
* EXPORTS
|
|
82
|
+
/**
|
|
83
|
+
* EXPORTS
|
|
81
84
|
*/
|
|
82
85
|
exports.styles = styles;
|
|
83
86
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_theme","styles","props","_props$sizeTitleLabel","_props$colortitleLabe","StyleSheet","create","container","width","marginBottom","label","fontSize","sizeTitleLabel","fontWeight","color","colortitleLabel","theme","colors","black","selectBox","flexDirection","alignItems","justifyContent","height","borderWidth","borderColor","gray","borderRadius","backgroundColor","neutral","paddingHorizontal","selectedText","modalOverlay","flex","padding","modalContainer","option","borderBottomWidth","borderBottomColor","optionText","closeButtonText","exports"],"sources":["styles.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { StyleSheet } from \"react-native\";\n\n// typings\nimport { ISelectDropDownProps } from \"./interface\";\n\n// theme\nimport { theme } from \"../../../styles/theme/theme\";\n\nconst styles = (props: ISelectDropDownProps) =>\n StyleSheet.create({\n container: {\n width: \"100%\",\n marginBottom: 16,\n },\n label: {\n fontSize: props.sizeTitleLabel ?? 16,\n fontWeight: \"bold\",\n color: props.colortitleLabel ?? theme.colors.black[100],\n marginBottom: 5,\n },\n selectBox: {\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n width: \"100%\",\n height: 45,\n borderWidth: 1,\n borderColor: theme.colors.gray[700],\n borderRadius: 10,\n backgroundColor: theme.colors.neutral[25],\n paddingHorizontal: 10,\n },\n selectedText: {\n fontSize: 14,\n color: \"#666\",\n },\n modalOverlay: {\n flex: 1,\n backgroundColor: \"rgba(0,0,0,0.5)\",\n justifyContent: \"center\",\n alignItems: \"center\",\n padding: 24,\n },\n modalContainer: {\n width: \"100%\",\n backgroundColor: theme.colors.neutral[25],\n borderRadius: 10,\n
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_theme","styles","props","_props$sizeTitleLabel","_props$colortitleLabe","StyleSheet","create","container","width","marginBottom","label","fontSize","sizeTitleLabel","fontWeight","color","colortitleLabel","theme","colors","black","selectBox","flexDirection","alignItems","justifyContent","height","borderWidth","borderColor","gray","borderRadius","backgroundColor","neutral","paddingHorizontal","selectedText","modalOverlay","flex","padding","modalContainer","paddingVertical","option","paddingRight","paddingLeft","borderBottomWidth","borderBottomColor","optionText","closeButtonText","exports"],"sources":["styles.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport { StyleSheet } from \"react-native\";\r\n\r\n// typings\r\nimport { ISelectDropDownProps } from \"./interface\";\r\n\r\n// theme\r\nimport { theme } from \"../../../styles/theme/theme\";\r\n\r\nconst styles = (props: ISelectDropDownProps) =>\r\n StyleSheet.create({\r\n container: {\r\n width: \"100%\",\r\n marginBottom: 16,\r\n },\r\n label: {\r\n fontSize: props.sizeTitleLabel ?? 16,\r\n fontWeight: \"bold\",\r\n color: props.colortitleLabel ?? theme.colors.black[100],\r\n marginBottom: 5,\r\n },\r\n selectBox: {\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n width: \"100%\",\r\n height: 45,\r\n borderWidth: 1,\r\n borderColor: theme.colors.gray[700],\r\n borderRadius: 10,\r\n backgroundColor: theme.colors.neutral[25],\r\n paddingHorizontal: 10,\r\n },\r\n selectedText: {\r\n fontSize: 14,\r\n color: \"#666\",\r\n },\r\n modalOverlay: {\r\n flex: 1,\r\n backgroundColor: \"rgba(0,0,0,0.5)\",\r\n justifyContent: \"center\",\r\n alignItems: \"center\",\r\n padding: 24,\r\n },\r\n modalContainer: {\r\n width: \"100%\",\r\n backgroundColor: theme.colors.neutral[25],\r\n borderRadius: 10,\r\n paddingVertical: 15,\r\n paddingHorizontal: 20,\r\n alignItems: \"stretch\",\r\n },\r\n option: {\r\n width: \"100%\",\r\n paddingVertical: 10,\r\n paddingRight: 10,\r\n paddingLeft: 0,\r\n alignItems: \"flex-start\",\r\n borderBottomWidth: 1,\r\n borderBottomColor: theme.colors.gray[300],\r\n },\r\n optionText: {\r\n fontSize: 14,\r\n color: theme.colors.black[100],\r\n fontWeight: \"500\",\r\n },\r\n closeButtonText: {\r\n color: theme.colors.neutral[25],\r\n fontWeight: \"bold\",\r\n },\r\n });\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { styles };\r\n"],"mappings":";;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAMA,IAAAC,MAAA,GAAAD,OAAA;AATA;AACA;AACA;;AAGA;;AAGA;;AAGA,MAAME,MAAM,GAAIC,KAA2B;EAAA,IAAAC,qBAAA,EAAAC,qBAAA;EAAA,OACzCC,uBAAU,CAACC,MAAM,CAAC;IAChBC,SAAS,EAAE;MACTC,KAAK,EAAE,MAAM;MACbC,YAAY,EAAE;IAChB,CAAC;IACDC,KAAK,EAAE;MACLC,QAAQ,GAAAR,qBAAA,GAAED,KAAK,CAACU,cAAc,cAAAT,qBAAA,cAAAA,qBAAA,GAAI,EAAE;MACpCU,UAAU,EAAE,MAAM;MAClBC,KAAK,GAAAV,qBAAA,GAAEF,KAAK,CAACa,eAAe,cAAAX,qBAAA,cAAAA,qBAAA,GAAIY,YAAK,CAACC,MAAM,CAACC,KAAK,CAAC,GAAG,CAAC;MACvDT,YAAY,EAAE;IAChB,CAAC;IACDU,SAAS,EAAE;MACTC,aAAa,EAAE,KAAK;MACpBC,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE,eAAe;MAC/Bd,KAAK,EAAE,MAAM;MACbe,MAAM,EAAE,EAAE;MACVC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAET,YAAK,CAACC,MAAM,CAACS,IAAI,CAAC,GAAG,CAAC;MACnCC,YAAY,EAAE,EAAE;MAChBC,eAAe,EAAEZ,YAAK,CAACC,MAAM,CAACY,OAAO,CAAC,EAAE,CAAC;MACzCC,iBAAiB,EAAE;IACrB,CAAC;IACDC,YAAY,EAAE;MACZpB,QAAQ,EAAE,EAAE;MACZG,KAAK,EAAE;IACT,CAAC;IACDkB,YAAY,EAAE;MACZC,IAAI,EAAE,CAAC;MACPL,eAAe,EAAE,iBAAiB;MAClCN,cAAc,EAAE,QAAQ;MACxBD,UAAU,EAAE,QAAQ;MACpBa,OAAO,EAAE;IACX,CAAC;IACDC,cAAc,EAAE;MACd3B,KAAK,EAAE,MAAM;MACboB,eAAe,EAAEZ,YAAK,CAACC,MAAM,CAACY,OAAO,CAAC,EAAE,CAAC;MACzCF,YAAY,EAAE,EAAE;MAChBS,eAAe,EAAE,EAAE;MACnBN,iBAAiB,EAAE,EAAE;MACrBT,UAAU,EAAE;IACd,CAAC;IACDgB,MAAM,EAAE;MACN7B,KAAK,EAAE,MAAM;MACb4B,eAAe,EAAE,EAAE;MACnBE,YAAY,EAAE,EAAE;MAChBC,WAAW,EAAE,CAAC;MACdlB,UAAU,EAAE,YAAY;MACxBmB,iBAAiB,EAAE,CAAC;MACpBC,iBAAiB,EAAEzB,YAAK,CAACC,MAAM,CAACS,IAAI,CAAC,GAAG;IAC1C,CAAC;IACDgB,UAAU,EAAE;MACV/B,QAAQ,EAAE,EAAE;MACZG,KAAK,EAAEE,YAAK,CAACC,MAAM,CAACC,KAAK,CAAC,GAAG,CAAC;MAC9BL,UAAU,EAAE;IACd,CAAC;IACD8B,eAAe,EAAE;MACf7B,KAAK,EAAEE,YAAK,CAACC,MAAM,CAACY,OAAO,CAAC,EAAE,CAAC;MAC/BhB,UAAU,EAAE;IACd;EACF,CAAC,CAAC;AAAA;;AAEJ;AACA;AACA;AAFA+B,OAAA,CAAA3C,MAAA,GAAAA,MAAA","ignoreList":[]}
|
|
@@ -121,7 +121,7 @@ const Header = ({
|
|
|
121
121
|
color: bluetoothIsConnected ? theme.colors.green[400] : theme.colors.red[900]
|
|
122
122
|
}), /*#__PURE__*/React.createElement(Icons, {
|
|
123
123
|
icon: isInternetReachable ? "WIFI_HIGH" : "WIFI_X",
|
|
124
|
-
color: isInternetReachable ? theme.colors.
|
|
124
|
+
color: isInternetReachable ? theme.colors.green[400] : theme.colors.red[800]
|
|
125
125
|
}))));
|
|
126
126
|
};
|
|
127
127
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Dimensions","TouchableOpacity","Box","Typography","Icons","theme","Header","title","color","testID","arrow","permission","bluetoothIsConnected","isInternetReachable","handleNavigation","backgroundColor","isBluetooth","_color$colorText","width","widthScreen","get","isMobile","createElement","height","colors","blue","flexStyle","flexDirection","justifyContent","alignItems","paddingStyle","paddingLeft","paddings","md","disabled","onPress","style","Fragment","icon","marginStyle","marginBottom","flex","text","size","fontFamily","fonts","inter_bold_700","colorText","neutral","fontWeight","align","lineHeight","fontSizes","lg","letterSpacing","marginLeft","margins","marginRight","borderStyled","borderRadius","marginTop","green","red"
|
|
1
|
+
{"version":3,"names":["React","Dimensions","TouchableOpacity","Box","Typography","Icons","theme","Header","title","color","testID","arrow","permission","bluetoothIsConnected","isInternetReachable","handleNavigation","backgroundColor","isBluetooth","_color$colorText","width","widthScreen","get","isMobile","createElement","height","colors","blue","flexStyle","flexDirection","justifyContent","alignItems","paddingStyle","paddingLeft","paddings","md","disabled","onPress","style","Fragment","icon","marginStyle","marginBottom","flex","text","size","fontFamily","fonts","inter_bold_700","colorText","neutral","fontWeight","align","lineHeight","fontSizes","lg","letterSpacing","marginLeft","margins","marginRight","borderStyled","borderRadius","marginTop","green","red"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { Dimensions, TouchableOpacity } from \"react-native\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\n\n// typings\nimport { IHeaderProps } from \"./interface\";\n\n// commons\nimport { Icons } from \"../../common/icons-svg\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\n/**\n * Componente Header para a interação do usuário com ui.\n */\nconst Header: React.FC<IHeaderProps> = ({\n title,\n color,\n testID,\n arrow,\n // propsNav,\n permission,\n bluetoothIsConnected,\n isInternetReachable,\n handleNavigation,\n backgroundColor,\n isBluetooth = false,\n}) => {\n const { width: widthScreen } = Dimensions.get(\"window\");\n const isMobile = widthScreen < 768;\n\n return (\n <Box\n testID={testID}\n width={\"100%\"}\n height={45}\n backgroundColor={backgroundColor ?? theme.colors.blue[400]}\n flexStyle={{ flexDirection: \"row\", justifyContent: \"space-between\", alignItems: \"center\" }}\n >\n <Box\n width={\"10%\"}\n height={45}\n flexStyle={{ flexDirection: \"column\", justifyContent: \"center\", alignItems: \"flex-start\" }}\n paddingStyle={{ paddingLeft: theme.paddings.md }}\n >\n {arrow && title !== \"Login\" && (\n <TouchableOpacity\n disabled={!arrow}\n onPress={handleNavigation}\n style={{\n width: 50,\n height: 45,\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n justifyContent: \"center\",\n }}\n >\n {title === \"Controle de Jornada\" || title === \"Controle de Carregamento\" ? (\n <>\n <Icons icon=\"LIST\" color=\"#fff\" />\n <Box marginStyle={{ marginBottom: 8 }} />\n </>\n ) : (\n arrow && <Icons icon=\"ARROW_LEFT\" />\n )}\n </TouchableOpacity>\n )}\n </Box>\n\n <Box\n height={45}\n flexStyle={{\n flexDirection: \"row\",\n justifyContent: \"center\",\n alignItems: \"center\",\n flex: 0.9,\n }}\n >\n <Typography\n text={title ? title : \"Login\"}\n size={15.4}\n fontFamily={theme.fonts.inter_bold_700}\n color={color?.colorText ?? theme.colors.neutral[25]}\n fontWeight=\"700\"\n align=\"center\"\n lineHeight={theme.fontSizes.lg}\n letterSpacing={\"regular\"}\n marginLeft={theme.margins[\"2xl\"]}\n />\n </Box>\n\n <Box\n marginStyle={{ marginRight: isMobile ? 10 : 60 }}\n borderStyled={{ borderRadius: 10 }}\n width={50}\n height={24}\n >\n {permission ? (\n <Box marginStyle={{ marginTop: 2 }} />\n ) : (\n <Box\n marginStyle={{ marginTop: 2 }}\n flexStyle={{ flexDirection: \"row\", justifyContent: \"flex-end\" }}\n >\n {isBluetooth && (\n <Icons\n icon={bluetoothIsConnected ? \"BLUETOOTH_CONNECTED\" : \"BLUETOOTH\"}\n color={bluetoothIsConnected ? theme.colors.green[400] : theme.colors.red[900]}\n />\n )}\n <Icons\n icon={isInternetReachable ? \"WIFI_HIGH\" : \"WIFI_X\"}\n color={isInternetReachable ? theme.colors.green[400] : theme.colors.red[800]}\n />\n </Box>\n )}\n </Box>\n </Box>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { Header };\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,gBAAgB,QAAQ,cAAc;;AAE3D;AACA,OAAOC,GAAG,MAAM,QAAQ;AACxB,SAASC,UAAU,QAAQ,eAAe;;AAE1C;;AAGA;AACA,SAASC,KAAK,QAAQ,wBAAwB;;AAE9C;AACA,SAASC,KAAK,QAAQ,0BAA0B;;AAEhD;AACA;AACA;AACA,MAAMC,MAA8B,GAAGA,CAAC;EACtCC,KAAK;EACLC,KAAK;EACLC,MAAM;EACNC,KAAK;EACL;EACAC,UAAU;EACVC,oBAAoB;EACpBC,mBAAmB;EACnBC,gBAAgB;EAChBC,eAAe;EACfC,WAAW,GAAG;AAChB,CAAC,KAAK;EAAA,IAAAC,gBAAA;EACJ,MAAM;IAAEC,KAAK,EAAEC;EAAY,CAAC,GAAGnB,UAAU,CAACoB,GAAG,CAAC,QAAQ,CAAC;EACvD,MAAMC,QAAQ,GAAGF,WAAW,GAAG,GAAG;EAElC,oBACEpB,KAAA,CAAAuB,aAAA,CAACpB,GAAG;IACFO,MAAM,EAAEA,MAAO;IACfS,KAAK,EAAE,MAAO;IACdK,MAAM,EAAE,EAAG;IACXR,eAAe,EAAEA,eAAe,aAAfA,eAAe,cAAfA,eAAe,GAAIV,KAAK,CAACmB,MAAM,CAACC,IAAI,CAAC,GAAG,CAAE;IAC3DC,SAAS,EAAE;MAAEC,aAA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EJ,KAAK,EAAEI,oBAAoB,GAAGP,KAAK,CAACmB,MAAM,CAACqC,KAAK,CAAC,GAAG,CAAC,GAAGxD,KAAK,CAACmB,MAAM,CAACsC,GAAG,CAAC,GAAG;EAAE,CAC/E,CACF,eACD/D,KAAA,CAAAuB,aAAA,CAAClB,KAAK;IACJkC,IAAI,EAAEzB,mBAAmB,GAAG,WAAW,GAAG,QAAS;IACnDL,KAAK,EAAEK,mBAAmB,GAAGR,KAAK,CAACmB,MAAM,CAACqC,KAAK,CAAC,GAAG,CAAC,GAAGxD,KAAK,CAACmB,MAAM,CAACsC,GAAG,CAAC,GAAG;EAAE,CAC9E,CACE,CAEJ,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AACA,SAASxD,MAAM","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
3
|
*/
|
|
4
4
|
import { StyleSheet } from "react-native";
|
|
5
5
|
|
|
@@ -47,12 +47,15 @@ const styles = props => {
|
|
|
47
47
|
width: "100%",
|
|
48
48
|
backgroundColor: theme.colors.neutral[25],
|
|
49
49
|
borderRadius: 10,
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
paddingVertical: 15,
|
|
51
|
+
paddingHorizontal: 20,
|
|
52
|
+
alignItems: "stretch"
|
|
52
53
|
},
|
|
53
54
|
option: {
|
|
54
55
|
width: "100%",
|
|
55
|
-
|
|
56
|
+
paddingVertical: 10,
|
|
57
|
+
paddingRight: 10,
|
|
58
|
+
paddingLeft: 0,
|
|
56
59
|
alignItems: "flex-start",
|
|
57
60
|
borderBottomWidth: 1,
|
|
58
61
|
borderBottomColor: theme.colors.gray[300]
|
|
@@ -69,8 +72,8 @@ const styles = props => {
|
|
|
69
72
|
});
|
|
70
73
|
};
|
|
71
74
|
|
|
72
|
-
/**
|
|
73
|
-
* EXPORTS
|
|
75
|
+
/**
|
|
76
|
+
* EXPORTS
|
|
74
77
|
*/
|
|
75
78
|
export { styles };
|
|
76
79
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","theme","styles","props","_props$sizeTitleLabel","_props$colortitleLabe","create","container","width","marginBottom","label","fontSize","sizeTitleLabel","fontWeight","color","colortitleLabel","colors","black","selectBox","flexDirection","alignItems","justifyContent","height","borderWidth","borderColor","gray","borderRadius","backgroundColor","neutral","paddingHorizontal","selectedText","modalOverlay","flex","padding","modalContainer","option","borderBottomWidth","borderBottomColor","optionText","closeButtonText"],"sources":["styles.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { StyleSheet } from \"react-native\";\n\n// typings\nimport { ISelectDropDownProps } from \"./interface\";\n\n// theme\nimport { theme } from \"../../../styles/theme/theme\";\n\nconst styles = (props: ISelectDropDownProps) =>\n StyleSheet.create({\n container: {\n width: \"100%\",\n marginBottom: 16,\n },\n label: {\n fontSize: props.sizeTitleLabel ?? 16,\n fontWeight: \"bold\",\n color: props.colortitleLabel ?? theme.colors.black[100],\n marginBottom: 5,\n },\n selectBox: {\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n width: \"100%\",\n height: 45,\n borderWidth: 1,\n borderColor: theme.colors.gray[700],\n borderRadius: 10,\n backgroundColor: theme.colors.neutral[25],\n paddingHorizontal: 10,\n },\n selectedText: {\n fontSize: 14,\n color: \"#666\",\n },\n modalOverlay: {\n flex: 1,\n backgroundColor: \"rgba(0,0,0,0.5)\",\n justifyContent: \"center\",\n alignItems: \"center\",\n padding: 24,\n },\n modalContainer: {\n width: \"100%\",\n backgroundColor: theme.colors.neutral[25],\n borderRadius: 10,\n
|
|
1
|
+
{"version":3,"names":["StyleSheet","theme","styles","props","_props$sizeTitleLabel","_props$colortitleLabe","create","container","width","marginBottom","label","fontSize","sizeTitleLabel","fontWeight","color","colortitleLabel","colors","black","selectBox","flexDirection","alignItems","justifyContent","height","borderWidth","borderColor","gray","borderRadius","backgroundColor","neutral","paddingHorizontal","selectedText","modalOverlay","flex","padding","modalContainer","paddingVertical","option","paddingRight","paddingLeft","borderBottomWidth","borderBottomColor","optionText","closeButtonText"],"sources":["styles.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport { StyleSheet } from \"react-native\";\r\n\r\n// typings\r\nimport { ISelectDropDownProps } from \"./interface\";\r\n\r\n// theme\r\nimport { theme } from \"../../../styles/theme/theme\";\r\n\r\nconst styles = (props: ISelectDropDownProps) =>\r\n StyleSheet.create({\r\n container: {\r\n width: \"100%\",\r\n marginBottom: 16,\r\n },\r\n label: {\r\n fontSize: props.sizeTitleLabel ?? 16,\r\n fontWeight: \"bold\",\r\n color: props.colortitleLabel ?? theme.colors.black[100],\r\n marginBottom: 5,\r\n },\r\n selectBox: {\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n width: \"100%\",\r\n height: 45,\r\n borderWidth: 1,\r\n borderColor: theme.colors.gray[700],\r\n borderRadius: 10,\r\n backgroundColor: theme.colors.neutral[25],\r\n paddingHorizontal: 10,\r\n },\r\n selectedText: {\r\n fontSize: 14,\r\n color: \"#666\",\r\n },\r\n modalOverlay: {\r\n flex: 1,\r\n backgroundColor: \"rgba(0,0,0,0.5)\",\r\n justifyContent: \"center\",\r\n alignItems: \"center\",\r\n padding: 24,\r\n },\r\n modalContainer: {\r\n width: \"100%\",\r\n backgroundColor: theme.colors.neutral[25],\r\n borderRadius: 10,\r\n paddingVertical: 15,\r\n paddingHorizontal: 20,\r\n alignItems: \"stretch\",\r\n },\r\n option: {\r\n width: \"100%\",\r\n paddingVertical: 10,\r\n paddingRight: 10,\r\n paddingLeft: 0,\r\n alignItems: \"flex-start\",\r\n borderBottomWidth: 1,\r\n borderBottomColor: theme.colors.gray[300],\r\n },\r\n optionText: {\r\n fontSize: 14,\r\n color: theme.colors.black[100],\r\n fontWeight: \"500\",\r\n },\r\n closeButtonText: {\r\n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AU,EAAE,QAAQ;MACpBa,OAAO,EAAE;IACX,CAAC;IACDC,cAAc,EAAE;MACd1B,KAAK,EAAE,MAAM;MACbmB,eAAe,EAAE1B,KAAK,CAACe,MAAM,CAACY,OAAO,CAAC,EAAE,CAAC;MACzCF,YAAY,EAAE,EAAE;MAChBS,eAAe,EAAE,EAAE;MACnBN,iBAAiB,EAAE,EAAE;MACrBT,UAAU,EAAE;IACd,CAAC;IACDgB,MAAM,EAAE;MACN5B,KAAK,EAAE,MAAM;MACb2B,eAAe,EAAE,EAAE;MACnBE,YAAY,EAAE,EAAE;MAChBC,WAAW,EAAE,CAAC;MACdlB,UAAU,EAAE,YAAY;MACxBmB,iBAAiB,EAAE,CAAC;MACpBC,iBAAiB,EAAEvC,KAAK,CAACe,MAAM,CAACS,IAAI,CAAC,GAAG;IAC1C,CAAC;IACDgB,UAAU,EAAE;MACV9B,QAAQ,EAAE,EAAE;MACZG,KAAK,EAAEb,KAAK,CAACe,MAAM,CAACC,KAAK,CAAC,GAAG,CAAC;MAC9BJ,UAAU,EAAE;IACd,CAAC;IACD6B,eAAe,EAAE;MACf5B,KAAK,EAAEb,KAAK,CAACe,MAAM,CAACY,OAAO,CAAC,EAAE,CAAC;MAC/Bf,UAAU,EAAE;IACd;EACF,CAAC,CAAC;AAAA;;AAEJ;AACA;AACA;AACA,SAASX,MAAM","ignoreList":[]}
|
|
@@ -37,12 +37,15 @@ declare const styles: (props: ISelectDropDownProps) => {
|
|
|
37
37
|
width: "100%";
|
|
38
38
|
backgroundColor: string;
|
|
39
39
|
borderRadius: number;
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
paddingVertical: number;
|
|
41
|
+
paddingHorizontal: number;
|
|
42
|
+
alignItems: "stretch";
|
|
42
43
|
};
|
|
43
44
|
option: {
|
|
44
45
|
width: "100%";
|
|
45
|
-
|
|
46
|
+
paddingVertical: number;
|
|
47
|
+
paddingRight: number;
|
|
48
|
+
paddingLeft: number;
|
|
46
49
|
alignItems: "flex-start";
|
|
47
50
|
borderBottomWidth: number;
|
|
48
51
|
borderBottomColor: string;
|
package/package.json
CHANGED
|
@@ -117,7 +117,7 @@ const Header: React.FC<IHeaderProps> = ({
|
|
|
117
117
|
)}
|
|
118
118
|
<Icons
|
|
119
119
|
icon={isInternetReachable ? "WIFI_HIGH" : "WIFI_X"}
|
|
120
|
-
color={isInternetReachable ? theme.colors.
|
|
120
|
+
color={isInternetReachable ? theme.colors.green[400] : theme.colors.red[800]}
|
|
121
121
|
/>
|
|
122
122
|
</Box>
|
|
123
123
|
)}
|
|
@@ -1,75 +1,78 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
3
|
-
*/
|
|
4
|
-
import { StyleSheet } from "react-native";
|
|
5
|
-
|
|
6
|
-
// typings
|
|
7
|
-
import { ISelectDropDownProps } from "./interface";
|
|
8
|
-
|
|
9
|
-
// theme
|
|
10
|
-
import { theme } from "../../../styles/theme/theme";
|
|
11
|
-
|
|
12
|
-
const styles = (props: ISelectDropDownProps) =>
|
|
13
|
-
StyleSheet.create({
|
|
14
|
-
container: {
|
|
15
|
-
width: "100%",
|
|
16
|
-
marginBottom: 16,
|
|
17
|
-
},
|
|
18
|
-
label: {
|
|
19
|
-
fontSize: props.sizeTitleLabel ?? 16,
|
|
20
|
-
fontWeight: "bold",
|
|
21
|
-
color: props.colortitleLabel ?? theme.colors.black[100],
|
|
22
|
-
marginBottom: 5,
|
|
23
|
-
},
|
|
24
|
-
selectBox: {
|
|
25
|
-
flexDirection: "row",
|
|
26
|
-
alignItems: "center",
|
|
27
|
-
justifyContent: "space-between",
|
|
28
|
-
width: "100%",
|
|
29
|
-
height: 45,
|
|
30
|
-
borderWidth: 1,
|
|
31
|
-
borderColor: theme.colors.gray[700],
|
|
32
|
-
borderRadius: 10,
|
|
33
|
-
backgroundColor: theme.colors.neutral[25],
|
|
34
|
-
paddingHorizontal: 10,
|
|
35
|
-
},
|
|
36
|
-
selectedText: {
|
|
37
|
-
fontSize: 14,
|
|
38
|
-
color: "#666",
|
|
39
|
-
},
|
|
40
|
-
modalOverlay: {
|
|
41
|
-
flex: 1,
|
|
42
|
-
backgroundColor: "rgba(0,0,0,0.5)",
|
|
43
|
-
justifyContent: "center",
|
|
44
|
-
alignItems: "center",
|
|
45
|
-
padding: 24,
|
|
46
|
-
},
|
|
47
|
-
modalContainer: {
|
|
48
|
-
width: "100%",
|
|
49
|
-
backgroundColor: theme.colors.neutral[25],
|
|
50
|
-
borderRadius: 10,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import { StyleSheet } from "react-native";
|
|
5
|
+
|
|
6
|
+
// typings
|
|
7
|
+
import { ISelectDropDownProps } from "./interface";
|
|
8
|
+
|
|
9
|
+
// theme
|
|
10
|
+
import { theme } from "../../../styles/theme/theme";
|
|
11
|
+
|
|
12
|
+
const styles = (props: ISelectDropDownProps) =>
|
|
13
|
+
StyleSheet.create({
|
|
14
|
+
container: {
|
|
15
|
+
width: "100%",
|
|
16
|
+
marginBottom: 16,
|
|
17
|
+
},
|
|
18
|
+
label: {
|
|
19
|
+
fontSize: props.sizeTitleLabel ?? 16,
|
|
20
|
+
fontWeight: "bold",
|
|
21
|
+
color: props.colortitleLabel ?? theme.colors.black[100],
|
|
22
|
+
marginBottom: 5,
|
|
23
|
+
},
|
|
24
|
+
selectBox: {
|
|
25
|
+
flexDirection: "row",
|
|
26
|
+
alignItems: "center",
|
|
27
|
+
justifyContent: "space-between",
|
|
28
|
+
width: "100%",
|
|
29
|
+
height: 45,
|
|
30
|
+
borderWidth: 1,
|
|
31
|
+
borderColor: theme.colors.gray[700],
|
|
32
|
+
borderRadius: 10,
|
|
33
|
+
backgroundColor: theme.colors.neutral[25],
|
|
34
|
+
paddingHorizontal: 10,
|
|
35
|
+
},
|
|
36
|
+
selectedText: {
|
|
37
|
+
fontSize: 14,
|
|
38
|
+
color: "#666",
|
|
39
|
+
},
|
|
40
|
+
modalOverlay: {
|
|
41
|
+
flex: 1,
|
|
42
|
+
backgroundColor: "rgba(0,0,0,0.5)",
|
|
43
|
+
justifyContent: "center",
|
|
44
|
+
alignItems: "center",
|
|
45
|
+
padding: 24,
|
|
46
|
+
},
|
|
47
|
+
modalContainer: {
|
|
48
|
+
width: "100%",
|
|
49
|
+
backgroundColor: theme.colors.neutral[25],
|
|
50
|
+
borderRadius: 10,
|
|
51
|
+
paddingVertical: 15,
|
|
52
|
+
paddingHorizontal: 20,
|
|
53
|
+
alignItems: "stretch",
|
|
54
|
+
},
|
|
55
|
+
option: {
|
|
56
|
+
width: "100%",
|
|
57
|
+
paddingVertical: 10,
|
|
58
|
+
paddingRight: 10,
|
|
59
|
+
paddingLeft: 0,
|
|
60
|
+
alignItems: "flex-start",
|
|
61
|
+
borderBottomWidth: 1,
|
|
62
|
+
borderBottomColor: theme.colors.gray[300],
|
|
63
|
+
},
|
|
64
|
+
optionText: {
|
|
65
|
+
fontSize: 14,
|
|
66
|
+
color: theme.colors.black[100],
|
|
67
|
+
fontWeight: "500",
|
|
68
|
+
},
|
|
69
|
+
closeButtonText: {
|
|
70
|
+
color: theme.colors.neutral[25],
|
|
71
|
+
fontWeight: "bold",
|
|
72
|
+
},
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* EXPORTS
|
|
77
|
+
*/
|
|
78
|
+
export { styles };
|