@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { StyleProp, TextStyle, ViewStyle } from "react-native";
|
|
2
|
+
import type { GestureResponderEvent, StyleProp, TextStyle, ViewStyle } from "react-native";
|
|
3
3
|
import type { TooltipAction } from "./RichTooltipBody";
|
|
4
4
|
export type { TooltipAction } from "./RichTooltipBody";
|
|
5
5
|
export type TooltipPlacement = "top" | "bottom" | "left" | "right" | "auto";
|
|
@@ -19,39 +19,44 @@ export interface TooltipLabels {
|
|
|
19
19
|
fallbackName: string;
|
|
20
20
|
}
|
|
21
21
|
export declare const DEFAULT_TOOLTIP_LABELS: Readonly<TooltipLabels>;
|
|
22
|
+
interface TooltipTriggerProps {
|
|
23
|
+
onPress?: ((e: GestureResponderEvent) => void) | undefined;
|
|
24
|
+
contextMenu?: unknown;
|
|
25
|
+
ref?: React.Ref<unknown> | undefined;
|
|
26
|
+
}
|
|
22
27
|
export interface TooltipProps {
|
|
23
28
|
content: string | React.ReactNode;
|
|
24
|
-
children: React.ReactElement
|
|
29
|
+
children: React.ReactElement<TooltipTriggerProps>;
|
|
25
30
|
/** Default `'plain'`. */
|
|
26
|
-
variant?: TooltipVariant;
|
|
31
|
+
variant?: TooltipVariant | undefined;
|
|
27
32
|
/** Rich only: one line over the content. */
|
|
28
|
-
title?: string;
|
|
33
|
+
title?: string | undefined;
|
|
29
34
|
/** Rich only: one text button. It runs after the tooltip has closed. */
|
|
30
|
-
action?: TooltipAction;
|
|
35
|
+
action?: TooltipAction | undefined;
|
|
31
36
|
/** `left` and `right` read as `auto` on a rich tooltip. */
|
|
32
|
-
placement?: TooltipPlacement;
|
|
37
|
+
placement?: TooltipPlacement | undefined;
|
|
33
38
|
/**
|
|
34
39
|
* Default `'longPress'`, or `'press'` for a rich tooltip. A long press is
|
|
35
40
|
* never attached to a child with its own `contextMenu`: the menu wins.
|
|
36
41
|
*/
|
|
37
|
-
trigger?: TooltipTrigger;
|
|
38
|
-
open?: boolean;
|
|
39
|
-
onOpenChange?: (open: boolean) => void;
|
|
40
|
-
hideOnContentPress?: boolean;
|
|
41
|
-
maxWidth?: number;
|
|
42
|
-
showArrow?: boolean;
|
|
43
|
-
accessibilityLabel?: string;
|
|
42
|
+
trigger?: TooltipTrigger | undefined;
|
|
43
|
+
open?: boolean | undefined;
|
|
44
|
+
onOpenChange?: ((open: boolean) => void) | undefined;
|
|
45
|
+
hideOnContentPress?: boolean | undefined;
|
|
46
|
+
maxWidth?: number | undefined;
|
|
47
|
+
showArrow?: boolean | undefined;
|
|
48
|
+
accessibilityLabel?: string | undefined;
|
|
44
49
|
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
45
|
-
style?: StyleProp<ViewStyle
|
|
50
|
+
style?: StyleProp<ViewStyle> | undefined;
|
|
46
51
|
/** Alias of style, applied before it on the same node. Use style. */
|
|
47
|
-
containerStyle?: StyleProp<ViewStyle
|
|
52
|
+
containerStyle?: StyleProp<ViewStyle> | undefined;
|
|
48
53
|
/** Style override applied to the arrow caret View. */
|
|
49
|
-
arrowStyle?: StyleProp<ViewStyle
|
|
54
|
+
arrowStyle?: StyleProp<ViewStyle> | undefined;
|
|
50
55
|
/** Style override applied to the message Text (only when `content` is a string). */
|
|
51
|
-
messageStyle?: StyleProp<TextStyle
|
|
56
|
+
messageStyle?: StyleProp<TextStyle> | undefined;
|
|
52
57
|
/** Replaces the spoken names of the close area, the long-press hint and the fallback. */
|
|
53
|
-
labels?: Partial<TooltipLabels
|
|
54
|
-
testID?: string;
|
|
58
|
+
labels?: Partial<TooltipLabels> | undefined;
|
|
59
|
+
testID?: string | undefined;
|
|
55
60
|
}
|
|
56
61
|
declare const Tooltip: React.FC<TooltipProps>;
|
|
57
62
|
export { Tooltip };
|
|
@@ -8,15 +8,15 @@ export interface TourStep {
|
|
|
8
8
|
* `collapsable={false}` so Android keeps it in the native tree. A step whose
|
|
9
9
|
* view is not mounted or not on screen is skipped.
|
|
10
10
|
*/
|
|
11
|
-
target: React.RefObject<HostInstance | null>;
|
|
12
|
-
title?: string;
|
|
11
|
+
target: React.RefObject<Pick<HostInstance, "measureInWindow"> | null>;
|
|
12
|
+
title?: string | undefined;
|
|
13
13
|
description: string;
|
|
14
14
|
/**
|
|
15
15
|
* Corner radius of the target view, as a theme radius key, so the cutout and
|
|
16
16
|
* its outline follow a rounded card. The cutout's own padding is added to it.
|
|
17
17
|
* Default: `theme.radius.md` for the cutout.
|
|
18
18
|
*/
|
|
19
|
-
radius?: keyof Theme["radius"];
|
|
19
|
+
radius?: keyof Theme["radius"] | undefined;
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Where the app remembers that a person has seen a tour: one record per tour
|
|
@@ -49,10 +49,10 @@ export interface TourProps {
|
|
|
49
49
|
open: boolean;
|
|
50
50
|
onClose: (reason: TourCloseReason) => void;
|
|
51
51
|
/** Consulted before showing and written when the tour finishes or is skipped. */
|
|
52
|
-
seenStore?: TourSeenStore;
|
|
53
|
-
labels?: Partial<TourLabels
|
|
54
|
-
haptic?: HapticType | false;
|
|
55
|
-
testID?: string;
|
|
52
|
+
seenStore?: TourSeenStore | undefined;
|
|
53
|
+
labels?: Partial<TourLabels> | undefined;
|
|
54
|
+
haptic?: HapticType | false | undefined;
|
|
55
|
+
testID?: string | undefined;
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
58
|
* Walks through product steps one highlighted view at a time: the screen is
|
|
@@ -6,14 +6,14 @@ export interface TypingIndicatorLabels {
|
|
|
6
6
|
export declare const DEFAULT_TYPING_INDICATOR_LABELS: Readonly<TypingIndicatorLabels>;
|
|
7
7
|
export interface TypingIndicatorProps {
|
|
8
8
|
/** Shown beside the dots and read by screen readers, e.g. "Asha is typing". */
|
|
9
|
-
label?: string;
|
|
9
|
+
label?: string | undefined;
|
|
10
10
|
/** Screen-reader name when there is no visible `label`. Default 'Typing'. */
|
|
11
|
-
accessibilityLabel?: string;
|
|
12
|
-
labels?: Partial<TypingIndicatorLabels
|
|
11
|
+
accessibilityLabel?: string | undefined;
|
|
12
|
+
labels?: Partial<TypingIndicatorLabels> | undefined;
|
|
13
13
|
/** Draw the dots inside a `theirs` bubble. Default true. */
|
|
14
|
-
bubble?: boolean;
|
|
15
|
-
style?: StyleProp<ViewStyle
|
|
16
|
-
testID?: string;
|
|
14
|
+
bubble?: boolean | undefined;
|
|
15
|
+
style?: StyleProp<ViewStyle> | undefined;
|
|
16
|
+
testID?: string | undefined;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* Three pulsing dots, with an optional line such as "Asha is typing", for
|
|
@@ -6,7 +6,7 @@ export interface WheelItem {
|
|
|
6
6
|
/** Text drawn in the row. */
|
|
7
7
|
label: string;
|
|
8
8
|
/** What a screen reader says for this value, such as "2 hours". Defaults to `label`. */
|
|
9
|
-
accessibilityLabel?: string;
|
|
9
|
+
accessibilityLabel?: string | undefined;
|
|
10
10
|
}
|
|
11
11
|
export declare const WHEEL_VISIBLE_ITEMS = 5;
|
|
12
12
|
export declare const WHEEL_CENTER_OFFSET: number;
|
|
@@ -16,14 +16,18 @@ interface WheelProps {
|
|
|
16
16
|
selectedIndex: number;
|
|
17
17
|
onIndexChange: (index: number) => void;
|
|
18
18
|
itemHeight: number;
|
|
19
|
-
width?: number;
|
|
19
|
+
width?: number | undefined;
|
|
20
20
|
theme: Theme;
|
|
21
|
-
haptic?: HapticType | false;
|
|
22
|
-
disabled?: boolean;
|
|
21
|
+
haptic?: HapticType | false | undefined;
|
|
22
|
+
disabled?: boolean | undefined;
|
|
23
23
|
reducedMotion: boolean;
|
|
24
24
|
/** Tapping the selected value opens an inline number field for it. */
|
|
25
|
-
typeable?: boolean;
|
|
26
|
-
|
|
25
|
+
typeable?: boolean | undefined;
|
|
26
|
+
/** Name of the screen reader action that opens the typed entry. */
|
|
27
|
+
typeAction?: string | undefined;
|
|
28
|
+
/** Spoken when the typed entry opens. */
|
|
29
|
+
typeEditor?: string | undefined;
|
|
30
|
+
testID?: string | undefined;
|
|
27
31
|
}
|
|
28
32
|
/**
|
|
29
33
|
* One scrolling column. It commits `onIndexChange` once the column rests on an
|
|
@@ -13,43 +13,43 @@ export interface WheelPickerColumn {
|
|
|
13
13
|
/** The selected item's `value`. A value that is not in `items` shows the first item. */
|
|
14
14
|
value: string | number;
|
|
15
15
|
/** Fixed width in points. Default 64 in columns mode; the list mode column fills the row. */
|
|
16
|
-
width?: number;
|
|
16
|
+
width?: number | undefined;
|
|
17
17
|
/** Text drawn after the column, such as ":" between hours and minutes. */
|
|
18
|
-
separator?: string;
|
|
18
|
+
separator?: string | undefined;
|
|
19
19
|
/** Small unit label drawn beside the selected row, such as "min". */
|
|
20
|
-
unit?: string;
|
|
20
|
+
unit?: string | undefined;
|
|
21
21
|
/** Empty space after the column (and its unit or separator), in points. */
|
|
22
|
-
gapAfter?: number;
|
|
23
|
-
testID?: string;
|
|
22
|
+
gapAfter?: number | undefined;
|
|
23
|
+
testID?: string | undefined;
|
|
24
24
|
}
|
|
25
25
|
interface WheelPickerBaseProps {
|
|
26
26
|
/** Tick at each detent. `false` is silent; a `HapticType` replaces the default `denseTick`. */
|
|
27
|
-
haptic?: HapticType | false;
|
|
27
|
+
haptic?: HapticType | false | undefined;
|
|
28
28
|
/** Locks scrolling and screen reader adjustment and dims the wheels. */
|
|
29
|
-
disabled?: boolean;
|
|
29
|
+
disabled?: boolean | undefined;
|
|
30
30
|
/** Names the wheels, their spoken units and the default list label, in any mode. */
|
|
31
|
-
labels?: Partial<WheelPickerLabels
|
|
32
|
-
testID?: string;
|
|
31
|
+
labels?: Partial<WheelPickerLabels> | undefined;
|
|
32
|
+
testID?: string | undefined;
|
|
33
33
|
/** Style of the row that holds the wheels. */
|
|
34
|
-
style?: StyleProp<ViewStyle
|
|
34
|
+
style?: StyleProp<ViewStyle> | undefined;
|
|
35
35
|
}
|
|
36
36
|
/** Several wheels side by side, each with its own items. */
|
|
37
37
|
export interface WheelPickerColumnsProps extends WheelPickerBaseProps {
|
|
38
|
-
mode?: "columns";
|
|
38
|
+
mode?: "columns" | undefined;
|
|
39
39
|
columns: ReadonlyArray<WheelPickerColumn>;
|
|
40
40
|
/** Fired with the column's `key` and the picked item's `value` once a wheel rests. */
|
|
41
|
-
onChange?: (key: string, value: string | number) => void;
|
|
41
|
+
onChange?: ((key: string, value: string | number) => void) | undefined;
|
|
42
42
|
}
|
|
43
43
|
/** One wheel over a short list of choices. */
|
|
44
44
|
export interface WheelPickerListProps extends WheelPickerBaseProps {
|
|
45
45
|
mode: "list";
|
|
46
46
|
items: ReadonlyArray<WheelItem | string | number>;
|
|
47
|
-
value?: string | number | null;
|
|
48
|
-
onChange?: (value: string | number) => void;
|
|
47
|
+
value?: string | number | null | undefined;
|
|
48
|
+
onChange?: ((value: string | number) => void) | undefined;
|
|
49
49
|
/** Names the wheel for a screen reader. Default "Value". */
|
|
50
|
-
label?: string;
|
|
50
|
+
label?: string | undefined;
|
|
51
51
|
/** Fixed width in points. Default fills the row. */
|
|
52
|
-
width?: number;
|
|
52
|
+
width?: number | undefined;
|
|
53
53
|
}
|
|
54
54
|
export interface WheelPickerLabels {
|
|
55
55
|
hours: string;
|
|
@@ -61,6 +61,8 @@ export interface WheelPickerLabels {
|
|
|
61
61
|
minuteOne: string;
|
|
62
62
|
minuteMany: string;
|
|
63
63
|
value: string;
|
|
64
|
+
typeAction: string;
|
|
65
|
+
typeEditor: string;
|
|
64
66
|
}
|
|
65
67
|
export declare const DEFAULT_WHEEL_PICKER_LABELS: Readonly<WheelPickerLabels>;
|
|
66
68
|
/** Hours and minutes, up to 23 h 59 min, with the value as a whole number of minutes. */
|
|
@@ -68,15 +70,15 @@ export interface WheelPickerDurationProps extends WheelPickerBaseProps {
|
|
|
68
70
|
mode: "duration";
|
|
69
71
|
/** Duration in minutes. Clamped to `maxMinutes` and rounded to `minuteStep`. */
|
|
70
72
|
value: number;
|
|
71
|
-
onChange?: (minutes: number) => void;
|
|
72
|
-
minuteStep?: WheelDurationStep;
|
|
73
|
+
onChange?: ((minutes: number) => void) | undefined;
|
|
74
|
+
minuteStep?: WheelDurationStep | undefined;
|
|
73
75
|
/** Upper bound in minutes. Default and ceiling 1439 (23 h 59 min). */
|
|
74
|
-
maxMinutes?: number;
|
|
76
|
+
maxMinutes?: number | undefined;
|
|
75
77
|
/**
|
|
76
78
|
* Durations in minutes, drawn as chips below the wheel; a tap sets the duration. Each must be a
|
|
77
79
|
* whole number of minutes from 0 to `maxMinutes` in steps of `minuteStep`, or the picker throws.
|
|
78
80
|
*/
|
|
79
|
-
presets?: number[];
|
|
81
|
+
presets?: number[] | undefined;
|
|
80
82
|
}
|
|
81
83
|
export type WheelPickerProps = WheelPickerColumnsProps | WheelPickerListProps | WheelPickerDurationProps;
|
|
82
84
|
declare const WheelPicker: React.FC<WheelPickerProps>;
|
|
@@ -28,19 +28,19 @@ export interface ZoomableImageProps {
|
|
|
28
28
|
/** The content to pinch-zoom, pan, and double-tap-zoom — typically a single `<Image>`. */
|
|
29
29
|
children: React.ReactNode;
|
|
30
30
|
/** Upper bound on pinch and double-tap zoom. Default 4. */
|
|
31
|
-
maxScale?: number;
|
|
31
|
+
maxScale?: number | undefined;
|
|
32
32
|
/** Lower bound on pinch zoom — the resting scale a pinch springs back to. Default 1. */
|
|
33
|
-
minScale?: number;
|
|
33
|
+
minScale?: number | undefined;
|
|
34
34
|
/** Scale a double tap zooms to; a second double tap returns to baseline. Default 2. */
|
|
35
|
-
doubleTapScale?: number;
|
|
35
|
+
doubleTapScale?: number | undefined;
|
|
36
36
|
/** Blocks pinch/pan/double-tap and smoothly resets any active zoom back to baseline. Default false. */
|
|
37
|
-
disabled?: boolean;
|
|
37
|
+
disabled?: boolean | undefined;
|
|
38
38
|
/** Haptic feedback on double-tap-to-zoom. Pass false to disable; pass a HapticType to override. */
|
|
39
|
-
haptic?: HapticType | false;
|
|
39
|
+
haptic?: HapticType | false | undefined;
|
|
40
40
|
/** Style for the outer wrapping view. */
|
|
41
|
-
style?: StyleProp<ViewStyle
|
|
42
|
-
accessibilityLabel?: string;
|
|
43
|
-
testID?: string;
|
|
41
|
+
style?: StyleProp<ViewStyle> | undefined;
|
|
42
|
+
accessibilityLabel?: string | undefined;
|
|
43
|
+
testID?: string | undefined;
|
|
44
44
|
}
|
|
45
45
|
export declare const ZoomableImage: React.FC<ZoomableImageProps>;
|
|
46
46
|
export default ZoomableImage;
|
|
@@ -110,6 +110,8 @@ export type { MessageListLabels, MessageListProps, MessageRenderInfo } from "./M
|
|
|
110
110
|
export { DEFAULT_MESSAGE_LIST_LABELS, MessageList } from "./MessageList";
|
|
111
111
|
export type { ModalLabels, ModalPresentation, ModalProps } from "./Modal";
|
|
112
112
|
export { DEFAULT_MODAL_LABELS, MODAL_DISMISS_GRACE_MS, Modal } from "./Modal";
|
|
113
|
+
export type { NonModalBottomSheetLabels, NonModalBottomSheetProps, NonModalSnapPoint } from "./NonModalBottomSheet";
|
|
114
|
+
export { DEFAULT_NON_MODAL_BOTTOM_SHEET_LABELS, NonModalBottomSheet } from "./NonModalBottomSheet";
|
|
113
115
|
export type { NumberInputLabels, NumberInputProps, NumberInputRef, NumberInputSize, NumberInputVariant } from "./NumberInput";
|
|
114
116
|
export { DEFAULT_NUMBER_INPUT_LABELS, NumberInput } from "./NumberInput";
|
|
115
117
|
export type { OnboardingPage, OnboardingPagerLabels, OnboardingPagerProps, } from "./OnboardingPager";
|
|
@@ -21,24 +21,11 @@ export type HookFormFieldProps<TFieldValues extends FieldValues = FieldValues, T
|
|
|
21
21
|
* render-prop child whose returned element is given an `error` prop;
|
|
22
22
|
* `false` otherwise. Set it to override that.
|
|
23
23
|
*/
|
|
24
|
-
hideError?: boolean;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* A library field bound to react-hook-form: `FormField`'s label, helper text,
|
|
28
|
-
* required marker and error line around a control wired through
|
|
29
|
-
* `useController`. `control` may be omitted inside a `FormProvider`.
|
|
30
|
-
*
|
|
31
|
-
* ```tsx
|
|
32
|
-
* const { control, handleSubmit } = useForm({ defaultValues: { email: '' } });
|
|
33
|
-
*
|
|
34
|
-
* <HookFormField control={control} name="email" label="Email" rules={{ required: 'Enter your email' }}>
|
|
35
|
-
* <Input keyboardType="email-address" autoComplete="email" />
|
|
36
|
-
* </HookFormField>
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
export declare const HookFormField: {
|
|
40
|
-
<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TTransformedValues = TFieldValues>(props: HookFormFieldProps<TFieldValues, TName, TTransformedValues>): React.ReactElement;
|
|
41
|
-
displayName: string;
|
|
24
|
+
hideError?: boolean | undefined;
|
|
42
25
|
};
|
|
26
|
+
export declare function HookFormField<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TTransformedValues = TFieldValues>(props: HookFormFieldProps<TFieldValues, TName, TTransformedValues>): React.ReactElement;
|
|
27
|
+
export declare namespace HookFormField {
|
|
28
|
+
var displayName: string;
|
|
29
|
+
}
|
|
43
30
|
export {};
|
|
44
31
|
//# sourceMappingURL=HookFormField.d.ts.map
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
* string address nested values and array items, so the form engine can treat
|
|
5
5
|
* every field uniformly regardless of how deep it lives in the value tree.
|
|
6
6
|
*/
|
|
7
|
+
type FormValues = Readonly<Record<string, unknown>>;
|
|
7
8
|
export declare const getPath: (obj: unknown, path: string) => unknown;
|
|
8
|
-
export declare const setPath:
|
|
9
|
-
export declare const deletePath:
|
|
9
|
+
export declare const setPath: (obj: FormValues, path: string, value: unknown) => FormValues;
|
|
10
|
+
export declare const deletePath: (obj: FormValues, path: string) => FormValues;
|
|
11
|
+
export {};
|
|
10
12
|
//# sourceMappingURL=path.d.ts.map
|
|
@@ -15,7 +15,7 @@ export interface UseFormCompletionOptions {
|
|
|
15
15
|
* Decide whether a field holds a value. Overrides the default rule for
|
|
16
16
|
* every field; return `true` to count the field as filled.
|
|
17
17
|
*/
|
|
18
|
-
isFilled?: (value: unknown, name: string) => boolean;
|
|
18
|
+
isFilled?: ((value: unknown, name: string) => boolean) | undefined;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* The default rule for "this field holds a value": everything counts except
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export interface UseControllableStateOptions<T> {
|
|
2
2
|
/** Controlled value. When `undefined`, the hook manages state internally. */
|
|
3
|
-
value?: T;
|
|
3
|
+
value?: T | undefined;
|
|
4
4
|
/** Initial value used in uncontrolled mode. */
|
|
5
5
|
defaultValue: T;
|
|
6
6
|
/** Called on every change (both modes). */
|
|
7
|
-
onChange?: (value: T) => void;
|
|
7
|
+
onChange?: ((value: T) => void) | undefined;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Bridges controlled and uncontrolled usage for a value+onChange pair. When
|
|
@@ -42,9 +42,9 @@ export interface UseDragToDismissOptions {
|
|
|
42
42
|
travel: number | (() => number);
|
|
43
43
|
onDismiss: () => void;
|
|
44
44
|
/** Whether the content under the finger is scrolled to its top. Default: always. */
|
|
45
|
-
contentAtTop?: () => boolean;
|
|
45
|
+
contentAtTop?: (() => boolean) | undefined;
|
|
46
46
|
/** The scrollable content's `useNativeGesture()`, so the sheet drag runs alongside its scroll. */
|
|
47
|
-
scrollGesture?: SheetNativeGesture;
|
|
47
|
+
scrollGesture?: SheetNativeGesture | undefined;
|
|
48
48
|
}
|
|
49
49
|
export interface UseDragToDismissResult {
|
|
50
50
|
/** Wrap the grab handle / title row in a `GestureDetector` with this. */
|
|
@@ -65,7 +65,7 @@ export interface DragToDismissController {
|
|
|
65
65
|
}
|
|
66
66
|
export interface DragToDismissControllerOptions extends Pick<UseDragToDismissOptions, "drag" | "travel" | "onDismiss"> {
|
|
67
67
|
/** Faded to 0 by the close under Reduce Motion, in place of the slide. */
|
|
68
|
-
opacity?: Animated.Value;
|
|
68
|
+
opacity?: Animated.Value | undefined;
|
|
69
69
|
}
|
|
70
70
|
export declare const createDragToDismissController: ({ drag, travel, onDismiss, opacity }: DragToDismissControllerOptions, motion: Theme["motion"], presence?: PresenceMotion) => DragToDismissController;
|
|
71
71
|
export declare const useDragToDismiss: (options: UseDragToDismissOptions) => UseDragToDismissResult;
|
|
@@ -16,7 +16,7 @@ export declare const useFieldErrorAnchor: (error: unknown, forwardedRef?: Ref<Ho
|
|
|
16
16
|
export interface UseFieldErrorScrollOptions {
|
|
17
17
|
scrollRef: RefObject<ScrollViewInstance | null>;
|
|
18
18
|
/** Room kept above the first error so its label shows too. Defaults to 16. */
|
|
19
|
-
offset?: number;
|
|
19
|
+
offset?: number | undefined;
|
|
20
20
|
}
|
|
21
21
|
export interface UseFieldErrorScrollResult {
|
|
22
22
|
registry: FieldErrorRegistry;
|
|
@@ -19,15 +19,15 @@ export type PressAnimationPreset = "scale" | "bounce" | "fade" | "sink" | "pulse
|
|
|
19
19
|
export declare const PRESS_ANIMATION_PRESETS: readonly PressAnimationPreset[];
|
|
20
20
|
export interface UsePressAnimationOptions {
|
|
21
21
|
/** Which feedback plays. Default `'scale'`. */
|
|
22
|
-
preset?: PressAnimationPreset;
|
|
22
|
+
preset?: PressAnimationPreset | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Press-in scale for the `scale` and `bounce` presets. Defaults to 0.97 for
|
|
25
25
|
* `scale` and 0.92 for `bounce`; ignored by the other presets.
|
|
26
26
|
*/
|
|
27
|
-
scaleTo?: number;
|
|
27
|
+
scaleTo?: number | undefined;
|
|
28
28
|
/** Press-in duration in ms. Default `theme.motion.duration.fast`. */
|
|
29
|
-
pressDuration?: number;
|
|
30
|
-
enabled?: boolean;
|
|
29
|
+
pressDuration?: number | undefined;
|
|
30
|
+
enabled?: boolean | undefined;
|
|
31
31
|
}
|
|
32
32
|
export interface UsePressAnimationResult {
|
|
33
33
|
scale: Animated.Value;
|
|
@@ -3,11 +3,11 @@ import type { AccessibilityActionEvent, RefreshControlProps } from "react-native
|
|
|
3
3
|
import type { HapticType } from "../utils/hapticUtils";
|
|
4
4
|
export type UseRefreshControlLabels = {
|
|
5
5
|
/** Name of the refresh accessibility action. Default `'Refresh'`. */
|
|
6
|
-
refresh?: string;
|
|
6
|
+
refresh?: string | undefined;
|
|
7
7
|
/** Spoken when a button or accessibility-action refresh starts. Default `'Refreshing'`. */
|
|
8
|
-
refreshing?: string;
|
|
8
|
+
refreshing?: string | undefined;
|
|
9
9
|
/** Spoken when that refresh ends. Default `'Updated'`. */
|
|
10
|
-
refreshed?: string;
|
|
10
|
+
refreshed?: string | undefined;
|
|
11
11
|
};
|
|
12
12
|
export type UseRefreshControlOptions = {
|
|
13
13
|
/**
|
|
@@ -20,22 +20,22 @@ export type UseRefreshControlOptions = {
|
|
|
20
20
|
* The screen's own loading flag, when the data is already tracked elsewhere.
|
|
21
21
|
* The spinner shows while this is true or a refresh started here is running.
|
|
22
22
|
*/
|
|
23
|
-
refreshing?: boolean;
|
|
23
|
+
refreshing?: boolean | undefined;
|
|
24
24
|
/**
|
|
25
25
|
* Haptic when a pull starts the refresh. Default: `'gestureStart'` on Android
|
|
26
26
|
* and none on iOS or web (no iOS haptic until a device check shows whether the
|
|
27
27
|
* system already taps). `false` turns it off; a type fires on every native
|
|
28
28
|
* platform.
|
|
29
29
|
*/
|
|
30
|
-
haptic?: HapticType | false;
|
|
30
|
+
haptic?: HapticType | false | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* iOS only: the line under the spinner, for what changed ("Updated 2 minutes
|
|
33
33
|
* ago"). Never use it to explain how to refresh.
|
|
34
34
|
*/
|
|
35
|
-
title?: string;
|
|
35
|
+
title?: string | undefined;
|
|
36
36
|
/** A refresh started here keeps the spinner at least this long. Default 400. */
|
|
37
|
-
minVisibleMs?: number;
|
|
38
|
-
labels?: UseRefreshControlLabels;
|
|
37
|
+
minVisibleMs?: number | undefined;
|
|
38
|
+
labels?: UseRefreshControlLabels | undefined;
|
|
39
39
|
};
|
|
40
40
|
export type UseRefreshControlResult = {
|
|
41
41
|
/** Pass as `refreshControl` to a FlatList, SectionList, ScrollView or KeyboardAwareScrollView. */
|
|
@@ -2,7 +2,7 @@ export interface UseResendCountdownOptions {
|
|
|
2
2
|
/** Seconds before a new code may be asked for. */
|
|
3
3
|
resendSeconds: number;
|
|
4
4
|
/** Seconds the code stays valid; null or undefined when the code has no known expiry. */
|
|
5
|
-
expirySeconds?: number | null;
|
|
5
|
+
expirySeconds?: number | null | undefined;
|
|
6
6
|
/** Wall-clock start (Date.now()) of the current challenge. Changing it restarts both timers. */
|
|
7
7
|
startedAtMs: number;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import type { NativeScrollEvent, NativeSyntheticEvent } from "react-native";
|
|
|
2
2
|
export type ScrollDirection = "up" | "down" | "idle";
|
|
3
3
|
export type UseScrollDirectionOptions = {
|
|
4
4
|
/** Points of travel in one direction before the direction flips. Default 8. */
|
|
5
|
-
threshold?: number;
|
|
5
|
+
threshold?: number | undefined;
|
|
6
6
|
};
|
|
7
7
|
export type UseScrollDirectionResult = {
|
|
8
8
|
direction: ScrollDirection;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { PHONE_CHROME_INSETS } from "./canvasKit";
|
|
2
2
|
export type * from "./components";
|
|
3
|
-
export { Accordion, AccordionGroup, ALL_CALLING_CODES, AmountSlider, AnimatePresence, AppBar, AppLockOverlay, AsyncBlock, AuthedImage, Autocomplete, Avatar, AvatarGroup, authedImageCacheStats, Badge, Banner, BarChart, BottomNavigation, BottomSheet, Box, Button, buttonLabelInk, Calendar, Card, Carousel, Checkbox, Chip, ChoiceGroup, Composer, Confetti, ConfirmHost, clearAuthedImageCache, confirm, DatePicker, DateRangePicker, DateSeparator, DEFAULT_CALLING_CODES, DecimalInput, Descriptions, Dialog, Divider, Drawer, defineStatusMap, EmptyState, ErrorBoundary, FilePicker, FileViewer, FilterChipRow, FloatingActionButton, FloatingActionButtonGroup, ForceUpdateDialog, FormField, formatE164, formatFileSize, getAuthedImageCacheLimit, IconBadge, IconButton, ImageGallery, InlineSelect, Input, KeyboardAwareScrollView, KeyboardToolbar, ListItem, ListSection, LoaderOverlay, loader, Markdown, Menu, MessageBubble, MessageList, MODAL_DISMISS_GRACE_MS, Modal, NumberInput, OnboardingPager, OptionSheet, OTPInput, OTPResendRow, PagedListFooter, PermissionPrompt, PhoneNumberInput, PickerTrigger, ProfileCompletion, ProfilePicker, ProgressBar, ProgressRing, Radio, RadioDot, RadioGroup, Rating, Repeater, RichTextEditor, Row, ScannerOverlay, Screen, SearchBar, SectionHeader, SegmentedControl, Select, SignaturePad, Skeleton, SkeletonCircle, SkeletonClockProvider, SkeletonContent, SkeletonList, SkeletonProvider, SkeletonSkip, SkeletonText, Slider, SliderField, SlideToConfirm, SortableList, Spacer, Sparkline, Spinner, SquircleImage, SquircleView, Stack, StatTile, StatusBadge, Stepper, Swipeable, Switch, setAuthedImageCacheLimit, Tabs, TagInput, Text, TextInkContext, Timeline, TimePicker, Toast, ToastHost, ToastProvider, Tooltip, Tour, TypingIndicator, toast, useBottomSheet, useErrorHandler, useRecentSearches, useTextInk, useToast, WheelPicker, withErrorBoundary, ZoomableImage, } from "./components";
|
|
3
|
+
export { Accordion, AccordionGroup, ALL_CALLING_CODES, AmountSlider, AnimatePresence, AppBar, AppLockOverlay, AsyncBlock, AuthedImage, Autocomplete, Avatar, AvatarGroup, authedImageCacheStats, Badge, Banner, BarChart, BottomNavigation, BottomSheet, Box, Button, buttonLabelInk, Calendar, Card, Carousel, Checkbox, Chip, ChoiceGroup, Composer, Confetti, ConfirmHost, clearAuthedImageCache, confirm, DatePicker, DateRangePicker, DateSeparator, DEFAULT_CALLING_CODES, DecimalInput, Descriptions, Dialog, Divider, Drawer, defineStatusMap, EmptyState, ErrorBoundary, FilePicker, FileViewer, FilterChipRow, FloatingActionButton, FloatingActionButtonGroup, ForceUpdateDialog, FormField, formatE164, formatFileSize, getAuthedImageCacheLimit, IconBadge, IconButton, ImageGallery, InlineSelect, Input, KeyboardAwareScrollView, KeyboardToolbar, ListItem, ListSection, LoaderOverlay, loader, Markdown, Menu, MessageBubble, MessageList, MODAL_DISMISS_GRACE_MS, Modal, NonModalBottomSheet, NumberInput, OnboardingPager, OptionSheet, OTPInput, OTPResendRow, PagedListFooter, PermissionPrompt, PhoneNumberInput, PickerTrigger, ProfileCompletion, ProfilePicker, ProgressBar, ProgressRing, Radio, RadioDot, RadioGroup, Rating, Repeater, RichTextEditor, Row, ScannerOverlay, Screen, SearchBar, SectionHeader, SegmentedControl, Select, SignaturePad, Skeleton, SkeletonCircle, SkeletonClockProvider, SkeletonContent, SkeletonList, SkeletonProvider, SkeletonSkip, SkeletonText, Slider, SliderField, SlideToConfirm, SortableList, Spacer, Sparkline, Spinner, SquircleImage, SquircleView, Stack, StatTile, StatusBadge, Stepper, Swipeable, Switch, setAuthedImageCacheLimit, Tabs, TagInput, Text, TextInkContext, Timeline, TimePicker, Toast, ToastHost, ToastProvider, Tooltip, Tour, TypingIndicator, toast, useBottomSheet, useErrorHandler, useRecentSearches, useTextInk, useToast, WheelPicker, withErrorBoundary, ZoomableImage, } from "./components";
|
|
4
4
|
export type { AppIconColor, AppIconName, AppIconProps, AppIconSize, CuratedIconName, IconName, IconsaxShadowedName, IconVariant, SlotIcon, SlotIconRef, SlotIconState, SlotNode, } from "./components/AppIcon";
|
|
5
5
|
export { AppIcon } from "./components/AppIcon";
|
|
6
6
|
export type { FormCompletion, HookFieldProps, HookFormFieldProps, UseFormCompletionOptions } from "./form";
|
|
@@ -12,8 +12,8 @@ export interface DiscardGuardHandle {
|
|
|
12
12
|
export interface DiscardGuardProps {
|
|
13
13
|
/** While true, every way out of the screen is held and the person chooses Keep editing or Discard. */
|
|
14
14
|
when: boolean;
|
|
15
|
-
labels?: Partial<DiscardGuardLabels
|
|
16
|
-
testID?: string;
|
|
15
|
+
labels?: Partial<DiscardGuardLabels> | undefined;
|
|
16
|
+
testID?: string | undefined;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* Asks before a form with unsaved changes is left. While `when` is true, every way out of the screen (the phone's
|
|
@@ -7,14 +7,14 @@ import { type ScreenProps } from "../components/Screen";
|
|
|
7
7
|
*/
|
|
8
8
|
export type NavigationScreenKind = "pushed" | "tab" | "root";
|
|
9
9
|
export interface NavigationScreenProps<ItemT = unknown> extends Omit<ScreenProps<ItemT>, "largeTitle" | "edges" | "bottomInset"> {
|
|
10
|
-
kind?: NavigationScreenKind;
|
|
10
|
+
kind?: NavigationScreenKind | undefined;
|
|
11
11
|
/** Safe-area edges of a "pushed" or "root" screen, as on Screen; a "tab" screen always uses the top edge only. */
|
|
12
|
-
edges?: SafeAreaEdge[];
|
|
12
|
+
edges?: SafeAreaEdge[] | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* Draw the app bar. Default `true`. `false` draws no bar and no back arrow, and drops the title, subtitle,
|
|
15
15
|
* leading, trailing and right actions with it; the safe area, keyboard handling, refresh, footer and list mode stay.
|
|
16
16
|
*/
|
|
17
|
-
appBar?: boolean;
|
|
17
|
+
appBar?: boolean | undefined;
|
|
18
18
|
}
|
|
19
19
|
export declare function NavigationScreen<ItemT = unknown>({ kind, appBar, onBack, ...props }: NavigationScreenProps<ItemT>): React.ReactElement;
|
|
20
20
|
//# sourceMappingURL=NavigationScreen.d.ts.map
|
|
@@ -2,23 +2,23 @@ import type React from "react";
|
|
|
2
2
|
import type { ViewStyle } from "react-native";
|
|
3
3
|
export interface NetworkStatusBannerProps {
|
|
4
4
|
/** Override the default offline message. */
|
|
5
|
-
message?: string;
|
|
5
|
+
message?: string | undefined;
|
|
6
6
|
/** Shown on the success colour when the connection comes back, before the banner slides away. */
|
|
7
|
-
restoredMessage?: string;
|
|
7
|
+
restoredMessage?: string | undefined;
|
|
8
8
|
/** How long the restored message stays, in ms. Default 2000. */
|
|
9
|
-
restoredDuration?: number;
|
|
9
|
+
restoredDuration?: number | undefined;
|
|
10
10
|
/** Render at the top (default) or bottom of the screen. */
|
|
11
|
-
position?: "top" | "bottom";
|
|
11
|
+
position?: "top" | "bottom" | undefined;
|
|
12
12
|
/** Optional style override for the banner container. */
|
|
13
|
-
style?: ViewStyle;
|
|
13
|
+
style?: ViewStyle | undefined;
|
|
14
14
|
/** Hide the banner entirely (useful for screens that handle offline themselves). */
|
|
15
|
-
disabled?: boolean;
|
|
15
|
+
disabled?: boolean | undefined;
|
|
16
16
|
/**
|
|
17
17
|
* Pad the banner clear of the status bar (top) or the home indicator
|
|
18
18
|
* (bottom) with the safe-area inset of its edge. Default true; turn it off
|
|
19
19
|
* when the banner sits below a header that already clears the inset.
|
|
20
20
|
*/
|
|
21
|
-
safeArea?: boolean;
|
|
21
|
+
safeArea?: boolean | undefined;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* A subtle animated banner that slides in when the device goes offline. When the
|
|
@@ -22,8 +22,8 @@ export declare const gradientAngle: (start?: GradientVector, end?: GradientVecto
|
|
|
22
22
|
export declare const toBackgroundImage: (gradient: GradientDefinition) => LinearGradientValue;
|
|
23
23
|
export interface GradientProps {
|
|
24
24
|
gradient: GradientDefinition;
|
|
25
|
-
style?: StyleProp<ViewStyle
|
|
26
|
-
children?: React.ReactNode;
|
|
25
|
+
style?: StyleProp<ViewStyle> | undefined;
|
|
26
|
+
children?: React.ReactNode | undefined;
|
|
27
27
|
}
|
|
28
28
|
export declare const Gradient: React.FC<GradientProps>;
|
|
29
29
|
export {};
|
|
@@ -4,23 +4,23 @@ export type ColorSchemePreference = "light" | "dark" | "system";
|
|
|
4
4
|
export interface ThemeProviderProps {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
/** The preference before a saved one is read (or when nothing is saved). Default `'system'`. */
|
|
7
|
-
initialPreference?: ColorSchemePreference;
|
|
7
|
+
initialPreference?: ColorSchemePreference | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* Storage key under which the provider remembers the light / dark / system
|
|
10
10
|
* choice across launches, through mobile-core `Storage`. It reads the saved
|
|
11
11
|
* choice on mount and writes every change made with `setPreference` or
|
|
12
12
|
* `toggleColorMode`. Without a key nothing is read or written.
|
|
13
13
|
*/
|
|
14
|
-
persistKey?: string;
|
|
14
|
+
persistKey?: string | undefined;
|
|
15
15
|
/** Pass a module-level constant: a new object identity merges the theme again. */
|
|
16
|
-
brand?: BrandOverrides;
|
|
16
|
+
brand?: BrandOverrides | undefined;
|
|
17
17
|
/** Pass a module-level constant: a new object identity merges the theme again. */
|
|
18
|
-
settings?: ThemeSettings;
|
|
18
|
+
settings?: ThemeSettings | undefined;
|
|
19
19
|
}
|
|
20
20
|
export declare const ThemeProvider: React.FC<ThemeProviderProps>;
|
|
21
21
|
export interface KitThemeBridgeProps {
|
|
22
22
|
mode: ColorMode;
|
|
23
|
-
brand?: BrandOverrides;
|
|
23
|
+
brand?: BrandOverrides | undefined;
|
|
24
24
|
children: React.ReactNode;
|
|
25
25
|
}
|
|
26
26
|
export declare const KitThemeBridge: React.FC<KitThemeBridgeProps>;
|