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
package/package.json
CHANGED
package/dist/app/colorPage.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../libs/colorPage';
|
package/dist/app/colorPage.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../libs/colorPage';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '../../libs/constants/consts';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '../../libs/constants/consts';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../../libs/constants/formats';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../../libs/constants/formats';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../../libs/constants/hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../../libs/constants/hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../../libs/constants/utils';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../../libs/constants/utils';
|
package/dist/app/editPage.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../libs/editPage';
|
package/dist/app/editPage.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../libs/editPage';
|
package/dist/app/footer.d.ts
DELETED
package/dist/app/footer.js
DELETED
package/dist/app/login.d.ts
DELETED
package/dist/app/login.js
DELETED
package/dist/app/page.d.ts
DELETED
package/dist/app/page.js
DELETED
package/dist/app/pickerPage.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../libs/pickerPage';
|
package/dist/app/pickerPage.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../libs/pickerPage';
|
package/dist/app/sql.d.ts
DELETED
package/dist/app/sql.js
DELETED
package/dist/app/supabase.d.ts
DELETED
package/dist/app/supabase.js
DELETED
package/dist/app/swiftui.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '../libs/swiftui';
|
package/dist/app/swiftui.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '../libs/swiftui';
|
package/dist/app/table.d.ts
DELETED
package/dist/app/table.js
DELETED
package/dist/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './libs/footer';
|
|
2
|
-
export * from './libs/login';
|
|
3
|
-
export * from './libs/page';
|
|
4
|
-
export * from './libs/segmentedControl';
|
|
5
|
-
export * from './libs/sql';
|
|
6
|
-
export * from './libs/supabase';
|
|
7
|
-
export * from './libs/swiftui';
|
|
8
|
-
export * from './libs/table';
|
package/dist/index.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './libs/footer';
|
|
2
|
-
export * from './libs/login';
|
|
3
|
-
export * from './libs/page';
|
|
4
|
-
export * from './libs/segmentedControl';
|
|
5
|
-
export * from './libs/sql';
|
|
6
|
-
export * from './libs/supabase';
|
|
7
|
-
export * from './libs/swiftui';
|
|
8
|
-
export * from './libs/table';
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import Colors from '../../constants/colors';
|
|
2
|
-
import { memo } from 'react';
|
|
3
|
-
import { PixelRatio, View } from 'react-native';
|
|
4
|
-
export default memo(({ size = 30, color = Colors.especiales.rojo, insideColor = 'white' }) => {
|
|
5
|
-
const sizePixel = PixelRatio.roundToNearestPixel((21.5 / 30) * size);
|
|
6
|
-
const withChild = PixelRatio.roundToNearestPixel((10.5 / 30) * size);
|
|
7
|
-
const heightChild = PixelRatio.roundToNearestPixel((1.6 / 30) * size);
|
|
8
|
-
return (<View style={{ width: size, height: size, alignItems: 'center', justifyContent: 'center' }}>
|
|
9
|
-
<View style={{
|
|
10
|
-
width: sizePixel,
|
|
11
|
-
height: sizePixel,
|
|
12
|
-
borderRadius: 14,
|
|
13
|
-
backgroundColor: color,
|
|
14
|
-
alignItems: 'center',
|
|
15
|
-
justifyContent: 'center'
|
|
16
|
-
}}>
|
|
17
|
-
<View style={{
|
|
18
|
-
width: withChild,
|
|
19
|
-
height: heightChild,
|
|
20
|
-
backgroundColor: insideColor,
|
|
21
|
-
borderRadius: 100,
|
|
22
|
-
}}/>
|
|
23
|
-
</View>
|
|
24
|
-
</View>);
|
|
25
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { colors } from '../../../libs/table';
|
|
2
|
-
import { memo } from 'react';
|
|
3
|
-
import { PixelRatio, View } from 'react-native';
|
|
4
|
-
export default memo(({ size = 30, color = colors.table.default.dark.border }) => {
|
|
5
|
-
const widthChild = PixelRatio.roundToNearestPixel((21 / 30) * size);
|
|
6
|
-
const heightChild = PixelRatio.roundToNearestPixel((1.7 / 30) * size);
|
|
7
|
-
const gap = PixelRatio.roundToNearestPixel((3.25 / 30) * size);
|
|
8
|
-
return (<View style={{ width: size, height: size, alignItems: 'center', justifyContent: 'center' }}>
|
|
9
|
-
<View style={{ gap: gap, alignItems: 'center', justifyContent: 'center' }}>
|
|
10
|
-
<View style={{ width: widthChild, height: heightChild, backgroundColor: color }}/>
|
|
11
|
-
<View style={{ width: widthChild, height: heightChild, backgroundColor: color }}/>
|
|
12
|
-
<View style={{ width: widthChild, height: heightChild, backgroundColor: color }}/>
|
|
13
|
-
</View>
|
|
14
|
-
</View>);
|
|
15
|
-
});
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Ionicons as IoniconsExpo } from '@expo/vector-icons';
|
|
2
|
-
import React, { ComponentProps } from 'react';
|
|
3
|
-
import { OpaqueColorValue } from 'react-native';
|
|
4
|
-
type IoniconsExpoProps = ComponentProps<typeof IoniconsExpo>;
|
|
5
|
-
export interface IoniconsProps {
|
|
6
|
-
/**
|
|
7
|
-
* Name of the icon to show
|
|
8
|
-
*
|
|
9
|
-
* See Icon Explorer app
|
|
10
|
-
* {@link https://expo.github.io/vector-icons/}
|
|
11
|
-
*/
|
|
12
|
-
name: IoniconsExpoProps['name'];
|
|
13
|
-
/**
|
|
14
|
-
* Color of the icon. Can be a string or OpaqueColorValue (returned from
|
|
15
|
-
* PlatformColor(..))
|
|
16
|
-
*
|
|
17
|
-
*/
|
|
18
|
-
color?: string | OpaqueColorValue;
|
|
19
|
-
/**
|
|
20
|
-
* Size of the icon, can also be passed as fontSize in the style object.
|
|
21
|
-
*
|
|
22
|
-
* @default 12
|
|
23
|
-
*/
|
|
24
|
-
size?: number;
|
|
25
|
-
/**
|
|
26
|
-
* X position of the icon
|
|
27
|
-
*/
|
|
28
|
-
x?: number;
|
|
29
|
-
/**
|
|
30
|
-
* Y position of the icon
|
|
31
|
-
*/
|
|
32
|
-
y?: number;
|
|
33
|
-
}
|
|
34
|
-
export declare const Ionicons: ({ name, color, size, y, x }: IoniconsProps) => React.JSX.Element;
|
|
35
|
-
export default Ionicons;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { _icons } from '.';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { PixelRatio } from 'react-native';
|
|
4
|
-
import { G } from 'react-native-svg';
|
|
5
|
-
export const Ionicons = ({ name, color, size = 12, y = 0, x = 0 }) => {
|
|
6
|
-
const paths = _icons[name];
|
|
7
|
-
if (!paths)
|
|
8
|
-
throw new Error(`El icono "${name}" no existe`);
|
|
9
|
-
const scale = size / 512;
|
|
10
|
-
if (y)
|
|
11
|
-
y -= PixelRatio.roundToNearestPixel(size / 2);
|
|
12
|
-
return (<G y={y || undefined} x={x || undefined} scale={scale} color={color}>
|
|
13
|
-
{paths}
|
|
14
|
-
</G>);
|
|
15
|
-
};
|
|
16
|
-
export default Ionicons;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import Ionicons, { IoniconsProps } from './Ionicons';
|
|
3
|
-
type IoniconsName = IoniconsProps['name'];
|
|
4
|
-
export declare const _icons: Partial<Record<IoniconsName, ReactElement[]>>;
|
|
5
|
-
export { IoniconsProps };
|
|
6
|
-
export default Ionicons;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Ionicons from './Ionicons';
|
|
3
|
-
import WaterSvg from './svgs/water.svg';
|
|
4
|
-
import HappySvg from './svgs/happy.svg';
|
|
5
|
-
import SadSvg from './svgs/sad.svg';
|
|
6
|
-
import CubeSvg from './svgs/cube.svg';
|
|
7
|
-
import EllipseSvg from './svgs/ellipse.svg';
|
|
8
|
-
import InformationCircleOutlineSvg from './svgs/information-circle-outline.svg';
|
|
9
|
-
const getRawPaths = (Icon) => {
|
|
10
|
-
const svgElement = Icon({});
|
|
11
|
-
const paths = React.Children.toArray(svgElement.props.children)
|
|
12
|
-
.filter((el) => React.isValidElement(el));
|
|
13
|
-
return paths;
|
|
14
|
-
};
|
|
15
|
-
export const _icons = {
|
|
16
|
-
water: getRawPaths(WaterSvg),
|
|
17
|
-
happy: getRawPaths(HappySvg),
|
|
18
|
-
sad: getRawPaths(SadSvg),
|
|
19
|
-
cube: getRawPaths(CubeSvg),
|
|
20
|
-
ellipse: getRawPaths(EllipseSvg),
|
|
21
|
-
'information-circle-outline': getRawPaths(InformationCircleOutlineSvg),
|
|
22
|
-
};
|
|
23
|
-
export default Ionicons;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './src/Page';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './src/Page';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React, { memo } from 'react';
|
|
2
|
-
import { Host, Column, Row } from '@expo/ui/jetpack-compose';
|
|
3
|
-
import { fillMaxWidth } from '@expo/ui/jetpack-compose/modifiers';
|
|
4
|
-
import Item from '../Item';
|
|
5
|
-
export default memo(({ colorRows, ...pageProps }) => {
|
|
6
|
-
return (<Host style={{ flex: 1 }}>
|
|
7
|
-
<Column verticalArrangement={{ spacedBy: 2 }}>
|
|
8
|
-
{colorRows.map((row, index) => (<Row key={index} horizontalArrangement="spaceEvenly" verticalArrangement="center" modifiers={[fillMaxWidth()]}>
|
|
9
|
-
{row.map((color, indexColor) => (<Item key={color} color={color} size={55} {...pageProps}/>))}
|
|
10
|
-
</Row>))}
|
|
11
|
-
</Column>
|
|
12
|
-
</Host>);
|
|
13
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Host, HStack, VStack, Spacer } from '@expo/ui/swift-ui';
|
|
2
|
-
import React, { memo, Fragment } from 'react';
|
|
3
|
-
import Item from '../Item';
|
|
4
|
-
export default memo(({ colorRows, ...pageProps }) => {
|
|
5
|
-
return (<Host style={{ flex: 1 }}>
|
|
6
|
-
<VStack spacing={16}>
|
|
7
|
-
{colorRows.map((row, index) => (<HStack key={index}>
|
|
8
|
-
{row.map((color, indexColor) => (<Fragment key={color}>
|
|
9
|
-
{indexColor === 0 && <Spacer />}
|
|
10
|
-
<Item color={color} size={55} {...pageProps}/>
|
|
11
|
-
<Spacer />
|
|
12
|
-
</Fragment>))}
|
|
13
|
-
</HStack>))}
|
|
14
|
-
</VStack>
|
|
15
|
-
</Host>);
|
|
16
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default ({ ...props }) => null;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ColorsType } from '../../../../libs/components/Gradient';
|
|
2
|
-
import PropsPage from '../Page/types';
|
|
3
|
-
type Props = PropsPage & {
|
|
4
|
-
/**
|
|
5
|
-
List of rows of colors to display.
|
|
6
|
-
Each row contains 4 colors.
|
|
7
|
-
*/
|
|
8
|
-
colorRows: ColorsType[][];
|
|
9
|
-
};
|
|
10
|
-
export default Props;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import React, { memo } from 'react';
|
|
2
|
-
import { Shape, Surface, Box } from '@expo/ui/jetpack-compose';
|
|
3
|
-
import { background, clip, Shapes, clickable, paddingAll, alpha, size as sizeModifier } from '@expo/ui/jetpack-compose/modifiers';
|
|
4
|
-
import { colors } from '../../../../libs/components/Gradient';
|
|
5
|
-
export default memo(({ color, size, selectedColor, onSelectColor, renderGradient, }) => {
|
|
6
|
-
if (!renderGradient)
|
|
7
|
-
return null;
|
|
8
|
-
const isSelected = color === selectedColor;
|
|
9
|
-
const innerBorderWidth = 2;
|
|
10
|
-
const outerBorderWidth = 3;
|
|
11
|
-
return (<Surface color='#00000000' shape={Shape.RoundedCorner({
|
|
12
|
-
cornerRadii: {
|
|
13
|
-
topStart: size,
|
|
14
|
-
topEnd: size,
|
|
15
|
-
bottomStart: size,
|
|
16
|
-
bottomEnd: size,
|
|
17
|
-
},
|
|
18
|
-
})} border={{ width: outerBorderWidth, color: isSelected ? colors[color].middle : '#00000000' }} modifiers={[clip(Shapes.Circle)]}>
|
|
19
|
-
<Box contentAlignment="center" modifiers={[
|
|
20
|
-
background('#00000000'),
|
|
21
|
-
paddingAll(outerBorderWidth * 2),
|
|
22
|
-
clip(Shapes.Circle),
|
|
23
|
-
clickable(() => onSelectColor?.(color))
|
|
24
|
-
]}>
|
|
25
|
-
|
|
26
|
-
<Box contentAlignment="center" modifiers={[sizeModifier(size, size)]}>
|
|
27
|
-
|
|
28
|
-
{!isSelected &&
|
|
29
|
-
<Box contentAlignment="center" modifiers={[sizeModifier(size, size)]}>
|
|
30
|
-
{React.createElement(renderGradient, { color, size })}
|
|
31
|
-
<Box modifiers={[sizeModifier(size, size), alpha(0.25), background('#FFFFFF')]}/>
|
|
32
|
-
</Box>}
|
|
33
|
-
|
|
34
|
-
{React.createElement(renderGradient, { color, size: size - (!isSelected ? innerBorderWidth * 2 : 0) })}
|
|
35
|
-
|
|
36
|
-
</Box>
|
|
37
|
-
|
|
38
|
-
</Box>
|
|
39
|
-
</Surface>);
|
|
40
|
-
});
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { background, clipShape, buttonStyle, controlSize, frame, glassEffect, padding, foregroundStyle } from '@expo/ui/swift-ui/modifiers';
|
|
2
|
-
import { Text, Button } from '@expo/ui/swift-ui';
|
|
3
|
-
import React, { memo, useMemo } from 'react';
|
|
4
|
-
import { colors } from '../../../../libs/components/Gradient';
|
|
5
|
-
export default memo(({ color, size, selectedColor, onSelectColor, }) => {
|
|
6
|
-
const modifiersButton = useMemo(() => [
|
|
7
|
-
buttonStyle('plain'),
|
|
8
|
-
controlSize('large'),
|
|
9
|
-
padding({ all: 1.5 }),
|
|
10
|
-
clipShape('circle'),
|
|
11
|
-
glassEffect({
|
|
12
|
-
glass: {
|
|
13
|
-
variant: 'regular',
|
|
14
|
-
interactive: true,
|
|
15
|
-
tint: colors[color].light
|
|
16
|
-
},
|
|
17
|
-
shape: 'circle'
|
|
18
|
-
})
|
|
19
|
-
], []);
|
|
20
|
-
const modifiers = useMemo(() => [
|
|
21
|
-
frame({ width: size, height: size }),
|
|
22
|
-
foregroundStyle('transparent'),
|
|
23
|
-
background(colors[color].middle),
|
|
24
|
-
clipShape('circle'),
|
|
25
|
-
], [size]);
|
|
26
|
-
return (<Button modifiers={modifiersButton} onPress={() => onSelectColor?.(color)}>
|
|
27
|
-
<Text modifiers={modifiers}>
|
|
28
|
-
.
|
|
29
|
-
</Text>
|
|
30
|
-
</Button>);
|
|
31
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default ({ ...props }) => null;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ColorsType } from '../../../../libs/components/Gradient';
|
|
2
|
-
import PropsPage from '../Page/types';
|
|
3
|
-
type Props = PropsPage & {
|
|
4
|
-
/**
|
|
5
|
-
Color to display.
|
|
6
|
-
*/
|
|
7
|
-
color: ColorsType;
|
|
8
|
-
/**
|
|
9
|
-
Size of the item.
|
|
10
|
-
*/
|
|
11
|
-
size: number;
|
|
12
|
-
};
|
|
13
|
-
export default Props;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React, { memo, useMemo, useCallback } from 'react';
|
|
2
|
-
import { Stack, useRouter } from 'expo-router';
|
|
3
|
-
import { colors } from '../../../../libs/components/Gradient';
|
|
4
|
-
import Content from '../Content';
|
|
5
|
-
export default memo(({ onSelectColor, ...restProps }) => {
|
|
6
|
-
const router = useRouter();
|
|
7
|
-
const listColors = useMemo(() => Object.keys(colors), []);
|
|
8
|
-
const colorRows = useMemo(() => Array.from({ length: Math.ceil(listColors.length / 4) }, (_, i) => listColors.slice(i * 4, i * 4 + 4)), [listColors]);
|
|
9
|
-
const _onSelectColor = useCallback(async (color) => {
|
|
10
|
-
await onSelectColor?.(color);
|
|
11
|
-
router.back();
|
|
12
|
-
}, [onSelectColor]);
|
|
13
|
-
return (<>
|
|
14
|
-
<Stack.Screen.Title>Color de fondo</Stack.Screen.Title>
|
|
15
|
-
<Content colorRows={colorRows} onSelectColor={_onSelectColor} {...restProps}/>
|
|
16
|
-
</>);
|
|
17
|
-
});
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { ColorsType } from '../../../../libs/components/Gradient';
|
|
2
|
-
type Props = {
|
|
3
|
-
/**
|
|
4
|
-
Title of the date picker.
|
|
5
|
-
@default 'default'
|
|
6
|
-
*/
|
|
7
|
-
selectedColor?: ColorsType;
|
|
8
|
-
/**
|
|
9
|
-
Function to be called when the user selects a color.
|
|
10
|
-
*/
|
|
11
|
-
onSelectColor?: (color: ColorsType) => void;
|
|
12
|
-
/**
|
|
13
|
-
Function to render the item.
|
|
14
|
-
*/
|
|
15
|
-
renderGradient?: (props: renderGradientProps) => React.ReactNode;
|
|
16
|
-
};
|
|
17
|
-
type renderGradientProps = {
|
|
18
|
-
/**
|
|
19
|
-
Color to display.
|
|
20
|
-
*/
|
|
21
|
-
color: ColorsType;
|
|
22
|
-
/**
|
|
23
|
-
Size of the item.
|
|
24
|
-
*/
|
|
25
|
-
size: number;
|
|
26
|
-
};
|
|
27
|
-
export default Props;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|