@admin-layout/gluestack-ui-mobile 12.0.16-alpha.93 → 12.2.1-alpha.0
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 +3 -235
- 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
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { createSlider } from '@gluestack-ui/slider';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { tva } from '@gluestack-ui/nativewind-utils/tva';
|
|
5
|
-
import { withStyleContext, useStyleContext } from '@gluestack-ui/nativewind-utils/withStyleContext';
|
|
6
|
-
const SCOPE = 'SLIDER';
|
|
7
|
-
// Create styled components for web
|
|
8
|
-
const StyledRoot = React.forwardRef((props, ref) => (React.createElement("div", { ref: ref, ...props })));
|
|
9
|
-
const StyledThumb = React.forwardRef((props, ref) => (React.createElement("div", { ref: ref, ...props })));
|
|
10
|
-
const StyledTrack = React.forwardRef((props, ref) => (React.createElement("div", { ref: ref, ...props })));
|
|
11
|
-
const StyledFilledTrack = React.forwardRef((props, ref) => (React.createElement("div", { ref: ref, ...props })));
|
|
12
|
-
const StyledThumbInteraction = React.forwardRef((props, ref) => (React.createElement("div", { ref: ref, ...props })));
|
|
13
|
-
const Root = withStyleContext(StyledRoot, SCOPE);
|
|
14
|
-
export const UISlider = createSlider({
|
|
15
|
-
Root,
|
|
16
|
-
Thumb: StyledThumb,
|
|
17
|
-
Track: StyledTrack,
|
|
18
|
-
FilledTrack: StyledFilledTrack,
|
|
19
|
-
ThumbInteraction: StyledThumbInteraction,
|
|
20
|
-
});
|
|
21
|
-
// Remove problematic cssInterop for now as it's causing type issues
|
|
22
|
-
// cssInterop(UISlider.Track, {
|
|
23
|
-
// target: false,
|
|
24
|
-
// nativeStyleToProp: {
|
|
25
|
-
// style: true,
|
|
26
|
-
// },
|
|
27
|
-
// });
|
|
28
|
-
const sliderStyle = tva({
|
|
29
|
-
base: 'justify-center items-center data-[disabled=true]:opacity-40 data-[disabled=true]:pointer-events-none',
|
|
30
|
-
variants: {
|
|
31
|
-
orientation: {
|
|
32
|
-
horizontal: 'w-full',
|
|
33
|
-
vertical: 'h-full',
|
|
34
|
-
},
|
|
35
|
-
size: {
|
|
36
|
-
sm: '',
|
|
37
|
-
md: '',
|
|
38
|
-
lg: '',
|
|
39
|
-
},
|
|
40
|
-
isReversed: {
|
|
41
|
-
true: '',
|
|
42
|
-
false: '',
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
});
|
|
46
|
-
const sliderThumbStyle = tva({
|
|
47
|
-
base: 'bg-primary-500 absolute rounded-full data-[focus=true]:bg-primary-600 data-[active=true]:bg-primary-600 data-[hover=true]:bg-primary-600 data-[disabled=true]:bg-primary-500 cursor-pointer data-[active=true]:outline data-[active=true]:outline-4 data-[active=true]:outline-primary-400 shadow-hard-1',
|
|
48
|
-
parentVariants: {
|
|
49
|
-
size: {
|
|
50
|
-
sm: 'h-4 w-4',
|
|
51
|
-
md: 'h-5 w-5',
|
|
52
|
-
lg: 'h-6 w-6',
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
});
|
|
56
|
-
const sliderTrackStyle = tva({
|
|
57
|
-
base: 'bg-background-300 rounded-lg overflow-hidden',
|
|
58
|
-
parentVariants: {
|
|
59
|
-
orientation: {
|
|
60
|
-
horizontal: 'w-full',
|
|
61
|
-
vertical: 'h-full',
|
|
62
|
-
},
|
|
63
|
-
isReversed: {
|
|
64
|
-
true: '',
|
|
65
|
-
false: '',
|
|
66
|
-
},
|
|
67
|
-
size: {
|
|
68
|
-
sm: '',
|
|
69
|
-
md: '',
|
|
70
|
-
lg: '',
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
parentCompoundVariants: [
|
|
74
|
-
{
|
|
75
|
-
orientation: 'horizontal',
|
|
76
|
-
size: 'sm',
|
|
77
|
-
class: 'h-1 flex-row',
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
orientation: 'horizontal',
|
|
81
|
-
size: 'sm',
|
|
82
|
-
isReversed: true,
|
|
83
|
-
class: 'h-1 flex-row-reverse',
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
orientation: 'horizontal',
|
|
87
|
-
size: 'md',
|
|
88
|
-
class: 'h-1 flex-row',
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
orientation: 'horizontal',
|
|
92
|
-
size: 'md',
|
|
93
|
-
isReversed: true,
|
|
94
|
-
class: 'h-[5px] flex-row-reverse',
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
orientation: 'horizontal',
|
|
98
|
-
size: 'lg',
|
|
99
|
-
class: 'h-1.5 flex-row',
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
orientation: 'horizontal',
|
|
103
|
-
size: 'lg',
|
|
104
|
-
isReversed: true,
|
|
105
|
-
class: 'h-1.5 flex-row-reverse',
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
orientation: 'vertical',
|
|
109
|
-
size: 'sm',
|
|
110
|
-
class: 'w-1 flex-col-reverse',
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
orientation: 'vertical',
|
|
114
|
-
size: 'sm',
|
|
115
|
-
isReversed: true,
|
|
116
|
-
class: 'w-1 flex-col',
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
orientation: 'vertical',
|
|
120
|
-
size: 'md',
|
|
121
|
-
class: 'w-[5px] flex-col-reverse',
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
orientation: 'vertical',
|
|
125
|
-
size: 'md',
|
|
126
|
-
isReversed: true,
|
|
127
|
-
class: 'w-[5px] flex-col',
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
orientation: 'vertical',
|
|
131
|
-
size: 'lg',
|
|
132
|
-
class: 'w-1.5 flex-col-reverse',
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
orientation: 'vertical',
|
|
136
|
-
size: 'lg',
|
|
137
|
-
isReversed: true,
|
|
138
|
-
class: 'w-1.5 flex-col',
|
|
139
|
-
},
|
|
140
|
-
],
|
|
141
|
-
});
|
|
142
|
-
const sliderFilledTrackStyle = tva({
|
|
143
|
-
base: 'bg-primary-500 data-[focus=true]:bg-primary-600 data-[active=true]:bg-primary-600 data-[hover=true]:bg-primary-600',
|
|
144
|
-
parentVariants: {
|
|
145
|
-
orientation: {
|
|
146
|
-
horizontal: 'h-full',
|
|
147
|
-
vertical: 'w-full',
|
|
148
|
-
},
|
|
149
|
-
},
|
|
150
|
-
});
|
|
151
|
-
const Slider = React.forwardRef(({ className, size = 'md', orientation = 'horizontal', isReversed = false, ...props }, ref) => {
|
|
152
|
-
return (React.createElement(UISlider, { ref: ref, isReversed: isReversed, orientation: orientation, ...props, className: sliderStyle({
|
|
153
|
-
orientation,
|
|
154
|
-
isReversed,
|
|
155
|
-
class: className,
|
|
156
|
-
}), context: { size, orientation, isReversed } }));
|
|
157
|
-
});
|
|
158
|
-
const SliderThumb = React.forwardRef(({ className, size, ...props }, ref) => {
|
|
159
|
-
const { size: parentSize } = useStyleContext(SCOPE);
|
|
160
|
-
return (React.createElement(UISlider.Thumb, { ref: ref, ...props, className: sliderThumbStyle({
|
|
161
|
-
parentVariants: {
|
|
162
|
-
size: parentSize,
|
|
163
|
-
},
|
|
164
|
-
size,
|
|
165
|
-
class: className,
|
|
166
|
-
}) }));
|
|
167
|
-
});
|
|
168
|
-
const SliderTrack = React.forwardRef(({ className, ...props }, ref) => {
|
|
169
|
-
const { orientation: parentOrientation, size: parentSize, isReversed } = useStyleContext(SCOPE);
|
|
170
|
-
return (React.createElement(UISlider.Track, { ref: ref, ...props, className: sliderTrackStyle({
|
|
171
|
-
parentVariants: {
|
|
172
|
-
orientation: parentOrientation,
|
|
173
|
-
size: parentSize,
|
|
174
|
-
isReversed,
|
|
175
|
-
},
|
|
176
|
-
class: className,
|
|
177
|
-
}) }));
|
|
178
|
-
});
|
|
179
|
-
const SliderFilledTrack = React.forwardRef(({ className, ...props }, ref) => {
|
|
180
|
-
const { orientation: parentOrientation } = useStyleContext(SCOPE);
|
|
181
|
-
return (React.createElement(UISlider.FilledTrack, { ref: ref, ...props, className: sliderFilledTrackStyle({
|
|
182
|
-
parentVariants: {
|
|
183
|
-
orientation: parentOrientation,
|
|
184
|
-
},
|
|
185
|
-
class: className,
|
|
186
|
-
}) }));
|
|
187
|
-
});
|
|
188
|
-
export { Slider, SliderThumb, SliderTrack, SliderFilledTrack };
|
|
189
|
-
//# sourceMappingURL=index.web.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.web.js","sourceRoot":"","sources":["../../../../src/components/ui/slider/index.web.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,MAAM,oCAAoC,CAAC;AACzD,OAAO,EA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J,CAAC;AAMF,MAAM,iBAAiB,GAAG,KAAK,CAAC,UAAU,CACtC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC7B,MAAM,EAAE,WAAW,EAAE,iBAAiB,EAAE,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;IAElE,OAAO,CACH,oBAAC,QAAQ,CAAC,WAAW,IACjB,GAAG,EAAE,GAAG,KACJ,KAAK,EACT,SAAS,EAAE,sBAAsB,CAAC;YAC9B,cAAc,EAAE;gBACZ,WAAW,EAAE,iBAAiB;aACjC;YACD,KAAK,EAAE,SAAS;SACnB,CAAC,GACJ,CACL,CAAC;AACN,CAAC,CACJ,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { ActivityIndicator } from 'react-native';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { tva } from '@gluestack-ui/nativewind-utils/tva';
|
|
5
|
-
import { cssInterop } from 'nativewind';
|
|
6
|
-
cssInterop(ActivityIndicator, {
|
|
7
|
-
className: { target: 'style', nativeStyleToProp: { color: true } },
|
|
8
|
-
});
|
|
9
|
-
const spinnerStyle = tva({});
|
|
10
|
-
const Spinner = React.forwardRef(({ className, color, focusable = false, 'aria-label': ariaLabel = 'loading', ...props }, ref) => {
|
|
11
|
-
return (React.createElement(ActivityIndicator, { ref: ref, focusable: focusable, "aria-label": ariaLabel, ...props, color: color, className: spinnerStyle({ class: className }) }));
|
|
12
|
-
});
|
|
13
|
-
Spinner.displayName = 'Spinner';
|
|
14
|
-
export { Spinner };
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/spinner/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,MAAM,oCAAoC,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,UAAU,CAAC,iBAAiB,EAAE;IAC1B,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;CACrE,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,GAAG,CAAC,EAAE,CAAC,CAAC;AAE7B,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAG9B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,GAAG,KAAK,EAAE,YAAY,EAAE,SAAS,GAAG,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC9F,OAAO,CACH,oBAAC,iBAAiB,IACd,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,SAAS,gBACR,SAAS,KACjB,KAAK,EACT,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,YAAY,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAC/C,CACL,CAAC;AACN,CAAC,CAAC,CAAC;AAEH,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { VariantProps } from '@gluestack-ui/nativewind-utils';
|
|
3
|
-
declare const spinnerStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
|
|
4
|
-
size: {
|
|
5
|
-
xs: string;
|
|
6
|
-
sm: string;
|
|
7
|
-
md: string;
|
|
8
|
-
lg: string;
|
|
9
|
-
xl: string;
|
|
10
|
-
};
|
|
11
|
-
colorScheme: {
|
|
12
|
-
primary: string;
|
|
13
|
-
success: string;
|
|
14
|
-
warning: string;
|
|
15
|
-
error: string;
|
|
16
|
-
light: string;
|
|
17
|
-
dark: string;
|
|
18
|
-
};
|
|
19
|
-
} | ({
|
|
20
|
-
size: {
|
|
21
|
-
xs: string;
|
|
22
|
-
sm: string;
|
|
23
|
-
md: string;
|
|
24
|
-
lg: string;
|
|
25
|
-
xl: string;
|
|
26
|
-
};
|
|
27
|
-
colorScheme: {
|
|
28
|
-
primary: string;
|
|
29
|
-
success: string;
|
|
30
|
-
warning: string;
|
|
31
|
-
error: string;
|
|
32
|
-
light: string;
|
|
33
|
-
dark: string;
|
|
34
|
-
};
|
|
35
|
-
} & {
|
|
36
|
-
size: {
|
|
37
|
-
xs: import("tailwind-merge").ClassNameValue | {
|
|
38
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
39
|
-
};
|
|
40
|
-
sm: import("tailwind-merge").ClassNameValue | {
|
|
41
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
42
|
-
};
|
|
43
|
-
md: import("tailwind-merge").ClassNameValue | {
|
|
44
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
45
|
-
};
|
|
46
|
-
lg: import("tailwind-merge").ClassNameValue | {
|
|
47
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
48
|
-
};
|
|
49
|
-
xl: import("tailwind-merge").ClassNameValue | {
|
|
50
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
colorScheme: {
|
|
54
|
-
primary: import("tailwind-merge").ClassNameValue | {
|
|
55
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
56
|
-
};
|
|
57
|
-
success: import("tailwind-merge").ClassNameValue | {
|
|
58
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
59
|
-
};
|
|
60
|
-
warning: import("tailwind-merge").ClassNameValue | {
|
|
61
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
62
|
-
};
|
|
63
|
-
error: import("tailwind-merge").ClassNameValue | {
|
|
64
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
65
|
-
};
|
|
66
|
-
light: import("tailwind-merge").ClassNameValue | {
|
|
67
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
68
|
-
};
|
|
69
|
-
dark: import("tailwind-merge").ClassNameValue | {
|
|
70
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
}), undefined, "inline-block rounded-full border-[2px] border-t-transparent animate-spin", import("tailwind-variants/dist/config").TVConfig<{
|
|
74
|
-
size: {
|
|
75
|
-
xs: string;
|
|
76
|
-
sm: string;
|
|
77
|
-
md: string;
|
|
78
|
-
lg: string;
|
|
79
|
-
xl: string;
|
|
80
|
-
};
|
|
81
|
-
colorScheme: {
|
|
82
|
-
primary: string;
|
|
83
|
-
success: string;
|
|
84
|
-
warning: string;
|
|
85
|
-
error: string;
|
|
86
|
-
light: string;
|
|
87
|
-
dark: string;
|
|
88
|
-
};
|
|
89
|
-
}, {
|
|
90
|
-
size: {
|
|
91
|
-
xs: string;
|
|
92
|
-
sm: string;
|
|
93
|
-
md: string;
|
|
94
|
-
lg: string;
|
|
95
|
-
xl: string;
|
|
96
|
-
};
|
|
97
|
-
colorScheme: {
|
|
98
|
-
primary: string;
|
|
99
|
-
success: string;
|
|
100
|
-
warning: string;
|
|
101
|
-
error: string;
|
|
102
|
-
light: string;
|
|
103
|
-
dark: string;
|
|
104
|
-
};
|
|
105
|
-
}>, {
|
|
106
|
-
size: {
|
|
107
|
-
xs: string;
|
|
108
|
-
sm: string;
|
|
109
|
-
md: string;
|
|
110
|
-
lg: string;
|
|
111
|
-
xl: string;
|
|
112
|
-
};
|
|
113
|
-
colorScheme: {
|
|
114
|
-
primary: string;
|
|
115
|
-
success: string;
|
|
116
|
-
warning: string;
|
|
117
|
-
error: string;
|
|
118
|
-
light: string;
|
|
119
|
-
dark: string;
|
|
120
|
-
};
|
|
121
|
-
}, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
|
|
122
|
-
size: {
|
|
123
|
-
xs: string;
|
|
124
|
-
sm: string;
|
|
125
|
-
md: string;
|
|
126
|
-
lg: string;
|
|
127
|
-
xl: string;
|
|
128
|
-
};
|
|
129
|
-
colorScheme: {
|
|
130
|
-
primary: string;
|
|
131
|
-
success: string;
|
|
132
|
-
warning: string;
|
|
133
|
-
error: string;
|
|
134
|
-
light: string;
|
|
135
|
-
dark: string;
|
|
136
|
-
};
|
|
137
|
-
}, undefined, "inline-block rounded-full border-[2px] border-t-transparent animate-spin", import("tailwind-variants/dist/config").TVConfig<{
|
|
138
|
-
size: {
|
|
139
|
-
xs: string;
|
|
140
|
-
sm: string;
|
|
141
|
-
md: string;
|
|
142
|
-
lg: string;
|
|
143
|
-
xl: string;
|
|
144
|
-
};
|
|
145
|
-
colorScheme: {
|
|
146
|
-
primary: string;
|
|
147
|
-
success: string;
|
|
148
|
-
warning: string;
|
|
149
|
-
error: string;
|
|
150
|
-
light: string;
|
|
151
|
-
dark: string;
|
|
152
|
-
};
|
|
153
|
-
}, {
|
|
154
|
-
size: {
|
|
155
|
-
xs: string;
|
|
156
|
-
sm: string;
|
|
157
|
-
md: string;
|
|
158
|
-
lg: string;
|
|
159
|
-
xl: string;
|
|
160
|
-
};
|
|
161
|
-
colorScheme: {
|
|
162
|
-
primary: string;
|
|
163
|
-
success: string;
|
|
164
|
-
warning: string;
|
|
165
|
-
error: string;
|
|
166
|
-
light: string;
|
|
167
|
-
dark: string;
|
|
168
|
-
};
|
|
169
|
-
}>, unknown, unknown, undefined>>;
|
|
170
|
-
type ISpinnerProps = React.ComponentProps<'div'> & {
|
|
171
|
-
size?: VariantProps<typeof spinnerStyle>['size'];
|
|
172
|
-
colorScheme?: VariantProps<typeof spinnerStyle>['colorScheme'];
|
|
173
|
-
label?: string;
|
|
174
|
-
};
|
|
175
|
-
declare const Spinner: React.ForwardRefExoticComponent<Omit<ISpinnerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
176
|
-
export { Spinner };
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import React, { forwardRef } from 'react';
|
|
3
|
-
import { tva } from '@gluestack-ui/nativewind-utils/tva';
|
|
4
|
-
const SCOPE = 'SPINNER';
|
|
5
|
-
const spinnerStyle = tva({
|
|
6
|
-
base: 'inline-block rounded-full border-[2px] border-t-transparent animate-spin',
|
|
7
|
-
variants: {
|
|
8
|
-
size: {
|
|
9
|
-
xs: 'h-3 w-3 border-[1px]',
|
|
10
|
-
sm: 'h-4 w-4 border-[1.5px]',
|
|
11
|
-
md: 'h-6 w-6 border-[2px]',
|
|
12
|
-
lg: 'h-8 w-8 border-[2.5px]',
|
|
13
|
-
xl: 'h-12 w-12 border-[3px]',
|
|
14
|
-
},
|
|
15
|
-
colorScheme: {
|
|
16
|
-
primary: 'border-blue-600',
|
|
17
|
-
success: 'border-green-600',
|
|
18
|
-
warning: 'border-yellow-600',
|
|
19
|
-
error: 'border-red-600',
|
|
20
|
-
light: 'border-white',
|
|
21
|
-
dark: 'border-gray-900',
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
defaultVariants: {
|
|
25
|
-
size: 'md',
|
|
26
|
-
colorScheme: 'primary',
|
|
27
|
-
},
|
|
28
|
-
});
|
|
29
|
-
const Spinner = forwardRef(({ className, size, colorScheme, label = 'Loading...', ...props }, ref) => {
|
|
30
|
-
return (React.createElement("div", { ref: ref, role: "status", "aria-label": label, className: spinnerStyle({ size, colorScheme, class: className }), ...props },
|
|
31
|
-
React.createElement("span", { className: "sr-only" }, label)));
|
|
32
|
-
});
|
|
33
|
-
Spinner.displayName = 'Spinner';
|
|
34
|
-
export { Spinner };
|
|
35
|
-
// Add keyframes for spin animation to your global CSS:
|
|
36
|
-
const styles = `
|
|
37
|
-
@keyframes spin {
|
|
38
|
-
from {
|
|
39
|
-
transform: rotate(0deg);
|
|
40
|
-
}
|
|
41
|
-
to {
|
|
42
|
-
transform: rotate(360deg);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.animate-spin {
|
|
47
|
-
animation: spin 0.8s linear infinite;
|
|
48
|
-
}
|
|
49
|
-
`;
|
|
50
|
-
if (typeof document !== 'undefined') {
|
|
51
|
-
const styleSheet = document.createElement('style');
|
|
52
|
-
styleSheet.textContent = styles;
|
|
53
|
-
document.head.appendChild(styleSheet);
|
|
54
|
-
}
|
|
55
|
-
//# sourceMappingURL=index.web.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.web.js","sourceRoot":"","sources":["../../../../src/components/ui/spinner/index.web.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,oCAAoC,CAAC;AAKzD,MAAM,KAAK,GAAG,SAAS,CAAC;AAExB,MAAM,YAAY,GAAG,GAAG,CAAC;IACrB,IAAI,EAAE,0EAA0E;IAChF,QAAQ,EAAE;QACN,IAAI,EAAE;YACF,EAAE,EAAE,sBAAsB;YAC1B,EAAE,EAAE,wBAAwB;YAC5B,EAAE,EAAE,sBAAsB;YAC1B,EAAE,EAAE,wBAAwB;YAC5B,EAAE,EAAE,wBAAwB;SAC/B;QACD,WAAW,EAAE;YACT,OAAO,EAAE,iBAAiB;YAC1B,OAAO,EAAE,kBAAkB;YAC3B,OAAO,EAAE,mBAAmB;YAC5B,KAAK,EAAE,gBAAgB;YACvB,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE,iBAAiB;SAC1B;KACJ;IACD,eAAe,EAAE;QACb,IAAI,EAAE,IAAI;QACV,WAAW,EAAE,SAAS;KACzB;CACJ,CAAC,CAAC;AAQH,MAAM,OAAO,GAAG,UAAU,CACtB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,GAAG,YAAY,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACtE,OAAO,CACH,6BACI,GAAG,EAAE,GAAG,EACR,IAAI,EAAC,QAAQ,gBACD,KAAK,EACjB,SAAS,EAAE,YAAY,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,KAC5D,KAAK;QAET,8BAAM,SAAS,EAAC,SAAS,IAAE,KAAK,CAAQ,CACtC,CACT,CAAC;AACN,CAAC,CACJ,CAAC;AAEF,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,CAAC;AAEnB,uDAAuD;AACvD,MAAM,MAAM,GAAG;;;;;;;;;;;;;CAad,CAAC;AAEF,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE,CAAC;IAClC,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IACnD,UAAU,CAAC,WAAW,GAAG,MAAM,CAAC;IAChC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;AAC1C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { StatusBar } from 'react-native';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/status-bar/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface StatusBarProps {
|
|
2
|
-
animated?: boolean;
|
|
3
|
-
backgroundColor?: string;
|
|
4
|
-
barStyle?: 'default' | 'light-content' | 'dark-content';
|
|
5
|
-
hidden?: boolean;
|
|
6
|
-
networkActivityIndicatorVisible?: boolean;
|
|
7
|
-
showHideTransition?: 'fade' | 'slide';
|
|
8
|
-
translucent?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const StatusBar: {
|
|
11
|
-
(_props: StatusBarProps): null;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
14
|
-
export { StatusBar };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.web.js","sourceRoot":"","sources":["../../../../src/components/ui/status-bar/index.web.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAab,MAAM,SAAS,GAAG,CAAC,MAAsB,EAAQ,EAAE;IAC/C,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC;AAEF,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC;AAEpC,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Switch as RNSwitch } from 'react-native';
|
|
3
|
-
import type { VariantProps } from '@gluestack-ui/nativewind-utils';
|
|
4
|
-
declare const UISwitch: import("@gluestack-ui/switch/lib/types").ISwitchComponentType<import("react-native").SwitchProps & {
|
|
5
|
-
context?: any;
|
|
6
|
-
} & React.RefAttributes<typeof RNSwitch>>;
|
|
7
|
-
declare const switchStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
|
|
8
|
-
size: {
|
|
9
|
-
sm: string;
|
|
10
|
-
md: string;
|
|
11
|
-
lg: string;
|
|
12
|
-
};
|
|
13
|
-
} | ({
|
|
14
|
-
size: {
|
|
15
|
-
sm: string;
|
|
16
|
-
md: string;
|
|
17
|
-
lg: string;
|
|
18
|
-
};
|
|
19
|
-
} & {
|
|
20
|
-
size: {
|
|
21
|
-
sm: import("tailwind-merge").ClassNameValue | {
|
|
22
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
23
|
-
};
|
|
24
|
-
md: import("tailwind-merge").ClassNameValue | {
|
|
25
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
26
|
-
};
|
|
27
|
-
lg: import("tailwind-merge").ClassNameValue | {
|
|
28
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
}), undefined, "data-[focus=true]:outline-0 data-[focus=true]:ring-2 data-[focus=true]:ring-indicator-primary web:cursor-pointer disabled:cursor-not-allowed data-[disabled=true]:opacity-40 data-[invalid=true]:border-error-700 data-[invalid=true]:rounded-xl data-[invalid=true]:border-2", import("tailwind-variants/dist/config").TVConfig<{
|
|
32
|
-
size: {
|
|
33
|
-
sm: string;
|
|
34
|
-
md: string;
|
|
35
|
-
lg: string;
|
|
36
|
-
};
|
|
37
|
-
}, {
|
|
38
|
-
size: {
|
|
39
|
-
sm: string;
|
|
40
|
-
md: string;
|
|
41
|
-
lg: string;
|
|
42
|
-
};
|
|
43
|
-
}>, {
|
|
44
|
-
size: {
|
|
45
|
-
sm: string;
|
|
46
|
-
md: string;
|
|
47
|
-
lg: string;
|
|
48
|
-
};
|
|
49
|
-
}, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
|
|
50
|
-
size: {
|
|
51
|
-
sm: string;
|
|
52
|
-
md: string;
|
|
53
|
-
lg: string;
|
|
54
|
-
};
|
|
55
|
-
}, undefined, "data-[focus=true]:outline-0 data-[focus=true]:ring-2 data-[focus=true]:ring-indicator-primary web:cursor-pointer disabled:cursor-not-allowed data-[disabled=true]:opacity-40 data-[invalid=true]:border-error-700 data-[invalid=true]:rounded-xl data-[invalid=true]:border-2", import("tailwind-variants/dist/config").TVConfig<{
|
|
56
|
-
size: {
|
|
57
|
-
sm: string;
|
|
58
|
-
md: string;
|
|
59
|
-
lg: string;
|
|
60
|
-
};
|
|
61
|
-
}, {
|
|
62
|
-
size: {
|
|
63
|
-
sm: string;
|
|
64
|
-
md: string;
|
|
65
|
-
lg: string;
|
|
66
|
-
};
|
|
67
|
-
}>, unknown, unknown, undefined>>;
|
|
68
|
-
type ISwitchProps = React.ComponentProps<typeof UISwitch> & VariantProps<typeof switchStyle>;
|
|
69
|
-
declare const Switch: React.ForwardRefExoticComponent<Omit<ISwitchProps, "ref"> & React.RefAttributes<import("react-native").SwitchProps & {
|
|
70
|
-
context?: any;
|
|
71
|
-
} & React.RefAttributes<typeof RNSwitch>>>;
|
|
72
|
-
export { Switch };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { Switch as RNSwitch } from 'react-native';
|
|
4
|
-
import { createSwitch } from '@gluestack-ui/switch';
|
|
5
|
-
import { tva } from '@gluestack-ui/nativewind-utils/tva';
|
|
6
|
-
import { withStyleContext } from '@gluestack-ui/nativewind-utils/withStyleContext';
|
|
7
|
-
const UISwitch = createSwitch({
|
|
8
|
-
Root: withStyleContext(RNSwitch),
|
|
9
|
-
});
|
|
10
|
-
const switchStyle = tva({
|
|
11
|
-
base: 'data-[focus=true]:outline-0 data-[focus=true]:ring-2 data-[focus=true]:ring-indicator-primary web:cursor-pointer disabled:cursor-not-allowed data-[disabled=true]:opacity-40 data-[invalid=true]:border-error-700 data-[invalid=true]:rounded-xl data-[invalid=true]:border-2',
|
|
12
|
-
variants: {
|
|
13
|
-
size: {
|
|
14
|
-
sm: 'scale-75',
|
|
15
|
-
md: '',
|
|
16
|
-
lg: 'scale-125',
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
});
|
|
20
|
-
const Switch = React.forwardRef(({ className, size = 'md', ...props }, ref) => {
|
|
21
|
-
return React.createElement(UISwitch, { ref: ref, ...props, className: switchStyle({ size, class: className }) });
|
|
22
|
-
});
|
|
23
|
-
Switch.displayName = 'Switch';
|
|
24
|
-
export { Switch };
|
|
25
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/switch/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,oCAAoC,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iDAAiD,CAAC;AAGnF,MAAM,QAAQ,GAAG,YAAY,CAAC;IAC1B,IAAI,EAAE,gBAAgB,CAAC,QAAQ,CAAC;CACnC,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,GAAG,CAAC;IACpB,IAAI,EAAE,+QAA+Q;IAErR,QAAQ,EAAE;QACN,IAAI,EAAE;YACF,EAAE,EAAE,UAAU;YACd,EAAE,EAAE,EAAE;YACN,EAAE,EAAE,WAAW;SAClB;KACJ;CACJ,CAAC,CAAC;AAGH,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,CAC3B,CAAC,EAAE,SAAS,EAAE,IAAI,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC1C,OAAO,oBAAC,QAAQ,IAAC,GAAG,EAAE,GAAG,KAAM,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAAI,CAAC;AACjG,CAAC,CACJ,CAAC;AAEF,MAAM,CAAC,WAAW,GAAG,QAAQ,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,CAAC"}
|