@webority-technologies/mobile 0.0.1
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/README.md +399 -0
- package/lib/commonjs/api/publicClient.js +73 -0
- package/lib/commonjs/api/userClient.js +290 -0
- package/lib/commonjs/auth/authStore.js +107 -0
- package/lib/commonjs/auth/index.js +44 -0
- package/lib/commonjs/auth/jwt.js +84 -0
- package/lib/commonjs/components/Accordion/Accordion.js +257 -0
- package/lib/commonjs/components/Accordion/index.js +26 -0
- package/lib/commonjs/components/Avatar/Avatar.js +283 -0
- package/lib/commonjs/components/Avatar/index.js +26 -0
- package/lib/commonjs/components/Badge/Badge.js +212 -0
- package/lib/commonjs/components/Badge/index.js +20 -0
- package/lib/commonjs/components/Banner/Banner.js +276 -0
- package/lib/commonjs/components/Banner/index.js +20 -0
- package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +288 -0
- package/lib/commonjs/components/BottomNavigation/index.js +20 -0
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +367 -0
- package/lib/commonjs/components/BottomSheet/index.js +20 -0
- package/lib/commonjs/components/Button/Button.js +281 -0
- package/lib/commonjs/components/Button/index.js +20 -0
- package/lib/commonjs/components/Card/Card.js +194 -0
- package/lib/commonjs/components/Card/index.js +20 -0
- package/lib/commonjs/components/Carousel/Carousel.js +475 -0
- package/lib/commonjs/components/Carousel/index.js +20 -0
- package/lib/commonjs/components/Checkbox/Checkbox.js +165 -0
- package/lib/commonjs/components/Checkbox/index.js +20 -0
- package/lib/commonjs/components/Chip/Chip.js +272 -0
- package/lib/commonjs/components/Chip/index.js +20 -0
- package/lib/commonjs/components/DatePicker/DatePicker.js +813 -0
- package/lib/commonjs/components/DatePicker/index.js +20 -0
- package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +622 -0
- package/lib/commonjs/components/DateRangePicker/index.js +20 -0
- package/lib/commonjs/components/Dialog/Dialog.js +215 -0
- package/lib/commonjs/components/Dialog/index.js +20 -0
- package/lib/commonjs/components/Divider/Divider.js +118 -0
- package/lib/commonjs/components/Divider/index.js +20 -0
- package/lib/commonjs/components/Drawer/Drawer.js +344 -0
- package/lib/commonjs/components/Drawer/index.js +20 -0
- package/lib/commonjs/components/EmptyState/EmptyState.js +201 -0
- package/lib/commonjs/components/EmptyState/index.js +20 -0
- package/lib/commonjs/components/FAB/FAB.js +457 -0
- package/lib/commonjs/components/FAB/index.js +26 -0
- package/lib/commonjs/components/Field/Field.js +127 -0
- package/lib/commonjs/components/Field/index.js +20 -0
- package/lib/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.js +81 -0
- package/lib/commonjs/components/ForceUpdateDialog/index.js +20 -0
- package/lib/commonjs/components/Header/Header.js +339 -0
- package/lib/commonjs/components/Header/index.js +20 -0
- package/lib/commonjs/components/Icon/Icon.js +120 -0
- package/lib/commonjs/components/Icon/index.js +20 -0
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +463 -0
- package/lib/commonjs/components/ImageGallery/index.js +20 -0
- package/lib/commonjs/components/Input/Input.js +390 -0
- package/lib/commonjs/components/Input/index.js +20 -0
- package/lib/commonjs/components/ListItem/ListItem.js +241 -0
- package/lib/commonjs/components/ListItem/index.js +20 -0
- package/lib/commonjs/components/LoadingSpinner/LoadingSpinner.js +183 -0
- package/lib/commonjs/components/LoadingSpinner/index.js +20 -0
- package/lib/commonjs/components/Modal/Modal.js +239 -0
- package/lib/commonjs/components/Modal/index.js +20 -0
- package/lib/commonjs/components/NumberInput/NumberInput.js +392 -0
- package/lib/commonjs/components/NumberInput/index.js +20 -0
- package/lib/commonjs/components/OTPInput/OTPInput.js +375 -0
- package/lib/commonjs/components/OTPInput/index.js +20 -0
- package/lib/commonjs/components/ProgressBar/ProgressBar.js +149 -0
- package/lib/commonjs/components/ProgressBar/index.js +20 -0
- package/lib/commonjs/components/Radio/Radio.js +160 -0
- package/lib/commonjs/components/Radio/RadioGroup.js +43 -0
- package/lib/commonjs/components/Radio/index.js +39 -0
- package/lib/commonjs/components/Rating/Rating.js +236 -0
- package/lib/commonjs/components/Rating/index.js +20 -0
- package/lib/commonjs/components/SearchBar/SearchBar.js +274 -0
- package/lib/commonjs/components/SearchBar/index.js +20 -0
- package/lib/commonjs/components/SegmentedControl/SegmentedControl.js +184 -0
- package/lib/commonjs/components/SegmentedControl/index.js +20 -0
- package/lib/commonjs/components/Select/Select.js +540 -0
- package/lib/commonjs/components/Select/index.js +20 -0
- package/lib/commonjs/components/SkeletonLoader/SkeletonContent.js +191 -0
- package/lib/commonjs/components/SkeletonLoader/SkeletonLoader.js +311 -0
- package/lib/commonjs/components/SkeletonLoader/index.js +57 -0
- package/lib/commonjs/components/Slider/Slider.js +443 -0
- package/lib/commonjs/components/Slider/index.js +20 -0
- package/lib/commonjs/components/Stepper/Stepper.js +403 -0
- package/lib/commonjs/components/Stepper/index.js +20 -0
- package/lib/commonjs/components/Swipeable/Swipeable.js +349 -0
- package/lib/commonjs/components/Swipeable/index.js +20 -0
- package/lib/commonjs/components/Switch/Switch.js +173 -0
- package/lib/commonjs/components/Switch/index.js +20 -0
- package/lib/commonjs/components/Tabs/Tabs.js +204 -0
- package/lib/commonjs/components/Tabs/index.js +20 -0
- package/lib/commonjs/components/TimePicker/TimePicker.js +551 -0
- package/lib/commonjs/components/TimePicker/index.js +20 -0
- package/lib/commonjs/components/Toast/Toast.js +273 -0
- package/lib/commonjs/components/Toast/ToastProvider.js +195 -0
- package/lib/commonjs/components/Toast/index.js +39 -0
- package/lib/commonjs/components/Tooltip/Tooltip.js +363 -0
- package/lib/commonjs/components/Tooltip/index.js +20 -0
- package/lib/commonjs/components/index.js +392 -0
- package/lib/commonjs/config/index.js +63 -0
- package/lib/commonjs/formatters/currency.js +61 -0
- package/lib/commonjs/formatters/date.js +156 -0
- package/lib/commonjs/formatters/index.js +77 -0
- package/lib/commonjs/formatters/initials.js +28 -0
- package/lib/commonjs/formatters/number.js +76 -0
- package/lib/commonjs/formatters/phone.js +59 -0
- package/lib/commonjs/hooks/index.js +27 -0
- package/lib/commonjs/hooks/useDebounce.js +17 -0
- package/lib/commonjs/hooks/usePressAnimation.js +44 -0
- package/lib/commonjs/hooks/useToggle.js +22 -0
- package/lib/commonjs/index.js +628 -0
- package/lib/commonjs/initSDK.js +47 -0
- package/lib/commonjs/initUI.js +24 -0
- package/lib/commonjs/initUserAuth.js +40 -0
- package/lib/commonjs/logger/index.js +127 -0
- package/lib/commonjs/network/NetworkStatusBanner.js +89 -0
- package/lib/commonjs/network/index.js +32 -0
- package/lib/commonjs/network/networkStatus.js +88 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/permissions/index.js +180 -0
- package/lib/commonjs/storage/index.js +187 -0
- package/lib/commonjs/theme/ThemeContext.js +73 -0
- package/lib/commonjs/theme/index.js +93 -0
- package/lib/commonjs/theme/merge.js +30 -0
- package/lib/commonjs/theme/tokens.js +319 -0
- package/lib/commonjs/theme/types.js +6 -0
- package/lib/commonjs/types/vector-icons.d.js +2 -0
- package/lib/commonjs/utils/dimensions.js +31 -0
- package/lib/commonjs/utils/hapticUtils.js +57 -0
- package/lib/commonjs/utils/imageCompression.js +51 -0
- package/lib/commonjs/utils/index.js +83 -0
- package/lib/commonjs/utils/responsive.js +48 -0
- package/lib/commonjs/utils/shadows.js +12 -0
- package/lib/commonjs/utils/spacing.js +86 -0
- package/lib/commonjs/validators/index.js +165 -0
- package/lib/commonjs/versionCheck/index.js +338 -0
- package/lib/module/api/publicClient.js +69 -0
- package/lib/module/api/userClient.js +283 -0
- package/lib/module/auth/authStore.js +100 -0
- package/lib/module/auth/index.js +5 -0
- package/lib/module/auth/jwt.js +78 -0
- package/lib/module/components/Accordion/Accordion.js +251 -0
- package/lib/module/components/Accordion/index.js +4 -0
- package/lib/module/components/Avatar/Avatar.js +278 -0
- package/lib/module/components/Avatar/index.js +4 -0
- package/lib/module/components/Badge/Badge.js +208 -0
- package/lib/module/components/Badge/index.js +4 -0
- package/lib/module/components/Banner/Banner.js +272 -0
- package/lib/module/components/Banner/index.js +4 -0
- package/lib/module/components/BottomNavigation/BottomNavigation.js +284 -0
- package/lib/module/components/BottomNavigation/index.js +4 -0
- package/lib/module/components/BottomSheet/BottomSheet.js +363 -0
- package/lib/module/components/BottomSheet/index.js +4 -0
- package/lib/module/components/Button/Button.js +277 -0
- package/lib/module/components/Button/index.js +4 -0
- package/lib/module/components/Card/Card.js +190 -0
- package/lib/module/components/Card/index.js +4 -0
- package/lib/module/components/Carousel/Carousel.js +471 -0
- package/lib/module/components/Carousel/index.js +4 -0
- package/lib/module/components/Checkbox/Checkbox.js +161 -0
- package/lib/module/components/Checkbox/index.js +4 -0
- package/lib/module/components/Chip/Chip.js +268 -0
- package/lib/module/components/Chip/index.js +4 -0
- package/lib/module/components/DatePicker/DatePicker.js +808 -0
- package/lib/module/components/DatePicker/index.js +4 -0
- package/lib/module/components/DateRangePicker/DateRangePicker.js +618 -0
- package/lib/module/components/DateRangePicker/index.js +4 -0
- package/lib/module/components/Dialog/Dialog.js +210 -0
- package/lib/module/components/Dialog/index.js +4 -0
- package/lib/module/components/Divider/Divider.js +114 -0
- package/lib/module/components/Divider/index.js +4 -0
- package/lib/module/components/Drawer/Drawer.js +340 -0
- package/lib/module/components/Drawer/index.js +4 -0
- package/lib/module/components/EmptyState/EmptyState.js +197 -0
- package/lib/module/components/EmptyState/index.js +4 -0
- package/lib/module/components/FAB/FAB.js +452 -0
- package/lib/module/components/FAB/index.js +4 -0
- package/lib/module/components/Field/Field.js +123 -0
- package/lib/module/components/Field/index.js +4 -0
- package/lib/module/components/ForceUpdateDialog/ForceUpdateDialog.js +75 -0
- package/lib/module/components/ForceUpdateDialog/index.js +4 -0
- package/lib/module/components/Header/Header.js +335 -0
- package/lib/module/components/Header/index.js +4 -0
- package/lib/module/components/Icon/Icon.js +111 -0
- package/lib/module/components/Icon/index.js +4 -0
- package/lib/module/components/ImageGallery/ImageGallery.js +458 -0
- package/lib/module/components/ImageGallery/index.js +4 -0
- package/lib/module/components/Input/Input.js +384 -0
- package/lib/module/components/Input/index.js +4 -0
- package/lib/module/components/ListItem/ListItem.js +237 -0
- package/lib/module/components/ListItem/index.js +4 -0
- package/lib/module/components/LoadingSpinner/LoadingSpinner.js +179 -0
- package/lib/module/components/LoadingSpinner/index.js +4 -0
- package/lib/module/components/Modal/Modal.js +235 -0
- package/lib/module/components/Modal/index.js +4 -0
- package/lib/module/components/NumberInput/NumberInput.js +388 -0
- package/lib/module/components/NumberInput/index.js +4 -0
- package/lib/module/components/OTPInput/OTPInput.js +371 -0
- package/lib/module/components/OTPInput/index.js +4 -0
- package/lib/module/components/ProgressBar/ProgressBar.js +145 -0
- package/lib/module/components/ProgressBar/index.js +4 -0
- package/lib/module/components/Radio/Radio.js +155 -0
- package/lib/module/components/Radio/RadioGroup.js +38 -0
- package/lib/module/components/Radio/index.js +5 -0
- package/lib/module/components/Rating/Rating.js +232 -0
- package/lib/module/components/Rating/index.js +4 -0
- package/lib/module/components/SearchBar/SearchBar.js +270 -0
- package/lib/module/components/SearchBar/index.js +4 -0
- package/lib/module/components/SegmentedControl/SegmentedControl.js +180 -0
- package/lib/module/components/SegmentedControl/index.js +4 -0
- package/lib/module/components/Select/Select.js +536 -0
- package/lib/module/components/Select/index.js +4 -0
- package/lib/module/components/SkeletonLoader/SkeletonContent.js +186 -0
- package/lib/module/components/SkeletonLoader/SkeletonLoader.js +301 -0
- package/lib/module/components/SkeletonLoader/index.js +5 -0
- package/lib/module/components/Slider/Slider.js +439 -0
- package/lib/module/components/Slider/index.js +4 -0
- package/lib/module/components/Stepper/Stepper.js +399 -0
- package/lib/module/components/Stepper/index.js +4 -0
- package/lib/module/components/Swipeable/Swipeable.js +344 -0
- package/lib/module/components/Swipeable/index.js +4 -0
- package/lib/module/components/Switch/Switch.js +169 -0
- package/lib/module/components/Switch/index.js +4 -0
- package/lib/module/components/Tabs/Tabs.js +200 -0
- package/lib/module/components/Tabs/index.js +4 -0
- package/lib/module/components/TimePicker/TimePicker.js +545 -0
- package/lib/module/components/TimePicker/index.js +4 -0
- package/lib/module/components/Toast/Toast.js +268 -0
- package/lib/module/components/Toast/ToastProvider.js +187 -0
- package/lib/module/components/Toast/index.js +5 -0
- package/lib/module/components/Tooltip/Tooltip.js +358 -0
- package/lib/module/components/Tooltip/index.js +4 -0
- package/lib/module/components/index.js +47 -0
- package/lib/module/config/index.js +55 -0
- package/lib/module/formatters/currency.js +56 -0
- package/lib/module/formatters/date.js +148 -0
- package/lib/module/formatters/index.js +8 -0
- package/lib/module/formatters/initials.js +23 -0
- package/lib/module/formatters/number.js +69 -0
- package/lib/module/formatters/phone.js +53 -0
- package/lib/module/hooks/index.js +6 -0
- package/lib/module/hooks/useDebounce.js +12 -0
- package/lib/module/hooks/usePressAnimation.js +39 -0
- package/lib/module/hooks/useToggle.js +17 -0
- package/lib/module/index.js +37 -0
- package/lib/module/initSDK.js +42 -0
- package/lib/module/initUI.js +19 -0
- package/lib/module/initUserAuth.js +36 -0
- package/lib/module/logger/index.js +123 -0
- package/lib/module/network/NetworkStatusBanner.js +83 -0
- package/lib/module/network/index.js +5 -0
- package/lib/module/network/networkStatus.js +81 -0
- package/lib/module/package.json +1 -0
- package/lib/module/permissions/index.js +177 -0
- package/lib/module/storage/index.js +183 -0
- package/lib/module/theme/ThemeContext.js +65 -0
- package/lib/module/theme/index.js +48 -0
- package/lib/module/theme/merge.js +25 -0
- package/lib/module/theme/tokens.js +315 -0
- package/lib/module/theme/types.js +4 -0
- package/lib/module/types/vector-icons.d.js +2 -0
- package/lib/module/utils/dimensions.js +4 -0
- package/lib/module/utils/hapticUtils.js +51 -0
- package/lib/module/utils/imageCompression.js +46 -0
- package/lib/module/utils/index.js +8 -0
- package/lib/module/utils/responsive.js +42 -0
- package/lib/module/utils/shadows.js +7 -0
- package/lib/module/utils/spacing.js +82 -0
- package/lib/module/validators/index.js +143 -0
- package/lib/module/versionCheck/index.js +334 -0
- package/lib/typescript/commonjs/api/publicClient.d.ts +11 -0
- package/lib/typescript/commonjs/api/userClient.d.ts +18 -0
- package/lib/typescript/commonjs/auth/authStore.d.ts +20 -0
- package/lib/typescript/commonjs/auth/index.d.ts +5 -0
- package/lib/typescript/commonjs/auth/jwt.d.ts +31 -0
- package/lib/typescript/commonjs/components/Accordion/Accordion.d.ts +33 -0
- package/lib/typescript/commonjs/components/Accordion/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +42 -0
- package/lib/typescript/commonjs/components/Avatar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Badge/Badge.d.ts +27 -0
- package/lib/typescript/commonjs/components/Badge/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Banner/Banner.d.ts +27 -0
- package/lib/typescript/commonjs/components/Banner/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +34 -0
- package/lib/typescript/commonjs/components/BottomNavigation/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +45 -0
- package/lib/typescript/commonjs/components/BottomSheet/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Button/Button.d.ts +29 -0
- package/lib/typescript/commonjs/components/Button/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Card/Card.d.ts +29 -0
- package/lib/typescript/commonjs/components/Card/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Carousel/Carousel.d.ts +66 -0
- package/lib/typescript/commonjs/components/Carousel/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +24 -0
- package/lib/typescript/commonjs/components/Checkbox/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Chip/Chip.d.ts +25 -0
- package/lib/typescript/commonjs/components/Chip/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/DatePicker/DatePicker.d.ts +25 -0
- package/lib/typescript/commonjs/components/DatePicker/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +32 -0
- package/lib/typescript/commonjs/components/DateRangePicker/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Dialog/Dialog.d.ts +25 -0
- package/lib/typescript/commonjs/components/Dialog/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Divider/Divider.d.ts +21 -0
- package/lib/typescript/commonjs/components/Divider/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Drawer/Drawer.d.ts +53 -0
- package/lib/typescript/commonjs/components/Drawer/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/EmptyState/EmptyState.d.ts +25 -0
- package/lib/typescript/commonjs/components/EmptyState/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/FAB/FAB.d.ts +53 -0
- package/lib/typescript/commonjs/components/FAB/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Field/Field.d.ts +28 -0
- package/lib/typescript/commonjs/components/Field/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +39 -0
- package/lib/typescript/commonjs/components/ForceUpdateDialog/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Header/Header.d.ts +36 -0
- package/lib/typescript/commonjs/components/Header/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Icon/Icon.d.ts +20 -0
- package/lib/typescript/commonjs/components/Icon/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ImageGallery/ImageGallery.d.ts +41 -0
- package/lib/typescript/commonjs/components/ImageGallery/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Input/Input.d.ts +34 -0
- package/lib/typescript/commonjs/components/Input/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +30 -0
- package/lib/typescript/commonjs/components/ListItem/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/LoadingSpinner/LoadingSpinner.d.ts +20 -0
- package/lib/typescript/commonjs/components/LoadingSpinner/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Modal/Modal.d.ts +29 -0
- package/lib/typescript/commonjs/components/Modal/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +35 -0
- package/lib/typescript/commonjs/components/NumberInput/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/OTPInput/OTPInput.d.ts +29 -0
- package/lib/typescript/commonjs/components/OTPInput/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +21 -0
- package/lib/typescript/commonjs/components/ProgressBar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Radio/Radio.d.ts +32 -0
- package/lib/typescript/commonjs/components/Radio/RadioGroup.d.ts +16 -0
- package/lib/typescript/commonjs/components/Radio/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/Rating/Rating.d.ts +22 -0
- package/lib/typescript/commonjs/components/Rating/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +28 -0
- package/lib/typescript/commonjs/components/SearchBar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +36 -0
- package/lib/typescript/commonjs/components/SegmentedControl/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Select/Select.d.ts +48 -0
- package/lib/typescript/commonjs/components/Select/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/SkeletonLoader/SkeletonContent.d.ts +29 -0
- package/lib/typescript/commonjs/components/SkeletonLoader/SkeletonLoader.d.ts +42 -0
- package/lib/typescript/commonjs/components/SkeletonLoader/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/Slider/Slider.d.ts +33 -0
- package/lib/typescript/commonjs/components/Slider/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +25 -0
- package/lib/typescript/commonjs/components/Stepper/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Swipeable/Swipeable.d.ts +45 -0
- package/lib/typescript/commonjs/components/Swipeable/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Switch/Switch.d.ts +24 -0
- package/lib/typescript/commonjs/components/Switch/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +37 -0
- package/lib/typescript/commonjs/components/Tabs/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/TimePicker/TimePicker.d.ts +26 -0
- package/lib/typescript/commonjs/components/TimePicker/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Toast/Toast.d.ts +30 -0
- package/lib/typescript/commonjs/components/Toast/ToastProvider.d.ts +26 -0
- package/lib/typescript/commonjs/components/Toast/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts +22 -0
- package/lib/typescript/commonjs/components/Tooltip/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/index.d.ts +89 -0
- package/lib/typescript/commonjs/config/index.d.ts +40 -0
- package/lib/typescript/commonjs/formatters/currency.d.ts +24 -0
- package/lib/typescript/commonjs/formatters/date.d.ts +22 -0
- package/lib/typescript/commonjs/formatters/index.d.ts +8 -0
- package/lib/typescript/commonjs/formatters/initials.d.ts +11 -0
- package/lib/typescript/commonjs/formatters/number.d.ts +15 -0
- package/lib/typescript/commonjs/formatters/phone.d.ts +13 -0
- package/lib/typescript/commonjs/hooks/index.d.ts +6 -0
- package/lib/typescript/commonjs/hooks/useDebounce.d.ts +2 -0
- package/lib/typescript/commonjs/hooks/usePressAnimation.d.ts +14 -0
- package/lib/typescript/commonjs/hooks/useToggle.d.ts +9 -0
- package/lib/typescript/commonjs/index.d.ts +37 -0
- package/lib/typescript/commonjs/initSDK.d.ts +40 -0
- package/lib/typescript/commonjs/initUI.d.ts +12 -0
- package/lib/typescript/commonjs/initUserAuth.d.ts +22 -0
- package/lib/typescript/commonjs/logger/index.d.ts +42 -0
- package/lib/typescript/commonjs/network/NetworkStatusBanner.d.ts +19 -0
- package/lib/typescript/commonjs/network/index.d.ts +5 -0
- package/lib/typescript/commonjs/network/networkStatus.d.ts +27 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/permissions/index.d.ts +20 -0
- package/lib/typescript/commonjs/storage/index.d.ts +42 -0
- package/lib/typescript/commonjs/theme/ThemeContext.d.ts +18 -0
- package/lib/typescript/commonjs/theme/index.d.ts +13 -0
- package/lib/typescript/commonjs/theme/merge.d.ts +3 -0
- package/lib/typescript/commonjs/theme/tokens.d.ts +4 -0
- package/lib/typescript/commonjs/theme/types.d.ts +161 -0
- package/lib/typescript/commonjs/utils/dimensions.d.ts +3 -0
- package/lib/typescript/commonjs/utils/hapticUtils.d.ts +4 -0
- package/lib/typescript/commonjs/utils/imageCompression.d.ts +15 -0
- package/lib/typescript/commonjs/utils/index.d.ts +10 -0
- package/lib/typescript/commonjs/utils/responsive.d.ts +23 -0
- package/lib/typescript/commonjs/utils/shadows.d.ts +4 -0
- package/lib/typescript/commonjs/utils/spacing.d.ts +61 -0
- package/lib/typescript/commonjs/validators/index.d.ts +46 -0
- package/lib/typescript/commonjs/versionCheck/index.d.ts +59 -0
- package/lib/typescript/module/api/publicClient.d.ts +11 -0
- package/lib/typescript/module/api/userClient.d.ts +18 -0
- package/lib/typescript/module/auth/authStore.d.ts +20 -0
- package/lib/typescript/module/auth/index.d.ts +5 -0
- package/lib/typescript/module/auth/jwt.d.ts +31 -0
- package/lib/typescript/module/components/Accordion/Accordion.d.ts +33 -0
- package/lib/typescript/module/components/Accordion/index.d.ts +3 -0
- package/lib/typescript/module/components/Avatar/Avatar.d.ts +42 -0
- package/lib/typescript/module/components/Avatar/index.d.ts +3 -0
- package/lib/typescript/module/components/Badge/Badge.d.ts +27 -0
- package/lib/typescript/module/components/Badge/index.d.ts +3 -0
- package/lib/typescript/module/components/Banner/Banner.d.ts +27 -0
- package/lib/typescript/module/components/Banner/index.d.ts +3 -0
- package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +34 -0
- package/lib/typescript/module/components/BottomNavigation/index.d.ts +3 -0
- package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +45 -0
- package/lib/typescript/module/components/BottomSheet/index.d.ts +3 -0
- package/lib/typescript/module/components/Button/Button.d.ts +29 -0
- package/lib/typescript/module/components/Button/index.d.ts +3 -0
- package/lib/typescript/module/components/Card/Card.d.ts +29 -0
- package/lib/typescript/module/components/Card/index.d.ts +3 -0
- package/lib/typescript/module/components/Carousel/Carousel.d.ts +66 -0
- package/lib/typescript/module/components/Carousel/index.d.ts +3 -0
- package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +24 -0
- package/lib/typescript/module/components/Checkbox/index.d.ts +3 -0
- package/lib/typescript/module/components/Chip/Chip.d.ts +25 -0
- package/lib/typescript/module/components/Chip/index.d.ts +3 -0
- package/lib/typescript/module/components/DatePicker/DatePicker.d.ts +25 -0
- package/lib/typescript/module/components/DatePicker/index.d.ts +3 -0
- package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +32 -0
- package/lib/typescript/module/components/DateRangePicker/index.d.ts +3 -0
- package/lib/typescript/module/components/Dialog/Dialog.d.ts +25 -0
- package/lib/typescript/module/components/Dialog/index.d.ts +3 -0
- package/lib/typescript/module/components/Divider/Divider.d.ts +21 -0
- package/lib/typescript/module/components/Divider/index.d.ts +3 -0
- package/lib/typescript/module/components/Drawer/Drawer.d.ts +53 -0
- package/lib/typescript/module/components/Drawer/index.d.ts +3 -0
- package/lib/typescript/module/components/EmptyState/EmptyState.d.ts +25 -0
- package/lib/typescript/module/components/EmptyState/index.d.ts +3 -0
- package/lib/typescript/module/components/FAB/FAB.d.ts +53 -0
- package/lib/typescript/module/components/FAB/index.d.ts +3 -0
- package/lib/typescript/module/components/Field/Field.d.ts +28 -0
- package/lib/typescript/module/components/Field/index.d.ts +3 -0
- package/lib/typescript/module/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +39 -0
- package/lib/typescript/module/components/ForceUpdateDialog/index.d.ts +3 -0
- package/lib/typescript/module/components/Header/Header.d.ts +36 -0
- package/lib/typescript/module/components/Header/index.d.ts +3 -0
- package/lib/typescript/module/components/Icon/Icon.d.ts +20 -0
- package/lib/typescript/module/components/Icon/index.d.ts +3 -0
- package/lib/typescript/module/components/ImageGallery/ImageGallery.d.ts +41 -0
- package/lib/typescript/module/components/ImageGallery/index.d.ts +3 -0
- package/lib/typescript/module/components/Input/Input.d.ts +34 -0
- package/lib/typescript/module/components/Input/index.d.ts +3 -0
- package/lib/typescript/module/components/ListItem/ListItem.d.ts +30 -0
- package/lib/typescript/module/components/ListItem/index.d.ts +4 -0
- package/lib/typescript/module/components/LoadingSpinner/LoadingSpinner.d.ts +20 -0
- package/lib/typescript/module/components/LoadingSpinner/index.d.ts +3 -0
- package/lib/typescript/module/components/Modal/Modal.d.ts +29 -0
- package/lib/typescript/module/components/Modal/index.d.ts +3 -0
- package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +35 -0
- package/lib/typescript/module/components/NumberInput/index.d.ts +3 -0
- package/lib/typescript/module/components/OTPInput/OTPInput.d.ts +29 -0
- package/lib/typescript/module/components/OTPInput/index.d.ts +3 -0
- package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +21 -0
- package/lib/typescript/module/components/ProgressBar/index.d.ts +3 -0
- package/lib/typescript/module/components/Radio/Radio.d.ts +32 -0
- package/lib/typescript/module/components/Radio/RadioGroup.d.ts +16 -0
- package/lib/typescript/module/components/Radio/index.d.ts +5 -0
- package/lib/typescript/module/components/Rating/Rating.d.ts +22 -0
- package/lib/typescript/module/components/Rating/index.d.ts +3 -0
- package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +28 -0
- package/lib/typescript/module/components/SearchBar/index.d.ts +3 -0
- package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +36 -0
- package/lib/typescript/module/components/SegmentedControl/index.d.ts +3 -0
- package/lib/typescript/module/components/Select/Select.d.ts +48 -0
- package/lib/typescript/module/components/Select/index.d.ts +3 -0
- package/lib/typescript/module/components/SkeletonLoader/SkeletonContent.d.ts +29 -0
- package/lib/typescript/module/components/SkeletonLoader/SkeletonLoader.d.ts +42 -0
- package/lib/typescript/module/components/SkeletonLoader/index.d.ts +5 -0
- package/lib/typescript/module/components/Slider/Slider.d.ts +33 -0
- package/lib/typescript/module/components/Slider/index.d.ts +3 -0
- package/lib/typescript/module/components/Stepper/Stepper.d.ts +25 -0
- package/lib/typescript/module/components/Stepper/index.d.ts +3 -0
- package/lib/typescript/module/components/Swipeable/Swipeable.d.ts +45 -0
- package/lib/typescript/module/components/Swipeable/index.d.ts +3 -0
- package/lib/typescript/module/components/Switch/Switch.d.ts +24 -0
- package/lib/typescript/module/components/Switch/index.d.ts +3 -0
- package/lib/typescript/module/components/Tabs/Tabs.d.ts +37 -0
- package/lib/typescript/module/components/Tabs/index.d.ts +3 -0
- package/lib/typescript/module/components/TimePicker/TimePicker.d.ts +26 -0
- package/lib/typescript/module/components/TimePicker/index.d.ts +3 -0
- package/lib/typescript/module/components/Toast/Toast.d.ts +30 -0
- package/lib/typescript/module/components/Toast/ToastProvider.d.ts +26 -0
- package/lib/typescript/module/components/Toast/index.d.ts +5 -0
- package/lib/typescript/module/components/Tooltip/Tooltip.d.ts +22 -0
- package/lib/typescript/module/components/Tooltip/index.d.ts +3 -0
- package/lib/typescript/module/components/index.d.ts +89 -0
- package/lib/typescript/module/config/index.d.ts +40 -0
- package/lib/typescript/module/formatters/currency.d.ts +24 -0
- package/lib/typescript/module/formatters/date.d.ts +22 -0
- package/lib/typescript/module/formatters/index.d.ts +8 -0
- package/lib/typescript/module/formatters/initials.d.ts +11 -0
- package/lib/typescript/module/formatters/number.d.ts +15 -0
- package/lib/typescript/module/formatters/phone.d.ts +13 -0
- package/lib/typescript/module/hooks/index.d.ts +6 -0
- package/lib/typescript/module/hooks/useDebounce.d.ts +2 -0
- package/lib/typescript/module/hooks/usePressAnimation.d.ts +14 -0
- package/lib/typescript/module/hooks/useToggle.d.ts +9 -0
- package/lib/typescript/module/index.d.ts +37 -0
- package/lib/typescript/module/initSDK.d.ts +40 -0
- package/lib/typescript/module/initUI.d.ts +12 -0
- package/lib/typescript/module/initUserAuth.d.ts +22 -0
- package/lib/typescript/module/logger/index.d.ts +42 -0
- package/lib/typescript/module/network/NetworkStatusBanner.d.ts +19 -0
- package/lib/typescript/module/network/index.d.ts +5 -0
- package/lib/typescript/module/network/networkStatus.d.ts +27 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/permissions/index.d.ts +20 -0
- package/lib/typescript/module/storage/index.d.ts +42 -0
- package/lib/typescript/module/theme/ThemeContext.d.ts +18 -0
- package/lib/typescript/module/theme/index.d.ts +13 -0
- package/lib/typescript/module/theme/merge.d.ts +3 -0
- package/lib/typescript/module/theme/tokens.d.ts +4 -0
- package/lib/typescript/module/theme/types.d.ts +161 -0
- package/lib/typescript/module/utils/dimensions.d.ts +3 -0
- package/lib/typescript/module/utils/hapticUtils.d.ts +4 -0
- package/lib/typescript/module/utils/imageCompression.d.ts +15 -0
- package/lib/typescript/module/utils/index.d.ts +10 -0
- package/lib/typescript/module/utils/responsive.d.ts +23 -0
- package/lib/typescript/module/utils/shadows.d.ts +4 -0
- package/lib/typescript/module/utils/spacing.d.ts +61 -0
- package/lib/typescript/module/validators/index.d.ts +46 -0
- package/lib/typescript/module/versionCheck/index.d.ts +59 -0
- package/package.json +137 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ImageGallery — themed gallery built on top of Carousel.
|
|
3
|
+
*
|
|
4
|
+
* Base view: a Carousel of cover-fitted images with optional thumbnails strip
|
|
5
|
+
* and counter pill. Tapping an image opens a fullscreen Lightbox that re-uses
|
|
6
|
+
* the Carousel for swiping but layers Reanimated 3 pinch-to-zoom + pan gestures
|
|
7
|
+
* on top so the active image can be inspected at up to 4x magnification.
|
|
8
|
+
*
|
|
9
|
+
* USAGE:
|
|
10
|
+
*
|
|
11
|
+
* <ImageGallery
|
|
12
|
+
* images={[
|
|
13
|
+
* { source: { uri: 'https://...' }, caption: 'Sunset' },
|
|
14
|
+
* { source: { uri: 'https://...' }, alt: 'Tower at dusk' }
|
|
15
|
+
* ]}
|
|
16
|
+
* initialIndex={0}
|
|
17
|
+
* />
|
|
18
|
+
*/
|
|
19
|
+
import React from 'react';
|
|
20
|
+
import type { ImageSourcePropType, StyleProp, ViewStyle } from 'react-native';
|
|
21
|
+
export interface GalleryImage {
|
|
22
|
+
source: ImageSourcePropType;
|
|
23
|
+
caption?: string;
|
|
24
|
+
alt?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ImageGalleryProps {
|
|
27
|
+
images: GalleryImage[];
|
|
28
|
+
initialIndex?: number;
|
|
29
|
+
showThumbnails?: boolean;
|
|
30
|
+
showCounter?: boolean;
|
|
31
|
+
enableLightbox?: boolean;
|
|
32
|
+
enablePinchZoom?: boolean;
|
|
33
|
+
onIndexChange?: (idx: number) => void;
|
|
34
|
+
accessibilityLabel?: string;
|
|
35
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
36
|
+
testID?: string;
|
|
37
|
+
}
|
|
38
|
+
declare const ImageGallery: React.FC<ImageGalleryProps>;
|
|
39
|
+
export { ImageGallery };
|
|
40
|
+
export default ImageGallery;
|
|
41
|
+
//# sourceMappingURL=ImageGallery.d.ts.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextInput } from 'react-native';
|
|
3
|
+
import type { BlurEvent, FocusEvent, StyleProp, TextInputProps, TextStyle, ViewStyle } from 'react-native';
|
|
4
|
+
export type InputSize = 'sm' | 'md' | 'lg';
|
|
5
|
+
export type InputVariant = 'outlined' | 'filled';
|
|
6
|
+
export interface InputProps extends Omit<TextInputProps, 'style'> {
|
|
7
|
+
label?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
value?: string;
|
|
10
|
+
onChangeText?: (text: string) => void;
|
|
11
|
+
error?: string;
|
|
12
|
+
helperText?: string;
|
|
13
|
+
secureTextEntry?: boolean;
|
|
14
|
+
showPasswordToggle?: boolean;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
multiline?: boolean;
|
|
17
|
+
leftIcon?: React.ReactNode;
|
|
18
|
+
rightIcon?: React.ReactNode;
|
|
19
|
+
size?: InputSize;
|
|
20
|
+
variant?: InputVariant;
|
|
21
|
+
required?: boolean;
|
|
22
|
+
maxLength?: number;
|
|
23
|
+
style?: StyleProp<ViewStyle>;
|
|
24
|
+
inputStyle?: StyleProp<TextStyle>;
|
|
25
|
+
labelStyle?: StyleProp<TextStyle>;
|
|
26
|
+
onFocus?: (e: FocusEvent) => void;
|
|
27
|
+
onBlur?: (e: BlurEvent) => void;
|
|
28
|
+
accessibilityLabel?: string;
|
|
29
|
+
testID?: string;
|
|
30
|
+
}
|
|
31
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<TextInput>>;
|
|
32
|
+
export { Input };
|
|
33
|
+
export default Input;
|
|
34
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import type { GestureResponderEvent, StyleProp, ViewStyle } from 'react-native';
|
|
4
|
+
import type { SwipeableAction } from '../Swipeable';
|
|
5
|
+
export type ListItemSize = 'sm' | 'md' | 'lg';
|
|
6
|
+
export interface ListItemProps {
|
|
7
|
+
title: string;
|
|
8
|
+
subtitle?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
left?: React.ReactNode;
|
|
11
|
+
right?: React.ReactNode;
|
|
12
|
+
onPress?: (event: GestureResponderEvent) => void;
|
|
13
|
+
selected?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
size?: ListItemSize;
|
|
16
|
+
divider?: boolean;
|
|
17
|
+
chevron?: boolean;
|
|
18
|
+
/** Optional swipe-from-left actions. Wraps the row in a Swipeable when provided. */
|
|
19
|
+
leftActions?: SwipeableAction[];
|
|
20
|
+
/** Optional swipe-from-right actions. Wraps the row in a Swipeable when provided. */
|
|
21
|
+
rightActions?: SwipeableAction[];
|
|
22
|
+
accessibilityLabel?: string;
|
|
23
|
+
accessibilityHint?: string;
|
|
24
|
+
style?: StyleProp<ViewStyle>;
|
|
25
|
+
testID?: string;
|
|
26
|
+
}
|
|
27
|
+
declare const ListItem: React.ForwardRefExoticComponent<ListItemProps & React.RefAttributes<View>>;
|
|
28
|
+
export { ListItem };
|
|
29
|
+
export default ListItem;
|
|
30
|
+
//# sourceMappingURL=ListItem.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
+
export type LoadingSpinnerSize = 'small' | 'medium' | 'large';
|
|
5
|
+
export type LoadingSpinnerVariant = 'circular' | 'dots';
|
|
6
|
+
export interface LoadingSpinnerProps {
|
|
7
|
+
size?: LoadingSpinnerSize;
|
|
8
|
+
color?: string;
|
|
9
|
+
message?: string;
|
|
10
|
+
overlay?: boolean;
|
|
11
|
+
backdropColor?: string;
|
|
12
|
+
variant?: LoadingSpinnerVariant;
|
|
13
|
+
accessibilityLabel?: string;
|
|
14
|
+
style?: StyleProp<ViewStyle>;
|
|
15
|
+
testID?: string;
|
|
16
|
+
}
|
|
17
|
+
declare const LoadingSpinner: React.ForwardRefExoticComponent<LoadingSpinnerProps & React.RefAttributes<View>>;
|
|
18
|
+
export { LoadingSpinner };
|
|
19
|
+
export default LoadingSpinner;
|
|
20
|
+
//# sourceMappingURL=LoadingSpinner.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import type { StyleProp, View as RNView, ViewStyle } from 'react-native';
|
|
4
|
+
export type ModalPresentation = 'centered' | 'bottom' | 'fullScreen';
|
|
5
|
+
export interface ModalProps {
|
|
6
|
+
visible: boolean;
|
|
7
|
+
onRequestClose: () => void;
|
|
8
|
+
presentation?: ModalPresentation;
|
|
9
|
+
backdropOpacity?: number;
|
|
10
|
+
backdropPressClose?: boolean;
|
|
11
|
+
animationDuration?: number;
|
|
12
|
+
accessibilityLabel?: string;
|
|
13
|
+
hardwareBackPress?: boolean;
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
contentStyle?: StyleProp<ViewStyle>;
|
|
16
|
+
backdropStyle?: StyleProp<ViewStyle>;
|
|
17
|
+
/**
|
|
18
|
+
* Optional ref to the View that triggered the modal. When the modal closes,
|
|
19
|
+
* accessibility focus is restored to that View so screen-reader users land
|
|
20
|
+
* back where they invoked the dialog instead of at the top of the screen.
|
|
21
|
+
* Opt-in: when undefined, focus behaviour is unchanged.
|
|
22
|
+
*/
|
|
23
|
+
restoreFocusRef?: React.RefObject<RNView | null>;
|
|
24
|
+
testID?: string;
|
|
25
|
+
}
|
|
26
|
+
declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<View>>;
|
|
27
|
+
export { Modal };
|
|
28
|
+
export default Modal;
|
|
29
|
+
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StyleProp, TextInputProps, TextStyle, ViewStyle } from 'react-native';
|
|
3
|
+
export type NumberInputSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
export type NumberInputVariant = 'inline' | 'horizontal' | 'stacked';
|
|
5
|
+
export interface NumberInputRef {
|
|
6
|
+
focus: () => void;
|
|
7
|
+
blur: () => void;
|
|
8
|
+
clear: () => void;
|
|
9
|
+
}
|
|
10
|
+
export interface NumberInputProps {
|
|
11
|
+
value: number;
|
|
12
|
+
onChange: (value: number) => void;
|
|
13
|
+
min?: number;
|
|
14
|
+
max?: number;
|
|
15
|
+
step?: number;
|
|
16
|
+
allowDecimal?: boolean;
|
|
17
|
+
precision?: number;
|
|
18
|
+
label?: string;
|
|
19
|
+
helperText?: string;
|
|
20
|
+
error?: string;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
size?: NumberInputSize;
|
|
23
|
+
variant?: NumberInputVariant;
|
|
24
|
+
unit?: string;
|
|
25
|
+
accessibilityLabel?: string;
|
|
26
|
+
style?: StyleProp<ViewStyle>;
|
|
27
|
+
inputStyle?: StyleProp<TextStyle>;
|
|
28
|
+
labelStyle?: StyleProp<TextStyle>;
|
|
29
|
+
textInputProps?: Omit<TextInputProps, 'value' | 'onChangeText' | 'onBlur' | 'keyboardType' | 'editable'>;
|
|
30
|
+
testID?: string;
|
|
31
|
+
}
|
|
32
|
+
declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<NumberInputRef>>;
|
|
33
|
+
export { NumberInput };
|
|
34
|
+
export default NumberInput;
|
|
35
|
+
//# sourceMappingURL=NumberInput.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
3
|
+
export type OTPInputSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
export interface OTPInputRef {
|
|
5
|
+
focus: () => void;
|
|
6
|
+
blur: () => void;
|
|
7
|
+
clear: () => void;
|
|
8
|
+
}
|
|
9
|
+
export interface OTPInputProps {
|
|
10
|
+
value: string;
|
|
11
|
+
onChange: (value: string) => void;
|
|
12
|
+
onComplete?: (value: string) => void;
|
|
13
|
+
length?: number;
|
|
14
|
+
keyboardType?: 'number-pad' | 'default';
|
|
15
|
+
autoFocus?: boolean;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
error?: boolean | string;
|
|
18
|
+
size?: OTPInputSize;
|
|
19
|
+
secure?: boolean;
|
|
20
|
+
accessibilityLabel?: string;
|
|
21
|
+
style?: StyleProp<ViewStyle>;
|
|
22
|
+
cellStyle?: StyleProp<ViewStyle>;
|
|
23
|
+
textStyle?: StyleProp<TextStyle>;
|
|
24
|
+
testID?: string;
|
|
25
|
+
}
|
|
26
|
+
declare const OTPInput: React.ForwardRefExoticComponent<OTPInputProps & React.RefAttributes<OTPInputRef>>;
|
|
27
|
+
export { OTPInput };
|
|
28
|
+
export default OTPInput;
|
|
29
|
+
//# sourceMappingURL=OTPInput.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
+
export type ProgressBarTone = 'primary' | 'success' | 'warning' | 'error';
|
|
5
|
+
export interface ProgressBarProps {
|
|
6
|
+
progress?: number;
|
|
7
|
+
indeterminate?: boolean;
|
|
8
|
+
height?: number;
|
|
9
|
+
radius?: number;
|
|
10
|
+
tone?: ProgressBarTone;
|
|
11
|
+
trackColor?: string;
|
|
12
|
+
barColor?: string;
|
|
13
|
+
animated?: boolean;
|
|
14
|
+
style?: StyleProp<ViewStyle>;
|
|
15
|
+
accessibilityLabel?: string;
|
|
16
|
+
testID?: string;
|
|
17
|
+
}
|
|
18
|
+
declare const ProgressBar: React.ForwardRefExoticComponent<ProgressBarProps & React.RefAttributes<View>>;
|
|
19
|
+
export { ProgressBar };
|
|
20
|
+
export default ProgressBar;
|
|
21
|
+
//# sourceMappingURL=ProgressBar.d.ts.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import type { PressableProps, StyleProp, ViewStyle } from 'react-native';
|
|
4
|
+
import type { HapticType } from '../../utils/hapticUtils';
|
|
5
|
+
export type RadioSize = 'sm' | 'md' | 'lg';
|
|
6
|
+
export type RadioTone = 'primary' | 'success' | 'warning' | 'error';
|
|
7
|
+
export type RadioValue = string | number;
|
|
8
|
+
export interface RadioGroupContextValue {
|
|
9
|
+
selectedValue: RadioValue | undefined;
|
|
10
|
+
onSelect: (value: RadioValue) => void;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const RadioGroupContext: React.Context<RadioGroupContextValue | null>;
|
|
14
|
+
export declare const useRadioGroup: () => RadioGroupContextValue | null;
|
|
15
|
+
export interface RadioProps extends Omit<PressableProps, 'style' | 'children' | 'onPress'> {
|
|
16
|
+
value: RadioValue;
|
|
17
|
+
selected?: boolean;
|
|
18
|
+
onSelect?: (value: RadioValue) => void;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
label?: string;
|
|
21
|
+
size?: RadioSize;
|
|
22
|
+
tone?: RadioTone;
|
|
23
|
+
accessibilityLabel?: string;
|
|
24
|
+
haptic?: HapticType | false;
|
|
25
|
+
style?: StyleProp<ViewStyle>;
|
|
26
|
+
circleStyle?: StyleProp<ViewStyle>;
|
|
27
|
+
testID?: string;
|
|
28
|
+
}
|
|
29
|
+
declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<View>>;
|
|
30
|
+
export { Radio };
|
|
31
|
+
export default Radio;
|
|
32
|
+
//# sourceMappingURL=Radio.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
import type { RadioValue } from './Radio';
|
|
4
|
+
export interface RadioGroupProps {
|
|
5
|
+
value: RadioValue;
|
|
6
|
+
onChange: (value: RadioValue) => void;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
accessibilityLabel?: string;
|
|
10
|
+
style?: StyleProp<ViewStyle>;
|
|
11
|
+
testID?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const RadioGroup: React.FC<RadioGroupProps>;
|
|
14
|
+
export { RadioGroup };
|
|
15
|
+
export default RadioGroup;
|
|
16
|
+
//# sourceMappingURL=RadioGroup.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Radio, default, useRadioGroup, RadioGroupContext } from './Radio';
|
|
2
|
+
export type { RadioProps, RadioSize, RadioTone, RadioValue, RadioGroupContextValue } from './Radio';
|
|
3
|
+
export { RadioGroup } from './RadioGroup';
|
|
4
|
+
export type { RadioGroupProps } from './RadioGroup';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
+
export type RatingTone = 'primary' | 'warning';
|
|
5
|
+
export type RatingSize = 'sm' | 'md' | 'lg' | number;
|
|
6
|
+
export interface RatingProps {
|
|
7
|
+
value: number;
|
|
8
|
+
onChange?: (value: number) => void;
|
|
9
|
+
max?: number;
|
|
10
|
+
allowHalf?: boolean;
|
|
11
|
+
readonly?: boolean;
|
|
12
|
+
size?: RatingSize;
|
|
13
|
+
tone?: RatingTone;
|
|
14
|
+
label?: string;
|
|
15
|
+
accessibilityLabel?: string;
|
|
16
|
+
style?: StyleProp<ViewStyle>;
|
|
17
|
+
testID?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAttributes<View>>;
|
|
20
|
+
export { Rating };
|
|
21
|
+
export default Rating;
|
|
22
|
+
//# sourceMappingURL=Rating.d.ts.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextInput } from 'react-native';
|
|
3
|
+
import type { StyleProp, TextInputProps, ViewStyle } from 'react-native';
|
|
4
|
+
export type SearchBarSize = 'sm' | 'md' | 'lg';
|
|
5
|
+
export type SearchBarVariant = 'filled' | 'outlined';
|
|
6
|
+
export interface SearchBarProps extends Omit<TextInputProps, 'style' | 'value' | 'onChangeText'> {
|
|
7
|
+
value: string;
|
|
8
|
+
onChangeText: (text: string) => void;
|
|
9
|
+
onSubmit?: (text: string) => void;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
autoFocus?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
showCancel?: boolean;
|
|
14
|
+
onCancel?: () => void;
|
|
15
|
+
onClear?: () => void;
|
|
16
|
+
leftIcon?: React.ReactNode;
|
|
17
|
+
debounceMs?: number;
|
|
18
|
+
size?: SearchBarSize;
|
|
19
|
+
variant?: SearchBarVariant;
|
|
20
|
+
cancelLabel?: string;
|
|
21
|
+
style?: StyleProp<ViewStyle>;
|
|
22
|
+
accessibilityLabel?: string;
|
|
23
|
+
testID?: string;
|
|
24
|
+
}
|
|
25
|
+
declare const SearchBar: React.ForwardRefExoticComponent<SearchBarProps & React.RefAttributes<TextInput>>;
|
|
26
|
+
export { SearchBar };
|
|
27
|
+
export default SearchBar;
|
|
28
|
+
//# sourceMappingURL=SearchBar.d.ts.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SegmentedControl — iOS-style segmented control.
|
|
3
|
+
*
|
|
4
|
+
* Rounded container with equal-width segments and an animated thumb that
|
|
5
|
+
* springs between selected segments. Theme-aware, dark-mode friendly,
|
|
6
|
+
* fully accessible (radiogroup / radio roles + selected state).
|
|
7
|
+
*/
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import { View } from 'react-native';
|
|
10
|
+
import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
11
|
+
export type SegmentedControlSize = 'sm' | 'md';
|
|
12
|
+
export type SegmentedControlTone = 'primary' | 'neutral';
|
|
13
|
+
export type SegmentValue = string | number;
|
|
14
|
+
export interface SegmentItem {
|
|
15
|
+
label: string;
|
|
16
|
+
value: SegmentValue;
|
|
17
|
+
icon?: React.ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export interface SegmentedControlProps {
|
|
20
|
+
segments: SegmentItem[];
|
|
21
|
+
value: SegmentValue;
|
|
22
|
+
onChange: (value: SegmentValue) => void;
|
|
23
|
+
size?: SegmentedControlSize;
|
|
24
|
+
fullWidth?: boolean;
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
tone?: SegmentedControlTone;
|
|
27
|
+
accessibilityLabel?: string;
|
|
28
|
+
style?: StyleProp<ViewStyle>;
|
|
29
|
+
segmentStyle?: StyleProp<ViewStyle>;
|
|
30
|
+
textStyle?: StyleProp<TextStyle>;
|
|
31
|
+
testID?: string;
|
|
32
|
+
}
|
|
33
|
+
declare const SegmentedControl: React.ForwardRefExoticComponent<SegmentedControlProps & React.RefAttributes<View>>;
|
|
34
|
+
export { SegmentedControl };
|
|
35
|
+
export default SegmentedControl;
|
|
36
|
+
//# sourceMappingURL=SegmentedControl.d.ts.map
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Select — single + multi select with bottom-sheet picker.
|
|
3
|
+
*
|
|
4
|
+
* Self-contained: implements its own RN Modal-backed slide-up sheet so it has
|
|
5
|
+
* no internal dependency on the BottomSheet component. Supports optional
|
|
6
|
+
* client-side search, theme-aware styling, full a11y, and dark-mode auto.
|
|
7
|
+
*/
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import { View } from 'react-native';
|
|
10
|
+
import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
11
|
+
export type SelectSize = 'sm' | 'md' | 'lg';
|
|
12
|
+
export type SelectValue = string | number;
|
|
13
|
+
export interface SelectOption {
|
|
14
|
+
label: string;
|
|
15
|
+
value: SelectValue;
|
|
16
|
+
description?: string;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
icon?: React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
interface BaseSelectProps {
|
|
21
|
+
options: SelectOption[];
|
|
22
|
+
placeholder?: string;
|
|
23
|
+
searchable?: boolean;
|
|
24
|
+
label?: string;
|
|
25
|
+
error?: string;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
size?: SelectSize;
|
|
28
|
+
accessibilityLabel?: string;
|
|
29
|
+
style?: StyleProp<ViewStyle>;
|
|
30
|
+
triggerStyle?: StyleProp<ViewStyle>;
|
|
31
|
+
textStyle?: StyleProp<TextStyle>;
|
|
32
|
+
testID?: string;
|
|
33
|
+
}
|
|
34
|
+
interface SingleSelectProps extends BaseSelectProps {
|
|
35
|
+
multi?: false;
|
|
36
|
+
value?: SelectValue;
|
|
37
|
+
onChange: (value: SelectValue) => void;
|
|
38
|
+
}
|
|
39
|
+
interface MultiSelectProps extends BaseSelectProps {
|
|
40
|
+
multi: true;
|
|
41
|
+
value?: SelectValue[];
|
|
42
|
+
onChange: (value: SelectValue[]) => void;
|
|
43
|
+
}
|
|
44
|
+
export type SelectProps = SingleSelectProps | MultiSelectProps;
|
|
45
|
+
declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<View>>;
|
|
46
|
+
export { Select };
|
|
47
|
+
export default Select;
|
|
48
|
+
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
+
import type { SkeletonSpeed, SkeletonVariant } from './SkeletonLoader';
|
|
5
|
+
export type SkeletonContentMode = 'auto' | 'block';
|
|
6
|
+
export interface SkeletonContentProps {
|
|
7
|
+
/** When true, replace children with skeleton placeholders. */
|
|
8
|
+
loading: boolean;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
/** Animation style — same as Skeleton. */
|
|
11
|
+
variant?: SkeletonVariant;
|
|
12
|
+
/** Animation speed — same as Skeleton. */
|
|
13
|
+
speed?: SkeletonSpeed;
|
|
14
|
+
/**
|
|
15
|
+
* - `'auto'` (default): walks the children tree and replaces every `<Text>`, `<Image>`, and
|
|
16
|
+
* sized leaf `<View>` with a `<Skeleton>` matching the element's style dimensions.
|
|
17
|
+
* Use this when your loading layout mirrors your real layout (typical case).
|
|
18
|
+
* - `'block'`: renders a single rectangular skeleton sized to the children's overall bounds.
|
|
19
|
+
* Useful when children are opaque components whose props (e.g. `Button title=...`) the walker
|
|
20
|
+
* cannot inspect.
|
|
21
|
+
*/
|
|
22
|
+
mode?: SkeletonContentMode;
|
|
23
|
+
style?: StyleProp<ViewStyle>;
|
|
24
|
+
testID?: string;
|
|
25
|
+
}
|
|
26
|
+
declare const SkeletonContent: React.FC<SkeletonContentProps>;
|
|
27
|
+
export { SkeletonContent };
|
|
28
|
+
export default SkeletonContent;
|
|
29
|
+
//# sourceMappingURL=SkeletonContent.d.ts.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
import type { RadiusScale } from '../../theme/types';
|
|
4
|
+
export type SkeletonVariant = 'shimmer' | 'pulse';
|
|
5
|
+
export type SkeletonSpeed = 'slow' | 'normal' | 'fast';
|
|
6
|
+
export type SkeletonRadius = keyof Pick<RadiusScale, 'sm' | 'md' | 'lg' | 'xl' | 'full'> | number;
|
|
7
|
+
export type SkeletonWidth = number | 'auto' | '100%' | `${number}%`;
|
|
8
|
+
export type SkeletonAvatarSize = 'sm' | 'md' | 'lg';
|
|
9
|
+
export interface SkeletonProps {
|
|
10
|
+
width?: SkeletonWidth;
|
|
11
|
+
height?: number;
|
|
12
|
+
radius?: SkeletonRadius;
|
|
13
|
+
variant?: SkeletonVariant;
|
|
14
|
+
speed?: SkeletonSpeed;
|
|
15
|
+
style?: StyleProp<ViewStyle>;
|
|
16
|
+
testID?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface SkeletonCircleProps extends Omit<SkeletonProps, 'width' | 'height' | 'radius'> {
|
|
19
|
+
size: number;
|
|
20
|
+
}
|
|
21
|
+
export interface SkeletonTextProps extends Omit<SkeletonProps, 'height'> {
|
|
22
|
+
lines?: number;
|
|
23
|
+
lastLineWidth?: SkeletonWidth;
|
|
24
|
+
spacing?: number;
|
|
25
|
+
fontSize?: number;
|
|
26
|
+
}
|
|
27
|
+
export interface SkeletonAvatarProps extends Omit<SkeletonProps, 'width' | 'height' | 'radius'> {
|
|
28
|
+
size?: SkeletonAvatarSize;
|
|
29
|
+
}
|
|
30
|
+
export type SkeletonCardProps = Omit<SkeletonProps, 'height'>;
|
|
31
|
+
export interface SkeletonListItemProps extends Omit<SkeletonProps, 'width' | 'height'> {
|
|
32
|
+
avatarSize?: SkeletonAvatarSize;
|
|
33
|
+
}
|
|
34
|
+
declare const Skeleton: React.FC<SkeletonProps>;
|
|
35
|
+
declare const SkeletonCircle: React.FC<SkeletonCircleProps>;
|
|
36
|
+
declare const SkeletonText: React.FC<SkeletonTextProps>;
|
|
37
|
+
declare const SkeletonAvatar: React.FC<SkeletonAvatarProps>;
|
|
38
|
+
declare const SkeletonCard: React.FC<SkeletonCardProps>;
|
|
39
|
+
declare const SkeletonListItem: React.FC<SkeletonListItemProps>;
|
|
40
|
+
export { Skeleton, SkeletonCircle, SkeletonText, SkeletonAvatar, SkeletonCard, SkeletonListItem };
|
|
41
|
+
export default Skeleton;
|
|
42
|
+
//# sourceMappingURL=SkeletonLoader.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Skeleton, SkeletonCircle, SkeletonText, SkeletonAvatar, SkeletonCard, SkeletonListItem, default } from './SkeletonLoader';
|
|
2
|
+
export type { SkeletonProps, SkeletonCircleProps, SkeletonTextProps, SkeletonAvatarProps, SkeletonCardProps, SkeletonListItemProps, SkeletonVariant, SkeletonSpeed, SkeletonRadius, SkeletonWidth, SkeletonAvatarSize } from './SkeletonLoader';
|
|
3
|
+
export { SkeletonContent } from './SkeletonContent';
|
|
4
|
+
export type { SkeletonContentProps, SkeletonContentMode } from './SkeletonContent';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
+
export type SliderTone = 'primary' | 'success' | 'warning' | 'error';
|
|
5
|
+
export type SliderSize = 'sm' | 'md' | 'lg';
|
|
6
|
+
interface SliderCommonProps {
|
|
7
|
+
min?: number;
|
|
8
|
+
max?: number;
|
|
9
|
+
step?: number;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
tone?: SliderTone;
|
|
12
|
+
size?: SliderSize;
|
|
13
|
+
showLabel?: boolean;
|
|
14
|
+
formatLabel?: (value: number) => string;
|
|
15
|
+
accessibilityLabel?: string;
|
|
16
|
+
style?: StyleProp<ViewStyle>;
|
|
17
|
+
testID?: string;
|
|
18
|
+
}
|
|
19
|
+
interface SliderSingleProps extends SliderCommonProps {
|
|
20
|
+
range?: false;
|
|
21
|
+
value: number;
|
|
22
|
+
onChange: (value: number) => void;
|
|
23
|
+
}
|
|
24
|
+
interface SliderRangeProps extends SliderCommonProps {
|
|
25
|
+
range: true;
|
|
26
|
+
value: [number, number];
|
|
27
|
+
onChange: (value: [number, number]) => void;
|
|
28
|
+
}
|
|
29
|
+
export type SliderProps = SliderSingleProps | SliderRangeProps;
|
|
30
|
+
declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<View>>;
|
|
31
|
+
export { Slider };
|
|
32
|
+
export default Slider;
|
|
33
|
+
//# sourceMappingURL=Slider.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
+
export type StepperVariant = 'horizontal' | 'vertical';
|
|
5
|
+
export type StepperTone = 'primary' | 'success';
|
|
6
|
+
export interface StepperStep {
|
|
7
|
+
key: string;
|
|
8
|
+
label: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
icon?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export interface StepperProps {
|
|
13
|
+
steps: StepperStep[];
|
|
14
|
+
activeStep: number;
|
|
15
|
+
onStepPress?: (index: number) => void;
|
|
16
|
+
variant?: StepperVariant;
|
|
17
|
+
tone?: StepperTone;
|
|
18
|
+
accessibilityLabel?: string;
|
|
19
|
+
style?: StyleProp<ViewStyle>;
|
|
20
|
+
testID?: string;
|
|
21
|
+
}
|
|
22
|
+
declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<View>>;
|
|
23
|
+
export { Stepper };
|
|
24
|
+
export default Stepper;
|
|
25
|
+
//# sourceMappingURL=Stepper.d.ts.map
|