@webority/mobile-ui 0.19.1 → 0.88.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/lib/commonjs/components/Accordion/index.js +1 -1
- package/lib/commonjs/components/AmountSlider/index.js +1 -1
- package/lib/commonjs/components/AnimatePresence/AnimatePresence.js +1 -1
- package/lib/commonjs/components/AppBar/index.js +1 -1
- package/lib/commonjs/components/AppIcon/index.js +1 -1
- package/lib/commonjs/components/AsyncBlock/index.js +1 -1
- package/lib/commonjs/components/AuthedImage/index.js +1 -1
- package/lib/commonjs/components/Autocomplete/Autocomplete.js +1 -1
- package/lib/commonjs/components/Avatar/index.js +1 -1
- package/lib/commonjs/components/Badge/index.js +1 -1
- package/lib/commonjs/components/Banner/index.js +1 -1
- package/lib/commonjs/components/BarChart/index.js +1 -1
- package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +1 -1
- package/lib/commonjs/components/BottomNavigation/index.js +1 -1
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
- package/lib/commonjs/components/BottomSheet/index.js +1 -1
- package/lib/commonjs/components/Button/Button.js +1 -1
- package/lib/commonjs/components/Button/index.js +1 -1
- package/lib/commonjs/components/Calendar/index.js +1 -1
- package/lib/commonjs/components/Card/Card.js +1 -1
- package/lib/commonjs/components/Card/index.js +1 -1
- package/lib/commonjs/components/Carousel/index.js +1 -1
- package/lib/commonjs/components/Checkbox/Checkbox.js +1 -1
- package/lib/commonjs/components/Checkbox/index.js +1 -1
- package/lib/commonjs/components/Chip/index.js +1 -1
- package/lib/commonjs/components/ChoiceGroup/index.js +1 -1
- package/lib/commonjs/components/Composer/index.js +1 -1
- package/lib/commonjs/components/Confetti/Confetti.js +1 -1
- package/lib/commonjs/components/DatePicker/index.js +1 -1
- package/lib/commonjs/components/DateRangePicker/index.js +1 -1
- package/lib/commonjs/components/DateSeparator/index.js +1 -1
- package/lib/commonjs/components/DecimalInput/index.js +1 -1
- package/lib/commonjs/components/Descriptions/index.js +1 -1
- package/lib/commonjs/components/Dialog/index.js +1 -1
- package/lib/commonjs/components/Divider/index.js +1 -1
- package/lib/commonjs/components/Drawer/Drawer.js +1 -1
- package/lib/commonjs/components/Drawer/index.js +1 -1
- package/lib/commonjs/components/EmptyState/index.js +1 -1
- package/lib/commonjs/components/ErrorBoundary/ErrorBoundary.js +1 -1
- package/lib/commonjs/components/FieldBase/index.js +1 -1
- package/lib/commonjs/components/FilePicker/index.js +1 -1
- package/lib/commonjs/components/FilterChipRow/index.js +1 -1
- package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -1
- package/lib/commonjs/components/FloatingActionButton/index.js +1 -1
- package/lib/commonjs/components/ForceUpdateDialog/index.js +1 -1
- package/lib/commonjs/components/FormField/FormField.js +1 -1
- package/lib/commonjs/components/FormField/index.js +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
- package/lib/commonjs/components/ImageGallery/index.js +1 -1
- package/lib/commonjs/components/InlineSelect/index.js +1 -1
- package/lib/commonjs/components/Input/index.js +1 -1
- package/lib/commonjs/components/ListItem/ListItem.js +1 -1
- package/lib/commonjs/components/ListItem/index.js +1 -1
- package/lib/commonjs/components/Menu/Menu.js +1 -1
- package/lib/commonjs/components/Menu/index.js +1 -1
- package/lib/commonjs/components/MessageBubble/index.js +1 -1
- package/lib/commonjs/components/MessageList/index.js +1 -1
- package/lib/commonjs/components/Modal/index.js +1 -1
- package/lib/commonjs/components/Notation/index.js +1 -1
- package/lib/commonjs/components/NumberInput/NumberInput.js +1 -1
- package/lib/commonjs/components/NumberInput/index.js +1 -1
- package/lib/commonjs/components/OTPInput/index.js +1 -1
- package/lib/commonjs/components/OnboardingPager/index.js +1 -1
- package/lib/commonjs/components/OptionSheet/index.js +1 -1
- package/lib/commonjs/components/PaymentResult/PaymentResult.js +1 -1
- package/lib/commonjs/components/PaymentResult/index.js +1 -1
- package/lib/commonjs/components/PermissionPrompt/index.js +1 -1
- package/lib/commonjs/components/PhoneNumberInput/index.js +1 -1
- package/lib/commonjs/components/PickerTrigger/index.js +1 -1
- package/lib/commonjs/components/ProfileCompletion/index.js +1 -1
- package/lib/commonjs/components/ProfilePicker/index.js +1 -1
- package/lib/commonjs/components/ProgressBar/index.js +1 -1
- package/lib/commonjs/components/ProgressRing/ProgressRing.js +1 -1
- package/lib/commonjs/components/ProgressRing/index.js +1 -1
- package/lib/commonjs/components/Radio/index.js +1 -1
- package/lib/commonjs/components/Rating/index.js +1 -1
- package/lib/commonjs/components/Repeater/index.js +1 -1
- package/lib/commonjs/components/ScannerOverlay/index.js +1 -1
- package/lib/commonjs/components/SearchBar/index.js +1 -1
- package/lib/commonjs/components/SectionHeader/index.js +1 -1
- package/lib/commonjs/components/SegmentedControl/index.js +1 -1
- package/lib/commonjs/components/Select/index.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/index.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/Slider/index.js +1 -1
- package/lib/commonjs/components/SliderField/index.js +1 -1
- package/lib/commonjs/components/Sparkline/Sparkline.js +1 -1
- package/lib/commonjs/components/Sparkline/index.js +1 -1
- package/lib/commonjs/components/Spinner/index.js +1 -1
- package/lib/commonjs/components/SquircleFill/SquircleFill.js +1 -1
- package/lib/commonjs/components/StatTile/index.js +1 -1
- package/lib/commonjs/components/StatusBadge/index.js +1 -1
- package/lib/commonjs/components/Stepper/index.js +1 -1
- package/lib/commonjs/components/Swipeable/Swipeable.js +1 -1
- package/lib/commonjs/components/Swipeable/index.js +1 -1
- package/lib/commonjs/components/Switch/index.js +1 -1
- package/lib/commonjs/components/Tabs/index.js +1 -1
- package/lib/commonjs/components/TagInput/index.js +1 -1
- package/lib/commonjs/components/TimePicker/index.js +1 -1
- package/lib/commonjs/components/Timeline/index.js +1 -1
- package/lib/commonjs/components/Toast/index.js +1 -1
- package/lib/commonjs/components/Tooltip/Tooltip.js +1 -1
- package/lib/commonjs/components/Tooltip/index.js +1 -1
- package/lib/commonjs/components/Tour/index.js +1 -1
- package/lib/commonjs/components/TypingIndicator/TypingIndicator.js +1 -1
- package/lib/commonjs/components/TypingIndicator/index.js +1 -1
- package/lib/commonjs/components/WheelPicker/index.js +1 -1
- package/lib/commonjs/components/ZoomableImage/ZoomableImage.js +1 -1
- package/lib/commonjs/form/index.js +1 -1
- package/lib/commonjs/utils/hapticUtils.js +1 -1
- package/lib/typescript/commonjs/canvasKit/index.d.ts +6 -6
- package/lib/typescript/commonjs/components/Accordion/Accordion.d.ts +4 -4
- package/lib/typescript/commonjs/components/Accordion/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/AmountSlider/AmountSlider.d.ts +4 -4
- package/lib/typescript/commonjs/components/AmountSlider/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/AnimatePresence/AnimatePresence.d.ts +3 -3
- package/lib/typescript/commonjs/components/AnimatePresence/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +7 -7
- package/lib/typescript/commonjs/components/AppBar/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/AppIcon/AppIcon.d.ts +9 -9
- package/lib/typescript/commonjs/components/AppIcon/catalog.g.d.ts +2 -2
- package/lib/typescript/commonjs/components/AppIcon/defaultIcons.d.ts +1 -1
- package/lib/typescript/commonjs/components/AppIcon/glyphs.g.d.ts +96 -96
- package/lib/typescript/commonjs/components/AppIcon/index.d.ts +5 -5
- package/lib/typescript/commonjs/components/AppIcon/slotIcon.d.ts +2 -2
- package/lib/typescript/commonjs/components/AppIcon/variants.g.d.ts +1 -1
- package/lib/typescript/commonjs/components/AsyncBlock/AsyncBlock.d.ts +3 -3
- package/lib/typescript/commonjs/components/AsyncBlock/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/AuthedImage/AuthedImage.d.ts +5 -5
- package/lib/typescript/commonjs/components/AuthedImage/authedImageCache.d.ts +1 -1
- package/lib/typescript/commonjs/components/AuthedImage/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/Autocomplete/Autocomplete.d.ts +5 -5
- package/lib/typescript/commonjs/components/Autocomplete/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +14 -14
- package/lib/typescript/commonjs/components/Avatar/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Badge/Badge.d.ts +6 -6
- package/lib/typescript/commonjs/components/Badge/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Banner/Banner.d.ts +8 -8
- package/lib/typescript/commonjs/components/Banner/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/BarChart/BarChart.d.ts +3 -3
- package/lib/typescript/commonjs/components/BarChart/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +10 -10
- package/lib/typescript/commonjs/components/BottomNavigation/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +7 -7
- package/lib/typescript/commonjs/components/BottomSheet/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/BottomSheet/useSheetSwap.d.ts +2 -2
- package/lib/typescript/commonjs/components/Box/Box.d.ts +10 -10
- package/lib/typescript/commonjs/components/Box/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Button/Button.d.ts +11 -11
- package/lib/typescript/commonjs/components/Button/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Calendar/Calendar.d.ts +6 -6
- package/lib/typescript/commonjs/components/Calendar/CalendarDay.d.ts +4 -4
- package/lib/typescript/commonjs/components/Calendar/calendarStyles.d.ts +1 -1
- package/lib/typescript/commonjs/components/Calendar/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/Card/Card.d.ts +11 -11
- package/lib/typescript/commonjs/components/Card/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Carousel/Carousel.d.ts +5 -5
- package/lib/typescript/commonjs/components/Carousel/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +6 -6
- package/lib/typescript/commonjs/components/Checkbox/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Chip/Chip.d.ts +9 -9
- package/lib/typescript/commonjs/components/Chip/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +12 -12
- package/lib/typescript/commonjs/components/ChoiceGroup/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Composer/Composer.d.ts +4 -4
- package/lib/typescript/commonjs/components/Composer/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Confetti/Confetti.d.ts +5 -5
- package/lib/typescript/commonjs/components/Confetti/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/DatePicker/DatePicker.d.ts +5 -5
- package/lib/typescript/commonjs/components/DatePicker/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +6 -6
- package/lib/typescript/commonjs/components/DateRangePicker/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/DateSeparator/DateSeparator.d.ts +3 -3
- package/lib/typescript/commonjs/components/DateSeparator/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/DecimalInput/DecimalInput.d.ts +6 -6
- package/lib/typescript/commonjs/components/DecimalInput/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Descriptions/Descriptions.d.ts +5 -5
- package/lib/typescript/commonjs/components/Descriptions/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Dialog/Dialog.d.ts +5 -5
- package/lib/typescript/commonjs/components/Dialog/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Divider/Divider.d.ts +4 -4
- package/lib/typescript/commonjs/components/Divider/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Drawer/Drawer.d.ts +4 -4
- package/lib/typescript/commonjs/components/Drawer/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/EmptyState/EmptyState.d.ts +3 -3
- package/lib/typescript/commonjs/components/EmptyState/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ErrorBoundary/ErrorBoundary.d.ts +3 -3
- package/lib/typescript/commonjs/components/ErrorBoundary/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/ErrorBoundary/withErrorBoundary.d.ts +2 -2
- package/lib/typescript/commonjs/components/FieldBase/Chevron.d.ts +2 -2
- package/lib/typescript/commonjs/components/FieldBase/ChoiceText.d.ts +2 -2
- package/lib/typescript/commonjs/components/FieldBase/FieldBase.d.ts +10 -10
- package/lib/typescript/commonjs/components/FieldBase/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/FieldBase/useFloatingLabel.d.ts +8 -8
- package/lib/typescript/commonjs/components/FilePicker/FilePicker.d.ts +5 -5
- package/lib/typescript/commonjs/components/FilePicker/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/FileViewer/FileViewer.d.ts +3 -3
- package/lib/typescript/commonjs/components/FileViewer/FileViewerPage.d.ts +1 -1
- package/lib/typescript/commonjs/components/FileViewer/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/FilterChipRow/FilterChipRow.d.ts +3 -3
- package/lib/typescript/commonjs/components/FilterChipRow/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +6 -6
- package/lib/typescript/commonjs/components/FloatingActionButton/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +2 -2
- package/lib/typescript/commonjs/components/ForceUpdateDialog/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/FormField/FormField.d.ts +4 -4
- package/lib/typescript/commonjs/components/FormField/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/IconBadge/IconBadge.d.ts +5 -5
- package/lib/typescript/commonjs/components/IconBadge/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/IconButton/IconButton.d.ts +8 -8
- package/lib/typescript/commonjs/components/IconButton/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ImageGallery/ImageGallery.d.ts +3 -3
- package/lib/typescript/commonjs/components/ImageGallery/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/InlineSelect/InlineSelect.d.ts +5 -5
- package/lib/typescript/commonjs/components/InlineSelect/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Input/Input.d.ts +11 -11
- package/lib/typescript/commonjs/components/Input/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +2 -2
- package/lib/typescript/commonjs/components/KeyboardAwareScrollView/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/KeyboardToolbar/KeyboardToolbar.d.ts +2 -2
- package/lib/typescript/commonjs/components/KeyboardToolbar/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +12 -12
- package/lib/typescript/commonjs/components/ListItem/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/LoaderOverlay/LoaderOverlay.d.ts +1 -1
- package/lib/typescript/commonjs/components/LoaderOverlay/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Markdown/Markdown.d.ts +2 -2
- package/lib/typescript/commonjs/components/Markdown/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Markdown/parse.d.ts +12 -12
- package/lib/typescript/commonjs/components/Menu/Menu.d.ts +4 -4
- package/lib/typescript/commonjs/components/Menu/MenuSurface.d.ts +5 -5
- package/lib/typescript/commonjs/components/Menu/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/Menu/menuModel.d.ts +3 -3
- package/lib/typescript/commonjs/components/Menu/useContextMenu.d.ts +5 -5
- package/lib/typescript/commonjs/components/MessageBubble/MessageBubble.d.ts +7 -7
- package/lib/typescript/commonjs/components/MessageBubble/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/MessageList/MessageList.d.ts +6 -6
- package/lib/typescript/commonjs/components/MessageList/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Modal/Modal.d.ts +4 -4
- package/lib/typescript/commonjs/components/Modal/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ModalSafeArea/ModalSafeArea.d.ts +2 -2
- package/lib/typescript/commonjs/components/Notation/Notation.d.ts +2 -2
- package/lib/typescript/commonjs/components/Notation/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +6 -6
- package/lib/typescript/commonjs/components/NumberInput/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/OTPInput/OTPInput.d.ts +5 -5
- package/lib/typescript/commonjs/components/OTPInput/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/OnboardingPager/OnboardingPager.d.ts +2 -2
- package/lib/typescript/commonjs/components/OnboardingPager/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/OptionSheet/OptionSheet.d.ts +2 -2
- package/lib/typescript/commonjs/components/OptionSheet/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/PaymentResult/PaymentResult.d.ts +5 -5
- package/lib/typescript/commonjs/components/PaymentResult/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/PermissionPrompt/PermissionPrompt.d.ts +5 -5
- package/lib/typescript/commonjs/components/PermissionPrompt/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/PermissionPrompt/usePermissionPrompt.d.ts +2 -2
- package/lib/typescript/commonjs/components/PhoneNumberInput/PhoneNumberInput.d.ts +8 -8
- package/lib/typescript/commonjs/components/PhoneNumberInput/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +3 -3
- package/lib/typescript/commonjs/components/PickerTrigger/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ProfileCompletion/ProfileCompletion.d.ts +5 -5
- package/lib/typescript/commonjs/components/ProfileCompletion/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ProfilePicker/ProfilePicker.d.ts +11 -11
- package/lib/typescript/commonjs/components/ProfilePicker/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +4 -4
- package/lib/typescript/commonjs/components/ProgressBar/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ProgressRing/ProgressRing.d.ts +3 -3
- package/lib/typescript/commonjs/components/ProgressRing/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Radio/Radio.d.ts +6 -6
- package/lib/typescript/commonjs/components/Radio/RadioDot.d.ts +3 -3
- package/lib/typescript/commonjs/components/Radio/RadioGroup.d.ts +3 -3
- package/lib/typescript/commonjs/components/Radio/index.d.ts +6 -6
- package/lib/typescript/commonjs/components/Rating/Rating.d.ts +5 -5
- package/lib/typescript/commonjs/components/Rating/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Repeater/Repeater.d.ts +4 -4
- package/lib/typescript/commonjs/components/Repeater/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/RichTextEditor/RichTextEditor.d.ts +4 -4
- package/lib/typescript/commonjs/components/RichTextEditor/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/RichTextEditor/markdownActions.d.ts +2 -2
- package/lib/typescript/commonjs/components/ScannerOverlay/ScannerOverlay.d.ts +4 -4
- package/lib/typescript/commonjs/components/ScannerOverlay/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Screen/Screen.d.ts +5 -5
- package/lib/typescript/commonjs/components/Screen/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +9 -9
- package/lib/typescript/commonjs/components/SearchBar/SearchPanel.d.ts +3 -3
- package/lib/typescript/commonjs/components/SearchBar/index.d.ts +5 -5
- package/lib/typescript/commonjs/components/SectionHeader/SectionHeader.d.ts +3 -3
- package/lib/typescript/commonjs/components/SectionHeader/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +8 -8
- package/lib/typescript/commonjs/components/SegmentedControl/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Select/Select.d.ts +7 -7
- package/lib/typescript/commonjs/components/Select/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/SignaturePad/SignaturePad.d.ts +4 -4
- package/lib/typescript/commonjs/components/SignaturePad/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/SignaturePad/signatureGeometry.d.ts +1 -1
- package/lib/typescript/commonjs/components/Skeleton/Skeleton.d.ts +11 -11
- package/lib/typescript/commonjs/components/Skeleton/SkeletonClock.d.ts +4 -4
- package/lib/typescript/commonjs/components/Skeleton/SkeletonContent.d.ts +5 -5
- package/lib/typescript/commonjs/components/Skeleton/SkeletonList.d.ts +6 -6
- package/lib/typescript/commonjs/components/Skeleton/SkeletonProvider.d.ts +4 -4
- package/lib/typescript/commonjs/components/Skeleton/SkeletonSkip.d.ts +2 -2
- package/lib/typescript/commonjs/components/Skeleton/index.d.ts +12 -12
- package/lib/typescript/commonjs/components/SlideToConfirm/SlideToConfirm.d.ts +5 -5
- package/lib/typescript/commonjs/components/SlideToConfirm/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Slider/Slider.d.ts +7 -7
- package/lib/typescript/commonjs/components/Slider/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Slider/valueText.d.ts +3 -3
- package/lib/typescript/commonjs/components/SliderField/SliderField.d.ts +5 -5
- package/lib/typescript/commonjs/components/SliderField/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Sparkline/Sparkline.d.ts +2 -2
- package/lib/typescript/commonjs/components/Sparkline/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +4 -4
- package/lib/typescript/commonjs/components/Spinner/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/SquircleFill/SquircleFill.d.ts +2 -2
- package/lib/typescript/commonjs/components/SquircleView/SquircleView.d.ts +1 -1
- package/lib/typescript/commonjs/components/SquircleView/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/StatTile/StatTile.d.ts +7 -7
- package/lib/typescript/commonjs/components/StatTile/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/StatusBadge/StatusBadge.d.ts +5 -5
- package/lib/typescript/commonjs/components/StatusBadge/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +6 -6
- package/lib/typescript/commonjs/components/Stepper/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Swipeable/Swipeable.d.ts +5 -5
- package/lib/typescript/commonjs/components/Swipeable/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Switch/Switch.d.ts +7 -7
- package/lib/typescript/commonjs/components/Switch/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +8 -8
- package/lib/typescript/commonjs/components/Tabs/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/TagInput/TagInput.d.ts +4 -4
- package/lib/typescript/commonjs/components/TagInput/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Text/Text.d.ts +9 -9
- package/lib/typescript/commonjs/components/Text/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/TimePicker/TimePicker.d.ts +6 -6
- package/lib/typescript/commonjs/components/TimePicker/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Timeline/Timeline.d.ts +5 -5
- package/lib/typescript/commonjs/components/Timeline/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Toast/Toast.d.ts +5 -5
- package/lib/typescript/commonjs/components/Toast/ToastProvider.d.ts +8 -8
- package/lib/typescript/commonjs/components/Toast/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/Tooltip/RichTooltipBody.d.ts +2 -2
- package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts +7 -7
- package/lib/typescript/commonjs/components/Tooltip/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Tooltip/tooltipPosition.d.ts +4 -4
- package/lib/typescript/commonjs/components/Tour/Tour.d.ts +6 -6
- package/lib/typescript/commonjs/components/Tour/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/TypingIndicator/TypingIndicator.d.ts +2 -2
- package/lib/typescript/commonjs/components/TypingIndicator/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/WheelPicker/Wheel.d.ts +3 -3
- package/lib/typescript/commonjs/components/WheelPicker/WheelPicker.d.ts +8 -8
- package/lib/typescript/commonjs/components/WheelPicker/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ZoomableImage/ZoomableImage.d.ts +4 -4
- package/lib/typescript/commonjs/components/ZoomableImage/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/index.d.ts +200 -200
- package/lib/typescript/commonjs/form/FormContext.d.ts +2 -2
- package/lib/typescript/commonjs/form/HookFormField.d.ts +5 -5
- package/lib/typescript/commonjs/form/index.d.ts +14 -14
- package/lib/typescript/commonjs/form/rules.d.ts +2 -2
- package/lib/typescript/commonjs/form/types.d.ts +2 -2
- package/lib/typescript/commonjs/form/useField.d.ts +1 -1
- package/lib/typescript/commonjs/form/useForm.d.ts +1 -1
- package/lib/typescript/commonjs/form/useHookFormField.d.ts +2 -2
- package/lib/typescript/commonjs/hooks/index.d.ts +19 -19
- package/lib/typescript/commonjs/hooks/useDragToDismiss.d.ts +5 -5
- package/lib/typescript/commonjs/hooks/useFieldChain.d.ts +2 -2
- package/lib/typescript/commonjs/hooks/useFlickGuard.d.ts +1 -1
- package/lib/typescript/commonjs/hooks/usePresenceMotion.d.ts +3 -3
- package/lib/typescript/commonjs/hooks/usePressAnimation.d.ts +3 -3
- package/lib/typescript/commonjs/hooks/useRefreshControl.d.ts +4 -4
- package/lib/typescript/commonjs/hooks/useScrollDirection.d.ts +2 -2
- package/lib/typescript/commonjs/index.d.ts +15 -15
- package/lib/typescript/commonjs/initUI.d.ts +1 -1
- package/lib/typescript/commonjs/network/NetworkStatusBanner.d.ts +3 -3
- package/lib/typescript/commonjs/network/index.d.ts +2 -2
- package/lib/typescript/commonjs/specs/NativePdfRasterizer.d.ts +1 -1
- package/lib/typescript/commonjs/theme/Gradient.d.ts +3 -3
- package/lib/typescript/commonjs/theme/ThemeContext.d.ts +3 -3
- package/lib/typescript/commonjs/theme/animatedValue.d.ts +1 -1
- package/lib/typescript/commonjs/theme/componentSizes.d.ts +2 -2
- package/lib/typescript/commonjs/theme/componentTokens.d.ts +30 -30
- package/lib/typescript/commonjs/theme/index.d.ts +14 -14
- package/lib/typescript/commonjs/theme/merge.d.ts +1 -1
- package/lib/typescript/commonjs/theme/retiredThemeKeys.d.ts +1 -1
- package/lib/typescript/commonjs/theme/scale.d.ts +1 -1
- package/lib/typescript/commonjs/theme/textStyle.d.ts +3 -3
- package/lib/typescript/commonjs/theme/tokens.d.ts +1 -1
- package/lib/typescript/commonjs/theme/types.d.ts +23 -23
- package/lib/typescript/commonjs/utils/ariaState.d.ts +2 -2
- package/lib/typescript/commonjs/utils/dimensions.d.ts +2 -2
- package/lib/typescript/commonjs/utils/feedback.d.ts +2 -2
- package/lib/typescript/commonjs/utils/hapticUtils.d.ts +1 -1
- package/lib/typescript/commonjs/utils/index.d.ts +15 -15
- package/lib/typescript/commonjs/utils/mergeRefs.d.ts +1 -1
- package/lib/typescript/commonjs/utils/placement.d.ts +5 -5
- package/lib/typescript/commonjs/utils/shadows.d.ts +2 -2
- package/lib/typescript/commonjs/utils/themeStyles.d.ts +1 -1
- package/lib/typescript/commonjs/utils/warnUnknownProps.d.ts +2 -2
- package/lib/typescript/module/canvasKit/index.d.ts +6 -6
- package/lib/typescript/module/components/Accordion/Accordion.d.ts +4 -4
- package/lib/typescript/module/components/Accordion/index.d.ts +2 -2
- package/lib/typescript/module/components/AmountSlider/AmountSlider.d.ts +4 -4
- package/lib/typescript/module/components/AmountSlider/index.d.ts +2 -2
- package/lib/typescript/module/components/AnimatePresence/AnimatePresence.d.ts +3 -3
- package/lib/typescript/module/components/AnimatePresence/index.d.ts +2 -2
- package/lib/typescript/module/components/AppBar/AppBar.d.ts +7 -7
- package/lib/typescript/module/components/AppBar/index.d.ts +2 -2
- package/lib/typescript/module/components/AppIcon/AppIcon.d.ts +9 -9
- package/lib/typescript/module/components/AppIcon/catalog.g.d.ts +2 -2
- package/lib/typescript/module/components/AppIcon/defaultIcons.d.ts +1 -1
- package/lib/typescript/module/components/AppIcon/glyphs.g.d.ts +96 -96
- package/lib/typescript/module/components/AppIcon/index.d.ts +5 -5
- package/lib/typescript/module/components/AppIcon/slotIcon.d.ts +2 -2
- package/lib/typescript/module/components/AppIcon/variants.g.d.ts +1 -1
- package/lib/typescript/module/components/AsyncBlock/AsyncBlock.d.ts +3 -3
- package/lib/typescript/module/components/AsyncBlock/index.d.ts +2 -2
- package/lib/typescript/module/components/AuthedImage/AuthedImage.d.ts +5 -5
- package/lib/typescript/module/components/AuthedImage/authedImageCache.d.ts +1 -1
- package/lib/typescript/module/components/AuthedImage/index.d.ts +4 -4
- package/lib/typescript/module/components/Autocomplete/Autocomplete.d.ts +5 -5
- package/lib/typescript/module/components/Autocomplete/index.d.ts +2 -2
- package/lib/typescript/module/components/Avatar/Avatar.d.ts +14 -14
- package/lib/typescript/module/components/Avatar/index.d.ts +2 -2
- package/lib/typescript/module/components/Badge/Badge.d.ts +6 -6
- package/lib/typescript/module/components/Badge/index.d.ts +2 -2
- package/lib/typescript/module/components/Banner/Banner.d.ts +8 -8
- package/lib/typescript/module/components/Banner/index.d.ts +2 -2
- package/lib/typescript/module/components/BarChart/BarChart.d.ts +3 -3
- package/lib/typescript/module/components/BarChart/index.d.ts +2 -2
- package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +10 -10
- package/lib/typescript/module/components/BottomNavigation/index.d.ts +2 -2
- package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +7 -7
- package/lib/typescript/module/components/BottomSheet/index.d.ts +4 -4
- package/lib/typescript/module/components/BottomSheet/useSheetSwap.d.ts +2 -2
- package/lib/typescript/module/components/Box/Box.d.ts +10 -10
- package/lib/typescript/module/components/Box/index.d.ts +2 -2
- package/lib/typescript/module/components/Button/Button.d.ts +11 -11
- package/lib/typescript/module/components/Button/index.d.ts +2 -2
- package/lib/typescript/module/components/Calendar/Calendar.d.ts +6 -6
- package/lib/typescript/module/components/Calendar/CalendarDay.d.ts +4 -4
- package/lib/typescript/module/components/Calendar/calendarStyles.d.ts +1 -1
- package/lib/typescript/module/components/Calendar/index.d.ts +3 -3
- package/lib/typescript/module/components/Card/Card.d.ts +11 -11
- package/lib/typescript/module/components/Card/index.d.ts +2 -2
- package/lib/typescript/module/components/Carousel/Carousel.d.ts +5 -5
- package/lib/typescript/module/components/Carousel/index.d.ts +2 -2
- package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +6 -6
- package/lib/typescript/module/components/Checkbox/index.d.ts +2 -2
- package/lib/typescript/module/components/Chip/Chip.d.ts +9 -9
- package/lib/typescript/module/components/Chip/index.d.ts +2 -2
- package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +12 -12
- package/lib/typescript/module/components/ChoiceGroup/index.d.ts +2 -2
- package/lib/typescript/module/components/Composer/Composer.d.ts +4 -4
- package/lib/typescript/module/components/Composer/index.d.ts +2 -2
- package/lib/typescript/module/components/Confetti/Confetti.d.ts +5 -5
- package/lib/typescript/module/components/Confetti/index.d.ts +2 -2
- package/lib/typescript/module/components/DatePicker/DatePicker.d.ts +5 -5
- package/lib/typescript/module/components/DatePicker/index.d.ts +2 -2
- package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +6 -6
- package/lib/typescript/module/components/DateRangePicker/index.d.ts +2 -2
- package/lib/typescript/module/components/DateSeparator/DateSeparator.d.ts +3 -3
- package/lib/typescript/module/components/DateSeparator/index.d.ts +2 -2
- package/lib/typescript/module/components/DecimalInput/DecimalInput.d.ts +6 -6
- package/lib/typescript/module/components/DecimalInput/index.d.ts +2 -2
- package/lib/typescript/module/components/Descriptions/Descriptions.d.ts +5 -5
- package/lib/typescript/module/components/Descriptions/index.d.ts +2 -2
- package/lib/typescript/module/components/Dialog/Dialog.d.ts +5 -5
- package/lib/typescript/module/components/Dialog/index.d.ts +2 -2
- package/lib/typescript/module/components/Divider/Divider.d.ts +4 -4
- package/lib/typescript/module/components/Divider/index.d.ts +2 -2
- package/lib/typescript/module/components/Drawer/Drawer.d.ts +4 -4
- package/lib/typescript/module/components/Drawer/index.d.ts +2 -2
- package/lib/typescript/module/components/EmptyState/EmptyState.d.ts +3 -3
- package/lib/typescript/module/components/EmptyState/index.d.ts +2 -2
- package/lib/typescript/module/components/ErrorBoundary/ErrorBoundary.d.ts +3 -3
- package/lib/typescript/module/components/ErrorBoundary/index.d.ts +4 -4
- package/lib/typescript/module/components/ErrorBoundary/withErrorBoundary.d.ts +2 -2
- package/lib/typescript/module/components/FieldBase/Chevron.d.ts +2 -2
- package/lib/typescript/module/components/FieldBase/ChoiceText.d.ts +2 -2
- package/lib/typescript/module/components/FieldBase/FieldBase.d.ts +10 -10
- package/lib/typescript/module/components/FieldBase/index.d.ts +4 -4
- package/lib/typescript/module/components/FieldBase/useFloatingLabel.d.ts +8 -8
- package/lib/typescript/module/components/FilePicker/FilePicker.d.ts +5 -5
- package/lib/typescript/module/components/FilePicker/index.d.ts +2 -2
- package/lib/typescript/module/components/FileViewer/FileViewer.d.ts +3 -3
- package/lib/typescript/module/components/FileViewer/FileViewerPage.d.ts +1 -1
- package/lib/typescript/module/components/FileViewer/index.d.ts +2 -2
- package/lib/typescript/module/components/FilterChipRow/FilterChipRow.d.ts +3 -3
- package/lib/typescript/module/components/FilterChipRow/index.d.ts +2 -2
- package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +6 -6
- package/lib/typescript/module/components/FloatingActionButton/index.d.ts +2 -2
- package/lib/typescript/module/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +2 -2
- package/lib/typescript/module/components/ForceUpdateDialog/index.d.ts +2 -2
- package/lib/typescript/module/components/FormField/FormField.d.ts +4 -4
- package/lib/typescript/module/components/FormField/index.d.ts +2 -2
- package/lib/typescript/module/components/IconBadge/IconBadge.d.ts +5 -5
- package/lib/typescript/module/components/IconBadge/index.d.ts +2 -2
- package/lib/typescript/module/components/IconButton/IconButton.d.ts +8 -8
- package/lib/typescript/module/components/IconButton/index.d.ts +2 -2
- package/lib/typescript/module/components/ImageGallery/ImageGallery.d.ts +3 -3
- package/lib/typescript/module/components/ImageGallery/index.d.ts +2 -2
- package/lib/typescript/module/components/InlineSelect/InlineSelect.d.ts +5 -5
- package/lib/typescript/module/components/InlineSelect/index.d.ts +2 -2
- package/lib/typescript/module/components/Input/Input.d.ts +11 -11
- package/lib/typescript/module/components/Input/index.d.ts +2 -2
- package/lib/typescript/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +2 -2
- package/lib/typescript/module/components/KeyboardAwareScrollView/index.d.ts +2 -2
- package/lib/typescript/module/components/KeyboardToolbar/KeyboardToolbar.d.ts +2 -2
- package/lib/typescript/module/components/KeyboardToolbar/index.d.ts +2 -2
- package/lib/typescript/module/components/ListItem/ListItem.d.ts +12 -12
- package/lib/typescript/module/components/ListItem/index.d.ts +3 -3
- package/lib/typescript/module/components/LoaderOverlay/LoaderOverlay.d.ts +1 -1
- package/lib/typescript/module/components/LoaderOverlay/index.d.ts +2 -2
- package/lib/typescript/module/components/Markdown/Markdown.d.ts +2 -2
- package/lib/typescript/module/components/Markdown/index.d.ts +2 -2
- package/lib/typescript/module/components/Markdown/parse.d.ts +12 -12
- package/lib/typescript/module/components/Menu/Menu.d.ts +4 -4
- package/lib/typescript/module/components/Menu/MenuSurface.d.ts +5 -5
- package/lib/typescript/module/components/Menu/index.d.ts +4 -4
- package/lib/typescript/module/components/Menu/menuModel.d.ts +3 -3
- package/lib/typescript/module/components/Menu/useContextMenu.d.ts +5 -5
- package/lib/typescript/module/components/MessageBubble/MessageBubble.d.ts +7 -7
- package/lib/typescript/module/components/MessageBubble/index.d.ts +2 -2
- package/lib/typescript/module/components/MessageList/MessageList.d.ts +6 -6
- package/lib/typescript/module/components/MessageList/index.d.ts +2 -2
- package/lib/typescript/module/components/Modal/Modal.d.ts +4 -4
- package/lib/typescript/module/components/Modal/index.d.ts +2 -2
- package/lib/typescript/module/components/ModalSafeArea/ModalSafeArea.d.ts +2 -2
- package/lib/typescript/module/components/Notation/Notation.d.ts +2 -2
- package/lib/typescript/module/components/Notation/index.d.ts +2 -2
- package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +6 -6
- package/lib/typescript/module/components/NumberInput/index.d.ts +2 -2
- package/lib/typescript/module/components/OTPInput/OTPInput.d.ts +5 -5
- package/lib/typescript/module/components/OTPInput/index.d.ts +2 -2
- package/lib/typescript/module/components/OnboardingPager/OnboardingPager.d.ts +2 -2
- package/lib/typescript/module/components/OnboardingPager/index.d.ts +2 -2
- package/lib/typescript/module/components/OptionSheet/OptionSheet.d.ts +2 -2
- package/lib/typescript/module/components/OptionSheet/index.d.ts +2 -2
- package/lib/typescript/module/components/PaymentResult/PaymentResult.d.ts +5 -5
- package/lib/typescript/module/components/PaymentResult/index.d.ts +2 -2
- package/lib/typescript/module/components/PermissionPrompt/PermissionPrompt.d.ts +5 -5
- package/lib/typescript/module/components/PermissionPrompt/index.d.ts +4 -4
- package/lib/typescript/module/components/PermissionPrompt/usePermissionPrompt.d.ts +2 -2
- package/lib/typescript/module/components/PhoneNumberInput/PhoneNumberInput.d.ts +8 -8
- package/lib/typescript/module/components/PhoneNumberInput/index.d.ts +2 -2
- package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +3 -3
- package/lib/typescript/module/components/PickerTrigger/index.d.ts +2 -2
- package/lib/typescript/module/components/ProfileCompletion/ProfileCompletion.d.ts +5 -5
- package/lib/typescript/module/components/ProfileCompletion/index.d.ts +2 -2
- package/lib/typescript/module/components/ProfilePicker/ProfilePicker.d.ts +11 -11
- package/lib/typescript/module/components/ProfilePicker/index.d.ts +2 -2
- package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +4 -4
- package/lib/typescript/module/components/ProgressBar/index.d.ts +2 -2
- package/lib/typescript/module/components/ProgressRing/ProgressRing.d.ts +3 -3
- package/lib/typescript/module/components/ProgressRing/index.d.ts +2 -2
- package/lib/typescript/module/components/Radio/Radio.d.ts +6 -6
- package/lib/typescript/module/components/Radio/RadioDot.d.ts +3 -3
- package/lib/typescript/module/components/Radio/RadioGroup.d.ts +3 -3
- package/lib/typescript/module/components/Radio/index.d.ts +6 -6
- package/lib/typescript/module/components/Rating/Rating.d.ts +5 -5
- package/lib/typescript/module/components/Rating/index.d.ts +2 -2
- package/lib/typescript/module/components/Repeater/Repeater.d.ts +4 -4
- package/lib/typescript/module/components/Repeater/index.d.ts +2 -2
- package/lib/typescript/module/components/RichTextEditor/RichTextEditor.d.ts +4 -4
- package/lib/typescript/module/components/RichTextEditor/index.d.ts +4 -4
- package/lib/typescript/module/components/RichTextEditor/markdownActions.d.ts +2 -2
- package/lib/typescript/module/components/ScannerOverlay/ScannerOverlay.d.ts +4 -4
- package/lib/typescript/module/components/ScannerOverlay/index.d.ts +2 -2
- package/lib/typescript/module/components/Screen/Screen.d.ts +5 -5
- package/lib/typescript/module/components/Screen/index.d.ts +2 -2
- package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +9 -9
- package/lib/typescript/module/components/SearchBar/SearchPanel.d.ts +3 -3
- package/lib/typescript/module/components/SearchBar/index.d.ts +5 -5
- package/lib/typescript/module/components/SectionHeader/SectionHeader.d.ts +3 -3
- package/lib/typescript/module/components/SectionHeader/index.d.ts +2 -2
- package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +8 -8
- package/lib/typescript/module/components/SegmentedControl/index.d.ts +2 -2
- package/lib/typescript/module/components/Select/Select.d.ts +7 -7
- package/lib/typescript/module/components/Select/index.d.ts +2 -2
- package/lib/typescript/module/components/SignaturePad/SignaturePad.d.ts +4 -4
- package/lib/typescript/module/components/SignaturePad/index.d.ts +3 -3
- package/lib/typescript/module/components/SignaturePad/signatureGeometry.d.ts +1 -1
- package/lib/typescript/module/components/Skeleton/Skeleton.d.ts +11 -11
- package/lib/typescript/module/components/Skeleton/SkeletonClock.d.ts +4 -4
- package/lib/typescript/module/components/Skeleton/SkeletonContent.d.ts +5 -5
- package/lib/typescript/module/components/Skeleton/SkeletonList.d.ts +6 -6
- package/lib/typescript/module/components/Skeleton/SkeletonProvider.d.ts +4 -4
- package/lib/typescript/module/components/Skeleton/SkeletonSkip.d.ts +2 -2
- package/lib/typescript/module/components/Skeleton/index.d.ts +12 -12
- package/lib/typescript/module/components/SlideToConfirm/SlideToConfirm.d.ts +5 -5
- package/lib/typescript/module/components/SlideToConfirm/index.d.ts +2 -2
- package/lib/typescript/module/components/Slider/Slider.d.ts +7 -7
- package/lib/typescript/module/components/Slider/index.d.ts +2 -2
- package/lib/typescript/module/components/Slider/valueText.d.ts +3 -3
- package/lib/typescript/module/components/SliderField/SliderField.d.ts +5 -5
- package/lib/typescript/module/components/SliderField/index.d.ts +2 -2
- package/lib/typescript/module/components/Sparkline/Sparkline.d.ts +2 -2
- package/lib/typescript/module/components/Sparkline/index.d.ts +2 -2
- package/lib/typescript/module/components/Spinner/Spinner.d.ts +4 -4
- package/lib/typescript/module/components/Spinner/index.d.ts +2 -2
- package/lib/typescript/module/components/SquircleFill/SquircleFill.d.ts +2 -2
- package/lib/typescript/module/components/SquircleView/SquircleView.d.ts +1 -1
- package/lib/typescript/module/components/SquircleView/index.d.ts +2 -2
- package/lib/typescript/module/components/StatTile/StatTile.d.ts +7 -7
- package/lib/typescript/module/components/StatTile/index.d.ts +2 -2
- package/lib/typescript/module/components/StatusBadge/StatusBadge.d.ts +5 -5
- package/lib/typescript/module/components/StatusBadge/index.d.ts +2 -2
- package/lib/typescript/module/components/Stepper/Stepper.d.ts +6 -6
- package/lib/typescript/module/components/Stepper/index.d.ts +2 -2
- package/lib/typescript/module/components/Swipeable/Swipeable.d.ts +5 -5
- package/lib/typescript/module/components/Swipeable/index.d.ts +2 -2
- package/lib/typescript/module/components/Switch/Switch.d.ts +7 -7
- package/lib/typescript/module/components/Switch/index.d.ts +2 -2
- package/lib/typescript/module/components/Tabs/Tabs.d.ts +8 -8
- package/lib/typescript/module/components/Tabs/index.d.ts +2 -2
- package/lib/typescript/module/components/TagInput/TagInput.d.ts +4 -4
- package/lib/typescript/module/components/TagInput/index.d.ts +2 -2
- package/lib/typescript/module/components/Text/Text.d.ts +9 -9
- package/lib/typescript/module/components/Text/index.d.ts +2 -2
- package/lib/typescript/module/components/TimePicker/TimePicker.d.ts +6 -6
- package/lib/typescript/module/components/TimePicker/index.d.ts +2 -2
- package/lib/typescript/module/components/Timeline/Timeline.d.ts +5 -5
- package/lib/typescript/module/components/Timeline/index.d.ts +2 -2
- package/lib/typescript/module/components/Toast/Toast.d.ts +5 -5
- package/lib/typescript/module/components/Toast/ToastProvider.d.ts +8 -8
- package/lib/typescript/module/components/Toast/index.d.ts +4 -4
- package/lib/typescript/module/components/Tooltip/RichTooltipBody.d.ts +2 -2
- package/lib/typescript/module/components/Tooltip/Tooltip.d.ts +7 -7
- package/lib/typescript/module/components/Tooltip/index.d.ts +2 -2
- package/lib/typescript/module/components/Tooltip/tooltipPosition.d.ts +4 -4
- package/lib/typescript/module/components/Tour/Tour.d.ts +6 -6
- package/lib/typescript/module/components/Tour/index.d.ts +2 -2
- package/lib/typescript/module/components/TypingIndicator/TypingIndicator.d.ts +2 -2
- package/lib/typescript/module/components/TypingIndicator/index.d.ts +2 -2
- package/lib/typescript/module/components/WheelPicker/Wheel.d.ts +3 -3
- package/lib/typescript/module/components/WheelPicker/WheelPicker.d.ts +8 -8
- package/lib/typescript/module/components/WheelPicker/index.d.ts +2 -2
- package/lib/typescript/module/components/ZoomableImage/ZoomableImage.d.ts +4 -4
- package/lib/typescript/module/components/ZoomableImage/index.d.ts +2 -2
- package/lib/typescript/module/components/index.d.ts +200 -200
- package/lib/typescript/module/form/FormContext.d.ts +2 -2
- package/lib/typescript/module/form/HookFormField.d.ts +5 -5
- package/lib/typescript/module/form/index.d.ts +14 -14
- package/lib/typescript/module/form/rules.d.ts +2 -2
- package/lib/typescript/module/form/types.d.ts +2 -2
- package/lib/typescript/module/form/useField.d.ts +1 -1
- package/lib/typescript/module/form/useForm.d.ts +1 -1
- package/lib/typescript/module/form/useHookFormField.d.ts +2 -2
- package/lib/typescript/module/hooks/index.d.ts +19 -19
- package/lib/typescript/module/hooks/useDragToDismiss.d.ts +5 -5
- package/lib/typescript/module/hooks/useFieldChain.d.ts +2 -2
- package/lib/typescript/module/hooks/useFlickGuard.d.ts +1 -1
- package/lib/typescript/module/hooks/usePresenceMotion.d.ts +3 -3
- package/lib/typescript/module/hooks/usePressAnimation.d.ts +3 -3
- package/lib/typescript/module/hooks/useRefreshControl.d.ts +4 -4
- package/lib/typescript/module/hooks/useScrollDirection.d.ts +2 -2
- package/lib/typescript/module/index.d.ts +15 -15
- package/lib/typescript/module/initUI.d.ts +1 -1
- package/lib/typescript/module/network/NetworkStatusBanner.d.ts +3 -3
- package/lib/typescript/module/network/index.d.ts +2 -2
- package/lib/typescript/module/specs/NativePdfRasterizer.d.ts +1 -1
- package/lib/typescript/module/theme/Gradient.d.ts +3 -3
- package/lib/typescript/module/theme/ThemeContext.d.ts +3 -3
- package/lib/typescript/module/theme/animatedValue.d.ts +1 -1
- package/lib/typescript/module/theme/componentSizes.d.ts +2 -2
- package/lib/typescript/module/theme/componentTokens.d.ts +30 -30
- package/lib/typescript/module/theme/index.d.ts +14 -14
- package/lib/typescript/module/theme/merge.d.ts +1 -1
- package/lib/typescript/module/theme/retiredThemeKeys.d.ts +1 -1
- package/lib/typescript/module/theme/scale.d.ts +1 -1
- package/lib/typescript/module/theme/textStyle.d.ts +3 -3
- package/lib/typescript/module/theme/tokens.d.ts +1 -1
- package/lib/typescript/module/theme/types.d.ts +23 -23
- package/lib/typescript/module/utils/ariaState.d.ts +2 -2
- package/lib/typescript/module/utils/dimensions.d.ts +2 -2
- package/lib/typescript/module/utils/feedback.d.ts +2 -2
- package/lib/typescript/module/utils/hapticUtils.d.ts +1 -1
- package/lib/typescript/module/utils/index.d.ts +15 -15
- package/lib/typescript/module/utils/mergeRefs.d.ts +1 -1
- package/lib/typescript/module/utils/placement.d.ts +5 -5
- package/lib/typescript/module/utils/shadows.d.ts +2 -2
- package/lib/typescript/module/utils/themeStyles.d.ts +1 -1
- package/lib/typescript/module/utils/warnUnknownProps.d.ts +2 -2
- package/package.json +28 -4
- package/src/specs/NativePdfRasterizer.ts +33 -33
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type React from
|
|
2
|
-
import type { TextStyle, ViewStyle } from
|
|
3
|
-
import type { ComponentTokens } from
|
|
4
|
-
export type ColorMode =
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { TextStyle, ViewStyle } from "react-native";
|
|
3
|
+
import type { ComponentTokens } from "./componentTokens.js";
|
|
4
|
+
export type ColorMode = "light" | "dark";
|
|
5
5
|
/**
|
|
6
6
|
* A linear gradient definition used by Button, Card and consumer components.
|
|
7
7
|
* `colors` must have at least 2 entries. `start`/`end` are unit vectors in a
|
|
@@ -213,15 +213,15 @@ export interface TypographyScale {
|
|
|
213
213
|
base: number;
|
|
214
214
|
lg: number;
|
|
215
215
|
xl: number;
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
"2xl": number;
|
|
217
|
+
"3xl": number;
|
|
218
|
+
"4xl": number;
|
|
219
219
|
};
|
|
220
220
|
fontWeight: {
|
|
221
|
-
normal: TextStyle[
|
|
222
|
-
medium: TextStyle[
|
|
223
|
-
semibold: TextStyle[
|
|
224
|
-
bold: TextStyle[
|
|
221
|
+
normal: TextStyle["fontWeight"];
|
|
222
|
+
medium: TextStyle["fontWeight"];
|
|
223
|
+
semibold: TextStyle["fontWeight"];
|
|
224
|
+
bold: TextStyle["fontWeight"];
|
|
225
225
|
};
|
|
226
226
|
/**
|
|
227
227
|
* Optional brand font families. When set, library text components prefer
|
|
@@ -249,9 +249,9 @@ export interface SpacingScale {
|
|
|
249
249
|
md: number;
|
|
250
250
|
lg: number;
|
|
251
251
|
xl: number;
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
252
|
+
"2xl": number;
|
|
253
|
+
"3xl": number;
|
|
254
|
+
"4xl": number;
|
|
255
255
|
}
|
|
256
256
|
export interface RadiusScale {
|
|
257
257
|
none: 0;
|
|
@@ -262,7 +262,7 @@ export interface RadiusScale {
|
|
|
262
262
|
pill: 9999;
|
|
263
263
|
}
|
|
264
264
|
export type SpacingKey = keyof SpacingScale;
|
|
265
|
-
export type FontSizeKey = keyof TypographyScale[
|
|
265
|
+
export type FontSizeKey = keyof TypographyScale["fontSize"];
|
|
266
266
|
export type RadiusKey = keyof RadiusScale;
|
|
267
267
|
export interface ShadowDefinition {
|
|
268
268
|
shadowColor: string;
|
|
@@ -281,7 +281,7 @@ export interface ShadowScale {
|
|
|
281
281
|
md: ShadowDefinition;
|
|
282
282
|
lg: ShadowDefinition;
|
|
283
283
|
xl: ShadowDefinition;
|
|
284
|
-
|
|
284
|
+
"2xl": ShadowDefinition;
|
|
285
285
|
}
|
|
286
286
|
export interface MotionScale {
|
|
287
287
|
duration: {
|
|
@@ -317,7 +317,7 @@ export interface MotionScale {
|
|
|
317
317
|
/** Length in ms of the opacity fade that replaces movement under Reduce Motion. Never collapsed. */
|
|
318
318
|
fadeDuration: number;
|
|
319
319
|
}
|
|
320
|
-
export type * from
|
|
320
|
+
export type * from "./componentTokens.js";
|
|
321
321
|
/**
|
|
322
322
|
* Renderer signature for theme-level icons. Each registry entry receives a
|
|
323
323
|
* pixel `size` and a `color` and returns whatever JSX the consumer wants —
|
|
@@ -373,19 +373,19 @@ export interface IconRegistry {
|
|
|
373
373
|
* take a typography token or a raw number.
|
|
374
374
|
*/
|
|
375
375
|
export interface TextVariantSpec {
|
|
376
|
-
size: keyof TypographyScale[
|
|
377
|
-
weight?: keyof TypographyScale[
|
|
376
|
+
size: keyof TypographyScale["fontSize"] | number;
|
|
377
|
+
weight?: keyof TypographyScale["fontWeight"];
|
|
378
378
|
/** Pixels, or a `typography.lineHeight` token (a multiple of the size). Omitted: the font's own metrics decide. */
|
|
379
|
-
lineHeight?: number | keyof TypographyScale[
|
|
379
|
+
lineHeight?: number | keyof TypographyScale["lineHeight"];
|
|
380
380
|
/** A text role, semantic tone or raw colour. Defaults to `primary`. */
|
|
381
381
|
color?: string;
|
|
382
382
|
uppercase?: boolean;
|
|
383
383
|
/** Pixels, or a `typography.letterSpacing` token. */
|
|
384
|
-
letterSpacing?: number | keyof TypographyScale[
|
|
384
|
+
letterSpacing?: number | keyof TypographyScale["letterSpacing"];
|
|
385
385
|
italic?: boolean;
|
|
386
|
-
fontVariant?: TextStyle[
|
|
386
|
+
fontVariant?: TextStyle["fontVariant"];
|
|
387
387
|
/** `'display'` draws the variant in `typography.fontFamily.display` when the theme sets it; otherwise the weight faces. */
|
|
388
|
-
fontFamily?:
|
|
388
|
+
fontFamily?: "display";
|
|
389
389
|
/** Announce text in this variant as a heading (accessibilityRole header). */
|
|
390
390
|
heading?: boolean;
|
|
391
391
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AccessibilityState, ViewProps } from
|
|
2
|
-
type AriaStateProps = Pick<ViewProps,
|
|
1
|
+
import type { AccessibilityState, ViewProps } from "react-native";
|
|
2
|
+
type AriaStateProps = Pick<ViewProps, "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected">;
|
|
3
3
|
/**
|
|
4
4
|
* The `aria-*` twin of an `accessibilityState`. React Native Web reads only the
|
|
5
5
|
* `aria-*` props, so a control that builds its state at run time spreads this
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { BreakpointKey, ResponsiveScales, ScreenInfo } from
|
|
2
|
-
export { Breakpoints, isScreenSize, isTablet, ScreenDimensions, useScreenDimensions } from
|
|
1
|
+
export type { BreakpointKey, ResponsiveScales, ScreenInfo } from "./responsive.js";
|
|
2
|
+
export { Breakpoints, isScreenSize, isTablet, ScreenDimensions, useScreenDimensions, } from "./responsive.js";
|
|
3
3
|
//# sourceMappingURL=dimensions.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HapticType } from
|
|
1
|
+
import { type HapticType } from "./hapticUtils.js";
|
|
2
2
|
/**
|
|
3
3
|
* What the interaction MEANT, not which vibration to play.
|
|
4
4
|
*
|
|
@@ -7,7 +7,7 @@ import { type HapticType } from './hapticUtils.js';
|
|
|
7
7
|
* `notificationWarning`, and the app stops speaking one language. Naming the
|
|
8
8
|
* intent moves that decision here, once.
|
|
9
9
|
*/
|
|
10
|
-
export type FeedbackIntent =
|
|
10
|
+
export type FeedbackIntent = "tap" | "select" | "longPress" | "created" | "deleted" | "restored" | "toggledOn" | "toggledOff" | "succeeded" | "warned" | "failed";
|
|
11
11
|
/**
|
|
12
12
|
* Gate every intent from one place, so an app's "haptics" setting needs no
|
|
13
13
|
* per-component plumbing.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type HapticType =
|
|
1
|
+
export type HapticType = "selection" | "impactLight" | "impactMedium" | "impactHeavy" | "notificationSuccess" | "notificationWarning" | "notificationError" | "longPress" | "tick" | "denseTick" | "confirm" | "reject" | "gestureStart";
|
|
2
2
|
export declare const triggerHaptic: (type?: HapticType) => void;
|
|
3
3
|
/**
|
|
4
4
|
* Replace the haptic backend. Intended for TESTS and for the showcase; an app
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export type { AnnounceOptions } from
|
|
2
|
-
export { announce } from
|
|
3
|
-
export { blendOf, tintOf } from
|
|
4
|
-
export { smoothCorners } from
|
|
5
|
-
export type { FeedbackIntent } from
|
|
6
|
-
export { configureFeedback, feedback, hapticForIntent, isFeedbackEnabled } from
|
|
7
|
-
export type { HapticType } from
|
|
8
|
-
export { resolveHaptic, setHapticImplementation, triggerHaptic } from
|
|
9
|
-
export { mergeRefs } from
|
|
10
|
-
export type { BreakpointKey, ResponsiveScales, ScreenInfo } from
|
|
11
|
-
export { Breakpoints, isScreenSize, isTablet, Responsive, ScreenDimensions, useScreenDimensions } from
|
|
12
|
-
export { shadowStyle } from
|
|
13
|
-
export type { SquirclePathParams } from
|
|
14
|
-
export { SQUIRCLE_MIN_RADIUS, SQUIRCLE_SMOOTHING, squircleApplies, squircleHostRadius, squirclePath } from
|
|
15
|
-
export { warnUnknownProps } from
|
|
1
|
+
export type { AnnounceOptions } from "./announce.js";
|
|
2
|
+
export { announce } from "./announce.js";
|
|
3
|
+
export { blendOf, tintOf } from "./color.js";
|
|
4
|
+
export { smoothCorners } from "./corners.js";
|
|
5
|
+
export type { FeedbackIntent } from "./feedback.js";
|
|
6
|
+
export { configureFeedback, feedback, hapticForIntent, isFeedbackEnabled } from "./feedback.js";
|
|
7
|
+
export type { HapticType } from "./hapticUtils.js";
|
|
8
|
+
export { resolveHaptic, setHapticImplementation, triggerHaptic } from "./hapticUtils.js";
|
|
9
|
+
export { mergeRefs } from "./mergeRefs.js";
|
|
10
|
+
export type { BreakpointKey, ResponsiveScales, ScreenInfo } from "./responsive.js";
|
|
11
|
+
export { Breakpoints, isScreenSize, isTablet, Responsive, ScreenDimensions, useScreenDimensions, } from "./responsive.js";
|
|
12
|
+
export { shadowStyle } from "./shadows.js";
|
|
13
|
+
export type { SquirclePathParams } from "./squircle.js";
|
|
14
|
+
export { SQUIRCLE_MIN_RADIUS, SQUIRCLE_SMOOTHING, squircleApplies, squircleHostRadius, squirclePath, } from "./squircle.js";
|
|
15
|
+
export { warnUnknownProps } from "./warnUnknownProps.js";
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { LayoutRectangle } from
|
|
2
|
-
import type { EdgeInsets } from
|
|
1
|
+
import type { LayoutRectangle } from "react-native";
|
|
2
|
+
import type { EdgeInsets } from "react-native-safe-area-context";
|
|
3
3
|
/**
|
|
4
4
|
* The anchored-surface engine: where a menu, a context menu or a tooltip sits
|
|
5
5
|
* against the view that opened it. Pure geometry in window coordinates (what
|
|
6
6
|
* `measureInWindow` reports), so it runs the same on iOS, Android and web.
|
|
7
7
|
*/
|
|
8
|
-
export type PlacementPreference =
|
|
9
|
-
export type ResolvedPlacement =
|
|
10
|
-
export type PlacementAlign =
|
|
8
|
+
export type PlacementPreference = "top" | "bottom" | "auto";
|
|
9
|
+
export type ResolvedPlacement = "top" | "bottom";
|
|
10
|
+
export type PlacementAlign = "center" | "start" | "end";
|
|
11
11
|
export interface PlacementViewport {
|
|
12
12
|
width: number;
|
|
13
13
|
height: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ViewStyle } from
|
|
2
|
-
import type { ShadowScale } from
|
|
1
|
+
import type { ViewStyle } from "react-native";
|
|
2
|
+
import type { ShadowScale } from "../theme/types.js";
|
|
3
3
|
export declare const shadowStyle: (shadows: ShadowScale, level: keyof ShadowScale) => ViewStyle;
|
|
4
4
|
/**
|
|
5
5
|
* Whether this platform draws a `boxShadow`. Android paints an outset box
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Theme } from
|
|
1
|
+
import type { Theme } from "../theme/types.js";
|
|
2
2
|
/** Builds a component's styles once per theme object; every row of a list shares them. */
|
|
3
3
|
export declare const themeStyles: <T>(build: (theme: Theme) => T) => ((theme: Theme) => T);
|
|
4
4
|
//# sourceMappingURL=themeStyles.d.ts.map
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* sites. Neither failed a build, a lint or a test.
|
|
11
11
|
*
|
|
12
12
|
* Our components are TypeScript, so a TS consumer is already protected at
|
|
13
|
-
* compile time.
|
|
14
|
-
*
|
|
13
|
+
* compile time. Some apps are plain JS and get nothing from it, and they are
|
|
14
|
+
* who this is for. The check therefore has to be a runtime one, and it
|
|
15
15
|
* has to run where the mistake is made: the consumer's dev server.
|
|
16
16
|
*
|
|
17
17
|
* DEV ONLY — the `__DEV__` guard means it costs a release build nothing.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/mobile-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.88.0",
|
|
4
4
|
"description": "Beautiful, animated, accessible React Native components, theme and form engine for Webority projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"react-native-safe-area-context": ">=5.4.0",
|
|
94
94
|
"react-native-svg": ">=15.0.0",
|
|
95
95
|
"react-native-worklets": ">=0.10.0",
|
|
96
|
-
"@webority/mobile-core": "0.
|
|
96
|
+
"@webority/mobile-core": "0.88.0"
|
|
97
97
|
},
|
|
98
98
|
"peerDependenciesMeta": {},
|
|
99
99
|
"publishConfig": {
|
|
@@ -127,10 +127,34 @@
|
|
|
127
127
|
]
|
|
128
128
|
},
|
|
129
129
|
"devDependencies": {
|
|
130
|
-
"@
|
|
130
|
+
"@react-native/metro-config": "0.86.3",
|
|
131
|
+
"@testing-library/react-native": "12.9.0",
|
|
132
|
+
"@types/node": "25.6.0",
|
|
133
|
+
"@types/react": "19.2.18",
|
|
134
|
+
"@types/react-test-renderer": "19.1.0",
|
|
135
|
+
"expo": "57.0.17",
|
|
136
|
+
"expo-file-system": "57.0.6",
|
|
137
|
+
"expo-haptics": "57.0.2",
|
|
138
|
+
"expo-image": "57.0.3",
|
|
139
|
+
"jest": "29.7.0",
|
|
140
|
+
"react": "19.2.8",
|
|
141
|
+
"react-hook-form": "7.89.0",
|
|
142
|
+
"react-native": "0.86.3",
|
|
143
|
+
"react-native-builder-bob": "0.43.0",
|
|
144
|
+
"react-native-gesture-handler": "3.2.1",
|
|
145
|
+
"react-native-keyboard-controller": "1.21.9",
|
|
146
|
+
"react-native-reanimated": "4.5.3",
|
|
147
|
+
"react-native-safe-area-context": "5.9.1",
|
|
148
|
+
"react-native-svg": "15.15.5",
|
|
149
|
+
"react-native-worklets": "0.10.4",
|
|
150
|
+
"react-test-renderer": "19.2.8",
|
|
151
|
+
"rimraf": "6.1.3",
|
|
152
|
+
"typescript": "5.9.3",
|
|
153
|
+
"@webority/mobile-core": "0.88.0",
|
|
154
|
+
"@webority/mobile-dev": "0.0.0"
|
|
131
155
|
},
|
|
132
156
|
"scripts": {
|
|
133
|
-
"build": "bob build && node
|
|
157
|
+
"build": "bob build && node ../mobile-dev/scripts/minify-lib.mjs",
|
|
134
158
|
"clean": "rimraf lib",
|
|
135
159
|
"lint": "biome lint ./src",
|
|
136
160
|
"lint:fix": "biome lint --write ./src",
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import type { TurboModule } from
|
|
2
|
-
import { TurboModuleRegistry } from
|
|
1
|
+
import type { TurboModule } from "react-native";
|
|
2
|
+
import { TurboModuleRegistry } from "react-native";
|
|
3
3
|
|
|
4
4
|
export interface PdfDocumentInfo {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
/** Opaque handle for every subsequent call (getPageInfo/renderPage/close) — NOT the file path. */
|
|
6
|
+
handle: string;
|
|
7
|
+
pageCount: number;
|
|
8
|
+
/** Points (1/72 in), the page size of page 0 as displayed (after the page's /Rotate) — a per-page size read happens in renderPage. */
|
|
9
|
+
pageWidth: number;
|
|
10
|
+
pageHeight: number;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export interface PdfPageInfo {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
width: number;
|
|
15
|
+
height: number;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export interface Spec extends TurboModule {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Opens a LOCAL pdf file (a file:// path or bare absolute path — no http(s), no
|
|
21
|
+
* headers, no auth: callers download remote documents with mobile-core's
|
|
22
|
+
* `downloadFile` first). Returns a handle used by every other call. Throws
|
|
23
|
+
* (rejects) on a missing file, a corrupt PDF, or a password-protected PDF.
|
|
24
|
+
*/
|
|
25
|
+
open(path: string): Promise<PdfDocumentInfo>;
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Reads one page's own size without rasterizing it (pages in a PDF can each
|
|
29
|
+
* have a different size/rotation).
|
|
30
|
+
*/
|
|
31
|
+
getPageInfo(handle: string, pageIndex: number): Promise<PdfPageInfo>;
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
33
|
+
/**
|
|
34
|
+
* Rasterizes one page to a PNG file in the cache directory and returns its
|
|
35
|
+
* absolute path. `scale` is a multiplier on the page's own point size (pass
|
|
36
|
+
* the view width / page width ratio, capped by the caller — see
|
|
37
|
+
* react-native.md's "RGBA_8888 is 4 bytes/px" guidance). Renders are
|
|
38
|
+
* serialized per handle on both platforms; call sequentially per document.
|
|
39
|
+
*/
|
|
40
|
+
renderPage(handle: string, pageIndex: number, scale: number): Promise<string>;
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
/** Releases the native document and evicts any cached page renders for it. */
|
|
43
|
+
close(handle: string): Promise<void>;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
export default TurboModuleRegistry.get<Spec>(
|
|
46
|
+
export default TurboModuleRegistry.get<Spec>("PdfRasterizer") as Spec | null;
|