native-pytech 1.0.234 → 1.0.236

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 (89) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +66 -66
  3. package/dist/libs/assets/components/RemoveCircle.js +4 -4
  4. package/dist/libs/assets/components/ReorderThreeOutline.js +6 -6
  5. package/dist/libs/assets/images/login_apple.svg +27 -27
  6. package/dist/libs/assets/images/login_letras.svg +40 -40
  7. package/dist/libs/assets/images/login_letras_dark.svg +40 -40
  8. package/dist/libs/assets/images/login_sol.svg +58 -58
  9. package/dist/libs/assets/images/logo_letras.svg +28 -28
  10. package/dist/libs/assets/images/logo_letras_dark.svg +28 -28
  11. package/dist/libs/assets/images/remove-circle.svg +3 -3
  12. package/dist/libs/assets/images/test.svg +22 -22
  13. package/dist/libs/assets/ionicons/Ionicons.js +2 -2
  14. package/dist/libs/colorPage/src/Content/index.android.js +4 -4
  15. package/dist/libs/colorPage/src/Content/index.ios.js +10 -10
  16. package/dist/libs/colorPage/src/Content/index.js +4 -4
  17. package/dist/libs/colorPage/src/Item/index.android.js +15 -15
  18. package/dist/libs/colorPage/src/Item/index.ios.js +2 -2
  19. package/dist/libs/colorPage/src/Item/index.js +2 -2
  20. package/dist/libs/colorPage/src/Page/index.js +3 -3
  21. package/dist/libs/components/CloseButton.js +2 -2
  22. package/dist/libs/components/Gradient/components/Gradient/index.js +5 -5
  23. package/dist/libs/components/Link.js +7 -7
  24. package/dist/libs/components/Text.js +2 -2
  25. package/dist/libs/editPage/src/components/Header/index.js +12 -12
  26. package/dist/libs/editPage/src/components/Header/index.web.js +2 -2
  27. package/dist/libs/editPage/src/components/Item/index.ios.js +4 -4
  28. package/dist/libs/editPage/src/components/ItemDate/Picker/Date/index.js +5 -5
  29. package/dist/libs/editPage/src/components/ItemDate/Picker/Time/index.js +5 -5
  30. package/dist/libs/editPage/src/components/ItemTime/TimePicker/index.js +5 -5
  31. package/dist/libs/editPage/src/components/Screen/index.js +4 -4
  32. package/dist/libs/footer/src/components/Background/index.js +2 -2
  33. package/dist/libs/footer/src/components/Button/Text.js +2 -2
  34. package/dist/libs/footer/src/components/Button/index.ios.js +4 -4
  35. package/dist/libs/footer/src/components/Button/index.js +2 -2
  36. package/dist/libs/footer/src/components/Footer/index.ios.js +4 -4
  37. package/dist/libs/footer/src/components/Footer/index.js +13 -13
  38. package/dist/libs/footer/src/components/View.js +2 -2
  39. package/dist/libs/login/src/Pages/Home/index.js +3 -3
  40. package/dist/libs/login/src/Pages/SignIn/Form/index.js +13 -13
  41. package/dist/libs/login/src/Pages/SignIn/index.js +24 -24
  42. package/dist/libs/login/src/Screen/Container.ios.js +4 -4
  43. package/dist/libs/login/src/Screen/Container.js +8 -8
  44. package/dist/libs/login/src/Screen/components/Gradient.js +2 -2
  45. package/dist/libs/login/src/Screen/components/Input/index.js +21 -21
  46. package/dist/libs/login/src/Screen/index.js +14 -14
  47. package/dist/libs/page/src/components/Page/index.android.js +4 -4
  48. package/dist/libs/page/src/components/Page/index.js +2 -2
  49. package/dist/libs/page/src/components/PageWrapper/index.js +2 -2
  50. package/dist/libs/page/src/components/WithIcon/index.js +10 -10
  51. package/dist/libs/pickerPage/src/components/Content/index.ios.js +8 -8
  52. package/dist/libs/pickerPage/src/components/Content/index.js +6 -6
  53. package/dist/libs/pickerPage/src/components/Item/index.js +5 -5
  54. package/dist/libs/pickerPage/src/components/Page/index.js +12 -12
  55. package/dist/libs/providers/App/index.js +8 -8
  56. package/dist/libs/providers/App/styles.css +16 -16
  57. package/dist/libs/sections/Icon/src/Section.ios.js +4 -4
  58. package/dist/libs/sections/Icon/src/index.ios.js +13 -13
  59. package/dist/libs/sections/Icon/src/index.js +15 -15
  60. package/dist/libs/segmentedControl/src/components/AnimatedChip/index.js +2 -2
  61. package/dist/libs/segmentedControl/src/components/Container/index.ios.js +2 -2
  62. package/dist/libs/segmentedControl/src/components/Container/index.js +2 -2
  63. package/dist/libs/segmentedControl/src/components/Item/index.js +4 -4
  64. package/dist/libs/segmentedControl/src/components/Segmented/index.js +10 -10
  65. package/dist/libs/segmentedControl/src/components/Wrapper/index.js +2 -2
  66. package/dist/libs/segmentedControl/src/context/shared.js +2 -2
  67. package/dist/libs/swiftui/src/components/Dialog/index.js +12 -12
  68. package/dist/libs/swiftui/src/components/Icon.js +3 -3
  69. package/dist/libs/swiftui/src/components/IconSection/Icon.js +13 -13
  70. package/dist/libs/swiftui/src/components/IconSection/Section.js +4 -4
  71. package/dist/libs/swiftui/src/components/List/BaseList/index.js +2 -2
  72. package/dist/libs/swiftui/src/components/List/Editable/List/index.js +4 -4
  73. package/dist/libs/swiftui/src/components/List/Editable/Section/index.js +4 -4
  74. package/dist/libs/swiftui/src/components/NavigationLink/Trailing.js +7 -7
  75. package/dist/libs/swiftui/src/components/NavigationLink/index.js +6 -6
  76. package/dist/libs/swiftui/src/components/Picker.js +4 -4
  77. package/dist/libs/swiftui/src/components/TextSubtitle.js +3 -3
  78. package/dist/libs/table/src/components/Borders.js +3 -3
  79. package/dist/libs/table/src/components/Delete/index.js +16 -16
  80. package/dist/libs/table/src/components/Detail.js +2 -2
  81. package/dist/libs/table/src/components/Option/index.js +19 -18
  82. package/dist/libs/table/src/components/OptionComponents/deleteIcon.js +2 -2
  83. package/dist/libs/table/src/components/OptionComponents/dragIcon.js +2 -2
  84. package/dist/libs/table/src/components/OptionComponents/text.js +3 -3
  85. package/dist/libs/table/src/components/OptionComponents/textView.js +2 -3
  86. package/dist/libs/table/src/components/Table/index.js +19 -19
  87. package/dist/libs/table/src/components/Wrapper.js +15 -15
  88. package/dist/libs/table/src/context/borders.js +2 -2
  89. package/package.json +87 -87
@@ -12,7 +12,7 @@ export default memo(() => {
12
12
  const Theme = colors.theme[colorScheme];
13
13
  //const pressableProps = useDrag() as unknown as PressableProps
14
14
  const pressableProps = {};
15
- return (<Pressable {...pressableProps}>
16
- <Ionicons name='menu-outline' size={28} color={Theme.borderColorContCliente}/>
15
+ return (<Pressable {...pressableProps}>
16
+ <Ionicons name='menu-outline' size={28} color={Theme.borderColorContCliente}/>
17
17
  </Pressable>);
18
18
  });
@@ -15,8 +15,8 @@ const Component = memo(({ text, enabled = true, style = {}, colorScheme, fontSca
15
15
  },
16
16
  style
17
17
  ], [enabled, Theme, style]);
18
- return (<Text$ fontScale={fontScale} style={textStyle} {...props}>
19
- {text}
18
+ return (<Text$ fontScale={fontScale} style={textStyle} {...props}>
19
+ {text}
20
20
  </Text$>);
21
21
  });
22
22
  const styles = StyleSheet.create({
@@ -25,7 +25,7 @@ const styles = StyleSheet.create({
25
25
  userSelect: 'none',
26
26
  overflow: 'hidden',
27
27
  textOverflow: 'ellipsis',
28
- whiteSpace: 'nowrap',
28
+ //whiteSpace: 'nowrap',
29
29
  minWidth: 0,
30
30
  },
31
31
  });
@@ -6,14 +6,13 @@ import { StyleSheet, View } from 'react-native';
6
6
  export default memo(({ children, style = {}, isSingleLine, ...props }) => {
7
7
  isSingleLine = useMemo(() => isSingleLine ?? (React.Children.count(children) <= 1), [children]);
8
8
  const containerStyle = useMemo(() => [styles.container, { paddingVertical: isSingleLine ? 16.35 : 10 }, style], [isSingleLine, style]);
9
- return (<View style={containerStyle} {...props}>
10
- {children}
9
+ return (<View style={containerStyle} {...props}>
10
+ {children}
11
11
  </View>);
12
12
  });
13
13
  const styles = StyleSheet.create({
14
14
  container: {
15
15
  flexDirection: 'column',
16
16
  gap: 2,
17
- flex: 1,
18
17
  }
19
18
  });
@@ -43,32 +43,32 @@ const Table = memo(({ children, title, renderDetail, colorThemeType = 'default',
43
43
  styles.container,
44
44
  type === 'default' ? { marginRight: 16, marginLeft: 16, marginBottom: renderDetail ? 20 : 30 } : {},
45
45
  style
46
- ]}>
46
+ ]}>
47
47
  {title &&
48
- <Animated.Text key={title} style={[styles.title, { color: Theme.text2 }]}>
49
- {title}
50
- </Animated.Text>}
51
-
48
+ <Animated.Text key={title} style={[styles.title, { color: Theme.text2 }]}>
49
+ {title}
50
+ </Animated.Text>}
51
+
52
52
  <Animated.View {...tableAnimations} style={[
53
53
  styles.contentContainer,
54
54
  { backgroundColor: colors.table[colorThemeType][colorScheme].background },
55
55
  contentContainerStyle,
56
56
  type === 'default' ? { borderRadius: 26 } : {},
57
- ]}>
58
- <TableProvider value={value}>
59
- <StoreProvider value={store}>
60
- <BordersProvider value={store.borders}>
61
- {children}
62
- </BordersProvider>
63
- </StoreProvider>
64
- </TableProvider>
65
- </Animated.View>
66
-
67
-
57
+ ]}>
58
+ <TableProvider value={value}>
59
+ <StoreProvider value={store}>
60
+ <BordersProvider value={store.borders}>
61
+ {children}
62
+ </BordersProvider>
63
+ </StoreProvider>
64
+ </TableProvider>
65
+ </Animated.View>
66
+
67
+
68
68
  {renderDetail &&
69
- <Animated.View /*entering={FadeIn.duration(100)} exiting={FadeOut.duration(100)}*/>
70
- {renderDetail()}
71
- </Animated.View>}
69
+ <Animated.View /*entering={FadeIn.duration(100)} exiting={FadeOut.duration(100)}*/>
70
+ {renderDetail()}
71
+ </Animated.View>}
72
72
  </Animated.View>);
73
73
  });
74
74
  const styles = StyleSheet.create({
@@ -10,8 +10,8 @@ import Borders from './Borders';
10
10
  import Option, { left, right } from './Option';
11
11
  const ViewDelete = memo(({ children, colorScheme, ...props }) => {
12
12
  const { colorThemeType } = useTable();
13
- return (<View style={{ backgroundColor: colors.table[colorThemeType][colorScheme].background }} {...props}>
14
- {children}
13
+ return (<View style={{ backgroundColor: colors.table[colorThemeType][colorScheme].background }} {...props}>
14
+ {children}
15
15
  </View>);
16
16
  });
17
17
  export default memo(({ children, childrenLeft, childrenRight, onPress, onDelete, onDeleteShown, removeWidth, id, style, isAnimated = true, borders = {
@@ -25,25 +25,25 @@ export default memo(({ children, childrenLeft, childrenRight, onPress, onDelete,
25
25
  // Restricciones
26
26
  if (onDelete && onPress)
27
27
  throw new Error('onDelete y onPress no pueden ser usados juntos');
28
- let content = (<>
29
- <Option colorScheme={colorScheme} hasNavigationArrow={hasNavigationArrow} hasTextView={hasTextView} childrenLeft={childrenLeft} childrenRight={childrenRight} onPress={onPress} style={style} backgroundColorPressed={backgroundColorPressed} LinearGradientProps={LinearGradientProps}>
30
- {children}
31
- </Option>
32
- {borders && <Borders id={id} borders={borders}/>}
28
+ let content = (<>
29
+ <Option colorScheme={colorScheme} hasNavigationArrow={hasNavigationArrow} hasTextView={hasTextView} childrenLeft={childrenLeft} childrenRight={childrenRight} onPress={onPress} style={style} backgroundColorPressed={backgroundColorPressed} LinearGradientProps={LinearGradientProps}>
30
+ {children}
31
+ </Option>
32
+ {borders && <Borders id={id} borders={borders}/>}
33
33
  </>);
34
34
  // onDelete
35
- content = onDelete ? (<Delete id={id} removeWidth={removeWidth} onDelete={onDelete} onDeleteShown={onDeleteShown}>
36
- <ViewDelete colorScheme={colorScheme} {...props}>
37
- {content}
38
- </ViewDelete>
35
+ content = onDelete ? (<Delete id={id} removeWidth={removeWidth} onDelete={onDelete} onDeleteShown={onDeleteShown}>
36
+ <ViewDelete colorScheme={colorScheme} {...props}>
37
+ {content}
38
+ </ViewDelete>
39
39
  </Delete>) : (props ? <View {...props}>{content}</View> : content);
40
40
  // Borders
41
- content = borders && (borders?.shownTop == null || borders?.shownBottom == null) ? (<BordersContextWrapper>
42
- {content}
41
+ content = borders && (borders?.shownTop == null || borders?.shownBottom == null) ? (<BordersContextWrapper>
42
+ {content}
43
43
  </BordersContextWrapper>) : content;
44
44
  if (!isAnimated)
45
45
  return content;
46
- return (<Animated.View layout={Platform.OS === 'web' ? undefined : layoutAnimation} /*exiting={FadeOut.duration(100)} entering={FadeIn.duration(100)}*/>
47
- {content}
46
+ return (<Animated.View layout={Platform.OS === 'web' ? undefined : layoutAnimation} /*exiting={FadeOut.duration(100)} entering={FadeIn.duration(100)}*/>
47
+ {content}
48
48
  </Animated.View>);
49
49
  });
@@ -5,7 +5,7 @@ export { useBorder };
5
5
  export default ({ children }) => {
6
6
  const bordersRef = useRef({});
7
7
  const valueBorders = useMemo(() => (bordersRef), []);
8
- return (<Provider value={valueBorders}>
9
- {children}
8
+ return (<Provider value={valueBorders}>
9
+ {children}
10
10
  </Provider>);
11
11
  };
package/package.json CHANGED
@@ -1,87 +1,87 @@
1
- {
2
- "name": "native-pytech",
3
- "version": "1.0.234",
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": "dev git && npm version patch && npm publish && dev git"
14
- },
15
- "files": [
16
- "dist",
17
- "LICENSE",
18
- "README.md"
19
- ],
20
- "peerDependencies": {
21
- "@expo/ui": "~56.0.11",
22
- "@expo/vector-icons": "^15.0.3",
23
- "@legendapp/list": "^2.0.19",
24
- "@legendapp/state": "^3.0.0-beta.45",
25
- "@react-native-async-storage/async-storage": "~2.2.0",
26
- "@react-native-masked-view/masked-view": "0.3.2",
27
- "@supabase/supabase-js": "^2.106.1",
28
- "color2k": "^2.0.3",
29
- "date-fns": "^4.1.0",
30
- "expo": "~56.0.17",
31
- "expo-blur": "~56.0.4",
32
- "expo-constants": "~56.0.14",
33
- "expo-device": "~56.0.4",
34
- "expo-font": "~56.0.5",
35
- "expo-glass-effect": "~56.0.4",
36
- "expo-image": "~56.0.8",
37
- "expo-linear-gradient": "~56.0.4",
38
- "expo-linking": "~56.0.11",
39
- "expo-mesh-gradient": "~56.0.3",
40
- "expo-router": "~56.2.5",
41
- "expo-splash-screen": "~56.0.9",
42
- "expo-sqlite": "*",
43
- "expo-status-bar": "~56.0.4",
44
- "expo-symbols": "~56.0.5",
45
- "expo-system-ui": "~56.0.5",
46
- "expo-web-browser": "~56.0.6",
47
- "react": "19.2.3",
48
- "react-dom": "19.2.3",
49
- "react-native": "0.85.3",
50
- "react-native-gesture-handler": "~2.31.1",
51
- "react-native-reanimated": "4.3.1",
52
- "react-native-reorderable-list": "^0.17.0",
53
- "react-native-safe-area-context": "~5.7.0",
54
- "react-native-screens": "4.25.1",
55
- "react-native-svg": "^15.15.0",
56
- "react-native-url-polyfill": "^3.0.0",
57
- "react-native-web": "~0.21.0",
58
- "react-native-worklets": "0.8.3"
59
- },
60
- "devDependencies": {
61
- "@types/fontfaceobserver": "^2.1.3",
62
- "@types/react": "~19.2.2",
63
- "babel-plugin-module-resolver": "^5.0.3",
64
- "copyfiles": "^2.4.1",
65
- "rimraf": "^6.1.3",
66
- "tsc-alias": "^1.8.16",
67
- "typescript": "~6.0.3"
68
- },
69
- "exports": {
70
- ".": {
71
- "types": "./dist/index.d.ts",
72
- "default": "./dist/index.js"
73
- },
74
- "./*": {
75
- "types": "./dist/app/*.d.ts",
76
- "default": "./dist/app/*.js"
77
- },
78
- "./assets/images/*": {
79
- "default": "./dist/libs/assets/images/*"
80
- }
81
- },
82
- "dependencies": {
83
- "expo": "56.0.17",
84
- "react": "19.2.3",
85
- "react-native": "0.85.3"
86
- }
87
- }
1
+ {
2
+ "name": "native-pytech",
3
+ "version": "1.0.236",
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": "dev git && npm version patch && npm publish && dev git"
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "LICENSE",
18
+ "README.md"
19
+ ],
20
+ "peerDependencies": {
21
+ "@expo/ui": "~56.0.11",
22
+ "@expo/vector-icons": "^15.0.3",
23
+ "@legendapp/list": "^2.0.19",
24
+ "@legendapp/state": "^3.0.0-beta.45",
25
+ "@react-native-async-storage/async-storage": "~2.2.0",
26
+ "@react-native-masked-view/masked-view": "0.3.2",
27
+ "@supabase/supabase-js": "^2.106.1",
28
+ "color2k": "^2.0.3",
29
+ "date-fns": "^4.1.0",
30
+ "expo": "~56.0.17",
31
+ "expo-blur": "~56.0.4",
32
+ "expo-constants": "~56.0.14",
33
+ "expo-device": "~56.0.4",
34
+ "expo-font": "~56.0.5",
35
+ "expo-glass-effect": "~56.0.4",
36
+ "expo-image": "~56.0.8",
37
+ "expo-linear-gradient": "~56.0.4",
38
+ "expo-linking": "~56.0.11",
39
+ "expo-mesh-gradient": "~56.0.3",
40
+ "expo-router": "~56.2.5",
41
+ "expo-splash-screen": "~56.0.9",
42
+ "expo-sqlite": "*",
43
+ "expo-status-bar": "~56.0.4",
44
+ "expo-symbols": "~56.0.5",
45
+ "expo-system-ui": "~56.0.5",
46
+ "expo-web-browser": "~56.0.6",
47
+ "react": "19.2.3",
48
+ "react-dom": "19.2.3",
49
+ "react-native": "0.85.3",
50
+ "react-native-gesture-handler": "~2.31.1",
51
+ "react-native-reanimated": "4.3.1",
52
+ "react-native-reorderable-list": "^0.17.0",
53
+ "react-native-safe-area-context": "~5.7.0",
54
+ "react-native-screens": "4.25.1",
55
+ "react-native-svg": "^15.15.0",
56
+ "react-native-url-polyfill": "^3.0.0",
57
+ "react-native-web": "~0.21.0",
58
+ "react-native-worklets": "0.8.3"
59
+ },
60
+ "devDependencies": {
61
+ "@types/fontfaceobserver": "^2.1.3",
62
+ "@types/react": "~19.2.2",
63
+ "babel-plugin-module-resolver": "^5.0.3",
64
+ "copyfiles": "^2.4.1",
65
+ "rimraf": "^6.1.3",
66
+ "tsc-alias": "^1.8.16",
67
+ "typescript": "~6.0.3"
68
+ },
69
+ "exports": {
70
+ ".": {
71
+ "types": "./dist/index.d.ts",
72
+ "default": "./dist/index.js"
73
+ },
74
+ "./*": {
75
+ "types": "./dist/app/*.d.ts",
76
+ "default": "./dist/app/*.js"
77
+ },
78
+ "./assets/images/*": {
79
+ "default": "./dist/libs/assets/images/*"
80
+ }
81
+ },
82
+ "dependencies": {
83
+ "expo": "56.0.17",
84
+ "react": "19.2.3",
85
+ "react-native": "0.85.3"
86
+ }
87
+ }