native-pytech 1.0.197 → 1.0.200
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 +85 -85
- 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/sections/icon.d.ts +0 -2
- package/dist/app/sections/icon.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 -15
- 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 -3
- package/dist/libs/colorPage/src/Content/index.android.js +0 -11
- package/dist/libs/colorPage/src/Content/index.d.ts +0 -3
- package/dist/libs/colorPage/src/Content/index.ios.d.ts +0 -3
- package/dist/libs/colorPage/src/Content/index.ios.js +0 -16
- package/dist/libs/colorPage/src/Content/index.js +0 -20
- 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 -25
- package/dist/libs/colorPage/src/Item/index.js +0 -21
- 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 -3
- package/dist/libs/colorPage/src/Page/index.js +0 -17
- package/dist/libs/colorPage/src/Page/types.d.ts +0 -39
- package/dist/libs/colorPage/src/Page/types.js +0 -1
- package/dist/libs/components/CloseButton.d.ts +0 -8
- package/dist/libs/components/CloseButton.js +0 -18
- package/dist/libs/components/Gradient/components/Gradient/index.d.ts +0 -3
- package/dist/libs/components/Gradient/components/Gradient/index.ios.d.ts +0 -4
- package/dist/libs/components/Gradient/components/Gradient/index.ios.js +0 -6
- package/dist/libs/components/Gradient/components/Gradient/index.js +0 -33
- package/dist/libs/components/Gradient/components/Gradient/types.d.ts +0 -37
- package/dist/libs/components/Gradient/components/Gradient/types.js +0 -1
- package/dist/libs/components/Gradient/components/Icon.d.ts +0 -25
- package/dist/libs/components/Gradient/components/Icon.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 -3
- 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 -12
- package/dist/libs/constants/formats.js +0 -90
- package/dist/libs/constants/hooks.d.ts +0 -9
- package/dist/libs/constants/hooks.js +0 -73
- 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/Header/index.d.ts +0 -3
- package/dist/libs/editPage/src/components/Header/index.js +0 -17
- package/dist/libs/editPage/src/components/Header/index.web.d.ts +0 -3
- package/dist/libs/editPage/src/components/Header/index.web.js +0 -17
- package/dist/libs/editPage/src/components/Header/types.d.ts +0 -5
- package/dist/libs/editPage/src/components/Header/types.js +0 -1
- package/dist/libs/editPage/src/components/Item/index.d.ts +0 -3
- package/dist/libs/editPage/src/components/Item/index.ios.d.ts +0 -3
- package/dist/libs/editPage/src/components/Item/index.ios.js +0 -12
- package/dist/libs/editPage/src/components/Item/index.js +0 -8
- 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/Picker/Date/index.d.ts +0 -3
- package/dist/libs/editPage/src/components/ItemDate/Picker/Date/index.ios.d.ts +0 -3
- package/dist/libs/editPage/src/components/ItemDate/Picker/Date/index.ios.js +0 -7
- package/dist/libs/editPage/src/components/ItemDate/Picker/Date/index.js +0 -33
- package/dist/libs/editPage/src/components/ItemDate/Picker/Time/index.d.ts +0 -3
- package/dist/libs/editPage/src/components/ItemDate/Picker/Time/index.ios.d.ts +0 -3
- package/dist/libs/editPage/src/components/ItemDate/Picker/Time/index.ios.js +0 -4
- package/dist/libs/editPage/src/components/ItemDate/Picker/Time/index.js +0 -36
- package/dist/libs/editPage/src/components/ItemDate/Picker/types.d.ts +0 -23
- package/dist/libs/editPage/src/components/ItemDate/Picker/types.js +0 -1
- package/dist/libs/editPage/src/components/ItemDate/index.d.ts +0 -3
- package/dist/libs/editPage/src/components/ItemDate/index.js +0 -46
- package/dist/libs/editPage/src/components/ItemDate/types.d.ts +0 -22
- package/dist/libs/editPage/src/components/ItemDate/types.js +0 -1
- package/dist/libs/editPage/src/components/ItemTime/TimePicker/index.d.ts +0 -3
- package/dist/libs/editPage/src/components/ItemTime/TimePicker/index.ios.d.ts +0 -3
- package/dist/libs/editPage/src/components/ItemTime/TimePicker/index.ios.js +0 -4
- package/dist/libs/editPage/src/components/ItemTime/TimePicker/index.js +0 -36
- package/dist/libs/editPage/src/components/ItemTime/TimePicker/types.d.ts +0 -23
- package/dist/libs/editPage/src/components/ItemTime/TimePicker/types.js +0 -1
- package/dist/libs/editPage/src/components/ItemTime/index.d.ts +0 -3
- package/dist/libs/editPage/src/components/ItemTime/index.js +0 -38
- package/dist/libs/editPage/src/components/ItemTime/types.d.ts +0 -17
- package/dist/libs/editPage/src/components/ItemTime/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 -7
- 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 -3
- package/dist/libs/editPage/src/components/TextField/index.ios.js +0 -37
- package/dist/libs/editPage/src/components/TextField/index.js +0 -28
- 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 -3
- package/dist/libs/editPage/src/components/Wrapper/index.js +0 -73
- package/dist/libs/editPage/src/components/Wrapper/types.d.ts +0 -28
- 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 -3
- 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 -6
- 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 -4
- 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 -3
- 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 -3
- package/dist/libs/page/src/components/Page/index.android.js +0 -11
- package/dist/libs/page/src/components/Page/index.d.ts +0 -3
- 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 -4
- 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/components/Content/index.d.ts +0 -3
- package/dist/libs/pickerPage/src/components/Content/index.ios.d.ts +0 -3
- package/dist/libs/pickerPage/src/components/Content/index.ios.js +0 -19
- package/dist/libs/pickerPage/src/components/Content/index.js +0 -14
- package/dist/libs/pickerPage/src/components/Content/types.d.ts +0 -3
- package/dist/libs/pickerPage/src/components/Content/types.js +0 -1
- package/dist/libs/pickerPage/src/components/Item/index.d.ts +0 -3
- package/dist/libs/pickerPage/src/components/Item/index.ios.d.ts +0 -7
- package/dist/libs/pickerPage/src/components/Item/index.ios.js +0 -8
- package/dist/libs/pickerPage/src/components/Item/index.js +0 -16
- package/dist/libs/pickerPage/src/components/Item/types.d.ts +0 -28
- package/dist/libs/pickerPage/src/components/Item/types.js +0 -1
- package/dist/libs/pickerPage/src/components/Page/index.d.ts +0 -3
- package/dist/libs/pickerPage/src/components/Page/index.js +0 -22
- package/dist/libs/pickerPage/src/components/Page/types.d.ts +0 -30
- package/dist/libs/pickerPage/src/components/Page/types.js +0 -1
- package/dist/libs/pickerPage/src/context/page.d.ts +0 -7
- package/dist/libs/pickerPage/src/context/page.js +0 -2
- package/dist/libs/providers/App/index.d.ts +0 -10
- package/dist/libs/providers/App/index.js +0 -59
- 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/sections/Icon/index.d.ts +0 -2
- package/dist/libs/sections/Icon/index.js +0 -1
- package/dist/libs/sections/Icon/src/Section.ios.d.ts +0 -6
- package/dist/libs/sections/Icon/src/Section.ios.js +0 -17
- package/dist/libs/sections/Icon/src/index.d.ts +0 -3
- package/dist/libs/sections/Icon/src/index.ios.d.ts +0 -3
- package/dist/libs/sections/Icon/src/index.ios.js +0 -26
- package/dist/libs/sections/Icon/src/index.js +0 -59
- package/dist/libs/sections/Icon/types.d.ts +0 -25
- package/dist/libs/sections/Icon/types.js +0 -1
- 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 -3
- 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 -3
- package/dist/libs/segmentedControl/src/components/Container/index.ios.d.ts +0 -3
- 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 -3
- 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 -3
- 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 -3
- 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 -10
- 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 -10
- package/dist/libs/swiftui/index.js +0 -10
- package/dist/libs/swiftui/src/components/ChevronRight.d.ts +0 -2
- package/dist/libs/swiftui/src/components/ChevronRight.js +0 -4
- package/dist/libs/swiftui/src/components/Dialog/index.d.ts +0 -3
- 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 -9
- package/dist/libs/swiftui/src/components/Icon.js +0 -8
- package/dist/libs/swiftui/src/components/IconSection/Icon.d.ts +0 -24
- package/dist/libs/swiftui/src/components/IconSection/Icon.js +0 -26
- package/dist/libs/swiftui/src/components/IconSection/Section.d.ts +0 -6
- 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 -9
- 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 -3
- 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 -4
- 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 -3
- package/dist/libs/swiftui/src/components/NavigationLink/Trailing.js +0 -14
- package/dist/libs/swiftui/src/components/NavigationLink/index.d.ts +0 -3
- package/dist/libs/swiftui/src/components/NavigationLink/index.js +0 -17
- package/dist/libs/swiftui/src/components/NavigationLink/types.d.ts +0 -39
- package/dist/libs/swiftui/src/components/NavigationLink/types.js +0 -1
- package/dist/libs/swiftui/src/components/Picker.d.ts +0 -10
- package/dist/libs/swiftui/src/components/Picker.js +0 -14
- package/dist/libs/swiftui/src/components/Text.d.ts +0 -5
- package/dist/libs/swiftui/src/components/Text.js +0 -10
- package/dist/libs/swiftui/src/components/TextSubtitle.d.ts +0 -21
- 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 -5
- package/dist/libs/table/src/components/Borders.js +0 -84
- package/dist/libs/table/src/components/Delete/index.d.ts +0 -3
- 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 -109
- package/dist/libs/table/src/components/Option/types.d.ts +0 -66
- package/dist/libs/table/src/components/Option/types.js +0 -1
- package/dist/libs/table/src/components/OptionComponents/deleteIcon.d.ts +0 -5
- package/dist/libs/table/src/components/OptionComponents/deleteIcon.js +0 -14
- package/dist/libs/table/src/components/OptionComponents/dragIcon.d.ts +0 -5
- package/dist/libs/table/src/components/OptionComponents/dragIcon.js +0 -18
- package/dist/libs/table/src/components/OptionComponents/icon.d.ts +0 -9
- package/dist/libs/table/src/components/OptionComponents/icon.js +0 -12
- package/dist/libs/table/src/components/OptionComponents/image.d.ts +0 -8
- 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 -21
- package/dist/libs/table/src/components/OptionComponents/text.js +0 -27
- package/dist/libs/table/src/components/OptionComponents/textInput.d.ts +0 -24
- package/dist/libs/table/src/components/OptionComponents/textInput.js +0 -49
- package/dist/libs/table/src/components/OptionComponents/textInputCurrency.d.ts +0 -7
- 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 -74
- package/dist/libs/table/src/components/Table/types.js +0 -1
- package/dist/libs/table/src/components/Wrapper.d.ts +0 -6
- 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 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { default as NavigationLink } from './src/components/NavigationLink';
|
|
2
|
-
export { default as Host } from './src/components/Host';
|
|
3
|
-
export { default as Icon } from './src/components/Icon';
|
|
4
|
-
export { default as IconSection } from './src/components/IconSection';
|
|
5
|
-
export { default as List } from './src/components/List';
|
|
6
|
-
export { default as Text } from './src/components/Text';
|
|
7
|
-
export { default as Picker } from './src/components/Picker';
|
|
8
|
-
export { default as TextSubtitle } from './src/components/TextSubtitle';
|
|
9
|
-
export { default as Dialog } from './src/components/Dialog';
|
|
10
|
-
export { default as ChevronRight } from './src/components/ChevronRight';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { default as NavigationLink } from './src/components/NavigationLink';
|
|
2
|
-
export { default as Host } from './src/components/Host';
|
|
3
|
-
export { default as Icon } from './src/components/Icon';
|
|
4
|
-
export { default as IconSection } from './src/components/IconSection';
|
|
5
|
-
export { default as List } from './src/components/List';
|
|
6
|
-
export { default as Text } from './src/components/Text';
|
|
7
|
-
export { default as Picker } from './src/components/Picker';
|
|
8
|
-
export { default as TextSubtitle } from './src/components/TextSubtitle';
|
|
9
|
-
export { default as Dialog } from './src/components/Dialog';
|
|
10
|
-
export { default as ChevronRight } from './src/components/ChevronRight';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ConfirmationDialog, Button, Text } from '@expo/ui/swift-ui';
|
|
2
|
-
import { memo, useState, useCallback } from 'react';
|
|
3
|
-
export default memo(({ children, buttonTriggerProps, title, message, }) => {
|
|
4
|
-
const [isPresented, setIsPresented] = useState(false);
|
|
5
|
-
const onPress = useCallback(() => {
|
|
6
|
-
buttonTriggerProps?.onPress?.();
|
|
7
|
-
setIsPresented(true);
|
|
8
|
-
}, []);
|
|
9
|
-
return (<ConfirmationDialog title={title ?? ''} isPresented={isPresented} onIsPresentedChange={setIsPresented} titleVisibility={title ? 'visible' : 'hidden'}>
|
|
10
|
-
<ConfirmationDialog.Trigger>
|
|
11
|
-
<Button {...buttonTriggerProps} onPress={onPress}/>
|
|
12
|
-
</ConfirmationDialog.Trigger>
|
|
13
|
-
|
|
14
|
-
<ConfirmationDialog.Actions>
|
|
15
|
-
{children}
|
|
16
|
-
</ConfirmationDialog.Actions>
|
|
17
|
-
|
|
18
|
-
{message && <ConfirmationDialog.Message>
|
|
19
|
-
<Text>{message}</Text>
|
|
20
|
-
</ConfirmationDialog.Message>}
|
|
21
|
-
</ConfirmationDialog>);
|
|
22
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from "@expo/ui/swift-ui";
|
|
2
|
-
type Props = {
|
|
3
|
-
/**
|
|
4
|
-
The buttons to be displayed in the dialog.
|
|
5
|
-
@example <Button label="Delete" role="destructive" onPress={() => console.log('Delete')} />
|
|
6
|
-
*/
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
/**
|
|
9
|
-
The props to be passed to the button that triggers the dialog.
|
|
10
|
-
*/
|
|
11
|
-
buttonTriggerProps?: ButtonProps;
|
|
12
|
-
/**
|
|
13
|
-
The title of the dialog.
|
|
14
|
-
*/
|
|
15
|
-
title?: string;
|
|
16
|
-
/**
|
|
17
|
-
The message to be displayed in the dialog.
|
|
18
|
-
*/
|
|
19
|
-
message?: string;
|
|
20
|
-
};
|
|
21
|
-
export default Props;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { LabelProps } from '@expo/ui/swift-ui';
|
|
2
|
-
type Props = Omit<LabelProps, 'title'> & {
|
|
3
|
-
/**
|
|
4
|
-
Children to display on the right side of the label.
|
|
5
|
-
*/
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
};
|
|
8
|
-
declare const _default: import("react").MemoExoticComponent<({ children, ...labelProps }: Props) => import("react").JSX.Element>;
|
|
9
|
-
export default _default;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from '@expo/ui/swift-ui';
|
|
2
|
-
import { Props as GradientProps } from '../../../../../libs/components/Gradient';
|
|
3
|
-
type Props = {
|
|
4
|
-
/**
|
|
5
|
-
The title of the icon section.
|
|
6
|
-
*/
|
|
7
|
-
title?: string;
|
|
8
|
-
/**
|
|
9
|
-
The subtitle of the icon section.
|
|
10
|
-
*/
|
|
11
|
-
subtitle?: string;
|
|
12
|
-
/**
|
|
13
|
-
If it is given, displays a gradient.
|
|
14
|
-
*/
|
|
15
|
-
gradientProps?: Omit<GradientProps, 'type'> & {
|
|
16
|
-
type: 'extraLarge' | 'extraExtraLarge';
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
If it is given, displays a button.
|
|
20
|
-
*/
|
|
21
|
-
buttonProps?: ButtonProps;
|
|
22
|
-
};
|
|
23
|
-
declare const _default: import("react").MemoExoticComponent<({ title, subtitle, gradientProps, buttonProps, }: Props) => import("react").JSX.Element>;
|
|
24
|
-
export default _default;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Button, VStack } from '@expo/ui/swift-ui';
|
|
2
|
-
import { frame, font, buttonStyle } from '@expo/ui/swift-ui/modifiers';
|
|
3
|
-
import { memo } from 'react';
|
|
4
|
-
import Gradient from '../../../../../libs/components/Gradient';
|
|
5
|
-
import Text from '../Text';
|
|
6
|
-
import Section from './Section';
|
|
7
|
-
export default memo(({ title, subtitle, gradientProps, buttonProps, }) => {
|
|
8
|
-
const spacing = gradientProps?.type === 'extraLarge' ? 10 : 20;
|
|
9
|
-
return (<Section spacing={spacing}>
|
|
10
|
-
{gradientProps && (<Gradient {...gradientProps}/>)}
|
|
11
|
-
|
|
12
|
-
{(title || subtitle) && (subtitle ? (<VStack modifiers={[frame({ alignment: 'center' })]} spacing={2}>
|
|
13
|
-
<Title title={title}/>
|
|
14
|
-
<Text secondary>
|
|
15
|
-
{subtitle}
|
|
16
|
-
</Text>
|
|
17
|
-
</VStack>) : (<Title title={title}/>))}
|
|
18
|
-
|
|
19
|
-
{buttonProps && (<Button {...buttonProps} modifiers={[buttonStyle('bordered'), ...(buttonProps?.modifiers || [])]}/>)}
|
|
20
|
-
</Section>);
|
|
21
|
-
});
|
|
22
|
-
const Title = memo(({ title }) => {
|
|
23
|
-
return (<Text modifiers={[font({ weight: 'bold', size: 30 })]}>
|
|
24
|
-
{title}
|
|
25
|
-
</Text>);
|
|
26
|
-
});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { VStackProps } from '@expo/ui/swift-ui';
|
|
2
|
-
type Props = VStackProps & {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
};
|
|
5
|
-
declare const _default: import("react").MemoExoticComponent<({ children, modifiers, ...vStackProps }: Props) => import("react").JSX.Element>;
|
|
6
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Section, VStack } from '@expo/ui/swift-ui';
|
|
2
|
-
import { containerRelativeFrame, listRowBackground, frame, listRowInsets } from '@expo/ui/swift-ui/modifiers';
|
|
3
|
-
import { memo, useMemo } from 'react';
|
|
4
|
-
export default memo(({ children, modifiers, ...vStackProps }) => {
|
|
5
|
-
const _modifiers = useMemo(() => [
|
|
6
|
-
...(modifiers ?? []),
|
|
7
|
-
frame({ alignment: 'center' }),
|
|
8
|
-
containerRelativeFrame({ axes: 'horizontal' }),
|
|
9
|
-
listRowBackground('transparent'),
|
|
10
|
-
listRowInsets({ bottom: 0.1 })
|
|
11
|
-
], [modifiers]);
|
|
12
|
-
return (<Section>
|
|
13
|
-
<VStack spacing={20} modifiers={_modifiers} {...vStackProps}>
|
|
14
|
-
{children}
|
|
15
|
-
</VStack>
|
|
16
|
-
</Section>);
|
|
17
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type Props from './types';
|
|
2
|
-
/**
|
|
3
|
-
Wrapper de List que aplica un padding superior negativo por defecto.
|
|
4
|
-
|
|
5
|
-
Este componente extiende "List" de @expo/ui/swift-ui y agrega automáticamente:
|
|
6
|
-
- padding({ top: -15 })
|
|
7
|
-
*/
|
|
8
|
-
declare const _default: import("react").MemoExoticComponent<({ children, modifiers, disablePaddingTop, listStyle, onRefresh, ...listProps }: Props) => import("react").JSX.Element>;
|
|
9
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { List } from '@expo/ui/swift-ui';
|
|
2
|
-
import { listStyle as listStyleModifier, padding, refreshable } from '@expo/ui/swift-ui/modifiers';
|
|
3
|
-
import { memo, useMemo } from 'react';
|
|
4
|
-
/**
|
|
5
|
-
Wrapper de List que aplica un padding superior negativo por defecto.
|
|
6
|
-
|
|
7
|
-
Este componente extiende "List" de @expo/ui/swift-ui y agrega automáticamente:
|
|
8
|
-
- padding({ top: -15 })
|
|
9
|
-
*/
|
|
10
|
-
export default memo(({ children, modifiers, disablePaddingTop, listStyle, onRefresh, ...listProps }) => {
|
|
11
|
-
const _modifiers = useMemo(() => [
|
|
12
|
-
...(modifiers ?? []),
|
|
13
|
-
...(listStyle ? [listStyleModifier(listStyle)] : []),
|
|
14
|
-
...(disablePaddingTop ? [] : [padding({ top: -15 })]),
|
|
15
|
-
...(onRefresh ? [refreshable(onRefresh)] : []),
|
|
16
|
-
], [modifiers, disablePaddingTop, onRefresh]);
|
|
17
|
-
return (<List modifiers={_modifiers} {...listProps}>
|
|
18
|
-
{children}
|
|
19
|
-
</List>);
|
|
20
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ListProps } from "@expo/ui/swift-ui";
|
|
2
|
-
type Props = ListProps & {
|
|
3
|
-
/**
|
|
4
|
-
Whether to disable the padding top of the list.
|
|
5
|
-
*/
|
|
6
|
-
disablePaddingTop?: boolean;
|
|
7
|
-
/**
|
|
8
|
-
The style of the list.
|
|
9
|
-
*/
|
|
10
|
-
listStyle?: 'plain' | 'inset' | 'grouped';
|
|
11
|
-
/**
|
|
12
|
-
The function to handle the refresh event.
|
|
13
|
-
*/
|
|
14
|
-
onRefresh?: () => Promise<void>;
|
|
15
|
-
};
|
|
16
|
-
export default Props;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { listStyle, environment, moveDisabled, deleteDisabled } from "@expo/ui/swift-ui/modifiers";
|
|
2
|
-
import { memo, useMemo } from "react";
|
|
3
|
-
import BaseList from "../../BaseList";
|
|
4
|
-
import { Provider } from '../../../../context/ListEditable';
|
|
5
|
-
export default memo(({ children, editMode, moveEnabled = false, deleteEnabled = false, modifiers, ...listProps }) => {
|
|
6
|
-
const _modifiers = useMemo(() => [
|
|
7
|
-
...(modifiers ?? []),
|
|
8
|
-
listStyle('inset'),
|
|
9
|
-
environment('editMode', editMode ? 'active' : 'inactive'),
|
|
10
|
-
...(moveEnabled ? [moveDisabled(false)] : []),
|
|
11
|
-
...(deleteEnabled ? [deleteDisabled(false)] : []),
|
|
12
|
-
], [modifiers, editMode, moveEnabled, deleteEnabled]);
|
|
13
|
-
const value = useMemo(() => ({ enableMove: moveEnabled, enableDelete: deleteEnabled }), [moveEnabled, deleteEnabled]);
|
|
14
|
-
return (<BaseList {...listProps} modifiers={_modifiers}>
|
|
15
|
-
<Provider value={value}>
|
|
16
|
-
{children}
|
|
17
|
-
</Provider>
|
|
18
|
-
</BaseList>);
|
|
19
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type BaseListProps from '../../BaseList/types';
|
|
2
|
-
type Props = BaseListProps & {
|
|
3
|
-
/**
|
|
4
|
-
Whether the list is on edit mode.
|
|
5
|
-
*/
|
|
6
|
-
editMode?: boolean;
|
|
7
|
-
/**
|
|
8
|
-
Whether to enable the move of the items.
|
|
9
|
-
*/
|
|
10
|
-
moveEnabled?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
Whether to enable the delete of the items.
|
|
13
|
-
*/
|
|
14
|
-
deleteEnabled?: boolean;
|
|
15
|
-
};
|
|
16
|
-
export default Props;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { List, Section } from "@expo/ui/swift-ui";
|
|
2
|
-
import { moveDisabled, tag, deleteDisabled } from "@expo/ui/swift-ui/modifiers";
|
|
3
|
-
import { memo, useCallback, useState } from "react";
|
|
4
|
-
import Hooks from '../../../../../../../libs/constants/hooks';
|
|
5
|
-
import { useListEditable } from "../../../../context/ListEditable";
|
|
6
|
-
function Component({ data = [], keyExtractor, onDelete, onMove, renderItem, sectionProps, }) {
|
|
7
|
-
// ---------------------- Variables ----------------------
|
|
8
|
-
const { enableMove, enableDelete } = useListEditable();
|
|
9
|
-
const [_data, setData] = useState(data ?? []);
|
|
10
|
-
Hooks.useEffectWithoutFirstRender(() => setData(data ?? []), [data]);
|
|
11
|
-
// ---------------------- Functions ----------------------
|
|
12
|
-
const handleDelete = useCallback((indices) => {
|
|
13
|
-
setData(prev => prev.filter((_, i) => !indices.includes(i)));
|
|
14
|
-
for (const index of indices)
|
|
15
|
-
onDelete?.({ index });
|
|
16
|
-
}, [onDelete]);
|
|
17
|
-
const handleMove = useCallback((sourceIndices, destination) => {
|
|
18
|
-
const adjustedDest = sourceIndices[0] < destination ? destination - 1 : destination;
|
|
19
|
-
setData(prev => {
|
|
20
|
-
const newData = [...prev];
|
|
21
|
-
const [removed] = newData.splice(sourceIndices[0], 1);
|
|
22
|
-
newData.splice(adjustedDest, 0, removed);
|
|
23
|
-
return newData;
|
|
24
|
-
});
|
|
25
|
-
onMove?.({ listIndexes: sourceIndices, destinationIndex: adjustedDest });
|
|
26
|
-
}, [onMove]);
|
|
27
|
-
return (<Section {...sectionProps}>
|
|
28
|
-
<List.ForEach onDelete={handleDelete} onMove={handleMove} modifiers={[moveDisabled(!enableMove), deleteDisabled(!enableDelete)]}>
|
|
29
|
-
{_data.map((item, index) => {
|
|
30
|
-
const key = keyExtractor?.(item) ?? index;
|
|
31
|
-
return renderItem?.({ item, tagModifier: tag(key) });
|
|
32
|
-
})}
|
|
33
|
-
</List.ForEach>
|
|
34
|
-
</Section>);
|
|
35
|
-
}
|
|
36
|
-
export default memo(Component);
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ViewModifier } from "@expo/ui/swift-ui/modifiers";
|
|
2
|
-
import { SectionProps } from "@expo/ui/swift-ui";
|
|
3
|
-
type Props<T> = {
|
|
4
|
-
/**
|
|
5
|
-
The data items to be rendered inside the list.
|
|
6
|
-
@default []
|
|
7
|
-
*/
|
|
8
|
-
data?: T[];
|
|
9
|
-
/**
|
|
10
|
-
The function to extract the key from the data item.
|
|
11
|
-
@example
|
|
12
|
-
keyExtractor={(item) => item.id}
|
|
13
|
-
*/
|
|
14
|
-
keyExtractor?: (item: T) => string | number;
|
|
15
|
-
/**
|
|
16
|
-
The function to handle the delete event.
|
|
17
|
-
|
|
18
|
-
*/
|
|
19
|
-
onDelete?: ({ index }: {
|
|
20
|
-
index: number;
|
|
21
|
-
}) => void;
|
|
22
|
-
/**
|
|
23
|
-
The function to handle the move event.
|
|
24
|
-
*/
|
|
25
|
-
onMove?: ({ listIndexes, destinationIndex }: {
|
|
26
|
-
listIndexes: number[];
|
|
27
|
-
destinationIndex: number;
|
|
28
|
-
}) => void;
|
|
29
|
-
/**
|
|
30
|
-
The function to render the item.
|
|
31
|
-
The prop "modifier" is the modifier to be applied to the item [tag(key)].
|
|
32
|
-
*/
|
|
33
|
-
renderItem?: ({ item, tagModifier }: {
|
|
34
|
-
item: T;
|
|
35
|
-
tagModifier: ViewModifier;
|
|
36
|
-
}) => React.ReactNode;
|
|
37
|
-
/**
|
|
38
|
-
The props to apply to the Section.
|
|
39
|
-
*/
|
|
40
|
-
sectionProps?: Omit<SectionProps, 'children'>;
|
|
41
|
-
};
|
|
42
|
-
export default Props;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Spacer, HStack } from '@expo/ui/swift-ui';
|
|
2
|
-
import { memo } from 'react';
|
|
3
|
-
import Text from '../Text';
|
|
4
|
-
import ChevronRight from '../ChevronRight';
|
|
5
|
-
export default memo(({ text, textProps, component }) => {
|
|
6
|
-
return (<>
|
|
7
|
-
<Spacer />
|
|
8
|
-
{(text || component) ? (<HStack spacing={10}>
|
|
9
|
-
{text && <Text {...textProps} secondary>{text}</Text>}
|
|
10
|
-
{component}
|
|
11
|
-
<ChevronRight />
|
|
12
|
-
</HStack>) : (<ChevronRight />)}
|
|
13
|
-
</>);
|
|
14
|
-
});
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type Props from './types';
|
|
2
|
-
declare const _default: import("react").MemoExoticComponent<({ children, onPress, icon, label, systemImage, listRowInsets, trailingText, trailingTextProps, trailingComponent, modifiers }: Props) => import("react").JSX.Element>;
|
|
3
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Button, HStack, Label } from '@expo/ui/swift-ui';
|
|
2
|
-
import { listRowInsets as listRowInsetsModifier, foregroundStyle } from '@expo/ui/swift-ui/modifiers';
|
|
3
|
-
import { memo, useMemo } from 'react';
|
|
4
|
-
import Trailing from './Trailing';
|
|
5
|
-
export default memo(({ children, onPress, icon, label, systemImage, listRowInsets = false, trailingText, trailingTextProps, trailingComponent, modifiers }) => {
|
|
6
|
-
const _modifiers = useMemo(() => [
|
|
7
|
-
...(modifiers ?? []),
|
|
8
|
-
...(listRowInsets ? [listRowInsetsModifier({ top: 20, bottom: 20, leading: 25, trailing: 20 })] : []),
|
|
9
|
-
], [modifiers, listRowInsets]);
|
|
10
|
-
return (<HStack modifiers={_modifiers}>
|
|
11
|
-
<Button onPress={onPress} modifiers={[foregroundStyle({ type: 'hierarchical', style: 'primary' })]}>
|
|
12
|
-
{children ?? (!systemImage ? <Label title={label} icon={icon}/> : undefined)}
|
|
13
|
-
</Button>
|
|
14
|
-
{systemImage && <Label title={label} systemImage={systemImage} icon={icon}/>}
|
|
15
|
-
<Trailing text={trailingText} textProps={trailingTextProps} component={trailingComponent}/>
|
|
16
|
-
</HStack>);
|
|
17
|
-
});
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ButtonProps, LabelProps, TextProps } from "@expo/ui/swift-ui";
|
|
2
|
-
export type TrailingProps = {
|
|
3
|
-
/**
|
|
4
|
-
Text to display on the Trailing Stack.
|
|
5
|
-
*/
|
|
6
|
-
text?: string;
|
|
7
|
-
/**
|
|
8
|
-
TextProps to apply to the Trailing Stack text.
|
|
9
|
-
*/
|
|
10
|
-
textProps?: TextProps;
|
|
11
|
-
/**
|
|
12
|
-
Custom React Node to display instead of the default Trailing Stack (text + ChevronRight).
|
|
13
|
-
*/
|
|
14
|
-
component?: React.ReactNode;
|
|
15
|
-
};
|
|
16
|
-
type Props = Pick<ButtonProps, 'children' | 'onPress' | 'systemImage' | 'label' | 'modifiers'> & {
|
|
17
|
-
/**
|
|
18
|
-
Whether to apply the listRowInsets modifier to the HStack.
|
|
19
|
-
@default false
|
|
20
|
-
*/
|
|
21
|
-
listRowInsets?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
Icon to display on the Label.
|
|
24
|
-
*/
|
|
25
|
-
icon?: LabelProps['icon'];
|
|
26
|
-
/**
|
|
27
|
-
Text to display on the Trailing Stack.
|
|
28
|
-
*/
|
|
29
|
-
trailingText?: TrailingProps['text'];
|
|
30
|
-
/**
|
|
31
|
-
TextProps to apply to the Trailing Stack text.
|
|
32
|
-
*/
|
|
33
|
-
trailingTextProps?: TrailingProps['textProps'];
|
|
34
|
-
/**
|
|
35
|
-
Custom React Node to display instead of the default Trailing Stack (text + ChevronRight).
|
|
36
|
-
*/
|
|
37
|
-
trailingComponent?: TrailingProps['component'];
|
|
38
|
-
};
|
|
39
|
-
export default Props;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PickerProps } from '@expo/ui/swift-ui';
|
|
2
|
-
type Props = Omit<PickerProps, 'children'> & {
|
|
3
|
-
/**
|
|
4
|
-
The data items to be rendered inside the picker.
|
|
5
|
-
@default []
|
|
6
|
-
*/
|
|
7
|
-
data?: (string | number)[];
|
|
8
|
-
};
|
|
9
|
-
declare const _default: import("react").MemoExoticComponent<({ modifiers, data, ...pickerProps }: Props) => import("react").JSX.Element>;
|
|
10
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Picker, Text } from '@expo/ui/swift-ui';
|
|
2
|
-
import { pickerStyle, tag } from "@expo/ui/swift-ui/modifiers";
|
|
3
|
-
import { memo, useMemo } from 'react';
|
|
4
|
-
export default memo(({ modifiers, data = [], ...pickerProps }) => {
|
|
5
|
-
const _modifiers = useMemo(() => [
|
|
6
|
-
...(modifiers ?? []),
|
|
7
|
-
pickerStyle('menu'),
|
|
8
|
-
], [modifiers]);
|
|
9
|
-
return (<Picker modifiers={_modifiers} {...pickerProps}>
|
|
10
|
-
{data.map(item => (<Text key={item} modifiers={[tag(item)]}>
|
|
11
|
-
{item}
|
|
12
|
-
</Text>))}
|
|
13
|
-
</Picker>);
|
|
14
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Text } from '@expo/ui/swift-ui';
|
|
2
|
-
import { foregroundStyle } from '@expo/ui/swift-ui/modifiers';
|
|
3
|
-
import { memo, useMemo } from 'react';
|
|
4
|
-
export default memo(({ modifiers, secondary = false, ...restProps }) => {
|
|
5
|
-
const _modifiers = useMemo(() => [
|
|
6
|
-
...(modifiers ?? []),
|
|
7
|
-
...(secondary ? [foregroundStyle({ type: 'hierarchical', style: 'secondary' })] : []),
|
|
8
|
-
], [modifiers, secondary]);
|
|
9
|
-
return (<Text modifiers={_modifiers} {...restProps}/>);
|
|
10
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { TextProps } from '@expo/ui/swift-ui';
|
|
2
|
-
type Props = {
|
|
3
|
-
/**
|
|
4
|
-
Title to display in the label.
|
|
5
|
-
*/
|
|
6
|
-
title?: string;
|
|
7
|
-
/**
|
|
8
|
-
Subtitle to display in the label.
|
|
9
|
-
*/
|
|
10
|
-
subtitle?: string;
|
|
11
|
-
/**
|
|
12
|
-
Props to apply to the title.
|
|
13
|
-
*/
|
|
14
|
-
titleTextProps?: TextProps;
|
|
15
|
-
/**
|
|
16
|
-
Props to apply to the subtitle.
|
|
17
|
-
*/
|
|
18
|
-
subtitleTextProps?: TextProps;
|
|
19
|
-
};
|
|
20
|
-
declare const _default: import("react").MemoExoticComponent<({ title, subtitle, titleTextProps, subtitleTextProps }: Props) => import("react").JSX.Element>;
|
|
21
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { VStack } from '@expo/ui/swift-ui';
|
|
2
|
-
import { memo } from 'react';
|
|
3
|
-
import Text from './Text';
|
|
4
|
-
export default memo(({ title, subtitle, titleTextProps, subtitleTextProps }) => {
|
|
5
|
-
return (<VStack alignment='leading' spacing={2}>
|
|
6
|
-
<Text {...titleTextProps}>{title}</Text>
|
|
7
|
-
<Text {...subtitleTextProps} secondary>{subtitle}</Text>
|
|
8
|
-
</VStack>);
|
|
9
|
-
});
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default } from './src/components/Table';
|
|
2
|
-
export { useBorders, useStore, useTable } from './src/context/table';
|
|
3
|
-
export { useDelete } from './src/context/delete';
|
|
4
|
-
export { useBorder } from './src/context/borders';
|
|
5
|
-
export { type ColorThemeType, type ColorSchemeType, colors } from './src/constants';
|