@webority/mobile-ui 0.9.1 → 0.11.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/android/src/newarch/java/com/webority/mobileui/pdfrasterizer/PdfRasterizerModule.kt +6 -7
- package/ios/PdfRasterizer.mm +36 -9
- package/lib/commonjs/components/BarChart/BarChart.js +1 -0
- package/lib/commonjs/components/BarChart/index.js +1 -0
- package/lib/commonjs/components/BarChart/scale.js +1 -0
- package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +1 -1
- package/lib/commonjs/components/BottomNavigation/useScreenReaderEnabled.js +1 -0
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
- package/lib/commonjs/components/BottomSheet/index.js +1 -1
- package/lib/commonjs/components/BottomSheet/useSheetSwap.js +1 -0
- package/lib/commonjs/components/Card/Card.js +1 -1
- package/lib/commonjs/components/Checkbox/Checkbox.js +1 -1
- package/lib/commonjs/components/Composer/Composer.js +1 -0
- package/lib/commonjs/components/Composer/index.js +1 -0
- package/lib/commonjs/components/DateSeparator/DateSeparator.js +1 -0
- package/lib/commonjs/components/DateSeparator/index.js +1 -0
- package/lib/commonjs/components/FieldBase/ChoiceText.js +1 -1
- package/lib/commonjs/components/FieldBase/FieldBase.js +1 -1
- package/lib/commonjs/components/FieldBase/useFloatingLabel.js +1 -1
- package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -1
- package/lib/commonjs/components/FormField/FormField.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/Menu/Menu.js +1 -0
- package/lib/commonjs/components/Menu/MenuSurface.js +1 -0
- package/lib/commonjs/components/Menu/focusHost.js +1 -0
- package/lib/commonjs/components/Menu/index.js +1 -0
- package/lib/commonjs/components/Menu/menuModel.js +1 -0
- package/lib/commonjs/components/Menu/useContextMenu.js +1 -0
- package/lib/commonjs/components/Menu/webOnly.js +1 -0
- package/lib/commonjs/components/MessageBubble/MessageBubble.js +1 -0
- package/lib/commonjs/components/MessageBubble/index.js +1 -0
- package/lib/commonjs/components/MessageList/MessageList.js +1 -0
- package/lib/commonjs/components/MessageList/index.js +1 -0
- package/lib/commonjs/components/Notation/Notation.js +1 -1
- package/lib/commonjs/components/OnboardingPager/OnboardingPager.js +1 -0
- package/lib/commonjs/components/OnboardingPager/index.js +1 -0
- package/lib/commonjs/components/OptionSheet/OptionSheet.js +1 -1
- package/lib/commonjs/components/PaymentResult/PaymentResult.js +1 -0
- package/lib/commonjs/components/PaymentResult/index.js +1 -0
- package/lib/commonjs/components/PermissionPrompt/PermissionPrompt.js +1 -0
- package/lib/commonjs/components/PermissionPrompt/index.js +1 -0
- package/lib/commonjs/components/PermissionPrompt/usePermissionPrompt.js +1 -0
- package/lib/commonjs/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
- package/lib/commonjs/components/Radio/Radio.js +1 -1
- package/lib/commonjs/components/Radio/RadioGroup.js +1 -1
- package/lib/commonjs/components/ScannerOverlay/ScannerOverlay.js +1 -0
- package/lib/commonjs/components/ScannerOverlay/index.js +1 -0
- package/lib/commonjs/components/SearchBar/SearchBar.js +1 -1
- package/lib/commonjs/components/SearchBar/SearchPanel.js +1 -0
- package/lib/commonjs/components/SearchBar/highlight.js +1 -0
- package/lib/commonjs/components/SearchBar/index.js +1 -1
- package/lib/commonjs/components/SearchBar/useRecentSearches.js +1 -0
- 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 -0
- package/lib/commonjs/components/SignaturePad/index.js +1 -0
- package/lib/commonjs/components/SignaturePad/signatureGeometry.js +1 -0
- package/lib/commonjs/components/SignaturePad/writePng.js +1 -0
- package/lib/commonjs/components/SignaturePad/writePng.web.js +1 -0
- package/lib/commonjs/components/Sparkline/Sparkline.js +1 -0
- package/lib/commonjs/components/Sparkline/geometry.js +1 -0
- package/lib/commonjs/components/Sparkline/index.js +1 -0
- package/lib/commonjs/components/Spinner/Spinner.js +1 -1
- package/lib/commonjs/components/StatTile/StatTile.js +1 -1
- package/lib/commonjs/components/Switch/Switch.js +1 -1
- package/lib/commonjs/components/TagInput/TagInput.js +1 -1
- package/lib/commonjs/components/TimePicker/TimePicker.js +1 -1
- package/lib/commonjs/components/Toast/Toast.js +1 -1
- package/lib/commonjs/components/Toast/ToastProvider.js +1 -1
- package/lib/commonjs/components/Tooltip/RichTooltipBody.js +1 -0
- package/lib/commonjs/components/Tooltip/Tooltip.js +1 -1
- package/lib/commonjs/components/Tooltip/tooltipPosition.js +1 -0
- package/lib/commonjs/components/TypingIndicator/TypingIndicator.js +1 -0
- package/lib/commonjs/components/TypingIndicator/index.js +1 -0
- package/lib/commonjs/components/WheelPicker/Wheel.js +1 -0
- package/lib/commonjs/components/WheelPicker/WheelPicker.js +1 -0
- package/lib/commonjs/components/WheelPicker/index.js +1 -0
- package/lib/commonjs/components/index.js +1 -1
- package/lib/commonjs/hooks/index.js +1 -1
- package/lib/commonjs/hooks/useRefreshControl.js +1 -0
- package/lib/commonjs/hooks/useScrollDirection.js +1 -0
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/utils/announce.js +1 -0
- package/lib/commonjs/utils/hapticUtils.js +1 -1
- package/lib/commonjs/utils/index.js +1 -1
- package/lib/commonjs/utils/placement.js +1 -0
- package/lib/module/components/BarChart/BarChart.js +1 -0
- package/lib/module/components/BarChart/index.js +1 -0
- package/lib/module/components/BarChart/scale.js +1 -0
- package/lib/module/components/BottomNavigation/BottomNavigation.js +1 -1
- package/lib/module/components/BottomNavigation/useScreenReaderEnabled.js +1 -0
- package/lib/module/components/BottomSheet/BottomSheet.js +1 -1
- package/lib/module/components/BottomSheet/index.js +1 -1
- package/lib/module/components/BottomSheet/useSheetSwap.js +1 -0
- package/lib/module/components/Card/Card.js +1 -1
- package/lib/module/components/Checkbox/Checkbox.js +1 -1
- package/lib/module/components/Composer/Composer.js +1 -0
- package/lib/module/components/Composer/index.js +1 -0
- package/lib/module/components/DateSeparator/DateSeparator.js +1 -0
- package/lib/module/components/DateSeparator/index.js +1 -0
- package/lib/module/components/FieldBase/ChoiceText.js +1 -1
- package/lib/module/components/FieldBase/FieldBase.js +1 -1
- package/lib/module/components/FieldBase/useFloatingLabel.js +1 -1
- package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -1
- package/lib/module/components/FormField/FormField.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/Menu/Menu.js +1 -0
- package/lib/module/components/Menu/MenuSurface.js +1 -0
- package/lib/module/components/Menu/focusHost.js +1 -0
- package/lib/module/components/Menu/index.js +1 -0
- package/lib/module/components/Menu/menuModel.js +1 -0
- package/lib/module/components/Menu/useContextMenu.js +1 -0
- package/lib/module/components/Menu/webOnly.js +1 -0
- package/lib/module/components/MessageBubble/MessageBubble.js +1 -0
- package/lib/module/components/MessageBubble/index.js +1 -0
- package/lib/module/components/MessageList/MessageList.js +1 -0
- package/lib/module/components/MessageList/index.js +1 -0
- package/lib/module/components/Notation/Notation.js +1 -1
- package/lib/module/components/OnboardingPager/OnboardingPager.js +1 -0
- package/lib/module/components/OnboardingPager/index.js +1 -0
- package/lib/module/components/OptionSheet/OptionSheet.js +1 -1
- package/lib/module/components/PaymentResult/PaymentResult.js +1 -0
- package/lib/module/components/PaymentResult/index.js +1 -0
- package/lib/module/components/PermissionPrompt/PermissionPrompt.js +1 -0
- package/lib/module/components/PermissionPrompt/index.js +1 -0
- package/lib/module/components/PermissionPrompt/usePermissionPrompt.js +1 -0
- package/lib/module/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
- package/lib/module/components/Radio/Radio.js +1 -1
- package/lib/module/components/Radio/RadioGroup.js +1 -1
- package/lib/module/components/ScannerOverlay/ScannerOverlay.js +1 -0
- package/lib/module/components/ScannerOverlay/index.js +1 -0
- package/lib/module/components/SearchBar/SearchBar.js +1 -1
- package/lib/module/components/SearchBar/SearchPanel.js +1 -0
- package/lib/module/components/SearchBar/highlight.js +1 -0
- package/lib/module/components/SearchBar/index.js +1 -1
- package/lib/module/components/SearchBar/useRecentSearches.js +1 -0
- 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 -0
- package/lib/module/components/SignaturePad/index.js +1 -0
- package/lib/module/components/SignaturePad/signatureGeometry.js +1 -0
- package/lib/module/components/SignaturePad/writePng.js +1 -0
- package/lib/module/components/SignaturePad/writePng.web.js +1 -0
- package/lib/module/components/Sparkline/Sparkline.js +1 -0
- package/lib/module/components/Sparkline/geometry.js +1 -0
- package/lib/module/components/Sparkline/index.js +1 -0
- package/lib/module/components/Spinner/Spinner.js +1 -1
- package/lib/module/components/StatTile/StatTile.js +1 -1
- package/lib/module/components/Switch/Switch.js +1 -1
- package/lib/module/components/TagInput/TagInput.js +1 -1
- package/lib/module/components/TimePicker/TimePicker.js +1 -1
- package/lib/module/components/Toast/Toast.js +1 -1
- package/lib/module/components/Toast/ToastProvider.js +1 -1
- package/lib/module/components/Tooltip/RichTooltipBody.js +1 -0
- package/lib/module/components/Tooltip/Tooltip.js +1 -1
- package/lib/module/components/Tooltip/tooltipPosition.js +1 -0
- package/lib/module/components/TypingIndicator/TypingIndicator.js +1 -0
- package/lib/module/components/TypingIndicator/index.js +1 -0
- package/lib/module/components/WheelPicker/Wheel.js +1 -0
- package/lib/module/components/WheelPicker/WheelPicker.js +1 -0
- package/lib/module/components/WheelPicker/index.js +1 -0
- package/lib/module/components/index.js +1 -1
- package/lib/module/hooks/index.js +1 -1
- package/lib/module/hooks/useRefreshControl.js +1 -0
- package/lib/module/hooks/useScrollDirection.js +1 -0
- package/lib/module/index.js +1 -1
- package/lib/module/utils/announce.js +1 -0
- package/lib/module/utils/hapticUtils.js +1 -1
- package/lib/module/utils/index.js +1 -1
- package/lib/module/utils/placement.js +1 -0
- package/lib/typescript/commonjs/components/BarChart/BarChart.d.ts +62 -0
- package/lib/typescript/commonjs/components/BarChart/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/BarChart/scale.d.ts +15 -0
- package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +32 -0
- package/lib/typescript/commonjs/components/BottomNavigation/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/BottomNavigation/useScreenReaderEnabled.d.ts +8 -0
- package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +34 -3
- package/lib/typescript/commonjs/components/BottomSheet/index.d.ts +2 -0
- package/lib/typescript/commonjs/components/BottomSheet/useSheetSwap.d.ts +24 -0
- package/lib/typescript/commonjs/components/Card/Card.d.ts +9 -0
- package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +4 -1
- package/lib/typescript/commonjs/components/Composer/Composer.d.ts +61 -0
- package/lib/typescript/commonjs/components/Composer/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/DateSeparator/DateSeparator.d.ts +37 -0
- package/lib/typescript/commonjs/components/DateSeparator/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/FileViewer/FileViewer.d.ts +1 -1
- package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +3 -1
- package/lib/typescript/commonjs/components/Input/Input.d.ts +2 -2
- package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +9 -0
- package/lib/typescript/commonjs/components/Menu/Menu.d.ts +46 -0
- package/lib/typescript/commonjs/components/Menu/MenuSurface.d.ts +30 -0
- package/lib/typescript/commonjs/components/Menu/focusHost.d.ts +9 -0
- package/lib/typescript/commonjs/components/Menu/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/Menu/menuModel.d.ts +68 -0
- package/lib/typescript/commonjs/components/Menu/useContextMenu.d.ts +58 -0
- package/lib/typescript/commonjs/components/Menu/webOnly.d.ts +7 -0
- package/lib/typescript/commonjs/components/MessageBubble/MessageBubble.d.ts +87 -0
- package/lib/typescript/commonjs/components/MessageBubble/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/MessageList/MessageList.d.ts +68 -0
- package/lib/typescript/commonjs/components/MessageList/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Notation/Notation.d.ts +10 -4
- package/lib/typescript/commonjs/components/OnboardingPager/OnboardingPager.d.ts +53 -0
- package/lib/typescript/commonjs/components/OnboardingPager/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/OptionSheet/OptionSheet.d.ts +2 -0
- package/lib/typescript/commonjs/components/PaymentResult/PaymentResult.d.ts +71 -0
- package/lib/typescript/commonjs/components/PaymentResult/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/PermissionPrompt/PermissionPrompt.d.ts +39 -0
- package/lib/typescript/commonjs/components/PermissionPrompt/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/PermissionPrompt/usePermissionPrompt.d.ts +44 -0
- package/lib/typescript/commonjs/components/PhoneNumberInput/PhoneNumberInput.d.ts +5 -2
- package/lib/typescript/commonjs/components/Radio/Radio.d.ts +13 -4
- package/lib/typescript/commonjs/components/Radio/RadioGroup.d.ts +5 -0
- package/lib/typescript/commonjs/components/ScannerOverlay/ScannerOverlay.d.ts +74 -0
- package/lib/typescript/commonjs/components/ScannerOverlay/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +35 -0
- package/lib/typescript/commonjs/components/SearchBar/SearchPanel.d.ts +49 -0
- package/lib/typescript/commonjs/components/SearchBar/highlight.d.ts +14 -0
- package/lib/typescript/commonjs/components/SearchBar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/SearchBar/useRecentSearches.d.ts +24 -0
- package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +5 -1
- package/lib/typescript/commonjs/components/Select/Select.d.ts +4 -1
- package/lib/typescript/commonjs/components/SignaturePad/SignaturePad.d.ts +94 -0
- package/lib/typescript/commonjs/components/SignaturePad/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/SignaturePad/signatureGeometry.d.ts +36 -0
- package/lib/typescript/commonjs/components/SignaturePad/writePng.d.ts +7 -0
- package/lib/typescript/commonjs/components/SignaturePad/writePng.web.d.ts +3 -0
- package/lib/typescript/commonjs/components/Sparkline/Sparkline.d.ts +41 -0
- package/lib/typescript/commonjs/components/Sparkline/geometry.d.ts +20 -0
- package/lib/typescript/commonjs/components/Sparkline/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +7 -1
- package/lib/typescript/commonjs/components/StatTile/StatTile.d.ts +24 -1
- package/lib/typescript/commonjs/components/StatTile/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Switch/Switch.d.ts +11 -4
- package/lib/typescript/commonjs/components/TagInput/TagInput.d.ts +4 -0
- package/lib/typescript/commonjs/components/Toast/Toast.d.ts +21 -0
- package/lib/typescript/commonjs/components/Toast/ToastProvider.d.ts +21 -0
- package/lib/typescript/commonjs/components/Toast/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Tooltip/RichTooltipBody.d.ts +27 -0
- package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts +24 -0
- package/lib/typescript/commonjs/components/Tooltip/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Tooltip/tooltipPosition.d.ts +35 -0
- package/lib/typescript/commonjs/components/TypingIndicator/TypingIndicator.d.ts +21 -0
- package/lib/typescript/commonjs/components/TypingIndicator/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/WheelPicker/Wheel.d.ts +34 -0
- package/lib/typescript/commonjs/components/WheelPicker/WheelPicker.d.ts +73 -0
- package/lib/typescript/commonjs/components/WheelPicker/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/index.d.ts +36 -8
- package/lib/typescript/commonjs/hooks/index.d.ts +4 -0
- package/lib/typescript/commonjs/hooks/useRefreshControl.d.ts +75 -0
- package/lib/typescript/commonjs/hooks/useScrollDirection.d.ts +21 -0
- package/lib/typescript/commonjs/index.d.ts +4 -4
- package/lib/typescript/commonjs/specs/NativePdfRasterizer.d.ts +1 -1
- package/lib/typescript/commonjs/utils/announce.d.ts +14 -0
- package/lib/typescript/commonjs/utils/hapticUtils.d.ts +1 -1
- package/lib/typescript/commonjs/utils/index.d.ts +2 -0
- package/lib/typescript/commonjs/utils/placement.d.ts +55 -0
- package/lib/typescript/module/components/BarChart/BarChart.d.ts +62 -0
- package/lib/typescript/module/components/BarChart/index.d.ts +3 -0
- package/lib/typescript/module/components/BarChart/scale.d.ts +15 -0
- package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +32 -0
- package/lib/typescript/module/components/BottomNavigation/index.d.ts +1 -1
- package/lib/typescript/module/components/BottomNavigation/useScreenReaderEnabled.d.ts +8 -0
- package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +34 -3
- package/lib/typescript/module/components/BottomSheet/index.d.ts +2 -0
- package/lib/typescript/module/components/BottomSheet/useSheetSwap.d.ts +24 -0
- package/lib/typescript/module/components/Card/Card.d.ts +9 -0
- package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +4 -1
- package/lib/typescript/module/components/Composer/Composer.d.ts +61 -0
- package/lib/typescript/module/components/Composer/index.d.ts +3 -0
- package/lib/typescript/module/components/DateSeparator/DateSeparator.d.ts +37 -0
- package/lib/typescript/module/components/DateSeparator/index.d.ts +3 -0
- package/lib/typescript/module/components/FileViewer/FileViewer.d.ts +1 -1
- package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +3 -1
- package/lib/typescript/module/components/Input/Input.d.ts +2 -2
- package/lib/typescript/module/components/ListItem/ListItem.d.ts +9 -0
- package/lib/typescript/module/components/Menu/Menu.d.ts +46 -0
- package/lib/typescript/module/components/Menu/MenuSurface.d.ts +30 -0
- package/lib/typescript/module/components/Menu/focusHost.d.ts +9 -0
- package/lib/typescript/module/components/Menu/index.d.ts +5 -0
- package/lib/typescript/module/components/Menu/menuModel.d.ts +68 -0
- package/lib/typescript/module/components/Menu/useContextMenu.d.ts +58 -0
- package/lib/typescript/module/components/Menu/webOnly.d.ts +7 -0
- package/lib/typescript/module/components/MessageBubble/MessageBubble.d.ts +87 -0
- package/lib/typescript/module/components/MessageBubble/index.d.ts +3 -0
- package/lib/typescript/module/components/MessageList/MessageList.d.ts +68 -0
- package/lib/typescript/module/components/MessageList/index.d.ts +3 -0
- package/lib/typescript/module/components/Notation/Notation.d.ts +10 -4
- package/lib/typescript/module/components/OnboardingPager/OnboardingPager.d.ts +53 -0
- package/lib/typescript/module/components/OnboardingPager/index.d.ts +3 -0
- package/lib/typescript/module/components/OptionSheet/OptionSheet.d.ts +2 -0
- package/lib/typescript/module/components/PaymentResult/PaymentResult.d.ts +71 -0
- package/lib/typescript/module/components/PaymentResult/index.d.ts +3 -0
- package/lib/typescript/module/components/PermissionPrompt/PermissionPrompt.d.ts +39 -0
- package/lib/typescript/module/components/PermissionPrompt/index.d.ts +5 -0
- package/lib/typescript/module/components/PermissionPrompt/usePermissionPrompt.d.ts +44 -0
- package/lib/typescript/module/components/PhoneNumberInput/PhoneNumberInput.d.ts +5 -2
- package/lib/typescript/module/components/Radio/Radio.d.ts +13 -4
- package/lib/typescript/module/components/Radio/RadioGroup.d.ts +5 -0
- package/lib/typescript/module/components/ScannerOverlay/ScannerOverlay.d.ts +74 -0
- package/lib/typescript/module/components/ScannerOverlay/index.d.ts +3 -0
- package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +35 -0
- package/lib/typescript/module/components/SearchBar/SearchPanel.d.ts +49 -0
- package/lib/typescript/module/components/SearchBar/highlight.d.ts +14 -0
- package/lib/typescript/module/components/SearchBar/index.d.ts +3 -0
- package/lib/typescript/module/components/SearchBar/useRecentSearches.d.ts +24 -0
- package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +5 -1
- package/lib/typescript/module/components/Select/Select.d.ts +4 -1
- package/lib/typescript/module/components/SignaturePad/SignaturePad.d.ts +94 -0
- package/lib/typescript/module/components/SignaturePad/index.d.ts +4 -0
- package/lib/typescript/module/components/SignaturePad/signatureGeometry.d.ts +36 -0
- package/lib/typescript/module/components/SignaturePad/writePng.d.ts +7 -0
- package/lib/typescript/module/components/SignaturePad/writePng.web.d.ts +3 -0
- package/lib/typescript/module/components/Sparkline/Sparkline.d.ts +41 -0
- package/lib/typescript/module/components/Sparkline/geometry.d.ts +20 -0
- package/lib/typescript/module/components/Sparkline/index.d.ts +3 -0
- package/lib/typescript/module/components/Spinner/Spinner.d.ts +7 -1
- package/lib/typescript/module/components/StatTile/StatTile.d.ts +24 -1
- package/lib/typescript/module/components/StatTile/index.d.ts +1 -1
- package/lib/typescript/module/components/Switch/Switch.d.ts +11 -4
- package/lib/typescript/module/components/TagInput/TagInput.d.ts +4 -0
- package/lib/typescript/module/components/Toast/Toast.d.ts +21 -0
- package/lib/typescript/module/components/Toast/ToastProvider.d.ts +21 -0
- package/lib/typescript/module/components/Toast/index.d.ts +1 -1
- package/lib/typescript/module/components/Tooltip/RichTooltipBody.d.ts +27 -0
- package/lib/typescript/module/components/Tooltip/Tooltip.d.ts +24 -0
- package/lib/typescript/module/components/Tooltip/index.d.ts +1 -1
- package/lib/typescript/module/components/Tooltip/tooltipPosition.d.ts +35 -0
- package/lib/typescript/module/components/TypingIndicator/TypingIndicator.d.ts +21 -0
- package/lib/typescript/module/components/TypingIndicator/index.d.ts +3 -0
- package/lib/typescript/module/components/WheelPicker/Wheel.d.ts +34 -0
- package/lib/typescript/module/components/WheelPicker/WheelPicker.d.ts +73 -0
- package/lib/typescript/module/components/WheelPicker/index.d.ts +3 -0
- package/lib/typescript/module/components/index.d.ts +36 -8
- package/lib/typescript/module/hooks/index.d.ts +4 -0
- package/lib/typescript/module/hooks/useRefreshControl.d.ts +75 -0
- package/lib/typescript/module/hooks/useScrollDirection.d.ts +21 -0
- package/lib/typescript/module/index.d.ts +4 -4
- package/lib/typescript/module/specs/NativePdfRasterizer.d.ts +1 -1
- package/lib/typescript/module/utils/announce.d.ts +14 -0
- package/lib/typescript/module/utils/hapticUtils.d.ts +1 -1
- package/lib/typescript/module/utils/index.d.ts +2 -0
- package/lib/typescript/module/utils/placement.d.ts +55 -0
- package/package.json +3 -3
- package/src/specs/NativePdfRasterizer.ts +1 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { AccessibilityActionEvent, RefreshControlProps } from 'react-native';
|
|
3
|
+
import type { HapticType } from '../utils/hapticUtils.js';
|
|
4
|
+
export type UseRefreshControlLabels = {
|
|
5
|
+
/** Name of the refresh accessibility action. Default `'Refresh'`. */
|
|
6
|
+
refresh?: string;
|
|
7
|
+
/** Spoken when a button or accessibility-action refresh starts. Default `'Refreshing'`. */
|
|
8
|
+
refreshing?: string;
|
|
9
|
+
/** Spoken when that refresh ends. Default `'Updated'`. */
|
|
10
|
+
refreshed?: string;
|
|
11
|
+
};
|
|
12
|
+
export type UseRefreshControlOptions = {
|
|
13
|
+
/**
|
|
14
|
+
* Reloads the data. Return the promise (an RTK Query `refetch` already does)
|
|
15
|
+
* and the spinner stays until it settles. A rejection is logged and ends the
|
|
16
|
+
* spinner; show the user a curated message from the call itself.
|
|
17
|
+
*/
|
|
18
|
+
onRefresh: () => unknown;
|
|
19
|
+
/**
|
|
20
|
+
* The screen's own loading flag, when the data is already tracked elsewhere.
|
|
21
|
+
* The spinner shows while this is true or a refresh started here is running.
|
|
22
|
+
*/
|
|
23
|
+
refreshing?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Haptic when a pull starts the refresh. Default: `'gestureStart'` on Android
|
|
26
|
+
* and none on iOS or web (no iOS haptic until a device check shows whether the
|
|
27
|
+
* system already taps). `false` turns it off; a type fires on every native
|
|
28
|
+
* platform.
|
|
29
|
+
*/
|
|
30
|
+
haptic?: HapticType | false;
|
|
31
|
+
/**
|
|
32
|
+
* iOS only: the line under the spinner, for what changed ("Updated 2 minutes
|
|
33
|
+
* ago"). Never use it to explain how to refresh.
|
|
34
|
+
*/
|
|
35
|
+
title?: string;
|
|
36
|
+
/** A refresh started here keeps the spinner at least this long. Default 400. */
|
|
37
|
+
minVisibleMs?: number;
|
|
38
|
+
labels?: UseRefreshControlLabels;
|
|
39
|
+
};
|
|
40
|
+
export type UseRefreshControlResult = {
|
|
41
|
+
/** Pass as `refreshControl` to a FlatList, SectionList, ScrollView or KeyboardAwareScrollView. */
|
|
42
|
+
refreshControl: React.ReactElement<RefreshControlProps>;
|
|
43
|
+
/** True while the spinner shows. Give an AppBar action or IconButton this as `loading`. */
|
|
44
|
+
refreshing: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Starts a refresh without a pull: the single-pointer path for an AppBar
|
|
47
|
+
* action or a button. Ignored while one is running. Fires no haptic (the
|
|
48
|
+
* button gives its own) and announces the start and the end. Never rejects.
|
|
49
|
+
*/
|
|
50
|
+
refresh: () => Promise<void>;
|
|
51
|
+
/** Spread on a focusable element so a screen reader offers Refresh in its actions menu. */
|
|
52
|
+
accessibilityProps: {
|
|
53
|
+
accessibilityActions: {
|
|
54
|
+
name: 'refresh';
|
|
55
|
+
label: string;
|
|
56
|
+
}[];
|
|
57
|
+
onAccessibilityAction: (event: AccessibilityActionEvent) => void;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Themed pull to refresh plus the way to refresh without pulling.
|
|
62
|
+
*
|
|
63
|
+
* React Native's RefreshControl reports only that a refresh started, never that
|
|
64
|
+
* the pull crossed the trigger, so the haptic fires at that start. Web draws no
|
|
65
|
+
* pull at all, and a swipe is not available to everyone: pair the control with
|
|
66
|
+
* an AppBar action that calls `refresh()` so a person on any platform, or with a
|
|
67
|
+
* screen reader or keyboard, can reload.
|
|
68
|
+
*
|
|
69
|
+
* const { refreshControl, refresh, refreshing } = useRefreshControl({ onRefresh: refetch });
|
|
70
|
+
* <FlatList refreshControl={refreshControl} ... />
|
|
71
|
+
* <AppBar rightActions={[{ icon: <AppIcon name="refresh" />, onPress: refresh,
|
|
72
|
+
* accessibilityLabel: 'Refresh' }]} />
|
|
73
|
+
*/
|
|
74
|
+
export declare const useRefreshControl: (options: UseRefreshControlOptions) => UseRefreshControlResult;
|
|
75
|
+
//# sourceMappingURL=useRefreshControl.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { NativeScrollEvent, NativeSyntheticEvent } from 'react-native';
|
|
2
|
+
export type ScrollDirection = 'up' | 'down' | 'idle';
|
|
3
|
+
export type UseScrollDirectionOptions = {
|
|
4
|
+
/** Points of travel in one direction before the direction flips. Default 8. */
|
|
5
|
+
threshold?: number;
|
|
6
|
+
};
|
|
7
|
+
export type UseScrollDirectionResult = {
|
|
8
|
+
direction: ScrollDirection;
|
|
9
|
+
onScroll: (e: NativeSyntheticEvent<NativeScrollEvent>) => void;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Direction of the user's scroll, for bars that hide on scroll down and return
|
|
13
|
+
* on scroll up. `'idle'` until the list has moved past the top; it returns to
|
|
14
|
+
* `'idle'` when the offset reaches the top. Rubber-band overscroll at either
|
|
15
|
+
* end is clamped away, so a bounce never reads as a reversal. State changes
|
|
16
|
+
* only when the direction changes, not on every scroll event.
|
|
17
|
+
*
|
|
18
|
+
* Pass `onScroll` to a ScrollView or FlatList with `scrollEventThrottle={16}`.
|
|
19
|
+
*/
|
|
20
|
+
export declare const useScrollDirection: (options?: UseScrollDirectionOptions) => UseScrollDirectionResult;
|
|
21
|
+
//# sourceMappingURL=useScrollDirection.d.ts.map
|
|
@@ -3,14 +3,14 @@ export type { AppIconName, AppIconProps, AppIconSize, CuratedIconName, IconName,
|
|
|
3
3
|
export { APP_ICON_SIZES, AppIcon, CURATED_ICON_NAMES, defaultIcons, ICON_NAMES, ICONSAX_SUFFIX, renderSlotIcon } from './components/AppIcon/index.js';
|
|
4
4
|
export type { FieldArrayApi, FieldInputProps, FieldRules, FieldState, FocusableNode, FormApi, FormCompletion, FormConfig, FormErrors, FormTouched, FormValidateFn, FormValues, HookFieldProps, HookFormFieldProps, SubmitHelpers, UseFormCompletionOptions, ValidateOn, ValidationResult, ValidationRule, ValidationSchema } from './form/index.js';
|
|
5
5
|
export { deletePath, Form, getPath, HookFormField, isFieldFilled, rules, setPath, useField, useFieldArray, useForm, useFormCompletion, useFormContext, useHookFormField, useOptionalFormContext } from './form/index.js';
|
|
6
|
-
export type { PressAnimationPreset, UseControllableStateOptions, UsePressAnimationOptions, UsePressAnimationResult, UseToggleResult } from './hooks/index.js';
|
|
7
|
-
export { FLICK_TOLERANCE, PRESS_ANIMATION_PRESETS, useControllableState, useDebounce, useFlickGuard, usePressAnimation, useReducedMotion, useToggle } from './hooks/index.js';
|
|
6
|
+
export type { PressAnimationPreset, ScrollDirection, UseControllableStateOptions, UsePressAnimationOptions, UsePressAnimationResult, UseRefreshControlLabels, UseRefreshControlOptions, UseRefreshControlResult, UseScrollDirectionOptions, UseScrollDirectionResult, UseToggleResult } from './hooks/index.js';
|
|
7
|
+
export { FLICK_TOLERANCE, PRESS_ANIMATION_PRESETS, useControllableState, useDebounce, useFlickGuard, usePressAnimation, useReducedMotion, useRefreshControl, useScrollDirection, useToggle } from './hooks/index.js';
|
|
8
8
|
export type { InitUIOptions } from './initUI.js';
|
|
9
9
|
export { initUI } from './initUI.js';
|
|
10
10
|
export type { NetworkStatusBannerProps } from './network/index.js';
|
|
11
11
|
export { NetworkStatusBanner } from './network/index.js';
|
|
12
12
|
export type { ColorMode, ColorPalette, ColorSchemePreference, DeepPartial, IconRegistry, IconRenderer, MotionScale, RadiusScale, ShadowDefinition, ShadowScale, SpacingScale, TextVariantSpec, Theme, ThemeOverrides, ThemeProviderProps, TypographyScale } from './theme/index.js';
|
|
13
13
|
export { darkTheme, getColorMode, getTheme, lightTheme, mergeTheme, resetTheme, setColorMode, setTheme, subscribeTheme, ThemeProvider, useTheme, useThemeMode } from './theme/index.js';
|
|
14
|
-
export type { BreakpointKey, FeedbackIntent, HapticType, ResponsiveScales, ScreenInfo, SpacingToken, SquirclePathParams } from './utils/index.js';
|
|
15
|
-
export { Breakpoints, configureFeedback, feedback, hapticForIntent, isFeedbackEnabled, isScreenSize, isTablet, Margin, Padding, Responsive, ScreenDimensions, Spacing, SQUIRCLE_MIN_RADIUS, SQUIRCLE_SMOOTHING, setHapticImplementation, shadowStyle, smoothCorners, squircleApplies, squircleHostRadius, squirclePath, triggerHaptic, useScreenDimensions, warnUnknownProps } from './utils/index.js';
|
|
14
|
+
export type { AnnounceOptions, BreakpointKey, FeedbackIntent, HapticType, ResponsiveScales, ScreenInfo, SpacingToken, SquirclePathParams } from './utils/index.js';
|
|
15
|
+
export { announce, Breakpoints, configureFeedback, feedback, hapticForIntent, isFeedbackEnabled, isScreenSize, isTablet, Margin, Padding, Responsive, ScreenDimensions, Spacing, SQUIRCLE_MIN_RADIUS, SQUIRCLE_SMOOTHING, setHapticImplementation, shadowStyle, smoothCorners, squircleApplies, squircleHostRadius, squirclePath, triggerHaptic, useScreenDimensions, warnUnknownProps } from './utils/index.js';
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,7 +3,7 @@ export interface PdfDocumentInfo {
|
|
|
3
3
|
/** Opaque handle for every subsequent call (getPageInfo/renderPage/close) — NOT the file path. */
|
|
4
4
|
handle: string;
|
|
5
5
|
pageCount: number;
|
|
6
|
-
/** Points (1/72 in), the
|
|
6
|
+
/** 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. */
|
|
7
7
|
pageWidth: number;
|
|
8
8
|
pageHeight: number;
|
|
9
9
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type AnnounceOptions = {
|
|
2
|
+
/** Polite (default) waits for current speech; `false` interrupts. Use `false` only for errors. */
|
|
3
|
+
polite?: boolean;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Speaks `message` through the screen reader without moving focus.
|
|
7
|
+
*
|
|
8
|
+
* iOS: queued behind current speech when polite, high priority and interrupting
|
|
9
|
+
* when not. Android: React Native exposes one announcement path with no
|
|
10
|
+
* priority, so polite and assertive both go through it. Web: a hidden
|
|
11
|
+
* `aria-live` region, `polite` or `assertive` (role `alert`).
|
|
12
|
+
*/
|
|
13
|
+
export declare const announce: (message: string, options?: AnnounceOptions) => void;
|
|
14
|
+
//# sourceMappingURL=announce.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type HapticType = 'selection' | 'impactLight' | 'impactMedium' | 'impactHeavy' | 'notificationSuccess' | 'notificationWarning' | 'notificationError';
|
|
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
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { LayoutRectangle } from 'react-native';
|
|
2
|
+
import type { EdgeInsets } from 'react-native-safe-area-context';
|
|
3
|
+
/**
|
|
4
|
+
* The anchored-surface engine: where a menu, a context menu or a tooltip sits
|
|
5
|
+
* against the view that opened it. Pure geometry in window coordinates (what
|
|
6
|
+
* `measureInWindow` reports), so it runs the same on iOS, Android and web.
|
|
7
|
+
*/
|
|
8
|
+
export type PlacementPreference = 'top' | 'bottom' | 'auto';
|
|
9
|
+
export type ResolvedPlacement = 'top' | 'bottom';
|
|
10
|
+
export type PlacementAlign = 'center' | 'start' | 'end';
|
|
11
|
+
export interface PlacementViewport {
|
|
12
|
+
width: number;
|
|
13
|
+
height: number;
|
|
14
|
+
insets: EdgeInsets;
|
|
15
|
+
}
|
|
16
|
+
export interface PlacementOptions {
|
|
17
|
+
/** Space between the anchor and the surface. Default 8. */
|
|
18
|
+
gap?: number;
|
|
19
|
+
/** Least distance from each safe edge of the viewport. Default 8. */
|
|
20
|
+
margin?: number;
|
|
21
|
+
/** Horizontal alignment against the anchor, in left-to-right terms. Default `'center'`. */
|
|
22
|
+
align?: PlacementAlign;
|
|
23
|
+
}
|
|
24
|
+
export interface PlacementResult {
|
|
25
|
+
x: number;
|
|
26
|
+
y: number;
|
|
27
|
+
placement: ResolvedPlacement;
|
|
28
|
+
}
|
|
29
|
+
export interface PlacementRoom {
|
|
30
|
+
above: number;
|
|
31
|
+
below: number;
|
|
32
|
+
}
|
|
33
|
+
export declare const PLACEMENT_GAP = 8;
|
|
34
|
+
export declare const PLACEMENT_MARGIN = 8;
|
|
35
|
+
/** Height free above and below the anchor, inside the safe area and the margin. */
|
|
36
|
+
export declare const placementRoom: (anchor: LayoutRectangle, viewport: PlacementViewport, options?: PlacementOptions) => PlacementRoom;
|
|
37
|
+
/**
|
|
38
|
+
* Places a surface of `content` size against `anchor`. `'top'` and `'bottom'`
|
|
39
|
+
* are preferences that flip when the surface does not fit and the other side
|
|
40
|
+
* has more room; `'auto'` takes the side with more room. The surface never
|
|
41
|
+
* covers a visible anchor: when it is taller than the room on its side the
|
|
42
|
+
* caller caps its height to `placementRoom(...)` and lets it scroll. The
|
|
43
|
+
* horizontal position is clamped inside the safe area.
|
|
44
|
+
*/
|
|
45
|
+
export declare const computePlacement: (anchor: LayoutRectangle, content: {
|
|
46
|
+
width: number;
|
|
47
|
+
height: number;
|
|
48
|
+
}, viewport: PlacementViewport, preferred: PlacementPreference, options?: PlacementOptions) => PlacementResult;
|
|
49
|
+
/**
|
|
50
|
+
* Where along a surface's edge an arrow sits so it points at the anchor's
|
|
51
|
+
* centre, kept `cornerPadding` away from the surface's corners.
|
|
52
|
+
*/
|
|
53
|
+
export declare const arrowOffset: (anchorCenter: number, surfaceStart: number, surfaceLength: number, cornerPadding: number) => number;
|
|
54
|
+
export declare const claimAnchoredSurface: (close: () => void) => (() => void);
|
|
55
|
+
//# sourceMappingURL=placement.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/mobile-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Beautiful, animated, accessible React Native components, theme and form engine for Webority projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@webority/mobile-core": ">=0.
|
|
63
|
+
"@webority/mobile-core": ">=0.11.0 <0.12.0",
|
|
64
64
|
"expo": ">=57.0.0",
|
|
65
65
|
"expo-file-system": ">=57.0.0",
|
|
66
66
|
"expo-haptics": ">=57.0.0",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
]
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
|
-
"@webority/mobile-core": "0.
|
|
110
|
+
"@webority/mobile-core": "0.11.0"
|
|
111
111
|
},
|
|
112
112
|
"scripts": {
|
|
113
113
|
"build": "bob build && node ../../scripts/minify-lib.mjs",
|
|
@@ -5,7 +5,7 @@ export interface PdfDocumentInfo {
|
|
|
5
5
|
/** Opaque handle for every subsequent call (getPageInfo/renderPage/close) — NOT the file path. */
|
|
6
6
|
handle: string;
|
|
7
7
|
pageCount: number;
|
|
8
|
-
/** Points (1/72 in), the
|
|
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
9
|
pageWidth: number;
|
|
10
10
|
pageHeight: number;
|
|
11
11
|
}
|