react-native-exp-fig 0.1.16 → 0.1.18

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 (173) hide show
  1. package/lib/commonjs/common/icons-svg/constants/index.js +4 -2
  2. package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
  3. package/lib/commonjs/common/icons-svg/hourglass/index.js +4 -4
  4. package/lib/commonjs/common/icons-svg/hourglass/index.js.map +1 -1
  5. package/lib/commonjs/common/icons-svg/house/index.js +49 -0
  6. package/lib/commonjs/common/icons-svg/house/index.js.map +1 -0
  7. package/lib/commonjs/common/icons-svg/index.js +22 -8
  8. package/lib/commonjs/common/icons-svg/index.js.map +1 -1
  9. package/lib/commonjs/common/icons-svg/island/index.js +34 -0
  10. package/lib/commonjs/common/icons-svg/island/index.js.map +1 -0
  11. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconCallBell.js +46 -0
  12. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconCallBell.js.map +1 -0
  13. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconCoffee.js +47 -0
  14. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconCoffee.js.map +1 -0
  15. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconGear.js +47 -0
  16. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconGear.js.map +1 -0
  17. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconHourGlassMedium.js +48 -0
  18. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconHourGlassMedium.js.map +1 -0
  19. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconHouse.js +46 -0
  20. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconHouse.js.map +1 -0
  21. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconMoonStars.js +48 -0
  22. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconMoonStars.js.map +1 -0
  23. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconSteeringWheel.js +54 -0
  24. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconSteeringWheel.js.map +1 -0
  25. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconTimer.js +45 -0
  26. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconTimer.js.map +1 -0
  27. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconTruck.js +35 -0
  28. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconTruck.js.map +1 -0
  29. package/lib/commonjs/common/icons-svg/modal-activities/index.js +80 -0
  30. package/lib/commonjs/common/icons-svg/modal-activities/index.js.map +1 -0
  31. package/lib/commonjs/components/activities-progress/index.js +16 -14
  32. package/lib/commonjs/components/activities-progress/index.js.map +1 -1
  33. package/lib/commonjs/components/activities-progress/interface.d.js.map +1 -1
  34. package/lib/commonjs/components/card-history/index.js +20 -9
  35. package/lib/commonjs/components/card-history/index.js.map +1 -1
  36. package/lib/commonjs/components/card-history/interface.d.js.map +1 -1
  37. package/lib/commonjs/components/history-details/index.js +4 -4
  38. package/lib/commonjs/components/history-details/index.js.map +1 -1
  39. package/lib/commonjs/components/menu-item/interface.d.js.map +1 -1
  40. package/lib/commonjs/components/modal-activities/data-activities/index.js +62 -0
  41. package/lib/commonjs/components/modal-activities/data-activities/index.js.map +1 -0
  42. package/lib/commonjs/components/modal-activities/index.js +30 -38
  43. package/lib/commonjs/components/modal-activities/index.js.map +1 -1
  44. package/lib/commonjs/components/modal-activities/interface.d.js.map +1 -1
  45. package/lib/commonjs/components/notification-loading/index.js +4 -4
  46. package/lib/commonjs/components/notification-loading/index.js.map +1 -1
  47. package/lib/commonjs/components/step-indicator/styles.js +4 -4
  48. package/lib/commonjs/components/step-indicator/styles.js.map +1 -1
  49. package/lib/commonjs/index.js.map +1 -1
  50. package/lib/commonjs/stories/activities-progress/activities-progress.stories.js +24 -14
  51. package/lib/commonjs/stories/activities-progress/activities-progress.stories.js.map +1 -1
  52. package/lib/commonjs/stories/card-history/card-history.stories.js +5 -2
  53. package/lib/commonjs/stories/card-history/card-history.stories.js.map +1 -1
  54. package/lib/commonjs/stories/modal-activities/modal-activities.stories.js +21 -5
  55. package/lib/commonjs/stories/modal-activities/modal-activities.stories.js.map +1 -1
  56. package/lib/commonjs/styles/global/interface.d.js.map +1 -1
  57. package/lib/commonjs/utils/get-icon-by-property/index.js +85 -0
  58. package/lib/commonjs/utils/get-icon-by-property/index.js.map +1 -0
  59. package/lib/module/common/icons-svg/constants/index.js +4 -2
  60. package/lib/module/common/icons-svg/constants/index.js.map +1 -1
  61. package/lib/module/common/icons-svg/hourglass/index.js +4 -4
  62. package/lib/module/common/icons-svg/hourglass/index.js.map +1 -1
  63. package/lib/module/common/icons-svg/house/index.js +41 -0
  64. package/lib/module/common/icons-svg/house/index.js.map +1 -0
  65. package/lib/module/common/icons-svg/index.js +22 -8
  66. package/lib/module/common/icons-svg/index.js.map +1 -1
  67. package/lib/module/common/icons-svg/island/index.js +26 -0
  68. package/lib/module/common/icons-svg/island/index.js.map +1 -0
  69. package/lib/module/common/icons-svg/modal-activities/SvgIconCallBell.js +37 -0
  70. package/lib/module/common/icons-svg/modal-activities/SvgIconCallBell.js.map +1 -0
  71. package/lib/module/common/icons-svg/modal-activities/SvgIconCoffee.js +38 -0
  72. package/lib/module/common/icons-svg/modal-activities/SvgIconCoffee.js.map +1 -0
  73. package/lib/module/common/icons-svg/modal-activities/SvgIconGear.js +38 -0
  74. package/lib/module/common/icons-svg/modal-activities/SvgIconGear.js.map +1 -0
  75. package/lib/module/common/icons-svg/modal-activities/SvgIconHourGlassMedium.js +39 -0
  76. package/lib/module/common/icons-svg/modal-activities/SvgIconHourGlassMedium.js.map +1 -0
  77. package/lib/module/common/icons-svg/modal-activities/SvgIconHouse.js +37 -0
  78. package/lib/module/common/icons-svg/modal-activities/SvgIconHouse.js.map +1 -0
  79. package/lib/module/common/icons-svg/modal-activities/SvgIconMoonStars.js +40 -0
  80. package/lib/module/common/icons-svg/modal-activities/SvgIconMoonStars.js.map +1 -0
  81. package/lib/module/common/icons-svg/modal-activities/SvgIconSteeringWheel.js +45 -0
  82. package/lib/module/common/icons-svg/modal-activities/SvgIconSteeringWheel.js.map +1 -0
  83. package/lib/module/common/icons-svg/modal-activities/SvgIconTimer.js +36 -0
  84. package/lib/module/common/icons-svg/modal-activities/SvgIconTimer.js.map +1 -0
  85. package/lib/module/common/icons-svg/modal-activities/SvgIconTruck.js +26 -0
  86. package/lib/module/common/icons-svg/modal-activities/SvgIconTruck.js.map +1 -0
  87. package/lib/module/common/icons-svg/modal-activities/index.js +75 -0
  88. package/lib/module/common/icons-svg/modal-activities/index.js.map +1 -0
  89. package/lib/module/components/activities-progress/index.js +15 -14
  90. package/lib/module/components/activities-progress/index.js.map +1 -1
  91. package/lib/module/components/activities-progress/interface.d.js.map +1 -1
  92. package/lib/module/components/card-history/index.js +20 -9
  93. package/lib/module/components/card-history/index.js.map +1 -1
  94. package/lib/module/components/card-history/interface.d.js.map +1 -1
  95. package/lib/module/components/history-details/index.js +4 -4
  96. package/lib/module/components/history-details/index.js.map +1 -1
  97. package/lib/module/components/menu-item/interface.d.js.map +1 -1
  98. package/lib/module/components/modal-activities/data-activities/index.js +56 -0
  99. package/lib/module/components/modal-activities/data-activities/index.js.map +1 -0
  100. package/lib/module/components/modal-activities/index.js +29 -38
  101. package/lib/module/components/modal-activities/index.js.map +1 -1
  102. package/lib/module/components/modal-activities/interface.d.js.map +1 -1
  103. package/lib/module/components/notification-loading/index.js +4 -4
  104. package/lib/module/components/notification-loading/index.js.map +1 -1
  105. package/lib/module/components/step-indicator/styles.js +4 -4
  106. package/lib/module/components/step-indicator/styles.js.map +1 -1
  107. package/lib/module/index.js +2 -2
  108. package/lib/module/index.js.map +1 -1
  109. package/lib/module/stories/activities-progress/activities-progress.stories.js +24 -14
  110. package/lib/module/stories/activities-progress/activities-progress.stories.js.map +1 -1
  111. package/lib/module/stories/card-history/card-history.stories.js +5 -2
  112. package/lib/module/stories/card-history/card-history.stories.js.map +1 -1
  113. package/lib/module/stories/modal-activities/modal-activities.stories.js +20 -4
  114. package/lib/module/stories/modal-activities/modal-activities.stories.js.map +1 -1
  115. package/lib/module/styles/global/interface.d.js.map +1 -1
  116. package/lib/module/utils/get-icon-by-property/index.js +79 -0
  117. package/lib/module/utils/get-icon-by-property/index.js.map +1 -0
  118. package/lib/typescript/src/common/icons-svg/constants/index.d.ts +3 -1
  119. package/lib/typescript/src/common/icons-svg/house/index.d.ts +10 -0
  120. package/lib/typescript/src/common/icons-svg/island/index.d.ts +10 -0
  121. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconCallBell.d.ts +10 -0
  122. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconCoffee.d.ts +10 -0
  123. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconGear.d.ts +10 -0
  124. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconHourGlassMedium.d.ts +10 -0
  125. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconHouse.d.ts +10 -0
  126. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconMoonStars.d.ts +10 -0
  127. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconSteeringWheel.d.ts +10 -0
  128. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconTimer.d.ts +10 -0
  129. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconTruck.d.ts +10 -0
  130. package/lib/typescript/src/common/icons-svg/modal-activities/index.d.ts +23 -0
  131. package/lib/typescript/src/components/modal-activities/data-activities/index.d.ts +19 -0
  132. package/lib/typescript/src/stories/modal-activities/modal-activities.stories.d.ts +2 -1
  133. package/lib/typescript/src/utils/get-icon-by-property/index.d.ts +15 -0
  134. package/package.json +220 -221
  135. package/src/common/icons-svg/constants/index.ts +3 -1
  136. package/src/common/icons-svg/hourglass/index.tsx +28 -28
  137. package/src/common/icons-svg/house/index.tsx +41 -0
  138. package/src/common/icons-svg/index.tsx +14 -6
  139. package/src/common/icons-svg/island/index.tsx +25 -0
  140. package/src/common/icons-svg/modal-activities/SvgIconCallBell.tsx +37 -0
  141. package/src/common/icons-svg/modal-activities/SvgIconCoffee.tsx +38 -0
  142. package/src/common/icons-svg/modal-activities/SvgIconGear.tsx +38 -0
  143. package/src/common/icons-svg/modal-activities/SvgIconHourGlassMedium.tsx +38 -0
  144. package/src/common/icons-svg/modal-activities/SvgIconHouse.tsx +37 -0
  145. package/src/common/icons-svg/modal-activities/SvgIconMoonStars.tsx +39 -0
  146. package/src/common/icons-svg/modal-activities/SvgIconSteeringWheel.tsx +48 -0
  147. package/src/common/icons-svg/modal-activities/SvgIconTimer.tsx +37 -0
  148. package/src/common/icons-svg/modal-activities/SvgIconTruck.tsx +28 -0
  149. package/src/common/icons-svg/modal-activities/index.tsx +53 -0
  150. package/src/components/activities-progress/index.tsx +169 -162
  151. package/src/components/activities-progress/interface.d.ts +61 -41
  152. package/src/components/button/styles.ts +34 -34
  153. package/src/components/card-history/index.tsx +28 -18
  154. package/src/components/card-history/interface.d.ts +5 -1
  155. package/src/components/card-loading/index.tsx +290 -290
  156. package/src/components/history-details/index.tsx +99 -99
  157. package/src/components/image-capture-with-remove/index.tsx +92 -92
  158. package/src/components/image-capture-with-remove/interface.d.ts +28 -28
  159. package/src/components/loading-progress/index.tsx +93 -93
  160. package/src/components/menu-item/interface.d.ts +1 -1
  161. package/src/components/modal-activities/data-activities/index.ts +65 -0
  162. package/src/components/modal-activities/index.tsx +137 -139
  163. package/src/components/modal-activities/interface.d.ts +32 -21
  164. package/src/components/notification-loading/index.tsx +162 -162
  165. package/src/components/step-indicator/styles.ts +68 -68
  166. package/src/index.ts +43 -43
  167. package/src/stories/activities-progress/activities-progress.stories.tsx +71 -61
  168. package/src/stories/card-history/card-history.stories.tsx +3 -0
  169. package/src/stories/modal-activities/modal-activities.stories.tsx +64 -46
  170. package/src/styles/global/interface.d.ts +146 -146
  171. package/src/styles/theme/theme.ts +171 -171
  172. package/src/utils/get-icon-by-property/index.tsx +53 -0
  173. package/src/utils/status-color/return-color.ts +34 -34
package/package.json CHANGED
@@ -1,221 +1,220 @@
1
- {
2
- "name": "react-native-exp-fig",
3
- "version": "0.1.16",
4
- "description": "Biblioteca para desenvolvimento dos componentes para utilizar nos app da Expresso Figueiredo.",
5
- "main": "lib/commonjs/index",
6
- "module": "lib/module/index",
7
- "types": "lib/typescript/src/index.d.ts",
8
- "react-native": "./src/index",
9
- "source": "./src/index",
10
- "exports": {
11
- ".": {
12
- "import": {
13
- "types": "./lib/typescript/src/index.d.ts",
14
- "default": "./lib/module/index.js"
15
- },
16
- "require": {
17
- "types": "./lib/typescript/src/index.d.ts",
18
- "default": "./lib/commonjs/index.js"
19
- }
20
- }
21
- },
22
- "files": [
23
- "src",
24
- "lib",
25
- "android",
26
- "ios",
27
- "cpp",
28
- "*.podspec",
29
- "react-native.config.js",
30
- "!ios/build",
31
- "!android/build",
32
- "!android/gradle",
33
- "!android/gradlew",
34
- "!android/gradlew.bat",
35
- "!android/local.properties",
36
- "!**/__tests__",
37
- "!**/__fixtures__",
38
- "!**/__mocks__",
39
- "!**/.*"
40
- ],
41
- "scripts": {
42
- "example": "yarn workspace react-native-exp-fig-example",
43
- "test": "jest",
44
- "typecheck": "tsc",
45
- "lint": "eslint \"**/*.{js,ts,tsx}\"",
46
- "lint:fix": "eslint --fix \"**/*.{js,ts,tsx}\"",
47
- "clean": "del-cli lib",
48
- "prepare:bob": "bob build",
49
- "release": "release-it",
50
- "storybook": "storybook dev -p 6006",
51
- "format": "prettier --write .",
52
- "format:check": "prettier --check .",
53
- "prepare": "husky"
54
- },
55
- "keywords": [
56
- "react-native",
57
- "ios",
58
- "android"
59
- ],
60
- "repository": {
61
- "type": "git",
62
- "url": "https://github.com/expfig/expfig-ui"
63
- },
64
- "author": "Weverson-Luan <wltech2022@gmail.com> (https://github.com/Weverson-Luan)",
65
- "license": "MIT",
66
- "bugs": {
67
- "url": "https://github.com/expfig/expfig-ui/issues"
68
- },
69
- "homepage": "https://github.com/expfig/expfig-ui/blob/main/README.md",
70
- "publishConfig": {
71
- "registry": "https://registry.npmjs.org/"
72
- },
73
- "devDependencies": {
74
- "@babel/core": "^7.26.7",
75
- "@babel/preset-env": "^7.22.20",
76
- "@babel/preset-react": "^7.26.3",
77
- "@commitlint/cli": "^19.7.1",
78
- "@commitlint/config-conventional": "^19.7.1",
79
- "@evilmartians/lefthook": "^1.5.0",
80
- "@react-native-community/bob": "^0.17.1",
81
- "@react-native/eslint-config": "^0.77.0",
82
- "@release-it/conventional-changelog": "^9.0.2",
83
- "@storybook/addon-actions": "^8.3.5",
84
- "@storybook/addon-controls": "^8.3.5",
85
- "@storybook/addon-essentials": "^8.3.5",
86
- "@storybook/addon-links": "^8.3.5",
87
- "@storybook/addon-ondevice-actions": "8.3.10",
88
- "@storybook/addon-ondevice-backgrounds": "8.3.10",
89
- "@storybook/addon-ondevice-controls": "8.3.10",
90
- "@storybook/addon-ondevice-notes": "8.3.10",
91
- "@storybook/addon-react-native-web": "^0.0.26",
92
- "@storybook/addon-webpack5-compiler-babel": "^3.0.3",
93
- "@storybook/addons": "^7.6.17",
94
- "@storybook/react": "^8.3.5",
95
- "@storybook/react-native": "^8.5.3",
96
- "@storybook/react-webpack5": "^8.3.5",
97
- "@testing-library/jest-native": "^5.4.3",
98
- "@testing-library/react-native": "^12.3.0",
99
- "@types/jest": "^29.5.5",
100
- "@types/react": "^18.2.44",
101
- "@typescript-eslint/eslint-plugin": "^8.23.0",
102
- "babel-jest": "^29.7.0",
103
- "babel-loader": "^9.1.3",
104
- "babel-plugin-module-resolver": "^5.0.2",
105
- "babel-plugin-react-docgen-typescript": "^1.5.1",
106
- "babel-plugin-react-native-web": "^0.19.12",
107
- "babel-plugin-transform-inline-environment-variables": "^0.4.4",
108
- "commitlint": "^17.0.2",
109
- "del-cli": "^5.1.0",
110
- "eslint": "^9.19.0",
111
- "eslint-config-prettier": "^10.0.1",
112
- "eslint-plugin-jest": "^28.11.0",
113
- "eslint-plugin-prettier": "^5.2.3",
114
- "eslint-plugin-react": "^7.37.4",
115
- "eslint-plugin-storybook": "^0.11.2",
116
- "husky": "^9.1.7",
117
- "jest": "^29.7.0",
118
- "prettier": "^3.4.2",
119
- "react": "18.3.1",
120
- "react-native": "0.76.6",
121
- "react-native-builder-bob": "^0.32.0",
122
- "release-it": "^17.10.0",
123
- "storybook": "^8.3.5"
124
- },
125
- "resolutions": {
126
- "@types/react": "^18.2.44"
127
- },
128
- "workspaces": [
129
- "example"
130
- ],
131
- "packageManager": "yarn@3.6.1",
132
- "release-it": {
133
- "git": {
134
- "commitMessage": "chore: release ${version}",
135
- "tagName": "v${version}"
136
- },
137
- "npm": {
138
- "publish": true
139
- },
140
- "github": {
141
- "release": true
142
- },
143
- "plugins": {
144
- "@release-it/conventional-changelog": {
145
- "preset": "angular"
146
- }
147
- }
148
- },
149
- "react-native-builder-bob": {
150
- "source": "src",
151
- "output": "lib",
152
- "targets": [
153
- [
154
- "commonjs",
155
- {
156
- "esm": true
157
- }
158
- ],
159
- [
160
- "module",
161
- {
162
- "esm": true
163
- }
164
- ],
165
- [
166
- "typescript",
167
- {
168
- "project": "tsconfig.build.json",
169
- "esm": true
170
- }
171
- ]
172
- ]
173
- },
174
- "create-react-native-library": {
175
- "languages": "js",
176
- "type": "library",
177
- "version": "0.47.0"
178
- },
179
- "dependencies": {
180
- "@react-native-async-storage/async-storage": "^2.0.0",
181
- "@react-native-community/datetimepicker": "^8.2.0",
182
- "@react-native-community/slider": "^4.5.3",
183
- "@storybook/test": "^8.3.0",
184
- "jest-environment-jsdom": "^29.7.0",
185
- "jest-matcher-utils": "^29.7.0",
186
- "react": "*",
187
- "react-dom": "^18.3.1",
188
- "react-native": "*",
189
- "react-native-exp-fig": "^0.1.1",
190
- "react-native-gesture-handler": "^2.19.0",
191
- "react-native-reanimated": "^3.16.7",
192
- "react-native-safe-area-context": "^4.11.0",
193
- "react-native-svg": "^15.6.0",
194
- "react-native-web": "^0.19.12",
195
- "react-test-renderer": "^18.2.0",
196
- "ts-jest": "^29.1.1",
197
- "ts-node": "^10.9.1",
198
- "typescript": "4.8.4"
199
- },
200
- "peerDependencies": {
201
- "@types/react": "*",
202
- "@types/react-native": "*",
203
- "react": "*",
204
- "react-dom": "*",
205
- "react-native": "*",
206
- "react-native-safe-area-context": "*"
207
- },
208
- "@react-native-community/bob": {
209
- "source": "src",
210
- "output": "lib",
211
- "targets": [
212
- "commonjs",
213
- "module",
214
- "typescript"
215
- ]
216
- },
217
- "eslintIgnore": [
218
- "node_modules/",
219
- "lib/"
220
- ]
221
- }
1
+ {
2
+ "name": "react-native-exp-fig",
3
+ "version": "0.1.18",
4
+ "description": "Biblioteca para desenvolvimento dos componentes para utilizar nos app da Expresso Figueiredo.",
5
+ "main": "lib/commonjs/index",
6
+ "module": "lib/module/index",
7
+ "types": "lib/typescript/src/index.d.ts",
8
+ "react-native": "./src/index",
9
+ "source": "./src/index",
10
+ "exports": {
11
+ ".": {
12
+ "import": {
13
+ "types": "./lib/typescript/src/index.d.ts",
14
+ "default": "./lib/module/index.js"
15
+ },
16
+ "require": {
17
+ "types": "./lib/typescript/src/index.d.ts",
18
+ "default": "./lib/commonjs/index.js"
19
+ }
20
+ }
21
+ },
22
+ "files": [
23
+ "src",
24
+ "lib",
25
+ "android",
26
+ "ios",
27
+ "cpp",
28
+ "*.podspec",
29
+ "react-native.config.js",
30
+ "!ios/build",
31
+ "!android/build",
32
+ "!android/gradle",
33
+ "!android/gradlew",
34
+ "!android/gradlew.bat",
35
+ "!android/local.properties",
36
+ "!**/__tests__",
37
+ "!**/__fixtures__",
38
+ "!**/__mocks__",
39
+ "!**/.*"
40
+ ],
41
+ "scripts": {
42
+ "example": "yarn workspace react-native-exp-fig-example",
43
+ "test": "jest",
44
+ "typecheck": "tsc",
45
+ "lint": "eslint \"**/*.{js,ts,tsx}\"",
46
+ "lint:fix": "eslint --fix \"**/*.{js,ts,tsx}\"",
47
+ "clean": "del-cli lib",
48
+ "prepare:bob": "bob build",
49
+ "release": "release-it",
50
+ "storybook": "storybook dev -p 6006",
51
+ "format": "prettier --write .",
52
+ "format:check": "prettier --check .",
53
+ "prepare": "husky"
54
+ },
55
+ "keywords": [
56
+ "react-native",
57
+ "ios",
58
+ "android"
59
+ ],
60
+ "repository": {
61
+ "type": "git",
62
+ "url": "https://github.com/expfig/expfig-ui"
63
+ },
64
+ "author": "Weverson-Luan <wltech2022@gmail.com> (https://github.com/Weverson-Luan)",
65
+ "license": "MIT",
66
+ "bugs": {
67
+ "url": "https://github.com/expfig/expfig-ui/issues"
68
+ },
69
+ "homepage": "https://github.com/expfig/expfig-ui/blob/main/README.md",
70
+ "publishConfig": {
71
+ "registry": "https://registry.npmjs.org/"
72
+ },
73
+ "devDependencies": {
74
+ "@babel/core": "^7.26.7",
75
+ "@babel/preset-env": "^7.22.20",
76
+ "@babel/preset-react": "^7.26.3",
77
+ "@commitlint/cli": "^19.7.1",
78
+ "@commitlint/config-conventional": "^19.7.1",
79
+ "@evilmartians/lefthook": "^1.5.0",
80
+ "@react-native-community/bob": "^0.17.1",
81
+ "@react-native/eslint-config": "^0.77.0",
82
+ "@release-it/conventional-changelog": "^9.0.2",
83
+ "@storybook/addon-actions": "^8.3.5",
84
+ "@storybook/addon-controls": "^8.3.5",
85
+ "@storybook/addon-essentials": "^8.3.5",
86
+ "@storybook/addon-links": "^8.3.5",
87
+ "@storybook/addon-ondevice-actions": "8.3.10",
88
+ "@storybook/addon-ondevice-backgrounds": "8.3.10",
89
+ "@storybook/addon-ondevice-controls": "8.3.10",
90
+ "@storybook/addon-ondevice-notes": "8.3.10",
91
+ "@storybook/addon-react-native-web": "^0.0.26",
92
+ "@storybook/addon-webpack5-compiler-babel": "^3.0.3",
93
+ "@storybook/addons": "^7.6.17",
94
+ "@storybook/react": "^8.3.5",
95
+ "@storybook/react-native": "^8.5.3",
96
+ "@storybook/react-webpack5": "^8.3.5",
97
+ "@testing-library/jest-native": "^5.4.3",
98
+ "@testing-library/react-native": "^12.3.0",
99
+ "@types/jest": "^29.5.5",
100
+ "@types/react": "^18.2.44",
101
+ "@typescript-eslint/eslint-plugin": "^8.23.0",
102
+ "babel-jest": "^29.7.0",
103
+ "babel-loader": "^9.1.3",
104
+ "babel-plugin-module-resolver": "^5.0.2",
105
+ "babel-plugin-react-docgen-typescript": "^1.5.1",
106
+ "babel-plugin-react-native-web": "^0.19.12",
107
+ "babel-plugin-transform-inline-environment-variables": "^0.4.4",
108
+ "commitlint": "^17.0.2",
109
+ "del-cli": "^5.1.0",
110
+ "eslint": "^9.19.0",
111
+ "eslint-config-prettier": "^10.0.1",
112
+ "eslint-plugin-jest": "^28.11.0",
113
+ "eslint-plugin-prettier": "^5.2.3",
114
+ "eslint-plugin-react": "^7.37.4",
115
+ "eslint-plugin-storybook": "^0.11.2",
116
+ "husky": "^9.1.7",
117
+ "jest": "^29.7.0",
118
+ "prettier": "^3.4.2",
119
+ "react": "18.3.1",
120
+ "react-native": "0.76.6",
121
+ "react-native-builder-bob": "^0.32.0",
122
+ "release-it": "^17.10.0",
123
+ "storybook": "^8.3.5"
124
+ },
125
+ "resolutions": {
126
+ "@types/react": "^18.2.44"
127
+ },
128
+ "workspaces": [
129
+ "example"
130
+ ],
131
+ "packageManager": "yarn@3.6.1",
132
+ "release-it": {
133
+ "git": {
134
+ "commitMessage": "chore: release ${version}",
135
+ "tagName": "v${version}"
136
+ },
137
+ "npm": {
138
+ "publish": true
139
+ },
140
+ "github": {
141
+ "release": true
142
+ },
143
+ "plugins": {
144
+ "@release-it/conventional-changelog": {
145
+ "preset": "angular"
146
+ }
147
+ }
148
+ },
149
+ "react-native-builder-bob": {
150
+ "source": "src",
151
+ "output": "lib",
152
+ "targets": [
153
+ [
154
+ "commonjs",
155
+ {
156
+ "esm": true
157
+ }
158
+ ],
159
+ [
160
+ "module",
161
+ {
162
+ "esm": true
163
+ }
164
+ ],
165
+ [
166
+ "typescript",
167
+ {
168
+ "project": "tsconfig.build.json"
169
+ }
170
+ ]
171
+ ]
172
+ },
173
+ "create-react-native-library": {
174
+ "languages": "js",
175
+ "type": "library",
176
+ "version": "0.47.0"
177
+ },
178
+ "dependencies": {
179
+ "@react-native-async-storage/async-storage": "^2.0.0",
180
+ "@react-native-community/datetimepicker": "^8.2.0",
181
+ "@react-native-community/slider": "^4.5.3",
182
+ "@storybook/test": "^8.3.0",
183
+ "jest-environment-jsdom": "^29.7.0",
184
+ "jest-matcher-utils": "^29.7.0",
185
+ "react": "*",
186
+ "react-dom": "^18.3.1",
187
+ "react-native": "*",
188
+ "react-native-exp-fig": "^0.1.1",
189
+ "react-native-gesture-handler": "^2.19.0",
190
+ "react-native-reanimated": "^3.16.7",
191
+ "react-native-safe-area-context": "^4.11.0",
192
+ "react-native-svg": "^15.6.0",
193
+ "react-native-web": "^0.19.12",
194
+ "react-test-renderer": "^18.2.0",
195
+ "ts-jest": "^29.1.1",
196
+ "ts-node": "^10.9.1",
197
+ "typescript": "4.8.4"
198
+ },
199
+ "peerDependencies": {
200
+ "@types/react": "*",
201
+ "@types/react-native": "*",
202
+ "react": "*",
203
+ "react-dom": "*",
204
+ "react-native": "*",
205
+ "react-native-safe-area-context": "*"
206
+ },
207
+ "@react-native-community/bob": {
208
+ "source": "src",
209
+ "output": "lib",
210
+ "targets": [
211
+ "commonjs",
212
+ "module",
213
+ "typescript"
214
+ ]
215
+ },
216
+ "eslintIgnore": [
217
+ "node_modules/",
218
+ "lib/"
219
+ ]
220
+ }
@@ -37,7 +37,7 @@ const SVG_NAME = {
37
37
  ARROW_DROP_DOWN: "arrow-drop-down",
38
38
  CLOSED: "closed",
39
39
  LOADING: "currency-circle-dollar",
40
- COIL: "package",
40
+ ACTIVITY: "atividades",
41
41
  HISTORY: "chart-bar",
42
42
  BELL: "bell",
43
43
  FILES: "files",
@@ -55,6 +55,8 @@ const SVG_NAME = {
55
55
  BED: "bed",
56
56
  REFRESH_CCW_DOT: "refresh-ccw-dot",
57
57
  HOURGLASS: "hourglass",
58
+ HOUSE: "house",
59
+ ISLAND: "island",
58
60
  };
59
61
 
60
62
  /**
@@ -1,28 +1,28 @@
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 SvgIconHourglass: 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
- viewBox="0 0 256 256"
17
- >
18
- <Path
19
- fill={color}
20
- d="M198 75.641V40a14.016 14.016 0 0 0-14-14H72a14.016 14.016 0 0 0-14 14v36a14.07 14.07 0 0 0 5.6 11.2L118 128l-54.4 40.8A14.07 14.07 0 0 0 58 180v36a14.016 14.016 0 0 0 14 14h112a14.016 14.016 0 0 0 14-14v-35.641a14.07 14.07 0 0 0-5.558-11.169L137.95 128l54.492-41.19A14.07 14.07 0 0 0 198 75.64M70 40a2.003 2.003 0 0 1 2-2h112a2.003 2.003 0 0 1 2 2v35.641a2.01 2.01 0 0 1-.794 1.596l-6.295 4.759H76.66L70.8 77.6A2.01 2.01 0 0 1 70 76Zm57.986 80.49L92.66 93.995h70.374ZM186 180.358V216a2.003 2.003 0 0 1-2 2H72a2.003 2.003 0 0 1-2-2v-36a2.01 2.01 0 0 1 .8-1.6L122 140v27.996a6 6 0 0 0 12 0v-27.94l51.206 38.707a2.01 2.01 0 0 1 .794 1.596"
21
- ></Path>
22
- </Svg>
23
- );
24
-
25
- /**
26
- * EXPORTS
27
- */
28
- export { SvgIconHourglass };
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 SvgIconHourglass: 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
+ viewBox="0 0 256 256"
17
+ >
18
+ <Path
19
+ fill={color}
20
+ d="M198 75.641V40a14.016 14.016 0 0 0-14-14H72a14.016 14.016 0 0 0-14 14v36a14.07 14.07 0 0 0 5.6 11.2L118 128l-54.4 40.8A14.07 14.07 0 0 0 58 180v36a14.016 14.016 0 0 0 14 14h112a14.016 14.016 0 0 0 14-14v-35.641a14.07 14.07 0 0 0-5.558-11.169L137.95 128l54.492-41.19A14.07 14.07 0 0 0 198 75.64M70 40a2.003 2.003 0 0 1 2-2h112a2.003 2.003 0 0 1 2 2v35.641a2.01 2.01 0 0 1-.794 1.596l-6.295 4.759H76.66L70.8 77.6A2.01 2.01 0 0 1 70 76Zm57.986 80.49L92.66 93.995h70.374ZM186 180.358V216a2.003 2.003 0 0 1-2 2H72a2.003 2.003 0 0 1-2-2v-36a2.01 2.01 0 0 1 .8-1.6L122 140v27.996a6 6 0 0 0 12 0v-27.94l51.206 38.707a2.01 2.01 0 0 1 .794 1.596"
21
+ ></Path>
22
+ </Svg>
23
+ );
24
+
25
+ /**
26
+ * EXPORTS
27
+ */
28
+ export { SvgIconHourglass };
@@ -0,0 +1,41 @@
1
+ /**
2
+ * IMPORTS
3
+ */
4
+
5
+ import React from "react";
6
+
7
+ import Svg, { Path, Defs, G, ClipPath } from "react-native-svg";
8
+
9
+ //typings
10
+ import { ISvgProps } from "../interface";
11
+
12
+ const SvgIconHouse: React.FC<ISvgProps> = ({ color, size }) => (
13
+ <Svg
14
+ //@ts-ignore
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ width={size ?? 24}
17
+ height={size ?? 24}
18
+ fill="none"
19
+ viewBox="0 0 25 25"
20
+ >
21
+ <G clipPath="url(#clip0_747_115)">
22
+ <Path
23
+ stroke={color ?? "#050022"}
24
+ strokeLinecap="round"
25
+ strokeLinejoin="round"
26
+ strokeWidth="2"
27
+ d="M14.75 20v-4.5a.75.75 0 00-.75-.75h-3a.75.75 0 00-.75.75V20a.75.75 0 01-.75.75H5a.75.75 0 01-.75-.75v-8.668a.75.75 0 01.246-.555l7.5-7.082a.75.75 0 011.01 0l7.5 7.082a.75.75 0 01.245.555V20a.75.75 0 01-.75.75H15.5a.75.75 0 01-.75-.75z"
28
+ ></Path>
29
+ </G>
30
+ <Defs>
31
+ <ClipPath id="clip0_747_115">
32
+ <Path fill="#fff" d="M0 0H24V24H0z" transform="translate(.5 .5)"></Path>
33
+ </ClipPath>
34
+ </Defs>
35
+ </Svg>
36
+ );
37
+
38
+ /**
39
+ * EXPORTS
40
+ */
41
+ export { SvgIconHouse };
@@ -35,9 +35,7 @@ import { SvgIconWiFiHigh } from "./wifi-high";
35
35
  import { SvgIconWiFiX } from "./wifi-x";
36
36
  import { SvgIconArrowDropDown } from "./arrow-drop-down";
37
37
  import { SvgIconClosed } from "./closed";
38
- import { SvgPackage } from "./package";
39
38
  import { SvgChartBar } from "./chart-bar";
40
- import { SvgTruckTrailer } from "./truck-trailer";
41
39
  import { SvgIconBell } from "./bell";
42
40
  import { SvgIconFiles } from "./files";
43
41
  import { SvgIconLifebuoy } from "./lifebuoy";
@@ -56,12 +54,16 @@ import { SvgIconAgent } from "./agent";
56
54
  import { SvgIconBed } from "./bed";
57
55
  import { SvgIconRefreshCcwDot } from "./refresh-ccw-dot";
58
56
  import { SvgIconHourglass } from "./hourglass";
57
+ import { SvgCurrencyCircleDollar } from "./currency-circle-dollar";
58
+ import { SvgPackage } from "./package";
59
+ import { SvgIconHouse } from "./house";
59
60
 
60
61
  // typing
61
62
  import { ISvgProps } from "./interface";
62
63
 
63
64
  // styles
64
65
  import { theme } from "../../styles/theme/theme";
66
+ import { SvgIconIsland } from "./island";
65
67
 
66
68
  const Icons: React.FC<ISvgProps> = ({ icon, color, size, background }) => {
67
69
  switch (icon) {
@@ -232,6 +234,12 @@ const Icons: React.FC<ISvgProps> = ({ icon, color, size, background }) => {
232
234
  case "HOURGLASS":
233
235
  return <SvgIconHourglass color={color} size={size} icon={"HOURGLASS"} />;
234
236
 
237
+ case "HOUSE":
238
+ return <SvgIconHouse color={color} size={size} icon={"HOUSE"} />;
239
+
240
+ case "ISLAND":
241
+ return <SvgIconIsland color={color} size={size} icon={"ISLAND"} />;
242
+
235
243
  default:
236
244
  return <SvgIconCameraPlus color={color} size={size} icon={"CAMERA_PLUS"} />;
237
245
  }
@@ -239,16 +247,16 @@ const Icons: React.FC<ISvgProps> = ({ icon, color, size, background }) => {
239
247
 
240
248
  const IconsMenuItems: React.FC<ISvgProps> = ({ icon, color, size }) => {
241
249
  switch (icon) {
242
- case "COIL":
243
- return <SvgPackage color={color} size={size} icon={"COIL"} />;
250
+ case "ACTIVITY":
251
+ return <SvgCurrencyCircleDollar color={color} size={size} icon={"ACTIVITY"} />;
244
252
  case "LOADING":
245
- return <SvgTruckTrailer color={color} size={size} icon={"LOADING"} />;
253
+ return <SvgPackage color={color} size={size} icon={"LOADING"} />;
246
254
 
247
255
  case "HISTORY":
248
256
  return <SvgChartBar color={color} size={size} icon={"HISTORY"} />;
249
257
 
250
258
  default:
251
- return <SvgPackage color={color} size={size} icon={"COIL"} />;
259
+ return <SvgCurrencyCircleDollar color={color} size={size} icon={"ACTIVITY"} />;
252
260
  }
253
261
  };
254
262
 
@@ -0,0 +1,25 @@
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 SvgIconIsland: React.FC<ISvgProps> = ({ size }) => (
11
+ <Svg
12
+ //@ts-ignore
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ width={size ?? 24}
15
+ height={size ?? 24}
16
+ viewBox="0 0 256 256"
17
+ >
18
+ <Path d="M238.25 229a8 8 0 0 1-11.25 1.25c-.37-.3-38.82-30.25-99-30.25s-98.64 30-99 30.26a8 8 0 0 1-10-12.51c1.63-1.3 38.52-30.26 98.29-33.45a120 120 0 0 1-3.29-37.93c1.74-21.71 10.92-50.63 43-72.48A64.7 64.7 0 0 0 140.26 72c-19 .62-30.94 11.71-36.5 33.92A8 8 0 0 1 96 112a7.6 7.6 0 0 1-1.94-.24 8 8 0 0 1-5.82-9.7c9.25-36.95 33.11-45.42 51.5-46a81.5 81.5 0 0 1 21.68 2.45c-3.83-6.33-9.43-12.93-17.21-16.25-10-4.24-22.17-2.39-36.31 5.51a8 8 0 0 1-7.8-14c18.74-10.45 35.72-12.54 50.48-6.2 12.49 5.36 20.73 15.78 25.87 25 6.18-9.64 13.88-16.17 22.39-18.94 11.86-3.87 24.64-.72 38 9.37a8 8 0 0 1-9.64 12.76c-8.91-6.73-16.77-9.06-23.35-6.93-7.29 2.35-12.87 10-16.37 16.61A70.5 70.5 0 0 1 208 73.07c14.61 8.35 32 26.05 32 62.94a8 8 0 0 1-16 0c0-23.46-8.07-40-24-49a50.5 50.5 0 0 0-5.75-2.8 55.64 55.64 0 0 1 5.06 33.06 59.4 59.4 0 0 1-8.86 23.41 8 8 0 0 1-13.09-9.2c.74-1.09 16.33-24.38-3.26-49.37-27 15.21-41.89 37.25-44.16 65.59a104.3 104.3 0 0 0 3.83 36.44c62.65 1.81 101.52 32.33 103.2 33.66a8 8 0 0 1 1.28 11.2M24 140a28 28 0 1 1 28 28 28 28 0 0 1-28-28m16 0a12 12 0 1 0 12-12 12 12 0 0 0-12 12"></Path>
19
+ </Svg>
20
+ );
21
+
22
+ /**
23
+ * EXPORTS
24
+ */
25
+ export { SvgIconIsland };