native-pytech 1.0.129 → 1.0.130
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/dist/app/assets/components/removeCircle.d.ts +2 -0
- package/dist/app/assets/components/removeCircle.js +2 -0
- package/dist/app/assets/components/reorderThreeOutline.d.ts +2 -0
- package/dist/app/assets/components/reorderThreeOutline.js +2 -0
- package/dist/app/assets/ionicons.d.ts +2 -0
- package/dist/app/assets/ionicons.js +2 -0
- package/dist/app/colorPage.d.ts +1 -0
- package/dist/app/colorPage.js +1 -0
- package/dist/app/components/closeButton.d.ts +2 -0
- package/dist/app/components/closeButton.js +2 -0
- package/dist/app/components/gradient.d.ts +2 -0
- package/dist/app/components/gradient.js +2 -0
- package/dist/app/components/link.d.ts +2 -0
- package/dist/app/components/link.js +2 -0
- package/dist/app/components/text.d.ts +2 -0
- package/dist/app/components/text.js +2 -0
- package/dist/app/components/theme.d.ts +2 -0
- package/dist/app/components/theme.js +2 -0
- package/dist/app/constants/colors.d.ts +2 -0
- package/dist/app/constants/colors.js +2 -0
- package/dist/app/constants/consts.d.ts +1 -0
- package/dist/app/constants/consts.js +1 -0
- package/dist/app/constants/formats.d.ts +1 -0
- package/dist/app/constants/formats.js +1 -0
- package/dist/app/constants/hooks.d.ts +1 -0
- package/dist/app/constants/hooks.js +1 -0
- package/dist/app/constants/utils.d.ts +1 -0
- package/dist/app/constants/utils.js +1 -0
- package/dist/app/editPage.d.ts +1 -0
- package/dist/app/editPage.js +1 -0
- package/dist/app/footer.d.ts +2 -0
- package/dist/app/footer.js +2 -0
- package/dist/app/login.d.ts +2 -0
- package/dist/app/login.js +2 -0
- package/dist/app/page.d.ts +2 -0
- package/dist/app/page.js +2 -0
- package/dist/app/pickerPage.d.ts +1 -0
- package/dist/app/pickerPage.js +1 -0
- package/dist/app/providers/app.d.ts +2 -0
- package/dist/app/providers/app.js +2 -0
- package/dist/app/segmentedControl.d.ts +2 -0
- package/dist/app/segmentedControl.js +2 -0
- package/dist/app/sql.d.ts +2 -0
- package/dist/app/sql.js +2 -0
- package/dist/app/supabase.d.ts +2 -0
- package/dist/app/supabase.js +2 -0
- package/dist/app/swiftui.d.ts +1 -0
- package/dist/app/swiftui.js +1 -0
- package/dist/app/table.d.ts +2 -0
- package/dist/app/table.js +2 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +8 -0
- package/dist/libs/assets/components/RemoveCircle.d.ts +6 -0
- package/dist/libs/assets/components/RemoveCircle.js +25 -0
- package/dist/libs/assets/components/ReorderThreeOutline.d.ts +5 -0
- package/dist/libs/assets/components/ReorderThreeOutline.js +15 -0
- package/dist/libs/assets/ionicons/Ionicons.d.ts +35 -0
- package/dist/libs/assets/ionicons/Ionicons.js +16 -0
- package/dist/libs/assets/ionicons/index.d.ts +6 -0
- package/dist/libs/assets/ionicons/index.js +23 -0
- package/dist/libs/colorPage/index.d.ts +1 -0
- package/dist/libs/colorPage/index.js +1 -0
- package/dist/libs/colorPage/src/Content/index.android.d.ts +4 -0
- package/dist/libs/colorPage/src/Content/index.android.js +13 -0
- package/dist/libs/colorPage/src/Content/index.d.ts +3 -0
- package/dist/libs/colorPage/src/Content/index.ios.d.ts +4 -0
- package/dist/libs/colorPage/src/Content/index.ios.js +16 -0
- package/dist/libs/colorPage/src/Content/index.js +1 -0
- package/dist/libs/colorPage/src/Content/types.d.ts +10 -0
- package/dist/libs/colorPage/src/Content/types.js +1 -0
- package/dist/libs/colorPage/src/Item/index.android.d.ts +4 -0
- package/dist/libs/colorPage/src/Item/index.android.js +40 -0
- package/dist/libs/colorPage/src/Item/index.d.ts +3 -0
- package/dist/libs/colorPage/src/Item/index.ios.d.ts +4 -0
- package/dist/libs/colorPage/src/Item/index.ios.js +31 -0
- package/dist/libs/colorPage/src/Item/index.js +1 -0
- package/dist/libs/colorPage/src/Item/types.d.ts +13 -0
- package/dist/libs/colorPage/src/Item/types.js +1 -0
- package/dist/libs/colorPage/src/Page/index.d.ts +4 -0
- package/dist/libs/colorPage/src/Page/index.js +17 -0
- package/dist/libs/colorPage/src/Page/types.d.ts +27 -0
- package/dist/libs/colorPage/src/Page/types.js +1 -0
- package/dist/libs/components/CloseButton.d.ts +9 -0
- package/dist/libs/components/CloseButton.js +18 -0
- package/dist/libs/components/Gradient/components/Gradient/index.d.ts +4 -0
- package/dist/libs/components/Gradient/components/Gradient/index.ios.d.ts +4 -0
- package/dist/libs/components/Gradient/components/Gradient/index.ios.js +35 -0
- package/dist/libs/components/Gradient/components/Gradient/index.js +32 -0
- package/dist/libs/components/Gradient/components/Gradient/types.d.ts +30 -0
- package/dist/libs/components/Gradient/components/Gradient/types.js +1 -0
- package/dist/libs/components/Gradient/components/Icon.d.ts +21 -0
- package/dist/libs/components/Gradient/components/Icon.js +1 -0
- package/dist/libs/components/Gradient/constants.d.ts +97 -0
- package/dist/libs/components/Gradient/constants.js +98 -0
- package/dist/libs/components/Gradient/index.d.ts +3 -0
- package/dist/libs/components/Gradient/index.js +2 -0
- package/dist/libs/components/Link.d.ts +13 -0
- package/dist/libs/components/Link.js +20 -0
- package/dist/libs/components/Text.d.ts +6 -0
- package/dist/libs/components/Text.js +11 -0
- package/dist/libs/components/Theme.d.ts +9 -0
- package/dist/libs/components/Theme.js +10 -0
- package/dist/libs/constants/colors.d.ts +218 -0
- package/dist/libs/constants/colors.js +170 -0
- package/dist/libs/constants/consts.d.ts +13 -0
- package/dist/libs/constants/consts.js +23 -0
- package/dist/libs/constants/formats.d.ts +11 -0
- package/dist/libs/constants/formats.js +84 -0
- package/dist/libs/constants/hooks.d.ts +8 -0
- package/dist/libs/constants/hooks.js +59 -0
- package/dist/libs/constants/utils.d.ts +12 -0
- package/dist/libs/constants/utils.js +75 -0
- package/dist/libs/editPage/index.d.ts +9 -0
- package/dist/libs/editPage/index.js +7 -0
- package/dist/libs/editPage/src/components/Item/index.d.ts +3 -0
- package/dist/libs/editPage/src/components/Item/index.ios.d.ts +4 -0
- package/dist/libs/editPage/src/components/Item/index.ios.js +12 -0
- package/dist/libs/editPage/src/components/Item/index.js +1 -0
- package/dist/libs/editPage/src/components/Item/types.d.ts +14 -0
- package/dist/libs/editPage/src/components/Item/types.js +1 -0
- package/dist/libs/editPage/src/components/ItemDate/index.d.ts +3 -0
- package/dist/libs/editPage/src/components/ItemDate/index.ios.d.ts +4 -0
- package/dist/libs/editPage/src/components/ItemDate/index.ios.js +29 -0
- package/dist/libs/editPage/src/components/ItemDate/index.js +1 -0
- package/dist/libs/editPage/src/components/ItemDate/types.d.ts +25 -0
- package/dist/libs/editPage/src/components/ItemDate/types.js +1 -0
- package/dist/libs/editPage/src/components/Screen/index.d.ts +4 -0
- package/dist/libs/editPage/src/components/Screen/index.ios.d.ts +4 -0
- package/dist/libs/editPage/src/components/Screen/index.ios.js +8 -0
- package/dist/libs/editPage/src/components/Screen/index.js +1 -0
- package/dist/libs/editPage/src/components/Screen/types.d.ts +27 -0
- package/dist/libs/editPage/src/components/Screen/types.js +1 -0
- package/dist/libs/editPage/src/components/TextField/index.d.ts +3 -0
- package/dist/libs/editPage/src/components/TextField/index.ios.d.ts +4 -0
- package/dist/libs/editPage/src/components/TextField/index.ios.js +35 -0
- package/dist/libs/editPage/src/components/TextField/index.js +1 -0
- package/dist/libs/editPage/src/components/TextField/types.d.ts +32 -0
- package/dist/libs/editPage/src/components/TextField/types.js +1 -0
- package/dist/libs/editPage/src/components/Wrapper/index.d.ts +4 -0
- package/dist/libs/editPage/src/components/Wrapper/index.js +84 -0
- package/dist/libs/editPage/src/components/Wrapper/types.d.ts +23 -0
- package/dist/libs/editPage/src/components/Wrapper/types.js +1 -0
- package/dist/libs/editPage/src/context/page.d.ts +13 -0
- package/dist/libs/editPage/src/context/page.js +2 -0
- package/dist/libs/footer/index.d.ts +1 -0
- package/dist/libs/footer/index.js +1 -0
- package/dist/libs/footer/src/components/Background/index.d.ts +4 -0
- package/dist/libs/footer/src/components/Background/index.ios.d.ts +4 -0
- package/dist/libs/footer/src/components/Background/index.ios.js +22 -0
- package/dist/libs/footer/src/components/Background/index.js +21 -0
- package/dist/libs/footer/src/components/Button/Text.d.ts +3 -0
- package/dist/libs/footer/src/components/Button/Text.js +18 -0
- package/dist/libs/footer/src/components/Button/index.d.ts +3 -0
- package/dist/libs/footer/src/components/Button/index.ios.d.ts +4 -0
- package/dist/libs/footer/src/components/Button/index.ios.js +30 -0
- package/dist/libs/footer/src/components/Button/index.js +55 -0
- package/dist/libs/footer/src/components/Button/types.d.ts +22 -0
- package/dist/libs/footer/src/components/Button/types.js +1 -0
- package/dist/libs/footer/src/components/Footer/index.d.ts +6 -0
- package/dist/libs/footer/src/components/Footer/index.ios.d.ts +7 -0
- package/dist/libs/footer/src/components/Footer/index.ios.js +9 -0
- package/dist/libs/footer/src/components/Footer/index.js +38 -0
- package/dist/libs/footer/src/components/View.d.ts +5 -0
- package/dist/libs/footer/src/components/View.js +11 -0
- package/dist/libs/footer/src/constants.d.ts +20 -0
- package/dist/libs/footer/src/constants.js +21 -0
- package/dist/libs/footer/src/index.d.ts +9 -0
- package/dist/libs/footer/src/index.js +7 -0
- package/dist/libs/login/index.d.ts +3 -0
- package/dist/libs/login/index.js +3 -0
- package/dist/libs/login/src/Pages/Home/index.d.ts +3 -0
- package/dist/libs/login/src/Pages/Home/index.js +20 -0
- package/dist/libs/login/src/Pages/Home/types.d.ts +19 -0
- package/dist/libs/login/src/Pages/Home/types.js +1 -0
- package/dist/libs/login/src/Pages/Perfil.d.ts +5 -0
- package/dist/libs/login/src/Pages/Perfil.js +19 -0
- package/dist/libs/login/src/Pages/SignIn/Form/Input.d.ts +9 -0
- package/dist/libs/login/src/Pages/SignIn/Form/Input.js +10 -0
- package/dist/libs/login/src/Pages/SignIn/Form/index.d.ts +6 -0
- package/dist/libs/login/src/Pages/SignIn/Form/index.js +34 -0
- package/dist/libs/login/src/Pages/SignIn/index.d.ts +3 -0
- package/dist/libs/login/src/Pages/SignIn/index.js +149 -0
- package/dist/libs/login/src/Pages/SignIn/types.d.ts +31 -0
- package/dist/libs/login/src/Pages/SignIn/types.js +1 -0
- package/dist/libs/login/src/Pages/index.d.ts +3 -0
- package/dist/libs/login/src/Pages/index.js +3 -0
- package/dist/libs/login/src/Pages/utils.d.ts +22 -0
- package/dist/libs/login/src/Pages/utils.js +24 -0
- package/dist/libs/login/src/Screen/Container.d.ts +4 -0
- package/dist/libs/login/src/Screen/Container.ios.d.ts +4 -0
- package/dist/libs/login/src/Screen/Container.ios.js +20 -0
- package/dist/libs/login/src/Screen/Container.js +25 -0
- package/dist/libs/login/src/Screen/components/Gradient.d.ts +6 -0
- package/dist/libs/login/src/Screen/components/Gradient.js +23 -0
- package/dist/libs/login/src/Screen/components/Input/index.d.ts +4 -0
- package/dist/libs/login/src/Screen/components/Input/index.js +128 -0
- package/dist/libs/login/src/Screen/components/Input/types.d.ts +46 -0
- package/dist/libs/login/src/Screen/components/Input/types.js +1 -0
- package/dist/libs/login/src/Screen/components/SvgLogoPytech.d.ts +4 -0
- package/dist/libs/login/src/Screen/components/SvgLogoPytech.js +11 -0
- package/dist/libs/login/src/Screen/components/SvgPytech.d.ts +4 -0
- package/dist/libs/login/src/Screen/components/SvgPytech.js +11 -0
- package/dist/libs/login/src/Screen/components/index.d.ts +4 -0
- package/dist/libs/login/src/Screen/components/index.js +4 -0
- package/dist/libs/login/src/Screen/index.d.ts +4 -0
- package/dist/libs/login/src/Screen/index.js +59 -0
- package/dist/libs/login/src/Screen/types.d.ts +14 -0
- package/dist/libs/login/src/Screen/types.js +1 -0
- package/dist/libs/login/src/constants.d.ts +98 -0
- package/dist/libs/login/src/constants.js +48 -0
- package/dist/libs/page/index.d.ts +1 -0
- package/dist/libs/page/index.js +1 -0
- package/dist/libs/page/src/components/Page/index.android.d.ts +4 -0
- package/dist/libs/page/src/components/Page/index.android.js +11 -0
- package/dist/libs/page/src/components/Page/index.d.ts +4 -0
- package/dist/libs/page/src/components/Page/index.js +7 -0
- package/dist/libs/page/src/components/PageWrapper/index.d.ts +6 -0
- package/dist/libs/page/src/components/PageWrapper/index.js +13 -0
- package/dist/libs/page/src/components/PageWrapper/types.d.ts +16 -0
- package/dist/libs/page/src/components/PageWrapper/types.js +1 -0
- package/dist/libs/page/src/components/Subtitle.d.ts +5 -0
- package/dist/libs/page/src/components/Subtitle.js +9 -0
- package/dist/libs/page/src/components/WithIcon/index.d.ts +3 -0
- package/dist/libs/page/src/components/WithIcon/index.js +47 -0
- package/dist/libs/page/src/components/WithIcon/types.d.ts +15 -0
- package/dist/libs/page/src/components/WithIcon/types.js +1 -0
- package/dist/libs/page/src/constants.d.ts +12 -0
- package/dist/libs/page/src/constants.js +12 -0
- package/dist/libs/pickerPage/index.d.ts +7 -0
- package/dist/libs/pickerPage/index.js +5 -0
- package/dist/libs/pickerPage/src/components/Content/index.d.ts +4 -0
- package/dist/libs/pickerPage/src/components/Content/index.ios.d.ts +4 -0
- package/dist/libs/pickerPage/src/components/Content/index.ios.js +19 -0
- package/dist/libs/pickerPage/src/components/Content/index.js +14 -0
- package/dist/libs/pickerPage/src/components/Content/types.d.ts +3 -0
- package/dist/libs/pickerPage/src/components/Content/types.js +1 -0
- package/dist/libs/pickerPage/src/components/Item/index.d.ts +4 -0
- package/dist/libs/pickerPage/src/components/Item/index.ios.d.ts +8 -0
- package/dist/libs/pickerPage/src/components/Item/index.ios.js +8 -0
- package/dist/libs/pickerPage/src/components/Item/index.js +14 -0
- package/dist/libs/pickerPage/src/components/Item/types.d.ts +28 -0
- package/dist/libs/pickerPage/src/components/Item/types.js +1 -0
- package/dist/libs/pickerPage/src/components/Page/index.d.ts +4 -0
- package/dist/libs/pickerPage/src/components/Page/index.js +22 -0
- package/dist/libs/pickerPage/src/components/Page/types.d.ts +30 -0
- package/dist/libs/pickerPage/src/components/Page/types.js +1 -0
- package/dist/libs/pickerPage/src/context/page.d.ts +7 -0
- package/dist/libs/pickerPage/src/context/page.js +2 -0
- package/dist/libs/providers/App/index.d.ts +10 -0
- package/dist/libs/providers/App/index.js +58 -0
- package/dist/libs/providers/App/types.d.ts +35 -0
- package/dist/libs/providers/App/types.js +1 -0
- package/dist/libs/providers/constants.d.ts +10 -0
- package/dist/libs/providers/constants.js +10 -0
- package/dist/libs/segmentedControl/index.d.ts +2 -0
- package/dist/libs/segmentedControl/index.js +2 -0
- package/dist/libs/segmentedControl/src/colors.d.ts +15 -0
- package/dist/libs/segmentedControl/src/colors.js +16 -0
- package/dist/libs/segmentedControl/src/components/AnimatedChip/index.d.ts +4 -0
- package/dist/libs/segmentedControl/src/components/AnimatedChip/index.js +79 -0
- package/dist/libs/segmentedControl/src/components/AnimatedChip/types.d.ts +28 -0
- package/dist/libs/segmentedControl/src/components/AnimatedChip/types.js +1 -0
- package/dist/libs/segmentedControl/src/components/Container/index.d.ts +4 -0
- package/dist/libs/segmentedControl/src/components/Container/index.ios.d.ts +4 -0
- package/dist/libs/segmentedControl/src/components/Container/index.ios.js +15 -0
- package/dist/libs/segmentedControl/src/components/Container/index.js +18 -0
- package/dist/libs/segmentedControl/src/components/Container/types.d.ts +16 -0
- package/dist/libs/segmentedControl/src/components/Container/types.js +1 -0
- package/dist/libs/segmentedControl/src/components/Item/index.d.ts +4 -0
- package/dist/libs/segmentedControl/src/components/Item/index.js +26 -0
- package/dist/libs/segmentedControl/src/components/Item/types.d.ts +20 -0
- package/dist/libs/segmentedControl/src/components/Item/types.js +1 -0
- package/dist/libs/segmentedControl/src/components/Segmented/index.d.ts +4 -0
- package/dist/libs/segmentedControl/src/components/Segmented/index.js +93 -0
- package/dist/libs/segmentedControl/src/components/Segmented/types.d.ts +12 -0
- package/dist/libs/segmentedControl/src/components/Segmented/types.js +1 -0
- package/dist/libs/segmentedControl/src/components/Wrapper/index.d.ts +4 -0
- package/dist/libs/segmentedControl/src/components/Wrapper/index.js +21 -0
- package/dist/libs/segmentedControl/src/components/Wrapper/types.d.ts +38 -0
- package/dist/libs/segmentedControl/src/components/Wrapper/types.js +1 -0
- package/dist/libs/segmentedControl/src/context/shared.d.ts +11 -0
- package/dist/libs/segmentedControl/src/context/shared.js +13 -0
- package/dist/libs/segmentedControl/src/utils.d.ts +10 -0
- package/dist/libs/segmentedControl/src/utils.js +29 -0
- package/dist/libs/sql/index.d.ts +4 -0
- package/dist/libs/sql/index.js +4 -0
- package/dist/libs/sql/src/init.d.ts +24 -0
- package/dist/libs/sql/src/init.js +31 -0
- package/dist/libs/sql/src/queryLocal.d.ts +6 -0
- package/dist/libs/sql/src/queryLocal.js +15 -0
- package/dist/libs/sql/src/utils.d.ts +11 -0
- package/dist/libs/sql/src/utils.js +60 -0
- package/dist/libs/supabase/index.d.ts +4 -0
- package/dist/libs/supabase/index.js +2 -0
- package/dist/libs/supabase/src/clients/admin/config.d.ts +2 -0
- package/dist/libs/supabase/src/clients/admin/config.js +18 -0
- package/dist/libs/supabase/src/clients/admin/index.d.ts +9 -0
- package/dist/libs/supabase/src/clients/admin/index.js +7 -0
- package/dist/libs/supabase/src/clients/admin/utils.d.ts +5 -0
- package/dist/libs/supabase/src/clients/admin/utils.js +6 -0
- package/dist/libs/supabase/src/clients/app/config.d.ts +3 -0
- package/dist/libs/supabase/src/clients/app/config.js +31 -0
- package/dist/libs/supabase/src/clients/app/index.d.ts +16 -0
- package/dist/libs/supabase/src/clients/app/index.js +7 -0
- package/dist/libs/supabase/src/clients/app/utils.d.ts +12 -0
- package/dist/libs/supabase/src/clients/app/utils.js +10 -0
- package/dist/libs/supabase/src/utils/index.d.ts +20 -0
- package/dist/libs/supabase/src/utils/index.js +23 -0
- package/dist/libs/supabase/src/utils/types.d.ts +22 -0
- package/dist/libs/supabase/src/utils/types.js +1 -0
- package/dist/libs/swiftui/index.d.ts +9 -0
- package/dist/libs/swiftui/index.js +9 -0
- package/dist/libs/swiftui/src/components/Dialog/index.d.ts +4 -0
- package/dist/libs/swiftui/src/components/Dialog/index.js +22 -0
- package/dist/libs/swiftui/src/components/Dialog/types.d.ts +21 -0
- package/dist/libs/swiftui/src/components/Dialog/types.js +1 -0
- package/dist/libs/swiftui/src/components/Host.d.ts +6 -0
- package/dist/libs/swiftui/src/components/Host.js +5 -0
- package/dist/libs/swiftui/src/components/Icon.d.ts +10 -0
- package/dist/libs/swiftui/src/components/Icon.js +8 -0
- package/dist/libs/swiftui/src/components/IconSection/Icon.d.ts +25 -0
- package/dist/libs/swiftui/src/components/IconSection/Icon.js +26 -0
- package/dist/libs/swiftui/src/components/IconSection/Section.d.ts +7 -0
- package/dist/libs/swiftui/src/components/IconSection/Section.js +17 -0
- package/dist/libs/swiftui/src/components/IconSection/index.d.ts +7 -0
- package/dist/libs/swiftui/src/components/IconSection/index.js +5 -0
- package/dist/libs/swiftui/src/components/List/BaseList/index.d.ts +10 -0
- package/dist/libs/swiftui/src/components/List/BaseList/index.js +20 -0
- package/dist/libs/swiftui/src/components/List/BaseList/types.d.ts +16 -0
- package/dist/libs/swiftui/src/components/List/BaseList/types.js +1 -0
- package/dist/libs/swiftui/src/components/List/Editable/List/index.d.ts +4 -0
- package/dist/libs/swiftui/src/components/List/Editable/List/index.js +19 -0
- package/dist/libs/swiftui/src/components/List/Editable/List/types.d.ts +16 -0
- package/dist/libs/swiftui/src/components/List/Editable/List/types.js +1 -0
- package/dist/libs/swiftui/src/components/List/Editable/Section/index.d.ts +5 -0
- package/dist/libs/swiftui/src/components/List/Editable/Section/index.js +36 -0
- package/dist/libs/swiftui/src/components/List/Editable/Section/types.d.ts +42 -0
- package/dist/libs/swiftui/src/components/List/Editable/Section/types.js +1 -0
- package/dist/libs/swiftui/src/components/List/Editable/index.d.ts +7 -0
- package/dist/libs/swiftui/src/components/List/Editable/index.js +5 -0
- package/dist/libs/swiftui/src/components/List/index.d.ts +7 -0
- package/dist/libs/swiftui/src/components/List/index.js +5 -0
- package/dist/libs/swiftui/src/components/NavigationLink/Trailing.d.ts +4 -0
- package/dist/libs/swiftui/src/components/NavigationLink/Trailing.js +14 -0
- package/dist/libs/swiftui/src/components/NavigationLink/index.d.ts +4 -0
- package/dist/libs/swiftui/src/components/NavigationLink/index.js +14 -0
- package/dist/libs/swiftui/src/components/NavigationLink/types.d.ts +31 -0
- package/dist/libs/swiftui/src/components/NavigationLink/types.js +1 -0
- package/dist/libs/swiftui/src/components/Picker.d.ts +11 -0
- package/dist/libs/swiftui/src/components/Picker.js +14 -0
- package/dist/libs/swiftui/src/components/Text.d.ts +6 -0
- package/dist/libs/swiftui/src/components/Text.js +10 -0
- package/dist/libs/swiftui/src/components/TextSubtitle.d.ts +22 -0
- package/dist/libs/swiftui/src/components/TextSubtitle.js +9 -0
- package/dist/libs/swiftui/src/context/ListEditable.d.ts +7 -0
- package/dist/libs/swiftui/src/context/ListEditable.js +2 -0
- package/dist/libs/table/index.d.ts +5 -0
- package/dist/libs/table/index.js +5 -0
- package/dist/libs/table/src/components/Borders.d.ts +6 -0
- package/dist/libs/table/src/components/Borders.js +84 -0
- package/dist/libs/table/src/components/Delete/index.d.ts +4 -0
- package/dist/libs/table/src/components/Delete/index.js +141 -0
- package/dist/libs/table/src/components/Delete/types.d.ts +27 -0
- package/dist/libs/table/src/components/Delete/types.js +1 -0
- package/dist/libs/table/src/components/Detail.d.ts +4 -0
- package/dist/libs/table/src/components/Detail.js +11 -0
- package/dist/libs/table/src/components/Option/index.d.ts +6 -0
- package/dist/libs/table/src/components/Option/index.js +106 -0
- package/dist/libs/table/src/components/Option/types.d.ts +61 -0
- package/dist/libs/table/src/components/Option/types.js +1 -0
- package/dist/libs/table/src/components/OptionComponents/deleteIcon.d.ts +6 -0
- package/dist/libs/table/src/components/OptionComponents/deleteIcon.js +14 -0
- package/dist/libs/table/src/components/OptionComponents/dragIcon.d.ts +6 -0
- package/dist/libs/table/src/components/OptionComponents/dragIcon.js +18 -0
- package/dist/libs/table/src/components/OptionComponents/icon.d.ts +10 -0
- package/dist/libs/table/src/components/OptionComponents/icon.js +12 -0
- package/dist/libs/table/src/components/OptionComponents/image.d.ts +9 -0
- package/dist/libs/table/src/components/OptionComponents/image.js +12 -0
- package/dist/libs/table/src/components/OptionComponents/index.d.ts +8 -0
- package/dist/libs/table/src/components/OptionComponents/index.js +8 -0
- package/dist/libs/table/src/components/OptionComponents/text.d.ts +22 -0
- package/dist/libs/table/src/components/OptionComponents/text.js +20 -0
- package/dist/libs/table/src/components/OptionComponents/textInput.d.ts +25 -0
- package/dist/libs/table/src/components/OptionComponents/textInput.js +49 -0
- package/dist/libs/table/src/components/OptionComponents/textInputCurrency.d.ts +8 -0
- package/dist/libs/table/src/components/OptionComponents/textInputCurrency.js +10 -0
- package/dist/libs/table/src/components/OptionComponents/textView.d.ts +14 -0
- package/dist/libs/table/src/components/OptionComponents/textView.js +18 -0
- package/dist/libs/table/src/components/OptionWrapper/index.d.ts +3 -0
- package/dist/libs/table/src/components/OptionWrapper/index.js +9 -0
- package/dist/libs/table/src/components/OptionWrapper/types.d.ts +37 -0
- package/dist/libs/table/src/components/OptionWrapper/types.js +1 -0
- package/dist/libs/table/src/components/Table/index.d.ts +3 -0
- package/dist/libs/table/src/components/Table/index.js +90 -0
- package/dist/libs/table/src/components/Table/types.d.ts +70 -0
- package/dist/libs/table/src/components/Table/types.js +1 -0
- package/dist/libs/table/src/components/Wrapper.d.ts +4 -0
- package/dist/libs/table/src/components/Wrapper.js +49 -0
- package/dist/libs/table/src/constants.d.ts +108 -0
- package/dist/libs/table/src/constants.js +107 -0
- package/dist/libs/table/src/context/borders.d.ts +10 -0
- package/dist/libs/table/src/context/borders.js +11 -0
- package/dist/libs/table/src/context/delete.d.ts +1 -0
- package/dist/libs/table/src/context/delete.js +2 -0
- package/dist/libs/table/src/context/table.d.ts +21 -0
- package/dist/libs/table/src/context/table.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../libs/colorPage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../libs/colorPage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../libs/constants/consts';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../libs/constants/consts';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../../libs/constants/formats';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../../libs/constants/formats';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../../libs/constants/hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../../libs/constants/hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../../libs/constants/utils';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../../libs/constants/utils';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../libs/editPage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../libs/editPage';
|
package/dist/app/page.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../libs/pickerPage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../libs/pickerPage';
|
package/dist/app/sql.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../libs/swiftui';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../libs/swiftui';
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
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';
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
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;
|
|
@@ -0,0 +1,16 @@
|
|
|
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;
|
|
@@ -0,0 +1,6 @@
|
|
|
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;
|
|
@@ -0,0 +1,23 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './src/Page';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './src/Page';
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default ({ ...props }) => null;
|
|
@@ -0,0 +1,10 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default ({ ...props }) => null;
|
|
@@ -0,0 +1,13 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|