native-pytech 1.0.47 → 1.0.49
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { sizes } from './constants';
|
|
1
|
+
export { sizes, colors } from './constants';
|
|
2
2
|
export { default } from './components/Gradient';
|
|
@@ -51,34 +51,34 @@ function Component({ data = [], renderItem, onSave, }) {
|
|
|
51
51
|
isUniqueItem: (data?.length ?? 0) === 1,
|
|
52
52
|
textFieldsRefs
|
|
53
53
|
}), []);
|
|
54
|
-
return (<>
|
|
55
|
-
<Stack.Toolbar placement="left">
|
|
56
|
-
<Stack.Toolbar.Button onPress={() => router.back()}>
|
|
57
|
-
<Stack.Toolbar.Icon sf="xmark"/>
|
|
58
|
-
</Stack.Toolbar.Button>
|
|
59
|
-
</Stack.Toolbar>
|
|
60
|
-
|
|
61
|
-
<Stack.Toolbar placement="right">
|
|
62
|
-
<Stack.Toolbar.Button disabled={!saveEnabled} variant="done" onPress={onPressSave}>
|
|
63
|
-
<Stack.Toolbar.Icon sf="checkmark"/>
|
|
64
|
-
</Stack.Toolbar.Button>
|
|
65
|
-
</Stack.Toolbar>
|
|
66
|
-
|
|
67
|
-
<Host style={{ flex: 1 }}>
|
|
68
|
-
<List>
|
|
69
|
-
<Section>
|
|
70
|
-
<Provider value={value}>
|
|
54
|
+
return (<>
|
|
55
|
+
<Stack.Toolbar placement="left">
|
|
56
|
+
<Stack.Toolbar.Button onPress={() => router.back()}>
|
|
57
|
+
<Stack.Toolbar.Icon sf="xmark"/>
|
|
58
|
+
</Stack.Toolbar.Button>
|
|
59
|
+
</Stack.Toolbar>
|
|
60
|
+
|
|
61
|
+
<Stack.Toolbar placement="right">
|
|
62
|
+
<Stack.Toolbar.Button disabled={!saveEnabled} variant="done" onPress={onPressSave}>
|
|
63
|
+
<Stack.Toolbar.Icon sf="checkmark"/>
|
|
64
|
+
</Stack.Toolbar.Button>
|
|
65
|
+
</Stack.Toolbar>
|
|
66
|
+
|
|
67
|
+
<Host style={{ flex: 1 }}>
|
|
68
|
+
<List>
|
|
69
|
+
<Section>
|
|
70
|
+
<Provider value={value}>
|
|
71
71
|
{data.map((item, index) => {
|
|
72
72
|
const nextIndex = index + 1;
|
|
73
73
|
const value = { index, nextIndex: nextIndex < data.length ? nextIndex : undefined };
|
|
74
|
-
return (<ItemProvider key={index} value={value}>
|
|
75
|
-
{renderItem?.(item)}
|
|
74
|
+
return (<ItemProvider key={index} value={value}>
|
|
75
|
+
{renderItem?.(item)}
|
|
76
76
|
</ItemProvider>);
|
|
77
|
-
})}
|
|
78
|
-
</Provider>
|
|
79
|
-
</Section>
|
|
80
|
-
</List>
|
|
81
|
-
</Host>
|
|
77
|
+
})}
|
|
78
|
+
</Provider>
|
|
79
|
+
</Section>
|
|
80
|
+
</List>
|
|
81
|
+
</Host>
|
|
82
82
|
</>);
|
|
83
83
|
}
|
|
84
84
|
export default memo(Component);
|
package/package.json
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "native-pytech",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Libreria de React Native Pytech",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"author": "Matias Tobias Gutierrez",
|
|
8
|
-
"license": "MIT",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"build": "node scripts/build.js",
|
|
11
|
-
"typecheck": "tsc --noEmit",
|
|
12
|
-
"prepublishOnly": "npm run build",
|
|
13
|
-
"release": "npm version patch && npm publish"
|
|
14
|
-
},
|
|
15
|
-
"files": [
|
|
16
|
-
"dist",
|
|
17
|
-
"LICENSE",
|
|
18
|
-
"README.md"
|
|
19
|
-
],
|
|
20
|
-
"peerDependencies": {
|
|
21
|
-
"@expo/vector-icons": "^15.0.3",
|
|
22
|
-
"@legendapp/list": "^2.0.19",
|
|
23
|
-
"@legendapp/state": "^3.0.0-beta.45",
|
|
24
|
-
"@react-native-async-storage/async-storage": "~2.2.0",
|
|
25
|
-
"@react-native-masked-view/masked-view": "0.3.2",
|
|
26
|
-
"@supabase/supabase-js": "^2.104.1",
|
|
27
|
-
"color2k": "^2.0.3",
|
|
28
|
-
"expo": "~55.0.16",
|
|
29
|
-
"expo-blur": "~55.0.0",
|
|
30
|
-
"expo-constants": "~55.0.15",
|
|
31
|
-
"expo-device": "~55.0.15",
|
|
32
|
-
"expo-glass-effect": "~55.0.0",
|
|
33
|
-
"expo-linear-gradient": "~55.0.0",
|
|
34
|
-
"expo-mesh-gradient": "~55.0.0",
|
|
35
|
-
"expo-router": "~55.0.0",
|
|
36
|
-
"expo-sqlite": "*",
|
|
37
|
-
"react": "~19.2.0",
|
|
38
|
-
"react-native": "^0.83.6",
|
|
39
|
-
"react-native-reanimated": "^4.2.1",
|
|
40
|
-
"react-native-reorderable-list": "^0.17.0",
|
|
41
|
-
"react-native-svg": "^15.15.0",
|
|
42
|
-
"react-native-url-polyfill": "^3.0.0",
|
|
43
|
-
"react-native-worklets": "^0.7.4"
|
|
44
|
-
},
|
|
45
|
-
"devDependencies": {
|
|
46
|
-
"@types/fontfaceobserver": "^2.1.3",
|
|
47
|
-
"@types/react": "~19.2.10",
|
|
48
|
-
"babel-plugin-module-resolver": "^5.0.3",
|
|
49
|
-
"copyfiles": "^2.4.1",
|
|
50
|
-
"expo": "~55.0.0",
|
|
51
|
-
"react": "~19.2.0",
|
|
52
|
-
"react-native": "0.83.6",
|
|
53
|
-
"react-native-svg-transformer": "^1.5.3",
|
|
54
|
-
"rimraf": "^6.1.3",
|
|
55
|
-
"tsc-alias": "^1.8.16",
|
|
56
|
-
"typescript": "~5.9.2"
|
|
57
|
-
},
|
|
58
|
-
"exports": {
|
|
59
|
-
".": {
|
|
60
|
-
"types": "./dist/index.d.ts",
|
|
61
|
-
"default": "./dist/index.js"
|
|
62
|
-
},
|
|
63
|
-
"./*": {
|
|
64
|
-
"types": "./dist/app/*.d.ts",
|
|
65
|
-
"default": "./dist/app/*.js"
|
|
66
|
-
},
|
|
67
|
-
"./assets/images/*": {
|
|
68
|
-
"default": "./dist/libs/assets/images/*"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"dependencies": {
|
|
72
|
-
"@expo/ui": "~55.0.12",
|
|
73
|
-
"date-fns": "^4.1.0"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "native-pytech",
|
|
3
|
+
"version": "1.0.49",
|
|
4
|
+
"description": "Libreria de React Native Pytech",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"author": "Matias Tobias Gutierrez",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "node scripts/build.js",
|
|
11
|
+
"typecheck": "tsc --noEmit",
|
|
12
|
+
"prepublishOnly": "npm run build",
|
|
13
|
+
"release": "npm version patch && npm publish"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"LICENSE",
|
|
18
|
+
"README.md"
|
|
19
|
+
],
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"@expo/vector-icons": "^15.0.3",
|
|
22
|
+
"@legendapp/list": "^2.0.19",
|
|
23
|
+
"@legendapp/state": "^3.0.0-beta.45",
|
|
24
|
+
"@react-native-async-storage/async-storage": "~2.2.0",
|
|
25
|
+
"@react-native-masked-view/masked-view": "0.3.2",
|
|
26
|
+
"@supabase/supabase-js": "^2.104.1",
|
|
27
|
+
"color2k": "^2.0.3",
|
|
28
|
+
"expo": "~55.0.16",
|
|
29
|
+
"expo-blur": "~55.0.0",
|
|
30
|
+
"expo-constants": "~55.0.15",
|
|
31
|
+
"expo-device": "~55.0.15",
|
|
32
|
+
"expo-glass-effect": "~55.0.0",
|
|
33
|
+
"expo-linear-gradient": "~55.0.0",
|
|
34
|
+
"expo-mesh-gradient": "~55.0.0",
|
|
35
|
+
"expo-router": "~55.0.0",
|
|
36
|
+
"expo-sqlite": "*",
|
|
37
|
+
"react": "~19.2.0",
|
|
38
|
+
"react-native": "^0.83.6",
|
|
39
|
+
"react-native-reanimated": "^4.2.1",
|
|
40
|
+
"react-native-reorderable-list": "^0.17.0",
|
|
41
|
+
"react-native-svg": "^15.15.0",
|
|
42
|
+
"react-native-url-polyfill": "^3.0.0",
|
|
43
|
+
"react-native-worklets": "^0.7.4"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@types/fontfaceobserver": "^2.1.3",
|
|
47
|
+
"@types/react": "~19.2.10",
|
|
48
|
+
"babel-plugin-module-resolver": "^5.0.3",
|
|
49
|
+
"copyfiles": "^2.4.1",
|
|
50
|
+
"expo": "~55.0.0",
|
|
51
|
+
"react": "~19.2.0",
|
|
52
|
+
"react-native": "0.83.6",
|
|
53
|
+
"react-native-svg-transformer": "^1.5.3",
|
|
54
|
+
"rimraf": "^6.1.3",
|
|
55
|
+
"tsc-alias": "^1.8.16",
|
|
56
|
+
"typescript": "~5.9.2"
|
|
57
|
+
},
|
|
58
|
+
"exports": {
|
|
59
|
+
".": {
|
|
60
|
+
"types": "./dist/index.d.ts",
|
|
61
|
+
"default": "./dist/index.js"
|
|
62
|
+
},
|
|
63
|
+
"./*": {
|
|
64
|
+
"types": "./dist/app/*.d.ts",
|
|
65
|
+
"default": "./dist/app/*.js"
|
|
66
|
+
},
|
|
67
|
+
"./assets/images/*": {
|
|
68
|
+
"default": "./dist/libs/assets/images/*"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"dependencies": {
|
|
72
|
+
"@expo/ui": "~55.0.12",
|
|
73
|
+
"date-fns": "^4.1.0"
|
|
74
|
+
}
|
|
75
|
+
}
|