@webority/mobile-ui 0.148.0 → 0.150.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 -56553
- package/dist/canvas-kit/manifest.json +20 -41
- package/dist/canvas-kit/release.json +6 -6
- package/lib/commonjs/components/Accordion/Accordion.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/BarChart/BarChart.js +1 -1
- package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +1 -1
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
- package/lib/commonjs/components/Box/Box.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/Drawer/Drawer.js +1 -1
- package/lib/commonjs/components/FieldBase/useFloatingLabel.js +1 -1
- package/lib/commonjs/components/FileViewer/fileSource.js +1 -1
- package/lib/commonjs/components/FileViewer/useFileViewerZoom.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/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/SignaturePad/SignaturePad.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/SlideToConfirm/SlideToConfirm.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/Swipeable/Swipeable.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/WheelPicker/Wheel.js +1 -1
- package/lib/commonjs/components/WheelPicker/WheelPicker.js +1 -1
- package/lib/commonjs/components/ZoomableImage/ZoomableImage.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/hooks/useDragToDismiss.js +1 -1
- package/lib/commonjs/navigation/NavigationScreen.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/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/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/BarChart/BarChart.js +1 -1
- package/lib/module/components/BottomNavigation/BottomNavigation.js +1 -1
- package/lib/module/components/BottomSheet/BottomSheet.js +1 -1
- package/lib/module/components/Box/Box.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/Drawer/Drawer.js +1 -1
- package/lib/module/components/FieldBase/useFloatingLabel.js +1 -1
- package/lib/module/components/FileViewer/fileSource.js +1 -1
- package/lib/module/components/FileViewer/useFileViewerZoom.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/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/SignaturePad/SignaturePad.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/SlideToConfirm/SlideToConfirm.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/Swipeable/Swipeable.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/WheelPicker/Wheel.js +1 -1
- package/lib/module/components/WheelPicker/WheelPicker.js +1 -1
- package/lib/module/components/ZoomableImage/ZoomableImage.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/hooks/useDragToDismiss.js +1 -1
- package/lib/module/navigation/NavigationScreen.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/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 +36 -36
- 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 +33 -33
- package/lib/typescript/commonjs/components/Box/Box.d.ts +27 -27
- package/lib/typescript/commonjs/components/Button/Button.d.ts +22 -22
- 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 +15 -15
- 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/FileViewer/useFileViewerZoom.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/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 +33 -33
- package/lib/typescript/commonjs/components/OptionSheet/optionAccessors.d.ts +8 -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 +16 -16
- 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 +6 -6
- package/lib/typescript/commonjs/components/WheelPicker/WheelPicker.d.ts +20 -20
- package/lib/typescript/commonjs/components/ZoomableImage/ZoomableImage.d.ts +8 -8
- 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 +8 -8
- 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/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 +36 -36
- 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 +33 -33
- package/lib/typescript/module/components/Box/Box.d.ts +27 -27
- package/lib/typescript/module/components/Button/Button.d.ts +22 -22
- 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 +15 -15
- 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/FileViewer/useFileViewerZoom.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/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 +33 -33
- package/lib/typescript/module/components/OptionSheet/optionAccessors.d.ts +8 -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 +16 -16
- 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 +6 -6
- package/lib/typescript/module/components/WheelPicker/WheelPicker.d.ts +20 -20
- package/lib/typescript/module/components/ZoomableImage/ZoomableImage.d.ts +8 -8
- 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 +8 -8
- 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/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 +11 -11
- package/src/specs/NativePdfRasterizer.ts +1 -1
|
@@ -11,29 +11,29 @@ export interface ForceUpdateDialogProps {
|
|
|
11
11
|
/** Whether the dialog is open. */
|
|
12
12
|
open: boolean;
|
|
13
13
|
/** Called when the dialog is dismissed (only fired when `mandatory` is `false`). */
|
|
14
|
-
onClose?: () => void;
|
|
14
|
+
onClose?: (() => void) | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* If `true`, hides the "Later" action and disables backdrop dismissal —
|
|
17
17
|
* use this for major version bumps that must not be skipped.
|
|
18
18
|
*/
|
|
19
|
-
mandatory?: boolean;
|
|
19
|
+
mandatory?: boolean | undefined;
|
|
20
20
|
/** Optional override of the destination URL (defaults to the platform store). */
|
|
21
|
-
updateUrl?: string | null;
|
|
21
|
+
updateUrl?: string | null | undefined;
|
|
22
22
|
/** Address shown as a tappable link when the store cannot be opened. Nothing extra is shown without it. */
|
|
23
|
-
updateFallbackUrl?: string | null;
|
|
23
|
+
updateFallbackUrl?: string | null | undefined;
|
|
24
24
|
/** Per-call title override; wins over `labels.title`. */
|
|
25
|
-
title?: string;
|
|
25
|
+
title?: string | undefined;
|
|
26
26
|
/** Per-call message override; wins over `labels.message`. */
|
|
27
|
-
message?: string;
|
|
27
|
+
message?: string | undefined;
|
|
28
28
|
/** Copy overrides merged over the defaults. `later` is hidden when `mandatory`. */
|
|
29
|
-
labels?: Partial<ForceUpdateDialogLabels
|
|
29
|
+
labels?: Partial<ForceUpdateDialogLabels> | undefined;
|
|
30
30
|
/** Forwarded to the underlying Dialog container. */
|
|
31
|
-
containerStyle?: StyleProp<ViewStyle
|
|
31
|
+
containerStyle?: StyleProp<ViewStyle> | undefined;
|
|
32
32
|
/** Forwarded to the underlying Dialog title Text. */
|
|
33
|
-
titleStyle?: StyleProp<TextStyle
|
|
33
|
+
titleStyle?: StyleProp<TextStyle> | undefined;
|
|
34
34
|
/** Forwarded to the underlying Dialog message Text. */
|
|
35
|
-
messageStyle?: StyleProp<TextStyle
|
|
36
|
-
testID?: string;
|
|
35
|
+
messageStyle?: StyleProp<TextStyle> | undefined;
|
|
36
|
+
testID?: string | undefined;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Drop-in update prompt that opens the App Store / Play Store on tap.
|
|
@@ -7,46 +7,46 @@ export interface FormFieldLabels {
|
|
|
7
7
|
export declare const DEFAULT_FORM_FIELD_LABELS: FormFieldLabels;
|
|
8
8
|
export interface FormFieldProps {
|
|
9
9
|
/** A string, or a node for a symbol with a subscript. A node label needs an explicit `accessibilityLabel`. */
|
|
10
|
-
label?: React.ReactNode;
|
|
10
|
+
label?: React.ReactNode | undefined;
|
|
11
11
|
/** Drawn beside the label, right after it (a glossary info button, say); not part of the label's accessibility text. */
|
|
12
|
-
help?: React.ReactNode;
|
|
12
|
+
help?: React.ReactNode | undefined;
|
|
13
13
|
/** A string or a node. */
|
|
14
|
-
helperText?: React.ReactNode;
|
|
14
|
+
helperText?: React.ReactNode | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* When truthy: helperText is hidden, error is shown in the error colour,
|
|
17
17
|
* and the container reports the invalid state to assistive tech (a node
|
|
18
18
|
* error is shown but reaches assistive tech only through its live region).
|
|
19
19
|
* A string or a node.
|
|
20
20
|
*/
|
|
21
|
-
error?: React.ReactNode;
|
|
21
|
+
error?: React.ReactNode | undefined;
|
|
22
22
|
/**
|
|
23
23
|
* Appends the required marker to the label. Marker text comes from
|
|
24
24
|
* `theme.settings.components.field.requiredMarker` (default `'*'` in `colors.danger`).
|
|
25
25
|
*/
|
|
26
|
-
required?: boolean;
|
|
26
|
+
required?: boolean | undefined;
|
|
27
27
|
children: React.ReactNode;
|
|
28
28
|
/** 'stacked' (default): label above input. 'inline': label left, input right. */
|
|
29
|
-
layout?: FormFieldLayout;
|
|
29
|
+
layout?: FormFieldLayout | undefined;
|
|
30
30
|
/**
|
|
31
31
|
* Lines the helper text and the error may take before truncating with an
|
|
32
32
|
* ellipsis. Default: no limit, both wrap in full. `0` also means no limit.
|
|
33
33
|
*/
|
|
34
|
-
helperLines?: number;
|
|
35
|
-
labelStyle?: StyleProp<TextStyle
|
|
36
|
-
helperStyle?: StyleProp<TextStyle
|
|
37
|
-
errorStyle?: StyleProp<TextStyle
|
|
38
|
-
containerStyle?: StyleProp<ViewStyle
|
|
34
|
+
helperLines?: number | undefined;
|
|
35
|
+
labelStyle?: StyleProp<TextStyle> | undefined;
|
|
36
|
+
helperStyle?: StyleProp<TextStyle> | undefined;
|
|
37
|
+
errorStyle?: StyleProp<TextStyle> | undefined;
|
|
38
|
+
containerStyle?: StyleProp<ViewStyle> | undefined;
|
|
39
39
|
/**
|
|
40
40
|
* Style override for the wrapper View that hosts `children` (the input slot).
|
|
41
41
|
* Useful for the `inline` layout when callers need to tweak the right-hand
|
|
42
42
|
* column (e.g., set a max width, align differently). Additive only — the
|
|
43
43
|
* library's base style still applies underneath.
|
|
44
44
|
*/
|
|
45
|
-
inputContainerStyle?: StyleProp<ViewStyle
|
|
46
|
-
accessibilityLabel?: string;
|
|
45
|
+
inputContainerStyle?: StyleProp<ViewStyle> | undefined;
|
|
46
|
+
accessibilityLabel?: string | undefined;
|
|
47
47
|
/** Spoken text pieces; a key left out keeps its English default. */
|
|
48
|
-
labels?: Partial<FormFieldLabels
|
|
49
|
-
testID?: string;
|
|
48
|
+
labels?: Partial<FormFieldLabels> | undefined;
|
|
49
|
+
testID?: string | undefined;
|
|
50
50
|
}
|
|
51
51
|
declare const FormField: React.ForwardRefExoticComponent<FormFieldProps & React.RefAttributes<HostInstance>>;
|
|
52
52
|
export { FormField };
|
|
@@ -22,32 +22,32 @@ export interface IconBadgeProps {
|
|
|
22
22
|
*/
|
|
23
23
|
icon: SlotIcon;
|
|
24
24
|
/** Iconsax style for `icon` given as a name. A `{ name, variant }` icon keeps its own variant. Default `'linear'`. */
|
|
25
|
-
iconVariant?: IconVariant;
|
|
25
|
+
iconVariant?: IconVariant | undefined;
|
|
26
26
|
/** Circle and icon size: sm 32 / 16, md 40 / 20, lg 56 / 28. Default `'md'`. */
|
|
27
|
-
size?: IconBadgeSize;
|
|
27
|
+
size?: IconBadgeSize | undefined;
|
|
28
28
|
/** Colour of the tinted fill and the icon. Default `'primary'`. */
|
|
29
|
-
tone?: IconBadgeTone;
|
|
29
|
+
tone?: IconBadgeTone | undefined;
|
|
30
30
|
/**
|
|
31
31
|
* A colour of the host's own for the fill tint and a named icon. Wins over
|
|
32
32
|
* `tone`. A value that is not `#RRGGBB` still colours the icon, and the
|
|
33
33
|
* fill falls back to the neutral grey (`bg-muted`), as `tintOf` does.
|
|
34
34
|
*/
|
|
35
|
-
color?: string;
|
|
35
|
+
color?: string | undefined;
|
|
36
36
|
/** Default `'tint'`. See {@link IconBadgeFill}. */
|
|
37
|
-
fill?: IconBadgeFill;
|
|
37
|
+
fill?: IconBadgeFill | undefined;
|
|
38
38
|
/** Default `'circle'`. `'squircle'` draws the smooth-cornered shape instead. */
|
|
39
|
-
shape?: IconBadgeShape;
|
|
39
|
+
shape?: IconBadgeShape | undefined;
|
|
40
40
|
/** Width and height in points, for a host that sizes the circle itself. Wins over `size`; a named icon takes half of it, rounded. */
|
|
41
|
-
dimension?: number;
|
|
41
|
+
dimension?: number | undefined;
|
|
42
42
|
/**
|
|
43
43
|
* Announces the badge as an image with this name. Without it the badge is
|
|
44
44
|
* decorative: hidden from screen readers.
|
|
45
45
|
*/
|
|
46
|
-
accessibilityLabel?: string;
|
|
46
|
+
accessibilityLabel?: string | undefined;
|
|
47
47
|
/** Passed to the root view; "none" lets touches reach what sits under the badge. */
|
|
48
|
-
pointerEvents?: ViewProps["pointerEvents"];
|
|
49
|
-
style?: StyleProp<ViewStyle
|
|
50
|
-
testID?: string;
|
|
48
|
+
pointerEvents?: ViewProps["pointerEvents"] | undefined;
|
|
49
|
+
style?: StyleProp<ViewStyle> | undefined;
|
|
50
|
+
testID?: string | undefined;
|
|
51
51
|
}
|
|
52
52
|
declare const IconBadge: ForwardRefExoticComponent<IconBadgeProps & RefAttributes<HostInstance>>;
|
|
53
53
|
export { IconBadge };
|
|
@@ -26,26 +26,26 @@ export interface IconButtonProps {
|
|
|
26
26
|
* Iconsax style for `icon` given as a name. A `{ name, variant }` icon keeps
|
|
27
27
|
* its own variant. Default `'linear'`.
|
|
28
28
|
*/
|
|
29
|
-
iconVariant?: IconVariant;
|
|
30
|
-
onPress?: (e: GestureResponderEvent) => void;
|
|
29
|
+
iconVariant?: IconVariant | undefined;
|
|
30
|
+
onPress?: ((e: GestureResponderEvent) => void) | undefined;
|
|
31
31
|
/** Required — icon-only controls need an accessible name. */
|
|
32
32
|
accessibilityLabel: string;
|
|
33
33
|
/** Read after the name, never drawn: what the press does, for a control whose name alone is not enough. */
|
|
34
|
-
accessibilityHint?: string;
|
|
34
|
+
accessibilityHint?: string | undefined;
|
|
35
35
|
/** Accessibility state beyond the ones IconButton sets. Selected from here does not fill the button; only active does. The button's own disabled state wins over a caller's. */
|
|
36
|
-
accessibilityState?: AccessibilityState;
|
|
37
|
-
tone?: IconButtonTone;
|
|
38
|
-
variant?: IconButtonVariant;
|
|
39
|
-
size?: IconButtonSize;
|
|
40
|
-
shape?: IconButtonShape;
|
|
36
|
+
accessibilityState?: AccessibilityState | undefined;
|
|
37
|
+
tone?: IconButtonTone | undefined;
|
|
38
|
+
variant?: IconButtonVariant | undefined;
|
|
39
|
+
size?: IconButtonSize | undefined;
|
|
40
|
+
shape?: IconButtonShape | undefined;
|
|
41
41
|
/** Selected/active — renders filled (solid) regardless of `variant` (e.g. an active nav tile). */
|
|
42
|
-
active?: boolean;
|
|
43
|
-
disabled?: boolean;
|
|
44
|
-
loading?: boolean;
|
|
42
|
+
active?: boolean | undefined;
|
|
43
|
+
disabled?: boolean | undefined;
|
|
44
|
+
loading?: boolean | undefined;
|
|
45
45
|
/** Press haptic. Default `'selection'`. */
|
|
46
|
-
haptic?: HapticType | false;
|
|
47
|
-
style?: StyleProp<ViewStyle
|
|
48
|
-
testID?: string;
|
|
46
|
+
haptic?: HapticType | false | undefined;
|
|
47
|
+
style?: StyleProp<ViewStyle> | undefined;
|
|
48
|
+
testID?: string | undefined;
|
|
49
49
|
}
|
|
50
50
|
declare const IconButton: ForwardRefExoticComponent<IconButtonProps & RefAttributes<HostInstance>>;
|
|
51
51
|
export { IconButton };
|
|
@@ -21,8 +21,8 @@ import type { ImageSourcePropType, StyleProp, ViewStyle } from "react-native";
|
|
|
21
21
|
import type { HapticType } from "../../utils";
|
|
22
22
|
export interface GalleryImage {
|
|
23
23
|
source: ImageSourcePropType;
|
|
24
|
-
caption?: string;
|
|
25
|
-
alt?: string;
|
|
24
|
+
caption?: string | undefined;
|
|
25
|
+
alt?: string | undefined;
|
|
26
26
|
}
|
|
27
27
|
export interface ImageGalleryLabels {
|
|
28
28
|
gallery: string;
|
|
@@ -37,27 +37,27 @@ export interface ImageGalleryProps {
|
|
|
37
37
|
* Visible-to-screen-reader copy. Omitted keys keep the English defaults. `imageOf` takes a
|
|
38
38
|
* 1-based index.
|
|
39
39
|
*/
|
|
40
|
-
labels?: Partial<ImageGalleryLabels
|
|
41
|
-
initialIndex?: number;
|
|
42
|
-
showThumbnails?: boolean;
|
|
43
|
-
showCounter?: boolean;
|
|
44
|
-
enableLightbox?: boolean;
|
|
45
|
-
enablePinchZoom?: boolean;
|
|
46
|
-
onIndexChange?: (idx: number) => void;
|
|
40
|
+
labels?: Partial<ImageGalleryLabels> | undefined;
|
|
41
|
+
initialIndex?: number | undefined;
|
|
42
|
+
showThumbnails?: boolean | undefined;
|
|
43
|
+
showCounter?: boolean | undefined;
|
|
44
|
+
enableLightbox?: boolean | undefined;
|
|
45
|
+
enablePinchZoom?: boolean | undefined;
|
|
46
|
+
onIndexChange?: ((idx: number) => void) | undefined;
|
|
47
47
|
/**
|
|
48
48
|
* Haptic feedback for interactions. Pass false to disable; pass a HapticType
|
|
49
49
|
* to override the default.
|
|
50
50
|
*/
|
|
51
|
-
haptic?: HapticType | false;
|
|
51
|
+
haptic?: HapticType | false | undefined;
|
|
52
52
|
/**
|
|
53
53
|
* When true, renders the component as its authored skeleton placeholder shape.
|
|
54
54
|
* The placeholder mirrors the real layout's footprint so the UI doesn't reflow
|
|
55
55
|
* when data arrives. Use this while the data driving the component is being fetched.
|
|
56
56
|
*/
|
|
57
|
-
loading?: boolean;
|
|
58
|
-
accessibilityLabel?: string;
|
|
59
|
-
containerStyle?: StyleProp<ViewStyle
|
|
60
|
-
testID?: string;
|
|
57
|
+
loading?: boolean | undefined;
|
|
58
|
+
accessibilityLabel?: string | undefined;
|
|
59
|
+
containerStyle?: StyleProp<ViewStyle> | undefined;
|
|
60
|
+
testID?: string | undefined;
|
|
61
61
|
}
|
|
62
62
|
declare const ImageGallery: React.FC<ImageGalleryProps> & {
|
|
63
63
|
Skeleton: React.FC<ImageGalleryProps>;
|
|
@@ -37,69 +37,74 @@ export declare const DEFAULT_INLINE_SELECT_LABELS: InlineSelectLabels;
|
|
|
37
37
|
export interface InlineSelectProps<T = SelectOption> {
|
|
38
38
|
/** Same contract as Select's `options` — `SelectOption` shape by default, accessors for anything else. */
|
|
39
39
|
options: ReadonlyArray<T>;
|
|
40
|
-
/** Defaults to `
|
|
41
|
-
getOptionLabel?: (option: T) => string;
|
|
42
|
-
/** Defaults to `
|
|
43
|
-
getOptionValue?: (option: T) => SelectValue;
|
|
44
|
-
/** Defaults to `
|
|
45
|
-
isOptionDisabled?: (option: T) => boolean;
|
|
46
|
-
/** Defaults to `
|
|
47
|
-
getOptionDescription?: (option: T) => string | undefined;
|
|
48
|
-
/** Defaults to `
|
|
49
|
-
getOptionIcon?: (option: T) => React.ReactNode;
|
|
50
|
-
value?: SelectValue;
|
|
40
|
+
/** Defaults to the option's `label` field when it is a `SelectOption`. */
|
|
41
|
+
getOptionLabel?: ((option: T) => string) | undefined;
|
|
42
|
+
/** Defaults to the option's `value` field when it is a `SelectOption`. */
|
|
43
|
+
getOptionValue?: ((option: T) => SelectValue) | undefined;
|
|
44
|
+
/** Defaults to the option's `disabled` field when it is a `SelectOption`. */
|
|
45
|
+
isOptionDisabled?: ((option: T) => boolean) | undefined;
|
|
46
|
+
/** Defaults to the option's `description` field when it is a `SelectOption`. */
|
|
47
|
+
getOptionDescription?: ((option: T) => string | undefined) | undefined;
|
|
48
|
+
/** Defaults to the option's `icon` field when it is a `SelectOption`. */
|
|
49
|
+
getOptionIcon?: ((option: T) => React.ReactNode) | undefined;
|
|
50
|
+
value?: SelectValue | undefined;
|
|
51
51
|
onChange: (value: SelectValue) => void;
|
|
52
52
|
/** Trigger text when nothing is selected. Default `'Select'`. */
|
|
53
|
-
placeholder?: string;
|
|
53
|
+
placeholder?: string | undefined;
|
|
54
54
|
/** Copy for the trigger and sheet; any key omitted keeps its English default. */
|
|
55
|
-
labels?: Partial<InlineSelectLabels
|
|
55
|
+
labels?: Partial<InlineSelectLabels> | undefined;
|
|
56
56
|
/**
|
|
57
57
|
* Label drawn above the trigger, the same `FieldLabel` Select uses, so a bare
|
|
58
58
|
* trigger reads as a field of its own. Also names the trigger for screen
|
|
59
59
|
* readers. Inside an Input slot give the Input its own `label` instead and
|
|
60
60
|
* leave this off; `title` alone still names the trigger for a11y.
|
|
61
61
|
*/
|
|
62
|
-
label?: string;
|
|
62
|
+
label?: string | undefined;
|
|
63
63
|
/**
|
|
64
64
|
* Heading shown at the top of the options bottom-sheet. Independent of
|
|
65
65
|
* `label`: omit it for a sheet with no heading.
|
|
66
66
|
*/
|
|
67
|
-
title?: string;
|
|
68
|
-
searchable?: boolean;
|
|
67
|
+
title?: string | undefined;
|
|
68
|
+
searchable?: boolean | undefined;
|
|
69
69
|
/**
|
|
70
70
|
* Haptic feedback for open + select. Pass false to disable; pass a
|
|
71
71
|
* HapticType to override the default.
|
|
72
72
|
*/
|
|
73
|
-
haptic?: HapticType | false;
|
|
74
|
-
disabled?: boolean;
|
|
73
|
+
haptic?: HapticType | false | undefined;
|
|
74
|
+
disabled?: boolean | undefined;
|
|
75
75
|
/**
|
|
76
76
|
* Matches the host field's size so fontSize / chevron track the surrounding
|
|
77
77
|
* Input. Default `'md'`.
|
|
78
78
|
*/
|
|
79
|
-
size?: InlineSelectSize;
|
|
79
|
+
size?: InlineSelectSize | undefined;
|
|
80
80
|
/**
|
|
81
81
|
* Trigger text and chevron colour. Resolution: prop, then `colors.primary`
|
|
82
82
|
* (`text-disabled` when disabled).
|
|
83
83
|
*/
|
|
84
|
-
color?: string;
|
|
84
|
+
color?: string | undefined;
|
|
85
85
|
/** Chevron colour override — falls back to `color`'s resolution. */
|
|
86
|
-
chevronColor?: string;
|
|
86
|
+
chevronColor?: string | undefined;
|
|
87
87
|
/** Chevron size in pixels. Default: the field size's `icon`. */
|
|
88
|
-
chevronSize?: number;
|
|
89
|
-
textStyle?: StyleProp<TextStyle
|
|
90
|
-
style?: StyleProp<ViewStyle
|
|
88
|
+
chevronSize?: number | undefined;
|
|
89
|
+
textStyle?: StyleProp<TextStyle> | undefined;
|
|
90
|
+
style?: StyleProp<ViewStyle> | undefined;
|
|
91
91
|
/** Style for every option row in the sheet (padding, background, …). */
|
|
92
|
-
optionStyle?: StyleProp<ViewStyle
|
|
92
|
+
optionStyle?: StyleProp<ViewStyle> | undefined;
|
|
93
93
|
/** Extra style for the selected option row — wins over `optionStyle` and the default selected fill. */
|
|
94
|
-
selectedOptionStyle?: StyleProp<ViewStyle
|
|
94
|
+
selectedOptionStyle?: StyleProp<ViewStyle> | undefined;
|
|
95
95
|
/** Style for every option's label text in the sheet. */
|
|
96
|
-
optionTextStyle?: StyleProp<TextStyle
|
|
96
|
+
optionTextStyle?: StyleProp<TextStyle> | undefined;
|
|
97
97
|
/** Extra style for the selected option's label text — wins over `optionTextStyle` and the default selected colour. */
|
|
98
|
-
selectedOptionTextStyle?: StyleProp<TextStyle
|
|
99
|
-
accessibilityLabel?: string;
|
|
100
|
-
testID?: string;
|
|
98
|
+
selectedOptionTextStyle?: StyleProp<TextStyle> | undefined;
|
|
99
|
+
accessibilityLabel?: string | undefined;
|
|
100
|
+
testID?: string | undefined;
|
|
101
|
+
}
|
|
102
|
+
declare function InlineSelect<T = SelectOption>(props: InlineSelectProps<T> & {
|
|
103
|
+
ref?: React.Ref<HostInstance> | undefined;
|
|
104
|
+
}): React.ReactElement;
|
|
105
|
+
declare namespace InlineSelect {
|
|
106
|
+
var displayName: string;
|
|
101
107
|
}
|
|
102
|
-
declare const InlineSelect: React.ForwardRefExoticComponent<InlineSelectProps<unknown> & React.RefAttributes<HostInstance>>;
|
|
103
108
|
export { InlineSelect };
|
|
104
109
|
export default InlineSelect;
|
|
105
110
|
//# sourceMappingURL=InlineSelect.d.ts.map
|
|
@@ -45,51 +45,51 @@ export interface InputAction {
|
|
|
45
45
|
label: string;
|
|
46
46
|
onPress: () => void;
|
|
47
47
|
/** Shows the Button's spinner and blocks presses. */
|
|
48
|
-
loading?: boolean;
|
|
48
|
+
loading?: boolean | undefined;
|
|
49
49
|
/** Blocks presses. The button is also disabled whenever the field is. */
|
|
50
|
-
disabled?: boolean;
|
|
50
|
+
disabled?: boolean | undefined;
|
|
51
51
|
/** Button variant. Default `'outline'`. */
|
|
52
|
-
variant?: ButtonVariant;
|
|
52
|
+
variant?: ButtonVariant | undefined;
|
|
53
53
|
/** Button tone. Default `'primary'`. */
|
|
54
|
-
tone?: ButtonTone;
|
|
54
|
+
tone?: ButtonTone | undefined;
|
|
55
55
|
/** Icon before the button label; the Button's own `leftIcon` contract. */
|
|
56
|
-
icon?: SlotIcon;
|
|
57
|
-
testID?: string;
|
|
56
|
+
icon?: SlotIcon | undefined;
|
|
57
|
+
testID?: string | undefined;
|
|
58
58
|
}
|
|
59
59
|
export interface InputProps extends Omit<TextInputProps, "style"> {
|
|
60
|
-
keyboardType?: InputKeyboardType;
|
|
60
|
+
keyboardType?: InputKeyboardType | undefined;
|
|
61
61
|
/**
|
|
62
62
|
* A string, or a node for a symbol with a subscript. A node label needs an
|
|
63
63
|
* explicit `accessibilityLabel` (the field's screen-reader name), the same
|
|
64
64
|
* rule as ListItem's node title.
|
|
65
65
|
*/
|
|
66
|
-
label?: React.ReactNode;
|
|
66
|
+
label?: React.ReactNode | undefined;
|
|
67
67
|
/**
|
|
68
68
|
* Drawn beside the static label, right after it and centred on its line
|
|
69
69
|
* (a glossary info button, say). A sibling of the label text: it is not part
|
|
70
70
|
* of the label's accessibility text, never shrinks it, and pressing it does
|
|
71
71
|
* not focus the field. Only drawn with the static label (`labelMode="top"`).
|
|
72
72
|
*/
|
|
73
|
-
help?: React.ReactNode;
|
|
74
|
-
placeholder?: string;
|
|
75
|
-
value?: string;
|
|
76
|
-
onChangeText?: (text: string) => void;
|
|
73
|
+
help?: React.ReactNode | undefined;
|
|
74
|
+
placeholder?: string | undefined;
|
|
75
|
+
value?: string | undefined;
|
|
76
|
+
onChangeText?: ((text: string) => void) | undefined;
|
|
77
77
|
/**
|
|
78
78
|
* A string or a node puts the field in the error state and replaces the helper; `true` shows the
|
|
79
79
|
* error state without a message.
|
|
80
80
|
*/
|
|
81
|
-
error?: React.ReactNode;
|
|
81
|
+
error?: React.ReactNode | undefined;
|
|
82
82
|
/** A string or a node. */
|
|
83
|
-
helperText?: React.ReactNode;
|
|
83
|
+
helperText?: React.ReactNode | undefined;
|
|
84
84
|
/** See {@link InputType}. Default `'input'`. */
|
|
85
|
-
type?: InputType;
|
|
85
|
+
type?: InputType | undefined;
|
|
86
86
|
/** Setting this alone also puts the field in password mode (same as `type="password"`). */
|
|
87
|
-
showPasswordToggle?: boolean;
|
|
87
|
+
showPasswordToggle?: boolean | undefined;
|
|
88
88
|
/** React Native's own prop; masks the value without the eye toggle. `type="password"` is the usual way. */
|
|
89
|
-
secureTextEntry?: boolean;
|
|
90
|
-
disabled?: boolean;
|
|
89
|
+
secureTextEntry?: boolean | undefined;
|
|
90
|
+
disabled?: boolean | undefined;
|
|
91
91
|
/** React Native's own prop; same as `type="textarea"`. */
|
|
92
|
-
multiline?: boolean;
|
|
92
|
+
multiline?: boolean | undefined;
|
|
93
93
|
/**
|
|
94
94
|
* Leading slot. The easy form is an icon name, `leftIcon="user"`: the
|
|
95
95
|
* field draws that AppIcon in the palette's colour for its state (grey at
|
|
@@ -99,9 +99,9 @@ export interface InputProps extends Omit<TextInputProps, "style"> {
|
|
|
99
99
|
* any node drawn as is. A leading icon also gets the spec's hairline
|
|
100
100
|
* divider between it and the text.
|
|
101
101
|
*/
|
|
102
|
-
leftIcon?: InputSlotIcon;
|
|
102
|
+
leftIcon?: InputSlotIcon | undefined;
|
|
103
103
|
/** Trailing slot; same contract as `leftIcon`. */
|
|
104
|
-
rightIcon?: InputSlotIcon;
|
|
104
|
+
rightIcon?: InputSlotIcon | undefined;
|
|
105
105
|
/**
|
|
106
106
|
* A fixed unit drawn after the value in the trailing slot — `'km'`, `'%'`,
|
|
107
107
|
* `'/month'`. Same prop and same look as NumberInput's `unit`: the field's
|
|
@@ -109,9 +109,9 @@ export interface InputProps extends Omit<TextInputProps, "style"> {
|
|
|
109
109
|
* rather than of what was typed. Sits before `rightIcon` when both are set;
|
|
110
110
|
* the password eye keeps the slot to itself.
|
|
111
111
|
*/
|
|
112
|
-
unit?: string;
|
|
112
|
+
unit?: string | undefined;
|
|
113
113
|
/** Style applied to the unit text. */
|
|
114
|
-
unitStyle?: StyleProp<TextStyle
|
|
114
|
+
unitStyle?: StyleProp<TextStyle> | undefined;
|
|
115
115
|
/**
|
|
116
116
|
* Fixed text drawn before the value in the leading slot: `'₹'`, `'+91'`,
|
|
117
117
|
* `'https://'`. The mirror of `unit`: the field's font size in the
|
|
@@ -120,20 +120,20 @@ export interface InputProps extends Omit<TextInputProps, "style"> {
|
|
|
120
120
|
* a subscript) sits in the same Text on the same line with the same gap, so
|
|
121
121
|
* its base and subscript take that size and ink, and `prefixStyle` too.
|
|
122
122
|
*/
|
|
123
|
-
prefix?: React.ReactNode;
|
|
123
|
+
prefix?: React.ReactNode | undefined;
|
|
124
124
|
/** Style applied to the prefix text. */
|
|
125
|
-
prefixStyle?: StyleProp<TextStyle
|
|
125
|
+
prefixStyle?: StyleProp<TextStyle> | undefined;
|
|
126
126
|
/**
|
|
127
127
|
* Shows the value in normal ink and lets it be selected and copied, but not
|
|
128
128
|
* edited. Unlike `disabled`, the field is not dimmed and stays focusable.
|
|
129
129
|
*/
|
|
130
|
-
readOnly?: boolean;
|
|
130
|
+
readOnly?: boolean | undefined;
|
|
131
131
|
/** A button beside the box; see {@link InputAction}. */
|
|
132
|
-
action?: InputAction;
|
|
132
|
+
action?: InputAction | undefined;
|
|
133
133
|
/** Style applied to the action button. */
|
|
134
|
-
actionStyle?: StyleProp<ViewStyle
|
|
135
|
-
size?: InputSize;
|
|
136
|
-
variant?: InputVariant;
|
|
134
|
+
actionStyle?: StyleProp<ViewStyle> | undefined;
|
|
135
|
+
size?: InputSize | undefined;
|
|
136
|
+
variant?: InputVariant | undefined;
|
|
137
137
|
/**
|
|
138
138
|
* - `'top'` (default): the design spec's static label, 12px semibold above
|
|
139
139
|
* the field, permanently visible.
|
|
@@ -142,43 +142,43 @@ export interface InputProps extends Omit<TextInputProps, "style"> {
|
|
|
142
142
|
*
|
|
143
143
|
* Theme setting: `theme.settings.components.input.defaultLabelMode`.
|
|
144
144
|
*/
|
|
145
|
-
labelMode?: InputLabelMode;
|
|
146
|
-
required?: boolean;
|
|
147
|
-
maxLength?: number;
|
|
145
|
+
labelMode?: InputLabelMode | undefined;
|
|
146
|
+
required?: boolean | undefined;
|
|
147
|
+
maxLength?: number | undefined;
|
|
148
148
|
/**
|
|
149
149
|
* Render the "n / maxLength" character counter below the field. Only
|
|
150
150
|
* applies when `maxLength` is set and `value` is controlled. Default `true`.
|
|
151
151
|
* Set `false` for fields that cap input without advertising it (amounts,
|
|
152
152
|
* codes).
|
|
153
153
|
*/
|
|
154
|
-
showCounter?: boolean;
|
|
154
|
+
showCounter?: boolean | undefined;
|
|
155
155
|
/**
|
|
156
156
|
* Format the raw `value` for display. Common uses: phone-number formatting
|
|
157
157
|
* ("5551234567" → "(555) 123-4567"), currency, postal codes, masked IDs.
|
|
158
158
|
* The TextInput shows `format(value)`; user input is passed to `parse` (or
|
|
159
159
|
* left raw) before reaching `onChangeText`.
|
|
160
160
|
*/
|
|
161
|
-
format?: (raw: string) => string;
|
|
161
|
+
format?: ((raw: string) => string) | undefined;
|
|
162
162
|
/**
|
|
163
163
|
* Reverse of `format` — strips the formatted display back to the canonical
|
|
164
164
|
* value the consumer wants in state. If omitted, defaults to identity.
|
|
165
165
|
*/
|
|
166
|
-
parse?: (formatted: string) => string;
|
|
167
|
-
style?: StyleProp<ViewStyle
|
|
166
|
+
parse?: ((formatted: string) => string) | undefined;
|
|
167
|
+
style?: StyleProp<ViewStyle> | undefined;
|
|
168
168
|
/** Style applied to the bordered field wrapper (the bit you'd colour or pad). Distinct from `style`, which targets the outermost container. */
|
|
169
|
-
containerStyle?: StyleProp<ViewStyle
|
|
170
|
-
inputStyle?: StyleProp<TextStyle
|
|
171
|
-
labelStyle?: StyleProp<TextStyle
|
|
169
|
+
containerStyle?: StyleProp<ViewStyle> | undefined;
|
|
170
|
+
inputStyle?: StyleProp<TextStyle> | undefined;
|
|
171
|
+
labelStyle?: StyleProp<TextStyle> | undefined;
|
|
172
172
|
/** Style applied to the helper/error text below the field. */
|
|
173
|
-
messageStyle?: StyleProp<TextStyle
|
|
173
|
+
messageStyle?: StyleProp<TextStyle> | undefined;
|
|
174
174
|
/** A theme radius name (`sm`, `md`, `lg`, `xl`, `pill`) for the field's corner. Wins over the field size's radius. */
|
|
175
|
-
radius?: Exclude<RadiusName, "none"
|
|
176
|
-
onFocus?: (e: FocusEvent) => void;
|
|
177
|
-
onBlur?: (e: BlurEvent) => void;
|
|
178
|
-
accessibilityLabel?: string;
|
|
175
|
+
radius?: Exclude<RadiusName, "none"> | undefined;
|
|
176
|
+
onFocus?: ((e: FocusEvent) => void) | undefined;
|
|
177
|
+
onBlur?: ((e: BlurEvent) => void) | undefined;
|
|
178
|
+
accessibilityLabel?: string | undefined;
|
|
179
179
|
/** Overrides for the password toggle's screen-reader names; merged over DEFAULT_INPUT_LABELS. */
|
|
180
|
-
labels?: Partial<InputLabels
|
|
181
|
-
testID?: string;
|
|
180
|
+
labels?: Partial<InputLabels> | undefined;
|
|
181
|
+
testID?: string | undefined;
|
|
182
182
|
}
|
|
183
183
|
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<TextInputInstance>>;
|
|
184
184
|
export { Input };
|
package/lib/typescript/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { KeyboardAwareScrollViewProps as ControllerScrollViewProps, KeyboardAwareScrollViewRef } from "react-native-keyboard-controller";
|
|
2
2
|
export type SafeAreaEdge = "top" | "bottom" | "left" | "right";
|
|
3
3
|
export type { KeyboardAwareScrollViewRef };
|
|
4
|
-
export interface KeyboardAwareScrollViewProps extends ControllerScrollViewProps {
|
|
4
|
+
export interface KeyboardAwareScrollViewProps extends Omit<ControllerScrollViewProps, "bottomOffset" | "safeAreaEdges" | "refreshing" | "onRefresh" | "dismissOnTapOutside"> {
|
|
5
5
|
/** Gap kept between the focused field and the top of the keyboard. Default 24. */
|
|
6
|
-
bottomOffset?: number;
|
|
6
|
+
bottomOffset?: number | undefined;
|
|
7
7
|
/** Safe-area edges to pad. Default ['bottom']. */
|
|
8
|
-
safeAreaEdges?: SafeAreaEdge[];
|
|
8
|
+
safeAreaEdges?: SafeAreaEdge[] | undefined;
|
|
9
9
|
/** Standard RefreshControl pass-through convenience. Ignored when `refreshControl` is set. */
|
|
10
|
-
refreshing?: boolean;
|
|
11
|
-
onRefresh?: () => void;
|
|
10
|
+
refreshing?: boolean | undefined;
|
|
11
|
+
onRefresh?: (() => void) | undefined;
|
|
12
12
|
/**
|
|
13
13
|
* A tap on empty space inside the content closes the keyboard and blurs the
|
|
14
14
|
* focused field. Taps that a field, button or any other pressable claims are
|
|
@@ -17,7 +17,7 @@ export interface KeyboardAwareScrollViewProps extends ControllerScrollViewProps
|
|
|
17
17
|
* ScrollView's own tap-out dismissal never fires because React Native sees no
|
|
18
18
|
* keyboard metrics.
|
|
19
19
|
*/
|
|
20
|
-
dismissOnTapOutside?: boolean;
|
|
20
|
+
dismissOnTapOutside?: boolean | undefined;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* react-native-keyboard-controller's `KeyboardAwareScrollView` with the
|
|
@@ -28,7 +28,7 @@ export interface KeyboardAwareScrollViewProps extends ControllerScrollViewProps
|
|
|
28
28
|
* Needs the app's
|
|
29
29
|
* `KeyboardProvider` at the root.
|
|
30
30
|
*/
|
|
31
|
-
declare const KeyboardAwareScrollView: import("react").ForwardRefExoticComponent<KeyboardAwareScrollViewProps & import("react").RefAttributes<
|
|
31
|
+
declare const KeyboardAwareScrollView: import("react").ForwardRefExoticComponent<KeyboardAwareScrollViewProps & import("react").RefAttributes<KeyboardAwareScrollViewRef>>;
|
|
32
32
|
export { KeyboardAwareScrollView };
|
|
33
33
|
export default KeyboardAwareScrollView;
|
|
34
34
|
//# sourceMappingURL=KeyboardAwareScrollView.d.ts.map
|
|
@@ -8,19 +8,19 @@ export interface KeyboardToolbarLabels {
|
|
|
8
8
|
export declare const DEFAULT_KEYBOARD_TOOLBAR_LABELS: KeyboardToolbarLabels;
|
|
9
9
|
export interface KeyboardToolbarProps {
|
|
10
10
|
/** Show the prev/next chevrons. Default true. */
|
|
11
|
-
showNavigation?: boolean;
|
|
11
|
+
showNavigation?: boolean | undefined;
|
|
12
12
|
/** Override the dismiss action. Default: `KeyboardController.dismiss()`. */
|
|
13
|
-
onDone?: () => void;
|
|
13
|
+
onDone?: (() => void) | undefined;
|
|
14
14
|
/** Override "next field". Default: the next text input on screen (`KeyboardController.setFocusTo`). */
|
|
15
|
-
onNext?: () => void;
|
|
15
|
+
onNext?: (() => void) | undefined;
|
|
16
16
|
/** Override "previous field"; the same default as `onNext`, backwards. */
|
|
17
|
-
onPrev?: () => void;
|
|
17
|
+
onPrev?: (() => void) | undefined;
|
|
18
18
|
/** Overrides for the Done, previous and next labels. Missing keys keep the English defaults. */
|
|
19
|
-
labels?: Partial<KeyboardToolbarLabels
|
|
19
|
+
labels?: Partial<KeyboardToolbarLabels> | undefined;
|
|
20
20
|
/** Custom content rendered between the nav chevrons and the Done button. */
|
|
21
|
-
leading?: React.ReactNode;
|
|
22
|
-
style?: StyleProp<ViewStyle
|
|
23
|
-
testID?: string;
|
|
21
|
+
leading?: React.ReactNode | undefined;
|
|
22
|
+
style?: StyleProp<ViewStyle> | undefined;
|
|
23
|
+
testID?: string | undefined;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* An accessory bar that rides on top of the keyboard. Shows a Done (dismiss)
|