@webority-technologies/mobile-ui 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 +15 -0
- package/lib/commonjs/components/Accordion/Accordion.js +331 -0
- package/lib/commonjs/components/Accordion/index.js +26 -0
- package/lib/commonjs/components/AnimatePresence/AnimatePresence.js +71 -0
- package/lib/commonjs/components/AnimatePresence/index.js +13 -0
- package/lib/commonjs/components/AppBar/AppBar.js +355 -0
- package/lib/commonjs/components/AppBar/index.js +20 -0
- package/lib/commonjs/components/AsyncBlock/AsyncBlock.js +87 -0
- package/lib/commonjs/components/AsyncBlock/index.js +20 -0
- package/lib/commonjs/components/Autocomplete/Autocomplete.js +225 -0
- package/lib/commonjs/components/Autocomplete/index.js +13 -0
- package/lib/commonjs/components/Avatar/Avatar.js +348 -0
- package/lib/commonjs/components/Avatar/index.js +26 -0
- package/lib/commonjs/components/Badge/Badge.js +295 -0
- package/lib/commonjs/components/Badge/index.js +20 -0
- package/lib/commonjs/components/Banner/Banner.js +395 -0
- package/lib/commonjs/components/Banner/index.js +20 -0
- package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +336 -0
- package/lib/commonjs/components/BottomNavigation/index.js +20 -0
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +558 -0
- package/lib/commonjs/components/BottomSheet/index.js +26 -0
- package/lib/commonjs/components/Box/Box.js +204 -0
- package/lib/commonjs/components/Box/index.js +37 -0
- package/lib/commonjs/components/Button/Button.js +316 -0
- package/lib/commonjs/components/Button/index.js +20 -0
- package/lib/commonjs/components/Card/Card.js +314 -0
- package/lib/commonjs/components/Card/index.js +20 -0
- package/lib/commonjs/components/Carousel/Carousel.js +582 -0
- package/lib/commonjs/components/Carousel/index.js +20 -0
- package/lib/commonjs/components/Checkbox/Checkbox.js +184 -0
- package/lib/commonjs/components/Checkbox/index.js +20 -0
- package/lib/commonjs/components/Chip/Chip.js +347 -0
- package/lib/commonjs/components/Chip/index.js +20 -0
- package/lib/commonjs/components/ChoiceGroup/ChoiceGroup.js +250 -0
- package/lib/commonjs/components/ChoiceGroup/index.js +20 -0
- package/lib/commonjs/components/Confetti/Confetti.js +177 -0
- package/lib/commonjs/components/Confetti/index.js +13 -0
- package/lib/commonjs/components/DatePicker/DatePicker.js +995 -0
- package/lib/commonjs/components/DatePicker/index.js +20 -0
- package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +745 -0
- package/lib/commonjs/components/DateRangePicker/index.js +20 -0
- package/lib/commonjs/components/Descriptions/Descriptions.js +107 -0
- package/lib/commonjs/components/Descriptions/index.js +20 -0
- package/lib/commonjs/components/Dialog/Dialog.js +245 -0
- package/lib/commonjs/components/Dialog/index.js +20 -0
- package/lib/commonjs/components/Divider/Divider.js +117 -0
- package/lib/commonjs/components/Divider/index.js +20 -0
- package/lib/commonjs/components/Drawer/Drawer.js +379 -0
- package/lib/commonjs/components/Drawer/index.js +20 -0
- package/lib/commonjs/components/EmptyState/EmptyState.js +207 -0
- package/lib/commonjs/components/EmptyState/index.js +20 -0
- package/lib/commonjs/components/FieldBase/Chevron.js +81 -0
- package/lib/commonjs/components/FieldBase/FieldBase.js +521 -0
- package/lib/commonjs/components/FieldBase/index.js +38 -0
- package/lib/commonjs/components/FilePicker/FilePicker.js +783 -0
- package/lib/commonjs/components/FilePicker/index.js +26 -0
- package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +517 -0
- package/lib/commonjs/components/FloatingActionButton/index.js +26 -0
- package/lib/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.js +90 -0
- package/lib/commonjs/components/ForceUpdateDialog/index.js +20 -0
- package/lib/commonjs/components/FormField/FormField.js +162 -0
- package/lib/commonjs/components/FormField/index.js +20 -0
- package/lib/commonjs/components/IconButton/IconButton.js +180 -0
- package/lib/commonjs/components/IconButton/index.js +13 -0
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +581 -0
- package/lib/commonjs/components/ImageGallery/index.js +20 -0
- package/lib/commonjs/components/InlineSelect/InlineSelect.js +178 -0
- package/lib/commonjs/components/InlineSelect/index.js +20 -0
- package/lib/commonjs/components/Input/Input.js +402 -0
- package/lib/commonjs/components/Input/index.js +20 -0
- package/lib/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.js +115 -0
- package/lib/commonjs/components/KeyboardAwareScrollView/index.js +13 -0
- package/lib/commonjs/components/KeyboardToolbar/KeyboardToolbar.js +135 -0
- package/lib/commonjs/components/KeyboardToolbar/index.js +13 -0
- package/lib/commonjs/components/ListItem/ListItem.js +338 -0
- package/lib/commonjs/components/ListItem/index.js +20 -0
- package/lib/commonjs/components/Modal/Modal.js +356 -0
- package/lib/commonjs/components/Modal/index.js +26 -0
- package/lib/commonjs/components/NumberInput/NumberInput.js +381 -0
- package/lib/commonjs/components/NumberInput/index.js +20 -0
- package/lib/commonjs/components/OTPInput/OTPInput.js +441 -0
- package/lib/commonjs/components/OTPInput/index.js +20 -0
- package/lib/commonjs/components/OptionSheet/OptionSheet.js +450 -0
- package/lib/commonjs/components/PhoneNumberInput/PhoneNumberInput.js +243 -0
- package/lib/commonjs/components/PhoneNumberInput/index.js +32 -0
- package/lib/commonjs/components/PickerTrigger/PickerTrigger.js +156 -0
- package/lib/commonjs/components/PickerTrigger/index.js +20 -0
- package/lib/commonjs/components/ProgressBar/ProgressBar.js +198 -0
- package/lib/commonjs/components/ProgressBar/index.js +20 -0
- package/lib/commonjs/components/Radio/Radio.js +117 -0
- package/lib/commonjs/components/Radio/RadioDot.js +105 -0
- package/lib/commonjs/components/Radio/RadioGroup.js +50 -0
- package/lib/commonjs/components/Radio/index.js +46 -0
- package/lib/commonjs/components/Rating/Rating.js +333 -0
- package/lib/commonjs/components/Rating/index.js +20 -0
- package/lib/commonjs/components/Repeater/Repeater.js +141 -0
- package/lib/commonjs/components/Repeater/index.js +20 -0
- package/lib/commonjs/components/SearchBar/SearchBar.js +284 -0
- package/lib/commonjs/components/SearchBar/index.js +20 -0
- package/lib/commonjs/components/SegmentedControl/SegmentedControl.js +209 -0
- package/lib/commonjs/components/SegmentedControl/index.js +20 -0
- package/lib/commonjs/components/Select/Select.js +270 -0
- package/lib/commonjs/components/Select/index.js +20 -0
- package/lib/commonjs/components/Skeleton/Skeleton.js +293 -0
- package/lib/commonjs/components/Skeleton/SkeletonClock.js +118 -0
- package/lib/commonjs/components/Skeleton/SkeletonContent.js +309 -0
- package/lib/commonjs/components/Skeleton/SkeletonList.js +92 -0
- package/lib/commonjs/components/Skeleton/SkeletonProvider.js +114 -0
- package/lib/commonjs/components/Skeleton/SkeletonSkip.js +37 -0
- package/lib/commonjs/components/Skeleton/index.js +85 -0
- package/lib/commonjs/components/SlideToConfirm/SlideToConfirm.js +258 -0
- package/lib/commonjs/components/SlideToConfirm/index.js +13 -0
- package/lib/commonjs/components/Slider/Slider.js +502 -0
- package/lib/commonjs/components/Slider/index.js +20 -0
- package/lib/commonjs/components/Spinner/Spinner.js +183 -0
- package/lib/commonjs/components/Spinner/index.js +20 -0
- package/lib/commonjs/components/Stepper/Stepper.js +595 -0
- package/lib/commonjs/components/Stepper/index.js +20 -0
- package/lib/commonjs/components/Swipeable/Swipeable.js +380 -0
- package/lib/commonjs/components/Swipeable/index.js +20 -0
- package/lib/commonjs/components/Switch/Switch.js +230 -0
- package/lib/commonjs/components/Switch/index.js +20 -0
- package/lib/commonjs/components/Tabs/Tabs.js +289 -0
- package/lib/commonjs/components/Tabs/index.js +20 -0
- package/lib/commonjs/components/TagInput/TagInput.js +174 -0
- package/lib/commonjs/components/TagInput/index.js +20 -0
- package/lib/commonjs/components/Text/Text.js +146 -0
- package/lib/commonjs/components/Text/index.js +13 -0
- package/lib/commonjs/components/TimePicker/TimePicker.js +692 -0
- package/lib/commonjs/components/TimePicker/index.js +20 -0
- package/lib/commonjs/components/Timeline/Timeline.js +147 -0
- package/lib/commonjs/components/Timeline/index.js +20 -0
- package/lib/commonjs/components/Toast/Toast.js +322 -0
- package/lib/commonjs/components/Toast/ToastProvider.js +199 -0
- package/lib/commonjs/components/Toast/index.js +39 -0
- package/lib/commonjs/components/Tooltip/Tooltip.js +410 -0
- package/lib/commonjs/components/Tooltip/index.js +20 -0
- package/lib/commonjs/components/index.js +596 -0
- package/lib/commonjs/form/FormContext.js +40 -0
- package/lib/commonjs/form/index.js +68 -0
- package/lib/commonjs/form/path.js +91 -0
- package/lib/commonjs/form/rules.js +73 -0
- package/lib/commonjs/form/types.js +2 -0
- package/lib/commonjs/form/useField.js +54 -0
- package/lib/commonjs/form/useForm.js +364 -0
- package/lib/commonjs/hooks/index.js +41 -0
- package/lib/commonjs/hooks/useControllableState.js +32 -0
- package/lib/commonjs/hooks/useDebounce.js +17 -0
- package/lib/commonjs/hooks/usePressAnimation.js +47 -0
- package/lib/commonjs/hooks/useReducedMotion.js +33 -0
- package/lib/commonjs/hooks/useToggle.js +22 -0
- package/lib/commonjs/index.js +341 -0
- package/lib/commonjs/initUI.js +24 -0
- package/lib/commonjs/network/NetworkStatusBanner.js +89 -0
- package/lib/commonjs/network/index.js +13 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/theme/Gradient.js +56 -0
- package/lib/commonjs/theme/ThemeContext.js +101 -0
- package/lib/commonjs/theme/animatedValue.js +54 -0
- package/lib/commonjs/theme/index.js +127 -0
- package/lib/commonjs/theme/merge.js +30 -0
- package/lib/commonjs/theme/textStyle.js +39 -0
- package/lib/commonjs/theme/tokens.js +652 -0
- package/lib/commonjs/theme/types.js +6 -0
- package/lib/commonjs/utils/dimensions.js +31 -0
- package/lib/commonjs/utils/feedback.js +76 -0
- package/lib/commonjs/utils/hapticUtils.js +67 -0
- package/lib/commonjs/utils/index.js +114 -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/utils/warnUnknownProps.js +46 -0
- package/lib/module/components/Accordion/Accordion.js +325 -0
- package/lib/module/components/Accordion/index.js +4 -0
- package/lib/module/components/AnimatePresence/AnimatePresence.js +65 -0
- package/lib/module/components/AnimatePresence/index.js +4 -0
- package/lib/module/components/AppBar/AppBar.js +351 -0
- package/lib/module/components/AppBar/index.js +4 -0
- package/lib/module/components/AsyncBlock/AsyncBlock.js +81 -0
- package/lib/module/components/AsyncBlock/index.js +4 -0
- package/lib/module/components/Autocomplete/Autocomplete.js +220 -0
- package/lib/module/components/Autocomplete/index.js +4 -0
- package/lib/module/components/Avatar/Avatar.js +343 -0
- package/lib/module/components/Avatar/index.js +4 -0
- package/lib/module/components/Badge/Badge.js +291 -0
- package/lib/module/components/Badge/index.js +4 -0
- package/lib/module/components/Banner/Banner.js +391 -0
- package/lib/module/components/Banner/index.js +4 -0
- package/lib/module/components/BottomNavigation/BottomNavigation.js +332 -0
- package/lib/module/components/BottomNavigation/index.js +4 -0
- package/lib/module/components/BottomSheet/BottomSheet.js +553 -0
- package/lib/module/components/BottomSheet/index.js +4 -0
- package/lib/module/components/Box/Box.js +198 -0
- package/lib/module/components/Box/index.js +4 -0
- package/lib/module/components/Button/Button.js +312 -0
- package/lib/module/components/Button/index.js +4 -0
- package/lib/module/components/Card/Card.js +310 -0
- package/lib/module/components/Card/index.js +4 -0
- package/lib/module/components/Carousel/Carousel.js +578 -0
- package/lib/module/components/Carousel/index.js +4 -0
- package/lib/module/components/Checkbox/Checkbox.js +181 -0
- package/lib/module/components/Checkbox/index.js +4 -0
- package/lib/module/components/Chip/Chip.js +343 -0
- package/lib/module/components/Chip/index.js +4 -0
- package/lib/module/components/ChoiceGroup/ChoiceGroup.js +246 -0
- package/lib/module/components/ChoiceGroup/index.js +4 -0
- package/lib/module/components/Confetti/Confetti.js +173 -0
- package/lib/module/components/Confetti/index.js +4 -0
- package/lib/module/components/DatePicker/DatePicker.js +990 -0
- package/lib/module/components/DatePicker/index.js +4 -0
- package/lib/module/components/DateRangePicker/DateRangePicker.js +742 -0
- package/lib/module/components/DateRangePicker/index.js +4 -0
- package/lib/module/components/Descriptions/Descriptions.js +101 -0
- package/lib/module/components/Descriptions/index.js +4 -0
- package/lib/module/components/Dialog/Dialog.js +240 -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 +375 -0
- package/lib/module/components/Drawer/index.js +4 -0
- package/lib/module/components/EmptyState/EmptyState.js +203 -0
- package/lib/module/components/EmptyState/index.js +4 -0
- package/lib/module/components/FieldBase/Chevron.js +75 -0
- package/lib/module/components/FieldBase/FieldBase.js +511 -0
- package/lib/module/components/FieldBase/index.js +4 -0
- package/lib/module/components/FilePicker/FilePicker.js +778 -0
- package/lib/module/components/FilePicker/index.js +4 -0
- package/lib/module/components/FloatingActionButton/FloatingActionButton.js +512 -0
- package/lib/module/components/FloatingActionButton/index.js +4 -0
- package/lib/module/components/ForceUpdateDialog/ForceUpdateDialog.js +84 -0
- package/lib/module/components/ForceUpdateDialog/index.js +4 -0
- package/lib/module/components/FormField/FormField.js +158 -0
- package/lib/module/components/FormField/index.js +4 -0
- package/lib/module/components/IconButton/IconButton.js +176 -0
- package/lib/module/components/IconButton/index.js +4 -0
- package/lib/module/components/ImageGallery/ImageGallery.js +576 -0
- package/lib/module/components/ImageGallery/index.js +4 -0
- package/lib/module/components/InlineSelect/InlineSelect.js +174 -0
- package/lib/module/components/InlineSelect/index.js +4 -0
- package/lib/module/components/Input/Input.js +398 -0
- package/lib/module/components/Input/index.js +4 -0
- package/lib/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.js +111 -0
- package/lib/module/components/KeyboardAwareScrollView/index.js +4 -0
- package/lib/module/components/KeyboardToolbar/KeyboardToolbar.js +130 -0
- package/lib/module/components/KeyboardToolbar/index.js +4 -0
- package/lib/module/components/ListItem/ListItem.js +334 -0
- package/lib/module/components/ListItem/index.js +4 -0
- package/lib/module/components/Modal/Modal.js +352 -0
- package/lib/module/components/Modal/index.js +4 -0
- package/lib/module/components/NumberInput/NumberInput.js +377 -0
- package/lib/module/components/NumberInput/index.js +4 -0
- package/lib/module/components/OTPInput/OTPInput.js +438 -0
- package/lib/module/components/OTPInput/index.js +4 -0
- package/lib/module/components/OptionSheet/OptionSheet.js +444 -0
- package/lib/module/components/PhoneNumberInput/PhoneNumberInput.js +238 -0
- package/lib/module/components/PhoneNumberInput/index.js +4 -0
- package/lib/module/components/PickerTrigger/PickerTrigger.js +152 -0
- package/lib/module/components/PickerTrigger/index.js +4 -0
- package/lib/module/components/ProgressBar/ProgressBar.js +195 -0
- package/lib/module/components/ProgressBar/index.js +4 -0
- package/lib/module/components/Radio/Radio.js +113 -0
- package/lib/module/components/Radio/RadioDot.js +99 -0
- package/lib/module/components/Radio/RadioGroup.js +45 -0
- package/lib/module/components/Radio/index.js +6 -0
- package/lib/module/components/Rating/Rating.js +329 -0
- package/lib/module/components/Rating/index.js +4 -0
- package/lib/module/components/Repeater/Repeater.js +135 -0
- package/lib/module/components/Repeater/index.js +4 -0
- package/lib/module/components/SearchBar/SearchBar.js +280 -0
- package/lib/module/components/SearchBar/index.js +4 -0
- package/lib/module/components/SegmentedControl/SegmentedControl.js +205 -0
- package/lib/module/components/SegmentedControl/index.js +4 -0
- package/lib/module/components/Select/Select.js +266 -0
- package/lib/module/components/Select/index.js +4 -0
- package/lib/module/components/Skeleton/Skeleton.js +286 -0
- package/lib/module/components/Skeleton/SkeletonClock.js +111 -0
- package/lib/module/components/Skeleton/SkeletonContent.js +304 -0
- package/lib/module/components/Skeleton/SkeletonList.js +87 -0
- package/lib/module/components/Skeleton/SkeletonProvider.js +106 -0
- package/lib/module/components/Skeleton/SkeletonSkip.js +31 -0
- package/lib/module/components/Skeleton/index.js +9 -0
- package/lib/module/components/SlideToConfirm/SlideToConfirm.js +254 -0
- package/lib/module/components/SlideToConfirm/index.js +4 -0
- package/lib/module/components/Slider/Slider.js +498 -0
- package/lib/module/components/Slider/index.js +4 -0
- package/lib/module/components/Spinner/Spinner.js +179 -0
- package/lib/module/components/Spinner/index.js +4 -0
- package/lib/module/components/Stepper/Stepper.js +591 -0
- package/lib/module/components/Stepper/index.js +4 -0
- package/lib/module/components/Swipeable/Swipeable.js +375 -0
- package/lib/module/components/Swipeable/index.js +4 -0
- package/lib/module/components/Switch/Switch.js +227 -0
- package/lib/module/components/Switch/index.js +4 -0
- package/lib/module/components/Tabs/Tabs.js +285 -0
- package/lib/module/components/Tabs/index.js +4 -0
- package/lib/module/components/TagInput/TagInput.js +170 -0
- package/lib/module/components/TagInput/index.js +4 -0
- package/lib/module/components/Text/Text.js +142 -0
- package/lib/module/components/Text/index.js +4 -0
- package/lib/module/components/TimePicker/TimePicker.js +686 -0
- package/lib/module/components/TimePicker/index.js +4 -0
- package/lib/module/components/Timeline/Timeline.js +141 -0
- package/lib/module/components/Timeline/index.js +4 -0
- package/lib/module/components/Toast/Toast.js +317 -0
- package/lib/module/components/Toast/ToastProvider.js +191 -0
- package/lib/module/components/Toast/index.js +5 -0
- package/lib/module/components/Tooltip/Tooltip.js +405 -0
- package/lib/module/components/Tooltip/index.js +4 -0
- package/lib/module/components/index.js +65 -0
- package/lib/module/form/FormContext.js +32 -0
- package/lib/module/form/index.js +16 -0
- package/lib/module/form/path.js +84 -0
- package/lib/module/form/rules.js +59 -0
- package/lib/module/form/types.js +2 -0
- package/lib/module/form/useField.js +49 -0
- package/lib/module/form/useForm.js +360 -0
- package/lib/module/hooks/index.js +8 -0
- package/lib/module/hooks/useControllableState.js +28 -0
- package/lib/module/hooks/useDebounce.js +12 -0
- package/lib/module/hooks/usePressAnimation.js +42 -0
- package/lib/module/hooks/useReducedMotion.js +29 -0
- package/lib/module/hooks/useToggle.js +17 -0
- package/lib/module/index.js +17 -0
- package/lib/module/initUI.js +19 -0
- package/lib/module/network/NetworkStatusBanner.js +83 -0
- package/lib/module/network/index.js +4 -0
- package/lib/module/package.json +1 -0
- package/lib/module/theme/Gradient.js +49 -0
- package/lib/module/theme/ThemeContext.js +93 -0
- package/lib/module/theme/animatedValue.js +49 -0
- package/lib/module/theme/index.js +51 -0
- package/lib/module/theme/merge.js +25 -0
- package/lib/module/theme/textStyle.js +34 -0
- package/lib/module/theme/tokens.js +648 -0
- package/lib/module/theme/types.js +4 -0
- package/lib/module/utils/dimensions.js +4 -0
- package/lib/module/utils/feedback.js +70 -0
- package/lib/module/utils/hapticUtils.js +60 -0
- package/lib/module/utils/index.js +9 -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/utils/warnUnknownProps.js +42 -0
- package/lib/typescript/commonjs/components/Accordion/Accordion.d.ts +48 -0
- package/lib/typescript/commonjs/components/Accordion/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/AnimatePresence/AnimatePresence.d.ts +30 -0
- package/lib/typescript/commonjs/components/AnimatePresence/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +50 -0
- package/lib/typescript/commonjs/components/AppBar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/AsyncBlock/AsyncBlock.d.ts +39 -0
- package/lib/typescript/commonjs/components/AsyncBlock/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Autocomplete/Autocomplete.d.ts +53 -0
- package/lib/typescript/commonjs/components/Autocomplete/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +75 -0
- package/lib/typescript/commonjs/components/Avatar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Badge/Badge.d.ts +34 -0
- package/lib/typescript/commonjs/components/Badge/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Banner/Banner.d.ts +47 -0
- package/lib/typescript/commonjs/components/Banner/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +40 -0
- package/lib/typescript/commonjs/components/BottomNavigation/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +113 -0
- package/lib/typescript/commonjs/components/BottomSheet/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Box/Box.d.ts +59 -0
- package/lib/typescript/commonjs/components/Box/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Button/Button.d.ts +41 -0
- package/lib/typescript/commonjs/components/Button/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Card/Card.d.ts +57 -0
- package/lib/typescript/commonjs/components/Card/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Carousel/Carousel.d.ts +77 -0
- package/lib/typescript/commonjs/components/Carousel/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +32 -0
- package/lib/typescript/commonjs/components/Checkbox/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Chip/Chip.d.ts +41 -0
- package/lib/typescript/commonjs/components/Chip/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +100 -0
- package/lib/typescript/commonjs/components/ChoiceGroup/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Confetti/Confetti.d.ts +41 -0
- package/lib/typescript/commonjs/components/Confetti/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/DatePicker/DatePicker.d.ts +63 -0
- package/lib/typescript/commonjs/components/DatePicker/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +69 -0
- package/lib/typescript/commonjs/components/DateRangePicker/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Descriptions/Descriptions.d.ts +30 -0
- package/lib/typescript/commonjs/components/Descriptions/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Dialog/Dialog.d.ts +45 -0
- package/lib/typescript/commonjs/components/Dialog/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Divider/Divider.d.ts +19 -0
- package/lib/typescript/commonjs/components/Divider/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Drawer/Drawer.d.ts +56 -0
- package/lib/typescript/commonjs/components/Drawer/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/EmptyState/EmptyState.d.ts +24 -0
- package/lib/typescript/commonjs/components/EmptyState/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/FieldBase/Chevron.d.ts +20 -0
- package/lib/typescript/commonjs/components/FieldBase/FieldBase.d.ts +180 -0
- package/lib/typescript/commonjs/components/FieldBase/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/FilePicker/FilePicker.d.ts +155 -0
- package/lib/typescript/commonjs/components/FilePicker/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +59 -0
- package/lib/typescript/commonjs/components/FloatingActionButton/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +47 -0
- package/lib/typescript/commonjs/components/ForceUpdateDialog/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/FormField/FormField.d.ts +49 -0
- package/lib/typescript/commonjs/components/FormField/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/IconButton/IconButton.d.ts +34 -0
- package/lib/typescript/commonjs/components/IconButton/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ImageGallery/ImageGallery.d.ts +55 -0
- package/lib/typescript/commonjs/components/ImageGallery/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/InlineSelect/InlineSelect.d.ts +91 -0
- package/lib/typescript/commonjs/components/InlineSelect/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Input/Input.d.ts +69 -0
- package/lib/typescript/commonjs/components/Input/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +20 -0
- package/lib/typescript/commonjs/components/KeyboardAwareScrollView/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/KeyboardToolbar/KeyboardToolbar.d.ts +29 -0
- package/lib/typescript/commonjs/components/KeyboardToolbar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +46 -0
- package/lib/typescript/commonjs/components/ListItem/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/Modal/Modal.d.ts +47 -0
- package/lib/typescript/commonjs/components/Modal/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +42 -0
- package/lib/typescript/commonjs/components/NumberInput/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/OTPInput/OTPInput.d.ts +35 -0
- package/lib/typescript/commonjs/components/OTPInput/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/OptionSheet/OptionSheet.d.ts +57 -0
- package/lib/typescript/commonjs/components/PhoneNumberInput/PhoneNumberInput.d.ts +58 -0
- package/lib/typescript/commonjs/components/PhoneNumberInput/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +60 -0
- package/lib/typescript/commonjs/components/PickerTrigger/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +33 -0
- package/lib/typescript/commonjs/components/ProgressBar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Radio/Radio.d.ts +33 -0
- package/lib/typescript/commonjs/components/Radio/RadioDot.d.ts +24 -0
- package/lib/typescript/commonjs/components/Radio/RadioGroup.d.ts +17 -0
- package/lib/typescript/commonjs/components/Radio/index.d.ts +7 -0
- package/lib/typescript/commonjs/components/Rating/Rating.d.ts +37 -0
- package/lib/typescript/commonjs/components/Rating/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Repeater/Repeater.d.ts +43 -0
- package/lib/typescript/commonjs/components/Repeater/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +32 -0
- package/lib/typescript/commonjs/components/SearchBar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +42 -0
- package/lib/typescript/commonjs/components/SegmentedControl/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Select/Select.d.ts +106 -0
- package/lib/typescript/commonjs/components/Select/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Skeleton/Skeleton.d.ts +80 -0
- package/lib/typescript/commonjs/components/Skeleton/SkeletonClock.d.ts +60 -0
- package/lib/typescript/commonjs/components/Skeleton/SkeletonContent.d.ts +102 -0
- package/lib/typescript/commonjs/components/Skeleton/SkeletonList.d.ts +30 -0
- package/lib/typescript/commonjs/components/Skeleton/SkeletonProvider.d.ts +66 -0
- package/lib/typescript/commonjs/components/Skeleton/SkeletonSkip.d.ts +25 -0
- package/lib/typescript/commonjs/components/Skeleton/index.d.ts +13 -0
- package/lib/typescript/commonjs/components/SlideToConfirm/SlideToConfirm.d.ts +33 -0
- package/lib/typescript/commonjs/components/SlideToConfirm/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Slider/Slider.d.ts +47 -0
- package/lib/typescript/commonjs/components/Slider/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +19 -0
- package/lib/typescript/commonjs/components/Spinner/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +49 -0
- package/lib/typescript/commonjs/components/Stepper/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Swipeable/Swipeable.d.ts +50 -0
- package/lib/typescript/commonjs/components/Swipeable/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Switch/Switch.d.ts +29 -0
- package/lib/typescript/commonjs/components/Switch/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +64 -0
- package/lib/typescript/commonjs/components/Tabs/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/TagInput/TagInput.d.ts +36 -0
- package/lib/typescript/commonjs/components/TagInput/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Text/Text.d.ts +24 -0
- package/lib/typescript/commonjs/components/Text/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/TimePicker/TimePicker.d.ts +62 -0
- package/lib/typescript/commonjs/components/TimePicker/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Timeline/Timeline.d.ts +44 -0
- package/lib/typescript/commonjs/components/Timeline/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Toast/Toast.d.ts +44 -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 +28 -0
- package/lib/typescript/commonjs/components/Tooltip/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/index.d.ts +125 -0
- package/lib/typescript/commonjs/form/FormContext.d.ts +17 -0
- package/lib/typescript/commonjs/form/index.d.ts +10 -0
- package/lib/typescript/commonjs/form/path.d.ts +10 -0
- package/lib/typescript/commonjs/form/rules.d.ts +37 -0
- package/lib/typescript/commonjs/form/types.d.ts +94 -0
- package/lib/typescript/commonjs/form/useField.d.ts +27 -0
- package/lib/typescript/commonjs/form/useForm.d.ts +10 -0
- package/lib/typescript/commonjs/hooks/index.d.ts +9 -0
- package/lib/typescript/commonjs/hooks/useControllableState.d.ts +17 -0
- package/lib/typescript/commonjs/hooks/useDebounce.d.ts +2 -0
- package/lib/typescript/commonjs/hooks/usePressAnimation.d.ts +13 -0
- package/lib/typescript/commonjs/hooks/useReducedMotion.d.ts +8 -0
- package/lib/typescript/commonjs/hooks/useToggle.d.ts +9 -0
- package/lib/typescript/commonjs/index.d.ts +14 -0
- package/lib/typescript/commonjs/initUI.d.ts +12 -0
- package/lib/typescript/commonjs/network/NetworkStatusBanner.d.ts +19 -0
- package/lib/typescript/commonjs/network/index.d.ts +3 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/theme/Gradient.d.ts +11 -0
- package/lib/typescript/commonjs/theme/ThemeContext.d.ts +18 -0
- package/lib/typescript/commonjs/theme/animatedValue.d.ts +39 -0
- package/lib/typescript/commonjs/theme/index.d.ts +18 -0
- package/lib/typescript/commonjs/theme/merge.d.ts +3 -0
- package/lib/typescript/commonjs/theme/textStyle.d.ts +18 -0
- package/lib/typescript/commonjs/theme/tokens.d.ts +4 -0
- package/lib/typescript/commonjs/theme/types.d.ts +913 -0
- package/lib/typescript/commonjs/utils/dimensions.d.ts +3 -0
- package/lib/typescript/commonjs/utils/feedback.d.ts +45 -0
- package/lib/typescript/commonjs/utils/hapticUtils.d.ts +12 -0
- package/lib/typescript/commonjs/utils/index.d.ts +11 -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/utils/warnUnknownProps.d.ts +20 -0
- package/lib/typescript/module/components/Accordion/Accordion.d.ts +48 -0
- package/lib/typescript/module/components/Accordion/index.d.ts +3 -0
- package/lib/typescript/module/components/AnimatePresence/AnimatePresence.d.ts +30 -0
- package/lib/typescript/module/components/AnimatePresence/index.d.ts +3 -0
- package/lib/typescript/module/components/AppBar/AppBar.d.ts +50 -0
- package/lib/typescript/module/components/AppBar/index.d.ts +3 -0
- package/lib/typescript/module/components/AsyncBlock/AsyncBlock.d.ts +39 -0
- package/lib/typescript/module/components/AsyncBlock/index.d.ts +3 -0
- package/lib/typescript/module/components/Autocomplete/Autocomplete.d.ts +53 -0
- package/lib/typescript/module/components/Autocomplete/index.d.ts +3 -0
- package/lib/typescript/module/components/Avatar/Avatar.d.ts +75 -0
- package/lib/typescript/module/components/Avatar/index.d.ts +3 -0
- package/lib/typescript/module/components/Badge/Badge.d.ts +34 -0
- package/lib/typescript/module/components/Badge/index.d.ts +3 -0
- package/lib/typescript/module/components/Banner/Banner.d.ts +47 -0
- package/lib/typescript/module/components/Banner/index.d.ts +3 -0
- package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +40 -0
- package/lib/typescript/module/components/BottomNavigation/index.d.ts +3 -0
- package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +113 -0
- package/lib/typescript/module/components/BottomSheet/index.d.ts +3 -0
- package/lib/typescript/module/components/Box/Box.d.ts +59 -0
- package/lib/typescript/module/components/Box/index.d.ts +3 -0
- package/lib/typescript/module/components/Button/Button.d.ts +41 -0
- package/lib/typescript/module/components/Button/index.d.ts +3 -0
- package/lib/typescript/module/components/Card/Card.d.ts +57 -0
- package/lib/typescript/module/components/Card/index.d.ts +3 -0
- package/lib/typescript/module/components/Carousel/Carousel.d.ts +77 -0
- package/lib/typescript/module/components/Carousel/index.d.ts +3 -0
- package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +32 -0
- package/lib/typescript/module/components/Checkbox/index.d.ts +3 -0
- package/lib/typescript/module/components/Chip/Chip.d.ts +41 -0
- package/lib/typescript/module/components/Chip/index.d.ts +3 -0
- package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +100 -0
- package/lib/typescript/module/components/ChoiceGroup/index.d.ts +3 -0
- package/lib/typescript/module/components/Confetti/Confetti.d.ts +41 -0
- package/lib/typescript/module/components/Confetti/index.d.ts +3 -0
- package/lib/typescript/module/components/DatePicker/DatePicker.d.ts +63 -0
- package/lib/typescript/module/components/DatePicker/index.d.ts +3 -0
- package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +69 -0
- package/lib/typescript/module/components/DateRangePicker/index.d.ts +3 -0
- package/lib/typescript/module/components/Descriptions/Descriptions.d.ts +30 -0
- package/lib/typescript/module/components/Descriptions/index.d.ts +3 -0
- package/lib/typescript/module/components/Dialog/Dialog.d.ts +45 -0
- package/lib/typescript/module/components/Dialog/index.d.ts +3 -0
- package/lib/typescript/module/components/Divider/Divider.d.ts +19 -0
- package/lib/typescript/module/components/Divider/index.d.ts +3 -0
- package/lib/typescript/module/components/Drawer/Drawer.d.ts +56 -0
- package/lib/typescript/module/components/Drawer/index.d.ts +3 -0
- package/lib/typescript/module/components/EmptyState/EmptyState.d.ts +24 -0
- package/lib/typescript/module/components/EmptyState/index.d.ts +3 -0
- package/lib/typescript/module/components/FieldBase/Chevron.d.ts +20 -0
- package/lib/typescript/module/components/FieldBase/FieldBase.d.ts +180 -0
- package/lib/typescript/module/components/FieldBase/index.d.ts +3 -0
- package/lib/typescript/module/components/FilePicker/FilePicker.d.ts +155 -0
- package/lib/typescript/module/components/FilePicker/index.d.ts +3 -0
- package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +59 -0
- package/lib/typescript/module/components/FloatingActionButton/index.d.ts +3 -0
- package/lib/typescript/module/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +47 -0
- package/lib/typescript/module/components/ForceUpdateDialog/index.d.ts +3 -0
- package/lib/typescript/module/components/FormField/FormField.d.ts +49 -0
- package/lib/typescript/module/components/FormField/index.d.ts +3 -0
- package/lib/typescript/module/components/IconButton/IconButton.d.ts +34 -0
- package/lib/typescript/module/components/IconButton/index.d.ts +3 -0
- package/lib/typescript/module/components/ImageGallery/ImageGallery.d.ts +55 -0
- package/lib/typescript/module/components/ImageGallery/index.d.ts +3 -0
- package/lib/typescript/module/components/InlineSelect/InlineSelect.d.ts +91 -0
- package/lib/typescript/module/components/InlineSelect/index.d.ts +3 -0
- package/lib/typescript/module/components/Input/Input.d.ts +69 -0
- package/lib/typescript/module/components/Input/index.d.ts +3 -0
- package/lib/typescript/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +20 -0
- package/lib/typescript/module/components/KeyboardAwareScrollView/index.d.ts +3 -0
- package/lib/typescript/module/components/KeyboardToolbar/KeyboardToolbar.d.ts +29 -0
- package/lib/typescript/module/components/KeyboardToolbar/index.d.ts +3 -0
- package/lib/typescript/module/components/ListItem/ListItem.d.ts +46 -0
- package/lib/typescript/module/components/ListItem/index.d.ts +4 -0
- package/lib/typescript/module/components/Modal/Modal.d.ts +47 -0
- package/lib/typescript/module/components/Modal/index.d.ts +3 -0
- package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +42 -0
- package/lib/typescript/module/components/NumberInput/index.d.ts +3 -0
- package/lib/typescript/module/components/OTPInput/OTPInput.d.ts +35 -0
- package/lib/typescript/module/components/OTPInput/index.d.ts +3 -0
- package/lib/typescript/module/components/OptionSheet/OptionSheet.d.ts +57 -0
- package/lib/typescript/module/components/PhoneNumberInput/PhoneNumberInput.d.ts +58 -0
- package/lib/typescript/module/components/PhoneNumberInput/index.d.ts +3 -0
- package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +60 -0
- package/lib/typescript/module/components/PickerTrigger/index.d.ts +3 -0
- package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +33 -0
- package/lib/typescript/module/components/ProgressBar/index.d.ts +3 -0
- package/lib/typescript/module/components/Radio/Radio.d.ts +33 -0
- package/lib/typescript/module/components/Radio/RadioDot.d.ts +24 -0
- package/lib/typescript/module/components/Radio/RadioGroup.d.ts +17 -0
- package/lib/typescript/module/components/Radio/index.d.ts +7 -0
- package/lib/typescript/module/components/Rating/Rating.d.ts +37 -0
- package/lib/typescript/module/components/Rating/index.d.ts +3 -0
- package/lib/typescript/module/components/Repeater/Repeater.d.ts +43 -0
- package/lib/typescript/module/components/Repeater/index.d.ts +3 -0
- package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +32 -0
- package/lib/typescript/module/components/SearchBar/index.d.ts +3 -0
- package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +42 -0
- package/lib/typescript/module/components/SegmentedControl/index.d.ts +3 -0
- package/lib/typescript/module/components/Select/Select.d.ts +106 -0
- package/lib/typescript/module/components/Select/index.d.ts +3 -0
- package/lib/typescript/module/components/Skeleton/Skeleton.d.ts +80 -0
- package/lib/typescript/module/components/Skeleton/SkeletonClock.d.ts +60 -0
- package/lib/typescript/module/components/Skeleton/SkeletonContent.d.ts +102 -0
- package/lib/typescript/module/components/Skeleton/SkeletonList.d.ts +30 -0
- package/lib/typescript/module/components/Skeleton/SkeletonProvider.d.ts +66 -0
- package/lib/typescript/module/components/Skeleton/SkeletonSkip.d.ts +25 -0
- package/lib/typescript/module/components/Skeleton/index.d.ts +13 -0
- package/lib/typescript/module/components/SlideToConfirm/SlideToConfirm.d.ts +33 -0
- package/lib/typescript/module/components/SlideToConfirm/index.d.ts +3 -0
- package/lib/typescript/module/components/Slider/Slider.d.ts +47 -0
- package/lib/typescript/module/components/Slider/index.d.ts +3 -0
- package/lib/typescript/module/components/Spinner/Spinner.d.ts +19 -0
- package/lib/typescript/module/components/Spinner/index.d.ts +3 -0
- package/lib/typescript/module/components/Stepper/Stepper.d.ts +49 -0
- package/lib/typescript/module/components/Stepper/index.d.ts +3 -0
- package/lib/typescript/module/components/Swipeable/Swipeable.d.ts +50 -0
- package/lib/typescript/module/components/Swipeable/index.d.ts +3 -0
- package/lib/typescript/module/components/Switch/Switch.d.ts +29 -0
- package/lib/typescript/module/components/Switch/index.d.ts +3 -0
- package/lib/typescript/module/components/Tabs/Tabs.d.ts +64 -0
- package/lib/typescript/module/components/Tabs/index.d.ts +3 -0
- package/lib/typescript/module/components/TagInput/TagInput.d.ts +36 -0
- package/lib/typescript/module/components/TagInput/index.d.ts +3 -0
- package/lib/typescript/module/components/Text/Text.d.ts +24 -0
- package/lib/typescript/module/components/Text/index.d.ts +3 -0
- package/lib/typescript/module/components/TimePicker/TimePicker.d.ts +62 -0
- package/lib/typescript/module/components/TimePicker/index.d.ts +3 -0
- package/lib/typescript/module/components/Timeline/Timeline.d.ts +44 -0
- package/lib/typescript/module/components/Timeline/index.d.ts +3 -0
- package/lib/typescript/module/components/Toast/Toast.d.ts +44 -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 +28 -0
- package/lib/typescript/module/components/Tooltip/index.d.ts +3 -0
- package/lib/typescript/module/components/index.d.ts +125 -0
- package/lib/typescript/module/form/FormContext.d.ts +17 -0
- package/lib/typescript/module/form/index.d.ts +10 -0
- package/lib/typescript/module/form/path.d.ts +10 -0
- package/lib/typescript/module/form/rules.d.ts +37 -0
- package/lib/typescript/module/form/types.d.ts +94 -0
- package/lib/typescript/module/form/useField.d.ts +27 -0
- package/lib/typescript/module/form/useForm.d.ts +10 -0
- package/lib/typescript/module/hooks/index.d.ts +9 -0
- package/lib/typescript/module/hooks/useControllableState.d.ts +17 -0
- package/lib/typescript/module/hooks/useDebounce.d.ts +2 -0
- package/lib/typescript/module/hooks/usePressAnimation.d.ts +13 -0
- package/lib/typescript/module/hooks/useReducedMotion.d.ts +8 -0
- package/lib/typescript/module/hooks/useToggle.d.ts +9 -0
- package/lib/typescript/module/index.d.ts +14 -0
- package/lib/typescript/module/initUI.d.ts +12 -0
- package/lib/typescript/module/network/NetworkStatusBanner.d.ts +19 -0
- package/lib/typescript/module/network/index.d.ts +3 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/theme/Gradient.d.ts +11 -0
- package/lib/typescript/module/theme/ThemeContext.d.ts +18 -0
- package/lib/typescript/module/theme/animatedValue.d.ts +39 -0
- package/lib/typescript/module/theme/index.d.ts +18 -0
- package/lib/typescript/module/theme/merge.d.ts +3 -0
- package/lib/typescript/module/theme/textStyle.d.ts +18 -0
- package/lib/typescript/module/theme/tokens.d.ts +4 -0
- package/lib/typescript/module/theme/types.d.ts +913 -0
- package/lib/typescript/module/utils/dimensions.d.ts +3 -0
- package/lib/typescript/module/utils/feedback.d.ts +45 -0
- package/lib/typescript/module/utils/hapticUtils.d.ts +12 -0
- package/lib/typescript/module/utils/index.d.ts +11 -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/utils/warnUnknownProps.d.ts +20 -0
- package/package.json +101 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { View as RNView, StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
3
|
+
import type { HapticType } from '../../utils/hapticUtils.js';
|
|
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
|
+
/**
|
|
17
|
+
* Gate for tap-to-jump on completed steps. Default false — even when
|
|
18
|
+
* `onStepPress` is provided, taps are no-op unless this is true. Keeps
|
|
19
|
+
* progress-display use cases (the common case) from accidentally becoming
|
|
20
|
+
* navigable.
|
|
21
|
+
*/
|
|
22
|
+
allowStepPress?: boolean;
|
|
23
|
+
variant?: StepperVariant;
|
|
24
|
+
tone?: StepperTone;
|
|
25
|
+
/**
|
|
26
|
+
* When true, renders the component as its authored skeleton placeholder shape.
|
|
27
|
+
* The placeholder mirrors the real layout's footprint so the UI doesn't reflow
|
|
28
|
+
* when data arrives. Use this while the data driving the component is being fetched.
|
|
29
|
+
*/
|
|
30
|
+
loading?: boolean;
|
|
31
|
+
accessibilityLabel?: string;
|
|
32
|
+
style?: StyleProp<ViewStyle>;
|
|
33
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
34
|
+
circleStyle?: StyleProp<ViewStyle>;
|
|
35
|
+
labelStyle?: StyleProp<TextStyle>;
|
|
36
|
+
connectorStyle?: StyleProp<ViewStyle>;
|
|
37
|
+
/**
|
|
38
|
+
* Haptic feedback for interactions. Pass false to disable; pass a HapticType
|
|
39
|
+
* to override the default.
|
|
40
|
+
*/
|
|
41
|
+
haptic?: HapticType | false;
|
|
42
|
+
testID?: string;
|
|
43
|
+
}
|
|
44
|
+
declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<RNView>> & {
|
|
45
|
+
Skeleton: React.FC<StepperProps>;
|
|
46
|
+
};
|
|
47
|
+
export { Stepper };
|
|
48
|
+
export default Stepper;
|
|
49
|
+
//# sourceMappingURL=Stepper.d.ts.map
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Swipeable — Reanimated 3 + Gesture Handler 2 implementation.
|
|
3
|
+
*
|
|
4
|
+
* Wraps any content and reveals contextual actions when the user
|
|
5
|
+
* swipes left or right. Past `fullSwipeThreshold`, the first action
|
|
6
|
+
* fires automatically and the content slides off-screen.
|
|
7
|
+
*
|
|
8
|
+
* USAGE:
|
|
9
|
+
*
|
|
10
|
+
* <Swipeable
|
|
11
|
+
* leftActions={[{ key: 'archive', label: 'Archive', tone: 'success', onPress: handleArchive }]}
|
|
12
|
+
* rightActions={[{ key: 'delete', label: 'Delete', tone: 'error', onPress: handleDelete }]}
|
|
13
|
+
* >
|
|
14
|
+
* <ListItem title="Inbox item" />
|
|
15
|
+
* </Swipeable>
|
|
16
|
+
*/
|
|
17
|
+
import React from 'react';
|
|
18
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
19
|
+
import type { HapticType } from '../../utils/index.js';
|
|
20
|
+
export type SwipeableTone = 'primary' | 'success' | 'warning' | 'error' | 'neutral';
|
|
21
|
+
export interface SwipeableAction {
|
|
22
|
+
key: string;
|
|
23
|
+
label: string;
|
|
24
|
+
icon?: React.ReactNode;
|
|
25
|
+
onPress: () => void;
|
|
26
|
+
tone?: SwipeableTone;
|
|
27
|
+
}
|
|
28
|
+
export interface SwipeableProps {
|
|
29
|
+
children: React.ReactNode;
|
|
30
|
+
leftActions?: SwipeableAction[];
|
|
31
|
+
rightActions?: SwipeableAction[];
|
|
32
|
+
/** px to fully reveal the row of actions; default 80 */
|
|
33
|
+
threshold?: number;
|
|
34
|
+
/** px past which the first action fires automatically + content slides off-screen; default 200 */
|
|
35
|
+
fullSwipeThreshold?: number;
|
|
36
|
+
onSwipeOpen?: (side: 'left' | 'right') => void;
|
|
37
|
+
onSwipeClose?: () => void;
|
|
38
|
+
disabled?: boolean;
|
|
39
|
+
/** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
|
|
40
|
+
haptic?: HapticType | false;
|
|
41
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
42
|
+
contentStyle?: StyleProp<ViewStyle>;
|
|
43
|
+
actionStyle?: StyleProp<ViewStyle>;
|
|
44
|
+
accessibilityLabel?: string;
|
|
45
|
+
testID?: string;
|
|
46
|
+
}
|
|
47
|
+
declare const Swipeable: React.FC<SwipeableProps>;
|
|
48
|
+
export { Swipeable };
|
|
49
|
+
export default Swipeable;
|
|
50
|
+
//# sourceMappingURL=Swipeable.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { PressableProps, View as RNView, StyleProp, ViewStyle } from 'react-native';
|
|
2
|
+
import type { HapticType } from '../../utils/hapticUtils.js';
|
|
3
|
+
export type SwitchSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
export type SwitchTone = 'primary' | 'success' | 'warning' | 'error';
|
|
5
|
+
export interface SwitchProps extends Omit<PressableProps, 'style' | 'children' | 'onPress'> {
|
|
6
|
+
value?: boolean;
|
|
7
|
+
defaultValue?: boolean;
|
|
8
|
+
onChange?: (value: boolean) => void;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
size?: SwitchSize;
|
|
11
|
+
tone?: SwitchTone;
|
|
12
|
+
label?: string;
|
|
13
|
+
accessibilityLabel?: string;
|
|
14
|
+
haptic?: HapticType | false;
|
|
15
|
+
/**
|
|
16
|
+
* When true, the thumb briefly scales up on value change (1 → 1.15 → 1).
|
|
17
|
+
* Use for playful/brand-flavored switches; default off for system feel.
|
|
18
|
+
*/
|
|
19
|
+
bounce?: boolean;
|
|
20
|
+
style?: StyleProp<ViewStyle>;
|
|
21
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
22
|
+
trackStyle?: StyleProp<ViewStyle>;
|
|
23
|
+
thumbStyle?: StyleProp<ViewStyle>;
|
|
24
|
+
testID?: string;
|
|
25
|
+
}
|
|
26
|
+
declare const Switch: import("react").ForwardRefExoticComponent<SwitchProps & import("react").RefAttributes<RNView>>;
|
|
27
|
+
export { Switch };
|
|
28
|
+
export default Switch;
|
|
29
|
+
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tabs — top tabs with animated underline (or pills) indicator.
|
|
3
|
+
*
|
|
4
|
+
* Layout: equal-width row by default, or horizontal-scrollable when
|
|
5
|
+
* `scrollable` is true. The active indicator (underline or pill) is an
|
|
6
|
+
* Animated.View positioned absolutely; its translateX + width spring to the
|
|
7
|
+
* measured layout of the active tab. Driven by native driver where possible
|
|
8
|
+
* (transform); width animates separately on the JS thread because RN's
|
|
9
|
+
* native driver does not support layout props.
|
|
10
|
+
*/
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import type { View as RNView, StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
13
|
+
import { Animated } from 'react-native';
|
|
14
|
+
import type { HapticType } from '../../utils/index.js';
|
|
15
|
+
export type TabsVariant = 'underline' | 'pills';
|
|
16
|
+
export type TabsAlign = 'left' | 'center';
|
|
17
|
+
export interface TabItem {
|
|
18
|
+
key: string;
|
|
19
|
+
label: string;
|
|
20
|
+
icon?: React.ReactNode;
|
|
21
|
+
/** Optional numeric/string badge — rendered inline after the label when provided. */
|
|
22
|
+
badge?: string | number;
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface TabsProps {
|
|
26
|
+
tabs: TabItem[];
|
|
27
|
+
activeKey: string;
|
|
28
|
+
onChange: (key: string) => void;
|
|
29
|
+
variant?: TabsVariant;
|
|
30
|
+
scrollable?: boolean;
|
|
31
|
+
align?: TabsAlign;
|
|
32
|
+
style?: StyleProp<ViewStyle>;
|
|
33
|
+
/** Alias of `style`. Applied to the outer container View. Additive — both merge. */
|
|
34
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
35
|
+
tabStyle?: StyleProp<ViewStyle>;
|
|
36
|
+
/** Style override applied to each tab label Text. */
|
|
37
|
+
tabLabelStyle?: StyleProp<TextStyle>;
|
|
38
|
+
/** Style override applied to the per-tab icon wrapper. */
|
|
39
|
+
tabIconStyle?: StyleProp<ViewStyle>;
|
|
40
|
+
/** Style override applied to the per-tab badge wrapper. */
|
|
41
|
+
tabBadgeStyle?: StyleProp<ViewStyle>;
|
|
42
|
+
/** Style override applied to the bottom divider line (underline variant only). */
|
|
43
|
+
dividerStyle?: StyleProp<ViewStyle>;
|
|
44
|
+
/** Style override applied to the animated indicator (underline or pill). */
|
|
45
|
+
indicatorStyle?: StyleProp<ViewStyle>;
|
|
46
|
+
/**
|
|
47
|
+
* Optional fractional active-index (0..tabs.length-1). When supplied and
|
|
48
|
+
* every tab has been measured, the indicator's translateX + width track
|
|
49
|
+
* this value via interpolation instead of springing on activeKey change.
|
|
50
|
+
* Wire it to a horizontal pager's `scrollX / pageWidth` to make the
|
|
51
|
+
* indicator follow drags in real time. Press-driven `onChange` still fires
|
|
52
|
+
* the same way; consumers typically scroll the pager in response so the
|
|
53
|
+
* progress value catches up.
|
|
54
|
+
*/
|
|
55
|
+
progress?: Animated.AnimatedInterpolation<number> | Animated.Value;
|
|
56
|
+
/** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
|
|
57
|
+
haptic?: HapticType | false;
|
|
58
|
+
accessibilityLabel?: string;
|
|
59
|
+
testID?: string;
|
|
60
|
+
}
|
|
61
|
+
declare const Tabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<RNView>>;
|
|
62
|
+
export { Tabs };
|
|
63
|
+
export default Tabs;
|
|
64
|
+
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { TextInput as RNTextInput, StyleProp, ViewStyle } from 'react-native';
|
|
2
|
+
import type { HapticType } from '../../utils/index.js';
|
|
3
|
+
import type { FieldBaseSize, FieldBaseVariant } from '../FieldBase/index.js';
|
|
4
|
+
export interface TagInputProps {
|
|
5
|
+
/** Controlled tags. */
|
|
6
|
+
value?: string[];
|
|
7
|
+
defaultValue?: string[];
|
|
8
|
+
onChange?: (tags: string[]) => void;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
label?: string;
|
|
11
|
+
helperText?: string;
|
|
12
|
+
error?: string;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
size?: FieldBaseSize;
|
|
16
|
+
variant?: FieldBaseVariant;
|
|
17
|
+
/** Reject a tag past this count. Omit for unlimited. */
|
|
18
|
+
maxTags?: number;
|
|
19
|
+
/** Reject a tag that already exists (case-insensitive). Default true. */
|
|
20
|
+
unique?: boolean;
|
|
21
|
+
/** Validate or transform a candidate. Return null to reject it. */
|
|
22
|
+
transform?: (raw: string) => string | null;
|
|
23
|
+
/** Characters that commit the current draft in addition to submit. Default [',']. */
|
|
24
|
+
separators?: string[];
|
|
25
|
+
haptic?: HapticType | false;
|
|
26
|
+
style?: StyleProp<ViewStyle>;
|
|
27
|
+
testID?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Chips as input — the "type a value, press enter, it becomes a tag" field.
|
|
31
|
+
* Chip renders a tag and Input takes text, but nothing joined them, so consumers
|
|
32
|
+
* built this by hand each time (and each one disagreed about backspace).
|
|
33
|
+
*/
|
|
34
|
+
export declare const TagInput: import("react").ForwardRefExoticComponent<TagInputProps & import("react").RefAttributes<RNTextInput>>;
|
|
35
|
+
export default TagInput;
|
|
36
|
+
//# sourceMappingURL=TagInput.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TextProps as RNTextProps, Text as RNTextRef, StyleProp, TextStyle } from 'react-native';
|
|
3
|
+
import type { FontWeightKey } from '../../theme/index.js';
|
|
4
|
+
import type { TypographyScale } from '../../theme/types.js';
|
|
5
|
+
export type TextVariant = 'display' | 'h1' | 'h2' | 'h3' | 'title' | 'body' | 'bodySmall' | 'caption' | 'label' | 'overline';
|
|
6
|
+
export type TextColor = 'primary' | 'secondary' | 'tertiary' | 'inverse' | 'disabled' | 'link' | 'success' | 'warning' | 'error' | 'info';
|
|
7
|
+
export interface TextProps extends Omit<RNTextProps, 'style'> {
|
|
8
|
+
variant?: TextVariant;
|
|
9
|
+
/** Text role token, semantic tone, or a raw colour string. Defaults per variant. */
|
|
10
|
+
color?: TextColor | (string & {});
|
|
11
|
+
/** Override the variant's weight. */
|
|
12
|
+
weight?: FontWeightKey;
|
|
13
|
+
/** Override the variant's size — a typography token or a pixel number. */
|
|
14
|
+
size?: keyof TypographyScale['fontSize'] | number;
|
|
15
|
+
align?: TextStyle['textAlign'];
|
|
16
|
+
italic?: boolean;
|
|
17
|
+
underline?: boolean;
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
style?: StyleProp<TextStyle>;
|
|
20
|
+
}
|
|
21
|
+
declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<RNTextRef>>;
|
|
22
|
+
export { Text };
|
|
23
|
+
export default Text;
|
|
24
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
import type { HapticType } from '../../utils/hapticUtils.js';
|
|
4
|
+
import type { FieldBaseSize, FieldBaseVariant } from '../FieldBase/index.js';
|
|
5
|
+
export type TimeFormat = '12h' | '24h';
|
|
6
|
+
export type Period = 'AM' | 'PM';
|
|
7
|
+
export type MinuteStep = 1 | 5 | 15 | 30;
|
|
8
|
+
export interface TimeValue {
|
|
9
|
+
hour: number;
|
|
10
|
+
minute: number;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* TimePicker supports two modes:
|
|
14
|
+
*
|
|
15
|
+
* 1. Controlled-modal mode — pass `visible`, `onChange`, `onClose`. The
|
|
16
|
+
* component renders only the modal sheet and the caller owns open/close
|
|
17
|
+
* state plus its own trigger UI.
|
|
18
|
+
* 2. Trigger mode — omit `visible`. The component renders a PickerTrigger
|
|
19
|
+
* field (label / value / placeholder / chevron / clear / helper / error)
|
|
20
|
+
* and manages its own modal open state. `onChange` is still called on
|
|
21
|
+
* confirm.
|
|
22
|
+
*/
|
|
23
|
+
export interface TimePickerProps {
|
|
24
|
+
/** Controlled-modal visibility. When omitted, the component enters trigger mode. */
|
|
25
|
+
visible?: boolean;
|
|
26
|
+
value?: TimeValue | null;
|
|
27
|
+
onChange?: (time: TimeValue) => void;
|
|
28
|
+
onClose?: () => void;
|
|
29
|
+
format?: TimeFormat;
|
|
30
|
+
minuteStep?: MinuteStep;
|
|
31
|
+
title?: string;
|
|
32
|
+
confirmLabel?: string;
|
|
33
|
+
cancelLabel?: string;
|
|
34
|
+
testID?: string;
|
|
35
|
+
style?: StyleProp<ViewStyle>;
|
|
36
|
+
/** Outer container style applied to the bottom sheet. */
|
|
37
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
38
|
+
/** Style override for the title text container. */
|
|
39
|
+
headerLabelStyle?: StyleProp<ViewStyle>;
|
|
40
|
+
/** Style override for the cancel/confirm footer buttons. */
|
|
41
|
+
footerButtonStyle?: StyleProp<ViewStyle>;
|
|
42
|
+
label?: string;
|
|
43
|
+
placeholder?: string;
|
|
44
|
+
helperText?: string;
|
|
45
|
+
error?: string;
|
|
46
|
+
required?: boolean;
|
|
47
|
+
disabled?: boolean;
|
|
48
|
+
size?: FieldBaseSize;
|
|
49
|
+
variant?: FieldBaseVariant;
|
|
50
|
+
clearable?: boolean;
|
|
51
|
+
onClear?: () => void;
|
|
52
|
+
/** Override the trigger field's value formatting. Defaults to `format`-aware h:mm/HH:mm. */
|
|
53
|
+
formatValue?: (time: TimeValue) => string;
|
|
54
|
+
/** Style passed through to the PickerTrigger field row. */
|
|
55
|
+
triggerStyle?: StyleProp<ViewStyle>;
|
|
56
|
+
/** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
|
|
57
|
+
haptic?: HapticType | false;
|
|
58
|
+
}
|
|
59
|
+
declare const TimePicker: React.FC<TimePickerProps>;
|
|
60
|
+
export { TimePicker };
|
|
61
|
+
export default TimePicker;
|
|
62
|
+
//# sourceMappingURL=TimePicker.d.ts.map
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
/**
|
|
4
|
+
* The status vocabulary is shared with the web library's AppTimeline so a
|
|
5
|
+
* sign-off history reads identically on both surfaces.
|
|
6
|
+
*
|
|
7
|
+
* upcoming — not started yet (hollow ring)
|
|
8
|
+
* current — in progress now (warning)
|
|
9
|
+
* done — completed (success)
|
|
10
|
+
* onHold — blocked / waiting (info)
|
|
11
|
+
* rejected — declined / failed (error)
|
|
12
|
+
* cancelled — aborted (muted)
|
|
13
|
+
* skipped — intentionally bypassed (muted)
|
|
14
|
+
*/
|
|
15
|
+
export type TimelineStatus = 'upcoming' | 'current' | 'done' | 'onHold' | 'rejected' | 'cancelled' | 'skipped';
|
|
16
|
+
export type TimelineVariant = 'feed' | 'progress';
|
|
17
|
+
export interface TimelineItem {
|
|
18
|
+
title: string;
|
|
19
|
+
description?: string;
|
|
20
|
+
/** Rendered under the title — a timestamp, an actor, a metadata line. */
|
|
21
|
+
meta?: string;
|
|
22
|
+
/** `progress` variant: drives the dot colour. Defaults to 'done' in a feed. */
|
|
23
|
+
status?: TimelineStatus;
|
|
24
|
+
/** Replaces the dot entirely. */
|
|
25
|
+
icon?: React.ReactNode;
|
|
26
|
+
/** Arbitrary content below the text block. */
|
|
27
|
+
children?: React.ReactNode;
|
|
28
|
+
key?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface TimelineProps {
|
|
31
|
+
items: ReadonlyArray<TimelineItem>;
|
|
32
|
+
/** 'feed' is an audit trail; 'progress' is a status tracker. */
|
|
33
|
+
variant?: TimelineVariant;
|
|
34
|
+
style?: StyleProp<ViewStyle>;
|
|
35
|
+
testID?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A chronological activity feed OR a status-progress tracker. Stepper covers a
|
|
39
|
+
* linear "which step am I on" flow; this covers "what has happened to this
|
|
40
|
+
* record", where entries carry their own status and can end in a terminal one.
|
|
41
|
+
*/
|
|
42
|
+
export declare const Timeline: React.FC<TimelineProps>;
|
|
43
|
+
export default Timeline;
|
|
44
|
+
//# sourceMappingURL=Timeline.d.ts.map
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
3
|
+
import type { HapticType } from '../../utils/hapticUtils.js';
|
|
4
|
+
export type ToastVariant = 'default' | 'success' | 'error' | 'warning' | 'info';
|
|
5
|
+
export type ToastPosition = 'top' | 'bottom';
|
|
6
|
+
export interface ToastAction {
|
|
7
|
+
label: string;
|
|
8
|
+
onPress: () => void;
|
|
9
|
+
}
|
|
10
|
+
export interface ToastOptions {
|
|
11
|
+
message: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
variant?: ToastVariant;
|
|
14
|
+
position?: ToastPosition;
|
|
15
|
+
duration?: number;
|
|
16
|
+
action?: ToastAction;
|
|
17
|
+
haptic?: HapticType | false;
|
|
18
|
+
icon?: React.ReactNode;
|
|
19
|
+
/** Style applied to the toast container (override radius, padding, shadow per-toast). */
|
|
20
|
+
style?: StyleProp<ViewStyle>;
|
|
21
|
+
/** Alias of `style`. Applied to the toast container (merged additively). */
|
|
22
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
23
|
+
/** Style applied to the toast message Text. */
|
|
24
|
+
textStyle?: StyleProp<TextStyle>;
|
|
25
|
+
/** Style applied to the leading icon circle wrapper. */
|
|
26
|
+
iconCircleStyle?: StyleProp<ViewStyle>;
|
|
27
|
+
/** Style applied to the message Text (alias-ish of `textStyle` but kept distinct for slot symmetry). */
|
|
28
|
+
messageStyle?: StyleProp<TextStyle>;
|
|
29
|
+
/** Style applied to the trailing action Pressable. */
|
|
30
|
+
actionButtonStyle?: StyleProp<ViewStyle>;
|
|
31
|
+
testID?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface ToastItem extends ToastOptions {
|
|
34
|
+
id: string;
|
|
35
|
+
}
|
|
36
|
+
export interface ToastProps {
|
|
37
|
+
toast: ToastItem;
|
|
38
|
+
index: number;
|
|
39
|
+
onDismiss: (id: string) => void;
|
|
40
|
+
}
|
|
41
|
+
declare const Toast: React.FC<ToastProps>;
|
|
42
|
+
export { Toast };
|
|
43
|
+
export default Toast;
|
|
44
|
+
//# sourceMappingURL=Toast.d.ts.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ToastOptions, ToastPosition } from './Toast.js';
|
|
3
|
+
export interface ToastApi {
|
|
4
|
+
show: (opts: ToastOptions) => string;
|
|
5
|
+
hide: (id: string) => void;
|
|
6
|
+
hideAll: () => void;
|
|
7
|
+
}
|
|
8
|
+
export interface ToastProviderProps {
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
maxVisible?: number;
|
|
11
|
+
topOffset?: number;
|
|
12
|
+
bottomOffset?: number;
|
|
13
|
+
}
|
|
14
|
+
export declare const ToastProvider: React.FC<ToastProviderProps>;
|
|
15
|
+
export declare const useToast: () => ToastApi;
|
|
16
|
+
interface ToastGlobal {
|
|
17
|
+
show: (opts: ToastOptions) => string;
|
|
18
|
+
success: (message: string, opts?: Omit<ToastOptions, 'message' | 'variant'>) => string;
|
|
19
|
+
error: (message: string, opts?: Omit<ToastOptions, 'message' | 'variant'>) => string;
|
|
20
|
+
warning: (message: string, opts?: Omit<ToastOptions, 'message' | 'variant'>) => string;
|
|
21
|
+
info: (message: string, opts?: Omit<ToastOptions, 'message' | 'variant'>) => string;
|
|
22
|
+
hideAll: () => void;
|
|
23
|
+
}
|
|
24
|
+
export declare const toast: ToastGlobal;
|
|
25
|
+
export type { ToastPosition };
|
|
26
|
+
//# sourceMappingURL=ToastProvider.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { ToastAction, ToastItem, ToastOptions, ToastPosition, ToastProps, ToastVariant } from './Toast.js';
|
|
2
|
+
export { default, Toast } from './Toast.js';
|
|
3
|
+
export type { ToastApi, ToastProviderProps } from './ToastProvider.js';
|
|
4
|
+
export { ToastProvider, toast, useToast } from './ToastProvider.js';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
3
|
+
export type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right' | 'auto';
|
|
4
|
+
export type TooltipTrigger = 'longPress' | 'press' | 'manual';
|
|
5
|
+
export interface TooltipProps {
|
|
6
|
+
content: string | React.ReactNode;
|
|
7
|
+
children: React.ReactElement;
|
|
8
|
+
placement?: TooltipPlacement;
|
|
9
|
+
trigger?: TooltipTrigger;
|
|
10
|
+
visible?: boolean;
|
|
11
|
+
onVisibleChange?: (visible: boolean) => void;
|
|
12
|
+
hideOnContentPress?: boolean;
|
|
13
|
+
maxWidth?: number;
|
|
14
|
+
showArrow?: boolean;
|
|
15
|
+
accessibilityLabel?: string;
|
|
16
|
+
style?: StyleProp<ViewStyle>;
|
|
17
|
+
/** Alias of `style`. Applied to the outer animated tooltip wrapper (merged additively). */
|
|
18
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
19
|
+
/** Style override applied to the arrow caret View. */
|
|
20
|
+
arrowStyle?: StyleProp<ViewStyle>;
|
|
21
|
+
/** Style override applied to the message Text (only when `content` is a string). */
|
|
22
|
+
messageStyle?: StyleProp<TextStyle>;
|
|
23
|
+
testID?: string;
|
|
24
|
+
}
|
|
25
|
+
declare const Tooltip: React.FC<TooltipProps>;
|
|
26
|
+
export { Tooltip };
|
|
27
|
+
export default Tooltip;
|
|
28
|
+
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
export type { AccordionGroupProps, AccordionProps, AccordionVariant } from './Accordion/index.js';
|
|
2
|
+
export { Accordion, AccordionGroup } from './Accordion/index.js';
|
|
3
|
+
export type { AnimatePresenceProps, PresencePreset } from './AnimatePresence/index.js';
|
|
4
|
+
export { AnimatePresence } from './AnimatePresence/index.js';
|
|
5
|
+
export type { AppBarAction, AppBarProps, AppBarVariant } from './AppBar/index.js';
|
|
6
|
+
export { AppBar } from './AppBar/index.js';
|
|
7
|
+
export type { AsyncBlockProps } from './AsyncBlock/index.js';
|
|
8
|
+
export { AsyncBlock } from './AsyncBlock/index.js';
|
|
9
|
+
export type { AutocompleteProps } from './Autocomplete/index.js';
|
|
10
|
+
export { Autocomplete } from './Autocomplete/index.js';
|
|
11
|
+
export type { AvatarGroupOverflowVariant, AvatarGroupProps, AvatarGroupSpacing, AvatarImageProps, AvatarProps, AvatarShape, AvatarSize, AvatarStatus } from './Avatar/index.js';
|
|
12
|
+
export { Avatar, AvatarGroup } from './Avatar/index.js';
|
|
13
|
+
export type { BadgeAnchor, BadgeProps, BadgeTone, BadgeVariant } from './Badge/index.js';
|
|
14
|
+
export { Badge } from './Badge/index.js';
|
|
15
|
+
export type { BannerAction, BannerProps, BannerVariant } from './Banner/index.js';
|
|
16
|
+
export { Banner } from './Banner/index.js';
|
|
17
|
+
export type { BottomNavigationProps, TabConfig } from './BottomNavigation/index.js';
|
|
18
|
+
export { BottomNavigation } from './BottomNavigation/index.js';
|
|
19
|
+
export type { BottomSheetContextValue, BottomSheetProps, BottomSheetRef } from './BottomSheet/index.js';
|
|
20
|
+
export { BottomSheet, useBottomSheet } from './BottomSheet/index.js';
|
|
21
|
+
export type { BoxProps, RowProps, SpacerProps, StackProps } from './Box/index.js';
|
|
22
|
+
export { Box, Row, Spacer, Stack } from './Box/index.js';
|
|
23
|
+
export type { ButtonProps, ButtonSize, ButtonTone, ButtonVariant } from './Button/index.js';
|
|
24
|
+
export { Button } from './Button/index.js';
|
|
25
|
+
export type { CardElevation, CardPadding, CardProps, CardRadius, CardVariant } from './Card/index.js';
|
|
26
|
+
export { Card } from './Card/index.js';
|
|
27
|
+
export type { CarouselProps, CarouselRef, PaginationStyle } from './Carousel/index.js';
|
|
28
|
+
export { Carousel } from './Carousel/index.js';
|
|
29
|
+
export type { CheckboxProps, CheckboxSize, CheckboxTone } from './Checkbox/index.js';
|
|
30
|
+
export { Checkbox } from './Checkbox/index.js';
|
|
31
|
+
export type { ChipProps, ChipSize, ChipTone, ChipVariant } from './Chip/index.js';
|
|
32
|
+
export { Chip } from './Chip/index.js';
|
|
33
|
+
export type { ChoiceGroupDirection, ChoiceGroupProps, ChoiceGroupSize, ChoiceOption, ChoiceOptionState } from './ChoiceGroup/index.js';
|
|
34
|
+
export { ChoiceGroup } from './ChoiceGroup/index.js';
|
|
35
|
+
export type { ConfettiHandle, ConfettiMode, ConfettiOrigin, ConfettiProps } from './Confetti/index.js';
|
|
36
|
+
export { Confetti } from './Confetti/index.js';
|
|
37
|
+
export type { DatePickerMode, DatePickerProps } from './DatePicker/index.js';
|
|
38
|
+
export { DatePicker } from './DatePicker/index.js';
|
|
39
|
+
export type { DateRange, DateRangePickerProps } from './DateRangePicker/index.js';
|
|
40
|
+
export { DateRangePicker } from './DateRangePicker/index.js';
|
|
41
|
+
export type { DescriptionItem, DescriptionsProps, DescriptionsSize } from './Descriptions/index.js';
|
|
42
|
+
export { Descriptions } from './Descriptions/index.js';
|
|
43
|
+
export type { DialogAction, DialogProps, DialogVariant } from './Dialog/index.js';
|
|
44
|
+
export { Dialog } from './Dialog/index.js';
|
|
45
|
+
export type { DividerOrientation, DividerProps, DividerSpacing } from './Divider/index.js';
|
|
46
|
+
export { Divider } from './Divider/index.js';
|
|
47
|
+
export type { DrawerProps, DrawerRef, DrawerSide } from './Drawer/index.js';
|
|
48
|
+
export { Drawer } from './Drawer/index.js';
|
|
49
|
+
export type { EmptyStateAction, EmptyStateProps, EmptyStateSize } from './EmptyState/index.js';
|
|
50
|
+
export { EmptyState } from './EmptyState/index.js';
|
|
51
|
+
export type { FilePickerFile, FilePickerFileState, FilePickerFileStatus, FilePickerLabels, FilePickerProps, FilePickerRef, FilePickerSource, FilePickerTriggerState, FilePickerVariant, PickedFileInput } from './FilePicker/index.js';
|
|
52
|
+
export { FilePicker, formatFileSize } from './FilePicker/index.js';
|
|
53
|
+
export type { FloatingActionButtonGroupAction, FloatingActionButtonGroupProps, FloatingActionButtonPosition, FloatingActionButtonProps, FloatingActionButtonSize, FloatingActionButtonTone } from './FloatingActionButton/index.js';
|
|
54
|
+
export { FloatingActionButton, FloatingActionButtonGroup } from './FloatingActionButton/index.js';
|
|
55
|
+
export type { ForceUpdateDialogProps } from './ForceUpdateDialog/index.js';
|
|
56
|
+
export { ForceUpdateDialog } from './ForceUpdateDialog/index.js';
|
|
57
|
+
export type { FormFieldLayout, FormFieldProps } from './FormField/index.js';
|
|
58
|
+
export { FormField } from './FormField/index.js';
|
|
59
|
+
export type { IconButtonProps, IconButtonShape, IconButtonSize, IconButtonTone, IconButtonVariant } from './IconButton/index.js';
|
|
60
|
+
export { IconButton } from './IconButton/index.js';
|
|
61
|
+
export type { GalleryImage, ImageGalleryProps } from './ImageGallery/index.js';
|
|
62
|
+
export { ImageGallery } from './ImageGallery/index.js';
|
|
63
|
+
export type { InlineSelectProps, InlineSelectSize } from './InlineSelect/index.js';
|
|
64
|
+
export { InlineSelect } from './InlineSelect/index.js';
|
|
65
|
+
export type { InputProps, InputSize, InputVariant } from './Input/index.js';
|
|
66
|
+
export { Input } from './Input/index.js';
|
|
67
|
+
export type { KeyboardAwareScrollViewProps } from './KeyboardAwareScrollView/index.js';
|
|
68
|
+
export { KeyboardAwareScrollView } from './KeyboardAwareScrollView/index.js';
|
|
69
|
+
export type { KeyboardToolbarProps } from './KeyboardToolbar/index.js';
|
|
70
|
+
export { KeyboardToolbar } from './KeyboardToolbar/index.js';
|
|
71
|
+
export type { ListItemProps, ListItemSize } from './ListItem/index.js';
|
|
72
|
+
export { ListItem } from './ListItem/index.js';
|
|
73
|
+
export type { ModalPresentation, ModalProps } from './Modal/index.js';
|
|
74
|
+
export { MODAL_DISMISS_GRACE_MS, Modal } from './Modal/index.js';
|
|
75
|
+
export type { NumberInputProps, NumberInputRef, NumberInputSize, NumberInputVariant } from './NumberInput/index.js';
|
|
76
|
+
export { NumberInput } from './NumberInput/index.js';
|
|
77
|
+
export type { OTPInputProps, OTPInputRef, OTPInputSize } from './OTPInput/index.js';
|
|
78
|
+
export { OTPInput } from './OTPInput/index.js';
|
|
79
|
+
export type { CallingCode, PhoneNumberInputProps, PhoneNumberValue } from './PhoneNumberInput/index.js';
|
|
80
|
+
export { DEFAULT_CALLING_CODES, formatE164, PhoneNumberInput } from './PhoneNumberInput/index.js';
|
|
81
|
+
export type { PickerTriggerProps, PickerTriggerSize, PickerTriggerVariant } from './PickerTrigger/index.js';
|
|
82
|
+
export { PickerTrigger } from './PickerTrigger/index.js';
|
|
83
|
+
export type { ProgressBarProps, ProgressBarSegment, ProgressBarTone } from './ProgressBar/index.js';
|
|
84
|
+
export { ProgressBar } from './ProgressBar/index.js';
|
|
85
|
+
export type { RadioDotProps, RadioGroupProps, RadioProps, RadioSize, RadioTone, RadioValue } from './Radio/index.js';
|
|
86
|
+
export { Radio, RadioDot, RadioGroup } from './Radio/index.js';
|
|
87
|
+
export type { RatingProps, RatingSize, RatingTone } from './Rating/index.js';
|
|
88
|
+
export { Rating } from './Rating/index.js';
|
|
89
|
+
export type { RepeaterProps, RepeaterRenderArgs } from './Repeater/index.js';
|
|
90
|
+
export { Repeater } from './Repeater/index.js';
|
|
91
|
+
export type { SearchBarProps, SearchBarSize, SearchBarVariant } from './SearchBar/index.js';
|
|
92
|
+
export { SearchBar } from './SearchBar/index.js';
|
|
93
|
+
export type { SegmentedControlProps, SegmentedControlSize, SegmentedControlTone } from './SegmentedControl/index.js';
|
|
94
|
+
export { SegmentedControl } from './SegmentedControl/index.js';
|
|
95
|
+
export type { SelectOption, SelectProps, SelectSize, SelectValue } from './Select/index.js';
|
|
96
|
+
export { Select } from './Select/index.js';
|
|
97
|
+
export type { SkeletonCircleProps, SkeletonClockProviderProps, SkeletonClockValue, SkeletonColors, SkeletonContentProps, SkeletonListProps, SkeletonProps, SkeletonProviderDefaults, SkeletonProviderProps, SkeletonRadius, SkeletonShape, SkeletonSkipProps, SkeletonSpeed, SkeletonStaticOf, SkeletonTextProps, SkeletonVariant, SkeletonWidth } from './Skeleton/index.js';
|
|
98
|
+
export { Skeleton, SkeletonCircle, SkeletonClockProvider, SkeletonContent, SkeletonList, SkeletonProvider, SkeletonSkip, SkeletonText, useReduceMotion, useSkeletonClock, useSkeletonDefaults } from './Skeleton/index.js';
|
|
99
|
+
export type { SliderProps, SliderSize, SliderTone } from './Slider/index.js';
|
|
100
|
+
export { Slider } from './Slider/index.js';
|
|
101
|
+
export type { SlideToConfirmProps, SlideToConfirmSize, SlideToConfirmTone } from './SlideToConfirm/index.js';
|
|
102
|
+
export { SlideToConfirm } from './SlideToConfirm/index.js';
|
|
103
|
+
export type { SpinnerProps, SpinnerSize, SpinnerVariant } from './Spinner/index.js';
|
|
104
|
+
export { Spinner } from './Spinner/index.js';
|
|
105
|
+
export type { StepperProps, StepperStep, StepperTone, StepperVariant } from './Stepper/index.js';
|
|
106
|
+
export { Stepper } from './Stepper/index.js';
|
|
107
|
+
export type { SwipeableAction, SwipeableProps, SwipeableTone } from './Swipeable/index.js';
|
|
108
|
+
export { Swipeable } from './Swipeable/index.js';
|
|
109
|
+
export type { SwitchProps, SwitchSize, SwitchTone } from './Switch/index.js';
|
|
110
|
+
export { Switch } from './Switch/index.js';
|
|
111
|
+
export type { TabItem, TabsProps, TabsVariant } from './Tabs/index.js';
|
|
112
|
+
export { Tabs } from './Tabs/index.js';
|
|
113
|
+
export type { TagInputProps } from './TagInput/index.js';
|
|
114
|
+
export { TagInput } from './TagInput/index.js';
|
|
115
|
+
export type { TextColor, TextProps, TextVariant } from './Text/index.js';
|
|
116
|
+
export { Text } from './Text/index.js';
|
|
117
|
+
export type { TimelineItem, TimelineProps, TimelineStatus, TimelineVariant } from './Timeline/index.js';
|
|
118
|
+
export { Timeline } from './Timeline/index.js';
|
|
119
|
+
export type { MinuteStep, Period, TimeFormat, TimePickerProps, TimeValue } from './TimePicker/index.js';
|
|
120
|
+
export { TimePicker } from './TimePicker/index.js';
|
|
121
|
+
export type { ToastApi, ToastOptions, ToastPosition, ToastProps, ToastProviderProps, ToastVariant } from './Toast/index.js';
|
|
122
|
+
export { Toast, ToastProvider, toast, useToast } from './Toast/index.js';
|
|
123
|
+
export type { TooltipPlacement, TooltipProps, TooltipTrigger } from './Tooltip/index.js';
|
|
124
|
+
export { Tooltip } from './Tooltip/index.js';
|
|
125
|
+
//# sourceMappingURL=index.d.ts.map
|