react-native-exp-fig 0.1.8 → 0.1.9

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 (67) hide show
  1. package/lib/commonjs/common/icons-svg/check-box/index.js +6 -6
  2. package/lib/commonjs/common/icons-svg/constants/index.js +4 -4
  3. package/lib/commonjs/common/icons-svg/index.js +10 -7
  4. package/lib/commonjs/common/icons-svg/index.js.map +1 -1
  5. package/lib/commonjs/components/card-work-session/index.js +35 -3
  6. package/lib/commonjs/components/card-work-session/index.js.map +1 -1
  7. package/lib/commonjs/components/check-box/index.js +6 -6
  8. package/lib/commonjs/components/coil/index.js +14 -8
  9. package/lib/commonjs/components/coil/index.js.map +1 -1
  10. package/lib/commonjs/components/header-profile/index.js +6 -6
  11. package/lib/commonjs/stories/card-work-session/card-work-session.stories.js +18 -3
  12. package/lib/commonjs/stories/card-work-session/card-work-session.stories.js.map +1 -1
  13. package/lib/commonjs/stories/coil/coil.stories.js +6 -5
  14. package/lib/commonjs/stories/coil/coil.stories.js.map +1 -1
  15. package/lib/commonjs/styles/theme/theme.js +1 -0
  16. package/lib/commonjs/styles/theme/theme.js.map +1 -1
  17. package/lib/module/common/icons-svg/check-box/index.js +6 -6
  18. package/lib/module/common/icons-svg/constants/index.js +4 -4
  19. package/lib/module/common/icons-svg/index.js +10 -7
  20. package/lib/module/common/icons-svg/index.js.map +1 -1
  21. package/lib/module/components/card-work-session/index.js +35 -3
  22. package/lib/module/components/card-work-session/index.js.map +1 -1
  23. package/lib/module/components/check-box/index.js +6 -6
  24. package/lib/module/components/coil/index.js +14 -8
  25. package/lib/module/components/coil/index.js.map +1 -1
  26. package/lib/module/components/header-profile/index.js +6 -6
  27. package/lib/module/stories/card-work-session/card-work-session.stories.js +17 -2
  28. package/lib/module/stories/card-work-session/card-work-session.stories.js.map +1 -1
  29. package/lib/module/stories/coil/coil.stories.js +6 -5
  30. package/lib/module/stories/coil/coil.stories.js.map +1 -1
  31. package/lib/module/styles/theme/theme.js +1 -0
  32. package/lib/module/styles/theme/theme.js.map +1 -1
  33. package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts.map +1 -1
  34. package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts.map +1 -1
  35. package/lib/typescript/commonjs/src/components/coil/index.d.ts.map +1 -1
  36. package/lib/typescript/commonjs/src/stories/card-work-session/card-work-session.stories.d.ts +1 -0
  37. package/lib/typescript/commonjs/src/stories/card-work-session/card-work-session.stories.d.ts.map +1 -1
  38. package/lib/typescript/commonjs/src/stories/coil/coil.stories.d.ts.map +1 -1
  39. package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts +1 -0
  40. package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts.map +1 -1
  41. package/lib/typescript/commonjs/src/styles/theme/theme.d.ts +1 -0
  42. package/lib/typescript/commonjs/src/styles/theme/theme.d.ts.map +1 -1
  43. package/lib/typescript/module/src/common/icons-svg/index.d.ts.map +1 -1
  44. package/lib/typescript/module/src/components/card-work-session/index.d.ts.map +1 -1
  45. package/lib/typescript/module/src/components/coil/index.d.ts.map +1 -1
  46. package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts +1 -0
  47. package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts.map +1 -1
  48. package/lib/typescript/module/src/stories/coil/coil.stories.d.ts.map +1 -1
  49. package/lib/typescript/module/src/styles/global/theme-provider.d.ts +1 -0
  50. package/lib/typescript/module/src/styles/global/theme-provider.d.ts.map +1 -1
  51. package/lib/typescript/module/src/styles/theme/theme.d.ts +1 -0
  52. package/lib/typescript/module/src/styles/theme/theme.d.ts.map +1 -1
  53. package/package.json +1 -1
  54. package/src/common/icons-svg/check-box/index.tsx +28 -28
  55. package/src/common/icons-svg/constants/index.ts +55 -55
  56. package/src/common/icons-svg/index.tsx +217 -203
  57. package/src/components/card-work-session/index.tsx +24 -0
  58. package/src/components/card-work-session/interface.d.ts +5 -0
  59. package/src/components/check-box/index.tsx +125 -125
  60. package/src/components/coil/index.tsx +103 -90
  61. package/src/components/coil/interface.d.ts +26 -26
  62. package/src/components/header-profile/index.tsx +132 -132
  63. package/src/stories/card-work-session/card-work-session.stories.tsx +16 -1
  64. package/src/stories/coil/coil.stories.tsx +75 -74
  65. package/src/stories/header-profile/header-profile.stories.tsx +103 -103
  66. package/src/styles/global/interface.d.ts +10 -0
  67. package/src/styles/theme/theme.ts +1 -0
@@ -1,132 +1,132 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import React from "react";
5
- import { Dimensions, TouchableOpacity } from "react-native";
6
-
7
- // components
8
- import { Box } from "../box";
9
- import { Typography } from "../typography";
10
-
11
- // typings
12
- import { IHeaderProps } from "./interface";
13
-
14
- // commons
15
- import { Icons } from "../../common/icons-svg";
16
-
17
- // styles
18
- import { theme } from "../../styles/theme/theme";
19
-
20
- /**
21
- * Componente Header para a interação do usuário com ui.
22
- */
23
- const Header: React.FC<IHeaderProps> = ({
24
- title,
25
- color,
26
- testID,
27
- arrow,
28
- // propsNav,
29
- permission,
30
- bluetoothIsConnected,
31
- isInternetReachable,
32
- handleNavigation,
33
- backgroundColor,
34
- isBluetooth = false,
35
- }) => {
36
- const { width: widthScreen } = Dimensions.get("window");
37
- const isMobile = widthScreen < 768;
38
-
39
- return (
40
- <Box
41
- testID={testID}
42
- width={"100%"}
43
- height={45}
44
- backgroundColor={backgroundColor ?? theme.colors.blue[400]}
45
- flexStyle={{ flexDirection: "row", justifyContent: "space-between", alignItems: "center" }}
46
- >
47
- <Box
48
- width={"10%"}
49
- height={45}
50
- flexStyle={{ flexDirection: "column", justifyContent: "center", alignItems: "flex-start" }}
51
- paddingStyle={{ paddingLeft: theme.paddings.md }}
52
- >
53
- {arrow && title !== "Login" && (
54
- <TouchableOpacity
55
- disabled={!arrow}
56
- onPress={handleNavigation}
57
- style={{
58
- width: 50,
59
- height: 45,
60
- flexDirection: "column",
61
- alignItems: "flex-start",
62
- justifyContent: "center",
63
- }}
64
- >
65
- {title === "Controle de Jornada" || title === "Controle de Carregamento" ? (
66
- <>
67
- <Icons icon="LIST" color="#fff" />
68
- <Box marginStyle={{ marginBottom: 8 }} />
69
- </>
70
- ) : (
71
- arrow && <Icons icon="ARROW_LEFT" />
72
- )}
73
- </TouchableOpacity>
74
- )}
75
- </Box>
76
-
77
- <Box
78
- height={45}
79
- flexStyle={{
80
- flexDirection: "row",
81
- justifyContent: "center",
82
- alignItems: "center",
83
- flex: 0.9,
84
- }}
85
- >
86
- <Typography
87
- text={title ? title : "Login"}
88
- size={15.4}
89
- fontFamily={theme.fonts.inter_bold_700}
90
- color={color?.colorText ?? theme.colors.neutral[25]}
91
- fontWeight="700"
92
- align="center"
93
- lineHeight={theme.fontSizes.lg}
94
- letterSpacing={"regular"}
95
- marginLeft={theme.margins["2xl"]}
96
- />
97
- </Box>
98
-
99
- <Box
100
- marginStyle={{ marginRight: isMobile ? 10 : 60 }}
101
- borderStyled={{ borderRadius: 10 }}
102
- width={50}
103
- height={24}
104
- >
105
- {permission ? (
106
- <Box marginStyle={{ marginTop: 2 }} />
107
- ) : (
108
- <Box
109
- marginStyle={{ marginTop: 2 }}
110
- flexStyle={{ flexDirection: "row", justifyContent: "flex-end" }}
111
- >
112
- {isBluetooth && (
113
- <Icons
114
- icon={bluetoothIsConnected ? "BLUETOOTH_CONNECTED" : "BLUETOOTH"}
115
- color={bluetoothIsConnected ? theme.colors.green[400] : theme.colors.red[900]}
116
- />
117
- )}
118
- <Icons
119
- icon={isInternetReachable ? "WIFI_HIGH" : "WIFI_X"}
120
- color={isInternetReachable ? theme.colors.orange[150] : theme.colors.red[800]}
121
- />
122
- </Box>
123
- )}
124
- </Box>
125
- </Box>
126
- );
127
- };
128
-
129
- /**
130
- * EXPORTS
131
- */
132
- export { Header };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import React from "react";
5
+ import { Dimensions, TouchableOpacity } from "react-native";
6
+
7
+ // components
8
+ import { Box } from "../box";
9
+ import { Typography } from "../typography";
10
+
11
+ // typings
12
+ import { IHeaderProps } from "./interface";
13
+
14
+ // commons
15
+ import { Icons } from "../../common/icons-svg";
16
+
17
+ // styles
18
+ import { theme } from "../../styles/theme/theme";
19
+
20
+ /**
21
+ * Componente Header para a interação do usuário com ui.
22
+ */
23
+ const Header: React.FC<IHeaderProps> = ({
24
+ title,
25
+ color,
26
+ testID,
27
+ arrow,
28
+ // propsNav,
29
+ permission,
30
+ bluetoothIsConnected,
31
+ isInternetReachable,
32
+ handleNavigation,
33
+ backgroundColor,
34
+ isBluetooth = false,
35
+ }) => {
36
+ const { width: widthScreen } = Dimensions.get("window");
37
+ const isMobile = widthScreen < 768;
38
+
39
+ return (
40
+ <Box
41
+ testID={testID}
42
+ width={"100%"}
43
+ height={45}
44
+ backgroundColor={backgroundColor ?? theme.colors.blue[400]}
45
+ flexStyle={{ flexDirection: "row", justifyContent: "space-between", alignItems: "center" }}
46
+ >
47
+ <Box
48
+ width={"10%"}
49
+ height={45}
50
+ flexStyle={{ flexDirection: "column", justifyContent: "center", alignItems: "flex-start" }}
51
+ paddingStyle={{ paddingLeft: theme.paddings.md }}
52
+ >
53
+ {arrow && title !== "Login" && (
54
+ <TouchableOpacity
55
+ disabled={!arrow}
56
+ onPress={handleNavigation}
57
+ style={{
58
+ width: 50,
59
+ height: 45,
60
+ flexDirection: "column",
61
+ alignItems: "flex-start",
62
+ justifyContent: "center",
63
+ }}
64
+ >
65
+ {title === "Controle de Jornada" || title === "Controle de Carregamento" ? (
66
+ <>
67
+ <Icons icon="LIST" color="#fff" />
68
+ <Box marginStyle={{ marginBottom: 8 }} />
69
+ </>
70
+ ) : (
71
+ arrow && <Icons icon="ARROW_LEFT" />
72
+ )}
73
+ </TouchableOpacity>
74
+ )}
75
+ </Box>
76
+
77
+ <Box
78
+ height={45}
79
+ flexStyle={{
80
+ flexDirection: "row",
81
+ justifyContent: "center",
82
+ alignItems: "center",
83
+ flex: 0.9,
84
+ }}
85
+ >
86
+ <Typography
87
+ text={title ? title : "Login"}
88
+ size={15.4}
89
+ fontFamily={theme.fonts.inter_bold_700}
90
+ color={color?.colorText ?? theme.colors.neutral[25]}
91
+ fontWeight="700"
92
+ align="center"
93
+ lineHeight={theme.fontSizes.lg}
94
+ letterSpacing={"regular"}
95
+ marginLeft={theme.margins["2xl"]}
96
+ />
97
+ </Box>
98
+
99
+ <Box
100
+ marginStyle={{ marginRight: isMobile ? 10 : 60 }}
101
+ borderStyled={{ borderRadius: 10 }}
102
+ width={50}
103
+ height={24}
104
+ >
105
+ {permission ? (
106
+ <Box marginStyle={{ marginTop: 2 }} />
107
+ ) : (
108
+ <Box
109
+ marginStyle={{ marginTop: 2 }}
110
+ flexStyle={{ flexDirection: "row", justifyContent: "flex-end" }}
111
+ >
112
+ {isBluetooth && (
113
+ <Icons
114
+ icon={bluetoothIsConnected ? "BLUETOOTH_CONNECTED" : "BLUETOOTH"}
115
+ color={bluetoothIsConnected ? theme.colors.green[400] : theme.colors.red[900]}
116
+ />
117
+ )}
118
+ <Icons
119
+ icon={isInternetReachable ? "WIFI_HIGH" : "WIFI_X"}
120
+ color={isInternetReachable ? theme.colors.orange[150] : theme.colors.red[800]}
121
+ />
122
+ </Box>
123
+ )}
124
+ </Box>
125
+ </Box>
126
+ );
127
+ };
128
+
129
+ /**
130
+ * EXPORTS
131
+ */
132
+ export { Header };
@@ -24,6 +24,7 @@ Você usa assim:
24
24
  workDate="25/01/2025"
25
25
  initialTime="11:40"
26
26
  duration="03:45"
27
+ counterBadge={2}
27
28
  avatar={""}
28
29
  />
29
30
  \`\`\`
@@ -36,7 +37,7 @@ export default meta;
36
37
  type Story = StoryObj<typeof meta>;
37
38
 
38
39
  export const CardTrabalhoSession: Story = {
39
- name: "card-work=session",
40
+ name: "card-work-session",
40
41
  args: {
41
42
  width: 400,
42
43
  name: "Weverson L.S",
@@ -45,5 +46,19 @@ export const CardTrabalhoSession: Story = {
45
46
  initialTime: "11:40",
46
47
  duration: "05:20",
47
48
  avatar: "",
49
+ counterBadge: 0,
50
+ },
51
+ };
52
+ export const CardWorkNotified: Story = {
53
+ name: "card-work-notified",
54
+ args: {
55
+ width: 400,
56
+ name: "Weverson L.S",
57
+ workDate: "25/01/2025",
58
+ timeWork: "",
59
+ initialTime: "11:40",
60
+ duration: "05:20",
61
+ avatar: "",
62
+ counterBadge: 3,
48
63
  },
49
64
  };
@@ -1,74 +1,75 @@
1
- import React from "react";
2
-
3
- import type { StoryObj, Meta } from "@storybook/react";
4
- import { Coil } from "../../components/coil";
5
-
6
- const meta: Meta<typeof Coil> = {
7
- title: "componente/Coil",
8
- component: Coil as React.FC,
9
- args: {
10
- title: "HUTY-9754",
11
- description: "04 de 02 fotos pendentes",
12
- handleNavigation: () => {},
13
- },
14
- parameters: {
15
- notes: `
16
- # Coil
17
-
18
- Este é um componente de Card da bobina.
19
- Você usa assim:
20
- \`\`\`tsx
21
- <Coil
22
- title=''
23
- description=''
24
- handleNavigation={() => {}}
25
- status=''
26
- />
27
- \`\`\`
28
- `,
29
- },
30
- };
31
-
32
- export default meta;
33
-
34
- type Story = StoryObj<typeof meta>;
35
-
36
- export const CoilPending: Story = {
37
- name: "coil-pending",
38
- args: {
39
- title: "HUTY-9754",
40
- description: "04 de 02 fotos pendentes",
41
- handleNavigation: () => {},
42
- status: "pending",
43
- },
44
- };
45
-
46
- export const CoilApproved: Story = {
47
- name: "coil-approved",
48
- args: {
49
- title: "HUTY-9754",
50
- description: "04 de 02 fotos pendentes",
51
- handleNavigation: () => {},
52
- status: "approved",
53
- },
54
- };
55
-
56
- export const CoilRecused: Story = {
57
- name: "coil-recused",
58
- args: {
59
- title: "HUTY-9754",
60
- description: "04 de 02 fotos pendentes",
61
- handleNavigation: () => {},
62
- status: "recused",
63
- },
64
- };
65
-
66
- export const CoilNoStatus: Story = {
67
- name: "coil-no-status",
68
- args: {
69
- title: "HUTY-9754",
70
- description: "background color diferente",
71
- handleNavigation: () => {},
72
- backgroundColor: "green",
73
- },
74
- };
1
+ import React from "react";
2
+
3
+ import type { StoryObj, Meta } from "@storybook/react";
4
+ import { Coil } from "../../components/coil";
5
+
6
+ const meta: Meta<typeof Coil> = {
7
+ title: "componente/Coil",
8
+ component: Coil as React.FC,
9
+ args: {
10
+ title: "HUTY-9754",
11
+ description: "04 de 02 fotos pendentes",
12
+ handleNavigation: () => {},
13
+ },
14
+ parameters: {
15
+ notes: `
16
+ # Coil
17
+
18
+ Este é um componente de Card da bobina.
19
+ Você usa assim:
20
+ \`\`\`tsx
21
+ <Coil
22
+ title=''
23
+ description=''
24
+ handleNavigation={() => {}}
25
+ status=''
26
+ />
27
+ \`\`\`
28
+ `,
29
+ },
30
+ };
31
+
32
+ export default meta;
33
+
34
+ type Story = StoryObj<typeof meta>;
35
+
36
+ export const CoilPending: Story = {
37
+ name: "coil-pending",
38
+ args: {
39
+ title: "HUTY-9754",
40
+ description: "04 de 02 fotos pendentes",
41
+ handleNavigation: () => {},
42
+ status: "pending",
43
+ },
44
+ };
45
+
46
+ export const CoilApproved: Story = {
47
+ name: "coil-approved",
48
+ args: {
49
+ title: "HUTY-9754",
50
+ description: "04 de 02 fotos pendentes",
51
+ handleNavigation: () => {},
52
+ status: "approved",
53
+ },
54
+ };
55
+
56
+ export const CoilRecused: Story = {
57
+ name: "coil-recused",
58
+ args: {
59
+ title: "HUTY-9754",
60
+ description: "04 de 02 fotos pendentes",
61
+ handleNavigation: () => {},
62
+ status: "recused",
63
+ },
64
+ };
65
+
66
+ export const CoilNoStatus: Story = {
67
+ name: "coil-no-status",
68
+ args: {
69
+ title: "HUTY-9754",
70
+ description: "background color diferente",
71
+ handleNavigation: () => {},
72
+ backgroundColor: "green",
73
+ disabled: true,
74
+ },
75
+ };
@@ -1,103 +1,103 @@
1
- import type { StoryObj, Meta } from "@storybook/react";
2
- import { Header } from "../../components/header-profile";
3
-
4
- const meta: Meta<typeof Header> = {
5
- title: "componente/Header",
6
- component: Header,
7
- args: {
8
- testID: "header",
9
- arrow: false,
10
- title: "aqui",
11
- handleNavigation: () => {},
12
- permission: false,
13
- bluetoothIsConnected: false,
14
- isInternetReachable: true,
15
- },
16
- parameters: {
17
- notes: `
18
- # Header
19
-
20
- Este é um componente de Card de horas.
21
- Você usa assim:
22
- \`\`\`tsx
23
- <Header
24
-
25
- />
26
- \`\`\`
27
- `,
28
- },
29
- };
30
-
31
- export default meta;
32
-
33
- type Story = StoryObj<typeof meta>;
34
-
35
- export const HeaderLogin: Story = {
36
- name: "header-login",
37
- args: {
38
- testID: "header",
39
- arrow: false,
40
- title: "Login",
41
- handleNavigation: () => {},
42
- permission: false,
43
- bluetoothIsConnected: false,
44
- isInternetReachable: true,
45
- isBluetooth: false,
46
- },
47
- };
48
- export const HeaderArrow: Story = {
49
- name: "header-arrow",
50
- args: {
51
- testID: "header",
52
- arrow: true,
53
- title: "SINCRONIZAR ATIVIDADES",
54
- handleNavigation: () => {},
55
- permission: false,
56
- bluetoothIsConnected: false,
57
- isInternetReachable: false,
58
- isBluetooth: true,
59
- },
60
- };
61
-
62
- export const HeaderList: Story = {
63
- name: "header-list",
64
- args: {
65
- testID: "header",
66
- arrow: true,
67
- title: "Controle de Jornada",
68
- handleNavigation: () => {},
69
- permission: false,
70
- bluetoothIsConnected: true,
71
- isInternetReachable: true,
72
- isBluetooth: true,
73
- },
74
- };
75
-
76
- export const HeaderPermission: Story = {
77
- name: "header-permission",
78
- args: {
79
- testID: "header",
80
- arrow: true,
81
- title: "Permission",
82
- handleNavigation: () => {},
83
- permission: true,
84
- bluetoothIsConnected: true,
85
- isInternetReachable: true,
86
- isBluetooth: false,
87
- },
88
- };
89
-
90
- export const HeaderBackground: Story = {
91
- name: "header-background",
92
- args: {
93
- testID: "header",
94
- arrow: true,
95
- title: "texto grande e background diferente",
96
- handleNavigation: () => {},
97
- permission: false,
98
- bluetoothIsConnected: true,
99
- isInternetReachable: true,
100
- isBluetooth: false,
101
- color: { colorText: "white" },
102
- },
103
- };
1
+ import type { StoryObj, Meta } from "@storybook/react";
2
+ import { Header } from "../../components/header-profile";
3
+
4
+ const meta: Meta<typeof Header> = {
5
+ title: "componente/Header",
6
+ component: Header,
7
+ args: {
8
+ testID: "header",
9
+ arrow: false,
10
+ title: "aqui",
11
+ handleNavigation: () => {},
12
+ permission: false,
13
+ bluetoothIsConnected: false,
14
+ isInternetReachable: true,
15
+ },
16
+ parameters: {
17
+ notes: `
18
+ # Header
19
+
20
+ Este é um componente de Card de horas.
21
+ Você usa assim:
22
+ \`\`\`tsx
23
+ <Header
24
+
25
+ />
26
+ \`\`\`
27
+ `,
28
+ },
29
+ };
30
+
31
+ export default meta;
32
+
33
+ type Story = StoryObj<typeof meta>;
34
+
35
+ export const HeaderLogin: Story = {
36
+ name: "header-login",
37
+ args: {
38
+ testID: "header",
39
+ arrow: false,
40
+ title: "Login",
41
+ handleNavigation: () => {},
42
+ permission: false,
43
+ bluetoothIsConnected: false,
44
+ isInternetReachable: true,
45
+ isBluetooth: false,
46
+ },
47
+ };
48
+ export const HeaderArrow: Story = {
49
+ name: "header-arrow",
50
+ args: {
51
+ testID: "header",
52
+ arrow: true,
53
+ title: "SINCRONIZAR ATIVIDADES",
54
+ handleNavigation: () => {},
55
+ permission: false,
56
+ bluetoothIsConnected: false,
57
+ isInternetReachable: false,
58
+ isBluetooth: true,
59
+ },
60
+ };
61
+
62
+ export const HeaderList: Story = {
63
+ name: "header-list",
64
+ args: {
65
+ testID: "header",
66
+ arrow: true,
67
+ title: "Controle de Jornada",
68
+ handleNavigation: () => {},
69
+ permission: false,
70
+ bluetoothIsConnected: true,
71
+ isInternetReachable: true,
72
+ isBluetooth: true,
73
+ },
74
+ };
75
+
76
+ export const HeaderPermission: Story = {
77
+ name: "header-permission",
78
+ args: {
79
+ testID: "header",
80
+ arrow: true,
81
+ title: "Permission",
82
+ handleNavigation: () => {},
83
+ permission: true,
84
+ bluetoothIsConnected: true,
85
+ isInternetReachable: true,
86
+ isBluetooth: false,
87
+ },
88
+ };
89
+
90
+ export const HeaderBackground: Story = {
91
+ name: "header-background",
92
+ args: {
93
+ testID: "header",
94
+ arrow: true,
95
+ title: "texto grande e background diferente",
96
+ handleNavigation: () => {},
97
+ permission: false,
98
+ bluetoothIsConnected: true,
99
+ isInternetReachable: true,
100
+ isBluetooth: false,
101
+ color: { colorText: "white" },
102
+ },
103
+ };
@@ -123,6 +123,16 @@ export interface IGlobalCss {
123
123
  letterSpacing?: keyof typeof theme.letterSpacing;
124
124
  lineHeight?: number;
125
125
  };
126
+
127
+ /**
128
+ * A propriedade CSS opacity define o nível de opacidade de um elemento. O valor da opacidade varia de 0 (totalmente transparente) a 1 (totalmente opaco).
129
+ */
130
+ disabled?: boolean;
131
+
132
+ /**
133
+ * A propriedade background do icon da cor.
134
+ */
135
+ backgroundColorIcon?: string;
126
136
  }
127
137
 
128
138
  // /**
@@ -42,6 +42,7 @@ const colors = {
42
42
  red: {
43
43
  400: "#D23A1A",
44
44
  500: "#C54239",
45
+ 600: "#B3261E",
45
46
  800: "#E72626",
46
47
  900: "#9F0000",
47
48
  },