react-native-exp-fig 0.1.1 → 0.1.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.
Files changed (96) hide show
  1. package/package.json +4 -4
  2. package/src/common/constants/index.ts +5 -0
  3. package/src/common/icons-svg/arrow-drop-down/index.tsx +28 -28
  4. package/src/common/icons-svg/arrow-left/index.tsx +32 -32
  5. package/src/common/icons-svg/bluetooth/index.tsx +37 -37
  6. package/src/common/icons-svg/bluetooth-connected/index.tsx +41 -41
  7. package/src/common/icons-svg/calendar/index.tsx +40 -40
  8. package/src/common/icons-svg/call-bell/index.tsx +29 -29
  9. package/src/common/icons-svg/camera-plus/index.tsx +40 -40
  10. package/src/common/icons-svg/chart-bar/index.tsx +29 -0
  11. package/src/common/icons-svg/check-box-fill/index.tsx +30 -30
  12. package/src/common/icons-svg/check-box-outline/index.tsx +30 -30
  13. package/src/common/icons-svg/check-circle/index.tsx +27 -27
  14. package/src/common/icons-svg/closed/index.tsx +34 -34
  15. package/src/common/icons-svg/constants/index.ts +46 -43
  16. package/src/common/icons-svg/credit-card/index.tsx +32 -32
  17. package/src/common/icons-svg/currency/index.tsx +39 -39
  18. package/src/common/icons-svg/currency-circle-dollar/index.tsx +29 -0
  19. package/src/common/icons-svg/eye/index.tsx +31 -31
  20. package/src/common/icons-svg/eye-slash/index.tsx +31 -31
  21. package/src/common/icons-svg/file-text/index.tsx +39 -39
  22. package/src/common/icons-svg/gas-pump/index.tsx +39 -39
  23. package/src/common/icons-svg/gauge/index.tsx +39 -39
  24. package/src/common/icons-svg/gear/index.tsx +39 -39
  25. package/src/common/icons-svg/index.tsx +167 -149
  26. package/src/common/icons-svg/interface.d.ts +18 -18
  27. package/src/common/icons-svg/list/index.tsx +58 -58
  28. package/src/common/icons-svg/moon-stars/index.tsx +29 -29
  29. package/src/common/icons-svg/note-pincel/index.tsx +40 -40
  30. package/src/common/icons-svg/package/index.tsx +29 -0
  31. package/src/common/icons-svg/package-check/index.tsx +45 -45
  32. package/src/common/icons-svg/shopping-cart/index.tsx +39 -39
  33. package/src/common/icons-svg/steering-wheel/index.tsx +49 -49
  34. package/src/common/icons-svg/steering-wheel-fill/index.tsx +36 -36
  35. package/src/common/icons-svg/timer/index.tsx +39 -39
  36. package/src/common/icons-svg/trophy/index.tsx +29 -29
  37. package/src/common/icons-svg/truck/index.tsx +39 -39
  38. package/src/common/icons-svg/truck-trailer/index.tsx +36 -0
  39. package/src/common/icons-svg/wifi-high/index.tsx +43 -43
  40. package/src/common/icons-svg/wifi-x/index.tsx +50 -50
  41. package/src/components/box/index.tsx +47 -47
  42. package/src/components/box/interface.d.ts +31 -31
  43. package/src/components/box/styles.ts +21 -21
  44. package/src/components/button/index.tsx +61 -61
  45. package/src/components/button/interface.d.ts +40 -40
  46. package/src/components/button/styles.ts +34 -34
  47. package/src/components/capture-photo/index.tsx +125 -125
  48. package/src/components/capture-photo/interface.d.ts +44 -44
  49. package/src/components/capture-photo/styles.ts +24 -24
  50. package/src/components/card-hours/index.tsx +118 -118
  51. package/src/components/card-hours/interface.d.ts +37 -37
  52. package/src/components/card-scheduled-journey/index.tsx +138 -138
  53. package/src/components/card-scheduled-journey/interface.ts +42 -42
  54. package/src/components/card-scheduled-journey/styles.ts +26 -26
  55. package/src/components/header-profile/index.tsx +128 -128
  56. package/src/components/header-profile/interface.d.ts +52 -52
  57. package/src/components/input/index.tsx +176 -180
  58. package/src/components/input/interface.d.ts +55 -55
  59. package/src/components/input/styles.ts +23 -23
  60. package/src/components/menu-item/index.tsx +78 -0
  61. package/src/components/menu-item/interface.d.ts +19 -0
  62. package/src/components/menu-item/styles.ts +0 -0
  63. package/src/components/scheduled-journey-indicators/index.tsx +99 -99
  64. package/src/components/scheduled-journey-indicators/interface.d.ts +18 -18
  65. package/src/components/selects/select-option/index.tsx +104 -104
  66. package/src/components/selects/select-option/interface.d.ts +18 -18
  67. package/src/components/selects/select-option/styles.ts +75 -75
  68. package/src/components/step-indicator/helpers/get-icon-by-status.tsx +20 -20
  69. package/src/components/step-indicator/index.tsx +164 -164
  70. package/src/components/step-indicator/interface.d.ts +34 -34
  71. package/src/components/step-indicator/styles.ts +67 -67
  72. package/src/components/typography/index.tsx +67 -67
  73. package/src/components/typography/interface.d.ts +102 -102
  74. package/src/components/typography/styles.ts +34 -34
  75. package/src/components/user-profile/index.tsx +216 -0
  76. package/src/components/user-profile/interface.d.ts +22 -0
  77. package/src/{index.ts → index.tsx} +2 -0
  78. package/src/stories/box/box.stories.tsx +106 -106
  79. package/src/stories/button/button.stories.tsx +143 -143
  80. package/src/stories/capture-photo/capture-photo.stories.tsx +170 -170
  81. package/src/stories/card-hours/card-hours.stories.tsx +102 -102
  82. package/src/stories/card-scheduled-journey/card-scheduled-journey.stories.tsx +101 -101
  83. package/src/stories/header-profile/header-profile.stories.tsx +84 -84
  84. package/src/stories/input/input.stories.tsx +286 -286
  85. package/src/stories/menu-item/menu-item.stories.tsx +76 -0
  86. package/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.tsx +74 -74
  87. package/src/stories/select-option/select-option.stories.tsx +46 -46
  88. package/src/stories/step-indicator/step-indicator.stories.tsx +116 -116
  89. package/src/stories/typography/typography.stories.tsx +146 -146
  90. package/src/stories/user-profile/user-profile.stories.tsx +56 -0
  91. package/src/styles/global/interface.d.ts +131 -131
  92. package/src/styles/global/styles.ts +63 -63
  93. package/src/styles/global/theme-provider.tsx +10 -10
  94. package/src/styles/theme/theme.ts +158 -156
  95. package/src/utils/format-data/index.ts +14 -14
  96. package/src/utils/mutiply/index.ts +3 -3
@@ -1,39 +1,39 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import * as React from "react";
5
- import Svg, { Path, Defs, G, ClipPath } from "react-native-svg";
6
-
7
- //typings
8
- import { ISvgProps } from "../interface";
9
-
10
- const SvgIconTimer: React.FC<ISvgProps> = ({ color, size }) => (
11
- <Svg
12
- //@ts-ignore
13
- xmlns="http://www.w3.org/2000/svg"
14
- width={size ?? 24}
15
- height={size ?? 24}
16
- fill="none"
17
- viewBox="0 0 24 24"
18
- >
19
- <G
20
- stroke={color ?? "#050022"}
21
- strokeLinecap="round"
22
- strokeLinejoin="round"
23
- strokeWidth="2"
24
- clipPath="url(#clip0_52_223)"
25
- >
26
- <Path d="M12 21a8.25 8.25 0 100-16.5A8.25 8.25 0 0012 21zM12 12.75L15.75 9M9.75 1.5h4.5"></Path>
27
- </G>
28
- <Defs>
29
- <ClipPath id="clip0_52_223">
30
- <Path fill="#fff" d="M0 0H24V24H0z"></Path>
31
- </ClipPath>
32
- </Defs>
33
- </Svg>
34
- );
35
-
36
- /**
37
- * EXPORTS
38
- */
39
- export { SvgIconTimer };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import * as React from "react";
5
+ import Svg, { Path, Defs, G, ClipPath } from "react-native-svg";
6
+
7
+ //typings
8
+ import { ISvgProps } from "../interface";
9
+
10
+ const SvgIconTimer: React.FC<ISvgProps> = ({ color, size }) => (
11
+ <Svg
12
+ //@ts-ignore
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ width={size ?? 24}
15
+ height={size ?? 24}
16
+ fill="none"
17
+ viewBox="0 0 24 24"
18
+ >
19
+ <G
20
+ stroke={color ?? "#050022"}
21
+ strokeLinecap="round"
22
+ strokeLinejoin="round"
23
+ strokeWidth="2"
24
+ clipPath="url(#clip0_52_223)"
25
+ >
26
+ <Path d="M12 21a8.25 8.25 0 100-16.5A8.25 8.25 0 0012 21zM12 12.75L15.75 9M9.75 1.5h4.5"></Path>
27
+ </G>
28
+ <Defs>
29
+ <ClipPath id="clip0_52_223">
30
+ <Path fill="#fff" d="M0 0H24V24H0z"></Path>
31
+ </ClipPath>
32
+ </Defs>
33
+ </Svg>
34
+ );
35
+
36
+ /**
37
+ * EXPORTS
38
+ */
39
+ export { SvgIconTimer };
@@ -1,29 +1,29 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import * as React from "react";
5
- import Svg, { Path } from "react-native-svg";
6
-
7
- //typings
8
- import { ISvgProps } from "../interface";
9
-
10
- const SvgIconTrophy: React.FC<ISvgProps> = ({ color, size }) => (
11
- <Svg
12
- //@ts-ignore
13
- xmlns="http://www.w3.org/2000/svg"
14
- width={size ?? 24}
15
- height={size ?? 24}
16
- fill="none"
17
- viewBox="0 0 24 24"
18
- >
19
- <Path
20
- fill={color ?? "#050022"}
21
- d="M22 8.25h-2.25v-1.5A.75.75 0 0 0 19 6H5.5a.75.75 0 0 0-.75.75v1.5H2.5A1.5 1.5 0 0 0 1 9.75v1.5A3.75 3.75 0 0 0 4.75 15h.342a7.51 7.51 0 0 0 6.408 5.213V22.5H9.25a.75.75 0 1 0 0 1.5h6a.75.75 0 1 0 0-1.5H13v-2.29c2.994-.302 5.479-2.403 6.383-5.21h.367a3.75 3.75 0 0 0 3.75-3.75v-1.5a1.5 1.5 0 0 0-1.5-1.5M4.75 13.5a2.25 2.25 0 0 1-2.25-2.25v-1.5h2.25v3q0 .375.037.75zm13.5-.834c0 3.33-2.719 6.06-6 6.084a6 6 0 0 1-6-6V7.5h12zM22 11.25a2.25 2.25 0 0 1-2.25 2.25h-.047q.046-.416.047-.834V9.75H22z"
22
- ></Path>
23
- </Svg>
24
- );
25
-
26
- /**
27
- * EXPORTS
28
- */
29
- export { SvgIconTrophy };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import * as React from "react";
5
+ import Svg, { Path } from "react-native-svg";
6
+
7
+ //typings
8
+ import { ISvgProps } from "../interface";
9
+
10
+ const SvgIconTrophy: React.FC<ISvgProps> = ({ color, size }) => (
11
+ <Svg
12
+ //@ts-ignore
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ width={size ?? 24}
15
+ height={size ?? 24}
16
+ fill="none"
17
+ viewBox="0 0 24 24"
18
+ >
19
+ <Path
20
+ fill={color ?? "#050022"}
21
+ d="M22 8.25h-2.25v-1.5A.75.75 0 0 0 19 6H5.5a.75.75 0 0 0-.75.75v1.5H2.5A1.5 1.5 0 0 0 1 9.75v1.5A3.75 3.75 0 0 0 4.75 15h.342a7.51 7.51 0 0 0 6.408 5.213V22.5H9.25a.75.75 0 1 0 0 1.5h6a.75.75 0 1 0 0-1.5H13v-2.29c2.994-.302 5.479-2.403 6.383-5.21h.367a3.75 3.75 0 0 0 3.75-3.75v-1.5a1.5 1.5 0 0 0-1.5-1.5M4.75 13.5a2.25 2.25 0 0 1-2.25-2.25v-1.5h2.25v3q0 .375.037.75zm13.5-.834c0 3.33-2.719 6.06-6 6.084a6 6 0 0 1-6-6V7.5h12zM22 11.25a2.25 2.25 0 0 1-2.25 2.25h-.047q.046-.416.047-.834V9.75H22z"
22
+ ></Path>
23
+ </Svg>
24
+ );
25
+
26
+ /**
27
+ * EXPORTS
28
+ */
29
+ export { SvgIconTrophy };
@@ -1,39 +1,39 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import React from "react";
5
- import Svg, { Path } from "react-native-svg";
6
- /**
7
- * typings
8
- */
9
- import { ISvgProps } from "../interface";
10
-
11
- const IconTruck: React.FC<ISvgProps> = ({ color, size, ...res }) => (
12
- <Svg
13
- //@ts-ignore
14
- xmlns="http://www.w3.org/2000/svg"
15
- width={size ?? 24}
16
- height={size ?? 24}
17
- fill="none"
18
- viewBox="0 0 24 24"
19
- {...res}
20
- >
21
- <Path
22
- stroke={color ?? "#fff"}
23
- strokeLinecap="round"
24
- strokeLinejoin="round"
25
- d="M10 17h4V5H2v12h3M20 17h2v-3.34a4 4 0 00-1.17-2.83L19 9h-5M14 17h1"
26
- ></Path>
27
- <Path
28
- stroke={color ?? "#fff"}
29
- strokeLinecap="round"
30
- strokeLinejoin="round"
31
- d="M7.5 20a2.5 2.5 0 100-5 2.5 2.5 0 000 5zM17.5 20a2.5 2.5 0 100-5 2.5 2.5 0 000 5z"
32
- ></Path>
33
- </Svg>
34
- );
35
-
36
- /**
37
- * EXPORTS
38
- */
39
- export { IconTruck };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import React from "react";
5
+ import Svg, { Path } from "react-native-svg";
6
+ /**
7
+ * typings
8
+ */
9
+ import { ISvgProps } from "../interface";
10
+
11
+ const IconTruck: React.FC<ISvgProps> = ({ color, size, ...res }) => (
12
+ <Svg
13
+ //@ts-ignore
14
+ xmlns="http://www.w3.org/2000/svg"
15
+ width={size ?? 24}
16
+ height={size ?? 24}
17
+ fill="none"
18
+ viewBox="0 0 24 24"
19
+ {...res}
20
+ >
21
+ <Path
22
+ stroke={color ?? "#fff"}
23
+ strokeLinecap="round"
24
+ strokeLinejoin="round"
25
+ d="M10 17h4V5H2v12h3M20 17h2v-3.34a4 4 0 00-1.17-2.83L19 9h-5M14 17h1"
26
+ ></Path>
27
+ <Path
28
+ stroke={color ?? "#fff"}
29
+ strokeLinecap="round"
30
+ strokeLinejoin="round"
31
+ d="M7.5 20a2.5 2.5 0 100-5 2.5 2.5 0 000 5zM17.5 20a2.5 2.5 0 100-5 2.5 2.5 0 000 5z"
32
+ ></Path>
33
+ </Svg>
34
+ );
35
+
36
+ /**
37
+ * EXPORTS
38
+ */
39
+ export { IconTruck };
@@ -0,0 +1,36 @@
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import * as React from "react";
5
+ import Svg, { G, Path, Defs, ClipPath } from "react-native-svg";
6
+
7
+ //typings
8
+ import { ISvgProps } from "../interface";
9
+
10
+ const SvgTruckTrailer: React.FC<ISvgProps> = ({ color, size }) => (
11
+ <Svg
12
+ //@ts-ignore
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ width={size ?? "32"}
15
+ height={size ?? "32"}
16
+ fill="none"
17
+ viewBox={`0 0 ${size ?? "32"} ${size ?? "32"}`}
18
+ >
19
+ <G clipPath="url(#clip0_472_2058)">
20
+ <Path
21
+ fill={color ?? "#fff"}
22
+ d="M28 12.1V12a7.01 7.01 0 0 0-7-7h-1a2 2 0 0 0-2 2v15h-2V9a1 1 0 0 0-1-1H2a2 2 0 0 0-2 2v13a4 4 0 0 0 7 2.641A4 4 0 0 0 13.875 24h10.25A4 4 0 0 0 32 23v-6a5.01 5.01 0 0 0-4-4.9M4 25a2 2 0 1 1 0-4 2 2 0 0 1 0 4m6 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4m18 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4"
23
+ ></Path>
24
+ </G>
25
+ <Defs>
26
+ <ClipPath id="clip0_472_2058">
27
+ <Path fill={color ?? "#fff"} d="M0 0h32v32H0z"></Path>
28
+ </ClipPath>
29
+ </Defs>
30
+ </Svg>
31
+ );
32
+
33
+ /**
34
+ * EXPORTS
35
+ */
36
+ export { SvgTruckTrailer };
@@ -1,43 +1,43 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import * as React from "react";
5
- import Svg, { Path, Defs, G, ClipPath } from "react-native-svg";
6
-
7
- //typings
8
- import { ISvgProps } from "../interface";
9
-
10
- const SvgIconWiFiHigh: React.FC<ISvgProps> = ({ color, size }) => (
11
- <Svg
12
- //@ts-ignore
13
- xmlns="http://www.w3.org/2000/svg"
14
- width={size ?? "25"}
15
- height={size ?? "25"}
16
- fill="none"
17
- viewBox="0 0 25 25"
18
- >
19
- <G clipPath="url(#clip0_912_107)">
20
- <Path
21
- fill={color ?? "#0DEC08"}
22
- d="M12.56 20.767a1.125 1.125 0 100-2.25 1.125 1.125 0 000 2.25z"
23
- ></Path>
24
- <Path
25
- stroke={color ?? "#0DEC08"}
26
- strokeLinecap="round"
27
- strokeLinejoin="round"
28
- strokeWidth="2"
29
- d="M22.31 9.253a15.375 15.375 0 00-19.5 0M19.31 12.61a10.875 10.875 0 00-13.5 0M16.31 15.985a6.375 6.375 0 00-7.5 0"
30
- ></Path>
31
- </G>
32
- <Defs>
33
- <ClipPath id="clip0_912_107">
34
- <Path fill="#fff" d="M0 0H24V24H0z" transform="translate(.56 .517)"></Path>
35
- </ClipPath>
36
- </Defs>
37
- </Svg>
38
- );
39
-
40
- /**
41
- * EXPORTS
42
- */
43
- export { SvgIconWiFiHigh };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import * as React from "react";
5
+ import Svg, { Path, Defs, G, ClipPath } from "react-native-svg";
6
+
7
+ //typings
8
+ import { ISvgProps } from "../interface";
9
+
10
+ const SvgIconWiFiHigh: React.FC<ISvgProps> = ({ color, size }) => (
11
+ <Svg
12
+ //@ts-ignore
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ width={size ?? "25"}
15
+ height={size ?? "25"}
16
+ fill="none"
17
+ viewBox="0 0 25 25"
18
+ >
19
+ <G clipPath="url(#clip0_912_107)">
20
+ <Path
21
+ fill={color ?? "#0DEC08"}
22
+ d="M12.56 20.767a1.125 1.125 0 100-2.25 1.125 1.125 0 000 2.25z"
23
+ ></Path>
24
+ <Path
25
+ stroke={color ?? "#0DEC08"}
26
+ strokeLinecap="round"
27
+ strokeLinejoin="round"
28
+ strokeWidth="2"
29
+ d="M22.31 9.253a15.375 15.375 0 00-19.5 0M19.31 12.61a10.875 10.875 0 00-13.5 0M16.31 15.985a6.375 6.375 0 00-7.5 0"
30
+ ></Path>
31
+ </G>
32
+ <Defs>
33
+ <ClipPath id="clip0_912_107">
34
+ <Path fill="#fff" d="M0 0H24V24H0z" transform="translate(.56 .517)"></Path>
35
+ </ClipPath>
36
+ </Defs>
37
+ </Svg>
38
+ );
39
+
40
+ /**
41
+ * EXPORTS
42
+ */
43
+ export { SvgIconWiFiHigh };
@@ -1,50 +1,50 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import * as React from "react";
5
- import Svg, { Path, Defs, G, ClipPath } from "react-native-svg";
6
-
7
- //typings
8
- import { ISvgProps } from "../interface";
9
-
10
- const SvgIconWiFiX: React.FC<ISvgProps> = ({ color, size }) => (
11
- <Svg
12
- //@ts-ignore
13
- xmlns="http://www.w3.org/2000/svg"
14
- width={size ?? "25"}
15
- height={size ?? "25"}
16
- fill="none"
17
- viewBox="0 0 25 25"
18
- >
19
- <G clipPath="url(#clip0_912_99)">
20
- <Path
21
- stroke={color ?? "#E72626"}
22
- strokeLinecap="round"
23
- strokeLinejoin="round"
24
- strokeWidth="2"
25
- d="M21.56 5.767l-4.5 4.5M21.56 10.267l-4.5-4.5"
26
- ></Path>
27
- <Path
28
- fill={color ?? "#E72626"}
29
- d="M12.56 20.767a1.125 1.125 0 100-2.25 1.125 1.125 0 000 2.25z"
30
- ></Path>
31
- <Path
32
- stroke={color ?? "#E72626"}
33
- strokeLinecap="round"
34
- strokeLinejoin="round"
35
- strokeWidth="2"
36
- d="M16.31 15.985a6.375 6.375 0 00-7.5 0M14.06 5.839a15.433 15.433 0 00-1.5-.072 15.31 15.31 0 00-9.75 3.486M14.06 10.369a11.004 11.004 0 00-1.5-.102c-2.45-.005-4.83.82-6.75 2.343"
37
- ></Path>
38
- </G>
39
- <Defs>
40
- <ClipPath id="clip0_912_99">
41
- <Path fill="#fff" d="M0 0H24V24H0z" transform="translate(.56 .517)"></Path>
42
- </ClipPath>
43
- </Defs>
44
- </Svg>
45
- );
46
-
47
- /**
48
- * EXPORTS
49
- */
50
- export { SvgIconWiFiX };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import * as React from "react";
5
+ import Svg, { Path, Defs, G, ClipPath } from "react-native-svg";
6
+
7
+ //typings
8
+ import { ISvgProps } from "../interface";
9
+
10
+ const SvgIconWiFiX: React.FC<ISvgProps> = ({ color, size }) => (
11
+ <Svg
12
+ //@ts-ignore
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ width={size ?? "25"}
15
+ height={size ?? "25"}
16
+ fill="none"
17
+ viewBox="0 0 25 25"
18
+ >
19
+ <G clipPath="url(#clip0_912_99)">
20
+ <Path
21
+ stroke={color ?? "#E72626"}
22
+ strokeLinecap="round"
23
+ strokeLinejoin="round"
24
+ strokeWidth="2"
25
+ d="M21.56 5.767l-4.5 4.5M21.56 10.267l-4.5-4.5"
26
+ ></Path>
27
+ <Path
28
+ fill={color ?? "#E72626"}
29
+ d="M12.56 20.767a1.125 1.125 0 100-2.25 1.125 1.125 0 000 2.25z"
30
+ ></Path>
31
+ <Path
32
+ stroke={color ?? "#E72626"}
33
+ strokeLinecap="round"
34
+ strokeLinejoin="round"
35
+ strokeWidth="2"
36
+ d="M16.31 15.985a6.375 6.375 0 00-7.5 0M14.06 5.839a15.433 15.433 0 00-1.5-.072 15.31 15.31 0 00-9.75 3.486M14.06 10.369a11.004 11.004 0 00-1.5-.102c-2.45-.005-4.83.82-6.75 2.343"
37
+ ></Path>
38
+ </G>
39
+ <Defs>
40
+ <ClipPath id="clip0_912_99">
41
+ <Path fill="#fff" d="M0 0H24V24H0z" transform="translate(.56 .517)"></Path>
42
+ </ClipPath>
43
+ </Defs>
44
+ </Svg>
45
+ );
46
+
47
+ /**
48
+ * EXPORTS
49
+ */
50
+ export { SvgIconWiFiX };
@@ -1,47 +1,47 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import React from "react";
5
- import { View } from "react-native";
6
-
7
- // typings
8
- import { IBoxProps } from "./interface";
9
-
10
- // styles
11
- import { styles } from "./styles";
12
-
13
- /**
14
- * Componente Box para envolver outros componentes de forma flexível.
15
- */
16
- export const Box: React.FC<IBoxProps> = ({
17
- children,
18
- width,
19
- height,
20
- backgroundColor,
21
- borderStyled,
22
- flexStyle,
23
- paddingStyle,
24
- marginStyle,
25
- opacity = 1,
26
- testID = "box",
27
- style,
28
- }) => {
29
- // Criando o objeto de estilos dinamicamente
30
- const styleProps: Partial<IBoxProps> = {
31
- width,
32
- height,
33
- backgroundColor,
34
- borderStyled,
35
- flexStyle,
36
- paddingStyle,
37
- marginStyle,
38
- opacity,
39
- style,
40
- };
41
-
42
- return (
43
- <View testID={testID} style={[styles(styleProps).boxStyle, style]}>
44
- {children}
45
- </View>
46
- );
47
- };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import React from "react";
5
+ import { View } from "react-native";
6
+
7
+ // typings
8
+ import { IBoxProps } from "./interface";
9
+
10
+ // styles
11
+ import { styles } from "./styles";
12
+
13
+ /**
14
+ * Componente Box para envolver outros componentes de forma flexível.
15
+ */
16
+ export const Box: React.FC<IBoxProps> = ({
17
+ children,
18
+ width,
19
+ height,
20
+ backgroundColor,
21
+ borderStyled,
22
+ flexStyle,
23
+ paddingStyle,
24
+ marginStyle,
25
+ opacity = 1,
26
+ testID = "box",
27
+ style,
28
+ }) => {
29
+ // Criando o objeto de estilos dinamicamente
30
+ const styleProps: Partial<IBoxProps> = {
31
+ width,
32
+ height,
33
+ backgroundColor,
34
+ borderStyled,
35
+ flexStyle,
36
+ paddingStyle,
37
+ marginStyle,
38
+ opacity,
39
+ style,
40
+ };
41
+
42
+ return (
43
+ <View testID={testID} style={[styles(styleProps).boxStyle, style]}>
44
+ {children}
45
+ </View>
46
+ );
47
+ };
@@ -1,31 +1,31 @@
1
- /**
2
- * IMPORTS
3
- */
4
-
5
- import { type ViewProps } from "react-native";
6
- /**
7
- * INTERFACE
8
- */
9
- import { IGlobalCss } from "../../styles/global/interface";
10
-
11
- interface IBoxProps extends ViewProps, IGlobalCss {
12
- /**
13
- * A propriedade CSS de Shadow Box adiciona efeitos de sombra em torno da estrutura de um elemento. Você pode definir vários efeitos separados por vírgulas. Uma sombra de caixa é descrita por compensações x e y em relação ao elemento, borrão e raio espalhado e cor.
14
- */
15
- boxShadow?: string;
16
-
17
- /**
18
- * O fundo abreviado CSS Propriedade define todas as propriedades do estilo de fundo de uma só vez, como cor, imagem, origem e tamanho ou método de repetição. As propriedades dos componentes não definidas no fundo da declaração de valor da propriedade abreviada são definidas como seus valores padrão..
19
- */
20
- backgroundColor?: string;
21
-
22
- /**
23
- * A propriedade CSS opacity define a transparência de um elemento, ou seja, o grau em que o fundo atrás do elemento é sobreposto. A propriedade aceita um valor entre 0,0 (totalmente transparente) e 1,0 (totalmente opaco).
24
- */
25
- opacity?: number;
26
- }
27
-
28
- /**
29
- * EXPORT
30
- */
31
- export type { IBoxProps };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+
5
+ import { type ViewProps } from "react-native";
6
+ /**
7
+ * INTERFACE
8
+ */
9
+ import { IGlobalCss } from "../../styles/global/interface";
10
+
11
+ interface IBoxProps extends ViewProps, IGlobalCss {
12
+ /**
13
+ * A propriedade CSS de Shadow Box adiciona efeitos de sombra em torno da estrutura de um elemento. Você pode definir vários efeitos separados por vírgulas. Uma sombra de caixa é descrita por compensações x e y em relação ao elemento, borrão e raio espalhado e cor.
14
+ */
15
+ boxShadow?: string;
16
+
17
+ /**
18
+ * O fundo abreviado CSS Propriedade define todas as propriedades do estilo de fundo de uma só vez, como cor, imagem, origem e tamanho ou método de repetição. As propriedades dos componentes não definidas no fundo da declaração de valor da propriedade abreviada são definidas como seus valores padrão..
19
+ */
20
+ backgroundColor?: string;
21
+
22
+ /**
23
+ * A propriedade CSS opacity define a transparência de um elemento, ou seja, o grau em que o fundo atrás do elemento é sobreposto. A propriedade aceita um valor entre 0,0 (totalmente transparente) e 1,0 (totalmente opaco).
24
+ */
25
+ opacity?: number;
26
+ }
27
+
28
+ /**
29
+ * EXPORT
30
+ */
31
+ export type { IBoxProps };
@@ -1,21 +1,21 @@
1
- import { StyleSheet, ViewProps } from "react-native";
2
- import { IBoxProps } from "./interface.d";
3
-
4
- // typing
5
- import { IGlobalCss } from "../../styles/global/interface";
6
-
7
- import { stylesGlobal } from "../../styles/global/styles";
8
-
9
- interface BoxProps extends IBoxProps, IGlobalCss {}
10
- const styles = (props: BoxProps) =>
11
- StyleSheet.create({
12
- boxStyle: {
13
- ...stylesGlobal(props),
14
- ...props,
15
- } as ViewProps,
16
- });
17
-
18
- /**
19
- * EXPORTS
20
- */
21
- export { styles };
1
+ import { StyleSheet, ViewProps } from "react-native";
2
+ import { IBoxProps } from "./interface.d";
3
+
4
+ // typing
5
+ import { IGlobalCss } from "../../styles/global/interface";
6
+
7
+ import { stylesGlobal } from "../../styles/global/styles";
8
+
9
+ interface BoxProps extends IBoxProps, IGlobalCss {}
10
+ const styles = (props: BoxProps) =>
11
+ StyleSheet.create({
12
+ boxStyle: {
13
+ ...stylesGlobal(props),
14
+ ...props,
15
+ } as ViewProps,
16
+ });
17
+
18
+ /**
19
+ * EXPORTS
20
+ */
21
+ export { styles };