react-native-exp-fig 0.1.16 → 0.1.17
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/common/icons-svg/constants/index.js +4 -4
- package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/hourglass/index.js +4 -4
- package/lib/commonjs/common/icons-svg/hourglass/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/index.js +4 -4
- package/lib/commonjs/common/icons-svg/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconCallBell.js +46 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconCallBell.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconCoffee.js +47 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconCoffee.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconGear.js +47 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconGear.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconHourGlassMedium.js +48 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconHourGlassMedium.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconHouse.js +46 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconHouse.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconMoonStars.js +48 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconMoonStars.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconSteeringWheel.js +54 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconSteeringWheel.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconTimer.js +45 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconTimer.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconTruck.js +35 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconTruck.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/index.js +80 -0
- package/lib/commonjs/common/icons-svg/modal-activities/index.js.map +1 -0
- package/lib/commonjs/components/history-details/index.js +4 -4
- package/lib/commonjs/components/history-details/index.js.map +1 -1
- package/lib/commonjs/components/modal-activities/data-activities/index.js +62 -0
- package/lib/commonjs/components/modal-activities/data-activities/index.js.map +1 -0
- package/lib/commonjs/components/modal-activities/index.js +30 -38
- package/lib/commonjs/components/modal-activities/index.js.map +1 -1
- package/lib/commonjs/components/modal-activities/interface.d.js.map +1 -1
- package/lib/commonjs/components/notification-loading/index.js +4 -4
- package/lib/commonjs/components/notification-loading/index.js.map +1 -1
- package/lib/commonjs/components/step-indicator/styles.js +4 -4
- package/lib/commonjs/components/step-indicator/styles.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/stories/modal-activities/modal-activities.stories.js +21 -5
- package/lib/commonjs/stories/modal-activities/modal-activities.stories.js.map +1 -1
- package/lib/commonjs/styles/global/interface.d.js.map +1 -1
- package/lib/module/common/icons-svg/constants/index.js +4 -4
- package/lib/module/common/icons-svg/constants/index.js.map +1 -1
- package/lib/module/common/icons-svg/hourglass/index.js +4 -4
- package/lib/module/common/icons-svg/hourglass/index.js.map +1 -1
- package/lib/module/common/icons-svg/index.js +4 -4
- package/lib/module/common/icons-svg/index.js.map +1 -1
- package/lib/module/common/icons-svg/modal-activities/SvgIconCallBell.js +37 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconCallBell.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconCoffee.js +38 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconCoffee.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconGear.js +38 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconGear.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconHourGlassMedium.js +39 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconHourGlassMedium.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconHouse.js +37 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconHouse.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconMoonStars.js +40 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconMoonStars.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconSteeringWheel.js +45 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconSteeringWheel.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconTimer.js +36 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconTimer.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconTruck.js +26 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconTruck.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/index.js +75 -0
- package/lib/module/common/icons-svg/modal-activities/index.js.map +1 -0
- package/lib/module/components/history-details/index.js +4 -4
- package/lib/module/components/history-details/index.js.map +1 -1
- package/lib/module/components/modal-activities/data-activities/index.js +56 -0
- package/lib/module/components/modal-activities/data-activities/index.js.map +1 -0
- package/lib/module/components/modal-activities/index.js +29 -38
- package/lib/module/components/modal-activities/index.js.map +1 -1
- package/lib/module/components/modal-activities/interface.d.js.map +1 -1
- package/lib/module/components/notification-loading/index.js +4 -4
- package/lib/module/components/notification-loading/index.js.map +1 -1
- package/lib/module/components/step-indicator/styles.js +4 -4
- package/lib/module/components/step-indicator/styles.js.map +1 -1
- package/lib/module/index.js +2 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/stories/modal-activities/modal-activities.stories.js +20 -4
- package/lib/module/stories/modal-activities/modal-activities.stories.js.map +1 -1
- package/lib/module/styles/global/interface.d.js.map +1 -1
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconCallBell.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconCoffee.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconGear.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconHourGlassMedium.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconHouse.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconMoonStars.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconSteeringWheel.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconTimer.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconTruck.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/index.d.ts +23 -0
- package/lib/typescript/src/components/modal-activities/data-activities/index.d.ts +19 -0
- package/lib/typescript/src/stories/modal-activities/modal-activities.stories.d.ts +2 -1
- package/package.json +221 -221
- package/src/common/icons-svg/constants/index.ts +64 -64
- package/src/common/icons-svg/hourglass/index.tsx +28 -28
- package/src/common/icons-svg/index.tsx +259 -259
- package/src/common/icons-svg/modal-activities/SvgIconCallBell.tsx +37 -0
- package/src/common/icons-svg/modal-activities/SvgIconCoffee.tsx +38 -0
- package/src/common/icons-svg/modal-activities/SvgIconGear.tsx +38 -0
- package/src/common/icons-svg/modal-activities/SvgIconHourGlassMedium.tsx +38 -0
- package/src/common/icons-svg/modal-activities/SvgIconHouse.tsx +37 -0
- package/src/common/icons-svg/modal-activities/SvgIconMoonStars.tsx +39 -0
- package/src/common/icons-svg/modal-activities/SvgIconSteeringWheel.tsx +48 -0
- package/src/common/icons-svg/modal-activities/SvgIconTimer.tsx +37 -0
- package/src/common/icons-svg/modal-activities/SvgIconTruck.tsx +28 -0
- package/src/common/icons-svg/modal-activities/index.tsx +53 -0
- package/src/components/button/styles.ts +34 -34
- package/src/components/card-history/index.tsx +211 -211
- package/src/components/card-history/interface.d.ts +34 -34
- package/src/components/card-loading/index.tsx +290 -290
- package/src/components/history-details/index.tsx +99 -99
- package/src/components/image-capture-with-remove/index.tsx +92 -92
- package/src/components/image-capture-with-remove/interface.d.ts +28 -28
- package/src/components/loading-progress/index.tsx +93 -93
- package/src/components/modal-activities/data-activities/index.ts +65 -0
- package/src/components/modal-activities/index.tsx +137 -139
- package/src/components/modal-activities/interface.d.ts +32 -21
- package/src/components/notification-loading/index.tsx +162 -162
- package/src/components/step-indicator/styles.ts +68 -68
- package/src/index.ts +43 -43
- package/src/stories/card-history/card-history.stories.tsx +50 -50
- package/src/stories/modal-activities/modal-activities.stories.tsx +64 -46
- package/src/styles/global/interface.d.ts +146 -146
- package/src/styles/theme/theme.ts +171 -171
- package/src/utils/status-color/return-color.ts +34 -34
package/package.json
CHANGED
|
@@ -1,221 +1,221 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "react-native-exp-fig",
|
|
3
|
-
"version": "0.1.
|
|
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.17",
|
|
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,64 +1,64 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
const SVG_NAME = {
|
|
6
|
-
CAMERA_PLUS: "camera-plus",
|
|
7
|
-
STEERING_WHEEL: "steering-wheel",
|
|
8
|
-
CHECK_BOX_FILL: "check-box-fill",
|
|
9
|
-
CHECK_BOX: "check-box",
|
|
10
|
-
CHECK_BOX_OUTLINE: "check-box-outline",
|
|
11
|
-
MOON_STARS: "moon-stars",
|
|
12
|
-
CALL_BELL: "call-bell",
|
|
13
|
-
STEERING_WHEEL_FILL: "steering-wheel-fill",
|
|
14
|
-
TROPHY: "trophy",
|
|
15
|
-
SHOPPING_CART: "Pedido Realizado",
|
|
16
|
-
CREDIT_CARD: "Pagamento Aprovado",
|
|
17
|
-
FILE_TEXT: "Pedido Faturado",
|
|
18
|
-
TRUCK: "Pedido Enviado",
|
|
19
|
-
PACKAGE_CHECK: "Pedido Entregue",
|
|
20
|
-
PLUS: "plus",
|
|
21
|
-
EYE_SLASH: "eye-slash",
|
|
22
|
-
EYE: "eye",
|
|
23
|
-
CALENDAR: "calendar",
|
|
24
|
-
TIMER: "timer",
|
|
25
|
-
GEAR: "gear",
|
|
26
|
-
CURRENCY: "currency",
|
|
27
|
-
GAUGE: "gauge",
|
|
28
|
-
GAS_PUMP: "gas-pump",
|
|
29
|
-
ARROW_LEFT: "arrow-left",
|
|
30
|
-
BLUETOOTH: "bluetooth",
|
|
31
|
-
BLUETOOTH_CONNECTED: "bluetooth-connected",
|
|
32
|
-
LIST: "list",
|
|
33
|
-
WIFI_X: "wifi-x",
|
|
34
|
-
WIFI_HIGH: "wifi-high",
|
|
35
|
-
NOTE_PINCEL: "note-pincel",
|
|
36
|
-
CHECK_CIRCLE: "check-circle",
|
|
37
|
-
ARROW_DROP_DOWN: "arrow-drop-down",
|
|
38
|
-
CLOSED: "closed",
|
|
39
|
-
LOADING: "currency-circle-dollar",
|
|
40
|
-
COIL: "package",
|
|
41
|
-
HISTORY: "chart-bar",
|
|
42
|
-
BELL: "bell",
|
|
43
|
-
FILES: "files",
|
|
44
|
-
LIFEBUOY: "lifebuoy",
|
|
45
|
-
RECUSED: "recused",
|
|
46
|
-
EXCLAMATION_CIRCLE: "exclamation-circle",
|
|
47
|
-
X_CIRCLE: "x-circle",
|
|
48
|
-
ELLIPSE: "ellipsis",
|
|
49
|
-
PENCIL: "pencil",
|
|
50
|
-
CAR: "car",
|
|
51
|
-
TRUCK_ACTIVITY: "truck-activity",
|
|
52
|
-
COFFEE: "coffee",
|
|
53
|
-
AGENT: "agent",
|
|
54
|
-
CHECK_OUTLINE: "check-outline",
|
|
55
|
-
BED: "bed",
|
|
56
|
-
REFRESH_CCW_DOT: "refresh-ccw-dot",
|
|
57
|
-
HOURGLASS: "hourglass",
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* EXPORTS
|
|
62
|
-
*/
|
|
63
|
-
|
|
64
|
-
export { SVG_NAME };
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
const SVG_NAME = {
|
|
6
|
+
CAMERA_PLUS: "camera-plus",
|
|
7
|
+
STEERING_WHEEL: "steering-wheel",
|
|
8
|
+
CHECK_BOX_FILL: "check-box-fill",
|
|
9
|
+
CHECK_BOX: "check-box",
|
|
10
|
+
CHECK_BOX_OUTLINE: "check-box-outline",
|
|
11
|
+
MOON_STARS: "moon-stars",
|
|
12
|
+
CALL_BELL: "call-bell",
|
|
13
|
+
STEERING_WHEEL_FILL: "steering-wheel-fill",
|
|
14
|
+
TROPHY: "trophy",
|
|
15
|
+
SHOPPING_CART: "Pedido Realizado",
|
|
16
|
+
CREDIT_CARD: "Pagamento Aprovado",
|
|
17
|
+
FILE_TEXT: "Pedido Faturado",
|
|
18
|
+
TRUCK: "Pedido Enviado",
|
|
19
|
+
PACKAGE_CHECK: "Pedido Entregue",
|
|
20
|
+
PLUS: "plus",
|
|
21
|
+
EYE_SLASH: "eye-slash",
|
|
22
|
+
EYE: "eye",
|
|
23
|
+
CALENDAR: "calendar",
|
|
24
|
+
TIMER: "timer",
|
|
25
|
+
GEAR: "gear",
|
|
26
|
+
CURRENCY: "currency",
|
|
27
|
+
GAUGE: "gauge",
|
|
28
|
+
GAS_PUMP: "gas-pump",
|
|
29
|
+
ARROW_LEFT: "arrow-left",
|
|
30
|
+
BLUETOOTH: "bluetooth",
|
|
31
|
+
BLUETOOTH_CONNECTED: "bluetooth-connected",
|
|
32
|
+
LIST: "list",
|
|
33
|
+
WIFI_X: "wifi-x",
|
|
34
|
+
WIFI_HIGH: "wifi-high",
|
|
35
|
+
NOTE_PINCEL: "note-pincel",
|
|
36
|
+
CHECK_CIRCLE: "check-circle",
|
|
37
|
+
ARROW_DROP_DOWN: "arrow-drop-down",
|
|
38
|
+
CLOSED: "closed",
|
|
39
|
+
LOADING: "currency-circle-dollar",
|
|
40
|
+
COIL: "package",
|
|
41
|
+
HISTORY: "chart-bar",
|
|
42
|
+
BELL: "bell",
|
|
43
|
+
FILES: "files",
|
|
44
|
+
LIFEBUOY: "lifebuoy",
|
|
45
|
+
RECUSED: "recused",
|
|
46
|
+
EXCLAMATION_CIRCLE: "exclamation-circle",
|
|
47
|
+
X_CIRCLE: "x-circle",
|
|
48
|
+
ELLIPSE: "ellipsis",
|
|
49
|
+
PENCIL: "pencil",
|
|
50
|
+
CAR: "car",
|
|
51
|
+
TRUCK_ACTIVITY: "truck-activity",
|
|
52
|
+
COFFEE: "coffee",
|
|
53
|
+
AGENT: "agent",
|
|
54
|
+
CHECK_OUTLINE: "check-outline",
|
|
55
|
+
BED: "bed",
|
|
56
|
+
REFRESH_CCW_DOT: "refresh-ccw-dot",
|
|
57
|
+
HOURGLASS: "hourglass",
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* EXPORTS
|
|
62
|
+
*/
|
|
63
|
+
|
|
64
|
+
export { SVG_NAME };
|
|
@@ -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 };
|