@admin-layout/gluestack-ui-mobile 12.0.16-alpha.93 → 12.2.1-alpha.3
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/CHANGELOG.md +4 -232
- package/lib/components/AuthWrapper.js +3 -5
- package/lib/components/AuthWrapper.js.map +1 -1
- package/lib/components/ErrorBounday.js.map +1 -1
- package/lib/components/Fallback.js +12 -12
- package/lib/components/Fallback.js.map +1 -1
- package/lib/components/Layout/components/BasicLayout.js +2 -2
- package/lib/components/Layout/components/BasicLayout.js.map +1 -1
- package/lib/components/Layout/components/BottomTabBar.js +6 -6
- package/lib/components/Layout/components/BottomTabBar.js.map +1 -1
- package/lib/components/Layout/components/Drawer.js +17 -16
- package/lib/components/Layout/components/Drawer.js.map +1 -1
- package/lib/components/Layout/components/Header.js +15 -12
- package/lib/components/Layout/components/Header.js.map +1 -1
- package/lib/components/Layout/components/Sample.js +1 -1
- package/lib/components/Layout/components/Sample.js.map +1 -1
- package/lib/components/Layout/components/SettingDrawer/LayoutButton.js +9 -9
- package/lib/components/Layout/components/SettingDrawer/LayoutButton.js.map +1 -1
- package/lib/components/Layout/components/SettingDrawer/SettingDrawer.js +36 -37
- package/lib/components/Layout/components/SettingDrawer/SettingDrawer.js.map +1 -1
- package/lib/components/Layout/components/SettingDrawer/ThemeColorButton.js +2 -13
- package/lib/components/Layout/components/SettingDrawer/ThemeColorButton.js.map +1 -1
- package/lib/components/Layout/components/SideBar.js +10 -7
- package/lib/components/Layout/components/SideBar.js.map +1 -1
- package/lib/components/NavigationComponent.js.map +1 -1
- package/lib/components/ToastAlert.d.ts +1 -1
- package/lib/components/ToastAlert.js +4 -4
- package/lib/components/ToastAlert.js.map +1 -1
- package/lib/components/UnAuthenticatedComponent.js +9 -9
- package/lib/components/UnAuthenticatedComponent.js.map +1 -1
- package/lib/components/WithConfiguration.d.ts +2 -2
- package/lib/components/WithConfiguration.js +4 -4
- package/lib/components/WithConfiguration.js.map +1 -1
- package/lib/components/WithPermission.js +1 -1
- package/lib/components/WithPermission.js.map +1 -1
- package/lib/components/WithPolicy.d.ts +2 -1
- package/lib/components/WithPolicy.js +1 -1
- package/lib/components/WithPolicy.js.map +1 -1
- package/lib/components/index.d.ts +0 -1
- package/lib/components/index.js +0 -1
- package/lib/components/index.js.map +1 -1
- package/lib/components/with-interactions-lifecycle-managed.js +11 -13
- package/lib/components/with-interactions-lifecycle-managed.js.map +1 -1
- package/lib/components/with-interactions-managed.js +5 -4
- package/lib/components/with-interactions-managed.js.map +1 -1
- package/lib/containers/layout/ProLayout.js +2 -2
- package/lib/containers/layout/ProLayout.js.map +1 -1
- package/lib/index.d.ts +3 -0
- package/lib/index.js +5 -5
- package/lib/index.js.map +1 -1
- package/lib/interfaces/settings.d.ts +0 -1
- package/lib/redux/settings.d.ts +0 -1
- package/lib/utils/generateMobileNavigations.js +2 -26
- package/lib/utils/generateMobileNavigations.js.map +1 -1
- package/package.json +8 -37
- package/src/components/AuthWrapper.tsx +3 -6
- package/src/components/ErrorBounday.tsx +19 -18
- package/src/components/Fallback.tsx +58 -54
- package/src/components/Layout/components/BasicLayout.tsx +2 -2
- package/src/components/Layout/components/BottomTabBar.tsx +101 -92
- package/src/components/Layout/components/Drawer.tsx +28 -31
- package/src/components/Layout/components/Header.tsx +27 -26
- package/src/components/Layout/components/Sample.tsx +1 -1
- package/src/components/Layout/components/SettingDrawer/LayoutButton.tsx +29 -15
- package/src/components/Layout/components/SettingDrawer/SettingDrawer.tsx +57 -49
- package/src/components/Layout/components/SettingDrawer/ThemeColorButton.tsx +5 -14
- package/src/components/Layout/components/SideBar.tsx +17 -12
- package/src/components/NavigationComponent.tsx +1 -1
- package/src/components/ToastAlert.tsx +13 -13
- package/src/components/UnAuthenticatedComponent.tsx +29 -19
- package/src/components/WithConfiguration.tsx +6 -6
- package/src/components/WithPermission.tsx +1 -1
- package/src/components/WithPolicy.tsx +4 -4
- package/src/components/index.ts +0 -1
- package/src/components/with-interactions-lifecycle-managed.tsx +18 -13
- package/src/components/with-interactions-managed.tsx +10 -5
- package/src/containers/layout/ProLayout.tsx +3 -3
- package/src/index.ts +7 -6
- package/src/interfaces/settings.ts +0 -1
- package/src/utils/generateMobileNavigations.ts +1 -29
- package/tsconfig.json +9 -3
- package/lib/components/ui/IconSymbol.d.ts +0 -19
- package/lib/components/ui/IconSymbol.ios.d.ts +0 -10
- package/lib/components/ui/IconSymbol.ios.js +0 -12
- package/lib/components/ui/IconSymbol.ios.js.map +0 -1
- package/lib/components/ui/IconSymbol.js +0 -21
- package/lib/components/ui/IconSymbol.js.map +0 -1
- package/lib/components/ui/TabBarBackground.d.ts +0 -2
- package/lib/components/ui/TabBarBackground.ios.d.ts +0 -3
- package/lib/components/ui/TabBarBackground.ios.js +0 -20
- package/lib/components/ui/TabBarBackground.ios.js.map +0 -1
- package/lib/components/ui/TabBarBackground.js +0 -6
- package/lib/components/ui/TabBarBackground.js.map +0 -1
- package/lib/components/ui/accordion/index.d.ts +0 -193
- package/lib/components/ui/accordion/index.js +0 -177
- package/lib/components/ui/accordion/index.js.map +0 -1
- package/lib/components/ui/accordion/index.web.d.ts +0 -209
- package/lib/components/ui/accordion/index.web.js +0 -156
- package/lib/components/ui/accordion/index.web.js.map +0 -1
- package/lib/components/ui/actionsheet/index.d.ts +0 -727
- package/lib/components/ui/actionsheet/index.js +0 -274
- package/lib/components/ui/actionsheet/index.js.map +0 -1
- package/lib/components/ui/actionsheet/index.web.d.ts +0 -872
- package/lib/components/ui/actionsheet/index.web.js +0 -286
- package/lib/components/ui/actionsheet/index.web.js.map +0 -1
- package/lib/components/ui/alert/index.d.ts +0 -479
- package/lib/components/ui/alert/index.js +0 -153
- package/lib/components/ui/alert/index.js.map +0 -1
- package/lib/components/ui/alert/index.web.d.ts +0 -135
- package/lib/components/ui/alert/index.web.js +0 -38
- package/lib/components/ui/alert/index.web.js.map +0 -1
- package/lib/components/ui/alert-dialog/index.d.ts +0 -53
- package/lib/components/ui/alert-dialog/index.js +0 -137
- package/lib/components/ui/alert-dialog/index.js.map +0 -1
- package/lib/components/ui/alert-dialog/index.web.d.ts +0 -58
- package/lib/components/ui/alert-dialog/index.web.js +0 -139
- package/lib/components/ui/alert-dialog/index.web.js.map +0 -1
- package/lib/components/ui/avatar/index.d.ts +0 -144
- package/lib/components/ui/avatar/index.js +0 -99
- package/lib/components/ui/avatar/index.js.map +0 -1
- package/lib/components/ui/avatar/index.web.d.ts +0 -21
- package/lib/components/ui/avatar/index.web.js +0 -92
- package/lib/components/ui/avatar/index.web.js.map +0 -1
- package/lib/components/ui/badge/index.d.ts +0 -386
- package/lib/components/ui/badge/index.js +0 -139
- package/lib/components/ui/badge/index.js.map +0 -1
- package/lib/components/ui/badge/index.web.d.ts +0 -382
- package/lib/components/ui/badge/index.web.js +0 -138
- package/lib/components/ui/badge/index.web.js.map +0 -1
- package/lib/components/ui/box/index.d.ts +0 -7
- package/lib/components/ui/box/index.js +0 -9
- package/lib/components/ui/box/index.js.map +0 -1
- package/lib/components/ui/box/index.web.d.ts +0 -6
- package/lib/components/ui/box/index.web.js +0 -8
- package/lib/components/ui/box/index.web.js.map +0 -1
- package/lib/components/ui/box/styles.d.ts +0 -1
- package/lib/components/ui/box/styles.js +0 -9
- package/lib/components/ui/box/styles.js.map +0 -1
- package/lib/components/ui/button/index.d.ts +0 -529
- package/lib/components/ui/button/index.js +0 -280
- package/lib/components/ui/button/index.js.map +0 -1
- package/lib/components/ui/button/index.web.d.ts +0 -247
- package/lib/components/ui/button/index.web.js +0 -57
- package/lib/components/ui/button/index.web.js.map +0 -1
- package/lib/components/ui/card/index.d.ts +0 -129
- package/lib/components/ui/card/index.js +0 -9
- package/lib/components/ui/card/index.js.map +0 -1
- package/lib/components/ui/card/index.web.d.ts +0 -126
- package/lib/components/ui/card/index.web.js +0 -8
- package/lib/components/ui/card/index.web.js.map +0 -1
- package/lib/components/ui/card/styles.d.ts +0 -123
- package/lib/components/ui/card/styles.js +0 -20
- package/lib/components/ui/card/styles.js.map +0 -1
- package/lib/components/ui/center/index.d.ts +0 -5
- package/lib/components/ui/center/index.js +0 -9
- package/lib/components/ui/center/index.js.map +0 -1
- package/lib/components/ui/center/index.web.d.ts +0 -4
- package/lib/components/ui/center/index.web.js +0 -8
- package/lib/components/ui/center/index.web.js.map +0 -1
- package/lib/components/ui/center/styles.d.ts +0 -1
- package/lib/components/ui/center/styles.js +0 -7
- package/lib/components/ui/center/styles.js.map +0 -1
- package/lib/components/ui/checkbox/index.d.ts +0 -115
- package/lib/components/ui/checkbox/index.js +0 -127
- package/lib/components/ui/checkbox/index.js.map +0 -1
- package/lib/components/ui/checkbox/index.web.d.ts +0 -265
- package/lib/components/ui/checkbox/index.web.js +0 -77
- package/lib/components/ui/checkbox/index.web.js.map +0 -1
- package/lib/components/ui/divider/index.d.ts +0 -54
- package/lib/components/ui/divider/index.js +0 -22
- package/lib/components/ui/divider/index.js.map +0 -1
- package/lib/components/ui/divider/index.web.d.ts +0 -53
- package/lib/components/ui/divider/index.web.js +0 -21
- package/lib/components/ui/divider/index.web.js.map +0 -1
- package/lib/components/ui/drawer/index.d.ts +0 -203
- package/lib/components/ui/drawer/index.js +0 -198
- package/lib/components/ui/drawer/index.js.map +0 -1
- package/lib/components/ui/drawer/index.web.d.ts +0 -174
- package/lib/components/ui/drawer/index.web.js +0 -65
- package/lib/components/ui/drawer/index.web.js.map +0 -1
- package/lib/components/ui/fab/index.d.ts +0 -520
- package/lib/components/ui/fab/index.js +0 -142
- package/lib/components/ui/fab/index.js.map +0 -1
- package/lib/components/ui/fab/index.web.d.ts +0 -520
- package/lib/components/ui/fab/index.web.js +0 -146
- package/lib/components/ui/fab/index.web.js.map +0 -1
- package/lib/components/ui/flat-list/index.d.ts +0 -1
- package/lib/components/ui/flat-list/index.js +0 -3
- package/lib/components/ui/flat-list/index.js.map +0 -1
- package/lib/components/ui/flat-list/index.web.d.ts +0 -21
- package/lib/components/ui/flat-list/index.web.js +0 -41
- package/lib/components/ui/flat-list/index.web.js.map +0 -1
- package/lib/components/ui/form-control/index.d.ts +0 -2072
- package/lib/components/ui/form-control/index.js +0 -290
- package/lib/components/ui/form-control/index.js.map +0 -1
- package/lib/components/ui/form-control/index.web.d.ts +0 -2071
- package/lib/components/ui/form-control/index.web.js +0 -290
- package/lib/components/ui/form-control/index.web.js.map +0 -1
- package/lib/components/ui/gluestack-ui-provider/config.d.ts +0 -4
- package/lib/components/ui/gluestack-ui-provider/config.js +0 -287
- package/lib/components/ui/gluestack-ui-provider/config.js.map +0 -1
- package/lib/components/ui/gluestack-ui-provider/index.d.ts +0 -8
- package/lib/components/ui/gluestack-ui-provider/index.js +0 -22
- package/lib/components/ui/gluestack-ui-provider/index.js.map +0 -1
- package/lib/components/ui/gluestack-ui-provider/index.web.d.ts +0 -7
- package/lib/components/ui/gluestack-ui-provider/index.web.js +0 -69
- package/lib/components/ui/gluestack-ui-provider/index.web.js.map +0 -1
- package/lib/components/ui/gluestack-ui-provider/script.d.ts +0 -1
- package/lib/components/ui/gluestack-ui-provider/script.js +0 -17
- package/lib/components/ui/gluestack-ui-provider/script.js.map +0 -1
- package/lib/components/ui/gluestack-ui-provider/types.d.ts +0 -1
- package/lib/components/ui/gluestack-ui-provider/types.js +0 -2
- package/lib/components/ui/gluestack-ui-provider/types.js.map +0 -1
- package/lib/components/ui/grid/index.d.ts +0 -27
- package/lib/components/ui/grid/index.js +0 -175
- package/lib/components/ui/grid/index.js.map +0 -1
- package/lib/components/ui/grid/index.web.d.ts +0 -23
- package/lib/components/ui/grid/index.web.js +0 -20
- package/lib/components/ui/grid/index.web.js.map +0 -1
- package/lib/components/ui/grid/styles.d.ts +0 -2
- package/lib/components/ui/grid/styles.js +0 -11
- package/lib/components/ui/grid/styles.js.map +0 -1
- package/lib/components/ui/heading/index.d.ts +0 -335
- package/lib/components/ui/heading/index.js +0 -135
- package/lib/components/ui/heading/index.js.map +0 -1
- package/lib/components/ui/heading/index.web.d.ts +0 -335
- package/lib/components/ui/heading/index.web.js +0 -113
- package/lib/components/ui/heading/index.web.js.map +0 -1
- package/lib/components/ui/heading/styles.d.ts +0 -330
- package/lib/components/ui/heading/styles.js +0 -43
- package/lib/components/ui/heading/styles.js.map +0 -1
- package/lib/components/ui/hstack/index.d.ts +0 -150
- package/lib/components/ui/hstack/index.js +0 -9
- package/lib/components/ui/hstack/index.js.map +0 -1
- package/lib/components/ui/hstack/index.web.d.ts +0 -148
- package/lib/components/ui/hstack/index.web.js +0 -8
- package/lib/components/ui/hstack/index.web.js.map +0 -1
- package/lib/components/ui/hstack/styles.d.ts +0 -145
- package/lib/components/ui/hstack/styles.js +0 -24
- package/lib/components/ui/hstack/styles.js.map +0 -1
- package/lib/components/ui/icon/index.d.ts +0 -364
- package/lib/components/ui/icon/index.js +0 -565
- package/lib/components/ui/icon/index.js.map +0 -1
- package/lib/components/ui/icon/index.web.d.ts +0 -489
- package/lib/components/ui/icon/index.web.js +0 -555
- package/lib/components/ui/icon/index.web.js.map +0 -1
- package/lib/components/ui/image/index.d.ts +0 -132
- package/lib/components/ui/image/index.js +0 -33
- package/lib/components/ui/image/index.js.map +0 -1
- package/lib/components/ui/image/index.web.d.ts +0 -142
- package/lib/components/ui/image/index.web.js +0 -29
- package/lib/components/ui/image/index.web.js.map +0 -1
- package/lib/components/ui/image-background/index.d.ts +0 -3
- package/lib/components/ui/image-background/index.js +0 -11
- package/lib/components/ui/image-background/index.js.map +0 -1
- package/lib/components/ui/image-background/index.web.d.ts +0 -8
- package/lib/components/ui/image-background/index.web.js +0 -23
- package/lib/components/ui/image-background/index.web.js.map +0 -1
- package/lib/components/ui/index.d.ts +0 -54
- package/lib/components/ui/index.js +0 -55
- package/lib/components/ui/index.js.map +0 -1
- package/lib/components/ui/input/index.d.ts +0 -262
- package/lib/components/ui/input/index.js +0 -121
- package/lib/components/ui/input/index.js.map +0 -1
- package/lib/components/ui/input/index.web.d.ts +0 -163
- package/lib/components/ui/input/index.web.js +0 -50
- package/lib/components/ui/input/index.web.js.map +0 -1
- package/lib/components/ui/input-accessory-view/index.d.ts +0 -1
- package/lib/components/ui/input-accessory-view/index.js +0 -3
- package/lib/components/ui/input-accessory-view/index.js.map +0 -1
- package/lib/components/ui/input-accessory-view/index.web.d.ts +0 -9
- package/lib/components/ui/input-accessory-view/index.web.js +0 -16
- package/lib/components/ui/input-accessory-view/index.web.js.map +0 -1
- package/lib/components/ui/keyboard-avoiding-view/index.d.ts +0 -1
- package/lib/components/ui/keyboard-avoiding-view/index.js +0 -3
- package/lib/components/ui/keyboard-avoiding-view/index.js.map +0 -1
- package/lib/components/ui/keyboard-avoiding-view/index.web.d.ts +0 -9
- package/lib/components/ui/keyboard-avoiding-view/index.web.js +0 -8
- package/lib/components/ui/keyboard-avoiding-view/index.web.js.map +0 -1
- package/lib/components/ui/link/index.d.ts +0 -369
- package/lib/components/ui/link/index.js +0 -69
- package/lib/components/ui/link/index.js.map +0 -1
- package/lib/components/ui/link/index.web.d.ts +0 -365
- package/lib/components/ui/link/index.web.js +0 -70
- package/lib/components/ui/link/index.web.js.map +0 -1
- package/lib/components/ui/menu/index.d.ts +0 -376
- package/lib/components/ui/menu/index.js +0 -120
- package/lib/components/ui/menu/index.js.map +0 -1
- package/lib/components/ui/menu/index.web.d.ts +0 -142
- package/lib/components/ui/menu/index.web.js +0 -83
- package/lib/components/ui/menu/index.web.js.map +0 -1
- package/lib/components/ui/modal/index.d.ts +0 -142
- package/lib/components/ui/modal/index.js +0 -137
- package/lib/components/ui/modal/index.js.map +0 -1
- package/lib/components/ui/modal/index.web.d.ts +0 -111
- package/lib/components/ui/modal/index.web.js +0 -58
- package/lib/components/ui/modal/index.web.js.map +0 -1
- package/lib/components/ui/popover/index.d.ts +0 -306
- package/lib/components/ui/popover/index.js +0 -172
- package/lib/components/ui/popover/index.js.map +0 -1
- package/lib/components/ui/popover/index.web.d.ts +0 -305
- package/lib/components/ui/popover/index.web.js +0 -184
- package/lib/components/ui/popover/index.web.js.map +0 -1
- package/lib/components/ui/portal/index.d.ts +0 -2
- package/lib/components/ui/portal/index.js +0 -9
- package/lib/components/ui/portal/index.js.map +0 -1
- package/lib/components/ui/portal/index.web.d.ts +0 -9
- package/lib/components/ui/portal/index.web.js +0 -16
- package/lib/components/ui/portal/index.web.js.map +0 -1
- package/lib/components/ui/pressable/index.d.ts +0 -13
- package/lib/components/ui/pressable/index.js +0 -20
- package/lib/components/ui/pressable/index.js.map +0 -1
- package/lib/components/ui/pressable/index.web.d.ts +0 -8
- package/lib/components/ui/pressable/index.web.js +0 -44
- package/lib/components/ui/pressable/index.web.js.map +0 -1
- package/lib/components/ui/progress/index.d.ts +0 -174
- package/lib/components/ui/progress/index.js +0 -127
- package/lib/components/ui/progress/index.js.map +0 -1
- package/lib/components/ui/progress/index.web.d.ts +0 -237
- package/lib/components/ui/progress/index.web.js +0 -73
- package/lib/components/ui/progress/index.web.js.map +0 -1
- package/lib/components/ui/radio/index.d.ts +0 -160
- package/lib/components/ui/radio/index.js +0 -122
- package/lib/components/ui/radio/index.js.map +0 -1
- package/lib/components/ui/radio/index.web.d.ts +0 -224
- package/lib/components/ui/radio/index.web.js +0 -69
- package/lib/components/ui/radio/index.web.js.map +0 -1
- package/lib/components/ui/refresh-control/index.d.ts +0 -1
- package/lib/components/ui/refresh-control/index.js +0 -3
- package/lib/components/ui/refresh-control/index.js.map +0 -1
- package/lib/components/ui/refresh-control/index.web.d.ts +0 -14
- package/lib/components/ui/refresh-control/index.web.js +0 -69
- package/lib/components/ui/refresh-control/index.web.js.map +0 -1
- package/lib/components/ui/safe-area-view/index.d.ts +0 -6
- package/lib/components/ui/safe-area-view/index.js +0 -9
- package/lib/components/ui/safe-area-view/index.js.map +0 -1
- package/lib/components/ui/safe-area-view/index.web.d.ts +0 -6
- package/lib/components/ui/safe-area-view/index.web.js +0 -10
- package/lib/components/ui/safe-area-view/index.web.js.map +0 -1
- package/lib/components/ui/safe-area-view/styles.d.ts +0 -1
- package/lib/components/ui/safe-area-view/styles.js +0 -9
- package/lib/components/ui/safe-area-view/styles.js.map +0 -1
- package/lib/components/ui/scroll-view/index.d.ts +0 -1
- package/lib/components/ui/scroll-view/index.js +0 -3
- package/lib/components/ui/scroll-view/index.js.map +0 -1
- package/lib/components/ui/scroll-view/index.web.d.ts +0 -44
- package/lib/components/ui/scroll-view/index.web.js +0 -41
- package/lib/components/ui/scroll-view/index.web.js.map +0 -1
- package/lib/components/ui/section-list/index.d.ts +0 -1
- package/lib/components/ui/section-list/index.js +0 -3
- package/lib/components/ui/section-list/index.js.map +0 -1
- package/lib/components/ui/section-list/index.web.d.ts +0 -26
- package/lib/components/ui/section-list/index.web.js +0 -35
- package/lib/components/ui/section-list/index.web.js.map +0 -1
- package/lib/components/ui/select/index.d.ts +0 -1690
- package/lib/components/ui/select/index.js +0 -155
- package/lib/components/ui/select/index.js.map +0 -1
- package/lib/components/ui/select/index.web.d.ts +0 -162
- package/lib/components/ui/select/index.web.js +0 -51
- package/lib/components/ui/select/index.web.js.map +0 -1
- package/lib/components/ui/select/select-actionsheet.d.ts +0 -896
- package/lib/components/ui/select/select-actionsheet.js +0 -275
- package/lib/components/ui/select/select-actionsheet.js.map +0 -1
- package/lib/components/ui/skeleton/index.d.ts +0 -268
- package/lib/components/ui/skeleton/index.js +0 -63
- package/lib/components/ui/skeleton/index.js.map +0 -1
- package/lib/components/ui/skeleton/index.web.d.ts +0 -267
- package/lib/components/ui/skeleton/index.web.js +0 -37
- package/lib/components/ui/skeleton/index.web.js.map +0 -1
- package/lib/components/ui/skeleton/styles.d.ts +0 -257
- package/lib/components/ui/skeleton/styles.js +0 -35
- package/lib/components/ui/skeleton/styles.js.map +0 -1
- package/lib/components/ui/slider/index.d.ts +0 -211
- package/lib/components/ui/slider/index.js +0 -180
- package/lib/components/ui/slider/index.js.map +0 -1
- package/lib/components/ui/slider/index.web.d.ts +0 -223
- package/lib/components/ui/slider/index.web.js +0 -189
- package/lib/components/ui/slider/index.web.js.map +0 -1
- package/lib/components/ui/spinner/index.d.ts +0 -4
- package/lib/components/ui/spinner/index.js +0 -15
- package/lib/components/ui/spinner/index.js.map +0 -1
- package/lib/components/ui/spinner/index.web.d.ts +0 -176
- package/lib/components/ui/spinner/index.web.js +0 -55
- package/lib/components/ui/spinner/index.web.js.map +0 -1
- package/lib/components/ui/status-bar/index.d.ts +0 -1
- package/lib/components/ui/status-bar/index.js +0 -3
- package/lib/components/ui/status-bar/index.js.map +0 -1
- package/lib/components/ui/status-bar/index.web.d.ts +0 -14
- package/lib/components/ui/status-bar/index.web.js +0 -7
- package/lib/components/ui/status-bar/index.web.js.map +0 -1
- package/lib/components/ui/switch/index.d.ts +0 -72
- package/lib/components/ui/switch/index.js +0 -25
- package/lib/components/ui/switch/index.js.map +0 -1
- package/lib/components/ui/switch/index.web.d.ts +0 -71
- package/lib/components/ui/switch/index.web.js +0 -27
- package/lib/components/ui/switch/index.web.js.map +0 -1
- package/lib/components/ui/table/index.d.ts +0 -17
- package/lib/components/ui/table/index.js +0 -96
- package/lib/components/ui/table/index.js.map +0 -1
- package/lib/components/ui/table/index.web.d.ts +0 -10
- package/lib/components/ui/table/index.web.js +0 -60
- package/lib/components/ui/table/index.web.js.map +0 -1
- package/lib/components/ui/table/styles.d.ts +0 -75
- package/lib/components/ui/table/styles.js +0 -36
- package/lib/components/ui/table/styles.js.map +0 -1
- package/lib/components/ui/tabs/index.web.d.ts +0 -351
- package/lib/components/ui/tabs/index.web.js +0 -120
- package/lib/components/ui/tabs/index.web.js.map +0 -1
- package/lib/components/ui/text/index.d.ts +0 -358
- package/lib/components/ui/text/index.js +0 -19
- package/lib/components/ui/text/index.js.map +0 -1
- package/lib/components/ui/text/index.web.d.ts +0 -6
- package/lib/components/ui/text/index.web.js +0 -18
- package/lib/components/ui/text/index.web.js.map +0 -1
- package/lib/components/ui/text/styles.d.ts +0 -352
- package/lib/components/ui/text/styles.js +0 -45
- package/lib/components/ui/text/styles.js.map +0 -1
- package/lib/components/ui/textarea/index.d.ts +0 -129
- package/lib/components/ui/textarea/index.js +0 -52
- package/lib/components/ui/textarea/index.js.map +0 -1
- package/lib/components/ui/textarea/index.web.d.ts +0 -162
- package/lib/components/ui/textarea/index.web.js +0 -50
- package/lib/components/ui/textarea/index.web.js.map +0 -1
- package/lib/components/ui/toast/index.d.ts +0 -527
- package/lib/components/ui/toast/index.js +0 -165
- package/lib/components/ui/toast/index.js.map +0 -1
- package/lib/components/ui/toast/index.web.d.ts +0 -225
- package/lib/components/ui/toast/index.web.js +0 -80
- package/lib/components/ui/toast/index.web.js.map +0 -1
- package/lib/components/ui/tooltip/index.d.ts +0 -391
- package/lib/components/ui/tooltip/index.js +0 -75
- package/lib/components/ui/tooltip/index.js.map +0 -1
- package/lib/components/ui/tooltip/index.web.d.ts +0 -86
- package/lib/components/ui/tooltip/index.web.js +0 -110
- package/lib/components/ui/tooltip/index.web.js.map +0 -1
- package/lib/components/ui/utils/use-break-point-value.d.ts +0 -14
- package/lib/components/ui/utils/use-break-point-value.js +0 -54
- package/lib/components/ui/utils/use-break-point-value.js.map +0 -1
- package/lib/components/ui/view/index.d.ts +0 -1
- package/lib/components/ui/view/index.js +0 -3
- package/lib/components/ui/view/index.js.map +0 -1
- package/lib/components/ui/view/index.web.d.ts +0 -2
- package/lib/components/ui/view/index.web.js +0 -7
- package/lib/components/ui/view/index.web.js.map +0 -1
- package/lib/components/ui/virtualized-list/index.d.ts +0 -1
- package/lib/components/ui/virtualized-list/index.js +0 -3
- package/lib/components/ui/virtualized-list/index.js.map +0 -1
- package/lib/components/ui/virtualized-list/index.web.d.ts +0 -19
- package/lib/components/ui/virtualized-list/index.web.js +0 -30
- package/lib/components/ui/virtualized-list/index.web.js.map +0 -1
- package/lib/components/ui/vstack/index.d.ts +0 -149
- package/lib/components/ui/vstack/index.js +0 -9
- package/lib/components/ui/vstack/index.js.map +0 -1
- package/lib/components/ui/vstack/index.web.d.ts +0 -6
- package/lib/components/ui/vstack/index.web.js +0 -8
- package/lib/components/ui/vstack/index.web.js.map +0 -1
- package/lib/components/ui/vstack/styles.d.ts +0 -145
- package/lib/components/ui/vstack/styles.js +0 -24
- package/lib/components/ui/vstack/styles.js.map +0 -1
- package/lib/global.css +0 -3
- package/lib/gluestack-ui-base-config.d.ts +0 -8
- package/lib/gluestack-ui-base-config.js +0 -12
- package/lib/gluestack-ui-base-config.js.map +0 -1
- package/lib/nativewind-env.d.ts +0 -1
- package/lib/tailwind-base-config.d.ts +0 -194
- package/lib/tailwind-base-config.js +0 -197
- package/lib/tailwind-base-config.js.map +0 -1
- package/lib/tailwind.config.d.ts +0 -1
- package/lib/tailwind.config.js +0 -197
- package/lib/tailwind.config.js.map +0 -1
- package/src/components/ui/IconSymbol.ios.tsx +0 -33
- package/src/components/ui/IconSymbol.tsx +0 -40
- package/src/components/ui/TabBarBackground.ios.tsx +0 -23
- package/src/components/ui/TabBarBackground.tsx +0 -6
- package/src/components/ui/accordion/index.tsx +0 -304
- package/src/components/ui/accordion/index.web.tsx +0 -294
- package/src/components/ui/actionsheet/index.tsx +0 -499
- package/src/components/ui/actionsheet/index.web.tsx +0 -555
- package/src/components/ui/alert/index.tsx +0 -205
- package/src/components/ui/alert/index.web.tsx +0 -71
- package/src/components/ui/alert-dialog/index.tsx +0 -260
- package/src/components/ui/alert-dialog/index.web.tsx +0 -241
- package/src/components/ui/avatar/index.tsx +0 -162
- package/src/components/ui/avatar/index.web.tsx +0 -150
- package/src/components/ui/badge/index.tsx +0 -188
- package/src/components/ui/badge/index.web.tsx +0 -188
- package/src/components/ui/box/index.tsx +0 -14
- package/src/components/ui/box/index.web.tsx +0 -13
- package/src/components/ui/box/styles.tsx +0 -10
- package/src/components/ui/button/index.tsx +0 -353
- package/src/components/ui/button/index.web.tsx +0 -86
- package/src/components/ui/card/index.tsx +0 -16
- package/src/components/ui/card/index.web.tsx +0 -15
- package/src/components/ui/card/styles.tsx +0 -20
- package/src/components/ui/center/index.tsx +0 -14
- package/src/components/ui/center/index.web.tsx +0 -14
- package/src/components/ui/center/styles.tsx +0 -8
- package/src/components/ui/checkbox/index.tsx +0 -192
- package/src/components/ui/checkbox/index.web.tsx +0 -151
- package/src/components/ui/divider/index.tsx +0 -38
- package/src/components/ui/divider/index.web.tsx +0 -37
- package/src/components/ui/drawer/index.tsx +0 -311
- package/src/components/ui/drawer/index.web.tsx +0 -144
- package/src/components/ui/fab/index.tsx +0 -190
- package/src/components/ui/fab/index.web.tsx +0 -201
- package/src/components/ui/flat-list/index.tsx +0 -2
- package/src/components/ui/flat-list/index.web.tsx +0 -89
- package/src/components/ui/form-control/index.tsx +0 -432
- package/src/components/ui/form-control/index.web.tsx +0 -451
- package/src/components/ui/gluestack-ui-provider/config.ts +0 -309
- package/src/components/ui/gluestack-ui-provider/index.tsx +0 -38
- package/src/components/ui/gluestack-ui-provider/index.web.tsx +0 -88
- package/src/components/ui/gluestack-ui-provider/script.ts +0 -17
- package/src/components/ui/gluestack-ui-provider/types.ts +0 -1
- package/src/components/ui/grid/index.tsx +0 -284
- package/src/components/ui/grid/index.web.tsx +0 -61
- package/src/components/ui/grid/styles.tsx +0 -13
- package/src/components/ui/heading/index.tsx +0 -193
- package/src/components/ui/heading/index.web.tsx +0 -177
- package/src/components/ui/heading/styles.tsx +0 -43
- package/src/components/ui/hstack/index.tsx +0 -17
- package/src/components/ui/hstack/index.web.tsx +0 -15
- package/src/components/ui/hstack/styles.tsx +0 -25
- package/src/components/ui/icon/index.tsx +0 -1202
- package/src/components/ui/icon/index.web.tsx +0 -1190
- package/src/components/ui/image/index.tsx +0 -48
- package/src/components/ui/image/index.web.tsx +0 -43
- package/src/components/ui/image-background/index.tsx +0 -21
- package/src/components/ui/image-background/index.web.tsx +0 -43
- package/src/components/ui/index.ts +0 -54
- package/src/components/ui/input/index.tsx +0 -191
- package/src/components/ui/input/index.web.tsx +0 -80
- package/src/components/ui/input-accessory-view/index.tsx +0 -2
- package/src/components/ui/input-accessory-view/index.web.tsx +0 -31
- package/src/components/ui/keyboard-avoiding-view/index.tsx +0 -2
- package/src/components/ui/keyboard-avoiding-view/index.web.tsx +0 -23
- package/src/components/ui/link/index.tsx +0 -92
- package/src/components/ui/link/index.web.tsx +0 -103
- package/src/components/ui/menu/index.tsx +0 -179
- package/src/components/ui/menu/index.web.tsx +0 -159
- package/src/components/ui/modal/index.tsx +0 -244
- package/src/components/ui/modal/index.web.tsx +0 -135
- package/src/components/ui/popover/index.tsx +0 -309
- package/src/components/ui/popover/index.web.tsx +0 -326
- package/src/components/ui/portal/index.tsx +0 -12
- package/src/components/ui/portal/index.web.tsx +0 -34
- package/src/components/ui/pressable/index.tsx +0 -34
- package/src/components/ui/pressable/index.web.tsx +0 -73
- package/src/components/ui/progress/index.tsx +0 -160
- package/src/components/ui/progress/index.web.tsx +0 -123
- package/src/components/ui/radio/index.tsx +0 -178
- package/src/components/ui/radio/index.web.tsx +0 -130
- package/src/components/ui/refresh-control/index.tsx +0 -2
- package/src/components/ui/refresh-control/index.web.tsx +0 -104
- package/src/components/ui/safe-area-view/index.tsx +0 -22
- package/src/components/ui/safe-area-view/index.web.tsx +0 -24
- package/src/components/ui/safe-area-view/styles.tsx +0 -10
- package/src/components/ui/scroll-view/index.tsx +0 -2
- package/src/components/ui/scroll-view/index.web.tsx +0 -142
- package/src/components/ui/section-list/index.tsx +0 -2
- package/src/components/ui/section-list/index.web.tsx +0 -93
- package/src/components/ui/select/index.tsx +0 -251
- package/src/components/ui/select/index.web.tsx +0 -83
- package/src/components/ui/select/select-actionsheet.tsx +0 -503
- package/src/components/ui/skeleton/index.tsx +0 -113
- package/src/components/ui/skeleton/index.web.tsx +0 -92
- package/src/components/ui/skeleton/styles.tsx +0 -35
- package/src/components/ui/slider/index.tsx +0 -239
- package/src/components/ui/slider/index.web.tsx +0 -283
- package/src/components/ui/spinner/index.tsx +0 -31
- package/src/components/ui/spinner/index.web.tsx +0 -81
- package/src/components/ui/status-bar/index.tsx +0 -2
- package/src/components/ui/status-bar/index.web.tsx +0 -20
- package/src/components/ui/switch/index.tsx +0 -33
- package/src/components/ui/switch/index.web.tsx +0 -44
- package/src/components/ui/table/index.tsx +0 -171
- package/src/components/ui/table/index.web.tsx +0 -95
- package/src/components/ui/table/styles.tsx +0 -44
- package/src/components/ui/tabs/index.web.tsx +0 -205
- package/src/components/ui/text/index.tsx +0 -53
- package/src/components/ui/text/index.web.tsx +0 -45
- package/src/components/ui/text/styles.tsx +0 -47
- package/src/components/ui/textarea/index.tsx +0 -83
- package/src/components/ui/textarea/index.web.tsx +0 -86
- package/src/components/ui/toast/index.tsx +0 -218
- package/src/components/ui/toast/index.web.tsx +0 -132
- package/src/components/ui/tooltip/index.tsx +0 -104
- package/src/components/ui/tooltip/index.web.tsx +0 -155
- package/src/components/ui/utils/use-break-point-value.ts +0 -79
- package/src/components/ui/view/index.tsx +0 -2
- package/src/components/ui/view/index.web.tsx +0 -15
- package/src/components/ui/virtualized-list/index.tsx +0 -2
- package/src/components/ui/virtualized-list/index.web.tsx +0 -84
- package/src/components/ui/vstack/index.tsx +0 -17
- package/src/components/ui/vstack/index.web.tsx +0 -16
- package/src/components/ui/vstack/styles.tsx +0 -25
- package/src/global.css +0 -3
- package/src/gluestack-ui-base-config.js +0 -12
- package/src/gluestack-ui.config.json +0 -10
- package/src/nativewind-env.d.ts +0 -1
- package/src/tailwind-base-config.js +0 -197
- package/src/tailwind.config.js +0 -198
package/CHANGELOG.md
CHANGED
|
@@ -3,247 +3,19 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [12.
|
|
6
|
+
## [12.2.1-alpha.3](https://github.com/CDEBase/admin-layout/compare/v12.2.1-alpha.2...v12.2.1-alpha.3) (2025-11-25)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
9
9
|
|
|
10
|
-
## [12.
|
|
10
|
+
## [12.2.1-alpha.0](https://github.com/CDEBase/admin-layout/compare/v11.2.1-alpha.1...v12.2.1-alpha.0) (2025-11-24)
|
|
11
11
|
|
|
12
12
|
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
13
13
|
|
|
14
|
-
## [
|
|
14
|
+
## [11.2.1-alpha.1](https://github.com/CDEBase/admin-layout/compare/v11.2.1-alpha.0...v11.2.1-alpha.1) (2025-11-24)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
17
17
|
|
|
18
|
-
## [
|
|
19
|
-
|
|
20
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
21
|
-
|
|
22
|
-
## [12.0.16-alpha.87](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.86...v12.0.16-alpha.87) (2025-11-08)
|
|
23
|
-
|
|
24
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
25
|
-
|
|
26
|
-
## [12.0.16-alpha.79](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.78...v12.0.16-alpha.79) (2025-10-29)
|
|
27
|
-
|
|
28
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
29
|
-
|
|
30
|
-
## [12.0.16-alpha.78](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.77...v12.0.16-alpha.78) (2025-10-29)
|
|
31
|
-
|
|
32
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
33
|
-
|
|
34
|
-
## [12.0.16-alpha.76](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.75...v12.0.16-alpha.76) (2025-10-29)
|
|
35
|
-
|
|
36
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
37
|
-
|
|
38
|
-
## [12.0.16-alpha.75](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.74...v12.0.16-alpha.75) (2025-10-29)
|
|
39
|
-
|
|
40
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
41
|
-
|
|
42
|
-
## [12.0.16-alpha.74](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.73...v12.0.16-alpha.74) (2025-10-27)
|
|
43
|
-
|
|
44
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
45
|
-
|
|
46
|
-
## [12.0.16-alpha.72](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.71...v12.0.16-alpha.72) (2025-10-27)
|
|
47
|
-
|
|
48
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
49
|
-
|
|
50
|
-
## [12.0.16-alpha.70](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.69...v12.0.16-alpha.70) (2025-10-24)
|
|
51
|
-
|
|
52
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
53
|
-
|
|
54
|
-
## [12.0.16-alpha.67](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.66...v12.0.16-alpha.67) (2025-10-22)
|
|
55
|
-
|
|
56
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
57
|
-
|
|
58
|
-
## [12.0.16-alpha.64](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.63...v12.0.16-alpha.64) (2025-10-19)
|
|
59
|
-
|
|
60
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
61
|
-
|
|
62
|
-
## [12.0.16-alpha.62](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.61...v12.0.16-alpha.62) (2025-10-17)
|
|
63
|
-
|
|
64
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
65
|
-
|
|
66
|
-
## [12.0.16-alpha.59](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.58...v12.0.16-alpha.59) (2025-10-16)
|
|
67
|
-
|
|
68
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
69
|
-
|
|
70
|
-
## [12.0.16-alpha.58](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.57...v12.0.16-alpha.58) (2025-10-16)
|
|
71
|
-
|
|
72
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
73
|
-
|
|
74
|
-
## [12.0.16-alpha.56](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.55...v12.0.16-alpha.56) (2025-10-15)
|
|
75
|
-
|
|
76
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
77
|
-
|
|
78
|
-
## [12.0.16-alpha.55](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.54...v12.0.16-alpha.55) (2025-10-15)
|
|
79
|
-
|
|
80
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
81
|
-
|
|
82
|
-
## [12.0.16-alpha.54](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.53...v12.0.16-alpha.54) (2025-10-14)
|
|
83
|
-
|
|
84
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
85
|
-
|
|
86
|
-
## [12.0.16-alpha.53](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.52...v12.0.16-alpha.53) (2025-10-13)
|
|
87
|
-
|
|
88
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
89
|
-
|
|
90
|
-
## [12.0.16-alpha.51](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.50...v12.0.16-alpha.51) (2025-10-10)
|
|
91
|
-
|
|
92
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
93
|
-
|
|
94
|
-
## [12.0.16-alpha.50](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.49...v12.0.16-alpha.50) (2025-10-10)
|
|
95
|
-
|
|
96
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
97
|
-
|
|
98
|
-
## [12.0.16-alpha.48](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.47...v12.0.16-alpha.48) (2025-10-09)
|
|
99
|
-
|
|
100
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
101
|
-
|
|
102
|
-
## [12.0.16-alpha.46](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.45...v12.0.16-alpha.46) (2025-10-08)
|
|
103
|
-
|
|
104
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
105
|
-
|
|
106
|
-
## [12.0.16-alpha.45](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.44...v12.0.16-alpha.45) (2025-10-07)
|
|
107
|
-
|
|
108
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
109
|
-
|
|
110
|
-
## [12.0.16-alpha.44](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.43...v12.0.16-alpha.44) (2025-10-06)
|
|
111
|
-
|
|
112
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
113
|
-
|
|
114
|
-
## [12.0.16-alpha.43](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.42...v12.0.16-alpha.43) (2025-10-04)
|
|
115
|
-
|
|
116
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
117
|
-
|
|
118
|
-
## [12.0.16-alpha.42](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.41...v12.0.16-alpha.42) (2025-10-03)
|
|
119
|
-
|
|
120
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
121
|
-
|
|
122
|
-
## [12.0.16-alpha.41](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.40...v12.0.16-alpha.41) (2025-10-02)
|
|
123
|
-
|
|
124
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
125
|
-
|
|
126
|
-
## [12.0.16-alpha.40](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.39...v12.0.16-alpha.40) (2025-10-02)
|
|
127
|
-
|
|
128
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
129
|
-
|
|
130
|
-
## [12.0.16-alpha.38](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.37...v12.0.16-alpha.38) (2025-10-02)
|
|
131
|
-
|
|
132
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
133
|
-
|
|
134
|
-
## [12.0.16-alpha.37](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.36...v12.0.16-alpha.37) (2025-10-01)
|
|
135
|
-
|
|
136
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
137
|
-
|
|
138
|
-
## [12.0.16-alpha.36](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.35...v12.0.16-alpha.36) (2025-10-01)
|
|
139
|
-
|
|
140
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
141
|
-
|
|
142
|
-
## [12.0.16-alpha.31](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.30...v12.0.16-alpha.31) (2025-09-28)
|
|
143
|
-
|
|
144
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
145
|
-
|
|
146
|
-
## [12.0.16-alpha.28](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.27...v12.0.16-alpha.28) (2025-09-28)
|
|
147
|
-
|
|
148
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
149
|
-
|
|
150
|
-
## [12.0.16-alpha.25](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.24...v12.0.16-alpha.25) (2025-09-24)
|
|
151
|
-
|
|
152
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
153
|
-
|
|
154
|
-
## [12.0.16-alpha.24](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.23...v12.0.16-alpha.24) (2025-09-21)
|
|
155
|
-
|
|
156
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
157
|
-
|
|
158
|
-
## [12.0.16-alpha.23](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.22...v12.0.16-alpha.23) (2025-09-12)
|
|
159
|
-
|
|
160
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
161
|
-
|
|
162
|
-
## [12.0.16-alpha.16](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.15...v12.0.16-alpha.16) (2025-08-13)
|
|
163
|
-
|
|
164
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
165
|
-
|
|
166
|
-
## [12.0.16-alpha.14](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.13...v12.0.16-alpha.14) (2025-08-11)
|
|
167
|
-
|
|
168
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
169
|
-
|
|
170
|
-
## [12.0.16-alpha.7](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.6...v12.0.16-alpha.7) (2025-08-04)
|
|
171
|
-
|
|
172
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
173
|
-
|
|
174
|
-
## [12.0.16-alpha.2](https://github.com/CDEBase/admin-layout/compare/v12.0.16-alpha.1...v12.0.16-alpha.2) (2025-07-31)
|
|
175
|
-
|
|
176
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
177
|
-
|
|
178
|
-
## [12.0.16-alpha.0](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.29...v12.0.16-alpha.0) (2025-07-30)
|
|
179
|
-
|
|
180
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
181
|
-
|
|
182
|
-
## [10.1.1-alpha.28](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.27...v10.1.1-alpha.28) (2025-07-22)
|
|
183
|
-
|
|
184
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
185
|
-
|
|
186
|
-
## [10.1.1-alpha.27](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.26...v10.1.1-alpha.27) (2025-07-21)
|
|
187
|
-
|
|
188
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
189
|
-
|
|
190
|
-
## [10.1.1-alpha.25](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.24...v10.1.1-alpha.25) (2025-07-18)
|
|
191
|
-
|
|
192
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
193
|
-
|
|
194
|
-
## [10.1.1-alpha.24](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.23...v10.1.1-alpha.24) (2025-07-18)
|
|
195
|
-
|
|
196
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
197
|
-
|
|
198
|
-
## [10.1.1-alpha.23](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.22...v10.1.1-alpha.23) (2025-07-18)
|
|
199
|
-
|
|
200
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
201
|
-
|
|
202
|
-
## [10.1.1-alpha.21](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.20...v10.1.1-alpha.21) (2025-07-04)
|
|
203
|
-
|
|
204
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
205
|
-
|
|
206
|
-
## [10.1.1-alpha.14](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.13...v10.1.1-alpha.14) (2025-06-16)
|
|
207
|
-
|
|
208
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
209
|
-
|
|
210
|
-
## [10.1.1-alpha.12](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.11...v10.1.1-alpha.12) (2025-06-16)
|
|
211
|
-
|
|
212
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
213
|
-
|
|
214
|
-
## [10.1.1-alpha.11](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.10...v10.1.1-alpha.11) (2025-06-13)
|
|
215
|
-
|
|
216
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
217
|
-
|
|
218
|
-
## [10.1.1-alpha.10](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.9...v10.1.1-alpha.10) (2025-06-11)
|
|
219
|
-
|
|
220
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
221
|
-
|
|
222
|
-
## [10.1.1-alpha.9](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.8...v10.1.1-alpha.9) (2025-06-11)
|
|
223
|
-
|
|
224
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
225
|
-
|
|
226
|
-
## [10.1.1-alpha.8](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.7...v10.1.1-alpha.8) (2025-06-10)
|
|
227
|
-
|
|
228
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
229
|
-
|
|
230
|
-
## [10.1.1-alpha.0](https://github.com/CDEBase/admin-layout/compare/v10.0.8-alpha.2...v10.1.1-alpha.0) (2025-05-22)
|
|
231
|
-
|
|
232
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
233
|
-
|
|
234
|
-
## [10.0.8-alpha.2](https://github.com/CDEBase/admin-layout/compare/v10.0.8-alpha.1...v10.0.8-alpha.2) (2025-04-11)
|
|
235
|
-
|
|
236
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
237
|
-
|
|
238
|
-
## [10.0.8-alpha.0](https://github.com/CDEBase/admin-layout/compare/v3.0.0-alpha.50...v10.0.8-alpha.0) (2025-04-11)
|
|
239
|
-
|
|
240
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
241
|
-
|
|
242
|
-
## [10.0.6-alpha.0](https://github.com/CDEBase/admin-layout/compare/v3.0.0-alpha.50...v10.0.6-alpha.0) (2025-04-11)
|
|
243
|
-
|
|
244
|
-
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
245
|
-
|
|
246
|
-
## [10.0.4-alpha.0](https://github.com/CDEBase/admin-layout/compare/v3.0.0-alpha.50...v10.0.4-alpha.0) (2025-04-11)
|
|
18
|
+
## [11.2.1-alpha.0](https://github.com/CDEBase/admin-layout/compare/v10.0.8-alpha.2...v11.2.1-alpha.0) (2025-11-24)
|
|
247
19
|
|
|
248
20
|
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
249
21
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { isUserAuthenticated } from '@adminide-stack/user-auth0-client';
|
|
3
|
-
import { useNavigation
|
|
3
|
+
import { useNavigation } from '@react-navigation/native';
|
|
4
4
|
import { useSelector } from 'react-redux';
|
|
5
5
|
import DefaultAuthComponent from './UnAuthenticatedComponent';
|
|
6
6
|
import { withLifeCycleManaged, withInteractionsManaged, withLifeCycleInteractionsManaged, } from './with-interactions-lifecycle-managed';
|
|
@@ -8,12 +8,10 @@ export const AuthWrapper = ({ auth = false, component, unauthenticatedComponent
|
|
|
8
8
|
const user = useSelector((state) => state.user);
|
|
9
9
|
const { authenticated } = isUserAuthenticated();
|
|
10
10
|
const navigation = useNavigation();
|
|
11
|
-
const route = useRoute();
|
|
12
11
|
React.useEffect(() => {
|
|
13
|
-
if (
|
|
12
|
+
if (auth && !user?.profile)
|
|
14
13
|
navigation.navigate('MainStack.Login');
|
|
15
|
-
|
|
16
|
-
}, [auth, route.params.auth]);
|
|
14
|
+
}, [auth, user]);
|
|
17
15
|
const wrapperComponent = withLifeCycle
|
|
18
16
|
? withLifeCycleManaged(component, authority)
|
|
19
17
|
: withInteraction
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthWrapper.js","sourceRoot":"","sources":["../../src/components/AuthWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,aAAa,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,IAAI,IAAI,EAAE,SAAS,CAAC;YAClF,CAAC,CAAC,wBAAwB;gBAC1B,CAAC,CAAC,gCAAgC,CAAC,SAAS,EAAE,wBAAwB,EAAE,QAAQ,IAAI,IAAI,EAAE,SAAS,CAAC;gBACpG,CAAC,CAAC,SAAS,CAAC;IAEhB,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,OAAO;QAAE,OAAO,wBAAwB,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,oBAAC,oBAAoB,OAAG,CAAC;;QAC7G,OAAO,gBAAgB,CAAC;AACjC,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorBounday.js","sourceRoot":"","sources":["../../src/components/ErrorBounday.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuB,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"ErrorBounday.js","sourceRoot":"","sources":["../../src/components/ErrorBounday.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuB,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAQ5C,MAAM,OAAO,aAAc,SAAQ,KAAK,CAAC,SAAiD;IACxF,YAAY,KAAyB;QACnC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IAChD,CAAC;IAED,MAAM,CAAC,wBAAwB,CAAC,KAAY;QAC1C,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;IACnC,CAAC;IAED,iBAAiB,CAAC,KAAY;QAC5B,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;IACrB,CAAC;IAED,MAAM;QACJ,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;YACxB,OAAO,oBAAC,iBAAiB,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAc,GAAI,CAAC;QACjE,CAAC;QACD,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;IAC7B,CAAC;CACF"}
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import { navigationRef } from '@common-stack/client-react';
|
|
2
|
-
import { Button, ButtonText } from '
|
|
2
|
+
import { Button, ButtonText } from '@gluestack-ui/themed';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { StyleSheet } from 'react-native';
|
|
5
|
-
import { SafeAreaView, Text, View } from 'react-native';
|
|
5
|
+
import { SafeAreaView, Text, View, } from 'react-native';
|
|
6
6
|
import { useDispatch } from 'react-redux';
|
|
7
7
|
export const FallbackComponent = (props) => {
|
|
8
8
|
const dispatch = useDispatch();
|
|
9
9
|
return (React.createElement(SafeAreaView, { style: styles.container },
|
|
10
10
|
React.createElement(View, { style: styles.content },
|
|
11
11
|
React.createElement(Text, { style: styles.title }, "Oops!"),
|
|
12
|
-
React.createElement(Text, { style: styles.subtitle },
|
|
12
|
+
React.createElement(Text, { style: styles.subtitle }, 'There\'s an error'),
|
|
13
13
|
React.createElement(Text, { style: styles.error }, props?.error?.message),
|
|
14
|
-
React.createElement(Button, { style: styles.button, onPress: () => navigationRef.navigate(
|
|
14
|
+
React.createElement(Button, { style: styles.button, onPress: () => navigationRef.navigate("MainStack.Layout.Home") },
|
|
15
15
|
React.createElement(ButtonText, { style: styles.buttonText }, "Go to homepage")))));
|
|
16
16
|
};
|
|
17
17
|
const styles = StyleSheet.create({
|
|
18
18
|
container: {
|
|
19
19
|
backgroundColor: '#fafafa',
|
|
20
20
|
flex: 1,
|
|
21
|
-
justifyContent: 'center'
|
|
21
|
+
justifyContent: 'center'
|
|
22
22
|
},
|
|
23
23
|
content: {
|
|
24
|
-
marginHorizontal: 16
|
|
24
|
+
marginHorizontal: 16
|
|
25
25
|
},
|
|
26
26
|
title: {
|
|
27
27
|
fontSize: 48,
|
|
28
28
|
fontWeight: '300',
|
|
29
29
|
paddingBottom: 16,
|
|
30
|
-
color: '#000'
|
|
30
|
+
color: '#000'
|
|
31
31
|
},
|
|
32
32
|
subtitle: {
|
|
33
33
|
fontSize: 32,
|
|
34
34
|
fontWeight: '800',
|
|
35
|
-
color: '#000'
|
|
35
|
+
color: '#000'
|
|
36
36
|
},
|
|
37
37
|
error: {
|
|
38
|
-
paddingVertical: 16
|
|
38
|
+
paddingVertical: 16
|
|
39
39
|
},
|
|
40
40
|
button: {
|
|
41
41
|
backgroundColor: '#2196f3',
|
|
42
42
|
borderRadius: 50,
|
|
43
43
|
padding: 25,
|
|
44
|
-
height: 40
|
|
44
|
+
height: 40
|
|
45
45
|
},
|
|
46
46
|
buttonText: {
|
|
47
47
|
color: '#fff',
|
|
48
48
|
fontWeight: '600',
|
|
49
|
-
textAlign: 'center'
|
|
50
|
-
}
|
|
49
|
+
textAlign: 'center'
|
|
50
|
+
}
|
|
51
51
|
});
|
|
52
52
|
//# sourceMappingURL=Fallback.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fallback.js","sourceRoot":"","sources":["../../src/components/Fallback.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Fallback.js","sourceRoot":"","sources":["../../src/components/Fallback.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAC,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,KAAK,MAAM,OAAO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AE,EAAE;QACZ,UAAU,EAAE,KAAK;QACjB,KAAK,EAAE,MAAM;KACd;IACD,KAAK,EAAE;QACL,eAAe,EAAE,EAAE;KACpB;IACD,MAAM,EAAE;QACN,eAAe,EAAE,SAAS;QAC1B,YAAY,EAAE,EAAE;QAChB,OAAO,EAAE,EAAE;QACX,MAAM,EAAE,EAAE;KACX;IACD,UAAU,EAAE;QACV,KAAK,EAAE,MAAM;QACb,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,QAAQ;KACpB;CACF,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useRef, useState } from 'react';
|
|
2
2
|
import { Route } from 'react-router-native';
|
|
3
|
-
import { Box, Divider } from '
|
|
3
|
+
import { Box, Divider } from '@gluestack-ui/themed';
|
|
4
4
|
import { Header } from './Header';
|
|
5
5
|
import { Drawer } from './Drawer';
|
|
6
6
|
import defaultSettings from './defaultSettings';
|
|
@@ -10,7 +10,7 @@ const BasicLayout = (props) => {
|
|
|
10
10
|
const { route, rightContentRender, onSettingChange, settings, routeParams, showSettings, currentRoute } = props;
|
|
11
11
|
const drawerRef = useRef();
|
|
12
12
|
const [settingToggle, setSettingToggle] = useState(false);
|
|
13
|
-
return (React.createElement(Box, {
|
|
13
|
+
return (React.createElement(Box, { flex: 1 },
|
|
14
14
|
React.createElement(Header, { layout: settings.layout, setSettingToggle: setSettingToggle, title: currentRoute.name, drawerRef: drawerRef, rightContentRender: rightContentRender, settingToggle: settingToggle, navTheme: settings.navTheme, showSettings: showSettings, route: currentRoute.key, nextButton: currentRoute.nextButton }),
|
|
15
15
|
React.createElement(Divider, null),
|
|
16
16
|
!!settings && settings.layout !== 'bottom' ? (React.createElement(Drawer, { navTheme: settings.navTheme, match: props.match, routeParams: routeParams, routes: route.routes, drawerRef: drawerRef })) : null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasicLayout.js","sourceRoot":"","sources":["../../../../src/components/Layout/components/BasicLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,
|
|
1
|
+
{"version":3,"file":"BasicLayout.js","sourceRoot":"","sources":["../../../../src/components/Layout/components/BasicLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAG,GAAG,EAAa,OAAO,EAAiB,MAAM,sBAAsB,CAAC;AAC/E,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAQ9C,MAAM,WAAW,GAAyC,CAAC,KAAK,EAAE,EAAE;IAChE,MAAM,EAAE,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAChH,MAAM,SAAS,GAAG,MAAM,EAAE,CAAC;IAC3B,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE1D,OAAO,CACH,oBAAC,GAAG,IAAC,IAAI,EAAE,CAAC;QACR,oBAAC,MAAM,IACH,MAAM,EAAE,QAAQ,CAAC,MAAM,EACvB,gBAAgB,EAAE,gBAAgB,EAClC,KAAK,EAAE,YAAY,CAAC,IAAI,EACxB,SAAS,EAAE,SAAS,EACpB,kBAAkB,EAAE,kBAAkB,EACtC,aAAa,EAAE,aAAa,E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N,CAAC,CAAC;AAEF,WAAW,CAAC,YAAY,GAAG;IACvB,GAAG,eAAe;CACrB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Pressable, Center, Text,
|
|
2
|
+
import { Box, Pressable, Center, Text, SafeAreaView } from '@gluestack-ui/themed';
|
|
3
3
|
import { useSelector } from 'react-redux';
|
|
4
4
|
import { navigationRef } from '@common-stack/client-react';
|
|
5
5
|
export const BottomTabBar = ({ state, descriptors, navigation, ...props }) => {
|
|
@@ -42,8 +42,8 @@ export const BottomTabBar = ({ state, descriptors, navigation, ...props }) => {
|
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
44
|
}, []);
|
|
45
|
-
return (React.createElement(
|
|
46
|
-
React.createElement(
|
|
45
|
+
return (React.createElement(SafeAreaView, null,
|
|
46
|
+
React.createElement(Box, { flexDirection: "row", width: "100%", alignSelf: "center", bg: '$white', borderTopWidth: "$1", borderTopColor: '#d3d3d3', py: "$4", ...tabBarProps }, appRoutes.map((route, index) => {
|
|
47
47
|
const options = route.options;
|
|
48
48
|
const label = options.tabBarLabel !== undefined
|
|
49
49
|
? options.tabBarLabel
|
|
@@ -72,10 +72,10 @@ export const BottomTabBar = ({ state, descriptors, navigation, ...props }) => {
|
|
|
72
72
|
// target: route.route.key,
|
|
73
73
|
// });
|
|
74
74
|
// };
|
|
75
|
-
return (React.createElement(Pressable, { key: index,
|
|
75
|
+
return (React.createElement(Pressable, { key: index, opacity: isFocused ? "$100" : "$50",
|
|
76
76
|
// pb="$8"
|
|
77
77
|
// pt={"$3"}
|
|
78
|
-
onPress: () => onPress(route, navigation, isFocused), onLongPress: () => onLongPress(route, navigation, isFocused), testID: options.tabBarTestID, accessibilityState: isFocused ? { selected: true } : {}, accessibilityLabel: options.tabBarAccessibilityLabel },
|
|
78
|
+
flex: 1, onPress: () => onPress(route, navigation, isFocused), onLongPress: () => onLongPress(route, navigation, isFocused), testID: options.tabBarTestID, accessibilityState: isFocused ? { selected: true } : {}, accessibilityLabel: options.tabBarAccessibilityLabel },
|
|
79
79
|
React.createElement(Center, null,
|
|
80
80
|
options?.tabBarIcon
|
|
81
81
|
? options.tabBarIcon({
|
|
@@ -85,7 +85,7 @@ export const BottomTabBar = ({ state, descriptors, navigation, ...props }) => {
|
|
|
85
85
|
size: 24,
|
|
86
86
|
})
|
|
87
87
|
: null,
|
|
88
|
-
React.createElement(Text, { color: isFocused ? options.tabBarActiveTintColor : options.tabBarInactiveTintColor,
|
|
88
|
+
React.createElement(Text, { color: isFocused ? options.tabBarActiveTintColor : options.tabBarInactiveTintColor, style: { fontSize: 12 } }, label))));
|
|
89
89
|
}))));
|
|
90
90
|
};
|
|
91
91
|
export default BottomTabBar;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomTabBar.js","sourceRoot":"","sources":["../../../../src/components/Layout/components/BottomTabBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"BottomTabBar.js","sourceRoot":"","sources":["../../../../src/components/Layout/components/BottomTabBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,GAAG,EAAC,SAAS,EAAC,MAAM,EAAC,IAAI,EAAE,YAAY,EAAC,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAC,GAAG,KAAK,EAAO,EAAE,EAAE;IAC7E,MAAM,WAAW,GAAG,KAAK,EAAE,iBAAiB,IAAE,EAAE,CAAC;IACjD,MAAM,QAAQ,GAAG,WAAW,CAAM,CAAC,KAAK,EAAE,EAAE,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B,KAAK,EAAE,SAAS;gCACZ,CAAC,CAAC,OAAO,CAAC,qBAAqB;gCAC/B,CAAC,CAAC,OAAO,CAAC,uBAAuB;4BACrC,IAAI,EAAE,EAAE;yBACX,CAAC;wBACF,CAAC,CAAC,IAAI;oBAEV,oBAAC,IAAI,IACD,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,OAAO,CAAC,uBAAuB,EAClF,KAAK,EAAE,EAAC,QAAQ,EAAC,EAAE,EAAC,IAEnB,KAAK,CACH,CACF,CACD,CACf,CAAC;QACN,CAAC,CAAC,CACA,CACS,CAClB,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Ionicons } from '@expo/vector-icons';
|
|
3
3
|
import { DrawerContentScrollView, DrawerItem } from '@react-navigation/drawer';
|
|
4
|
-
import { Box, Text, Heading, Divider, StatusBar, Avatar, AvatarFallbackText, AvatarImage, HStack, useToast, } from '
|
|
4
|
+
import { Box, Text, Heading, Divider, StatusBar, Avatar, AvatarFallbackText, AvatarImage, HStack, VStack, useToast, Toast, ToastTitle, } from '@gluestack-ui/themed';
|
|
5
5
|
import { useNavigation, useRoute } from '@react-navigation/native';
|
|
6
6
|
import { navigationRef } from '@common-stack/client-react';
|
|
7
7
|
import { useSelector, useDispatch } from 'react-redux';
|
|
8
8
|
import { logoutAndRedirect, resetReduxState } from '@adminide-stack/user-auth0-client';
|
|
9
|
-
import { ToastAlert } from '../../ToastAlert';
|
|
10
9
|
export const Drawer = (props) => {
|
|
11
10
|
const settings = useSelector((state) => state.settings);
|
|
12
11
|
const platform = useSelector((state) => state.platform);
|
|
@@ -42,8 +41,8 @@ export const Drawer = (props) => {
|
|
|
42
41
|
(b?.params?.priority ? b?.params?.priority : b?.name)) ?? [];
|
|
43
42
|
const logoUrl = settings?.logo?.split('.') ?? null;
|
|
44
43
|
const logoType = logoUrl ? logoUrl[logoUrl.length - 1] : null;
|
|
45
|
-
return (React.createElement(Box, {
|
|
46
|
-
React.createElement(StatusBar, { barStyle: settings?.navTheme
|
|
44
|
+
return (React.createElement(Box, { flex: 1 },
|
|
45
|
+
React.createElement(StatusBar, { barStyle: settings?.navTheme == 'dark' ? 'light-content' : 'dark-content' }),
|
|
47
46
|
React.createElement(DrawerContentScrollView, { ...props, style: {
|
|
48
47
|
backgroundColor: props?.backgroundColor
|
|
49
48
|
? props?.backgroundColor
|
|
@@ -51,21 +50,21 @@ export const Drawer = (props) => {
|
|
|
51
50
|
? '#000'
|
|
52
51
|
: '#fff',
|
|
53
52
|
} },
|
|
54
|
-
settings?.logo && logoType && logoType != 'svg' ? (React.createElement(HStack, {
|
|
55
|
-
React.createElement(Avatar, { size: 'sm',
|
|
53
|
+
settings?.logo && logoType && logoType != 'svg' ? (React.createElement(HStack, { px: '$3', alignItems: 'center' },
|
|
54
|
+
React.createElement(Avatar, { size: 'sm', bg: "transparent" },
|
|
56
55
|
React.createElement(AvatarFallbackText, null, "Logo"),
|
|
57
56
|
React.createElement(AvatarImage, { source: {
|
|
58
57
|
uri: settings?.logo,
|
|
59
58
|
}, alt: "logo" })),
|
|
60
|
-
props.title ? (React.createElement(Heading, {
|
|
59
|
+
props.title ? (React.createElement(Heading, { p: '$5', size: 'lg', color: props?.titleColor
|
|
61
60
|
? props?.titleColor
|
|
62
61
|
: settings?.navTheme == 'dark'
|
|
63
|
-
? 'white'
|
|
64
|
-
: 'black'
|
|
62
|
+
? '$white'
|
|
63
|
+
: '$black' }, props?.headingTitle ?? settings?.title ?? props.title)) : null)) : (React.createElement(React.Fragment, null, props.title ? (React.createElement(Heading, { p: '$5', size: 'lg', color: props?.titleColor
|
|
65
64
|
? props?.titleColor
|
|
66
65
|
: settings?.navTheme == 'dark'
|
|
67
|
-
? 'white'
|
|
68
|
-
: 'black'
|
|
66
|
+
? '$white'
|
|
67
|
+
: '$black' }, props?.headingTitle ?? settings?.title ?? props.title)) : null)),
|
|
69
68
|
[...sideRoutes]?.map((data) => {
|
|
70
69
|
return (React.createElement(DrawerItem, { key: data.key, icon: ({ focused }) => {
|
|
71
70
|
if (settings && settings.layout == 'mixSide') {
|
|
@@ -122,7 +121,7 @@ export const Drawer = (props) => {
|
|
|
122
121
|
? 'white'
|
|
123
122
|
: 'black', size: 20 }));
|
|
124
123
|
}
|
|
125
|
-
}, label: ({ color }) => (React.createElement(Text, {
|
|
124
|
+
}, label: ({ color }) => (React.createElement(Text, { style: { color, fontSize: 15 }, fontWeight: '$semibold' }, data.name.split('.').pop() === 'Home' ? 'Home' : data.name.split('.').pop())), focused:
|
|
126
125
|
// props.state.routes.findIndex((e: any) => e.name === data.name) === props.state.index
|
|
127
126
|
settings?.layout == 'side'
|
|
128
127
|
? props.state.routes.findIndex((e) => e.name === data.name) ===
|
|
@@ -133,7 +132,7 @@ export const Drawer = (props) => {
|
|
|
133
132
|
? 'white'
|
|
134
133
|
: 'black' }));
|
|
135
134
|
})),
|
|
136
|
-
React.createElement(Box, {
|
|
135
|
+
React.createElement(Box, { mb: settings?.layout == 'bottomDrawer' ? '$0' : '$4', bg: props?.backgroundColor ? props?.backgroundColor : settings?.navTheme == 'dark' ? '#000' : '#fff' },
|
|
137
136
|
React.createElement(Divider, null),
|
|
138
137
|
React.createElement(React.Fragment, null, [...bottomRoutes]?.map((data) => {
|
|
139
138
|
return (React.createElement(DrawerItem, { key: data.key, icon: ({ focused }) => {
|
|
@@ -191,7 +190,7 @@ export const Drawer = (props) => {
|
|
|
191
190
|
? 'white'
|
|
192
191
|
: 'black', size: 20 }));
|
|
193
192
|
}
|
|
194
|
-
}, label: ({ color }) => (React.createElement(Text, { style: { color, fontSize: 15 },
|
|
193
|
+
}, label: ({ color }) => (React.createElement(Text, { style: { color, fontSize: 15 }, fontWeight: '$semibold' }, data.name.split('.').pop() === 'Home' ? 'Home' : data.name.split('.').pop())), focused:
|
|
195
194
|
// props.state.routes.findIndex((e: any) => e.name === data.name) === props.state.index
|
|
196
195
|
settings?.layout == 'side'
|
|
197
196
|
? props.state.routes.findIndex((e) => e.name === data.name) ===
|
|
@@ -202,7 +201,7 @@ export const Drawer = (props) => {
|
|
|
202
201
|
? 'white'
|
|
203
202
|
: 'black', onPress: () => props?.navigation?.navigate(data.name, { orgName: platform.orgName }) }));
|
|
204
203
|
})),
|
|
205
|
-
props.logout && user && user.accessToken && (React.createElement(DrawerItem, { label: ({ color }) => (React.createElement(Text, { style: { color, fontSize: 15 },
|
|
204
|
+
props.logout && user && user.accessToken && (React.createElement(DrawerItem, { label: ({ color }) => (React.createElement(Text, { style: { color, fontSize: 15 }, fontWeight: '$semibold' }, "Logout")), icon: ({ focused }) => (React.createElement(Ionicons, { name: 'log-out', size: 24, color: focused
|
|
206
205
|
? props?.activeTintColor ?? '#ff5a00'
|
|
207
206
|
: props?.inactiveTintColor
|
|
208
207
|
? props?.inactiveTintColor
|
|
@@ -222,7 +221,9 @@ export const Drawer = (props) => {
|
|
|
222
221
|
placement: 'top',
|
|
223
222
|
render: ({ id }) => {
|
|
224
223
|
const toastId = 'toast-' + id;
|
|
225
|
-
return (React.createElement(
|
|
224
|
+
return (React.createElement(Toast, { nativeID: toastId, action: "attention", variant: "solid" },
|
|
225
|
+
React.createElement(VStack, { space: "xs" },
|
|
226
|
+
React.createElement(ToastTitle, null, "Logging out"))));
|
|
226
227
|
},
|
|
227
228
|
});
|
|
228
229
|
props?.navigation?.closeDrawer();
|