react-native-exp-fig 0.1.0 → 0.1.1
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/package.json +200 -200
- package/src/{index.tsx → index.ts} +23 -23
package/package.json
CHANGED
|
@@ -1,200 +1,200 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "react-native-exp-fig",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Lib para interfaces",
|
|
5
|
-
"source": "./src/index.
|
|
6
|
-
"main": "./
|
|
7
|
-
"module": "./lib/module/index.js",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"import": {
|
|
11
|
-
"types": "./lib/typescript/module/src/index.d.ts",
|
|
12
|
-
"default": "./lib/module/index.js"
|
|
13
|
-
},
|
|
14
|
-
"require": {
|
|
15
|
-
"types": "./lib/typescript/commonjs/src/index.d.ts",
|
|
16
|
-
"default": "./lib/commonjs/index.js"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"src",
|
|
22
|
-
"lib",
|
|
23
|
-
"android",
|
|
24
|
-
"ios",
|
|
25
|
-
"cpp",
|
|
26
|
-
"*.podspec",
|
|
27
|
-
"react-native.config.js",
|
|
28
|
-
"!ios/build",
|
|
29
|
-
"!android/build",
|
|
30
|
-
"!android/gradle",
|
|
31
|
-
"!android/gradlew",
|
|
32
|
-
"!android/gradlew.bat",
|
|
33
|
-
"!android/local.properties",
|
|
34
|
-
"!**/__tests__",
|
|
35
|
-
"!**/__fixtures__",
|
|
36
|
-
"!**/__mocks__",
|
|
37
|
-
"!**/.*"
|
|
38
|
-
],
|
|
39
|
-
"scripts": {
|
|
40
|
-
"example": "yarn workspace react-native-exp-fig-example",
|
|
41
|
-
"test": "jest",
|
|
42
|
-
"typecheck": "tsc",
|
|
43
|
-
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
44
|
-
"lint:fix": "eslint --fix \"**/*.{js,ts,tsx}\"",
|
|
45
|
-
"clean": "del-cli lib",
|
|
46
|
-
"prepare:bob": "bob build",
|
|
47
|
-
"release": "release-it",
|
|
48
|
-
"storybook": "storybook dev -p 6006",
|
|
49
|
-
"format": "prettier --write .",
|
|
50
|
-
"format:check": "prettier --check .",
|
|
51
|
-
"prepare": "husky"
|
|
52
|
-
},
|
|
53
|
-
"keywords": [
|
|
54
|
-
"react-native",
|
|
55
|
-
"ios",
|
|
56
|
-
"android"
|
|
57
|
-
],
|
|
58
|
-
"repository": {
|
|
59
|
-
"type": "git",
|
|
60
|
-
"url": "git+https://github.com/Weverson-Luan/react-native-exp-fig.git"
|
|
61
|
-
},
|
|
62
|
-
"author": "Weverson-Luan <wltech2022@gmail.com> (https://github.com/Weverson-Luan)",
|
|
63
|
-
"license": "MIT",
|
|
64
|
-
"bugs": {
|
|
65
|
-
"url": "https://github.com/Weverson-Luan/react-native-exp-fig/issues"
|
|
66
|
-
},
|
|
67
|
-
"homepage": "https://github.com/Weverson-Luan/react-native-exp-fig#readme",
|
|
68
|
-
"publishConfig": {
|
|
69
|
-
"registry": "https://registry.npmjs.org/"
|
|
70
|
-
},
|
|
71
|
-
"devDependencies": {
|
|
72
|
-
"@babel/core": "^7.26.7",
|
|
73
|
-
"@babel/preset-env": "^7.22.20",
|
|
74
|
-
"@babel/preset-react": "^7.26.3",
|
|
75
|
-
"@commitlint/cli": "^19.7.1",
|
|
76
|
-
"@commitlint/config-conventional": "^19.7.1",
|
|
77
|
-
"@evilmartians/lefthook": "^1.5.0",
|
|
78
|
-
"@react-native/eslint-config": "^0.77.0",
|
|
79
|
-
"@release-it/conventional-changelog": "^9.0.2",
|
|
80
|
-
"@storybook/addon-actions": "^8.3.5",
|
|
81
|
-
"@storybook/addon-controls": "^8.3.5",
|
|
82
|
-
"@storybook/addon-essentials": "^8.3.5",
|
|
83
|
-
"@storybook/addon-links": "^8.3.5",
|
|
84
|
-
"@storybook/addon-ondevice-actions": "8.3.10",
|
|
85
|
-
"@storybook/addon-ondevice-backgrounds": "8.3.10",
|
|
86
|
-
"@storybook/addon-ondevice-controls": "8.3.10",
|
|
87
|
-
"@storybook/addon-ondevice-notes": "8.3.10",
|
|
88
|
-
"@storybook/addon-react-native-web": "^0.0.26",
|
|
89
|
-
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
|
|
90
|
-
"@storybook/addons": "^7.6.17",
|
|
91
|
-
"@storybook/react": "^8.3.5",
|
|
92
|
-
"@storybook/react-native": "^8.5.3",
|
|
93
|
-
"@storybook/react-webpack5": "^8.3.5",
|
|
94
|
-
"@testing-library/jest-native": "^5.4.3",
|
|
95
|
-
"@testing-library/react-native": "^12.3.0",
|
|
96
|
-
"@types/jest": "^29.5.5",
|
|
97
|
-
"@types/react": "^18.2.44",
|
|
98
|
-
"@typescript-eslint/eslint-plugin": "^8.23.0",
|
|
99
|
-
"babel-jest": "^29.7.0",
|
|
100
|
-
"babel-loader": "^9.1.3",
|
|
101
|
-
"babel-plugin-module-resolver": "^5.0.2",
|
|
102
|
-
"babel-plugin-react-docgen-typescript": "^1.5.1",
|
|
103
|
-
"babel-plugin-react-native-web": "^0.19.12",
|
|
104
|
-
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
|
|
105
|
-
"commitlint": "^17.0.2",
|
|
106
|
-
"del-cli": "^5.1.0",
|
|
107
|
-
"eslint": "^9.19.0",
|
|
108
|
-
"eslint-config-prettier": "^10.0.1",
|
|
109
|
-
"eslint-plugin-jest": "^28.11.0",
|
|
110
|
-
"eslint-plugin-prettier": "^5.2.3",
|
|
111
|
-
"eslint-plugin-react": "^7.37.4",
|
|
112
|
-
"eslint-plugin-storybook": "^0.11.2",
|
|
113
|
-
"husky": "^9.1.7",
|
|
114
|
-
"jest": "^29.7.0",
|
|
115
|
-
"prettier": "^3.4.2",
|
|
116
|
-
"react": "18.3.1",
|
|
117
|
-
"react-native": "0.76.6",
|
|
118
|
-
"react-native-builder-bob": "^0.32.0",
|
|
119
|
-
"release-it": "^17.10.0",
|
|
120
|
-
"storybook": "^8.3.5"
|
|
121
|
-
},
|
|
122
|
-
"resolutions": {
|
|
123
|
-
"@types/react": "^18.2.44"
|
|
124
|
-
},
|
|
125
|
-
"peerDependencies": {
|
|
126
|
-
"react": "*",
|
|
127
|
-
"react-native": "*"
|
|
128
|
-
},
|
|
129
|
-
"workspaces": [
|
|
130
|
-
"example"
|
|
131
|
-
],
|
|
132
|
-
"packageManager": "yarn@3.6.1",
|
|
133
|
-
"release-it": {
|
|
134
|
-
"git": {
|
|
135
|
-
"commitMessage": "chore: release ${version}",
|
|
136
|
-
"tagName": "v${version}"
|
|
137
|
-
},
|
|
138
|
-
"npm": {
|
|
139
|
-
"publish": true
|
|
140
|
-
},
|
|
141
|
-
"github": {
|
|
142
|
-
"release": true
|
|
143
|
-
},
|
|
144
|
-
"plugins": {
|
|
145
|
-
"@release-it/conventional-changelog": {
|
|
146
|
-
"preset": "angular"
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
"react-native-builder-bob": {
|
|
151
|
-
"source": "src",
|
|
152
|
-
"output": "lib",
|
|
153
|
-
"targets": [
|
|
154
|
-
[
|
|
155
|
-
"commonjs",
|
|
156
|
-
{
|
|
157
|
-
"esm": true
|
|
158
|
-
}
|
|
159
|
-
],
|
|
160
|
-
[
|
|
161
|
-
"module",
|
|
162
|
-
{
|
|
163
|
-
"esm": true
|
|
164
|
-
}
|
|
165
|
-
],
|
|
166
|
-
[
|
|
167
|
-
"typescript",
|
|
168
|
-
{
|
|
169
|
-
"project": "tsconfig.build.json",
|
|
170
|
-
"esm": true
|
|
171
|
-
}
|
|
172
|
-
]
|
|
173
|
-
]
|
|
174
|
-
},
|
|
175
|
-
"create-react-native-library": {
|
|
176
|
-
"languages": "js",
|
|
177
|
-
"type": "library",
|
|
178
|
-
"version": "0.47.0"
|
|
179
|
-
},
|
|
180
|
-
"dependencies": {
|
|
181
|
-
"@react-native-async-storage/async-storage": "^2.0.0",
|
|
182
|
-
"@react-native-community/datetimepicker": "^8.2.0",
|
|
183
|
-
"@react-native-community/slider": "^4.5.3",
|
|
184
|
-
"@storybook/test": "^8.3.0",
|
|
185
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
186
|
-
"jest-matcher-utils": "^29.7.0",
|
|
187
|
-
"react": "18.3.1",
|
|
188
|
-
"react-dom": "^18.3.1",
|
|
189
|
-
"react-native": "0.75.4",
|
|
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
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "react-native-exp-fig",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Lib para interfaces",
|
|
5
|
+
"source": "./src/index.ts",
|
|
6
|
+
"main": "./src/index.ts",
|
|
7
|
+
"module": "./lib/module/index.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": {
|
|
11
|
+
"types": "./lib/typescript/module/src/index.d.ts",
|
|
12
|
+
"default": "./lib/module/index.js"
|
|
13
|
+
},
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./lib/typescript/commonjs/src/index.d.ts",
|
|
16
|
+
"default": "./lib/commonjs/index.js"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"src",
|
|
22
|
+
"lib",
|
|
23
|
+
"android",
|
|
24
|
+
"ios",
|
|
25
|
+
"cpp",
|
|
26
|
+
"*.podspec",
|
|
27
|
+
"react-native.config.js",
|
|
28
|
+
"!ios/build",
|
|
29
|
+
"!android/build",
|
|
30
|
+
"!android/gradle",
|
|
31
|
+
"!android/gradlew",
|
|
32
|
+
"!android/gradlew.bat",
|
|
33
|
+
"!android/local.properties",
|
|
34
|
+
"!**/__tests__",
|
|
35
|
+
"!**/__fixtures__",
|
|
36
|
+
"!**/__mocks__",
|
|
37
|
+
"!**/.*"
|
|
38
|
+
],
|
|
39
|
+
"scripts": {
|
|
40
|
+
"example": "yarn workspace react-native-exp-fig-example",
|
|
41
|
+
"test": "jest",
|
|
42
|
+
"typecheck": "tsc",
|
|
43
|
+
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
44
|
+
"lint:fix": "eslint --fix \"**/*.{js,ts,tsx}\"",
|
|
45
|
+
"clean": "del-cli lib",
|
|
46
|
+
"prepare:bob": "bob build",
|
|
47
|
+
"release": "release-it",
|
|
48
|
+
"storybook": "storybook dev -p 6006",
|
|
49
|
+
"format": "prettier --write .",
|
|
50
|
+
"format:check": "prettier --check .",
|
|
51
|
+
"prepare": "husky"
|
|
52
|
+
},
|
|
53
|
+
"keywords": [
|
|
54
|
+
"react-native",
|
|
55
|
+
"ios",
|
|
56
|
+
"android"
|
|
57
|
+
],
|
|
58
|
+
"repository": {
|
|
59
|
+
"type": "git",
|
|
60
|
+
"url": "git+https://github.com/Weverson-Luan/react-native-exp-fig.git"
|
|
61
|
+
},
|
|
62
|
+
"author": "Weverson-Luan <wltech2022@gmail.com> (https://github.com/Weverson-Luan)",
|
|
63
|
+
"license": "MIT",
|
|
64
|
+
"bugs": {
|
|
65
|
+
"url": "https://github.com/Weverson-Luan/react-native-exp-fig/issues"
|
|
66
|
+
},
|
|
67
|
+
"homepage": "https://github.com/Weverson-Luan/react-native-exp-fig#readme",
|
|
68
|
+
"publishConfig": {
|
|
69
|
+
"registry": "https://registry.npmjs.org/"
|
|
70
|
+
},
|
|
71
|
+
"devDependencies": {
|
|
72
|
+
"@babel/core": "^7.26.7",
|
|
73
|
+
"@babel/preset-env": "^7.22.20",
|
|
74
|
+
"@babel/preset-react": "^7.26.3",
|
|
75
|
+
"@commitlint/cli": "^19.7.1",
|
|
76
|
+
"@commitlint/config-conventional": "^19.7.1",
|
|
77
|
+
"@evilmartians/lefthook": "^1.5.0",
|
|
78
|
+
"@react-native/eslint-config": "^0.77.0",
|
|
79
|
+
"@release-it/conventional-changelog": "^9.0.2",
|
|
80
|
+
"@storybook/addon-actions": "^8.3.5",
|
|
81
|
+
"@storybook/addon-controls": "^8.3.5",
|
|
82
|
+
"@storybook/addon-essentials": "^8.3.5",
|
|
83
|
+
"@storybook/addon-links": "^8.3.5",
|
|
84
|
+
"@storybook/addon-ondevice-actions": "8.3.10",
|
|
85
|
+
"@storybook/addon-ondevice-backgrounds": "8.3.10",
|
|
86
|
+
"@storybook/addon-ondevice-controls": "8.3.10",
|
|
87
|
+
"@storybook/addon-ondevice-notes": "8.3.10",
|
|
88
|
+
"@storybook/addon-react-native-web": "^0.0.26",
|
|
89
|
+
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
|
|
90
|
+
"@storybook/addons": "^7.6.17",
|
|
91
|
+
"@storybook/react": "^8.3.5",
|
|
92
|
+
"@storybook/react-native": "^8.5.3",
|
|
93
|
+
"@storybook/react-webpack5": "^8.3.5",
|
|
94
|
+
"@testing-library/jest-native": "^5.4.3",
|
|
95
|
+
"@testing-library/react-native": "^12.3.0",
|
|
96
|
+
"@types/jest": "^29.5.5",
|
|
97
|
+
"@types/react": "^18.2.44",
|
|
98
|
+
"@typescript-eslint/eslint-plugin": "^8.23.0",
|
|
99
|
+
"babel-jest": "^29.7.0",
|
|
100
|
+
"babel-loader": "^9.1.3",
|
|
101
|
+
"babel-plugin-module-resolver": "^5.0.2",
|
|
102
|
+
"babel-plugin-react-docgen-typescript": "^1.5.1",
|
|
103
|
+
"babel-plugin-react-native-web": "^0.19.12",
|
|
104
|
+
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
|
|
105
|
+
"commitlint": "^17.0.2",
|
|
106
|
+
"del-cli": "^5.1.0",
|
|
107
|
+
"eslint": "^9.19.0",
|
|
108
|
+
"eslint-config-prettier": "^10.0.1",
|
|
109
|
+
"eslint-plugin-jest": "^28.11.0",
|
|
110
|
+
"eslint-plugin-prettier": "^5.2.3",
|
|
111
|
+
"eslint-plugin-react": "^7.37.4",
|
|
112
|
+
"eslint-plugin-storybook": "^0.11.2",
|
|
113
|
+
"husky": "^9.1.7",
|
|
114
|
+
"jest": "^29.7.0",
|
|
115
|
+
"prettier": "^3.4.2",
|
|
116
|
+
"react": "18.3.1",
|
|
117
|
+
"react-native": "0.76.6",
|
|
118
|
+
"react-native-builder-bob": "^0.32.0",
|
|
119
|
+
"release-it": "^17.10.0",
|
|
120
|
+
"storybook": "^8.3.5"
|
|
121
|
+
},
|
|
122
|
+
"resolutions": {
|
|
123
|
+
"@types/react": "^18.2.44"
|
|
124
|
+
},
|
|
125
|
+
"peerDependencies": {
|
|
126
|
+
"react": "*",
|
|
127
|
+
"react-native": "*"
|
|
128
|
+
},
|
|
129
|
+
"workspaces": [
|
|
130
|
+
"example"
|
|
131
|
+
],
|
|
132
|
+
"packageManager": "yarn@3.6.1",
|
|
133
|
+
"release-it": {
|
|
134
|
+
"git": {
|
|
135
|
+
"commitMessage": "chore: release ${version}",
|
|
136
|
+
"tagName": "v${version}"
|
|
137
|
+
},
|
|
138
|
+
"npm": {
|
|
139
|
+
"publish": true
|
|
140
|
+
},
|
|
141
|
+
"github": {
|
|
142
|
+
"release": true
|
|
143
|
+
},
|
|
144
|
+
"plugins": {
|
|
145
|
+
"@release-it/conventional-changelog": {
|
|
146
|
+
"preset": "angular"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"react-native-builder-bob": {
|
|
151
|
+
"source": "src",
|
|
152
|
+
"output": "lib",
|
|
153
|
+
"targets": [
|
|
154
|
+
[
|
|
155
|
+
"commonjs",
|
|
156
|
+
{
|
|
157
|
+
"esm": true
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
[
|
|
161
|
+
"module",
|
|
162
|
+
{
|
|
163
|
+
"esm": true
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
[
|
|
167
|
+
"typescript",
|
|
168
|
+
{
|
|
169
|
+
"project": "tsconfig.build.json",
|
|
170
|
+
"esm": true
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
"create-react-native-library": {
|
|
176
|
+
"languages": "js",
|
|
177
|
+
"type": "library",
|
|
178
|
+
"version": "0.47.0"
|
|
179
|
+
},
|
|
180
|
+
"dependencies": {
|
|
181
|
+
"@react-native-async-storage/async-storage": "^2.0.0",
|
|
182
|
+
"@react-native-community/datetimepicker": "^8.2.0",
|
|
183
|
+
"@react-native-community/slider": "^4.5.3",
|
|
184
|
+
"@storybook/test": "^8.3.0",
|
|
185
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
186
|
+
"jest-matcher-utils": "^29.7.0",
|
|
187
|
+
"react": "18.3.1",
|
|
188
|
+
"react-dom": "^18.3.1",
|
|
189
|
+
"react-native": "0.75.4",
|
|
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
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EXPORTS
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
// Components
|
|
6
|
-
export { Box } from "./components/box";
|
|
7
|
-
export { Button } from "./components/button";
|
|
8
|
-
export { StepIndicator } from "./components/step-indicator";
|
|
9
|
-
export { Typography } from "./components/typography";
|
|
10
|
-
export { Input } from "./components/input";
|
|
11
|
-
export { CapturePhoto } from "./components/capture-photo";
|
|
12
|
-
export { CardHours } from "./components/card-hours";
|
|
13
|
-
export { SelectOption } from "./components/selects/select-option";
|
|
14
|
-
export { Header } from "./components/header-profile";
|
|
15
|
-
export { ScheduledJourneyIndicators } from "./components/scheduled-journey-indicators";
|
|
16
|
-
export { CardScheduledJourney } from "./components/card-scheduled-journey";
|
|
17
|
-
|
|
18
|
-
// Utilities
|
|
19
|
-
export { multiply } from "./utils/mutiply";
|
|
20
|
-
export { formatDate } from "./utils/format-data";
|
|
21
|
-
|
|
22
|
-
// Styles
|
|
23
|
-
export { theme } from "./styles/theme/theme";
|
|
1
|
+
/**
|
|
2
|
+
* EXPORTS
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
// Components
|
|
6
|
+
export { Box } from "./components/box";
|
|
7
|
+
export { Button } from "./components/button";
|
|
8
|
+
export { StepIndicator } from "./components/step-indicator";
|
|
9
|
+
export { Typography } from "./components/typography";
|
|
10
|
+
export { Input } from "./components/input";
|
|
11
|
+
export { CapturePhoto } from "./components/capture-photo";
|
|
12
|
+
export { CardHours } from "./components/card-hours";
|
|
13
|
+
export { SelectOption } from "./components/selects/select-option";
|
|
14
|
+
export { Header } from "./components/header-profile";
|
|
15
|
+
export { ScheduledJourneyIndicators } from "./components/scheduled-journey-indicators";
|
|
16
|
+
export { CardScheduledJourney } from "./components/card-scheduled-journey";
|
|
17
|
+
|
|
18
|
+
// Utilities
|
|
19
|
+
export { multiply } from "./utils/mutiply";
|
|
20
|
+
export { formatDate } from "./utils/format-data";
|
|
21
|
+
|
|
22
|
+
// Styles
|
|
23
|
+
export { theme } from "./styles/theme/theme";
|