@webority/mobile-ui 0.149.0 → 0.152.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/canvas-kit/kit.js +13 -56714
- package/dist/canvas-kit/manifest.json +157 -56
- package/dist/canvas-kit/release.json +6 -6
- package/lib/commonjs/components/Accordion/Accordion.js +1 -1
- package/lib/commonjs/components/AppBar/AppBar.js +1 -1
- package/lib/commonjs/components/AppIcon/AppIcon.js +1 -1
- package/lib/commonjs/components/AppIcon/glyphs.g.js +1 -1
- package/lib/commonjs/components/AsyncBlock/AsyncBlock.js +1 -1
- package/lib/commonjs/components/AuthedImage/AuthedImage.js +1 -1
- package/lib/commonjs/components/AuthedImage/authedImageCache.js +1 -1
- package/lib/commonjs/components/Avatar/Avatar.js +1 -1
- package/lib/commonjs/components/Badge/Badge.js +1 -1
- package/lib/commonjs/components/Banner/Banner.js +1 -1
- package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +1 -1
- package/lib/commonjs/components/Box/Box.js +1 -1
- package/lib/commonjs/components/Button/Button.js +1 -1
- package/lib/commonjs/components/Calendar/calendarStyles.js +1 -1
- package/lib/commonjs/components/Card/Card.js +1 -1
- package/lib/commonjs/components/Carousel/Carousel.js +1 -1
- package/lib/commonjs/components/Chip/Chip.js +1 -1
- package/lib/commonjs/components/ChoiceGroup/ChoiceGroup.js +1 -1
- package/lib/commonjs/components/Confetti/Confetti.js +1 -1
- package/lib/commonjs/components/DatePicker/DatePicker.js +1 -1
- package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +1 -1
- package/lib/commonjs/components/Descriptions/Descriptions.js +1 -1
- package/lib/commonjs/components/Dialog/Dialog.js +1 -1
- package/lib/commonjs/components/FilePicker/FilePicker.js +1 -1
- package/lib/commonjs/components/FileViewer/fileSource.js +1 -1
- package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
- package/lib/commonjs/components/InlineSelect/InlineSelect.js +1 -1
- package/lib/commonjs/components/Input/Input.js +1 -1
- package/lib/commonjs/components/ListItem/ListItem.js +1 -1
- package/lib/commonjs/components/Markdown/Markdown.js +1 -1
- package/lib/commonjs/components/Menu/MenuSurface.js +1 -1
- package/lib/commonjs/components/Menu/focusHost.js +1 -1
- package/lib/commonjs/components/NonModalBottomSheet/NonModalBottomSheet.js +1 -0
- package/lib/commonjs/components/NonModalBottomSheet/index.js +1 -0
- package/lib/commonjs/components/OptionSheet/OptionSheet.js +1 -1
- package/lib/commonjs/components/OptionSheet/optionAccessors.js +1 -0
- package/lib/commonjs/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
- package/lib/commonjs/components/ProgressRing/ProgressRing.js +1 -1
- package/lib/commonjs/components/Radio/RadioGroup.js +1 -1
- package/lib/commonjs/components/Rating/Rating.js +1 -1
- package/lib/commonjs/components/Repeater/Repeater.js +1 -1
- package/lib/commonjs/components/Screen/Screen.js +1 -1
- package/lib/commonjs/components/SearchBar/useRecentSearches.js +1 -1
- package/lib/commonjs/components/SegmentedControl/SegmentedControl.js +1 -1
- package/lib/commonjs/components/Select/Select.js +1 -1
- package/lib/commonjs/components/Skeleton/SkeletonContent.js +1 -1
- package/lib/commonjs/components/Skeleton/SkeletonList.js +1 -1
- package/lib/commonjs/components/Slider/Slider.js +1 -1
- package/lib/commonjs/components/SliderField/SliderField.js +1 -1
- package/lib/commonjs/components/SortableList/SortableList.js +1 -1
- package/lib/commonjs/components/Sparkline/Sparkline.js +1 -1
- package/lib/commonjs/components/SquircleFill/SquircleFill.js +1 -1
- package/lib/commonjs/components/StatTile/StatTile.js +1 -1
- package/lib/commonjs/components/StatusBadge/StatusBadge.js +1 -1
- package/lib/commonjs/components/StatusBadge/statusMap.js +1 -1
- package/lib/commonjs/components/Stepper/Stepper.js +1 -1
- package/lib/commonjs/components/Text/Text.js +1 -1
- package/lib/commonjs/components/TimePicker/TimePicker.js +1 -1
- package/lib/commonjs/components/Toast/Toast.js +1 -1
- package/lib/commonjs/components/WheelPicker/Wheel.js +1 -1
- package/lib/commonjs/components/WheelPicker/WheelPicker.js +1 -1
- package/lib/commonjs/components/index.js +1 -1
- package/lib/commonjs/form/HookFormField.js +1 -1
- package/lib/commonjs/form/path.js +1 -1
- package/lib/commonjs/hooks/useControllableState.js +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/specs/NativePdfRasterizer.js +1 -1
- package/lib/commonjs/theme/ThemeContext.js +1 -1
- package/lib/commonjs/theme/animatedValue.js +1 -1
- package/lib/commonjs/theme/componentSizes.js +1 -1
- package/lib/commonjs/theme/merge.js +1 -1
- package/lib/commonjs/theme/scale.js +1 -1
- package/lib/commonjs/theme/tokens.generated.js +1 -1
- package/lib/commonjs/utils/complete.js +1 -0
- package/lib/commonjs/utils/guards.js +1 -0
- package/lib/commonjs/utils/hapticUtils.js +1 -1
- package/lib/module/components/Accordion/Accordion.js +1 -1
- package/lib/module/components/AppBar/AppBar.js +1 -1
- package/lib/module/components/AppIcon/AppIcon.js +1 -1
- package/lib/module/components/AppIcon/glyphs.g.js +1 -1
- package/lib/module/components/AsyncBlock/AsyncBlock.js +1 -1
- package/lib/module/components/AuthedImage/AuthedImage.js +1 -1
- package/lib/module/components/AuthedImage/authedImageCache.js +1 -1
- package/lib/module/components/Avatar/Avatar.js +1 -1
- package/lib/module/components/Badge/Badge.js +1 -1
- package/lib/module/components/Banner/Banner.js +1 -1
- package/lib/module/components/BottomNavigation/BottomNavigation.js +1 -1
- package/lib/module/components/Box/Box.js +1 -1
- package/lib/module/components/Button/Button.js +1 -1
- package/lib/module/components/Calendar/calendarStyles.js +1 -1
- package/lib/module/components/Card/Card.js +1 -1
- package/lib/module/components/Carousel/Carousel.js +1 -1
- package/lib/module/components/Chip/Chip.js +1 -1
- package/lib/module/components/ChoiceGroup/ChoiceGroup.js +1 -1
- package/lib/module/components/Confetti/Confetti.js +1 -1
- package/lib/module/components/DatePicker/DatePicker.js +1 -1
- package/lib/module/components/DateRangePicker/DateRangePicker.js +1 -1
- package/lib/module/components/Descriptions/Descriptions.js +1 -1
- package/lib/module/components/Dialog/Dialog.js +1 -1
- package/lib/module/components/FilePicker/FilePicker.js +1 -1
- package/lib/module/components/FileViewer/fileSource.js +1 -1
- package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
- package/lib/module/components/InlineSelect/InlineSelect.js +1 -1
- package/lib/module/components/Input/Input.js +1 -1
- package/lib/module/components/ListItem/ListItem.js +1 -1
- package/lib/module/components/Markdown/Markdown.js +1 -1
- package/lib/module/components/Menu/MenuSurface.js +1 -1
- package/lib/module/components/Menu/focusHost.js +1 -1
- package/lib/module/components/NonModalBottomSheet/NonModalBottomSheet.js +1 -0
- package/lib/module/components/NonModalBottomSheet/index.js +1 -0
- package/lib/module/components/OptionSheet/OptionSheet.js +1 -1
- package/lib/module/components/OptionSheet/optionAccessors.js +1 -0
- package/lib/module/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
- package/lib/module/components/ProgressRing/ProgressRing.js +1 -1
- package/lib/module/components/Radio/RadioGroup.js +1 -1
- package/lib/module/components/Rating/Rating.js +1 -1
- package/lib/module/components/Repeater/Repeater.js +1 -1
- package/lib/module/components/Screen/Screen.js +1 -1
- package/lib/module/components/SearchBar/useRecentSearches.js +1 -1
- package/lib/module/components/SegmentedControl/SegmentedControl.js +1 -1
- package/lib/module/components/Select/Select.js +1 -1
- package/lib/module/components/Skeleton/SkeletonContent.js +1 -1
- package/lib/module/components/Skeleton/SkeletonList.js +1 -1
- package/lib/module/components/Slider/Slider.js +1 -1
- package/lib/module/components/SliderField/SliderField.js +1 -1
- package/lib/module/components/SortableList/SortableList.js +1 -1
- package/lib/module/components/Sparkline/Sparkline.js +1 -1
- package/lib/module/components/SquircleFill/SquircleFill.js +1 -1
- package/lib/module/components/StatTile/StatTile.js +1 -1
- package/lib/module/components/StatusBadge/StatusBadge.js +1 -1
- package/lib/module/components/StatusBadge/statusMap.js +1 -1
- package/lib/module/components/Stepper/Stepper.js +1 -1
- package/lib/module/components/Text/Text.js +1 -1
- package/lib/module/components/TimePicker/TimePicker.js +1 -1
- package/lib/module/components/Toast/Toast.js +1 -1
- package/lib/module/components/WheelPicker/Wheel.js +1 -1
- package/lib/module/components/WheelPicker/WheelPicker.js +1 -1
- package/lib/module/components/index.js +1 -1
- package/lib/module/form/HookFormField.js +1 -1
- package/lib/module/form/path.js +1 -1
- package/lib/module/hooks/useControllableState.js +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/specs/NativePdfRasterizer.js +1 -1
- package/lib/module/theme/ThemeContext.js +1 -1
- package/lib/module/theme/animatedValue.js +1 -1
- package/lib/module/theme/componentSizes.js +1 -1
- package/lib/module/theme/merge.js +1 -1
- package/lib/module/theme/scale.js +1 -1
- package/lib/module/theme/tokens.generated.js +1 -1
- package/lib/module/utils/complete.js +1 -0
- package/lib/module/utils/guards.js +1 -0
- package/lib/module/utils/hapticUtils.js +1 -1
- package/lib/typescript/commonjs/canvasKit/index.d.ts +12 -12
- package/lib/typescript/commonjs/canvasKit/meta.d.ts +5 -7
- package/lib/typescript/commonjs/components/Accordion/Accordion.d.ts +22 -22
- package/lib/typescript/commonjs/components/AmountSlider/AmountSlider.d.ts +23 -23
- package/lib/typescript/commonjs/components/AnimatePresence/AnimatePresence.d.ts +5 -5
- package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +39 -39
- package/lib/typescript/commonjs/components/AppIcon/AppIcon.d.ts +7 -7
- package/lib/typescript/commonjs/components/AppIcon/defaultIcons.d.ts +2 -1
- package/lib/typescript/commonjs/components/AppIcon/glyphs.g.d.ts +233 -233
- package/lib/typescript/commonjs/components/AppIcon/slotIcon.d.ts +1 -1
- package/lib/typescript/commonjs/components/AppLockOverlay/AppLockOverlay.d.ts +5 -5
- package/lib/typescript/commonjs/components/AsyncBlock/AsyncBlock.d.ts +22 -40
- package/lib/typescript/commonjs/components/AuthedImage/AuthedImage.d.ts +15 -15
- package/lib/typescript/commonjs/components/AuthedImage/authedImageCache.d.ts +2 -2
- package/lib/typescript/commonjs/components/Autocomplete/Autocomplete.d.ts +24 -24
- package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +41 -39
- package/lib/typescript/commonjs/components/Badge/Badge.d.ts +18 -18
- package/lib/typescript/commonjs/components/Banner/Banner.d.ts +25 -25
- package/lib/typescript/commonjs/components/BarChart/BarChart.d.ts +21 -21
- package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +36 -36
- package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +32 -32
- package/lib/typescript/commonjs/components/Box/Box.d.ts +27 -27
- package/lib/typescript/commonjs/components/Button/Button.d.ts +29 -24
- package/lib/typescript/commonjs/components/Calendar/Calendar.d.ts +20 -20
- package/lib/typescript/commonjs/components/Calendar/CalendarDay.d.ts +4 -2
- package/lib/typescript/commonjs/components/Card/Card.d.ts +41 -41
- package/lib/typescript/commonjs/components/Carousel/Carousel.d.ts +21 -21
- package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +21 -21
- package/lib/typescript/commonjs/components/Chip/Chip.d.ts +23 -23
- package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +51 -46
- package/lib/typescript/commonjs/components/Composer/Composer.d.ts +27 -27
- package/lib/typescript/commonjs/components/Confetti/Confetti.d.ts +22 -21
- package/lib/typescript/commonjs/components/Confirm/confirm.d.ts +4 -4
- package/lib/typescript/commonjs/components/DatePicker/DatePicker.d.ts +20 -20
- package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +22 -22
- package/lib/typescript/commonjs/components/DateSeparator/DateSeparator.d.ts +9 -9
- package/lib/typescript/commonjs/components/DecimalInput/DecimalInput.d.ts +14 -14
- package/lib/typescript/commonjs/components/Descriptions/Descriptions.d.ts +13 -13
- package/lib/typescript/commonjs/components/Dialog/Dialog.d.ts +24 -24
- package/lib/typescript/commonjs/components/Dialog/OverlayActions.d.ts +5 -5
- package/lib/typescript/commonjs/components/Divider/Divider.d.ts +9 -9
- package/lib/typescript/commonjs/components/Drawer/Drawer.d.ts +14 -14
- package/lib/typescript/commonjs/components/EmptyState/EmptyState.d.ts +13 -13
- package/lib/typescript/commonjs/components/ErrorBoundary/ErrorBoundary.d.ts +8 -8
- package/lib/typescript/commonjs/components/FieldBase/Chevron.d.ts +2 -2
- package/lib/typescript/commonjs/components/FieldBase/ChoiceText.d.ts +10 -10
- package/lib/typescript/commonjs/components/FieldBase/FieldBase.d.ts +54 -54
- package/lib/typescript/commonjs/components/FieldBase/useFloatingLabel.d.ts +8 -8
- package/lib/typescript/commonjs/components/FilePicker/FilePicker.d.ts +35 -35
- package/lib/typescript/commonjs/components/FileViewer/FileViewer.d.ts +10 -10
- package/lib/typescript/commonjs/components/FileViewer/fileSource.d.ts +3 -3
- package/lib/typescript/commonjs/components/FilterChipRow/FilterChipRow.d.ts +12 -12
- package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +35 -35
- package/lib/typescript/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +11 -11
- package/lib/typescript/commonjs/components/FormField/FormField.d.ts +15 -15
- package/lib/typescript/commonjs/components/IconBadge/IconBadge.d.ts +11 -11
- package/lib/typescript/commonjs/components/IconButton/IconButton.d.ts +14 -14
- package/lib/typescript/commonjs/components/ImageGallery/ImageGallery.d.ts +14 -14
- package/lib/typescript/commonjs/components/InlineSelect/InlineSelect.d.ts +36 -31
- package/lib/typescript/commonjs/components/Input/Input.d.ts +47 -47
- package/lib/typescript/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +7 -7
- package/lib/typescript/commonjs/components/KeyboardToolbar/KeyboardToolbar.d.ts +8 -8
- package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +44 -44
- package/lib/typescript/commonjs/components/ListSection/ListSection.d.ts +6 -6
- package/lib/typescript/commonjs/components/LoaderOverlay/LoaderOverlay.d.ts +17 -11
- package/lib/typescript/commonjs/components/Markdown/Markdown.d.ts +15 -15
- package/lib/typescript/commonjs/components/Menu/Menu.d.ts +17 -12
- package/lib/typescript/commonjs/components/Menu/MenuSurface.d.ts +8 -8
- package/lib/typescript/commonjs/components/Menu/menuModel.d.ts +11 -11
- package/lib/typescript/commonjs/components/Menu/useContextMenu.d.ts +13 -13
- package/lib/typescript/commonjs/components/Menu/webOnly.d.ts +3 -3
- package/lib/typescript/commonjs/components/MessageBubble/MessageBubble.d.ts +20 -20
- package/lib/typescript/commonjs/components/MessageList/MessageList.d.ts +14 -14
- package/lib/typescript/commonjs/components/Modal/Modal.d.ts +19 -19
- package/lib/typescript/commonjs/components/NonModalBottomSheet/NonModalBottomSheet.d.ts +52 -0
- package/lib/typescript/commonjs/components/NonModalBottomSheet/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +27 -27
- package/lib/typescript/commonjs/components/OTPInput/OTPInput.d.ts +20 -20
- package/lib/typescript/commonjs/components/OTPInput/OTPResendRow.d.ts +9 -9
- package/lib/typescript/commonjs/components/OnboardingPager/OnboardingPager.d.ts +5 -5
- package/lib/typescript/commonjs/components/OptionSheet/OptionSheet.d.ts +39 -34
- package/lib/typescript/commonjs/components/OptionSheet/optionAccessors.d.ts +9 -0
- package/lib/typescript/commonjs/components/PagedListFooter/PagedListFooter.d.ts +2 -2
- package/lib/typescript/commonjs/components/PermissionPrompt/PermissionPrompt.d.ts +6 -6
- package/lib/typescript/commonjs/components/PermissionPrompt/usePermissionPrompt.d.ts +1 -1
- package/lib/typescript/commonjs/components/PhoneNumberInput/PhoneNumberInput.d.ts +43 -43
- package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +23 -23
- package/lib/typescript/commonjs/components/ProfileCompletion/ProfileCompletion.d.ts +23 -23
- package/lib/typescript/commonjs/components/ProfilePicker/ProfilePicker.d.ts +30 -30
- package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +21 -21
- package/lib/typescript/commonjs/components/ProgressRing/ProgressRing.d.ts +13 -13
- package/lib/typescript/commonjs/components/Radio/Radio.d.ts +18 -18
- package/lib/typescript/commonjs/components/Radio/RadioDot.d.ts +5 -5
- package/lib/typescript/commonjs/components/Radio/RadioGroup.d.ts +8 -8
- package/lib/typescript/commonjs/components/Rating/Rating.d.ts +15 -15
- package/lib/typescript/commonjs/components/Repeater/Repeater.d.ts +10 -10
- package/lib/typescript/commonjs/components/RichTextEditor/RichTextEditor.d.ts +15 -15
- package/lib/typescript/commonjs/components/ScannerOverlay/ScannerOverlay.d.ts +13 -13
- package/lib/typescript/commonjs/components/Screen/Screen.d.ts +43 -44
- package/lib/typescript/commonjs/components/Screen/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +31 -31
- package/lib/typescript/commonjs/components/SearchBar/SearchPanel.d.ts +6 -6
- package/lib/typescript/commonjs/components/SearchBar/useRecentSearches.d.ts +1 -1
- package/lib/typescript/commonjs/components/SectionHeader/SectionHeader.d.ts +10 -10
- package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +25 -24
- package/lib/typescript/commonjs/components/Select/Select.d.ts +50 -45
- package/lib/typescript/commonjs/components/SignaturePad/SignaturePad.d.ts +20 -20
- package/lib/typescript/commonjs/components/Skeleton/Skeleton.d.ts +13 -13
- package/lib/typescript/commonjs/components/Skeleton/SkeletonContent.d.ts +9 -9
- package/lib/typescript/commonjs/components/Skeleton/SkeletonList.d.ts +30 -8
- package/lib/typescript/commonjs/components/Skeleton/SkeletonProvider.d.ts +9 -9
- package/lib/typescript/commonjs/components/SlideToConfirm/SlideToConfirm.d.ts +14 -14
- package/lib/typescript/commonjs/components/Slider/Slider.d.ts +30 -30
- package/lib/typescript/commonjs/components/Slider/valueText.d.ts +9 -9
- package/lib/typescript/commonjs/components/SliderField/SliderField.d.ts +41 -41
- package/lib/typescript/commonjs/components/SortableList/SortableList.d.ts +5 -5
- package/lib/typescript/commonjs/components/Sparkline/Sparkline.d.ts +13 -13
- package/lib/typescript/commonjs/components/Sparkline/geometry.d.ts +3 -1
- package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +10 -10
- package/lib/typescript/commonjs/components/SquircleFill/SquircleFill.d.ts +3 -3
- package/lib/typescript/commonjs/components/SquircleImage/SquircleImage.d.ts +5 -12
- package/lib/typescript/commonjs/components/StatTile/StatTile.d.ts +14 -14
- package/lib/typescript/commonjs/components/StatusBadge/StatusBadge.d.ts +13 -13
- package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +21 -21
- package/lib/typescript/commonjs/components/Swipeable/Swipeable.d.ts +15 -15
- package/lib/typescript/commonjs/components/Switch/Switch.d.ts +19 -19
- package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +20 -20
- package/lib/typescript/commonjs/components/TagInput/TagInput.d.ts +19 -19
- package/lib/typescript/commonjs/components/Text/Text.d.ts +10 -10
- package/lib/typescript/commonjs/components/TimePicker/TimePicker.d.ts +14 -14
- package/lib/typescript/commonjs/components/Timeline/Timeline.d.ts +12 -12
- package/lib/typescript/commonjs/components/Toast/Toast.d.ts +17 -17
- package/lib/typescript/commonjs/components/Toast/ToastProvider.d.ts +8 -8
- package/lib/typescript/commonjs/components/Tooltip/RichTooltipBody.d.ts +4 -4
- package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts +24 -19
- package/lib/typescript/commonjs/components/Tour/Tour.d.ts +7 -7
- package/lib/typescript/commonjs/components/TypingIndicator/TypingIndicator.d.ts +6 -6
- package/lib/typescript/commonjs/components/WheelPicker/Wheel.d.ts +10 -6
- package/lib/typescript/commonjs/components/WheelPicker/WheelPicker.d.ts +22 -20
- package/lib/typescript/commonjs/components/ZoomableImage/ZoomableImage.d.ts +8 -8
- package/lib/typescript/commonjs/components/index.d.ts +2 -0
- package/lib/typescript/commonjs/form/HookFormField.d.ts +5 -18
- package/lib/typescript/commonjs/form/path.d.ts +4 -2
- package/lib/typescript/commonjs/form/useFormCompletion.d.ts +1 -1
- package/lib/typescript/commonjs/hooks/useControllableState.d.ts +2 -2
- package/lib/typescript/commonjs/hooks/useDragToDismiss.d.ts +3 -3
- package/lib/typescript/commonjs/hooks/useFieldErrorScroll.d.ts +1 -1
- package/lib/typescript/commonjs/hooks/usePressAnimation.d.ts +4 -4
- package/lib/typescript/commonjs/hooks/useRefreshControl.d.ts +8 -8
- package/lib/typescript/commonjs/hooks/useResendCountdown.d.ts +1 -1
- package/lib/typescript/commonjs/hooks/useScrollDirection.d.ts +1 -1
- package/lib/typescript/commonjs/index.d.ts +1 -1
- package/lib/typescript/commonjs/navigation/DiscardGuard.d.ts +2 -2
- package/lib/typescript/commonjs/navigation/NavigationScreen.d.ts +3 -3
- package/lib/typescript/commonjs/network/NetworkStatusBanner.d.ts +7 -7
- package/lib/typescript/commonjs/theme/Gradient.d.ts +2 -2
- package/lib/typescript/commonjs/theme/ThemeContext.d.ts +5 -5
- package/lib/typescript/commonjs/theme/componentSizes.d.ts +15 -38
- package/lib/typescript/commonjs/theme/types.d.ts +84 -84
- package/lib/typescript/commonjs/utils/announce.d.ts +1 -1
- package/lib/typescript/commonjs/utils/complete.d.ts +5 -0
- package/lib/typescript/commonjs/utils/feedback.d.ts +3 -1
- package/lib/typescript/commonjs/utils/guards.d.ts +9 -0
- package/lib/typescript/commonjs/utils/placement.d.ts +3 -3
- package/lib/typescript/commonjs/utils/squircle.d.ts +2 -2
- package/lib/typescript/module/canvasKit/index.d.ts +12 -12
- package/lib/typescript/module/canvasKit/meta.d.ts +5 -7
- package/lib/typescript/module/components/Accordion/Accordion.d.ts +22 -22
- package/lib/typescript/module/components/AmountSlider/AmountSlider.d.ts +23 -23
- package/lib/typescript/module/components/AnimatePresence/AnimatePresence.d.ts +5 -5
- package/lib/typescript/module/components/AppBar/AppBar.d.ts +39 -39
- package/lib/typescript/module/components/AppIcon/AppIcon.d.ts +7 -7
- package/lib/typescript/module/components/AppIcon/defaultIcons.d.ts +2 -1
- package/lib/typescript/module/components/AppIcon/glyphs.g.d.ts +233 -233
- package/lib/typescript/module/components/AppIcon/slotIcon.d.ts +1 -1
- package/lib/typescript/module/components/AppLockOverlay/AppLockOverlay.d.ts +5 -5
- package/lib/typescript/module/components/AsyncBlock/AsyncBlock.d.ts +22 -40
- package/lib/typescript/module/components/AuthedImage/AuthedImage.d.ts +15 -15
- package/lib/typescript/module/components/AuthedImage/authedImageCache.d.ts +2 -2
- package/lib/typescript/module/components/Autocomplete/Autocomplete.d.ts +24 -24
- package/lib/typescript/module/components/Avatar/Avatar.d.ts +41 -39
- package/lib/typescript/module/components/Badge/Badge.d.ts +18 -18
- package/lib/typescript/module/components/Banner/Banner.d.ts +25 -25
- package/lib/typescript/module/components/BarChart/BarChart.d.ts +21 -21
- package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +36 -36
- package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +32 -32
- package/lib/typescript/module/components/Box/Box.d.ts +27 -27
- package/lib/typescript/module/components/Button/Button.d.ts +29 -24
- package/lib/typescript/module/components/Calendar/Calendar.d.ts +20 -20
- package/lib/typescript/module/components/Calendar/CalendarDay.d.ts +4 -2
- package/lib/typescript/module/components/Card/Card.d.ts +41 -41
- package/lib/typescript/module/components/Carousel/Carousel.d.ts +21 -21
- package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +21 -21
- package/lib/typescript/module/components/Chip/Chip.d.ts +23 -23
- package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +51 -46
- package/lib/typescript/module/components/Composer/Composer.d.ts +27 -27
- package/lib/typescript/module/components/Confetti/Confetti.d.ts +22 -21
- package/lib/typescript/module/components/Confirm/confirm.d.ts +4 -4
- package/lib/typescript/module/components/DatePicker/DatePicker.d.ts +20 -20
- package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +22 -22
- package/lib/typescript/module/components/DateSeparator/DateSeparator.d.ts +9 -9
- package/lib/typescript/module/components/DecimalInput/DecimalInput.d.ts +14 -14
- package/lib/typescript/module/components/Descriptions/Descriptions.d.ts +13 -13
- package/lib/typescript/module/components/Dialog/Dialog.d.ts +24 -24
- package/lib/typescript/module/components/Dialog/OverlayActions.d.ts +5 -5
- package/lib/typescript/module/components/Divider/Divider.d.ts +9 -9
- package/lib/typescript/module/components/Drawer/Drawer.d.ts +14 -14
- package/lib/typescript/module/components/EmptyState/EmptyState.d.ts +13 -13
- package/lib/typescript/module/components/ErrorBoundary/ErrorBoundary.d.ts +8 -8
- package/lib/typescript/module/components/FieldBase/Chevron.d.ts +2 -2
- package/lib/typescript/module/components/FieldBase/ChoiceText.d.ts +10 -10
- package/lib/typescript/module/components/FieldBase/FieldBase.d.ts +54 -54
- package/lib/typescript/module/components/FieldBase/useFloatingLabel.d.ts +8 -8
- package/lib/typescript/module/components/FilePicker/FilePicker.d.ts +35 -35
- package/lib/typescript/module/components/FileViewer/FileViewer.d.ts +10 -10
- package/lib/typescript/module/components/FileViewer/fileSource.d.ts +3 -3
- package/lib/typescript/module/components/FilterChipRow/FilterChipRow.d.ts +12 -12
- package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +35 -35
- package/lib/typescript/module/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +11 -11
- package/lib/typescript/module/components/FormField/FormField.d.ts +15 -15
- package/lib/typescript/module/components/IconBadge/IconBadge.d.ts +11 -11
- package/lib/typescript/module/components/IconButton/IconButton.d.ts +14 -14
- package/lib/typescript/module/components/ImageGallery/ImageGallery.d.ts +14 -14
- package/lib/typescript/module/components/InlineSelect/InlineSelect.d.ts +36 -31
- package/lib/typescript/module/components/Input/Input.d.ts +47 -47
- package/lib/typescript/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +7 -7
- package/lib/typescript/module/components/KeyboardToolbar/KeyboardToolbar.d.ts +8 -8
- package/lib/typescript/module/components/ListItem/ListItem.d.ts +44 -44
- package/lib/typescript/module/components/ListSection/ListSection.d.ts +6 -6
- package/lib/typescript/module/components/LoaderOverlay/LoaderOverlay.d.ts +17 -11
- package/lib/typescript/module/components/Markdown/Markdown.d.ts +15 -15
- package/lib/typescript/module/components/Menu/Menu.d.ts +17 -12
- package/lib/typescript/module/components/Menu/MenuSurface.d.ts +8 -8
- package/lib/typescript/module/components/Menu/menuModel.d.ts +11 -11
- package/lib/typescript/module/components/Menu/useContextMenu.d.ts +13 -13
- package/lib/typescript/module/components/Menu/webOnly.d.ts +3 -3
- package/lib/typescript/module/components/MessageBubble/MessageBubble.d.ts +20 -20
- package/lib/typescript/module/components/MessageList/MessageList.d.ts +14 -14
- package/lib/typescript/module/components/Modal/Modal.d.ts +19 -19
- package/lib/typescript/module/components/NonModalBottomSheet/NonModalBottomSheet.d.ts +52 -0
- package/lib/typescript/module/components/NonModalBottomSheet/index.d.ts +3 -0
- package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +27 -27
- package/lib/typescript/module/components/OTPInput/OTPInput.d.ts +20 -20
- package/lib/typescript/module/components/OTPInput/OTPResendRow.d.ts +9 -9
- package/lib/typescript/module/components/OnboardingPager/OnboardingPager.d.ts +5 -5
- package/lib/typescript/module/components/OptionSheet/OptionSheet.d.ts +39 -34
- package/lib/typescript/module/components/OptionSheet/optionAccessors.d.ts +9 -0
- package/lib/typescript/module/components/PagedListFooter/PagedListFooter.d.ts +2 -2
- package/lib/typescript/module/components/PermissionPrompt/PermissionPrompt.d.ts +6 -6
- package/lib/typescript/module/components/PermissionPrompt/usePermissionPrompt.d.ts +1 -1
- package/lib/typescript/module/components/PhoneNumberInput/PhoneNumberInput.d.ts +43 -43
- package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +23 -23
- package/lib/typescript/module/components/ProfileCompletion/ProfileCompletion.d.ts +23 -23
- package/lib/typescript/module/components/ProfilePicker/ProfilePicker.d.ts +30 -30
- package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +21 -21
- package/lib/typescript/module/components/ProgressRing/ProgressRing.d.ts +13 -13
- package/lib/typescript/module/components/Radio/Radio.d.ts +18 -18
- package/lib/typescript/module/components/Radio/RadioDot.d.ts +5 -5
- package/lib/typescript/module/components/Radio/RadioGroup.d.ts +8 -8
- package/lib/typescript/module/components/Rating/Rating.d.ts +15 -15
- package/lib/typescript/module/components/Repeater/Repeater.d.ts +10 -10
- package/lib/typescript/module/components/RichTextEditor/RichTextEditor.d.ts +15 -15
- package/lib/typescript/module/components/ScannerOverlay/ScannerOverlay.d.ts +13 -13
- package/lib/typescript/module/components/Screen/Screen.d.ts +43 -44
- package/lib/typescript/module/components/Screen/index.d.ts +1 -1
- package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +31 -31
- package/lib/typescript/module/components/SearchBar/SearchPanel.d.ts +6 -6
- package/lib/typescript/module/components/SearchBar/useRecentSearches.d.ts +1 -1
- package/lib/typescript/module/components/SectionHeader/SectionHeader.d.ts +10 -10
- package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +25 -24
- package/lib/typescript/module/components/Select/Select.d.ts +50 -45
- package/lib/typescript/module/components/SignaturePad/SignaturePad.d.ts +20 -20
- package/lib/typescript/module/components/Skeleton/Skeleton.d.ts +13 -13
- package/lib/typescript/module/components/Skeleton/SkeletonContent.d.ts +9 -9
- package/lib/typescript/module/components/Skeleton/SkeletonList.d.ts +30 -8
- package/lib/typescript/module/components/Skeleton/SkeletonProvider.d.ts +9 -9
- package/lib/typescript/module/components/SlideToConfirm/SlideToConfirm.d.ts +14 -14
- package/lib/typescript/module/components/Slider/Slider.d.ts +30 -30
- package/lib/typescript/module/components/Slider/valueText.d.ts +9 -9
- package/lib/typescript/module/components/SliderField/SliderField.d.ts +41 -41
- package/lib/typescript/module/components/SortableList/SortableList.d.ts +5 -5
- package/lib/typescript/module/components/Sparkline/Sparkline.d.ts +13 -13
- package/lib/typescript/module/components/Sparkline/geometry.d.ts +3 -1
- package/lib/typescript/module/components/Spinner/Spinner.d.ts +10 -10
- package/lib/typescript/module/components/SquircleFill/SquircleFill.d.ts +3 -3
- package/lib/typescript/module/components/SquircleImage/SquircleImage.d.ts +5 -12
- package/lib/typescript/module/components/StatTile/StatTile.d.ts +14 -14
- package/lib/typescript/module/components/StatusBadge/StatusBadge.d.ts +13 -13
- package/lib/typescript/module/components/Stepper/Stepper.d.ts +21 -21
- package/lib/typescript/module/components/Swipeable/Swipeable.d.ts +15 -15
- package/lib/typescript/module/components/Switch/Switch.d.ts +19 -19
- package/lib/typescript/module/components/Tabs/Tabs.d.ts +20 -20
- package/lib/typescript/module/components/TagInput/TagInput.d.ts +19 -19
- package/lib/typescript/module/components/Text/Text.d.ts +10 -10
- package/lib/typescript/module/components/TimePicker/TimePicker.d.ts +14 -14
- package/lib/typescript/module/components/Timeline/Timeline.d.ts +12 -12
- package/lib/typescript/module/components/Toast/Toast.d.ts +17 -17
- package/lib/typescript/module/components/Toast/ToastProvider.d.ts +8 -8
- package/lib/typescript/module/components/Tooltip/RichTooltipBody.d.ts +4 -4
- package/lib/typescript/module/components/Tooltip/Tooltip.d.ts +24 -19
- package/lib/typescript/module/components/Tour/Tour.d.ts +7 -7
- package/lib/typescript/module/components/TypingIndicator/TypingIndicator.d.ts +6 -6
- package/lib/typescript/module/components/WheelPicker/Wheel.d.ts +10 -6
- package/lib/typescript/module/components/WheelPicker/WheelPicker.d.ts +22 -20
- package/lib/typescript/module/components/ZoomableImage/ZoomableImage.d.ts +8 -8
- package/lib/typescript/module/components/index.d.ts +2 -0
- package/lib/typescript/module/form/HookFormField.d.ts +5 -18
- package/lib/typescript/module/form/path.d.ts +4 -2
- package/lib/typescript/module/form/useFormCompletion.d.ts +1 -1
- package/lib/typescript/module/hooks/useControllableState.d.ts +2 -2
- package/lib/typescript/module/hooks/useDragToDismiss.d.ts +3 -3
- package/lib/typescript/module/hooks/useFieldErrorScroll.d.ts +1 -1
- package/lib/typescript/module/hooks/usePressAnimation.d.ts +4 -4
- package/lib/typescript/module/hooks/useRefreshControl.d.ts +8 -8
- package/lib/typescript/module/hooks/useResendCountdown.d.ts +1 -1
- package/lib/typescript/module/hooks/useScrollDirection.d.ts +1 -1
- package/lib/typescript/module/index.d.ts +1 -1
- package/lib/typescript/module/navigation/DiscardGuard.d.ts +2 -2
- package/lib/typescript/module/navigation/NavigationScreen.d.ts +3 -3
- package/lib/typescript/module/network/NetworkStatusBanner.d.ts +7 -7
- package/lib/typescript/module/theme/Gradient.d.ts +2 -2
- package/lib/typescript/module/theme/ThemeContext.d.ts +5 -5
- package/lib/typescript/module/theme/componentSizes.d.ts +15 -38
- package/lib/typescript/module/theme/types.d.ts +84 -84
- package/lib/typescript/module/utils/announce.d.ts +1 -1
- package/lib/typescript/module/utils/complete.d.ts +5 -0
- package/lib/typescript/module/utils/feedback.d.ts +3 -1
- package/lib/typescript/module/utils/guards.d.ts +9 -0
- package/lib/typescript/module/utils/placement.d.ts +3 -3
- package/lib/typescript/module/utils/squircle.d.ts +2 -2
- package/package.json +9 -9
- package/src/specs/NativePdfRasterizer.ts +1 -1
|
@@ -9,25 +9,25 @@ export interface MenuItem {
|
|
|
9
9
|
/** A verb, in title case on iOS. End it with an ellipsis when the action asks for more. */
|
|
10
10
|
label: string;
|
|
11
11
|
/** Leading icon. Give every item in a group an icon, or none of them. */
|
|
12
|
-
icon?: SlotIcon;
|
|
12
|
+
icon?: SlotIcon | undefined;
|
|
13
13
|
/** A line under the label. On a phone any description presents the menu as a sheet. */
|
|
14
|
-
description?: string;
|
|
14
|
+
description?: string | undefined;
|
|
15
15
|
/** Short trailing text, such as a count. */
|
|
16
|
-
detail?: string;
|
|
16
|
+
detail?: string | undefined;
|
|
17
17
|
/** Draws a check mark and reports the checked state; leave undefined for a plain action. */
|
|
18
|
-
checked?: boolean;
|
|
18
|
+
checked?: boolean | undefined;
|
|
19
19
|
/** Draws the item in the error ink. Confirm the action in a Dialog from `onPress`. */
|
|
20
|
-
destructive?: boolean;
|
|
20
|
+
destructive?: boolean | undefined;
|
|
21
21
|
/** Unavailable now. Hidden or dimmed by the menu's `unavailable` mode. */
|
|
22
|
-
disabled?: boolean;
|
|
22
|
+
disabled?: boolean | undefined;
|
|
23
23
|
/** Never shown. */
|
|
24
|
-
hidden?: boolean;
|
|
24
|
+
hidden?: boolean | undefined;
|
|
25
25
|
/** One level of items that replaces the list, with a Back row, when this item is chosen. */
|
|
26
|
-
submenu?: ReadonlyArray<MenuItem
|
|
26
|
+
submenu?: ReadonlyArray<MenuItem> | undefined;
|
|
27
27
|
/** Runs after the menu has closed, so a Dialog or a native picker can open from it. */
|
|
28
|
-
onPress?: () => void;
|
|
29
|
-
accessibilityLabel?: string;
|
|
30
|
-
testID?: string;
|
|
28
|
+
onPress?: (() => void) | undefined;
|
|
29
|
+
accessibilityLabel?: string | undefined;
|
|
30
|
+
testID?: string | undefined;
|
|
31
31
|
}
|
|
32
32
|
/** A flat list is one group; a list of lists is groups split by dividers (at most 3). */
|
|
33
33
|
export type MenuItems = ReadonlyArray<MenuItem> | ReadonlyArray<ReadonlyArray<MenuItem>>;
|
|
@@ -7,32 +7,32 @@ import type { MenuItem, MenuItems, MenuLabels, MenuPresentation, MenuUnavailable
|
|
|
7
7
|
export interface ContextMenuConfig {
|
|
8
8
|
items: MenuItems;
|
|
9
9
|
/** A short heading over the items; also the menu's accessible name. */
|
|
10
|
-
title?: string;
|
|
10
|
+
title?: string | undefined;
|
|
11
11
|
/** Up to three icon actions in a row above the list (the iOS "medium" layout). */
|
|
12
|
-
topActions?: ReadonlyArray<MenuItem
|
|
12
|
+
topActions?: ReadonlyArray<MenuItem> | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* What lifts over the dimmed screen while the menu is open. Default: the
|
|
15
15
|
* row or card itself, drawn again in place; `false` for none.
|
|
16
16
|
*/
|
|
17
|
-
preview?: React.ReactNode | false;
|
|
17
|
+
preview?: React.ReactNode | false | undefined;
|
|
18
18
|
/** Default `'hide'`: the HIG drops unavailable items from a context menu. */
|
|
19
|
-
unavailable?: MenuUnavailable;
|
|
19
|
+
unavailable?: MenuUnavailable | undefined;
|
|
20
20
|
/** Default `'auto'`: a sheet on a phone past seven items or with a description. */
|
|
21
|
-
presentation?: MenuPresentation;
|
|
21
|
+
presentation?: MenuPresentation | undefined;
|
|
22
22
|
/** Preferred side of the pressed view. Default `'bottom'`. */
|
|
23
|
-
placement?: PlacementPreference;
|
|
24
|
-
onOpenChange?: (open: boolean) => void;
|
|
25
|
-
accessibilityLabel?: string;
|
|
23
|
+
placement?: PlacementPreference | undefined;
|
|
24
|
+
onOpenChange?: ((open: boolean) => void) | undefined;
|
|
25
|
+
accessibilityLabel?: string | undefined;
|
|
26
26
|
/** Accessible names of the tap-outside area (`close`, default 'Close menu') and of a submenu's Back row (`back`, default 'Back'). */
|
|
27
|
-
labels?: Partial<MenuLabels
|
|
27
|
+
labels?: Partial<MenuLabels> | undefined;
|
|
28
28
|
}
|
|
29
29
|
export interface UseContextMenuOptions {
|
|
30
30
|
/** The host's `haptic` prop: `longPress` on open, `selection` on an action, unless overridden. */
|
|
31
|
-
haptic?: HapticType | false;
|
|
31
|
+
haptic?: HapticType | false | undefined;
|
|
32
32
|
/** Screen reader actions the host already has; the menu's are added after them. */
|
|
33
|
-
accessibilityActions?: ReadonlyArray<AccessibilityActionInfo
|
|
34
|
-
onAccessibilityAction?: (event: AccessibilityActionEvent) => void;
|
|
35
|
-
testID?: string;
|
|
33
|
+
accessibilityActions?: ReadonlyArray<AccessibilityActionInfo> | undefined;
|
|
34
|
+
onAccessibilityAction?: ((event: AccessibilityActionEvent) => void) | undefined;
|
|
35
|
+
testID?: string | undefined;
|
|
36
36
|
}
|
|
37
37
|
export interface ContextMenuBinding {
|
|
38
38
|
/** False when there is no config or nothing in it to show. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Props only react-native-web understands (`onKeyDown`, `onContextMenu`, an
|
|
3
|
-
* ARIA role React Native's union lacks)
|
|
4
|
-
*
|
|
3
|
+
* ARIA role React Native's union lacks). React Native's types do not declare them,
|
|
4
|
+
* so they stay an untyped record that spreads onto the host. The phones get nothing.
|
|
5
5
|
*/
|
|
6
|
-
export declare const webOnly:
|
|
6
|
+
export declare const webOnly: (props: Readonly<Record<string, unknown>>) => Readonly<Record<string, unknown>> | null;
|
|
7
7
|
//# sourceMappingURL=webOnly.d.ts.map
|
|
@@ -11,10 +11,10 @@ export type MessageGroupPosition = "single" | "first" | "middle" | "last";
|
|
|
11
11
|
export type MessageStatus = "sending" | "sent" | "delivered" | "read" | "failed";
|
|
12
12
|
/** The message this one answers, drawn as a quote at the top of the bubble. */
|
|
13
13
|
export interface MessageReply {
|
|
14
|
-
author?: string;
|
|
14
|
+
author?: string | undefined;
|
|
15
15
|
text: string;
|
|
16
16
|
/** Jumps to the quoted message. */
|
|
17
|
-
onPress?: () => void;
|
|
17
|
+
onPress?: (() => void) | undefined;
|
|
18
18
|
}
|
|
19
19
|
/** A long-press action, also offered to screen readers as an accessibility action. */
|
|
20
20
|
export interface MessageAction {
|
|
@@ -43,43 +43,43 @@ export interface MessageBubbleProps {
|
|
|
43
43
|
*/
|
|
44
44
|
text: string;
|
|
45
45
|
/** Rich content in place of `text` (a chart, an image, a renderer of your own). */
|
|
46
|
-
children?: React.ReactNode;
|
|
46
|
+
children?: React.ReactNode | undefined;
|
|
47
47
|
/**
|
|
48
48
|
* Draws `text` with the library `Markdown`. Default on for `theirs` and off for
|
|
49
49
|
* `mine`. An `error` bubble always draws plain text. Ignored with `children`.
|
|
50
50
|
*/
|
|
51
|
-
markdown?: boolean;
|
|
51
|
+
markdown?: boolean | undefined;
|
|
52
52
|
/** Default `'single'`. */
|
|
53
|
-
groupPosition?: MessageGroupPosition;
|
|
53
|
+
groupPosition?: MessageGroupPosition | undefined;
|
|
54
54
|
/** Shown above the first message of a run of `theirs`; read before the text. */
|
|
55
|
-
author?: string;
|
|
55
|
+
author?: string | undefined;
|
|
56
56
|
/** Shown under the last message of a run, in the configured zone (IST by default). */
|
|
57
|
-
time?: DateValue;
|
|
57
|
+
time?: DateValue | undefined;
|
|
58
58
|
/** Ticks under `mine`; read as a word ("Read"). */
|
|
59
|
-
status?: MessageStatus;
|
|
60
|
-
replyTo?: MessageReply;
|
|
59
|
+
status?: MessageStatus | undefined;
|
|
60
|
+
replyTo?: MessageReply | undefined;
|
|
61
61
|
/** The reply is still arriving: marked busy, announced once when it ends. */
|
|
62
|
-
streaming?: boolean;
|
|
62
|
+
streaming?: boolean | undefined;
|
|
63
63
|
/** A curated message shown under the bubble and announced at once. */
|
|
64
|
-
error?: string;
|
|
64
|
+
error?: string | undefined;
|
|
65
65
|
/** Shows Try again under a failed message, and offers it as an accessibility action. */
|
|
66
|
-
onRetry?: () => void;
|
|
66
|
+
onRetry?: (() => void) | undefined;
|
|
67
67
|
/**
|
|
68
68
|
* Long-press actions (Reply, and any the app adds). They are the items of the
|
|
69
69
|
* long-press menu over the bubble and the screen reader's accessibility actions.
|
|
70
70
|
*/
|
|
71
|
-
actions?: ReadonlyArray<MessageAction
|
|
71
|
+
actions?: ReadonlyArray<MessageAction> | undefined;
|
|
72
72
|
/** Adds Copy to the long-press menu and the accessibility actions; the app writes `text` to the clipboard. */
|
|
73
|
-
onCopy?: (text: string) => void;
|
|
73
|
+
onCopy?: ((text: string) => void) | undefined;
|
|
74
74
|
/** Called on a long press, after the menu opens. */
|
|
75
|
-
onLongPress?: () => void;
|
|
75
|
+
onLongPress?: (() => void) | undefined;
|
|
76
76
|
/** Content under the bubble on the same side (action cards, a rating). */
|
|
77
|
-
footer?: React.ReactNode;
|
|
78
|
-
labels?: Partial<MessageBubbleLabels
|
|
77
|
+
footer?: React.ReactNode | undefined;
|
|
78
|
+
labels?: Partial<MessageBubbleLabels> | undefined;
|
|
79
79
|
/** Long-press haptic. Default `'longPress'`. */
|
|
80
|
-
haptic?: HapticType | false;
|
|
81
|
-
style?: StyleProp<ViewStyle
|
|
82
|
-
testID?: string;
|
|
80
|
+
haptic?: HapticType | false | undefined;
|
|
81
|
+
style?: StyleProp<ViewStyle> | undefined;
|
|
82
|
+
testID?: string | undefined;
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
85
|
* One chat message. `mine` sits on the trailing side in the brand tint and
|
|
@@ -26,35 +26,35 @@ export interface MessageListProps<T> extends Omit<FlatListProps<T>, OwnedListPro
|
|
|
26
26
|
/** Draws one message, usually a `MessageBubble` given `groupPosition`. */
|
|
27
27
|
renderMessage: (info: MessageRenderInfo<T>) => React.ReactElement | null;
|
|
28
28
|
/** Joins consecutive messages from one author into a run with shared corners. */
|
|
29
|
-
getAuthorKey?: (item: T) => string;
|
|
29
|
+
getAuthorKey?: ((item: T) => string) | undefined;
|
|
30
30
|
/** Draws a day separator ("Today", "Yesterday", "10-Oct-2026") where the day changes. */
|
|
31
|
-
getDate?: (item: T) => DateValue;
|
|
31
|
+
getDate?: ((item: T) => DateValue) | undefined;
|
|
32
32
|
/** Draws the "New messages" divider above this message. */
|
|
33
|
-
firstUnreadKey?: string;
|
|
33
|
+
firstUnreadKey?: string | undefined;
|
|
34
34
|
/** Called near the top of the history to load the page before the oldest. */
|
|
35
|
-
onLoadOlder?: () => void;
|
|
36
|
-
loadingOlder?: boolean;
|
|
35
|
+
onLoadOlder?: (() => void) | undefined;
|
|
36
|
+
loadingOlder?: boolean | undefined;
|
|
37
37
|
/** False once the oldest page is in. Default true. */
|
|
38
|
-
hasOlder?: boolean;
|
|
38
|
+
hasOlder?: boolean | undefined;
|
|
39
39
|
/** Drawn under the newest message, e.g. a `TypingIndicator`. */
|
|
40
|
-
typing?: React.ReactNode;
|
|
40
|
+
typing?: React.ReactNode | undefined;
|
|
41
41
|
/** Drawn while there are no messages. */
|
|
42
|
-
empty?: React.ReactNode;
|
|
42
|
+
empty?: React.ReactNode | undefined;
|
|
43
43
|
/** A message to announce politely for each new message, e.g. "Asha: See you at six". */
|
|
44
|
-
getAnnouncement?: (item: T) => string | null | undefined;
|
|
44
|
+
getAnnouncement?: ((item: T) => string | null | undefined) | undefined;
|
|
45
45
|
/** True for a new message that should bring the list to the latest, such as the person's own. */
|
|
46
|
-
followNew?: (item: T) => boolean;
|
|
46
|
+
followNew?: ((item: T) => boolean) | undefined;
|
|
47
47
|
/**
|
|
48
48
|
* Lifts the newest messages above the keyboard through
|
|
49
49
|
* react-native-keyboard-controller's `KeyboardChatScrollView`. Default true;
|
|
50
50
|
* turn it off when a parent already moves with the keyboard.
|
|
51
51
|
*/
|
|
52
|
-
keyboardAware?: boolean;
|
|
52
|
+
keyboardAware?: boolean | undefined;
|
|
53
53
|
/** The `Composer`'s `keyboardOffset`. Default: the bottom safe-area inset. */
|
|
54
|
-
keyboardOffset?: number;
|
|
55
|
-
labels?: Partial<MessageListLabels
|
|
54
|
+
keyboardOffset?: number | undefined;
|
|
55
|
+
labels?: Partial<MessageListLabels> | undefined;
|
|
56
56
|
/** The reference for Today and Yesterday. Default: now. */
|
|
57
|
-
now?: Date;
|
|
57
|
+
now?: Date | undefined;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* A conversation: an inverted `FlatList` that starts at the newest message,
|
|
@@ -17,58 +17,58 @@ export declare const MODAL_DISMISS_GRACE_MS = 300;
|
|
|
17
17
|
export interface ModalProps {
|
|
18
18
|
open: boolean;
|
|
19
19
|
onClose: () => void;
|
|
20
|
-
presentation?: ModalPresentation;
|
|
21
|
-
backdropOpacity?: number;
|
|
22
|
-
backdropPressClose?: boolean;
|
|
23
|
-
animationDuration?: number;
|
|
20
|
+
presentation?: ModalPresentation | undefined;
|
|
21
|
+
backdropOpacity?: number | undefined;
|
|
22
|
+
backdropPressClose?: boolean | undefined;
|
|
23
|
+
animationDuration?: number | undefined;
|
|
24
24
|
/**
|
|
25
25
|
* Whether a modal that is open as it mounts plays its enter animation.
|
|
26
26
|
* When false it is drawn at rest at once, scrim included; later opens and
|
|
27
27
|
* every close animate as usual. Default true.
|
|
28
28
|
*/
|
|
29
|
-
animateMount?: boolean;
|
|
30
|
-
accessibilityLabel?: string;
|
|
31
|
-
hardwareBackPress?: boolean;
|
|
29
|
+
animateMount?: boolean | undefined;
|
|
30
|
+
accessibilityLabel?: string | undefined;
|
|
31
|
+
hardwareBackPress?: boolean | undefined;
|
|
32
32
|
children: React.ReactNode;
|
|
33
|
-
contentStyle?: StyleProp<ViewStyle
|
|
34
|
-
backdropStyle?: StyleProp<ViewStyle
|
|
33
|
+
contentStyle?: StyleProp<ViewStyle> | undefined;
|
|
34
|
+
backdropStyle?: StyleProp<ViewStyle> | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* Optional ref to the View that triggered the modal. When the modal closes,
|
|
37
37
|
* accessibility focus is restored to that View so screen-reader users land
|
|
38
38
|
* back where they invoked the dialog instead of at the top of the screen.
|
|
39
39
|
* Opt-in: when undefined, focus behaviour is unchanged.
|
|
40
40
|
*/
|
|
41
|
-
restoreFocusRef?: React.RefObject<HostInstance | null
|
|
41
|
+
restoreFocusRef?: React.RefObject<HostInstance | null> | undefined;
|
|
42
42
|
/**
|
|
43
43
|
* Fired once after the modal closes, MODAL_DISMISS_GRACE_MS after `open`
|
|
44
44
|
* flips false — the earliest point it is safe to unmount the surrounding
|
|
45
45
|
* tree (navigate away, flip auth state) without racing the native dismiss
|
|
46
46
|
* on Android. Sequence follow-up work (or a follow-up modal) from here.
|
|
47
47
|
*/
|
|
48
|
-
onDismissed?: () => void;
|
|
48
|
+
onDismissed?: (() => void) | undefined;
|
|
49
49
|
/**
|
|
50
50
|
* Haptic feedback for interactions. Pass false to disable; pass a HapticType
|
|
51
51
|
* to override the default.
|
|
52
52
|
*/
|
|
53
|
-
haptic?: HapticType | false;
|
|
53
|
+
haptic?: HapticType | false | undefined;
|
|
54
54
|
/** Chrome copy, merged over DEFAULT_MODAL_LABELS. */
|
|
55
|
-
labels?: Partial<ModalLabels
|
|
55
|
+
labels?: Partial<ModalLabels> | undefined;
|
|
56
56
|
/** Window-coordinate rectangle the anchored presentation sits against. Required for "anchored". */
|
|
57
|
-
anchor?: LayoutRectangle;
|
|
57
|
+
anchor?: LayoutRectangle | undefined;
|
|
58
58
|
/** Which side of the anchor the anchored presentation prefers. Default "auto". */
|
|
59
|
-
placement?: PlacementPreference;
|
|
59
|
+
placement?: PlacementPreference | undefined;
|
|
60
60
|
/** Horizontal alignment of the anchored presentation against the anchor. Default "center". */
|
|
61
|
-
align?: PlacementAlign;
|
|
62
|
-
testID?: string;
|
|
61
|
+
align?: PlacementAlign | undefined;
|
|
62
|
+
testID?: string | undefined;
|
|
63
63
|
/**
|
|
64
64
|
* Draws no surface, radius, shadow, padding or width around children: the children are the card.
|
|
65
65
|
* The dim layer, the dismiss tap, the safe area and the toast host stay with Modal. For "bottom" the
|
|
66
66
|
* children sit on the bottom edge at full width; for "fullScreen" they fill the layer and
|
|
67
67
|
* must place themselves (an anchored surface). Not valid with "anchored" (throws). Default false.
|
|
68
68
|
*/
|
|
69
|
-
bare?: boolean;
|
|
69
|
+
bare?: boolean | undefined;
|
|
70
70
|
/** Called with the top and bottom insets of the window the modal draws in, whenever they change. */
|
|
71
|
-
onInsetsChange?: (insets: ModalInsets) => void;
|
|
71
|
+
onInsetsChange?: ((insets: ModalInsets) => void) | undefined;
|
|
72
72
|
}
|
|
73
73
|
declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HostInstance>>;
|
|
74
74
|
export { Modal };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NonModalBottomSheet: a bottom sheet with snap points and no scrim. It is drawn
|
|
3
|
+
* inside its parent, which must be positioned and sized, so the screen behind it
|
|
4
|
+
* stays live. Render it after the screen content: it is read after the content.
|
|
5
|
+
*
|
|
6
|
+
* USAGE:
|
|
7
|
+
*
|
|
8
|
+
* const [open, setOpen] = useState(false);
|
|
9
|
+
* <View style={{ flex: 1 }}>
|
|
10
|
+
* <YourScreen />
|
|
11
|
+
* <NonModalBottomSheet open={open} onClose={() => setOpen(false)} snapPoints={["25%", "50%"]}>
|
|
12
|
+
* <YourContent />
|
|
13
|
+
* </NonModalBottomSheet>
|
|
14
|
+
* </View>
|
|
15
|
+
*/
|
|
16
|
+
import type React from "react";
|
|
17
|
+
import type { StyleProp, ViewStyle } from "react-native";
|
|
18
|
+
/** A snap point: a height in dp, or a percentage of the host height up to 100%. */
|
|
19
|
+
export type NonModalSnapPoint = number | `${number}%`;
|
|
20
|
+
export interface NonModalBottomSheetLabels {
|
|
21
|
+
dragHandle: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const DEFAULT_NON_MODAL_BOTTOM_SHEET_LABELS: Readonly<NonModalBottomSheetLabels>;
|
|
24
|
+
export interface NonModalBottomSheetProps {
|
|
25
|
+
/** Opens and closes the sheet. A drag close calls `onClose`, and the parent sets `open` to false. */
|
|
26
|
+
open: boolean;
|
|
27
|
+
/** Called after the person drags the sheet closed. */
|
|
28
|
+
onClose: () => void;
|
|
29
|
+
/** The heights the sheet rests at, in any order (they are sorted ascending). */
|
|
30
|
+
snapPoints: NonModalSnapPoint[];
|
|
31
|
+
/** The snap point at rest (the smallest is 0). Changing it moves an open sheet. */
|
|
32
|
+
snapIndex?: number | undefined;
|
|
33
|
+
/** Fires for a drag or an accessibility move, never for a prop change. */
|
|
34
|
+
onSnapChange?: ((index: number) => void) | undefined;
|
|
35
|
+
/** Defaults to true. */
|
|
36
|
+
enablePanDownToClose?: boolean | undefined;
|
|
37
|
+
/** Wraps children in a ScrollView between the header and the footer. Defaults to false. */
|
|
38
|
+
scrollable?: boolean | undefined;
|
|
39
|
+
title?: string | undefined;
|
|
40
|
+
header?: React.ReactNode | undefined;
|
|
41
|
+
footer?: React.ReactNode | undefined;
|
|
42
|
+
labels?: Partial<NonModalBottomSheetLabels> | undefined;
|
|
43
|
+
handleIndicatorStyle?: StyleProp<ViewStyle> | undefined;
|
|
44
|
+
containerStyle?: StyleProp<ViewStyle> | undefined;
|
|
45
|
+
children?: React.ReactNode | undefined;
|
|
46
|
+
accessibilityLabel?: string | undefined;
|
|
47
|
+
testID?: string | undefined;
|
|
48
|
+
}
|
|
49
|
+
declare const NonModalBottomSheet: React.FC<NonModalBottomSheetProps>;
|
|
50
|
+
export { NonModalBottomSheet };
|
|
51
|
+
export default NonModalBottomSheet;
|
|
52
|
+
//# sourceMappingURL=NonModalBottomSheet.d.ts.map
|
|
@@ -16,46 +16,46 @@ export interface NumberInputRef {
|
|
|
16
16
|
clear: () => void;
|
|
17
17
|
}
|
|
18
18
|
export interface NumberInputProps {
|
|
19
|
-
value?: number;
|
|
20
|
-
defaultValue?: number;
|
|
21
|
-
onChange?: (value: number) => void;
|
|
22
|
-
min?: number;
|
|
23
|
-
max?: number;
|
|
24
|
-
step?: number;
|
|
25
|
-
allowDecimal?: boolean;
|
|
26
|
-
precision?: number;
|
|
19
|
+
value?: number | undefined;
|
|
20
|
+
defaultValue?: number | undefined;
|
|
21
|
+
onChange?: ((value: number) => void) | undefined;
|
|
22
|
+
min?: number | undefined;
|
|
23
|
+
max?: number | undefined;
|
|
24
|
+
step?: number | undefined;
|
|
25
|
+
allowDecimal?: boolean | undefined;
|
|
26
|
+
precision?: number | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* A string, or a node for a symbol with a subscript. A node label needs an
|
|
29
29
|
* explicit `accessibilityLabel` (the input's screen-reader name).
|
|
30
30
|
*/
|
|
31
|
-
label?: React.ReactNode;
|
|
31
|
+
label?: React.ReactNode | undefined;
|
|
32
32
|
/** Drawn beside the label, right after it (a glossary info button, say); not part of the label's accessibility text. */
|
|
33
|
-
help?: React.ReactNode;
|
|
33
|
+
help?: React.ReactNode | undefined;
|
|
34
34
|
/** A string or a node. */
|
|
35
|
-
helperText?: React.ReactNode;
|
|
35
|
+
helperText?: React.ReactNode | undefined;
|
|
36
36
|
/**
|
|
37
37
|
* A string or a node puts the field in the error state and replaces the helper; `true` shows the
|
|
38
38
|
* error state without a message.
|
|
39
39
|
*/
|
|
40
|
-
error?: React.ReactNode;
|
|
41
|
-
disabled?: boolean;
|
|
42
|
-
size?: NumberInputSize;
|
|
43
|
-
variant?: NumberInputVariant;
|
|
44
|
-
unit?: string;
|
|
40
|
+
error?: React.ReactNode | undefined;
|
|
41
|
+
disabled?: boolean | undefined;
|
|
42
|
+
size?: NumberInputSize | undefined;
|
|
43
|
+
variant?: NumberInputVariant | undefined;
|
|
44
|
+
unit?: string | undefined;
|
|
45
45
|
/** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
|
|
46
|
-
haptic?: HapticType | false;
|
|
47
|
-
labels?: Partial<NumberInputLabels
|
|
48
|
-
accessibilityLabel?: string;
|
|
46
|
+
haptic?: HapticType | false | undefined;
|
|
47
|
+
labels?: Partial<NumberInputLabels> | undefined;
|
|
48
|
+
accessibilityLabel?: string | undefined;
|
|
49
49
|
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
50
|
-
style?: StyleProp<ViewStyle
|
|
50
|
+
style?: StyleProp<ViewStyle> | undefined;
|
|
51
51
|
/** Alias of style, applied before it on the same node. Use style. */
|
|
52
|
-
containerStyle?: StyleProp<ViewStyle
|
|
53
|
-
inputStyle?: StyleProp<TextStyle
|
|
54
|
-
buttonStyle?: StyleProp<ViewStyle
|
|
55
|
-
unitStyle?: StyleProp<TextStyle
|
|
56
|
-
labelStyle?: StyleProp<TextStyle
|
|
57
|
-
textInputProps?: Omit<TextInputProps, "value" | "onChangeText" | "onBlur" | "keyboardType" | "editable"
|
|
58
|
-
testID?: string;
|
|
52
|
+
containerStyle?: StyleProp<ViewStyle> | undefined;
|
|
53
|
+
inputStyle?: StyleProp<TextStyle> | undefined;
|
|
54
|
+
buttonStyle?: StyleProp<ViewStyle> | undefined;
|
|
55
|
+
unitStyle?: StyleProp<TextStyle> | undefined;
|
|
56
|
+
labelStyle?: StyleProp<TextStyle> | undefined;
|
|
57
|
+
textInputProps?: Omit<TextInputProps, "value" | "onChangeText" | "onBlur" | "keyboardType" | "editable"> | undefined;
|
|
58
|
+
testID?: string | undefined;
|
|
59
59
|
}
|
|
60
60
|
declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<NumberInputRef>>;
|
|
61
61
|
export { NumberInput };
|
|
@@ -13,39 +13,39 @@ export interface OTPInputRef {
|
|
|
13
13
|
clear: () => void;
|
|
14
14
|
}
|
|
15
15
|
export interface OTPInputProps {
|
|
16
|
-
value?: string;
|
|
17
|
-
defaultValue?: string;
|
|
18
|
-
onChange?: (value: string) => void;
|
|
19
|
-
onComplete?: (value: string) => void;
|
|
20
|
-
length?: number;
|
|
21
|
-
keyboardType?: "number-pad" | "default";
|
|
22
|
-
autoFocus?: boolean;
|
|
16
|
+
value?: string | undefined;
|
|
17
|
+
defaultValue?: string | undefined;
|
|
18
|
+
onChange?: ((value: string) => void) | undefined;
|
|
19
|
+
onComplete?: ((value: string) => void) | undefined;
|
|
20
|
+
length?: number | undefined;
|
|
21
|
+
keyboardType?: "number-pad" | "default" | undefined;
|
|
22
|
+
autoFocus?: boolean | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Milliseconds to wait before `autoFocus` focuses the first cell. Raise it
|
|
25
25
|
* (about 350) on a screen that is pushed with a transition, so the Android
|
|
26
26
|
* keyboard does not open behind the incoming screen. Default 0.
|
|
27
27
|
*/
|
|
28
|
-
autoFocusDelay?: number;
|
|
29
|
-
disabled?: boolean;
|
|
28
|
+
autoFocusDelay?: number | undefined;
|
|
29
|
+
disabled?: boolean | undefined;
|
|
30
30
|
/**
|
|
31
31
|
* A string or a node puts the cells in the error state and shows it as the
|
|
32
32
|
* message below them; `true` shows the error state without a message.
|
|
33
33
|
*/
|
|
34
|
-
error?: ReactNode;
|
|
35
|
-
size?: OTPInputSize;
|
|
36
|
-
secure?: boolean;
|
|
34
|
+
error?: ReactNode | undefined;
|
|
35
|
+
size?: OTPInputSize | undefined;
|
|
36
|
+
secure?: boolean | undefined;
|
|
37
37
|
/**
|
|
38
38
|
* Haptic feedback for interactions. Off unless a HapticType is passed.
|
|
39
39
|
*/
|
|
40
|
-
haptic?: HapticType | false;
|
|
41
|
-
labels?: Partial<OTPInputLabels
|
|
40
|
+
haptic?: HapticType | false | undefined;
|
|
41
|
+
labels?: Partial<OTPInputLabels> | undefined;
|
|
42
42
|
/** Called when any cell takes focus. */
|
|
43
|
-
onFocus?: (e: FocusEvent) => void;
|
|
44
|
-
accessibilityLabel?: string;
|
|
45
|
-
style?: StyleProp<ViewStyle
|
|
46
|
-
cellStyle?: StyleProp<ViewStyle
|
|
47
|
-
textStyle?: StyleProp<TextStyle
|
|
48
|
-
testID?: string;
|
|
43
|
+
onFocus?: ((e: FocusEvent) => void) | undefined;
|
|
44
|
+
accessibilityLabel?: string | undefined;
|
|
45
|
+
style?: StyleProp<ViewStyle> | undefined;
|
|
46
|
+
cellStyle?: StyleProp<ViewStyle> | undefined;
|
|
47
|
+
textStyle?: StyleProp<TextStyle> | undefined;
|
|
48
|
+
testID?: string | undefined;
|
|
49
49
|
}
|
|
50
50
|
declare const OTPInput: import("react").ForwardRefExoticComponent<OTPInputProps & import("react").RefAttributes<OTPInputRef>>;
|
|
51
51
|
export { OTPInput };
|
|
@@ -10,16 +10,16 @@ export interface OTPResendRowLabels {
|
|
|
10
10
|
export declare const DEFAULT_OTP_RESEND_ROW_LABELS: Readonly<OTPResendRowLabels>;
|
|
11
11
|
export interface OTPResendRowProps {
|
|
12
12
|
resendSecondsLeft: number;
|
|
13
|
-
expirySecondsLeft?: number | null;
|
|
13
|
+
expirySecondsLeft?: number | null | undefined;
|
|
14
14
|
onResend: () => void;
|
|
15
|
-
resending?: boolean;
|
|
16
|
-
labels?: Partial<OTPResendRowLabels
|
|
17
|
-
style?: StyleProp<ViewStyle
|
|
18
|
-
testID?: string;
|
|
15
|
+
resending?: boolean | undefined;
|
|
16
|
+
labels?: Partial<OTPResendRowLabels> | undefined;
|
|
17
|
+
style?: StyleProp<ViewStyle> | undefined;
|
|
18
|
+
testID?: string | undefined;
|
|
19
|
+
}
|
|
20
|
+
declare function OTPResendRow({ resendSecondsLeft, expirySecondsLeft, onResend, resending, labels: labelsProp, style, testID, }: OTPResendRowProps): import("react").JSX.Element;
|
|
21
|
+
declare namespace OTPResendRow {
|
|
22
|
+
var displayName: string;
|
|
19
23
|
}
|
|
20
|
-
declare const OTPResendRow: {
|
|
21
|
-
({ resendSecondsLeft, expirySecondsLeft, onResend, resending, labels: labelsProp, style, testID, }: OTPResendRowProps): import("react").JSX.Element;
|
|
22
|
-
displayName: string;
|
|
23
|
-
};
|
|
24
24
|
export { OTPResendRow };
|
|
25
25
|
//# sourceMappingURL=OTPResendRow.d.ts.map
|
|
@@ -7,7 +7,7 @@ export interface OnboardingPage {
|
|
|
7
7
|
* The picture or illustration above the text. A fixed-size node (an `Image`) is centred;
|
|
8
8
|
* block content that should span the page width sets `alignSelf: "stretch"` on its root.
|
|
9
9
|
*/
|
|
10
|
-
art?: React.ReactNode;
|
|
10
|
+
art?: React.ReactNode | undefined;
|
|
11
11
|
title: string;
|
|
12
12
|
body: string;
|
|
13
13
|
}
|
|
@@ -29,15 +29,15 @@ export interface OnboardingPagerProps {
|
|
|
29
29
|
onDone: () => void;
|
|
30
30
|
/** Skip was pressed, on any page. The app records that the intro was seen. */
|
|
31
31
|
onSkip: () => void;
|
|
32
|
-
labels?: Partial<OnboardingPagerLabels
|
|
32
|
+
labels?: Partial<OnboardingPagerLabels> | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* Pads the top and bottom by the device safe-area insets. Pass false when the pager sits
|
|
35
35
|
* inside a screen that already handles them. Default true.
|
|
36
36
|
*/
|
|
37
|
-
safeArea?: boolean;
|
|
37
|
+
safeArea?: boolean | undefined;
|
|
38
38
|
/** Haptic on Skip, Next and the final button. `false` opts out. */
|
|
39
|
-
haptic?: HapticType | false;
|
|
40
|
-
testID?: string;
|
|
39
|
+
haptic?: HapticType | false | undefined;
|
|
40
|
+
testID?: string | undefined;
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* A first-launch intro: full-screen pages of art, title and body that swipe, a page
|