native-pytech 1.0.136 → 1.0.138

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 (125) hide show
  1. package/dist/app/sections/icon.d.ts +1 -0
  2. package/dist/app/sections/icon.js +1 -0
  3. package/dist/libs/assets/ionicons/Ionicons.d.ts +2 -2
  4. package/dist/libs/assets/ionicons/Ionicons.js +0 -1
  5. package/dist/libs/colorPage/src/Content/index.android.d.ts +1 -2
  6. package/dist/libs/colorPage/src/Content/index.android.js +1 -1
  7. package/dist/libs/colorPage/src/Content/index.ios.d.ts +1 -2
  8. package/dist/libs/colorPage/src/Content/index.ios.js +1 -1
  9. package/dist/libs/colorPage/src/Item/index.ios.d.ts +1 -2
  10. package/dist/libs/colorPage/src/Item/index.ios.js +1 -1
  11. package/dist/libs/colorPage/src/Page/index.d.ts +1 -2
  12. package/dist/libs/colorPage/src/Page/index.js +1 -1
  13. package/dist/libs/components/CloseButton.d.ts +2 -3
  14. package/dist/libs/components/CloseButton.js +1 -1
  15. package/dist/libs/components/Gradient/components/Gradient/index.d.ts +1 -2
  16. package/dist/libs/components/Gradient/components/Gradient/index.ios.d.ts +1 -2
  17. package/dist/libs/components/Gradient/components/Gradient/index.ios.js +1 -1
  18. package/dist/libs/components/Gradient/components/Gradient/index.js +1 -1
  19. package/dist/libs/editPage/src/components/Item/index.ios.d.ts +1 -2
  20. package/dist/libs/editPage/src/components/Item/index.ios.js +1 -1
  21. package/dist/libs/editPage/src/components/ItemDate/index.ios.d.ts +1 -2
  22. package/dist/libs/editPage/src/components/ItemDate/index.ios.js +1 -1
  23. package/dist/libs/editPage/src/components/TextField/index.ios.d.ts +1 -2
  24. package/dist/libs/editPage/src/components/TextField/index.ios.js +1 -1
  25. package/dist/libs/editPage/src/components/Wrapper/index.d.ts +1 -2
  26. package/dist/libs/editPage/src/components/Wrapper/index.js +1 -1
  27. package/dist/libs/footer/src/components/Button/index.ios.d.ts +1 -2
  28. package/dist/libs/footer/src/components/Button/index.ios.js +1 -1
  29. package/dist/libs/footer/src/components/Footer/index.ios.d.ts +1 -2
  30. package/dist/libs/footer/src/components/Footer/index.ios.js +1 -1
  31. package/dist/libs/footer/src/components/View.d.ts +2 -3
  32. package/dist/libs/footer/src/components/View.js +1 -1
  33. package/dist/libs/login/src/Screen/components/Input/index.d.ts +1 -2
  34. package/dist/libs/login/src/Screen/components/Input/index.js +1 -1
  35. package/dist/libs/page/src/components/Page/index.android.d.ts +1 -2
  36. package/dist/libs/page/src/components/Page/index.android.js +1 -1
  37. package/dist/libs/page/src/components/Page/index.d.ts +1 -2
  38. package/dist/libs/page/src/components/Page/index.js +1 -1
  39. package/dist/libs/page/src/components/PageWrapper/index.js +1 -1
  40. package/dist/libs/page/src/components/Subtitle.d.ts +2 -3
  41. package/dist/libs/page/src/components/Subtitle.js +1 -1
  42. package/dist/libs/page/src/components/WithIcon/index.js +1 -1
  43. package/dist/libs/pickerPage/src/components/Content/index.d.ts +1 -2
  44. package/dist/libs/pickerPage/src/components/Content/index.ios.d.ts +1 -2
  45. package/dist/libs/pickerPage/src/components/Content/index.ios.js +1 -1
  46. package/dist/libs/pickerPage/src/components/Content/index.js +1 -1
  47. package/dist/libs/pickerPage/src/components/Item/index.d.ts +1 -2
  48. package/dist/libs/pickerPage/src/components/Item/index.ios.d.ts +1 -2
  49. package/dist/libs/pickerPage/src/components/Item/index.ios.js +1 -1
  50. package/dist/libs/pickerPage/src/components/Item/index.js +1 -1
  51. package/dist/libs/pickerPage/src/components/Page/index.d.ts +1 -2
  52. package/dist/libs/pickerPage/src/components/Page/index.js +1 -1
  53. package/dist/libs/providers/App/index.d.ts +1 -2
  54. package/dist/libs/providers/App/index.js +1 -1
  55. package/dist/libs/sections/Icon/index.d.ts +1 -0
  56. package/dist/libs/sections/Icon/index.js +1 -0
  57. package/dist/libs/sections/Icon/src/Section.ios.d.ts +6 -0
  58. package/dist/libs/sections/Icon/src/Section.ios.js +17 -0
  59. package/dist/libs/sections/Icon/src/index.d.ts +3 -0
  60. package/dist/libs/sections/Icon/src/index.ios.d.ts +3 -0
  61. package/dist/libs/sections/Icon/src/index.ios.js +26 -0
  62. package/dist/libs/sections/Icon/src/index.js +59 -0
  63. package/dist/libs/sections/Icon/types.d.ts +25 -0
  64. package/dist/libs/sections/Icon/types.js +1 -0
  65. package/dist/libs/segmentedControl/src/components/AnimatedChip/index.d.ts +1 -2
  66. package/dist/libs/segmentedControl/src/components/AnimatedChip/index.js +1 -1
  67. package/dist/libs/segmentedControl/src/components/Container/index.d.ts +1 -2
  68. package/dist/libs/segmentedControl/src/components/Container/index.ios.d.ts +1 -2
  69. package/dist/libs/segmentedControl/src/components/Container/index.ios.js +1 -1
  70. package/dist/libs/segmentedControl/src/components/Container/index.js +1 -1
  71. package/dist/libs/segmentedControl/src/components/Item/index.d.ts +1 -2
  72. package/dist/libs/segmentedControl/src/components/Item/index.js +1 -1
  73. package/dist/libs/segmentedControl/src/components/Segmented/index.d.ts +1 -2
  74. package/dist/libs/segmentedControl/src/components/Segmented/index.js +1 -1
  75. package/dist/libs/segmentedControl/src/components/Wrapper/index.d.ts +1 -2
  76. package/dist/libs/segmentedControl/src/components/Wrapper/index.js +1 -1
  77. package/dist/libs/segmentedControl/src/context/shared.d.ts +2 -3
  78. package/dist/libs/segmentedControl/src/context/shared.js +1 -1
  79. package/dist/libs/swiftui/src/components/Dialog/index.d.ts +1 -2
  80. package/dist/libs/swiftui/src/components/Dialog/index.js +1 -1
  81. package/dist/libs/swiftui/src/components/Icon.d.ts +1 -2
  82. package/dist/libs/swiftui/src/components/Icon.js +1 -1
  83. package/dist/libs/swiftui/src/components/IconSection/Icon.d.ts +1 -2
  84. package/dist/libs/swiftui/src/components/IconSection/Icon.js +1 -1
  85. package/dist/libs/swiftui/src/components/IconSection/Section.d.ts +1 -2
  86. package/dist/libs/swiftui/src/components/IconSection/Section.js +1 -1
  87. package/dist/libs/swiftui/src/components/List/BaseList/index.d.ts +1 -2
  88. package/dist/libs/swiftui/src/components/List/BaseList/index.js +1 -1
  89. package/dist/libs/swiftui/src/components/List/Editable/List/index.d.ts +1 -2
  90. package/dist/libs/swiftui/src/components/List/Editable/List/index.js +1 -1
  91. package/dist/libs/swiftui/src/components/List/Editable/Section/index.d.ts +1 -2
  92. package/dist/libs/swiftui/src/components/List/Editable/Section/index.js +1 -1
  93. package/dist/libs/swiftui/src/components/NavigationLink/Trailing.d.ts +1 -2
  94. package/dist/libs/swiftui/src/components/NavigationLink/Trailing.js +1 -1
  95. package/dist/libs/swiftui/src/components/NavigationLink/index.d.ts +1 -2
  96. package/dist/libs/swiftui/src/components/NavigationLink/index.js +1 -1
  97. package/dist/libs/swiftui/src/components/Picker.d.ts +1 -2
  98. package/dist/libs/swiftui/src/components/Picker.js +1 -1
  99. package/dist/libs/swiftui/src/components/Text.d.ts +2 -3
  100. package/dist/libs/swiftui/src/components/Text.js +1 -1
  101. package/dist/libs/swiftui/src/components/TextSubtitle.d.ts +1 -2
  102. package/dist/libs/swiftui/src/components/TextSubtitle.js +1 -1
  103. package/dist/libs/table/src/components/Borders.d.ts +2 -3
  104. package/dist/libs/table/src/components/Borders.js +1 -1
  105. package/dist/libs/table/src/components/Delete/index.d.ts +1 -2
  106. package/dist/libs/table/src/components/Delete/index.js +1 -1
  107. package/dist/libs/table/src/components/OptionComponents/deleteIcon.d.ts +1 -2
  108. package/dist/libs/table/src/components/OptionComponents/deleteIcon.js +1 -1
  109. package/dist/libs/table/src/components/OptionComponents/dragIcon.d.ts +1 -2
  110. package/dist/libs/table/src/components/OptionComponents/dragIcon.js +1 -1
  111. package/dist/libs/table/src/components/OptionComponents/icon.d.ts +2 -3
  112. package/dist/libs/table/src/components/OptionComponents/icon.js +1 -1
  113. package/dist/libs/table/src/components/OptionComponents/image.d.ts +2 -3
  114. package/dist/libs/table/src/components/OptionComponents/image.js +1 -1
  115. package/dist/libs/table/src/components/OptionComponents/text.d.ts +2 -3
  116. package/dist/libs/table/src/components/OptionComponents/text.js +1 -1
  117. package/dist/libs/table/src/components/OptionComponents/textInput.d.ts +2 -3
  118. package/dist/libs/table/src/components/OptionComponents/textInput.js +1 -1
  119. package/dist/libs/table/src/components/OptionComponents/textInputCurrency.d.ts +1 -2
  120. package/dist/libs/table/src/components/OptionComponents/textInputCurrency.js +1 -1
  121. package/dist/libs/table/src/components/OptionWrapper/index.js +1 -1
  122. package/dist/libs/table/src/components/Table/index.js +1 -1
  123. package/dist/libs/table/src/components/Wrapper.d.ts +1 -2
  124. package/dist/libs/table/src/components/Wrapper.js +1 -1
  125. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ export { default } from '../../libs/sections/Icon';
@@ -0,0 +1 @@
1
+ export { default } from '../../libs/sections/Icon';
@@ -1,5 +1,5 @@
1
1
  import { Ionicons as IoniconsExpo } from '@expo/vector-icons';
2
- import React, { ComponentProps } from 'react';
2
+ import { ComponentProps } from 'react';
3
3
  import { OpaqueColorValue } from 'react-native';
4
4
  type IoniconsExpoProps = ComponentProps<typeof IoniconsExpo>;
5
5
  export interface IoniconsProps {
@@ -31,5 +31,5 @@ export interface IoniconsProps {
31
31
  */
32
32
  y?: number;
33
33
  }
34
- export declare const Ionicons: ({ name, color, size, y, x }: IoniconsProps) => React.JSX.Element;
34
+ export declare const Ionicons: ({ name, color, size, y, x }: IoniconsProps) => import("react").JSX.Element;
35
35
  export default Ionicons;
@@ -1,5 +1,4 @@
1
1
  import { _icons } from '.';
2
- import React from 'react';
3
2
  import { PixelRatio } from 'react-native';
4
3
  import { G } from 'react-native-svg';
5
4
  export const Ionicons = ({ name, color, size = 12, y = 0, x = 0 }) => {
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ colorRows, ...pageProps }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ colorRows, ...pageProps }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo } from 'react';
1
+ import { memo } from 'react';
2
2
  import { Host, Column, Row } from '@expo/ui/jetpack-compose';
3
3
  import { fillMaxWidth } from '@expo/ui/jetpack-compose/modifiers';
4
4
  import Item from '../Item';
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import type Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ colorRows, ...pageProps }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ colorRows, ...pageProps }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { Host, HStack, VStack, Spacer } from '@expo/ui/swift-ui';
2
- import React, { memo, Fragment } from 'react';
2
+ import { memo, Fragment } from 'react';
3
3
  import Item from '../Item';
4
4
  export default memo(({ colorRows, ...pageProps }) => {
5
5
  return (<Host style={{ flex: 1 }}>
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import type Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ color, size, selectedColor, onSelectColor, }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ color, size, selectedColor, onSelectColor, }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { background, clipShape, buttonStyle, controlSize, frame, glassEffect, padding, foregroundStyle } from '@expo/ui/swift-ui/modifiers';
2
2
  import { Text, Button } from '@expo/ui/swift-ui';
3
- import React, { memo, useMemo } from 'react';
3
+ import { memo, useMemo } from 'react';
4
4
  import { colors } from '../../../../libs/components/Gradient';
5
5
  export default memo(({ color, size, selectedColor, onSelectColor, }) => {
6
6
  const modifiersButton = useMemo(() => [
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import type Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ onSelectColor, ...restProps }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ onSelectColor, ...restProps }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo, useMemo, useCallback } from 'react';
1
+ import { memo, useMemo, useCallback } from 'react';
2
2
  import { Stack, useRouter } from 'expo-router';
3
3
  import { colors } from '../../../../libs/components/Gradient';
4
4
  import Content from '../Content';
@@ -1,9 +1,8 @@
1
- import React from 'react';
2
1
  import { UnknownOutputParams, ImperativeRouter } from 'expo-router';
3
- declare const _default: React.MemoExoticComponent<({ onclick }: {
2
+ declare const _default: import("react").MemoExoticComponent<({ onclick }: {
4
3
  onclick: ({ router, localSearchParams }: {
5
4
  router: ImperativeRouter;
6
5
  localSearchParams: UnknownOutputParams;
7
6
  }) => void;
8
- }) => React.JSX.Element>;
7
+ }) => import("react").JSX.Element>;
9
8
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo } from 'react';
1
+ import { memo } from 'react';
2
2
  import { useLocalSearchParams, router } from 'expo-router';
3
3
  import { StyleSheet, TouchableOpacity } from 'react-native';
4
4
  import { Ionicons } from '@expo/vector-icons';
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import type Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ text, color, type, sizeDiameter, icon, iconSize, ionIconName, }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ text, color, type, sizeDiameter, icon, iconSize, ionIconName, }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import type Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ text, color, type, sizeDiameter, systemName, iconSize, }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ text, color, type, sizeDiameter, systemName, iconSize, }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo, useMemo } from 'react';
1
+ import { memo, useMemo } from 'react';
2
2
  import { frame, font, foregroundStyle, background, clipShape } from '@expo/ui/swift-ui/modifiers';
3
3
  import { Text, Image } from '@expo/ui/swift-ui';
4
4
  import colors, { sizes } from '../../constants';
@@ -1,4 +1,4 @@
1
- import React, { memo, useMemo } from 'react';
1
+ import { memo, useMemo } from 'react';
2
2
  import { StyleSheet, Text } from 'react-native';
3
3
  import { LinearGradient } from 'expo-linear-gradient';
4
4
  import { Ionicons } from '@expo/vector-icons';
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import type Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ label, minLengthSpacer, ...textFieldProps }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ label, minLengthSpacer, ...textFieldProps }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { HStack, Spacer, Text } from '@expo/ui/swift-ui';
2
- import React, { memo } from 'react';
2
+ import { memo } from 'react';
3
3
  import TextField from '../TextField';
4
4
  export default memo(({ label, minLengthSpacer, ...textFieldProps }) => {
5
5
  if (!label)
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import type Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ itemKey, label, defaultValue, minDate, maxDate, }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ itemKey, label, defaultValue, minDate, maxDate, }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { Section, DatePicker } from '@expo/ui/swift-ui';
2
- import React, { memo, useCallback, useEffect, useRef, useState } from 'react';
2
+ import { memo, useCallback, useEffect, useRef, useState } from 'react';
3
3
  import { environment } from '@expo/ui/swift-ui/modifiers';
4
4
  import { usePage } from '../../context/page';
5
5
  export default memo(({ itemKey, label, defaultValue, minDate = new Date(new Date().setFullYear(new Date().getFullYear() - 100)), maxDate = new Date(), }) => {
@@ -1,4 +1,3 @@
1
- import React from "react";
2
1
  import type Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ itemKey, defaultValue, placeholder, keyboardType, autocapitalization, secureTextEntry, isValid, }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ itemKey, defaultValue, placeholder, keyboardType, autocapitalization, secureTextEntry, isValid, }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { useMemo, memo, useRef, useCallback, useEffect } from "react";
1
+ import { useMemo, memo, useRef, useCallback, useEffect } from "react";
2
2
  import { useValue } from "@legendapp/state/react";
3
3
  import { SecureField, TextField } from "@expo/ui/swift-ui";
4
4
  import { keyboardType as keyboardTypeModifier, submitLabel, textInputAutocapitalization, onSubmit } from '@expo/ui/swift-ui/modifiers';
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ children, onSave }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ children, onSave }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { useObservable, useValue } from '@legendapp/state/react';
2
2
  import { Stack, router } from 'expo-router';
3
- import React, { memo, useCallback, useMemo, useRef } from 'react';
3
+ import { memo, useCallback, useMemo, useRef } from 'react';
4
4
  import { Provider } from '../../context/page';
5
5
  import Screen from '../Screen';
6
6
  export default memo(({ children, onSave }) => {
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { Props } from './types';
3
- declare const _default: React.MemoExoticComponent<({ text, onPress, onSubmit, backgroundColorPage, enabled, themeColor }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ text, onPress, onSubmit, backgroundColorPage, enabled, themeColor }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { Button, Text } from '@expo/ui/swift-ui';
2
2
  import { frame, font, foregroundStyle, buttonStyle, controlSize, disabled } from '@expo/ui/swift-ui/modifiers';
3
- import React, { memo, useCallback, useMemo } from 'react';
3
+ import { memo, useCallback, useMemo } from 'react';
4
4
  import { useWindowDimensions } from 'react-native';
5
5
  export default memo(({ text, onPress, onSubmit, backgroundColorPage, enabled = true, themeColor = 'default' }) => {
6
6
  const { width } = useWindowDimensions();
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
1
  type Props = {
3
2
  children: React.ReactNode;
4
3
  backgroundColorPage?: string;
5
4
  };
6
- declare const _default: React.MemoExoticComponent<({ children, backgroundColorPage }: Props) => React.JSX.Element>;
5
+ declare const _default: import("react").MemoExoticComponent<({ children, backgroundColorPage }: Props) => import("react").JSX.Element>;
7
6
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo } from 'react';
1
+ import { memo } from 'react';
2
2
  import { Overlay, VStack } from '@expo/ui/swift-ui';
3
3
  export default memo(({ children, backgroundColorPage }) => {
4
4
  return (<Overlay.Content>
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- declare const _default: React.MemoExoticComponent<({ children }: {
1
+ declare const _default: import("react").MemoExoticComponent<({ children }: {
3
2
  children: React.ReactNode;
4
- }) => React.JSX.Element>;
3
+ }) => import("react").JSX.Element>;
5
4
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { View, StyleSheet } from 'react-native';
2
- import React, { memo } from 'react';
2
+ import { memo } from 'react';
3
3
  export default memo(({ children }) => (<View style={styles.view}>
4
4
  {children}
5
5
  </View>));
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ placeholder, buttonSend, handleSubmit, messageError, onFocus, onChangeText, onBlur, styleMessageError, ...props }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ placeholder, buttonSend, handleSubmit, messageError, onFocus, onChangeText, onBlur, styleMessageError, ...props }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo, useEffect, useRef, useState } from 'react';
1
+ import { memo, useEffect, useRef, useState } from 'react';
2
2
  import { ActivityIndicator, Image, Keyboard, Pressable, StyleSheet, Text, TextInput, View } from 'react-native';
3
3
  import Animated, { Easing, interpolate, useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';
4
4
  import { useApp } from "../../../../../../libs/providers/App";
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import Props from '../PageWrapper/types';
3
- declare const _default: React.MemoExoticComponent<({ children, style }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ children, style }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo } from 'react';
1
+ import { memo } from 'react';
2
2
  import { KeyboardAvoidingView, ScrollView } from 'react-native';
3
3
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
4
4
  export default memo(({ children, style }) => {
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import Props from '../PageWrapper/types';
3
- declare const _default: React.MemoExoticComponent<({ children, style }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ children, style }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo } from 'react';
1
+ import { memo } from 'react';
2
2
  import { ScrollView } from 'react-native';
3
3
  export default memo(({ children, style }) => {
4
4
  return (<ScrollView style={{ flex: 1 }} automaticallyAdjustKeyboardInsets={true} contentContainerStyle={style} showsVerticalScrollIndicator={false}>
@@ -1,4 +1,4 @@
1
- import React, { memo } from 'react';
1
+ import { memo } from 'react';
2
2
  import WithIcon from '../WithIcon';
3
3
  import Page from '../Page';
4
4
  /**
@@ -1,5 +1,4 @@
1
- import React from "react";
2
- declare const _default: React.MemoExoticComponent<({ text }: {
1
+ declare const _default: import("react").MemoExoticComponent<({ text }: {
3
2
  text: string;
4
- }) => React.JSX.Element>;
3
+ }) => import("react").JSX.Element>;
5
4
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo } from "react";
1
+ import { memo } from "react";
2
2
  import { Text } from "react-native";
3
3
  import colors from "../constants";
4
4
  import { useApp } from "../../../../libs/providers/App";
@@ -1,4 +1,4 @@
1
- import React, { memo } from 'react';
1
+ import { memo } from 'react';
2
2
  import { StyleSheet, Text, View } from 'react-native';
3
3
  import { useApp } from "../../../../../libs/providers/App";
4
4
  import colors from '../../constants';
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import type Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ children, selected, onSelectionChange }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ children, selected, onSelectionChange }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import type Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ children, selected, onSelectionChange, adjustRowInsets }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ children, selected, onSelectionChange, adjustRowInsets }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { Host, Section, Picker } from '@expo/ui/swift-ui';
2
2
  import { listRowInsets, listStyle, pickerStyle } from '@expo/ui/swift-ui/modifiers';
3
- import React, { memo, useMemo } from 'react';
3
+ import { memo, useMemo } from 'react';
4
4
  import { List } from "../../../../../libs/swiftui";
5
5
  export default memo(({ children, selected, onSelectionChange, adjustRowInsets }) => {
6
6
  const _modifiersPicker = useMemo(() => [
@@ -1,4 +1,4 @@
1
- import React, { memo, useMemo } from 'react';
1
+ import { memo, useMemo } from 'react';
2
2
  import { ScrollView } from 'react-native';
3
3
  import Table from "../../../../../libs/table";
4
4
  import { Provider } from '../../context/page';
@@ -1,4 +1,3 @@
1
- import React from "react";
2
1
  import type Props from "./types";
3
- declare const _default: React.MemoExoticComponent<({ itemKey, title, ionIconName, icon }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ itemKey, title, ionIconName, icon }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,8 +1,7 @@
1
- import React from "react";
2
1
  import type Props from "./types";
3
2
  /**
4
3
  Item component for the picker page.
5
4
  It is necessary to use the tag modifier to display the item in the picker.
6
5
  */
7
- declare const _default: React.MemoExoticComponent<({ itemKey, title, systemImage, icon }: Props) => React.JSX.Element>;
6
+ declare const _default: import("react").MemoExoticComponent<({ itemKey, title, systemImage, icon }: Props) => import("react").JSX.Element>;
8
7
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo } from "react";
1
+ import { memo } from "react";
2
2
  import { Label } from "@expo/ui/swift-ui";
3
3
  import { tag } from "@expo/ui/swift-ui/modifiers";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import React, { memo } from "react";
1
+ import { memo } from "react";
2
2
  import { Ionicons } from '@expo/vector-icons';
3
3
  import { useApp } from "../../../../../libs/providers/App";
4
4
  import Table from "../../../../../libs/table";
@@ -1,4 +1,3 @@
1
- import React from "react";
2
1
  import type Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ children, onChangeSearchText, onSelectionChange, placeholderSearchBar, ...props }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ children, onChangeSearchText, onSelectionChange, placeholderSearchBar, ...props }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { Stack, router } from "expo-router";
2
- import React, { memo } from "react";
2
+ import { memo } from "react";
3
3
  import Content from '../Content';
4
4
  export default memo(({ children, onChangeSearchText, onSelectionChange, placeholderSearchBar = 'Buscar', ...props }) => {
5
5
  const _onSelectionChange = async (selection) => {
@@ -1,4 +1,3 @@
1
- import React from "react";
2
1
  import { ColorSchemeType } from "../constants";
3
2
  import type Props from './types';
4
3
  declare const useApp: () => {
@@ -6,5 +5,5 @@ declare const useApp: () => {
6
5
  fontScale: number;
7
6
  };
8
7
  export { useApp };
9
- declare const _default: React.MemoExoticComponent<({ listStackNames, getBackgroundColor, getSession, renderItemLoading, onLoadingRealsed, }: Props) => React.JSX.Element>;
8
+ declare const _default: import("react").MemoExoticComponent<({ listStackNames, getBackgroundColor, getSession, renderItemLoading, onLoadingRealsed, }: Props) => import("react").JSX.Element>;
10
9
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo, useMemo, useState, useRef } from "react";
1
+ import { memo, useMemo, useState, useRef } from "react";
2
2
  import { Stack, useRouter } from "expo-router";
3
3
  import { useColorScheme, useWindowDimensions, View, StyleSheet } from "react-native";
4
4
  import { SafeAreaProvider } from 'react-native-safe-area-context';
@@ -0,0 +1 @@
1
+ export { default } from './src';
@@ -0,0 +1 @@
1
+ export { default } from './src';
@@ -0,0 +1,6 @@
1
+ import { VStackProps } from '@expo/ui/swift-ui';
2
+ type Props = VStackProps & {
3
+ children: React.ReactNode;
4
+ };
5
+ declare const _default: import("react").MemoExoticComponent<({ children, modifiers, ...vStackProps }: Props) => import("react").JSX.Element>;
6
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { Section, VStack } from '@expo/ui/swift-ui';
2
+ import { containerRelativeFrame, listRowBackground, frame, listRowInsets } from '@expo/ui/swift-ui/modifiers';
3
+ import { memo, useMemo } from 'react';
4
+ export default memo(({ children, modifiers, ...vStackProps }) => {
5
+ const _modifiers = useMemo(() => [
6
+ ...(modifiers ?? []),
7
+ frame({ alignment: 'center' }),
8
+ containerRelativeFrame({ axes: 'horizontal' }),
9
+ listRowBackground('transparent'),
10
+ listRowInsets({ bottom: 0.1 })
11
+ ], [modifiers]);
12
+ return (<Section>
13
+ <VStack spacing={20} modifiers={_modifiers} {...vStackProps}>
14
+ {children}
15
+ </VStack>
16
+ </Section>);
17
+ });
@@ -0,0 +1,3 @@
1
+ import Props from '../types';
2
+ declare const _default: import("react").MemoExoticComponent<({ title, subtitle, gradientProps, buttonProps }: Props) => import("react").JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import Props from '../types';
2
+ declare const _default: import("react").MemoExoticComponent<({ title, subtitle, gradientProps, buttonProps }: Props) => import("react").JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,26 @@
1
+ import { Button, VStack } from '@expo/ui/swift-ui';
2
+ import { frame, font, buttonStyle } from '@expo/ui/swift-ui/modifiers';
3
+ import { memo } from 'react';
4
+ import Gradient from '../../../../libs/components/Gradient';
5
+ import Text from '../../../../libs/swiftui/src/components/Text';
6
+ import Section from './Section.ios';
7
+ export default memo(({ title, subtitle, gradientProps, buttonProps }) => {
8
+ const spacing = gradientProps?.type === 'extraLarge' ? 10 : 20;
9
+ return (<Section spacing={spacing}>
10
+ {gradientProps && (<Gradient {...gradientProps}/>)}
11
+
12
+ {(title || subtitle) && (subtitle ? (<VStack modifiers={[frame({ alignment: 'center' })]} spacing={2}>
13
+ <Title title={title}/>
14
+ <Text secondary>
15
+ {subtitle}
16
+ </Text>
17
+ </VStack>) : (<Title title={title}/>))}
18
+
19
+ {buttonProps && (<Button {...buttonProps} modifiers={[buttonStyle('bordered')]}/>)}
20
+ </Section>);
21
+ });
22
+ const Title = memo(({ title }) => {
23
+ return (<Text modifiers={[font({ weight: 'bold', size: 30 })]}>
24
+ {title}
25
+ </Text>);
26
+ });
@@ -0,0 +1,59 @@
1
+ import { View, Text, Pressable, StyleSheet } from "react-native";
2
+ import { memo } from 'react';
3
+ import Gradient from "native-pytech/components/gradient";
4
+ import Colors from "native-pytech/constants/colors";
5
+ import { useApp } from "native-pytech/providers/app";
6
+ export default memo(({ title, subtitle, gradientProps, buttonProps }) => {
7
+ const { colorScheme } = useApp();
8
+ const spacing = gradientProps?.type === 'extraLarge' ? 10 : 20;
9
+ return (<View style={[styles.container, { gap: spacing }]}>
10
+ {gradientProps && (<Gradient {...gradientProps}/>)}
11
+
12
+ {(title || subtitle) && (subtitle ? (<View style={styles.containerTitle}>
13
+ <Title title={title} colorScheme={colorScheme}/>
14
+ <Text style={[styles.subtitle, { color: Colors[colorScheme].text2 }]}>
15
+ {subtitle}
16
+ </Text>
17
+ </View>) : (<Title title={title} colorScheme={colorScheme}/>))}
18
+
19
+ {buttonProps && (<Pressable onPress={buttonProps.onPress} style={styles.pressable}>
20
+ <Text style={styles.label}>{buttonProps.label}</Text>
21
+ </Pressable>)}
22
+ </View>);
23
+ });
24
+ const Title = memo(({ title, colorScheme }) => {
25
+ return (<Text style={[styles.title, { color: Colors[colorScheme].text }]}>
26
+ {title}
27
+ </Text>);
28
+ });
29
+ const styles = StyleSheet.create({
30
+ container: {
31
+ padding: 16,
32
+ flex: 1,
33
+ marginBottom: 30,
34
+ justifyContent: 'center',
35
+ alignItems: 'center'
36
+ },
37
+ containerTitle: {
38
+ flexDirection: 'column',
39
+ alignItems: 'center',
40
+ gap: 2
41
+ },
42
+ title: {
43
+ fontWeight: 'bold',
44
+ fontSize: 30
45
+ },
46
+ subtitle: {
47
+ fontSize: 17
48
+ },
49
+ pressable: {
50
+ backgroundColor: Colors.especiales.azul,
51
+ padding: 10,
52
+ borderRadius: 10
53
+ },
54
+ label: {
55
+ color: 'white',
56
+ fontSize: 17,
57
+ fontWeight: 'semibold'
58
+ }
59
+ });
@@ -0,0 +1,25 @@
1
+ import { Props as GradientProps } from '../../../libs/components/Gradient';
2
+ type Props = {
3
+ /**
4
+ The title of the icon section.
5
+ */
6
+ title?: string;
7
+ /**
8
+ The subtitle of the icon section.
9
+ */
10
+ subtitle?: string;
11
+ /**
12
+ If it is given, displays a gradient.
13
+ */
14
+ gradientProps?: Omit<GradientProps, 'type'> & {
15
+ type: 'extraLarge' | 'extraExtraLarge';
16
+ };
17
+ /**
18
+ If it is given, displays a button.
19
+ */
20
+ buttonProps?: {
21
+ label: string;
22
+ onPress: () => void;
23
+ };
24
+ };
25
+ export default Props;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import Props from './types';
3
- declare const _default: React.MemoExoticComponent<({ isScrollable, onFinishedSelectedIndex, onChangeEqualWidths, widthsShared, widthContainerShared }: Props) => React.JSX.Element>;
2
+ declare const _default: import("react").MemoExoticComponent<({ isScrollable, onFinishedSelectedIndex, onChangeEqualWidths, widthsShared, widthContainerShared }: Props) => import("react").JSX.Element>;
4
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import React, { memo } from 'react';
1
+ import { memo } from 'react';
2
2
  import { View, StyleSheet } from 'react-native';
3
3
  import Animated, { interpolate, useAnimatedStyle, useDerivedValue, useAnimatedReaction } from 'react-native-reanimated';
4
4
  import { scheduleOnRN } from 'react-native-worklets';