native-pytech 1.0.125 → 1.0.129
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 +1 -1
- package/dist/app/assets/components/removeCircle.d.ts +0 -2
- package/dist/app/assets/components/removeCircle.js +0 -2
- package/dist/app/assets/components/reorderThreeOutline.d.ts +0 -2
- package/dist/app/assets/components/reorderThreeOutline.js +0 -2
- package/dist/app/assets/ionicons.d.ts +0 -2
- package/dist/app/assets/ionicons.js +0 -2
- package/dist/app/colorPage.d.ts +0 -1
- package/dist/app/colorPage.js +0 -1
- package/dist/app/components/closeButton.d.ts +0 -2
- package/dist/app/components/closeButton.js +0 -2
- package/dist/app/components/gradient.d.ts +0 -2
- package/dist/app/components/gradient.js +0 -2
- package/dist/app/components/link.d.ts +0 -2
- package/dist/app/components/link.js +0 -2
- package/dist/app/components/text.d.ts +0 -2
- package/dist/app/components/text.js +0 -2
- package/dist/app/components/theme.d.ts +0 -2
- package/dist/app/components/theme.js +0 -2
- package/dist/app/constants/colors.d.ts +0 -2
- package/dist/app/constants/colors.js +0 -2
- package/dist/app/constants/consts.d.ts +0 -1
- package/dist/app/constants/consts.js +0 -1
- package/dist/app/constants/formats.d.ts +0 -1
- package/dist/app/constants/formats.js +0 -1
- package/dist/app/constants/hooks.d.ts +0 -1
- package/dist/app/constants/hooks.js +0 -1
- package/dist/app/constants/utils.d.ts +0 -1
- package/dist/app/constants/utils.js +0 -1
- package/dist/app/editPage.d.ts +0 -1
- package/dist/app/editPage.js +0 -1
- package/dist/app/footer.d.ts +0 -2
- package/dist/app/footer.js +0 -2
- package/dist/app/login.d.ts +0 -2
- package/dist/app/login.js +0 -2
- package/dist/app/page.d.ts +0 -2
- package/dist/app/page.js +0 -2
- package/dist/app/pickerPage.d.ts +0 -1
- package/dist/app/pickerPage.js +0 -1
- package/dist/app/providers/app.d.ts +0 -2
- package/dist/app/providers/app.js +0 -2
- package/dist/app/segmentedControl.d.ts +0 -2
- package/dist/app/segmentedControl.js +0 -2
- package/dist/app/sql.d.ts +0 -2
- package/dist/app/sql.js +0 -2
- package/dist/app/supabase.d.ts +0 -2
- package/dist/app/supabase.js +0 -2
- package/dist/app/swiftui.d.ts +0 -1
- package/dist/app/swiftui.js +0 -1
- package/dist/app/table.d.ts +0 -2
- package/dist/app/table.js +0 -2
- package/dist/index.d.ts +0 -8
- package/dist/index.js +0 -8
- package/dist/libs/assets/components/RemoveCircle.d.ts +0 -6
- package/dist/libs/assets/components/RemoveCircle.js +0 -25
- package/dist/libs/assets/components/ReorderThreeOutline.d.ts +0 -5
- package/dist/libs/assets/components/ReorderThreeOutline.js +0 -15
- package/dist/libs/assets/ionicons/Ionicons.d.ts +0 -35
- package/dist/libs/assets/ionicons/Ionicons.js +0 -16
- package/dist/libs/assets/ionicons/index.d.ts +0 -6
- package/dist/libs/assets/ionicons/index.js +0 -23
- package/dist/libs/colorPage/index.d.ts +0 -1
- package/dist/libs/colorPage/index.js +0 -1
- package/dist/libs/colorPage/src/Content/index.android.d.ts +0 -4
- package/dist/libs/colorPage/src/Content/index.android.js +0 -13
- package/dist/libs/colorPage/src/Content/index.d.ts +0 -3
- package/dist/libs/colorPage/src/Content/index.ios.d.ts +0 -4
- package/dist/libs/colorPage/src/Content/index.ios.js +0 -16
- package/dist/libs/colorPage/src/Content/index.js +0 -1
- package/dist/libs/colorPage/src/Content/types.d.ts +0 -10
- package/dist/libs/colorPage/src/Content/types.js +0 -1
- package/dist/libs/colorPage/src/Item/index.android.d.ts +0 -4
- package/dist/libs/colorPage/src/Item/index.android.js +0 -40
- package/dist/libs/colorPage/src/Item/index.d.ts +0 -3
- package/dist/libs/colorPage/src/Item/index.ios.d.ts +0 -4
- package/dist/libs/colorPage/src/Item/index.ios.js +0 -31
- package/dist/libs/colorPage/src/Item/index.js +0 -1
- package/dist/libs/colorPage/src/Item/types.d.ts +0 -13
- package/dist/libs/colorPage/src/Item/types.js +0 -1
- package/dist/libs/colorPage/src/Page/index.d.ts +0 -4
- package/dist/libs/colorPage/src/Page/index.js +0 -17
- package/dist/libs/colorPage/src/Page/types.d.ts +0 -27
- package/dist/libs/colorPage/src/Page/types.js +0 -1
- package/dist/libs/components/CloseButton.d.ts +0 -9
- package/dist/libs/components/CloseButton.js +0 -18
- package/dist/libs/components/Gradient/components/Gradient/index.d.ts +0 -4
- package/dist/libs/components/Gradient/components/Gradient/index.ios.d.ts +0 -4
- package/dist/libs/components/Gradient/components/Gradient/index.ios.js +0 -35
- package/dist/libs/components/Gradient/components/Gradient/index.js +0 -33
- package/dist/libs/components/Gradient/components/Gradient/types.d.ts +0 -30
- package/dist/libs/components/Gradient/components/Gradient/types.js +0 -1
- package/dist/libs/components/Gradient/components/Icon/index.d.ts +0 -3
- package/dist/libs/components/Gradient/components/Icon/index.js +0 -1
- package/dist/libs/components/Gradient/components/Icon/types.d.ts +0 -16
- package/dist/libs/components/Gradient/components/Icon/types.js +0 -1
- package/dist/libs/components/Gradient/constants.d.ts +0 -97
- package/dist/libs/components/Gradient/constants.js +0 -98
- package/dist/libs/components/Gradient/index.d.ts +0 -3
- package/dist/libs/components/Gradient/index.js +0 -2
- package/dist/libs/components/Link.d.ts +0 -13
- package/dist/libs/components/Link.js +0 -20
- package/dist/libs/components/Text.d.ts +0 -6
- package/dist/libs/components/Text.js +0 -11
- package/dist/libs/components/Theme.d.ts +0 -9
- package/dist/libs/components/Theme.js +0 -10
- package/dist/libs/constants/colors.d.ts +0 -218
- package/dist/libs/constants/colors.js +0 -170
- package/dist/libs/constants/consts.d.ts +0 -13
- package/dist/libs/constants/consts.js +0 -23
- package/dist/libs/constants/formats.d.ts +0 -11
- package/dist/libs/constants/formats.js +0 -84
- package/dist/libs/constants/hooks.d.ts +0 -8
- package/dist/libs/constants/hooks.js +0 -59
- package/dist/libs/constants/utils.d.ts +0 -12
- package/dist/libs/constants/utils.js +0 -75
- package/dist/libs/editPage/index.d.ts +0 -9
- package/dist/libs/editPage/index.js +0 -7
- package/dist/libs/editPage/src/components/Item/index.d.ts +0 -3
- package/dist/libs/editPage/src/components/Item/index.ios.d.ts +0 -4
- package/dist/libs/editPage/src/components/Item/index.ios.js +0 -12
- package/dist/libs/editPage/src/components/Item/index.js +0 -1
- package/dist/libs/editPage/src/components/Item/types.d.ts +0 -14
- package/dist/libs/editPage/src/components/Item/types.js +0 -1
- package/dist/libs/editPage/src/components/ItemDate/index.d.ts +0 -3
- package/dist/libs/editPage/src/components/ItemDate/index.ios.d.ts +0 -4
- package/dist/libs/editPage/src/components/ItemDate/index.ios.js +0 -29
- package/dist/libs/editPage/src/components/ItemDate/index.js +0 -1
- package/dist/libs/editPage/src/components/ItemDate/types.d.ts +0 -25
- package/dist/libs/editPage/src/components/ItemDate/types.js +0 -1
- package/dist/libs/editPage/src/components/Screen/index.d.ts +0 -4
- package/dist/libs/editPage/src/components/Screen/index.ios.d.ts +0 -4
- package/dist/libs/editPage/src/components/Screen/index.ios.js +0 -8
- package/dist/libs/editPage/src/components/Screen/index.js +0 -1
- package/dist/libs/editPage/src/components/Screen/types.d.ts +0 -27
- package/dist/libs/editPage/src/components/Screen/types.js +0 -1
- package/dist/libs/editPage/src/components/TextField/index.d.ts +0 -3
- package/dist/libs/editPage/src/components/TextField/index.ios.d.ts +0 -4
- package/dist/libs/editPage/src/components/TextField/index.ios.js +0 -35
- package/dist/libs/editPage/src/components/TextField/index.js +0 -1
- package/dist/libs/editPage/src/components/TextField/types.d.ts +0 -32
- package/dist/libs/editPage/src/components/TextField/types.js +0 -1
- package/dist/libs/editPage/src/components/Wrapper/index.d.ts +0 -4
- package/dist/libs/editPage/src/components/Wrapper/index.js +0 -84
- package/dist/libs/editPage/src/components/Wrapper/types.d.ts +0 -23
- package/dist/libs/editPage/src/components/Wrapper/types.js +0 -1
- package/dist/libs/editPage/src/context/page.d.ts +0 -13
- package/dist/libs/editPage/src/context/page.js +0 -2
- package/dist/libs/footer/index.d.ts +0 -1
- package/dist/libs/footer/index.js +0 -1
- package/dist/libs/footer/src/components/Background/index.d.ts +0 -4
- package/dist/libs/footer/src/components/Background/index.ios.d.ts +0 -4
- package/dist/libs/footer/src/components/Background/index.ios.js +0 -22
- package/dist/libs/footer/src/components/Background/index.js +0 -21
- package/dist/libs/footer/src/components/Button/Text.d.ts +0 -3
- package/dist/libs/footer/src/components/Button/Text.js +0 -18
- package/dist/libs/footer/src/components/Button/index.d.ts +0 -3
- package/dist/libs/footer/src/components/Button/index.ios.d.ts +0 -4
- package/dist/libs/footer/src/components/Button/index.ios.js +0 -30
- package/dist/libs/footer/src/components/Button/index.js +0 -55
- package/dist/libs/footer/src/components/Button/types.d.ts +0 -22
- package/dist/libs/footer/src/components/Button/types.js +0 -1
- package/dist/libs/footer/src/components/Footer/index.d.ts +0 -6
- package/dist/libs/footer/src/components/Footer/index.ios.d.ts +0 -7
- package/dist/libs/footer/src/components/Footer/index.ios.js +0 -9
- package/dist/libs/footer/src/components/Footer/index.js +0 -38
- package/dist/libs/footer/src/components/View.d.ts +0 -5
- package/dist/libs/footer/src/components/View.js +0 -11
- package/dist/libs/footer/src/constants.d.ts +0 -20
- package/dist/libs/footer/src/constants.js +0 -21
- package/dist/libs/footer/src/index.d.ts +0 -9
- package/dist/libs/footer/src/index.js +0 -7
- package/dist/libs/login/index.d.ts +0 -3
- package/dist/libs/login/index.js +0 -3
- package/dist/libs/login/src/Pages/Home/index.d.ts +0 -3
- package/dist/libs/login/src/Pages/Home/index.js +0 -20
- package/dist/libs/login/src/Pages/Home/types.d.ts +0 -19
- package/dist/libs/login/src/Pages/Home/types.js +0 -1
- package/dist/libs/login/src/Pages/Perfil.d.ts +0 -5
- package/dist/libs/login/src/Pages/Perfil.js +0 -19
- package/dist/libs/login/src/Pages/SignIn/Form/Input.d.ts +0 -9
- package/dist/libs/login/src/Pages/SignIn/Form/Input.js +0 -10
- package/dist/libs/login/src/Pages/SignIn/Form/index.d.ts +0 -6
- package/dist/libs/login/src/Pages/SignIn/Form/index.js +0 -34
- package/dist/libs/login/src/Pages/SignIn/index.d.ts +0 -3
- package/dist/libs/login/src/Pages/SignIn/index.js +0 -149
- package/dist/libs/login/src/Pages/SignIn/types.d.ts +0 -31
- package/dist/libs/login/src/Pages/SignIn/types.js +0 -1
- package/dist/libs/login/src/Pages/index.d.ts +0 -3
- package/dist/libs/login/src/Pages/index.js +0 -3
- package/dist/libs/login/src/Pages/utils.d.ts +0 -22
- package/dist/libs/login/src/Pages/utils.js +0 -24
- package/dist/libs/login/src/Screen/Container.d.ts +0 -4
- package/dist/libs/login/src/Screen/Container.ios.d.ts +0 -4
- package/dist/libs/login/src/Screen/Container.ios.js +0 -20
- package/dist/libs/login/src/Screen/Container.js +0 -25
- package/dist/libs/login/src/Screen/components/Gradient.d.ts +0 -6
- package/dist/libs/login/src/Screen/components/Gradient.js +0 -23
- package/dist/libs/login/src/Screen/components/Input/index.d.ts +0 -4
- package/dist/libs/login/src/Screen/components/Input/index.js +0 -128
- package/dist/libs/login/src/Screen/components/Input/types.d.ts +0 -46
- package/dist/libs/login/src/Screen/components/Input/types.js +0 -1
- package/dist/libs/login/src/Screen/components/SvgLogoPytech.d.ts +0 -4
- package/dist/libs/login/src/Screen/components/SvgLogoPytech.js +0 -11
- package/dist/libs/login/src/Screen/components/SvgPytech.d.ts +0 -4
- package/dist/libs/login/src/Screen/components/SvgPytech.js +0 -11
- package/dist/libs/login/src/Screen/components/index.d.ts +0 -4
- package/dist/libs/login/src/Screen/components/index.js +0 -4
- package/dist/libs/login/src/Screen/index.d.ts +0 -4
- package/dist/libs/login/src/Screen/index.js +0 -59
- package/dist/libs/login/src/Screen/types.d.ts +0 -14
- package/dist/libs/login/src/Screen/types.js +0 -1
- package/dist/libs/login/src/constants.d.ts +0 -98
- package/dist/libs/login/src/constants.js +0 -48
- package/dist/libs/page/index.d.ts +0 -1
- package/dist/libs/page/index.js +0 -1
- package/dist/libs/page/src/components/Page/index.android.d.ts +0 -4
- package/dist/libs/page/src/components/Page/index.android.js +0 -11
- package/dist/libs/page/src/components/Page/index.d.ts +0 -4
- package/dist/libs/page/src/components/Page/index.js +0 -7
- package/dist/libs/page/src/components/PageWrapper/index.d.ts +0 -6
- package/dist/libs/page/src/components/PageWrapper/index.js +0 -13
- package/dist/libs/page/src/components/PageWrapper/types.d.ts +0 -16
- package/dist/libs/page/src/components/PageWrapper/types.js +0 -1
- package/dist/libs/page/src/components/Subtitle.d.ts +0 -5
- package/dist/libs/page/src/components/Subtitle.js +0 -9
- package/dist/libs/page/src/components/WithIcon/index.d.ts +0 -3
- package/dist/libs/page/src/components/WithIcon/index.js +0 -47
- package/dist/libs/page/src/components/WithIcon/types.d.ts +0 -15
- package/dist/libs/page/src/components/WithIcon/types.js +0 -1
- package/dist/libs/page/src/constants.d.ts +0 -12
- package/dist/libs/page/src/constants.js +0 -12
- package/dist/libs/pickerPage/index.d.ts +0 -7
- package/dist/libs/pickerPage/index.js +0 -5
- package/dist/libs/pickerPage/src/Content/index.d.ts +0 -3
- package/dist/libs/pickerPage/src/Content/index.ios.d.ts +0 -4
- package/dist/libs/pickerPage/src/Content/index.ios.js +0 -19
- package/dist/libs/pickerPage/src/Content/index.js +0 -1
- package/dist/libs/pickerPage/src/Content/types.d.ts +0 -3
- package/dist/libs/pickerPage/src/Content/types.js +0 -1
- package/dist/libs/pickerPage/src/Item/index.d.ts +0 -3
- package/dist/libs/pickerPage/src/Item/index.ios.d.ts +0 -8
- package/dist/libs/pickerPage/src/Item/index.ios.js +0 -8
- package/dist/libs/pickerPage/src/Item/index.js +0 -1
- package/dist/libs/pickerPage/src/Item/types.d.ts +0 -23
- package/dist/libs/pickerPage/src/Item/types.js +0 -1
- package/dist/libs/pickerPage/src/Page/index.d.ts +0 -4
- package/dist/libs/pickerPage/src/Page/index.js +0 -22
- package/dist/libs/pickerPage/src/Page/types.d.ts +0 -30
- package/dist/libs/pickerPage/src/Page/types.js +0 -1
- package/dist/libs/providers/App/index.d.ts +0 -10
- package/dist/libs/providers/App/index.js +0 -58
- package/dist/libs/providers/App/types.d.ts +0 -35
- package/dist/libs/providers/App/types.js +0 -1
- package/dist/libs/providers/constants.d.ts +0 -10
- package/dist/libs/providers/constants.js +0 -10
- package/dist/libs/segmentedControl/index.d.ts +0 -2
- package/dist/libs/segmentedControl/index.js +0 -2
- package/dist/libs/segmentedControl/src/colors.d.ts +0 -15
- package/dist/libs/segmentedControl/src/colors.js +0 -16
- package/dist/libs/segmentedControl/src/components/AnimatedChip/index.d.ts +0 -4
- package/dist/libs/segmentedControl/src/components/AnimatedChip/index.js +0 -79
- package/dist/libs/segmentedControl/src/components/AnimatedChip/types.d.ts +0 -28
- package/dist/libs/segmentedControl/src/components/AnimatedChip/types.js +0 -1
- package/dist/libs/segmentedControl/src/components/Container/index.d.ts +0 -4
- package/dist/libs/segmentedControl/src/components/Container/index.ios.d.ts +0 -4
- package/dist/libs/segmentedControl/src/components/Container/index.ios.js +0 -15
- package/dist/libs/segmentedControl/src/components/Container/index.js +0 -18
- package/dist/libs/segmentedControl/src/components/Container/types.d.ts +0 -16
- package/dist/libs/segmentedControl/src/components/Container/types.js +0 -1
- package/dist/libs/segmentedControl/src/components/Item/index.d.ts +0 -4
- package/dist/libs/segmentedControl/src/components/Item/index.js +0 -26
- package/dist/libs/segmentedControl/src/components/Item/types.d.ts +0 -20
- package/dist/libs/segmentedControl/src/components/Item/types.js +0 -1
- package/dist/libs/segmentedControl/src/components/Segmented/index.d.ts +0 -4
- package/dist/libs/segmentedControl/src/components/Segmented/index.js +0 -93
- package/dist/libs/segmentedControl/src/components/Segmented/types.d.ts +0 -12
- package/dist/libs/segmentedControl/src/components/Segmented/types.js +0 -1
- package/dist/libs/segmentedControl/src/components/Wrapper/index.d.ts +0 -4
- package/dist/libs/segmentedControl/src/components/Wrapper/index.js +0 -21
- package/dist/libs/segmentedControl/src/components/Wrapper/types.d.ts +0 -38
- package/dist/libs/segmentedControl/src/components/Wrapper/types.js +0 -1
- package/dist/libs/segmentedControl/src/context/shared.d.ts +0 -11
- package/dist/libs/segmentedControl/src/context/shared.js +0 -13
- package/dist/libs/segmentedControl/src/utils.d.ts +0 -10
- package/dist/libs/segmentedControl/src/utils.js +0 -29
- package/dist/libs/sql/index.d.ts +0 -4
- package/dist/libs/sql/index.js +0 -4
- package/dist/libs/sql/src/init.d.ts +0 -24
- package/dist/libs/sql/src/init.js +0 -31
- package/dist/libs/sql/src/queryLocal.d.ts +0 -6
- package/dist/libs/sql/src/queryLocal.js +0 -15
- package/dist/libs/sql/src/utils.d.ts +0 -11
- package/dist/libs/sql/src/utils.js +0 -60
- package/dist/libs/supabase/index.d.ts +0 -4
- package/dist/libs/supabase/index.js +0 -2
- package/dist/libs/supabase/src/clients/admin/config.d.ts +0 -2
- package/dist/libs/supabase/src/clients/admin/config.js +0 -18
- package/dist/libs/supabase/src/clients/admin/index.d.ts +0 -9
- package/dist/libs/supabase/src/clients/admin/index.js +0 -7
- package/dist/libs/supabase/src/clients/admin/utils.d.ts +0 -5
- package/dist/libs/supabase/src/clients/admin/utils.js +0 -6
- package/dist/libs/supabase/src/clients/app/config.d.ts +0 -3
- package/dist/libs/supabase/src/clients/app/config.js +0 -31
- package/dist/libs/supabase/src/clients/app/index.d.ts +0 -16
- package/dist/libs/supabase/src/clients/app/index.js +0 -7
- package/dist/libs/supabase/src/clients/app/utils.d.ts +0 -12
- package/dist/libs/supabase/src/clients/app/utils.js +0 -10
- package/dist/libs/supabase/src/utils/index.d.ts +0 -20
- package/dist/libs/supabase/src/utils/index.js +0 -23
- package/dist/libs/supabase/src/utils/types.d.ts +0 -22
- package/dist/libs/supabase/src/utils/types.js +0 -1
- package/dist/libs/swiftui/index.d.ts +0 -9
- package/dist/libs/swiftui/index.js +0 -9
- package/dist/libs/swiftui/src/components/Dialog/index.d.ts +0 -4
- package/dist/libs/swiftui/src/components/Dialog/index.js +0 -22
- package/dist/libs/swiftui/src/components/Dialog/types.d.ts +0 -21
- package/dist/libs/swiftui/src/components/Dialog/types.js +0 -1
- package/dist/libs/swiftui/src/components/Host.d.ts +0 -6
- package/dist/libs/swiftui/src/components/Host.js +0 -5
- package/dist/libs/swiftui/src/components/Icon.d.ts +0 -10
- package/dist/libs/swiftui/src/components/Icon.js +0 -8
- package/dist/libs/swiftui/src/components/IconSection/Icon.d.ts +0 -25
- package/dist/libs/swiftui/src/components/IconSection/Icon.js +0 -26
- package/dist/libs/swiftui/src/components/IconSection/Section.d.ts +0 -7
- package/dist/libs/swiftui/src/components/IconSection/Section.js +0 -17
- package/dist/libs/swiftui/src/components/IconSection/index.d.ts +0 -7
- package/dist/libs/swiftui/src/components/IconSection/index.js +0 -5
- package/dist/libs/swiftui/src/components/List/BaseList/index.d.ts +0 -10
- package/dist/libs/swiftui/src/components/List/BaseList/index.js +0 -20
- package/dist/libs/swiftui/src/components/List/BaseList/types.d.ts +0 -16
- package/dist/libs/swiftui/src/components/List/BaseList/types.js +0 -1
- package/dist/libs/swiftui/src/components/List/Editable/List/index.d.ts +0 -4
- package/dist/libs/swiftui/src/components/List/Editable/List/index.js +0 -19
- package/dist/libs/swiftui/src/components/List/Editable/List/types.d.ts +0 -16
- package/dist/libs/swiftui/src/components/List/Editable/List/types.js +0 -1
- package/dist/libs/swiftui/src/components/List/Editable/Section/index.d.ts +0 -5
- package/dist/libs/swiftui/src/components/List/Editable/Section/index.js +0 -36
- package/dist/libs/swiftui/src/components/List/Editable/Section/types.d.ts +0 -42
- package/dist/libs/swiftui/src/components/List/Editable/Section/types.js +0 -1
- package/dist/libs/swiftui/src/components/List/Editable/index.d.ts +0 -7
- package/dist/libs/swiftui/src/components/List/Editable/index.js +0 -5
- package/dist/libs/swiftui/src/components/List/index.d.ts +0 -7
- package/dist/libs/swiftui/src/components/List/index.js +0 -5
- package/dist/libs/swiftui/src/components/NavigationLink/Trailing.d.ts +0 -4
- package/dist/libs/swiftui/src/components/NavigationLink/Trailing.js +0 -14
- package/dist/libs/swiftui/src/components/NavigationLink/index.d.ts +0 -4
- package/dist/libs/swiftui/src/components/NavigationLink/index.js +0 -14
- package/dist/libs/swiftui/src/components/NavigationLink/types.d.ts +0 -31
- package/dist/libs/swiftui/src/components/NavigationLink/types.js +0 -1
- package/dist/libs/swiftui/src/components/Picker.d.ts +0 -11
- package/dist/libs/swiftui/src/components/Picker.js +0 -14
- package/dist/libs/swiftui/src/components/Text.d.ts +0 -6
- package/dist/libs/swiftui/src/components/Text.js +0 -10
- package/dist/libs/swiftui/src/components/TextSubtitle.d.ts +0 -22
- package/dist/libs/swiftui/src/components/TextSubtitle.js +0 -9
- package/dist/libs/swiftui/src/context/ListEditable.d.ts +0 -7
- package/dist/libs/swiftui/src/context/ListEditable.js +0 -2
- package/dist/libs/table/index.d.ts +0 -5
- package/dist/libs/table/index.js +0 -5
- package/dist/libs/table/src/components/Borders.d.ts +0 -6
- package/dist/libs/table/src/components/Borders.js +0 -84
- package/dist/libs/table/src/components/Delete/index.d.ts +0 -4
- package/dist/libs/table/src/components/Delete/index.js +0 -141
- package/dist/libs/table/src/components/Delete/types.d.ts +0 -27
- package/dist/libs/table/src/components/Delete/types.js +0 -1
- package/dist/libs/table/src/components/Detail.d.ts +0 -4
- package/dist/libs/table/src/components/Detail.js +0 -11
- package/dist/libs/table/src/components/Option/index.d.ts +0 -6
- package/dist/libs/table/src/components/Option/index.js +0 -106
- package/dist/libs/table/src/components/Option/types.d.ts +0 -61
- package/dist/libs/table/src/components/Option/types.js +0 -1
- package/dist/libs/table/src/components/OptionComponents/deleteIcon.d.ts +0 -6
- package/dist/libs/table/src/components/OptionComponents/deleteIcon.js +0 -14
- package/dist/libs/table/src/components/OptionComponents/dragIcon.d.ts +0 -6
- package/dist/libs/table/src/components/OptionComponents/dragIcon.js +0 -18
- package/dist/libs/table/src/components/OptionComponents/icon.d.ts +0 -10
- package/dist/libs/table/src/components/OptionComponents/icon.js +0 -12
- package/dist/libs/table/src/components/OptionComponents/image.d.ts +0 -9
- package/dist/libs/table/src/components/OptionComponents/image.js +0 -12
- package/dist/libs/table/src/components/OptionComponents/index.d.ts +0 -8
- package/dist/libs/table/src/components/OptionComponents/index.js +0 -8
- package/dist/libs/table/src/components/OptionComponents/text.d.ts +0 -22
- package/dist/libs/table/src/components/OptionComponents/text.js +0 -20
- package/dist/libs/table/src/components/OptionComponents/textInput.d.ts +0 -25
- package/dist/libs/table/src/components/OptionComponents/textInput.js +0 -49
- package/dist/libs/table/src/components/OptionComponents/textInputCurrency.d.ts +0 -8
- package/dist/libs/table/src/components/OptionComponents/textInputCurrency.js +0 -10
- package/dist/libs/table/src/components/OptionComponents/textView.d.ts +0 -14
- package/dist/libs/table/src/components/OptionComponents/textView.js +0 -18
- package/dist/libs/table/src/components/OptionWrapper/index.d.ts +0 -3
- package/dist/libs/table/src/components/OptionWrapper/index.js +0 -9
- package/dist/libs/table/src/components/OptionWrapper/types.d.ts +0 -37
- package/dist/libs/table/src/components/OptionWrapper/types.js +0 -1
- package/dist/libs/table/src/components/Table/index.d.ts +0 -3
- package/dist/libs/table/src/components/Table/index.js +0 -90
- package/dist/libs/table/src/components/Table/types.d.ts +0 -70
- package/dist/libs/table/src/components/Table/types.js +0 -1
- package/dist/libs/table/src/components/Wrapper.d.ts +0 -4
- package/dist/libs/table/src/components/Wrapper.js +0 -49
- package/dist/libs/table/src/constants.d.ts +0 -108
- package/dist/libs/table/src/constants.js +0 -107
- package/dist/libs/table/src/context/borders.d.ts +0 -10
- package/dist/libs/table/src/context/borders.js +0 -11
- package/dist/libs/table/src/context/delete.d.ts +0 -1
- package/dist/libs/table/src/context/delete.js +0 -2
- package/dist/libs/table/src/context/table.d.ts +0 -21
- package/dist/libs/table/src/context/table.js +0 -4
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UnknownOutputParams, ImperativeRouter } from 'expo-router';
|
|
3
|
-
declare const _default: React.MemoExoticComponent<({ onclick }: {
|
|
4
|
-
onclick: ({ router, localSearchParams }: {
|
|
5
|
-
router: ImperativeRouter;
|
|
6
|
-
localSearchParams: UnknownOutputParams;
|
|
7
|
-
}) => void;
|
|
8
|
-
}) => React.JSX.Element>;
|
|
9
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React, { memo } from 'react';
|
|
2
|
-
import { useLocalSearchParams, router } from 'expo-router';
|
|
3
|
-
import { StyleSheet, TouchableOpacity } from 'react-native';
|
|
4
|
-
import { Ionicons } from '@expo/vector-icons';
|
|
5
|
-
import { useApp } from '../../libs/providers/App';
|
|
6
|
-
import Colors from '../../libs/constants/colors';
|
|
7
|
-
export default memo(({ onclick }) => {
|
|
8
|
-
const { colorScheme } = useApp();
|
|
9
|
-
const localSearchParams = useLocalSearchParams();
|
|
10
|
-
return (<TouchableOpacity style={styles.container} onPress={() => onclick({ router, localSearchParams })}>
|
|
11
|
-
<Ionicons name="close-outline" size={30} color={Colors[colorScheme].text}/>
|
|
12
|
-
</TouchableOpacity>);
|
|
13
|
-
});
|
|
14
|
-
const styles = StyleSheet.create({
|
|
15
|
-
container: {
|
|
16
|
-
marginLeft: 3
|
|
17
|
-
}
|
|
18
|
-
});
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React, { memo, useMemo } from 'react';
|
|
2
|
-
import { frame, font, foregroundStyle, background, clipShape } from '@expo/ui/swift-ui/modifiers';
|
|
3
|
-
import { Text, Image } from '@expo/ui/swift-ui';
|
|
4
|
-
import colors, { sizes } from '../../constants';
|
|
5
|
-
export default memo(({ text, color = 'default', type = 'small', sizeDiameter, systemName, iconSize, }) => {
|
|
6
|
-
const typeSizes = useMemo(() => {
|
|
7
|
-
if (!sizeDiameter)
|
|
8
|
-
return sizes[type];
|
|
9
|
-
return {
|
|
10
|
-
diameter: sizeDiameter,
|
|
11
|
-
fontSize: {
|
|
12
|
-
1: sizeDiameter * 0.53,
|
|
13
|
-
2: sizeDiameter * 0.48,
|
|
14
|
-
3: sizeDiameter * 0.43
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
}, [type]);
|
|
18
|
-
const cantLetras = text?.length ?? 0;
|
|
19
|
-
const modifiers = useMemo(() => [
|
|
20
|
-
frame({ width: typeSizes.diameter, height: typeSizes.diameter }),
|
|
21
|
-
foregroundStyle('white'),
|
|
22
|
-
background(colors[color].middle),
|
|
23
|
-
clipShape('circle'),
|
|
24
|
-
], [typeSizes, color]);
|
|
25
|
-
// Return
|
|
26
|
-
if (text && cantLetras <= 3) {
|
|
27
|
-
return (<Text modifiers={[
|
|
28
|
-
font({ weight: 'semibold', size: typeSizes.fontSize[cantLetras] }),
|
|
29
|
-
...modifiers
|
|
30
|
-
]}>
|
|
31
|
-
{text}
|
|
32
|
-
</Text>);
|
|
33
|
-
}
|
|
34
|
-
return (<Image systemName={systemName} color='white' size={iconSize ?? typeSizes.diameter / 2} modifiers={modifiers}/>);
|
|
35
|
-
});
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React, { memo, useMemo } from 'react';
|
|
2
|
-
import { StyleSheet, Text } from 'react-native';
|
|
3
|
-
import { LinearGradient } from 'expo-linear-gradient';
|
|
4
|
-
import colors, { sizes } from '../../constants';
|
|
5
|
-
import Icon from '../Icon';
|
|
6
|
-
export default memo(({ text, color = 'default', type = 'small', sizeDiameter, systemName, iconSize, }) => {
|
|
7
|
-
const typeSizes = useMemo(() => sizes[type], [type]);
|
|
8
|
-
const textComponent = useMemo(() => {
|
|
9
|
-
const cantLetras = text?.length;
|
|
10
|
-
if (!text || !cantLetras)
|
|
11
|
-
return null;
|
|
12
|
-
if (cantLetras > 3)
|
|
13
|
-
throw new Error('Text must be less than 3 characters');
|
|
14
|
-
return (<Text style={[styles.text, { fontSize: typeSizes.fontSize[cantLetras] }]} allowFontScaling={false}>
|
|
15
|
-
{text}
|
|
16
|
-
</Text>);
|
|
17
|
-
}, [text, typeSizes]);
|
|
18
|
-
return (<LinearGradient style={[styles.gradient, { height: typeSizes.diameter, borderRadius: typeSizes.diameter }]} colors={[colors[color].light, colors[color].dark]} start={{ x: 0, y: 0 }} end={{ x: 0, y: 1 }}>
|
|
19
|
-
{textComponent ?? (systemName && (<Icon systemName={systemName} size={iconSize ?? typeSizes.diameter / 2}/>))}
|
|
20
|
-
</LinearGradient>);
|
|
21
|
-
});
|
|
22
|
-
const styles = StyleSheet.create({
|
|
23
|
-
gradient: {
|
|
24
|
-
aspectRatio: 1, // width will automatically match height
|
|
25
|
-
justifyContent: 'center',
|
|
26
|
-
alignItems: 'center'
|
|
27
|
-
},
|
|
28
|
-
text: {
|
|
29
|
-
color: 'white',
|
|
30
|
-
fontWeight: 'bold',
|
|
31
|
-
letterSpacing: -0.5,
|
|
32
|
-
}
|
|
33
|
-
});
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { sizesType, ColorsType } from '../../constants';
|
|
2
|
-
import IconProps from '../Icon/types';
|
|
3
|
-
export type Props = Omit<IconProps, 'size'> & {
|
|
4
|
-
/**
|
|
5
|
-
The text to display in the gradient.
|
|
6
|
-
Must be less than 3 characters.
|
|
7
|
-
*/
|
|
8
|
-
text?: string;
|
|
9
|
-
/**
|
|
10
|
-
The color of the gradient.
|
|
11
|
-
@default 'default'
|
|
12
|
-
*/
|
|
13
|
-
color?: ColorsType;
|
|
14
|
-
/**
|
|
15
|
-
The size of the gradient.
|
|
16
|
-
@default 'small'
|
|
17
|
-
*/
|
|
18
|
-
type?: sizesType;
|
|
19
|
-
/**
|
|
20
|
-
The size of the gradient. If "type" is provided, this will be ignored.
|
|
21
|
-
*/
|
|
22
|
-
sizeDiameter?: number;
|
|
23
|
-
/**
|
|
24
|
-
The size of the icon.
|
|
25
|
-
@ios
|
|
26
|
-
@default (typeSizes.diameter/2)
|
|
27
|
-
*/
|
|
28
|
-
iconSize?: number;
|
|
29
|
-
};
|
|
30
|
-
export default Props;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default ({ systemName, size = 100 }) => null;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type SFSymbol } from 'sf-symbols-typescript';
|
|
2
|
-
type Props = {
|
|
3
|
-
/**
|
|
4
|
-
The name of the system image (SF Symbol).
|
|
5
|
-
For example: 'photo', 'heart.fill', 'star.circle'
|
|
6
|
-
@ios
|
|
7
|
-
*/
|
|
8
|
-
systemName?: SFSymbol;
|
|
9
|
-
/**
|
|
10
|
-
The size of the icon.
|
|
11
|
-
@ios
|
|
12
|
-
@default 100
|
|
13
|
-
*/
|
|
14
|
-
size?: number;
|
|
15
|
-
};
|
|
16
|
-
export default Props;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
export declare const colors: {
|
|
2
|
-
default: {
|
|
3
|
-
dark: string;
|
|
4
|
-
middle: string;
|
|
5
|
-
light: string;
|
|
6
|
-
};
|
|
7
|
-
rojo: {
|
|
8
|
-
dark: string;
|
|
9
|
-
middle: string;
|
|
10
|
-
light: string;
|
|
11
|
-
};
|
|
12
|
-
amarillo: {
|
|
13
|
-
dark: string;
|
|
14
|
-
middle: string;
|
|
15
|
-
light: string;
|
|
16
|
-
};
|
|
17
|
-
azul_oscuro: {
|
|
18
|
-
dark: string;
|
|
19
|
-
middle: string;
|
|
20
|
-
light: string;
|
|
21
|
-
};
|
|
22
|
-
naranja: {
|
|
23
|
-
dark: string;
|
|
24
|
-
middle: string;
|
|
25
|
-
light: string;
|
|
26
|
-
};
|
|
27
|
-
marron_claro: {
|
|
28
|
-
dark: string;
|
|
29
|
-
middle: string;
|
|
30
|
-
light: string;
|
|
31
|
-
};
|
|
32
|
-
verde_agua: {
|
|
33
|
-
dark: string;
|
|
34
|
-
middle: string;
|
|
35
|
-
light: string;
|
|
36
|
-
};
|
|
37
|
-
marron_oscuro: {
|
|
38
|
-
dark: string;
|
|
39
|
-
middle: string;
|
|
40
|
-
light: string;
|
|
41
|
-
};
|
|
42
|
-
rosa: {
|
|
43
|
-
dark: string;
|
|
44
|
-
middle: string;
|
|
45
|
-
light: string;
|
|
46
|
-
};
|
|
47
|
-
azul_claro: {
|
|
48
|
-
dark: string;
|
|
49
|
-
middle: string;
|
|
50
|
-
light: string;
|
|
51
|
-
};
|
|
52
|
-
violeta: {
|
|
53
|
-
dark: string;
|
|
54
|
-
middle: string;
|
|
55
|
-
light: string;
|
|
56
|
-
};
|
|
57
|
-
celeste_oscuro: {
|
|
58
|
-
dark: string;
|
|
59
|
-
middle: string;
|
|
60
|
-
light: string;
|
|
61
|
-
};
|
|
62
|
-
gris: {
|
|
63
|
-
dark: string;
|
|
64
|
-
middle: string;
|
|
65
|
-
light: string;
|
|
66
|
-
};
|
|
67
|
-
celeste_claro: {
|
|
68
|
-
dark: string;
|
|
69
|
-
middle: string;
|
|
70
|
-
light: string;
|
|
71
|
-
};
|
|
72
|
-
verde_oscuro: {
|
|
73
|
-
dark: string;
|
|
74
|
-
middle: string;
|
|
75
|
-
light: string;
|
|
76
|
-
};
|
|
77
|
-
verde_claro: {
|
|
78
|
-
dark: string;
|
|
79
|
-
middle: string;
|
|
80
|
-
light: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
export type ColorsType = keyof typeof colors;
|
|
84
|
-
declare const diameterCircle: {
|
|
85
|
-
small: number;
|
|
86
|
-
medium: number;
|
|
87
|
-
large: number;
|
|
88
|
-
extraLarge: number;
|
|
89
|
-
extraExtraLarge: number;
|
|
90
|
-
};
|
|
91
|
-
export type sizesType = keyof typeof diameterCircle;
|
|
92
|
-
export type letterCountType = 1 | 2 | 3;
|
|
93
|
-
export declare const sizes: Record<sizesType, {
|
|
94
|
-
diameter: number;
|
|
95
|
-
fontSize: { [key in letterCountType]: number; };
|
|
96
|
-
}>;
|
|
97
|
-
export default colors;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
export const colors = {
|
|
2
|
-
default: {
|
|
3
|
-
dark: '#7580ba',
|
|
4
|
-
middle: '#7580ba',
|
|
5
|
-
light: '#b1c6e4'
|
|
6
|
-
},
|
|
7
|
-
rojo: {
|
|
8
|
-
dark: '#b12309',
|
|
9
|
-
middle: '#d9543a',
|
|
10
|
-
light: '#ff856a'
|
|
11
|
-
},
|
|
12
|
-
amarillo: {
|
|
13
|
-
dark: '#c97c00',
|
|
14
|
-
middle: '#e4ad1b',
|
|
15
|
-
light: '#ffe535'
|
|
16
|
-
},
|
|
17
|
-
azul_oscuro: {
|
|
18
|
-
dark: '#0f236d',
|
|
19
|
-
middle: '#3d51a0',
|
|
20
|
-
light: '#6a7ec9'
|
|
21
|
-
},
|
|
22
|
-
naranja: {
|
|
23
|
-
dark: '#9c4d00',
|
|
24
|
-
middle: '#ce8430',
|
|
25
|
-
light: '#ffba53'
|
|
26
|
-
},
|
|
27
|
-
marron_claro: {
|
|
28
|
-
dark: '#75582e',
|
|
29
|
-
middle: '#ac9065',
|
|
30
|
-
light: '#e4c79d'
|
|
31
|
-
},
|
|
32
|
-
verde_agua: {
|
|
33
|
-
dark: '#105951',
|
|
34
|
-
middle: '#48928a',
|
|
35
|
-
light: '#80c3ba'
|
|
36
|
-
},
|
|
37
|
-
marron_oscuro: {
|
|
38
|
-
dark: '#4f2a00',
|
|
39
|
-
middle: '#7d5830',
|
|
40
|
-
light: '#aa855a'
|
|
41
|
-
},
|
|
42
|
-
rosa: {
|
|
43
|
-
dark: '#892466',
|
|
44
|
-
middle: '#bd58a1',
|
|
45
|
-
light: '#f08bcc'
|
|
46
|
-
},
|
|
47
|
-
azul_claro: {
|
|
48
|
-
dark: '#334696',
|
|
49
|
-
middle: '#697cd0',
|
|
50
|
-
light: '#9eb1ff'
|
|
51
|
-
},
|
|
52
|
-
violeta: {
|
|
53
|
-
dark: '#482d76',
|
|
54
|
-
middle: '#7a5ea8',
|
|
55
|
-
light: '#ac90d9'
|
|
56
|
-
},
|
|
57
|
-
celeste_oscuro: {
|
|
58
|
-
dark: '#005095',
|
|
59
|
-
middle: '#3790ca',
|
|
60
|
-
light: '#6dbfff'
|
|
61
|
-
},
|
|
62
|
-
gris: {
|
|
63
|
-
dark: '#445255',
|
|
64
|
-
middle: '#7a888b',
|
|
65
|
-
light: '#b0bec1'
|
|
66
|
-
},
|
|
67
|
-
celeste_claro: {
|
|
68
|
-
dark: '#237286',
|
|
69
|
-
middle: '#5daec1',
|
|
70
|
-
light: '#98e7fb'
|
|
71
|
-
},
|
|
72
|
-
verde_oscuro: {
|
|
73
|
-
dark: '#215b1d',
|
|
74
|
-
middle: '#569052',
|
|
75
|
-
light: '#8ac487'
|
|
76
|
-
},
|
|
77
|
-
verde_claro: {
|
|
78
|
-
dark: '#4b5f13',
|
|
79
|
-
middle: '#83974b',
|
|
80
|
-
light: '#bbce82'
|
|
81
|
-
}
|
|
82
|
-
};
|
|
83
|
-
const diameterCircle = {
|
|
84
|
-
small: 40,
|
|
85
|
-
medium: 45,
|
|
86
|
-
large: 50,
|
|
87
|
-
extraLarge: 100,
|
|
88
|
-
extraExtraLarge: 200
|
|
89
|
-
};
|
|
90
|
-
export const sizes = Object.fromEntries(Object.entries(diameterCircle).map(([key, value]) => [key, {
|
|
91
|
-
diameter: value,
|
|
92
|
-
fontSize: {
|
|
93
|
-
1: value * 0.53,
|
|
94
|
-
2: value * 0.48,
|
|
95
|
-
3: value * 0.43
|
|
96
|
-
}
|
|
97
|
-
}]));
|
|
98
|
-
export default colors;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { StyleProp, TextStyle } from 'react-native';
|
|
2
|
-
import { ImperativeRouter } from 'expo-router';
|
|
3
|
-
declare const _default: import("react").MemoExoticComponent<({ text, onPress, renderItems, style }: {
|
|
4
|
-
text?: string;
|
|
5
|
-
onPress: ({ router }: {
|
|
6
|
-
router: ImperativeRouter;
|
|
7
|
-
}) => void;
|
|
8
|
-
renderItems?: ({ pressed }: {
|
|
9
|
-
pressed: boolean;
|
|
10
|
-
}) => React.ReactNode;
|
|
11
|
-
style?: StyleProp<TextStyle>;
|
|
12
|
-
}) => import("react").JSX.Element>;
|
|
13
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Pressable, View, Text, StyleSheet } from 'react-native';
|
|
2
|
-
import { memo } from 'react';
|
|
3
|
-
import { useRouter } from 'expo-router';
|
|
4
|
-
export default memo(({ text = 'Inicia sesión', onPress, renderItems = ({ pressed }) => null, style }) => {
|
|
5
|
-
const router = useRouter();
|
|
6
|
-
return (<Pressable onPress={() => onPress({ router })}>
|
|
7
|
-
{({ pressed }) => (<View style={{ flexDirection: 'row', alignItems: 'center', gap: 4 }}>
|
|
8
|
-
<Text style={[styles.text, style, pressed && { textDecorationLine: 'underline' }]}>
|
|
9
|
-
{text}
|
|
10
|
-
</Text>
|
|
11
|
-
{renderItems({ pressed })}
|
|
12
|
-
</View>)}
|
|
13
|
-
</Pressable>);
|
|
14
|
-
});
|
|
15
|
-
const styles = StyleSheet.create({
|
|
16
|
-
text: {
|
|
17
|
-
fontSize: 15,
|
|
18
|
-
color: 'hsl(207, 100%, 50%)',
|
|
19
|
-
},
|
|
20
|
-
});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Text } from "react-native";
|
|
2
|
-
import { memo } from "react";
|
|
3
|
-
import { useApp } from "../../libs/providers/App";
|
|
4
|
-
export default memo(({ children, fontScale, ...props }) => {
|
|
5
|
-
if (fontScale !== undefined)
|
|
6
|
-
return <Text key={fontScale.toString()} {...props}>{children}</Text>;
|
|
7
|
-
const { fontScale: fontScaleApp } = useApp();
|
|
8
|
-
return (<Text key={fontScaleApp.toString()} {...props}>
|
|
9
|
-
{children}
|
|
10
|
-
</Text>);
|
|
11
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type ColorSchemeType } from '../../libs/constants/colors';
|
|
3
|
-
type WithColorScheme = {
|
|
4
|
-
colorScheme: ColorSchemeType;
|
|
5
|
-
};
|
|
6
|
-
declare const _default: <P extends object>({ component, ...props }: {
|
|
7
|
-
component: React.ComponentType<P & WithColorScheme>;
|
|
8
|
-
} & Partial<WithColorScheme> & P) => React.JSX.Element;
|
|
9
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { useApp } from '../../libs/providers/App';
|
|
3
|
-
export default ({ component, ...props }) => {
|
|
4
|
-
const Component = component;
|
|
5
|
-
if (props.colorScheme !== undefined) {
|
|
6
|
-
return <Component {...props} colorScheme={props.colorScheme}/>;
|
|
7
|
-
}
|
|
8
|
-
const { colorScheme } = useApp();
|
|
9
|
-
return <Component {...props} colorScheme={colorScheme}/>;
|
|
10
|
-
};
|
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Below are the colors that are used in the app. The colors are defined in the light and dark mode.
|
|
3
|
-
* There are many other ways to style your app. For example, [Nativewind](https://www.nativewind.dev/), [Tamagui](https://tamagui.dev/), [unistyles](https://reactnativeunistyles.vercel.app), etc.
|
|
4
|
-
*/
|
|
5
|
-
declare const Colors: {
|
|
6
|
-
light: {
|
|
7
|
-
text: string;
|
|
8
|
-
textInvert: string;
|
|
9
|
-
background: string;
|
|
10
|
-
tint: string;
|
|
11
|
-
icon: string;
|
|
12
|
-
tabIconDefault: string;
|
|
13
|
-
tabIconSelected: string;
|
|
14
|
-
focusColor: string;
|
|
15
|
-
text2: string;
|
|
16
|
-
borderColorError: string;
|
|
17
|
-
backgroundColor2Error: string;
|
|
18
|
-
backgroundColor: string;
|
|
19
|
-
backgroundColor2: string;
|
|
20
|
-
description: string;
|
|
21
|
-
borderColor: string;
|
|
22
|
-
borderColor9: string;
|
|
23
|
-
borderColor8: string;
|
|
24
|
-
borderColor7: string;
|
|
25
|
-
borderColor6: string;
|
|
26
|
-
borderColor5: string;
|
|
27
|
-
borderColor4: string;
|
|
28
|
-
borderColor3: string;
|
|
29
|
-
borderColor2: string;
|
|
30
|
-
borderColor1: string;
|
|
31
|
-
backgroundColor3: string;
|
|
32
|
-
backgroundColorContactos: string;
|
|
33
|
-
backgroundColorModal: string;
|
|
34
|
-
backgroundColorModal2: string;
|
|
35
|
-
FiltroColorSeleccionado: string;
|
|
36
|
-
FiltroIconoSeleccionado: string;
|
|
37
|
-
FiltroColorNoSeleccionado: string;
|
|
38
|
-
FiltroIconoNoSeleccionado: string;
|
|
39
|
-
FiltroColorMensaje: string;
|
|
40
|
-
SearchBar: string;
|
|
41
|
-
SearchBarText: string;
|
|
42
|
-
text2Libretas: string;
|
|
43
|
-
contLibretas: string;
|
|
44
|
-
contTable: string;
|
|
45
|
-
contTableModal: string;
|
|
46
|
-
contTableModal2: string;
|
|
47
|
-
contTableLight: string;
|
|
48
|
-
contLibretasPressed: string;
|
|
49
|
-
skeletonGradientStart: string;
|
|
50
|
-
skeletonGradientEnd: string;
|
|
51
|
-
skeletonGradientStart2: string;
|
|
52
|
-
skeletonGradientEnd2: string;
|
|
53
|
-
pildoraVacia: string;
|
|
54
|
-
contTableLightBlue: string;
|
|
55
|
-
pressableLightBlue: string;
|
|
56
|
-
contTableOrange: string;
|
|
57
|
-
pressableOrange: string;
|
|
58
|
-
};
|
|
59
|
-
dark: {
|
|
60
|
-
text: string;
|
|
61
|
-
textInvert: string;
|
|
62
|
-
background: string;
|
|
63
|
-
tint: string;
|
|
64
|
-
icon: string;
|
|
65
|
-
tabIconDefault: string;
|
|
66
|
-
tabIconSelected: string;
|
|
67
|
-
focusColor: string;
|
|
68
|
-
text2: string;
|
|
69
|
-
borderColorError: string;
|
|
70
|
-
backgroundColor2Error: string;
|
|
71
|
-
backgroundColor: string;
|
|
72
|
-
backgroundColor2: string;
|
|
73
|
-
description: string;
|
|
74
|
-
borderColor: string;
|
|
75
|
-
borderColor9: string;
|
|
76
|
-
borderColor8: string;
|
|
77
|
-
borderColor7: string;
|
|
78
|
-
borderColor6: string;
|
|
79
|
-
borderColor5: string;
|
|
80
|
-
borderColor4: string;
|
|
81
|
-
borderColor3: string;
|
|
82
|
-
borderColor2: string;
|
|
83
|
-
borderColor1: string;
|
|
84
|
-
backgroundColor3: string;
|
|
85
|
-
backgroundColorContactos: string;
|
|
86
|
-
backgroundColorModal: string;
|
|
87
|
-
backgroundColorModal2: string;
|
|
88
|
-
FiltroColorSeleccionado: string;
|
|
89
|
-
FiltroIconoSeleccionado: string;
|
|
90
|
-
FiltroColorNoSeleccionado: string;
|
|
91
|
-
FiltroIconoNoSeleccionado: string;
|
|
92
|
-
FiltroColorMensaje: string;
|
|
93
|
-
SearchBar: string;
|
|
94
|
-
SearchBarText: string;
|
|
95
|
-
text2Libretas: string;
|
|
96
|
-
contLibretas: string;
|
|
97
|
-
contTable: string;
|
|
98
|
-
contTableModal: string;
|
|
99
|
-
contTableModal2: string;
|
|
100
|
-
contTableLight: string;
|
|
101
|
-
contLibretasPressed: string;
|
|
102
|
-
skeletonGradientStart: string;
|
|
103
|
-
skeletonGradientEnd: string;
|
|
104
|
-
skeletonGradientStart2: string;
|
|
105
|
-
skeletonGradientEnd2: string;
|
|
106
|
-
pildoraVacia: string;
|
|
107
|
-
contTableLightBlue: string;
|
|
108
|
-
pressableLightBlue: string;
|
|
109
|
-
contTableOrange: string;
|
|
110
|
-
pressableOrange: string;
|
|
111
|
-
};
|
|
112
|
-
perfil: {
|
|
113
|
-
default: {
|
|
114
|
-
dark: string;
|
|
115
|
-
light: string;
|
|
116
|
-
};
|
|
117
|
-
rojo: {
|
|
118
|
-
dark: string;
|
|
119
|
-
light: string;
|
|
120
|
-
};
|
|
121
|
-
amarillo: {
|
|
122
|
-
dark: string;
|
|
123
|
-
light: string;
|
|
124
|
-
};
|
|
125
|
-
azul_oscuro: {
|
|
126
|
-
dark: string;
|
|
127
|
-
light: string;
|
|
128
|
-
};
|
|
129
|
-
naranja: {
|
|
130
|
-
dark: string;
|
|
131
|
-
light: string;
|
|
132
|
-
};
|
|
133
|
-
marron_claro: {
|
|
134
|
-
dark: string;
|
|
135
|
-
light: string;
|
|
136
|
-
};
|
|
137
|
-
verde_agua: {
|
|
138
|
-
dark: string;
|
|
139
|
-
light: string;
|
|
140
|
-
};
|
|
141
|
-
marron_oscuro: {
|
|
142
|
-
dark: string;
|
|
143
|
-
light: string;
|
|
144
|
-
};
|
|
145
|
-
rosa: {
|
|
146
|
-
dark: string;
|
|
147
|
-
light: string;
|
|
148
|
-
};
|
|
149
|
-
azul_claro: {
|
|
150
|
-
dark: string;
|
|
151
|
-
light: string;
|
|
152
|
-
};
|
|
153
|
-
violeta: {
|
|
154
|
-
dark: string;
|
|
155
|
-
light: string;
|
|
156
|
-
};
|
|
157
|
-
celeste_oscuro: {
|
|
158
|
-
dark: string;
|
|
159
|
-
light: string;
|
|
160
|
-
};
|
|
161
|
-
gris: {
|
|
162
|
-
dark: string;
|
|
163
|
-
light: string;
|
|
164
|
-
};
|
|
165
|
-
celeste_claro: {
|
|
166
|
-
dark: string;
|
|
167
|
-
light: string;
|
|
168
|
-
};
|
|
169
|
-
verde_oscuro: {
|
|
170
|
-
dark: string;
|
|
171
|
-
light: string;
|
|
172
|
-
};
|
|
173
|
-
verde_claro: {
|
|
174
|
-
dark: string;
|
|
175
|
-
light: string;
|
|
176
|
-
};
|
|
177
|
-
};
|
|
178
|
-
filtros: {
|
|
179
|
-
azul: string;
|
|
180
|
-
verde: string;
|
|
181
|
-
violeta: string;
|
|
182
|
-
rosa: string;
|
|
183
|
-
naranja: string;
|
|
184
|
-
amarillo: string;
|
|
185
|
-
celeste: string;
|
|
186
|
-
rojo: string;
|
|
187
|
-
light: {
|
|
188
|
-
azul_bg: string;
|
|
189
|
-
verde_bg: string;
|
|
190
|
-
violeta_bg: string;
|
|
191
|
-
rosa_bg: string;
|
|
192
|
-
naranja_bg: string;
|
|
193
|
-
amarillo_bg: string;
|
|
194
|
-
celeste_bg: string;
|
|
195
|
-
};
|
|
196
|
-
dark: {
|
|
197
|
-
azul_bg: string;
|
|
198
|
-
verde_bg: string;
|
|
199
|
-
violeta_bg: string;
|
|
200
|
-
rosa_bg: string;
|
|
201
|
-
naranja_bg: string;
|
|
202
|
-
amarillo_bg: string;
|
|
203
|
-
celeste_bg: string;
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
especiales: {
|
|
207
|
-
azul: string;
|
|
208
|
-
rojo: string;
|
|
209
|
-
rosa_claro: string;
|
|
210
|
-
verde: string;
|
|
211
|
-
verde_claro: string;
|
|
212
|
-
celeste: string;
|
|
213
|
-
azul_pressed: string;
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
export type ColorSchemeType = keyof Pick<typeof Colors, "light" | "dark">;
|
|
217
|
-
export type ThemeType = typeof Colors["light"];
|
|
218
|
-
export default Colors;
|