@webority/mobile-ui 0.104.1 → 0.107.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/canvas-kit/kit.js +13030 -12819
- package/dist/canvas-kit/manifest.json +984 -767
- package/dist/canvas-kit/release.json +6 -6
- package/lib/commonjs/components/Accordion/Accordion.js +1 -1
- package/lib/commonjs/components/AmountSlider/AmountSlider.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/AppBar.js +1 -1
- package/lib/commonjs/components/AppBar/index.js +1 -1
- package/lib/commonjs/components/AppIcon/AppIcon.js +1 -1
- package/lib/commonjs/components/AppLockOverlay/AppLockOverlay.js +1 -0
- package/lib/commonjs/components/AppLockOverlay/index.js +1 -0
- package/lib/commonjs/components/AsyncBlock/AsyncBlock.js +1 -1
- package/lib/commonjs/components/AsyncBlock/index.js +1 -1
- package/lib/commonjs/components/AuthedImage/AuthedImage.js +1 -1
- package/lib/commonjs/components/AuthedImage/authedImageCache.js +1 -1
- package/lib/commonjs/components/Autocomplete/Autocomplete.js +1 -1
- package/lib/commonjs/components/Autocomplete/index.js +1 -1
- package/lib/commonjs/components/Avatar/Avatar.js +1 -1
- package/lib/commonjs/components/Avatar/index.js +1 -1
- package/lib/commonjs/components/Badge/Badge.js +1 -1
- package/lib/commonjs/components/Badge/index.js +1 -1
- package/lib/commonjs/components/Banner/Banner.js +1 -1
- package/lib/commonjs/components/Banner/index.js +1 -1
- package/lib/commonjs/components/BarChart/BarChart.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/Calendar/Calendar.js +1 -1
- package/lib/commonjs/components/Calendar/CalendarDay.js +1 -1
- package/lib/commonjs/components/Calendar/calendarStyles.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/Carousel.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/Chip/Chip.js +1 -1
- package/lib/commonjs/components/Chip/index.js +1 -1
- package/lib/commonjs/components/ChoiceGroup/ChoiceGroup.js +1 -1
- package/lib/commonjs/components/Composer/Composer.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/Confirm/confirm.js +1 -0
- package/lib/commonjs/components/Confirm/index.js +1 -0
- package/lib/commonjs/components/DatePicker/DatePicker.js +1 -1
- package/lib/commonjs/components/DatePicker/index.js +1 -1
- package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +1 -1
- package/lib/commonjs/components/DateRangePicker/index.js +1 -1
- package/lib/commonjs/components/DateSeparator/DateSeparator.js +1 -1
- package/lib/commonjs/components/DecimalInput/DecimalInput.js +1 -1
- package/lib/commonjs/components/DecimalInput/index.js +1 -1
- package/lib/commonjs/components/Descriptions/Descriptions.js +1 -1
- package/lib/commonjs/components/Dialog/Dialog.js +1 -1
- package/lib/commonjs/components/Divider/Divider.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/EmptyState.js +1 -1
- package/lib/commonjs/components/ErrorBoundary/ErrorBoundary.js +1 -1
- package/lib/commonjs/components/ErrorBoundary/index.js +1 -1
- 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/FilePicker/FilePicker.js +1 -1
- package/lib/commonjs/components/FilePicker/index.js +1 -1
- package/lib/commonjs/components/FilterChipRow/FilterChipRow.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/ForceUpdateDialog.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/IconBadge/IconBadge.js +1 -1
- package/lib/commonjs/components/IconButton/IconButton.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/InlineSelect.js +1 -1
- package/lib/commonjs/components/InlineSelect/index.js +1 -1
- package/lib/commonjs/components/Input/Input.js +1 -1
- package/lib/commonjs/components/Input/index.js +1 -1
- package/lib/commonjs/components/KeyboardToolbar/KeyboardToolbar.js +1 -1
- package/lib/commonjs/components/KeyboardToolbar/index.js +1 -1
- package/lib/commonjs/components/ListItem/ListItem.js +1 -1
- package/lib/commonjs/components/LoaderOverlay/LoaderOverlay.js +1 -1
- package/lib/commonjs/components/LoaderOverlay/index.js +1 -1
- package/lib/commonjs/components/Menu/Menu.js +1 -1
- package/lib/commonjs/components/Menu/MenuSurface.js +1 -1
- package/lib/commonjs/components/Menu/index.js +1 -1
- package/lib/commonjs/components/Menu/menuModel.js +1 -1
- package/lib/commonjs/components/Menu/useContextMenu.js +1 -1
- package/lib/commonjs/components/MessageBubble/MessageBubble.js +1 -1
- package/lib/commonjs/components/Modal/Modal.js +1 -1
- package/lib/commonjs/components/Modal/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/OTPInput.js +1 -1
- package/lib/commonjs/components/OTPInput/index.js +1 -1
- package/lib/commonjs/components/OnboardingPager/OnboardingPager.js +1 -1
- package/lib/commonjs/components/OnboardingPager/index.js +1 -1
- package/lib/commonjs/components/OptionSheet/OptionSheet.js +1 -1
- package/lib/commonjs/components/OptionSheet/index.js +1 -1
- package/lib/commonjs/components/PagedListFooter/PagedListFooter.js +1 -0
- package/lib/commonjs/components/PagedListFooter/index.js +1 -0
- package/lib/commonjs/components/PermissionPrompt/PermissionPrompt.js +1 -1
- package/lib/commonjs/components/PermissionPrompt/index.js +1 -1
- package/lib/commonjs/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
- package/lib/commonjs/components/PhoneNumberInput/index.js +1 -1
- package/lib/commonjs/components/PickerTrigger/PickerTrigger.js +1 -1
- package/lib/commonjs/components/PickerTrigger/index.js +1 -1
- package/lib/commonjs/components/ProfileCompletion/ProfileCompletion.js +1 -1
- package/lib/commonjs/components/ProfileCompletion/index.js +1 -1
- package/lib/commonjs/components/ProfilePicker/ProfilePicker.js +1 -1
- package/lib/commonjs/components/ProfilePicker/index.js +1 -1
- package/lib/commonjs/components/ProgressBar/ProgressBar.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/Radio/Radio.js +1 -1
- package/lib/commonjs/components/Radio/RadioGroup.js +1 -1
- package/lib/commonjs/components/Rating/Rating.js +1 -1
- package/lib/commonjs/components/Rating/index.js +1 -1
- package/lib/commonjs/components/Repeater/Repeater.js +1 -1
- package/lib/commonjs/components/Repeater/index.js +1 -1
- package/lib/commonjs/components/RichTextEditor/RichTextEditor.js +1 -1
- package/lib/commonjs/components/RichTextEditor/index.js +1 -1
- package/lib/commonjs/components/ScannerOverlay/ScannerOverlay.js +1 -1
- package/lib/commonjs/components/ScannerOverlay/index.js +1 -1
- package/lib/commonjs/components/Screen/Screen.js +1 -1
- package/lib/commonjs/components/SearchBar/SearchBar.js +1 -1
- package/lib/commonjs/components/SearchBar/SearchPanel.js +1 -1
- package/lib/commonjs/components/SearchBar/index.js +1 -1
- package/lib/commonjs/components/SectionHeader/SectionHeader.js +1 -1
- package/lib/commonjs/components/SectionHeader/index.js +1 -1
- package/lib/commonjs/components/SegmentedControl/SegmentedControl.js +1 -1
- package/lib/commonjs/components/Select/Select.js +1 -1
- package/lib/commonjs/components/Select/index.js +1 -1
- package/lib/commonjs/components/SignaturePad/SignaturePad.js +1 -1
- package/lib/commonjs/components/SignaturePad/index.js +1 -1
- package/lib/commonjs/components/Skeleton/Skeleton.js +1 -1
- package/lib/commonjs/components/Skeleton/SkeletonContent.js +1 -1
- package/lib/commonjs/components/Skeleton/SkeletonList.js +1 -1
- package/lib/commonjs/components/Skeleton/index.js +1 -1
- package/lib/commonjs/components/SlideToConfirm/SlideToConfirm.js +1 -1
- package/lib/commonjs/components/SlideToConfirm/index.js +1 -1
- package/lib/commonjs/components/Slider/Slider.js +1 -1
- package/lib/commonjs/components/Slider/valueText.js +1 -1
- package/lib/commonjs/components/SliderField/SliderField.js +1 -1
- package/lib/commonjs/components/SliderField/index.js +1 -1
- package/lib/commonjs/components/SortableList/SortableList.js +1 -1
- package/lib/commonjs/components/SortableList/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/Spinner.js +1 -1
- package/lib/commonjs/components/Spinner/index.js +1 -1
- package/lib/commonjs/components/StatTile/StatTile.js +1 -1
- package/lib/commonjs/components/StatusBadge/StatusBadge.js +1 -1
- package/lib/commonjs/components/StatusBadge/statusMap.js +1 -0
- package/lib/commonjs/components/Stepper/Stepper.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/Switch/Switch.js +1 -1
- package/lib/commonjs/components/Tabs/Tabs.js +1 -1
- package/lib/commonjs/components/TagInput/TagInput.js +1 -1
- package/lib/commonjs/components/Text/Text.js +1 -1
- package/lib/commonjs/components/TimePicker/TimePicker.js +1 -1
- package/lib/commonjs/components/TimePicker/index.js +1 -1
- package/lib/commonjs/components/Timeline/Timeline.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/Toast/index.js +1 -1
- package/lib/commonjs/components/Tooltip/RichTooltipBody.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/Tour.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/Wheel.js +1 -1
- package/lib/commonjs/components/WheelPicker/WheelPicker.js +1 -1
- package/lib/commonjs/components/WheelPicker/index.js +1 -1
- package/lib/commonjs/components/index.js +1 -1
- package/lib/commonjs/components/not-drawn.json +2 -1
- package/lib/commonjs/form/index.js +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/navigation/DiscardGuard.js +1 -0
- package/lib/commonjs/navigation/NavigationScreen.js +1 -0
- package/lib/commonjs/navigation/index.js +1 -0
- package/lib/commonjs/theme/index.js +1 -1
- package/lib/commonjs/theme/makeStyles.js +1 -0
- package/lib/commonjs/theme/merge.js +1 -1
- package/lib/commonjs/theme/tokens.generated.js +1 -1
- package/lib/commonjs/utils/placement.js +1 -1
- package/lib/commonjs/utils/warnInvalidValue.js +1 -1
- package/lib/module/components/Accordion/Accordion.js +1 -1
- package/lib/module/components/AmountSlider/AmountSlider.js +1 -1
- package/lib/module/components/AmountSlider/index.js +1 -1
- package/lib/module/components/AnimatePresence/AnimatePresence.js +1 -1
- package/lib/module/components/AppBar/AppBar.js +1 -1
- package/lib/module/components/AppBar/index.js +1 -1
- package/lib/module/components/AppIcon/AppIcon.js +1 -1
- package/lib/module/components/AppLockOverlay/AppLockOverlay.js +1 -0
- package/lib/module/components/AppLockOverlay/index.js +1 -0
- package/lib/module/components/AsyncBlock/AsyncBlock.js +1 -1
- package/lib/module/components/AsyncBlock/index.js +1 -1
- package/lib/module/components/AuthedImage/AuthedImage.js +1 -1
- package/lib/module/components/AuthedImage/authedImageCache.js +1 -1
- package/lib/module/components/Autocomplete/Autocomplete.js +1 -1
- package/lib/module/components/Autocomplete/index.js +1 -1
- package/lib/module/components/Avatar/Avatar.js +1 -1
- package/lib/module/components/Avatar/index.js +1 -1
- package/lib/module/components/Badge/Badge.js +1 -1
- package/lib/module/components/Badge/index.js +1 -1
- package/lib/module/components/Banner/Banner.js +1 -1
- package/lib/module/components/Banner/index.js +1 -1
- package/lib/module/components/BarChart/BarChart.js +1 -1
- package/lib/module/components/BarChart/index.js +1 -1
- package/lib/module/components/BottomNavigation/BottomNavigation.js +1 -1
- package/lib/module/components/BottomNavigation/index.js +1 -1
- package/lib/module/components/BottomSheet/BottomSheet.js +1 -1
- package/lib/module/components/BottomSheet/index.js +1 -1
- package/lib/module/components/Button/Button.js +1 -1
- package/lib/module/components/Calendar/Calendar.js +1 -1
- package/lib/module/components/Calendar/CalendarDay.js +1 -1
- package/lib/module/components/Calendar/calendarStyles.js +1 -1
- package/lib/module/components/Calendar/index.js +1 -1
- package/lib/module/components/Card/Card.js +1 -1
- package/lib/module/components/Card/index.js +1 -1
- package/lib/module/components/Carousel/Carousel.js +1 -1
- package/lib/module/components/Carousel/index.js +1 -1
- package/lib/module/components/Checkbox/Checkbox.js +1 -1
- package/lib/module/components/Chip/Chip.js +1 -1
- package/lib/module/components/Chip/index.js +1 -1
- package/lib/module/components/ChoiceGroup/ChoiceGroup.js +1 -1
- package/lib/module/components/Composer/Composer.js +1 -1
- package/lib/module/components/Composer/index.js +1 -1
- package/lib/module/components/Confetti/Confetti.js +1 -1
- package/lib/module/components/Confirm/confirm.js +1 -0
- package/lib/module/components/Confirm/index.js +1 -0
- package/lib/module/components/DatePicker/DatePicker.js +1 -1
- package/lib/module/components/DatePicker/index.js +1 -1
- package/lib/module/components/DateRangePicker/DateRangePicker.js +1 -1
- package/lib/module/components/DateRangePicker/index.js +1 -1
- package/lib/module/components/DateSeparator/DateSeparator.js +1 -1
- package/lib/module/components/DecimalInput/DecimalInput.js +1 -1
- package/lib/module/components/DecimalInput/index.js +1 -1
- package/lib/module/components/Descriptions/Descriptions.js +1 -1
- package/lib/module/components/Dialog/Dialog.js +1 -1
- package/lib/module/components/Divider/Divider.js +1 -1
- package/lib/module/components/Drawer/Drawer.js +1 -1
- package/lib/module/components/Drawer/index.js +1 -1
- package/lib/module/components/EmptyState/EmptyState.js +1 -1
- package/lib/module/components/ErrorBoundary/ErrorBoundary.js +1 -1
- package/lib/module/components/ErrorBoundary/index.js +1 -1
- 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/FilePicker/FilePicker.js +1 -1
- package/lib/module/components/FilePicker/index.js +1 -1
- package/lib/module/components/FilterChipRow/FilterChipRow.js +1 -1
- package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -1
- package/lib/module/components/FloatingActionButton/index.js +1 -1
- package/lib/module/components/ForceUpdateDialog/ForceUpdateDialog.js +1 -1
- package/lib/module/components/ForceUpdateDialog/index.js +1 -1
- package/lib/module/components/FormField/FormField.js +1 -1
- package/lib/module/components/FormField/index.js +1 -1
- package/lib/module/components/IconBadge/IconBadge.js +1 -1
- package/lib/module/components/IconButton/IconButton.js +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
- package/lib/module/components/ImageGallery/index.js +1 -1
- package/lib/module/components/InlineSelect/InlineSelect.js +1 -1
- package/lib/module/components/InlineSelect/index.js +1 -1
- package/lib/module/components/Input/Input.js +1 -1
- package/lib/module/components/Input/index.js +1 -1
- package/lib/module/components/KeyboardToolbar/KeyboardToolbar.js +1 -1
- package/lib/module/components/KeyboardToolbar/index.js +1 -1
- package/lib/module/components/ListItem/ListItem.js +1 -1
- package/lib/module/components/LoaderOverlay/LoaderOverlay.js +1 -1
- package/lib/module/components/LoaderOverlay/index.js +1 -1
- package/lib/module/components/Menu/Menu.js +1 -1
- package/lib/module/components/Menu/MenuSurface.js +1 -1
- package/lib/module/components/Menu/index.js +1 -1
- package/lib/module/components/Menu/menuModel.js +1 -1
- package/lib/module/components/Menu/useContextMenu.js +1 -1
- package/lib/module/components/MessageBubble/MessageBubble.js +1 -1
- package/lib/module/components/Modal/Modal.js +1 -1
- package/lib/module/components/Modal/index.js +1 -1
- package/lib/module/components/NumberInput/NumberInput.js +1 -1
- package/lib/module/components/NumberInput/index.js +1 -1
- package/lib/module/components/OTPInput/OTPInput.js +1 -1
- package/lib/module/components/OTPInput/index.js +1 -1
- package/lib/module/components/OnboardingPager/OnboardingPager.js +1 -1
- package/lib/module/components/OnboardingPager/index.js +1 -1
- package/lib/module/components/OptionSheet/OptionSheet.js +1 -1
- package/lib/module/components/OptionSheet/index.js +1 -1
- package/lib/module/components/PagedListFooter/PagedListFooter.js +1 -0
- package/lib/module/components/PagedListFooter/index.js +1 -0
- package/lib/module/components/PermissionPrompt/PermissionPrompt.js +1 -1
- package/lib/module/components/PermissionPrompt/index.js +1 -1
- package/lib/module/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
- package/lib/module/components/PhoneNumberInput/index.js +1 -1
- package/lib/module/components/PickerTrigger/PickerTrigger.js +1 -1
- package/lib/module/components/PickerTrigger/index.js +1 -1
- package/lib/module/components/ProfileCompletion/ProfileCompletion.js +1 -1
- package/lib/module/components/ProfileCompletion/index.js +1 -1
- package/lib/module/components/ProfilePicker/ProfilePicker.js +1 -1
- package/lib/module/components/ProfilePicker/index.js +1 -1
- package/lib/module/components/ProgressBar/ProgressBar.js +1 -1
- package/lib/module/components/ProgressBar/index.js +1 -1
- package/lib/module/components/ProgressRing/ProgressRing.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/Rating/Rating.js +1 -1
- package/lib/module/components/Rating/index.js +1 -1
- package/lib/module/components/Repeater/Repeater.js +1 -1
- package/lib/module/components/Repeater/index.js +1 -1
- package/lib/module/components/RichTextEditor/RichTextEditor.js +1 -1
- package/lib/module/components/RichTextEditor/index.js +1 -1
- package/lib/module/components/ScannerOverlay/ScannerOverlay.js +1 -1
- package/lib/module/components/ScannerOverlay/index.js +1 -1
- package/lib/module/components/Screen/Screen.js +1 -1
- package/lib/module/components/SearchBar/SearchBar.js +1 -1
- package/lib/module/components/SearchBar/SearchPanel.js +1 -1
- package/lib/module/components/SearchBar/index.js +1 -1
- package/lib/module/components/SectionHeader/SectionHeader.js +1 -1
- package/lib/module/components/SectionHeader/index.js +1 -1
- package/lib/module/components/SegmentedControl/SegmentedControl.js +1 -1
- package/lib/module/components/Select/Select.js +1 -1
- package/lib/module/components/Select/index.js +1 -1
- package/lib/module/components/SignaturePad/SignaturePad.js +1 -1
- package/lib/module/components/SignaturePad/index.js +1 -1
- package/lib/module/components/Skeleton/Skeleton.js +1 -1
- package/lib/module/components/Skeleton/SkeletonContent.js +1 -1
- package/lib/module/components/Skeleton/SkeletonList.js +1 -1
- package/lib/module/components/Skeleton/index.js +1 -1
- package/lib/module/components/SlideToConfirm/SlideToConfirm.js +1 -1
- package/lib/module/components/SlideToConfirm/index.js +1 -1
- package/lib/module/components/Slider/Slider.js +1 -1
- package/lib/module/components/Slider/valueText.js +1 -1
- package/lib/module/components/SliderField/SliderField.js +1 -1
- package/lib/module/components/SliderField/index.js +1 -1
- package/lib/module/components/SortableList/SortableList.js +1 -1
- package/lib/module/components/SortableList/index.js +1 -1
- package/lib/module/components/Sparkline/Sparkline.js +1 -1
- package/lib/module/components/Sparkline/index.js +1 -1
- package/lib/module/components/Spinner/Spinner.js +1 -1
- package/lib/module/components/Spinner/index.js +1 -1
- package/lib/module/components/StatTile/StatTile.js +1 -1
- package/lib/module/components/StatusBadge/StatusBadge.js +1 -1
- package/lib/module/components/StatusBadge/statusMap.js +1 -0
- package/lib/module/components/Stepper/Stepper.js +1 -1
- package/lib/module/components/Stepper/index.js +1 -1
- package/lib/module/components/Swipeable/Swipeable.js +1 -1
- package/lib/module/components/Switch/Switch.js +1 -1
- package/lib/module/components/Tabs/Tabs.js +1 -1
- package/lib/module/components/TagInput/TagInput.js +1 -1
- package/lib/module/components/Text/Text.js +1 -1
- package/lib/module/components/TimePicker/TimePicker.js +1 -1
- package/lib/module/components/TimePicker/index.js +1 -1
- package/lib/module/components/Timeline/Timeline.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/Toast/index.js +1 -1
- package/lib/module/components/Tooltip/RichTooltipBody.js +1 -1
- package/lib/module/components/Tooltip/Tooltip.js +1 -1
- package/lib/module/components/Tooltip/index.js +1 -1
- package/lib/module/components/Tour/Tour.js +1 -1
- package/lib/module/components/Tour/index.js +1 -1
- package/lib/module/components/TypingIndicator/TypingIndicator.js +1 -1
- package/lib/module/components/TypingIndicator/index.js +1 -1
- package/lib/module/components/WheelPicker/Wheel.js +1 -1
- package/lib/module/components/WheelPicker/WheelPicker.js +1 -1
- package/lib/module/components/WheelPicker/index.js +1 -1
- package/lib/module/components/index.js +1 -1
- package/lib/module/components/not-drawn.json +2 -1
- package/lib/module/form/index.js +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/navigation/DiscardGuard.js +1 -0
- package/lib/module/navigation/NavigationScreen.js +1 -0
- package/lib/module/navigation/index.js +1 -0
- package/lib/module/theme/index.js +1 -1
- package/lib/module/theme/makeStyles.js +1 -0
- package/lib/module/theme/merge.js +1 -1
- package/lib/module/theme/tokens.generated.js +1 -1
- package/lib/module/utils/placement.js +1 -1
- package/lib/module/utils/warnInvalidValue.js +1 -1
- package/lib/typescript/commonjs/components/AmountSlider/AmountSlider.d.ts +24 -17
- package/lib/typescript/commonjs/components/AmountSlider/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +13 -8
- package/lib/typescript/commonjs/components/AppBar/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/AppIcon/AppIcon.d.ts +2 -1
- package/lib/typescript/commonjs/components/AppLockOverlay/AppLockOverlay.d.ts +27 -0
- package/lib/typescript/commonjs/components/AppLockOverlay/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/AsyncBlock/AsyncBlock.d.ts +13 -4
- package/lib/typescript/commonjs/components/AsyncBlock/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/AuthedImage/AuthedImage.d.ts +12 -1
- package/lib/typescript/commonjs/components/AuthedImage/authedImageCache.d.ts +1 -1
- package/lib/typescript/commonjs/components/Autocomplete/Autocomplete.d.ts +9 -4
- package/lib/typescript/commonjs/components/Autocomplete/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +19 -8
- package/lib/typescript/commonjs/components/Avatar/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Badge/Badge.d.ts +9 -2
- package/lib/typescript/commonjs/components/Badge/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Banner/Banner.d.ts +16 -8
- package/lib/typescript/commonjs/components/Banner/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/BarChart/BarChart.d.ts +12 -3
- package/lib/typescript/commonjs/components/BarChart/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +8 -0
- package/lib/typescript/commonjs/components/BottomNavigation/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +42 -58
- package/lib/typescript/commonjs/components/BottomSheet/index.d.ts +2 -4
- package/lib/typescript/commonjs/components/Button/Button.d.ts +13 -11
- package/lib/typescript/commonjs/components/Button/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Calendar/Calendar.d.ts +24 -15
- package/lib/typescript/commonjs/components/Calendar/CalendarDay.d.ts +1 -4
- package/lib/typescript/commonjs/components/Calendar/calendarStyles.d.ts +4 -7
- package/lib/typescript/commonjs/components/Calendar/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Card/Card.d.ts +13 -6
- package/lib/typescript/commonjs/components/Card/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Carousel/Carousel.d.ts +7 -0
- package/lib/typescript/commonjs/components/Carousel/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +10 -12
- package/lib/typescript/commonjs/components/Chip/Chip.d.ts +12 -6
- package/lib/typescript/commonjs/components/Chip/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +11 -4
- package/lib/typescript/commonjs/components/Composer/Composer.d.ts +8 -3
- package/lib/typescript/commonjs/components/Composer/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Confirm/confirm.d.ts +17 -0
- package/lib/typescript/commonjs/components/Confirm/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/DatePicker/DatePicker.d.ts +22 -6
- package/lib/typescript/commonjs/components/DatePicker/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +12 -8
- package/lib/typescript/commonjs/components/DateRangePicker/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/DecimalInput/DecimalInput.d.ts +11 -15
- package/lib/typescript/commonjs/components/DecimalInput/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Descriptions/Descriptions.d.ts +2 -1
- package/lib/typescript/commonjs/components/Dialog/Dialog.d.ts +7 -4
- package/lib/typescript/commonjs/components/Dialog/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Drawer/Drawer.d.ts +8 -1
- package/lib/typescript/commonjs/components/Drawer/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/EmptyState/EmptyState.d.ts +7 -2
- package/lib/typescript/commonjs/components/ErrorBoundary/ErrorBoundary.d.ts +8 -0
- package/lib/typescript/commonjs/components/ErrorBoundary/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/FieldBase/ChoiceText.d.ts +12 -9
- package/lib/typescript/commonjs/components/FieldBase/FieldBase.d.ts +5 -4
- package/lib/typescript/commonjs/components/FieldBase/useFloatingLabel.d.ts +3 -3
- package/lib/typescript/commonjs/components/FilePicker/FilePicker.d.ts +27 -25
- package/lib/typescript/commonjs/components/FilePicker/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +28 -11
- package/lib/typescript/commonjs/components/FloatingActionButton/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +11 -6
- package/lib/typescript/commonjs/components/ForceUpdateDialog/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/FormField/FormField.d.ts +8 -12
- package/lib/typescript/commonjs/components/FormField/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/IconBadge/IconBadge.d.ts +3 -2
- package/lib/typescript/commonjs/components/IconButton/IconButton.d.ts +4 -3
- package/lib/typescript/commonjs/components/ImageGallery/ImageGallery.d.ts +12 -0
- package/lib/typescript/commonjs/components/ImageGallery/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/InlineSelect/InlineSelect.d.ts +12 -2
- package/lib/typescript/commonjs/components/InlineSelect/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Input/Input.d.ts +11 -2
- package/lib/typescript/commonjs/components/Input/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/KeyboardToolbar/KeyboardToolbar.d.ts +12 -10
- package/lib/typescript/commonjs/components/KeyboardToolbar/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +3 -3
- package/lib/typescript/commonjs/components/LoaderOverlay/LoaderOverlay.d.ts +7 -0
- package/lib/typescript/commonjs/components/LoaderOverlay/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Menu/Menu.d.ts +6 -8
- package/lib/typescript/commonjs/components/Menu/MenuSurface.d.ts +2 -3
- package/lib/typescript/commonjs/components/Menu/index.d.ts +2 -1
- package/lib/typescript/commonjs/components/Menu/menuModel.d.ts +6 -0
- package/lib/typescript/commonjs/components/Menu/useContextMenu.d.ts +4 -6
- package/lib/typescript/commonjs/components/Modal/Modal.d.ts +16 -3
- package/lib/typescript/commonjs/components/Modal/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +9 -1
- package/lib/typescript/commonjs/components/NumberInput/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/OTPInput/OTPInput.d.ts +7 -1
- package/lib/typescript/commonjs/components/OTPInput/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/OnboardingPager/OnboardingPager.d.ts +10 -9
- package/lib/typescript/commonjs/components/OnboardingPager/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/OptionSheet/OptionSheet.d.ts +60 -44
- package/lib/typescript/commonjs/components/OptionSheet/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/PagedListFooter/PagedListFooter.d.ts +15 -0
- package/lib/typescript/commonjs/components/PagedListFooter/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/PermissionPrompt/PermissionPrompt.d.ts +12 -0
- package/lib/typescript/commonjs/components/PermissionPrompt/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/PhoneNumberInput/PhoneNumberInput.d.ts +35 -25
- package/lib/typescript/commonjs/components/PhoneNumberInput/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +11 -3
- package/lib/typescript/commonjs/components/PickerTrigger/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ProfileCompletion/ProfileCompletion.d.ts +13 -5
- package/lib/typescript/commonjs/components/ProfileCompletion/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ProfilePicker/ProfilePicker.d.ts +21 -20
- package/lib/typescript/commonjs/components/ProfilePicker/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +8 -3
- package/lib/typescript/commonjs/components/ProgressBar/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ProgressRing/ProgressRing.d.ts +2 -2
- package/lib/typescript/commonjs/components/ProgressRing/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Radio/Radio.d.ts +10 -7
- package/lib/typescript/commonjs/components/Radio/RadioGroup.d.ts +3 -3
- package/lib/typescript/commonjs/components/Rating/Rating.d.ts +8 -2
- package/lib/typescript/commonjs/components/Rating/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Repeater/Repeater.d.ts +16 -6
- package/lib/typescript/commonjs/components/Repeater/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/RichTextEditor/RichTextEditor.d.ts +4 -0
- package/lib/typescript/commonjs/components/RichTextEditor/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/ScannerOverlay/ScannerOverlay.d.ts +5 -2
- package/lib/typescript/commonjs/components/ScannerOverlay/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Screen/Screen.d.ts +33 -10
- package/lib/typescript/commonjs/components/Screen/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +22 -8
- package/lib/typescript/commonjs/components/SearchBar/SearchPanel.d.ts +3 -1
- package/lib/typescript/commonjs/components/SearchBar/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/SearchBar/useRecentSearches.d.ts +1 -1
- package/lib/typescript/commonjs/components/SectionHeader/SectionHeader.d.ts +5 -0
- package/lib/typescript/commonjs/components/SectionHeader/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +3 -2
- package/lib/typescript/commonjs/components/Select/Select.d.ts +18 -8
- package/lib/typescript/commonjs/components/Select/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/SignaturePad/SignaturePad.d.ts +3 -2
- package/lib/typescript/commonjs/components/SignaturePad/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Skeleton/Skeleton.d.ts +7 -0
- package/lib/typescript/commonjs/components/Skeleton/SkeletonContent.d.ts +3 -1
- package/lib/typescript/commonjs/components/Skeleton/SkeletonList.d.ts +3 -1
- package/lib/typescript/commonjs/components/Skeleton/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/SlideToConfirm/SlideToConfirm.d.ts +12 -5
- package/lib/typescript/commonjs/components/SlideToConfirm/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Slider/Slider.d.ts +3 -2
- package/lib/typescript/commonjs/components/Slider/valueText.d.ts +2 -1
- package/lib/typescript/commonjs/components/SliderField/SliderField.d.ts +15 -3
- package/lib/typescript/commonjs/components/SliderField/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/SortableList/SortableList.d.ts +6 -0
- package/lib/typescript/commonjs/components/SortableList/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Sparkline/Sparkline.d.ts +11 -3
- package/lib/typescript/commonjs/components/Sparkline/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +7 -1
- package/lib/typescript/commonjs/components/Spinner/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/StatTile/StatTile.d.ts +10 -2
- package/lib/typescript/commonjs/components/StatusBadge/StatusBadge.d.ts +8 -5
- package/lib/typescript/commonjs/components/StatusBadge/statusMap.d.ts +8 -0
- package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +15 -1
- package/lib/typescript/commonjs/components/Stepper/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Swipeable/Swipeable.d.ts +4 -2
- package/lib/typescript/commonjs/components/Switch/Switch.d.ts +9 -11
- package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +5 -3
- package/lib/typescript/commonjs/components/TagInput/TagInput.d.ts +3 -4
- package/lib/typescript/commonjs/components/Text/Text.d.ts +6 -5
- package/lib/typescript/commonjs/components/TimePicker/TimePicker.d.ts +17 -4
- package/lib/typescript/commonjs/components/TimePicker/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Toast/Toast.d.ts +11 -5
- package/lib/typescript/commonjs/components/Toast/ToastProvider.d.ts +15 -14
- package/lib/typescript/commonjs/components/Toast/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts +8 -2
- package/lib/typescript/commonjs/components/Tooltip/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/Tour/Tour.d.ts +7 -5
- package/lib/typescript/commonjs/components/Tour/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/TypingIndicator/TypingIndicator.d.ts +7 -2
- package/lib/typescript/commonjs/components/TypingIndicator/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/WheelPicker/WheelPicker.d.ts +13 -6
- package/lib/typescript/commonjs/components/WheelPicker/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/index.d.ts +125 -119
- package/lib/typescript/commonjs/form/HookFormField.d.ts +1 -1
- package/lib/typescript/commonjs/form/index.d.ts +0 -8
- package/lib/typescript/commonjs/index.d.ts +6 -5
- package/lib/typescript/commonjs/navigation/DiscardGuard.d.ts +26 -0
- package/lib/typescript/commonjs/navigation/NavigationScreen.d.ts +12 -0
- package/lib/typescript/commonjs/navigation/index.d.ts +5 -0
- package/lib/typescript/commonjs/theme/index.d.ts +1 -0
- package/lib/typescript/commonjs/theme/makeStyles.d.ts +5 -0
- package/lib/typescript/commonjs/theme/tokens.generated.d.ts +3 -1
- package/lib/typescript/commonjs/theme/types.d.ts +15 -2
- package/lib/typescript/commonjs/types/vocabulary.d.ts +10 -0
- package/lib/typescript/commonjs/utils/placement.d.ts +2 -0
- package/lib/typescript/commonjs/utils/warnInvalidValue.d.ts +1 -1
- package/lib/typescript/module/components/AmountSlider/AmountSlider.d.ts +24 -17
- package/lib/typescript/module/components/AmountSlider/index.d.ts +2 -2
- package/lib/typescript/module/components/AppBar/AppBar.d.ts +13 -8
- package/lib/typescript/module/components/AppBar/index.d.ts +2 -2
- package/lib/typescript/module/components/AppIcon/AppIcon.d.ts +2 -1
- package/lib/typescript/module/components/AppLockOverlay/AppLockOverlay.d.ts +27 -0
- package/lib/typescript/module/components/AppLockOverlay/index.d.ts +3 -0
- package/lib/typescript/module/components/AsyncBlock/AsyncBlock.d.ts +13 -4
- package/lib/typescript/module/components/AsyncBlock/index.d.ts +2 -2
- package/lib/typescript/module/components/AuthedImage/AuthedImage.d.ts +12 -1
- package/lib/typescript/module/components/AuthedImage/authedImageCache.d.ts +1 -1
- package/lib/typescript/module/components/Autocomplete/Autocomplete.d.ts +9 -4
- package/lib/typescript/module/components/Autocomplete/index.d.ts +2 -2
- package/lib/typescript/module/components/Avatar/Avatar.d.ts +19 -8
- package/lib/typescript/module/components/Avatar/index.d.ts +2 -2
- package/lib/typescript/module/components/Badge/Badge.d.ts +9 -2
- package/lib/typescript/module/components/Badge/index.d.ts +2 -2
- package/lib/typescript/module/components/Banner/Banner.d.ts +16 -8
- package/lib/typescript/module/components/Banner/index.d.ts +2 -2
- package/lib/typescript/module/components/BarChart/BarChart.d.ts +12 -3
- package/lib/typescript/module/components/BarChart/index.d.ts +2 -2
- package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +8 -0
- package/lib/typescript/module/components/BottomNavigation/index.d.ts +2 -2
- package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +42 -58
- package/lib/typescript/module/components/BottomSheet/index.d.ts +2 -4
- package/lib/typescript/module/components/Button/Button.d.ts +13 -11
- package/lib/typescript/module/components/Button/index.d.ts +1 -1
- package/lib/typescript/module/components/Calendar/Calendar.d.ts +24 -15
- package/lib/typescript/module/components/Calendar/CalendarDay.d.ts +1 -4
- package/lib/typescript/module/components/Calendar/calendarStyles.d.ts +4 -7
- package/lib/typescript/module/components/Calendar/index.d.ts +2 -2
- package/lib/typescript/module/components/Card/Card.d.ts +13 -6
- package/lib/typescript/module/components/Card/index.d.ts +2 -2
- package/lib/typescript/module/components/Carousel/Carousel.d.ts +7 -0
- package/lib/typescript/module/components/Carousel/index.d.ts +2 -2
- package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +10 -12
- package/lib/typescript/module/components/Chip/Chip.d.ts +12 -6
- package/lib/typescript/module/components/Chip/index.d.ts +2 -2
- package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +11 -4
- package/lib/typescript/module/components/Composer/Composer.d.ts +8 -3
- package/lib/typescript/module/components/Composer/index.d.ts +2 -2
- package/lib/typescript/module/components/Confirm/confirm.d.ts +17 -0
- package/lib/typescript/module/components/Confirm/index.d.ts +3 -0
- package/lib/typescript/module/components/DatePicker/DatePicker.d.ts +22 -6
- package/lib/typescript/module/components/DatePicker/index.d.ts +2 -2
- package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +12 -8
- package/lib/typescript/module/components/DateRangePicker/index.d.ts +2 -2
- package/lib/typescript/module/components/DecimalInput/DecimalInput.d.ts +11 -15
- package/lib/typescript/module/components/DecimalInput/index.d.ts +2 -2
- package/lib/typescript/module/components/Descriptions/Descriptions.d.ts +2 -1
- package/lib/typescript/module/components/Dialog/Dialog.d.ts +7 -4
- package/lib/typescript/module/components/Dialog/index.d.ts +1 -1
- package/lib/typescript/module/components/Drawer/Drawer.d.ts +8 -1
- package/lib/typescript/module/components/Drawer/index.d.ts +2 -2
- package/lib/typescript/module/components/EmptyState/EmptyState.d.ts +7 -2
- package/lib/typescript/module/components/ErrorBoundary/ErrorBoundary.d.ts +8 -0
- package/lib/typescript/module/components/ErrorBoundary/index.d.ts +2 -2
- package/lib/typescript/module/components/FieldBase/ChoiceText.d.ts +12 -9
- package/lib/typescript/module/components/FieldBase/FieldBase.d.ts +5 -4
- package/lib/typescript/module/components/FieldBase/useFloatingLabel.d.ts +3 -3
- package/lib/typescript/module/components/FilePicker/FilePicker.d.ts +27 -25
- package/lib/typescript/module/components/FilePicker/index.d.ts +2 -2
- package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +28 -11
- package/lib/typescript/module/components/FloatingActionButton/index.d.ts +2 -2
- package/lib/typescript/module/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +11 -6
- package/lib/typescript/module/components/ForceUpdateDialog/index.d.ts +2 -2
- package/lib/typescript/module/components/FormField/FormField.d.ts +8 -12
- package/lib/typescript/module/components/FormField/index.d.ts +2 -2
- package/lib/typescript/module/components/IconBadge/IconBadge.d.ts +3 -2
- package/lib/typescript/module/components/IconButton/IconButton.d.ts +4 -3
- package/lib/typescript/module/components/ImageGallery/ImageGallery.d.ts +12 -0
- package/lib/typescript/module/components/ImageGallery/index.d.ts +2 -2
- package/lib/typescript/module/components/InlineSelect/InlineSelect.d.ts +12 -2
- package/lib/typescript/module/components/InlineSelect/index.d.ts +2 -2
- package/lib/typescript/module/components/Input/Input.d.ts +11 -2
- package/lib/typescript/module/components/Input/index.d.ts +2 -2
- package/lib/typescript/module/components/KeyboardToolbar/KeyboardToolbar.d.ts +12 -10
- package/lib/typescript/module/components/KeyboardToolbar/index.d.ts +2 -2
- package/lib/typescript/module/components/ListItem/ListItem.d.ts +3 -3
- package/lib/typescript/module/components/LoaderOverlay/LoaderOverlay.d.ts +7 -0
- package/lib/typescript/module/components/LoaderOverlay/index.d.ts +2 -2
- package/lib/typescript/module/components/Menu/Menu.d.ts +6 -8
- package/lib/typescript/module/components/Menu/MenuSurface.d.ts +2 -3
- package/lib/typescript/module/components/Menu/index.d.ts +2 -1
- package/lib/typescript/module/components/Menu/menuModel.d.ts +6 -0
- package/lib/typescript/module/components/Menu/useContextMenu.d.ts +4 -6
- package/lib/typescript/module/components/Modal/Modal.d.ts +16 -3
- package/lib/typescript/module/components/Modal/index.d.ts +2 -2
- package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +9 -1
- package/lib/typescript/module/components/NumberInput/index.d.ts +2 -2
- package/lib/typescript/module/components/OTPInput/OTPInput.d.ts +7 -1
- package/lib/typescript/module/components/OTPInput/index.d.ts +2 -2
- package/lib/typescript/module/components/OnboardingPager/OnboardingPager.d.ts +10 -9
- package/lib/typescript/module/components/OnboardingPager/index.d.ts +1 -1
- package/lib/typescript/module/components/OptionSheet/OptionSheet.d.ts +60 -44
- package/lib/typescript/module/components/OptionSheet/index.d.ts +2 -2
- package/lib/typescript/module/components/PagedListFooter/PagedListFooter.d.ts +15 -0
- package/lib/typescript/module/components/PagedListFooter/index.d.ts +3 -0
- package/lib/typescript/module/components/PermissionPrompt/PermissionPrompt.d.ts +12 -0
- package/lib/typescript/module/components/PermissionPrompt/index.d.ts +2 -2
- package/lib/typescript/module/components/PhoneNumberInput/PhoneNumberInput.d.ts +35 -25
- package/lib/typescript/module/components/PhoneNumberInput/index.d.ts +2 -2
- package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +11 -3
- package/lib/typescript/module/components/PickerTrigger/index.d.ts +2 -2
- package/lib/typescript/module/components/ProfileCompletion/ProfileCompletion.d.ts +13 -5
- package/lib/typescript/module/components/ProfileCompletion/index.d.ts +2 -2
- package/lib/typescript/module/components/ProfilePicker/ProfilePicker.d.ts +21 -20
- package/lib/typescript/module/components/ProfilePicker/index.d.ts +2 -2
- package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +8 -3
- package/lib/typescript/module/components/ProgressBar/index.d.ts +2 -2
- package/lib/typescript/module/components/ProgressRing/ProgressRing.d.ts +2 -2
- package/lib/typescript/module/components/ProgressRing/index.d.ts +1 -1
- package/lib/typescript/module/components/Radio/Radio.d.ts +10 -7
- package/lib/typescript/module/components/Radio/RadioGroup.d.ts +3 -3
- package/lib/typescript/module/components/Rating/Rating.d.ts +8 -2
- package/lib/typescript/module/components/Rating/index.d.ts +2 -2
- package/lib/typescript/module/components/Repeater/Repeater.d.ts +16 -6
- package/lib/typescript/module/components/Repeater/index.d.ts +2 -2
- package/lib/typescript/module/components/RichTextEditor/RichTextEditor.d.ts +4 -0
- package/lib/typescript/module/components/RichTextEditor/index.d.ts +2 -2
- package/lib/typescript/module/components/ScannerOverlay/ScannerOverlay.d.ts +5 -2
- package/lib/typescript/module/components/ScannerOverlay/index.d.ts +1 -1
- package/lib/typescript/module/components/Screen/Screen.d.ts +33 -10
- package/lib/typescript/module/components/Screen/index.d.ts +1 -1
- package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +22 -8
- package/lib/typescript/module/components/SearchBar/SearchPanel.d.ts +3 -1
- package/lib/typescript/module/components/SearchBar/index.d.ts +2 -2
- package/lib/typescript/module/components/SearchBar/useRecentSearches.d.ts +1 -1
- package/lib/typescript/module/components/SectionHeader/SectionHeader.d.ts +5 -0
- package/lib/typescript/module/components/SectionHeader/index.d.ts +2 -2
- package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +3 -2
- package/lib/typescript/module/components/Select/Select.d.ts +18 -8
- package/lib/typescript/module/components/Select/index.d.ts +2 -2
- package/lib/typescript/module/components/SignaturePad/SignaturePad.d.ts +3 -2
- package/lib/typescript/module/components/SignaturePad/index.d.ts +1 -1
- package/lib/typescript/module/components/Skeleton/Skeleton.d.ts +7 -0
- package/lib/typescript/module/components/Skeleton/SkeletonContent.d.ts +3 -1
- package/lib/typescript/module/components/Skeleton/SkeletonList.d.ts +3 -1
- package/lib/typescript/module/components/Skeleton/index.d.ts +2 -2
- package/lib/typescript/module/components/SlideToConfirm/SlideToConfirm.d.ts +12 -5
- package/lib/typescript/module/components/SlideToConfirm/index.d.ts +2 -2
- package/lib/typescript/module/components/Slider/Slider.d.ts +3 -2
- package/lib/typescript/module/components/Slider/valueText.d.ts +2 -1
- package/lib/typescript/module/components/SliderField/SliderField.d.ts +15 -3
- package/lib/typescript/module/components/SliderField/index.d.ts +2 -2
- package/lib/typescript/module/components/SortableList/SortableList.d.ts +6 -0
- package/lib/typescript/module/components/SortableList/index.d.ts +2 -2
- package/lib/typescript/module/components/Sparkline/Sparkline.d.ts +11 -3
- package/lib/typescript/module/components/Sparkline/index.d.ts +2 -2
- package/lib/typescript/module/components/Spinner/Spinner.d.ts +7 -1
- package/lib/typescript/module/components/Spinner/index.d.ts +2 -2
- package/lib/typescript/module/components/StatTile/StatTile.d.ts +10 -2
- package/lib/typescript/module/components/StatusBadge/StatusBadge.d.ts +8 -5
- package/lib/typescript/module/components/StatusBadge/statusMap.d.ts +8 -0
- package/lib/typescript/module/components/Stepper/Stepper.d.ts +15 -1
- package/lib/typescript/module/components/Stepper/index.d.ts +2 -2
- package/lib/typescript/module/components/Swipeable/Swipeable.d.ts +4 -2
- package/lib/typescript/module/components/Switch/Switch.d.ts +9 -11
- package/lib/typescript/module/components/Tabs/Tabs.d.ts +5 -3
- package/lib/typescript/module/components/TagInput/TagInput.d.ts +3 -4
- package/lib/typescript/module/components/Text/Text.d.ts +6 -5
- package/lib/typescript/module/components/TimePicker/TimePicker.d.ts +17 -4
- package/lib/typescript/module/components/TimePicker/index.d.ts +2 -2
- package/lib/typescript/module/components/Toast/Toast.d.ts +11 -5
- package/lib/typescript/module/components/Toast/ToastProvider.d.ts +15 -14
- package/lib/typescript/module/components/Toast/index.d.ts +2 -2
- package/lib/typescript/module/components/Tooltip/Tooltip.d.ts +8 -2
- package/lib/typescript/module/components/Tooltip/index.d.ts +2 -2
- package/lib/typescript/module/components/Tour/Tour.d.ts +7 -5
- package/lib/typescript/module/components/Tour/index.d.ts +1 -1
- package/lib/typescript/module/components/TypingIndicator/TypingIndicator.d.ts +7 -2
- package/lib/typescript/module/components/TypingIndicator/index.d.ts +2 -2
- package/lib/typescript/module/components/WheelPicker/WheelPicker.d.ts +13 -6
- package/lib/typescript/module/components/WheelPicker/index.d.ts +2 -2
- package/lib/typescript/module/components/index.d.ts +125 -119
- package/lib/typescript/module/form/HookFormField.d.ts +1 -1
- package/lib/typescript/module/form/index.d.ts +0 -8
- package/lib/typescript/module/index.d.ts +6 -5
- package/lib/typescript/module/navigation/DiscardGuard.d.ts +26 -0
- package/lib/typescript/module/navigation/NavigationScreen.d.ts +12 -0
- package/lib/typescript/module/navigation/index.d.ts +5 -0
- package/lib/typescript/module/theme/index.d.ts +1 -0
- package/lib/typescript/module/theme/makeStyles.d.ts +5 -0
- package/lib/typescript/module/theme/tokens.generated.d.ts +3 -1
- package/lib/typescript/module/theme/types.d.ts +15 -2
- package/lib/typescript/module/types/vocabulary.d.ts +10 -0
- package/lib/typescript/module/utils/placement.d.ts +2 -0
- package/lib/typescript/module/utils/warnInvalidValue.d.ts +1 -1
- package/package.json +30 -8
- package/lib/commonjs/components/Accordion/Accordion.meta.js +0 -1
- package/lib/commonjs/components/Accordion/AccordionGroup.meta.js +0 -1
- package/lib/commonjs/components/AmountSlider/AmountSlider.meta.js +0 -1
- package/lib/commonjs/components/AnimatePresence/AnimatePresence.meta.js +0 -1
- package/lib/commonjs/components/AppBar/AppBar.meta.js +0 -1
- package/lib/commonjs/components/AppIcon/AppIcon.meta.js +0 -1
- package/lib/commonjs/components/AsyncBlock/AsyncBlock.meta.js +0 -1
- package/lib/commonjs/components/AuthedImage/AuthedImage.meta.js +0 -1
- package/lib/commonjs/components/Autocomplete/Autocomplete.meta.js +0 -1
- package/lib/commonjs/components/Avatar/Avatar.meta.js +0 -1
- package/lib/commonjs/components/Avatar/AvatarGroup.meta.js +0 -1
- package/lib/commonjs/components/Badge/Badge.meta.js +0 -1
- package/lib/commonjs/components/Banner/Banner.meta.js +0 -1
- package/lib/commonjs/components/BarChart/BarChart.meta.js +0 -1
- package/lib/commonjs/components/BottomNavigation/BottomNavigation.meta.js +0 -1
- package/lib/commonjs/components/BottomSheet/BottomSheet.meta.js +0 -1
- package/lib/commonjs/components/BottomSheet/useSheetSwap.js +0 -1
- package/lib/commonjs/components/Box/Spacer.meta.js +0 -1
- package/lib/commonjs/components/Button/Button.meta.js +0 -1
- package/lib/commonjs/components/Calendar/Calendar.meta.js +0 -1
- package/lib/commonjs/components/Card/Card.meta.js +0 -1
- package/lib/commonjs/components/Carousel/Carousel.meta.js +0 -1
- package/lib/commonjs/components/Checkbox/Checkbox.meta.js +0 -1
- package/lib/commonjs/components/Chip/Chip.meta.js +0 -1
- package/lib/commonjs/components/ChoiceGroup/ChoiceGroup.meta.js +0 -1
- package/lib/commonjs/components/Composer/Composer.meta.js +0 -1
- package/lib/commonjs/components/Confetti/Confetti.meta.js +0 -1
- package/lib/commonjs/components/DatePicker/DatePicker.meta.js +0 -1
- package/lib/commonjs/components/DateRangePicker/DateRangePicker.meta.js +0 -1
- package/lib/commonjs/components/DateSeparator/DateSeparator.meta.js +0 -1
- package/lib/commonjs/components/DecimalInput/DecimalInput.meta.js +0 -1
- package/lib/commonjs/components/Descriptions/Descriptions.meta.js +0 -1
- package/lib/commonjs/components/Dialog/Dialog.meta.js +0 -1
- package/lib/commonjs/components/Divider/Divider.meta.js +0 -1
- package/lib/commonjs/components/Drawer/Drawer.meta.js +0 -1
- package/lib/commonjs/components/EmptyState/EmptyState.meta.js +0 -1
- package/lib/commonjs/components/FilePicker/FilePicker.meta.js +0 -1
- package/lib/commonjs/components/FileViewer/FileViewer.meta.js +0 -1
- package/lib/commonjs/components/FilterChipRow/FilterChipRow.meta.js +0 -1
- package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.meta.js +0 -1
- package/lib/commonjs/components/FloatingActionButton/FloatingActionButtonGroup.meta.js +0 -1
- package/lib/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.meta.js +0 -1
- package/lib/commonjs/components/FormField/FormField.meta.js +0 -1
- package/lib/commonjs/components/IconBadge/IconBadge.meta.js +0 -1
- package/lib/commonjs/components/IconButton/IconButton.meta.js +0 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.meta.js +0 -1
- package/lib/commonjs/components/InlineSelect/InlineSelect.meta.js +0 -1
- package/lib/commonjs/components/Input/Input.meta.js +0 -1
- package/lib/commonjs/components/KeyboardToolbar/KeyboardToolbar.meta.js +0 -1
- package/lib/commonjs/components/ListItem/ListItem.meta.js +0 -1
- package/lib/commonjs/components/LoaderOverlay/LoaderOverlay.meta.js +0 -1
- package/lib/commonjs/components/Markdown/Markdown.meta.js +0 -1
- package/lib/commonjs/components/Menu/Menu.meta.js +0 -1
- package/lib/commonjs/components/MessageBubble/MessageBubble.meta.js +0 -1
- package/lib/commonjs/components/MessageList/MessageList.meta.js +0 -1
- package/lib/commonjs/components/Modal/Modal.meta.js +0 -1
- package/lib/commonjs/components/Notation/Notation.meta.js +0 -1
- package/lib/commonjs/components/NumberInput/NumberInput.meta.js +0 -1
- package/lib/commonjs/components/OTPInput/OTPInput.meta.js +0 -1
- package/lib/commonjs/components/OnboardingPager/OnboardingPager.meta.js +0 -1
- package/lib/commonjs/components/OptionSheet/OptionSheet.meta.js +0 -1
- package/lib/commonjs/components/PaymentResult/PaymentResult.js +0 -1
- package/lib/commonjs/components/PaymentResult/PaymentResult.meta.js +0 -1
- package/lib/commonjs/components/PaymentResult/index.js +0 -1
- package/lib/commonjs/components/PermissionPrompt/PermissionPrompt.meta.js +0 -1
- package/lib/commonjs/components/PhoneNumberInput/PhoneNumberInput.meta.js +0 -1
- package/lib/commonjs/components/PickerTrigger/PickerTrigger.meta.js +0 -1
- package/lib/commonjs/components/ProfileCompletion/ProfileCompletion.meta.js +0 -1
- package/lib/commonjs/components/ProfilePicker/ProfilePicker.meta.js +0 -1
- package/lib/commonjs/components/ProgressBar/ProgressBar.meta.js +0 -1
- package/lib/commonjs/components/ProgressRing/ProgressRing.meta.js +0 -1
- package/lib/commonjs/components/Radio/Radio.meta.js +0 -1
- package/lib/commonjs/components/Radio/RadioGroup.meta.js +0 -1
- package/lib/commonjs/components/Rating/Rating.meta.js +0 -1
- package/lib/commonjs/components/Repeater/Repeater.meta.js +0 -1
- package/lib/commonjs/components/RichTextEditor/RichTextEditor.meta.js +0 -1
- package/lib/commonjs/components/ScannerOverlay/ScannerOverlay.meta.js +0 -1
- package/lib/commonjs/components/Screen/Screen.meta.js +0 -1
- package/lib/commonjs/components/SearchBar/SearchBar.meta.js +0 -1
- package/lib/commonjs/components/SectionHeader/SectionHeader.meta.js +0 -1
- package/lib/commonjs/components/SegmentedControl/SegmentedControl.meta.js +0 -1
- package/lib/commonjs/components/Select/Select.meta.js +0 -1
- package/lib/commonjs/components/SignaturePad/SignaturePad.meta.js +0 -1
- package/lib/commonjs/components/Skeleton/Skeleton.meta.js +0 -1
- package/lib/commonjs/components/Skeleton/SkeletonCircle.meta.js +0 -1
- package/lib/commonjs/components/Skeleton/SkeletonContent.meta.js +0 -1
- package/lib/commonjs/components/Skeleton/SkeletonList.meta.js +0 -1
- package/lib/commonjs/components/Skeleton/SkeletonText.meta.js +0 -1
- package/lib/commonjs/components/SlideToConfirm/SlideToConfirm.meta.js +0 -1
- package/lib/commonjs/components/Slider/Slider.meta.js +0 -1
- package/lib/commonjs/components/SliderField/SliderField.meta.js +0 -1
- package/lib/commonjs/components/SortableList/SortableList.meta.js +0 -1
- package/lib/commonjs/components/Sparkline/Sparkline.meta.js +0 -1
- package/lib/commonjs/components/Spinner/Spinner.meta.js +0 -1
- package/lib/commonjs/components/SquircleView/SquircleView.meta.js +0 -1
- package/lib/commonjs/components/StatTile/StatTile.meta.js +0 -1
- package/lib/commonjs/components/StatusBadge/StatusBadge.meta.js +0 -1
- package/lib/commonjs/components/Stepper/Stepper.meta.js +0 -1
- package/lib/commonjs/components/Swipeable/Swipeable.meta.js +0 -1
- package/lib/commonjs/components/Switch/Switch.meta.js +0 -1
- package/lib/commonjs/components/Tabs/Tabs.meta.js +0 -1
- package/lib/commonjs/components/TagInput/TagInput.meta.js +0 -1
- package/lib/commonjs/components/Text/Text.meta.js +0 -1
- package/lib/commonjs/components/TimePicker/TimePicker.meta.js +0 -1
- package/lib/commonjs/components/Timeline/Timeline.meta.js +0 -1
- package/lib/commonjs/components/Toast/Toast.meta.js +0 -1
- package/lib/commonjs/components/Tooltip/Tooltip.meta.js +0 -1
- package/lib/commonjs/components/Tour/Tour.meta.js +0 -1
- package/lib/commonjs/components/TypingIndicator/TypingIndicator.meta.js +0 -1
- package/lib/commonjs/components/WheelPicker/WheelPickerColumns.meta.js +0 -1
- package/lib/commonjs/components/WheelPicker/WheelPickerDuration.meta.js +0 -1
- package/lib/commonjs/components/WheelPicker/WheelPickerList.meta.js +0 -1
- package/lib/commonjs/components/ZoomableImage/ZoomableImage.meta.js +0 -1
- package/lib/commonjs/form/FormContext.js +0 -1
- package/lib/commonjs/form/equal.js +0 -1
- package/lib/commonjs/form/rules.js +0 -1
- package/lib/commonjs/form/useField.js +0 -1
- package/lib/commonjs/form/useForm.js +0 -1
- package/lib/module/components/Accordion/Accordion.meta.js +0 -1
- package/lib/module/components/Accordion/AccordionGroup.meta.js +0 -1
- package/lib/module/components/AmountSlider/AmountSlider.meta.js +0 -1
- package/lib/module/components/AnimatePresence/AnimatePresence.meta.js +0 -1
- package/lib/module/components/AppBar/AppBar.meta.js +0 -1
- package/lib/module/components/AppIcon/AppIcon.meta.js +0 -1
- package/lib/module/components/AsyncBlock/AsyncBlock.meta.js +0 -1
- package/lib/module/components/AuthedImage/AuthedImage.meta.js +0 -1
- package/lib/module/components/Autocomplete/Autocomplete.meta.js +0 -1
- package/lib/module/components/Avatar/Avatar.meta.js +0 -1
- package/lib/module/components/Avatar/AvatarGroup.meta.js +0 -1
- package/lib/module/components/Badge/Badge.meta.js +0 -1
- package/lib/module/components/Banner/Banner.meta.js +0 -1
- package/lib/module/components/BarChart/BarChart.meta.js +0 -1
- package/lib/module/components/BottomNavigation/BottomNavigation.meta.js +0 -1
- package/lib/module/components/BottomSheet/BottomSheet.meta.js +0 -1
- package/lib/module/components/BottomSheet/useSheetSwap.js +0 -1
- package/lib/module/components/Box/Spacer.meta.js +0 -1
- package/lib/module/components/Button/Button.meta.js +0 -1
- package/lib/module/components/Calendar/Calendar.meta.js +0 -1
- package/lib/module/components/Card/Card.meta.js +0 -1
- package/lib/module/components/Carousel/Carousel.meta.js +0 -1
- package/lib/module/components/Checkbox/Checkbox.meta.js +0 -1
- package/lib/module/components/Chip/Chip.meta.js +0 -1
- package/lib/module/components/ChoiceGroup/ChoiceGroup.meta.js +0 -1
- package/lib/module/components/Composer/Composer.meta.js +0 -1
- package/lib/module/components/Confetti/Confetti.meta.js +0 -1
- package/lib/module/components/DatePicker/DatePicker.meta.js +0 -1
- package/lib/module/components/DateRangePicker/DateRangePicker.meta.js +0 -1
- package/lib/module/components/DateSeparator/DateSeparator.meta.js +0 -1
- package/lib/module/components/DecimalInput/DecimalInput.meta.js +0 -1
- package/lib/module/components/Descriptions/Descriptions.meta.js +0 -1
- package/lib/module/components/Dialog/Dialog.meta.js +0 -1
- package/lib/module/components/Divider/Divider.meta.js +0 -1
- package/lib/module/components/Drawer/Drawer.meta.js +0 -1
- package/lib/module/components/EmptyState/EmptyState.meta.js +0 -1
- package/lib/module/components/FilePicker/FilePicker.meta.js +0 -1
- package/lib/module/components/FileViewer/FileViewer.meta.js +0 -1
- package/lib/module/components/FilterChipRow/FilterChipRow.meta.js +0 -1
- package/lib/module/components/FloatingActionButton/FloatingActionButton.meta.js +0 -1
- package/lib/module/components/FloatingActionButton/FloatingActionButtonGroup.meta.js +0 -1
- package/lib/module/components/ForceUpdateDialog/ForceUpdateDialog.meta.js +0 -1
- package/lib/module/components/FormField/FormField.meta.js +0 -1
- package/lib/module/components/IconBadge/IconBadge.meta.js +0 -1
- package/lib/module/components/IconButton/IconButton.meta.js +0 -1
- package/lib/module/components/ImageGallery/ImageGallery.meta.js +0 -1
- package/lib/module/components/InlineSelect/InlineSelect.meta.js +0 -1
- package/lib/module/components/Input/Input.meta.js +0 -1
- package/lib/module/components/KeyboardToolbar/KeyboardToolbar.meta.js +0 -1
- package/lib/module/components/ListItem/ListItem.meta.js +0 -1
- package/lib/module/components/LoaderOverlay/LoaderOverlay.meta.js +0 -1
- package/lib/module/components/Markdown/Markdown.meta.js +0 -1
- package/lib/module/components/Menu/Menu.meta.js +0 -1
- package/lib/module/components/MessageBubble/MessageBubble.meta.js +0 -1
- package/lib/module/components/MessageList/MessageList.meta.js +0 -1
- package/lib/module/components/Modal/Modal.meta.js +0 -1
- package/lib/module/components/Notation/Notation.meta.js +0 -1
- package/lib/module/components/NumberInput/NumberInput.meta.js +0 -1
- package/lib/module/components/OTPInput/OTPInput.meta.js +0 -1
- package/lib/module/components/OnboardingPager/OnboardingPager.meta.js +0 -1
- package/lib/module/components/OptionSheet/OptionSheet.meta.js +0 -1
- package/lib/module/components/PaymentResult/PaymentResult.js +0 -1
- package/lib/module/components/PaymentResult/PaymentResult.meta.js +0 -1
- package/lib/module/components/PaymentResult/index.js +0 -1
- package/lib/module/components/PermissionPrompt/PermissionPrompt.meta.js +0 -1
- package/lib/module/components/PhoneNumberInput/PhoneNumberInput.meta.js +0 -1
- package/lib/module/components/PickerTrigger/PickerTrigger.meta.js +0 -1
- package/lib/module/components/ProfileCompletion/ProfileCompletion.meta.js +0 -1
- package/lib/module/components/ProfilePicker/ProfilePicker.meta.js +0 -1
- package/lib/module/components/ProgressBar/ProgressBar.meta.js +0 -1
- package/lib/module/components/ProgressRing/ProgressRing.meta.js +0 -1
- package/lib/module/components/Radio/Radio.meta.js +0 -1
- package/lib/module/components/Radio/RadioGroup.meta.js +0 -1
- package/lib/module/components/Rating/Rating.meta.js +0 -1
- package/lib/module/components/Repeater/Repeater.meta.js +0 -1
- package/lib/module/components/RichTextEditor/RichTextEditor.meta.js +0 -1
- package/lib/module/components/ScannerOverlay/ScannerOverlay.meta.js +0 -1
- package/lib/module/components/Screen/Screen.meta.js +0 -1
- package/lib/module/components/SearchBar/SearchBar.meta.js +0 -1
- package/lib/module/components/SectionHeader/SectionHeader.meta.js +0 -1
- package/lib/module/components/SegmentedControl/SegmentedControl.meta.js +0 -1
- package/lib/module/components/Select/Select.meta.js +0 -1
- package/lib/module/components/SignaturePad/SignaturePad.meta.js +0 -1
- package/lib/module/components/Skeleton/Skeleton.meta.js +0 -1
- package/lib/module/components/Skeleton/SkeletonCircle.meta.js +0 -1
- package/lib/module/components/Skeleton/SkeletonContent.meta.js +0 -1
- package/lib/module/components/Skeleton/SkeletonList.meta.js +0 -1
- package/lib/module/components/Skeleton/SkeletonText.meta.js +0 -1
- package/lib/module/components/SlideToConfirm/SlideToConfirm.meta.js +0 -1
- package/lib/module/components/Slider/Slider.meta.js +0 -1
- package/lib/module/components/SliderField/SliderField.meta.js +0 -1
- package/lib/module/components/SortableList/SortableList.meta.js +0 -1
- package/lib/module/components/Sparkline/Sparkline.meta.js +0 -1
- package/lib/module/components/Spinner/Spinner.meta.js +0 -1
- package/lib/module/components/SquircleView/SquircleView.meta.js +0 -1
- package/lib/module/components/StatTile/StatTile.meta.js +0 -1
- package/lib/module/components/StatusBadge/StatusBadge.meta.js +0 -1
- package/lib/module/components/Stepper/Stepper.meta.js +0 -1
- package/lib/module/components/Swipeable/Swipeable.meta.js +0 -1
- package/lib/module/components/Switch/Switch.meta.js +0 -1
- package/lib/module/components/Tabs/Tabs.meta.js +0 -1
- package/lib/module/components/TagInput/TagInput.meta.js +0 -1
- package/lib/module/components/Text/Text.meta.js +0 -1
- package/lib/module/components/TimePicker/TimePicker.meta.js +0 -1
- package/lib/module/components/Timeline/Timeline.meta.js +0 -1
- package/lib/module/components/Toast/Toast.meta.js +0 -1
- package/lib/module/components/Tooltip/Tooltip.meta.js +0 -1
- package/lib/module/components/Tour/Tour.meta.js +0 -1
- package/lib/module/components/TypingIndicator/TypingIndicator.meta.js +0 -1
- package/lib/module/components/WheelPicker/WheelPickerColumns.meta.js +0 -1
- package/lib/module/components/WheelPicker/WheelPickerDuration.meta.js +0 -1
- package/lib/module/components/WheelPicker/WheelPickerList.meta.js +0 -1
- package/lib/module/components/ZoomableImage/ZoomableImage.meta.js +0 -1
- package/lib/module/form/FormContext.js +0 -1
- package/lib/module/form/equal.js +0 -1
- package/lib/module/form/rules.js +0 -1
- package/lib/module/form/useField.js +0 -1
- package/lib/module/form/useForm.js +0 -1
- package/lib/typescript/commonjs/components/Accordion/Accordion.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Accordion/AccordionGroup.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/AmountSlider/AmountSlider.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/AnimatePresence/AnimatePresence.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/AppBar/AppBar.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/AppIcon/AppIcon.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/AsyncBlock/AsyncBlock.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/AuthedImage/AuthedImage.meta.d.ts +0 -5
- package/lib/typescript/commonjs/components/Autocomplete/Autocomplete.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Avatar/Avatar.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Avatar/AvatarGroup.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Badge/Badge.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Banner/Banner.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/BarChart/BarChart.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/BottomSheet/useSheetSwap.d.ts +0 -24
- package/lib/typescript/commonjs/components/Box/Spacer.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Button/Button.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Calendar/Calendar.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Card/Card.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Carousel/Carousel.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Checkbox/Checkbox.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Chip/Chip.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Composer/Composer.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Confetti/Confetti.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/DatePicker/DatePicker.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/DateSeparator/DateSeparator.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/DecimalInput/DecimalInput.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Descriptions/Descriptions.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Dialog/Dialog.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Divider/Divider.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Drawer/Drawer.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/EmptyState/EmptyState.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/FilePicker/FilePicker.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/FileViewer/FileViewer.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/FilterChipRow/FilterChipRow.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButtonGroup.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/FormField/FormField.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/IconBadge/IconBadge.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/IconButton/IconButton.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/ImageGallery/ImageGallery.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/InlineSelect/InlineSelect.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Input/Input.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/KeyboardToolbar/KeyboardToolbar.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/ListItem/ListItem.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/LoaderOverlay/LoaderOverlay.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Markdown/Markdown.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Menu/Menu.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/MessageBubble/MessageBubble.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/MessageList/MessageList.meta.d.ts +0 -5
- package/lib/typescript/commonjs/components/Modal/Modal.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Notation/Notation.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/NumberInput/NumberInput.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/OTPInput/OTPInput.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/OnboardingPager/OnboardingPager.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/OptionSheet/OptionSheet.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/PaymentResult/PaymentResult.d.ts +0 -71
- package/lib/typescript/commonjs/components/PaymentResult/PaymentResult.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/PaymentResult/index.d.ts +0 -3
- package/lib/typescript/commonjs/components/PermissionPrompt/PermissionPrompt.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/PhoneNumberInput/PhoneNumberInput.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/ProfileCompletion/ProfileCompletion.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/ProfilePicker/ProfilePicker.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/ProgressRing/ProgressRing.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Radio/Radio.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Radio/RadioGroup.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Rating/Rating.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Repeater/Repeater.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/RichTextEditor/RichTextEditor.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/ScannerOverlay/ScannerOverlay.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Screen/Screen.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/SearchBar/SearchBar.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/SectionHeader/SectionHeader.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Select/Select.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/SignaturePad/SignaturePad.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Skeleton/Skeleton.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Skeleton/SkeletonCircle.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Skeleton/SkeletonContent.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Skeleton/SkeletonList.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Skeleton/SkeletonText.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/SlideToConfirm/SlideToConfirm.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Slider/Slider.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/SliderField/SliderField.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/SortableList/SortableList.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Sparkline/Sparkline.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Spinner/Spinner.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/SquircleView/SquircleView.meta.d.ts +0 -2
- package/lib/typescript/commonjs/components/StatTile/StatTile.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/StatusBadge/StatusBadge.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Stepper/Stepper.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Swipeable/Swipeable.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Switch/Switch.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Tabs/Tabs.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/TagInput/TagInput.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Text/Text.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/TimePicker/TimePicker.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Timeline/Timeline.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Toast/Toast.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Tooltip/Tooltip.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/Tour/Tour.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/TypingIndicator/TypingIndicator.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/WheelPicker/WheelPickerColumns.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/WheelPicker/WheelPickerDuration.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/WheelPicker/WheelPickerList.meta.d.ts +0 -3
- package/lib/typescript/commonjs/components/ZoomableImage/ZoomableImage.meta.d.ts +0 -3
- package/lib/typescript/commonjs/form/FormContext.d.ts +0 -36
- package/lib/typescript/commonjs/form/equal.d.ts +0 -9
- package/lib/typescript/commonjs/form/rules.d.ts +0 -37
- package/lib/typescript/commonjs/form/types.d.ts +0 -94
- package/lib/typescript/commonjs/form/useField.d.ts +0 -33
- package/lib/typescript/commonjs/form/useForm.d.ts +0 -14
- package/lib/typescript/module/components/Accordion/Accordion.meta.d.ts +0 -3
- package/lib/typescript/module/components/Accordion/AccordionGroup.meta.d.ts +0 -3
- package/lib/typescript/module/components/AmountSlider/AmountSlider.meta.d.ts +0 -3
- package/lib/typescript/module/components/AnimatePresence/AnimatePresence.meta.d.ts +0 -3
- package/lib/typescript/module/components/AppBar/AppBar.meta.d.ts +0 -3
- package/lib/typescript/module/components/AppIcon/AppIcon.meta.d.ts +0 -3
- package/lib/typescript/module/components/AsyncBlock/AsyncBlock.meta.d.ts +0 -3
- package/lib/typescript/module/components/AuthedImage/AuthedImage.meta.d.ts +0 -5
- package/lib/typescript/module/components/Autocomplete/Autocomplete.meta.d.ts +0 -3
- package/lib/typescript/module/components/Avatar/Avatar.meta.d.ts +0 -3
- package/lib/typescript/module/components/Avatar/AvatarGroup.meta.d.ts +0 -3
- package/lib/typescript/module/components/Badge/Badge.meta.d.ts +0 -3
- package/lib/typescript/module/components/Banner/Banner.meta.d.ts +0 -3
- package/lib/typescript/module/components/BarChart/BarChart.meta.d.ts +0 -3
- package/lib/typescript/module/components/BottomNavigation/BottomNavigation.meta.d.ts +0 -3
- package/lib/typescript/module/components/BottomSheet/BottomSheet.meta.d.ts +0 -3
- package/lib/typescript/module/components/BottomSheet/useSheetSwap.d.ts +0 -24
- package/lib/typescript/module/components/Box/Spacer.meta.d.ts +0 -3
- package/lib/typescript/module/components/Button/Button.meta.d.ts +0 -3
- package/lib/typescript/module/components/Calendar/Calendar.meta.d.ts +0 -3
- package/lib/typescript/module/components/Card/Card.meta.d.ts +0 -3
- package/lib/typescript/module/components/Carousel/Carousel.meta.d.ts +0 -3
- package/lib/typescript/module/components/Checkbox/Checkbox.meta.d.ts +0 -3
- package/lib/typescript/module/components/Chip/Chip.meta.d.ts +0 -3
- package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.meta.d.ts +0 -3
- package/lib/typescript/module/components/Composer/Composer.meta.d.ts +0 -3
- package/lib/typescript/module/components/Confetti/Confetti.meta.d.ts +0 -3
- package/lib/typescript/module/components/DatePicker/DatePicker.meta.d.ts +0 -3
- package/lib/typescript/module/components/DateRangePicker/DateRangePicker.meta.d.ts +0 -3
- package/lib/typescript/module/components/DateSeparator/DateSeparator.meta.d.ts +0 -3
- package/lib/typescript/module/components/DecimalInput/DecimalInput.meta.d.ts +0 -3
- package/lib/typescript/module/components/Descriptions/Descriptions.meta.d.ts +0 -3
- package/lib/typescript/module/components/Dialog/Dialog.meta.d.ts +0 -3
- package/lib/typescript/module/components/Divider/Divider.meta.d.ts +0 -3
- package/lib/typescript/module/components/Drawer/Drawer.meta.d.ts +0 -3
- package/lib/typescript/module/components/EmptyState/EmptyState.meta.d.ts +0 -3
- package/lib/typescript/module/components/FilePicker/FilePicker.meta.d.ts +0 -3
- package/lib/typescript/module/components/FileViewer/FileViewer.meta.d.ts +0 -3
- package/lib/typescript/module/components/FilterChipRow/FilterChipRow.meta.d.ts +0 -3
- package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.meta.d.ts +0 -3
- package/lib/typescript/module/components/FloatingActionButton/FloatingActionButtonGroup.meta.d.ts +0 -3
- package/lib/typescript/module/components/ForceUpdateDialog/ForceUpdateDialog.meta.d.ts +0 -3
- package/lib/typescript/module/components/FormField/FormField.meta.d.ts +0 -3
- package/lib/typescript/module/components/IconBadge/IconBadge.meta.d.ts +0 -3
- package/lib/typescript/module/components/IconButton/IconButton.meta.d.ts +0 -3
- package/lib/typescript/module/components/ImageGallery/ImageGallery.meta.d.ts +0 -3
- package/lib/typescript/module/components/InlineSelect/InlineSelect.meta.d.ts +0 -3
- package/lib/typescript/module/components/Input/Input.meta.d.ts +0 -3
- package/lib/typescript/module/components/KeyboardToolbar/KeyboardToolbar.meta.d.ts +0 -3
- package/lib/typescript/module/components/ListItem/ListItem.meta.d.ts +0 -3
- package/lib/typescript/module/components/LoaderOverlay/LoaderOverlay.meta.d.ts +0 -3
- package/lib/typescript/module/components/Markdown/Markdown.meta.d.ts +0 -3
- package/lib/typescript/module/components/Menu/Menu.meta.d.ts +0 -3
- package/lib/typescript/module/components/MessageBubble/MessageBubble.meta.d.ts +0 -3
- package/lib/typescript/module/components/MessageList/MessageList.meta.d.ts +0 -5
- package/lib/typescript/module/components/Modal/Modal.meta.d.ts +0 -3
- package/lib/typescript/module/components/Notation/Notation.meta.d.ts +0 -3
- package/lib/typescript/module/components/NumberInput/NumberInput.meta.d.ts +0 -3
- package/lib/typescript/module/components/OTPInput/OTPInput.meta.d.ts +0 -3
- package/lib/typescript/module/components/OnboardingPager/OnboardingPager.meta.d.ts +0 -3
- package/lib/typescript/module/components/OptionSheet/OptionSheet.meta.d.ts +0 -3
- package/lib/typescript/module/components/PaymentResult/PaymentResult.d.ts +0 -71
- package/lib/typescript/module/components/PaymentResult/PaymentResult.meta.d.ts +0 -3
- package/lib/typescript/module/components/PaymentResult/index.d.ts +0 -3
- package/lib/typescript/module/components/PermissionPrompt/PermissionPrompt.meta.d.ts +0 -3
- package/lib/typescript/module/components/PhoneNumberInput/PhoneNumberInput.meta.d.ts +0 -3
- package/lib/typescript/module/components/PickerTrigger/PickerTrigger.meta.d.ts +0 -3
- package/lib/typescript/module/components/ProfileCompletion/ProfileCompletion.meta.d.ts +0 -3
- package/lib/typescript/module/components/ProfilePicker/ProfilePicker.meta.d.ts +0 -3
- package/lib/typescript/module/components/ProgressBar/ProgressBar.meta.d.ts +0 -3
- package/lib/typescript/module/components/ProgressRing/ProgressRing.meta.d.ts +0 -3
- package/lib/typescript/module/components/Radio/Radio.meta.d.ts +0 -3
- package/lib/typescript/module/components/Radio/RadioGroup.meta.d.ts +0 -3
- package/lib/typescript/module/components/Rating/Rating.meta.d.ts +0 -3
- package/lib/typescript/module/components/Repeater/Repeater.meta.d.ts +0 -3
- package/lib/typescript/module/components/RichTextEditor/RichTextEditor.meta.d.ts +0 -3
- package/lib/typescript/module/components/ScannerOverlay/ScannerOverlay.meta.d.ts +0 -3
- package/lib/typescript/module/components/Screen/Screen.meta.d.ts +0 -3
- package/lib/typescript/module/components/SearchBar/SearchBar.meta.d.ts +0 -3
- package/lib/typescript/module/components/SectionHeader/SectionHeader.meta.d.ts +0 -3
- package/lib/typescript/module/components/SegmentedControl/SegmentedControl.meta.d.ts +0 -3
- package/lib/typescript/module/components/Select/Select.meta.d.ts +0 -3
- package/lib/typescript/module/components/SignaturePad/SignaturePad.meta.d.ts +0 -3
- package/lib/typescript/module/components/Skeleton/Skeleton.meta.d.ts +0 -3
- package/lib/typescript/module/components/Skeleton/SkeletonCircle.meta.d.ts +0 -3
- package/lib/typescript/module/components/Skeleton/SkeletonContent.meta.d.ts +0 -3
- package/lib/typescript/module/components/Skeleton/SkeletonList.meta.d.ts +0 -3
- package/lib/typescript/module/components/Skeleton/SkeletonText.meta.d.ts +0 -3
- package/lib/typescript/module/components/SlideToConfirm/SlideToConfirm.meta.d.ts +0 -3
- package/lib/typescript/module/components/Slider/Slider.meta.d.ts +0 -3
- package/lib/typescript/module/components/SliderField/SliderField.meta.d.ts +0 -3
- package/lib/typescript/module/components/SortableList/SortableList.meta.d.ts +0 -3
- package/lib/typescript/module/components/Sparkline/Sparkline.meta.d.ts +0 -3
- package/lib/typescript/module/components/Spinner/Spinner.meta.d.ts +0 -3
- package/lib/typescript/module/components/SquircleView/SquircleView.meta.d.ts +0 -2
- package/lib/typescript/module/components/StatTile/StatTile.meta.d.ts +0 -3
- package/lib/typescript/module/components/StatusBadge/StatusBadge.meta.d.ts +0 -3
- package/lib/typescript/module/components/Stepper/Stepper.meta.d.ts +0 -3
- package/lib/typescript/module/components/Swipeable/Swipeable.meta.d.ts +0 -3
- package/lib/typescript/module/components/Switch/Switch.meta.d.ts +0 -3
- package/lib/typescript/module/components/Tabs/Tabs.meta.d.ts +0 -3
- package/lib/typescript/module/components/TagInput/TagInput.meta.d.ts +0 -3
- package/lib/typescript/module/components/Text/Text.meta.d.ts +0 -3
- package/lib/typescript/module/components/TimePicker/TimePicker.meta.d.ts +0 -3
- package/lib/typescript/module/components/Timeline/Timeline.meta.d.ts +0 -3
- package/lib/typescript/module/components/Toast/Toast.meta.d.ts +0 -3
- package/lib/typescript/module/components/Tooltip/Tooltip.meta.d.ts +0 -3
- package/lib/typescript/module/components/Tour/Tour.meta.d.ts +0 -3
- package/lib/typescript/module/components/TypingIndicator/TypingIndicator.meta.d.ts +0 -3
- package/lib/typescript/module/components/WheelPicker/WheelPickerColumns.meta.d.ts +0 -3
- package/lib/typescript/module/components/WheelPicker/WheelPickerDuration.meta.d.ts +0 -3
- package/lib/typescript/module/components/WheelPicker/WheelPickerList.meta.d.ts +0 -3
- package/lib/typescript/module/components/ZoomableImage/ZoomableImage.meta.d.ts +0 -3
- package/lib/typescript/module/form/FormContext.d.ts +0 -36
- package/lib/typescript/module/form/equal.d.ts +0 -9
- package/lib/typescript/module/form/rules.d.ts +0 -37
- package/lib/typescript/module/form/types.d.ts +0 -94
- package/lib/typescript/module/form/useField.d.ts +0 -33
- package/lib/typescript/module/form/useForm.d.ts +0 -14
- /package/lib/commonjs/{form/types.js → types/vocabulary.js} +0 -0
- /package/lib/module/{form/types.js → types/vocabulary.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"Skeleton",marker:null,platforms:["phone"],acceptsChildren:!1,props:{shape:{type:"enum",values:["rect","rounded","circle","text"],default:"rect",description:"The shape of the placeholder: square corners, rounded corners, a circle or a line of text."},width:{type:"stringOrNumber",default:"100%",description:"The width as points, auto, or a percentage text such as 60%."},height:{type:"number",default:16,description:"The height in points."},radius:{type:"enumOrNumber",values:["sm","md","lg","xl","pill"],description:"The corner radius, a named step or a number of points."},variant:{type:"enum",values:["shimmer","pulse","none"],description:"How the placeholder moves: a sweeping shimmer, a pulse, or none; left out, the provider or shimmer is used."},speed:{type:"enum",values:["slow","normal","fast"],description:"How fast the shimmer sweeps."},colors:{type:"object",description:"Replaces the resting and highlight colours of the placeholder.",fields:{background:{type:"string",description:"The resting colour."},highlight:{type:"string",description:"The moving shimmer or pulse colour."}}}},omit:[],examples:[{id:"Skeleton.default",title:"Line",props:{width:"100%",height:16}},{id:"Skeleton.rounded",title:"Rounded card",props:{shape:"rounded",height:80}},{id:"Skeleton.circle",title:"Circle",props:{shape:"circle",width:48,height:48}},{id:"Skeleton.pulse",title:"Pulse",props:{variant:"pulse",width:"60%"}}],usage:{when:["Hold the place of one block of content while it loads.","Match the size and shape of the content that will replace it."],whenNot:[{text:"A wait of unknown shape or a whole screen.",instead:"Spinner"},{text:"Several lines of text.",instead:"SkeletonText"}],do:[{note:"Give the block the size of the real content so the page does not jump.",example:[{component:"Skeleton",props:{shape:"rounded",height:80}}]},{note:"Use the circle shape with equal width and height for an avatar.",example:[{component:"Skeleton",props:{shape:"circle",width:48,height:48}}]}],dont:[{note:"Do not leave a skeleton showing after the data has arrived.",example:[{component:"Skeleton",props:{variant:"none",height:16}}]},{note:"Do not draw a circle with different width and height.",example:[{component:"Skeleton",props:{shape:"circle",width:48,height:16}}]}],a11y:["The placeholder is hidden from screen readers; announce the loading state in the screen that owns it.","Under reduced motion the shimmer plays as a pulse."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"SkeletonCircle",marker:null,platforms:["phone"],acceptsChildren:!1,props:{size:{type:"number",required:!0,description:"The diameter in points."},radius:{type:"enumOrNumber",values:["sm","md","lg","xl","pill"],description:"The corner radius, a named step or a number of points."},variant:{type:"enum",values:["shimmer","pulse","none"],description:"How the placeholder moves: a sweeping shimmer, a pulse, or none; left out, the provider or shimmer is used."},speed:{type:"enum",values:["slow","normal","fast"],description:"How fast the shimmer sweeps."},colors:{type:"object",description:"Replaces the resting and highlight colours of the placeholder.",fields:{background:{type:"string",description:"The resting colour."},highlight:{type:"string",description:"The moving shimmer or pulse colour."}}}},omit:[],examples:[{id:"SkeletonCircle.default",title:"Avatar",props:{size:48}},{id:"SkeletonCircle.large",title:"Large circle",props:{size:96,variant:"pulse"}}],usage:{when:["Hold the place of an avatar or a round icon while it loads."],whenNot:[{text:"A block that is not round.",instead:"Skeleton"}],do:[{note:"Give it the size of the avatar that will replace it.",example:[{component:"SkeletonCircle",props:{size:48}}]}],dont:[{note:"Do not use it for a square or rectangular block.",example:[{component:"SkeletonCircle",props:{size:200}}]}],a11y:["The placeholder is hidden from screen readers."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"SkeletonContent",marker:null,platforms:["phone"],acceptsChildren:!0,props:{loading:{type:"boolean",required:!0,description:"Shows the placeholder while true and the content once false."},placeholder:{type:"node",description:"A placeholder drawn as written while loading; left out, the content is turned into placeholder shapes."},variant:{type:"enum",values:["shimmer","pulse","none"],description:"How the placeholder moves: a sweeping shimmer, a pulse, or none; left out, the provider or shimmer is used."},speed:{type:"enum",values:["slow","normal","fast"],description:"How fast the shimmer sweeps."},count:{type:"number",default:1,description:"How many times the placeholder is repeated while loading."},colors:{type:"object",description:"Replaces the resting and highlight colours of the placeholder.",fields:{background:{type:"string",description:"The resting colour."},highlight:{type:"string",description:"The moving shimmer or pulse colour."}}},fadeDuration:{type:"number",description:"The length of the fade from placeholder to content in milliseconds; 0 turns it off."}},omit:[],examples:[{id:"SkeletonContent.default",title:"Loading",props:{loading:!0}},{id:"SkeletonContent.repeated",title:"Three placeholders",props:{loading:!0,count:3}},{id:"SkeletonContent.loaded",title:"Loaded",props:{loading:!1}}],usage:{when:["Wrap a block so it shows placeholder shapes while its data loads and fades in the content after."],whenNot:[{text:"A list that loads rows.",instead:"SkeletonList"},{text:"A wait of unknown shape.",instead:"Spinner"}],do:[{note:"Pass an explicit placeholder for any layout that is not trivial.",example:[{component:"SkeletonContent",props:{loading:!0,count:2}}]}],dont:[{note:"Do not leave loading on after the data has arrived.",example:[{component:"SkeletonContent",props:{loading:!0}}]}],a11y:["Placeholders are hidden from screen readers; announce the loading state in the screen that owns it."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"SkeletonList",marker:null,platforms:["phone"],acceptsChildren:!1,props:{loading:{type:"boolean",required:!0,description:"Shows the placeholder rows while true and the real list once false."},placeholderCount:{type:"number",description:"How many placeholder rows to draw while loading; left out, the provider default or 3 is used."},variant:{type:"enum",values:["shimmer","pulse","none"],description:"How the placeholder moves: a sweeping shimmer, a pulse, or none; left out, the provider or shimmer is used."},speed:{type:"enum",values:["slow","normal","fast"],description:"How fast the shimmer sweeps."},colors:{type:"object",description:"Replaces the resting and highlight colours of the placeholder.",fields:{background:{type:"string",description:"The resting colour."},highlight:{type:"string",description:"The moving shimmer or pulse colour."}}}},omit:[],examples:[{id:"SkeletonList.default",title:"Three rows",props:{loading:!0,placeholderCount:3}},{id:"SkeletonList.fast",title:"Five fast rows",props:{loading:!0,placeholderCount:5,speed:"fast"}}],usage:{when:["Show placeholder rows while the first page of a list loads."],whenNot:[{text:"One block that is not a list.",instead:"SkeletonContent"}],do:[{note:"Set the row count to about what fills the screen.",example:[{component:"SkeletonList",props:{loading:!0,placeholderCount:5}}]}],dont:[{note:"Do not use it for a refresh of a list that already has rows.",example:[{component:"SkeletonList",props:{loading:!0}}]}],a11y:["Placeholder rows are hidden from screen readers; announce the loading state in the screen that owns the list."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"SkeletonText",marker:null,platforms:["phone"],acceptsChildren:!1,props:{lines:{type:"number",default:3,description:"How many lines of text to hold."},lastLineWidth:{type:"stringOrNumber",default:"60%",description:"The width of the last line, so the block ends like real text."},spacing:{type:"number",description:"The gap between lines in points."},fontSize:{type:"number",description:"The height of each line in points; left out, the base text size is used."},width:{type:"stringOrNumber",default:"100%",description:"The width as points, auto, or a percentage text such as 60%."},radius:{type:"enumOrNumber",values:["sm","md","lg","xl","pill"],default:"sm",description:"The corner radius, a named step or a number of points."},variant:{type:"enum",values:["shimmer","pulse","none"],description:"How the placeholder moves: a sweeping shimmer, a pulse, or none; left out, the provider or shimmer is used."},speed:{type:"enum",values:["slow","normal","fast"],description:"How fast the shimmer sweeps."},colors:{type:"object",description:"Replaces the resting and highlight colours of the placeholder.",fields:{background:{type:"string",description:"The resting colour."},highlight:{type:"string",description:"The moving shimmer or pulse colour."}}}},omit:[],examples:[{id:"SkeletonText.default",title:"Three lines",props:{lines:3}},{id:"SkeletonText.paragraph",title:"Short paragraph",props:{lines:2,lastLineWidth:"40%",fontSize:14}}],usage:{when:["Hold the place of a heading or a paragraph while it loads."],whenNot:[{text:"A single block that is not text.",instead:"Skeleton"}],do:[{note:"Use as many lines as the real text usually has.",example:[{component:"SkeletonText",props:{lines:3}}]}],dont:[{note:"Do not use a long run of lines for a short label.",example:[{component:"SkeletonText",props:{lines:12}}]}],a11y:["The placeholder is hidden from screen readers."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"SlideToConfirm",marker:null,platforms:["phone"],acceptsChildren:!1,props:{label:{description:"The resting label, centred on the track.",type:"string",default:"Slide to confirm"},confirmedLabel:{description:"The label shown after the handle is confirmed.",type:"string",default:"Confirmed"},tone:{description:"The fill colour of the track and handle.",type:"enum",values:["primary","success","warning","danger"],default:"primary"},size:{description:"The track height.",type:"enum",values:["sm","md","lg"],default:"md"},disabled:{description:"Blocks dragging and dims the control.",type:"boolean",default:!1},threshold:{description:"The fraction of the track, from 0 to 1, the handle must cross to confirm.",type:"number",default:.9},icon:{description:"The handle glyph; a right chevron when left out.",type:"node"}},omit:["haptic","resetAfter"],examples:[{id:"SlideToConfirm.default",title:"Default",props:{}},{id:"SlideToConfirm.success",title:"Pay with a success tone",props:{tone:"success",label:"Slide to pay",confirmedLabel:"Paid"}},{id:"SlideToConfirm.danger",title:"Destructive action",props:{tone:"danger",size:"lg",label:"Slide to delete",confirmedLabel:"Deleted"}},{id:"SlideToConfirm.disabled",title:"Disabled",props:{disabled:!0,size:"sm"}}],usage:{when:["Confirm a high-stakes or irreversible action such as paying, deleting or submitting, where a plain tap is too easy to fire by accident."],whenNot:[{text:"A routine action the person can undo.",instead:"Button"}],do:[{note:"Say what the slide does in the label, such as Slide to pay.",example:[{component:"SlideToConfirm",props:{label:"Slide to pay"}}]},{note:"Use the danger tone for destructive actions and the primary tone otherwise.",example:[{component:"SlideToConfirm",props:{label:"Slide to delete",tone:"danger"}},{component:"Button",props:{title:"Confirm with password",variant:"outline"}}]}],dont:[{note:"Do not use it for every action on a screen; it loses its weight.",example:[{component:"SlideToConfirm",props:{label:"Slide to pay"}},{component:"SlideToConfirm",props:{label:"Slide to cancel"}}]},{note:"Do not make it the only way to confirm a critical step.",example:[{component:"SlideToConfirm",props:{label:"Slide to delete",tone:"danger"}}]}],a11y:["A screen reader cannot drag the handle, so it offers a Confirm action instead; keep the label a clear verb phrase.","Pair a critical flow with a second accessible way to confirm."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"Slider",marker:null,platforms:["phone"],acceptsChildren:!1,props:{value:{type:"any",description:"The value when the parent controls it."},defaultValue:{type:"any",description:"The value at first, when the slider manages its own state."},min:{type:"number",default:0,description:"The smallest value."},max:{type:"number",default:100,description:"The largest value."},step:{type:"number",default:1,description:"The distance between selectable values."},disabled:{type:"boolean",default:!1,description:"Blocks dragging and taps."},tone:{type:"enum",values:["primary","success","warning","danger"],default:"primary",description:"The colour of the filled track."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"The size of the track and thumb."},variant:{type:"enum",values:["default","inset","minimal","bar"],default:"default",description:"The look of the slider."},showLabel:{type:"any",default:!1,description:"Shows a value bubble above the thumb: true while dragging, or always."},snapThumb:{type:"boolean",default:!1,description:"Keeps the thumb on the step positions while it is dragged."},accessibilityLabel:{type:"string",description:"The spoken label of the slider."},thumbPressScale:{type:"number",default:1.1,description:"The scale the thumb grows to while it is pressed."},labelShowDuration:{type:"number",description:"The length in milliseconds of the value bubble's fade."},labelOpacity:{type:"number",default:1,description:"The opacity of the value bubble when it is shown."}},omit:["range","haptic"],examples:[{id:"Slider.default",title:"Volume",props:{value:40,accessibilityLabel:"Volume"}},{id:"Slider.stepped",title:"Round steps, success tone",props:{value:50,min:0,max:100,step:10,tone:"success",variant:"inset",showLabel:!0,accessibilityLabel:"Brightness"}},{id:"Slider.disabled",title:"Disabled",props:{value:30,disabled:!0,accessibilityLabel:"Volume"}}],usage:{when:["Pick one number on a continuous or stepped scale, such as a volume, brightness or percentage.","Show the current value above the thumb with showLabel when the person needs to read it while dragging."],whenNot:[{text:"The value is one of two or three fixed choices.",instead:"Use SegmentedControl."}],do:[{note:"Set min, max and step so every stop is a value the person would pick.",example:[{component:"Slider",props:{value:50,min:0,max:100,step:10,accessibilityLabel:"Volume"}}]},{note:"Set accessibilityLabel to say what the slider controls.",example:[{component:"Slider",props:{value:50,accessibilityLabel:"Brightness"}}]}],dont:[{note:"Do not use a step of 1 when only round tens are meaningful; the thumb stops on values nobody would pick.",example:[{component:"Slider",props:{value:50,min:0,max:100,step:1,accessibilityLabel:"Volume"}}]},{note:"Do not leave out accessibilityLabel; a screen reader then announces only a bare number.",example:[{component:"Slider",props:{value:50}}]}],a11y:["Set accessibilityLabel to say what the value is for.","The screen reader's increment and decrement actions move the value by one step."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"SliderField",marker:null,platforms:["phone"],acceptsChildren:!1,props:{label:{type:"string",description:"Field label above the slider."},unit:{type:"string",description:"Muted text after the label, such as (%)."},info:{type:"string",description:"Opens in a tooltip from an info icon after the label."},required:{type:"boolean",default:!1,description:"Appends the required marker to the label."},helperText:{type:"string",description:"Hint text shown below the slider, hidden while an error shows."},error:{type:"node",description:"Error message shown below the slider in place of helper text."},min:{type:"number",default:0,description:"The smallest selectable value."},max:{type:"number",default:100,description:"The largest selectable value."},step:{type:"number",default:1,description:"The distance between selectable values."},disabled:{type:"boolean",default:!1,description:"Blocks interaction and dims the slider and input controls."},tone:{type:"enum",values:["primary","success","warning","danger"],default:"primary",description:"The colour of the filled track."},size:{type:"enum",values:["sm","md","lg"],description:"The size of the track and thumb."},variant:{type:"enum",values:["default","inset","minimal","bar"],description:"The visual style of the slider."},showBubble:{type:"boolean",default:!0,description:"A value bubble that stays above each thumb and counts to the new value."},showBounds:{type:"boolean",default:!0,description:"Shows the min and max values at the ends of the track."},showInput:{type:"boolean",default:!1,description:"An editable value box beside the track or at each end in range mode."},showStepper:{type:"boolean",default:!1,description:"Minus and plus buttons at the ends of the track in single mode."},startIcon:{type:"icon",description:"Icon at the start of the row, outside the bounds."},endIcon:{type:"icon",description:"Icon at the end of the row, outside the bounds."},startLabel:{type:"string",description:"Replaces the formatted min at the start of the track."},endLabel:{type:"string",description:"Replaces the formatted max at the end of the track."},animationDuration:{type:"number",description:"Length in milliseconds of the bubble count animation."},inputWidth:{type:"number",default:72,description:"Width of each value box in pixels."},accessibilityLabel:{type:"string",description:"Spoken label read out for the slider."},range:{type:"boolean",description:"Enables range mode with two thumbs and a value pair."}},omit:["value","defaultValue","haptic"],examples:[{id:"SliderField.default",title:"Default slider with label and unit",props:{label:"Commission",unit:"(%)",helperText:"Choose how much commission each affiliate receives.",min:0,max:100,step:5}},{id:"SliderField.stepper",title:"With stepper and value box",props:{label:"Quantity",showInput:!0,showStepper:!0,min:1,max:20,step:1}},{id:"SliderField.range",title:"Range mode with input boxes",props:{label:"Budget",range:!0,showInput:!0,min:500,max:5e3,step:100}}],usage:{when:["Select a numeric value or range from a bounded scale with a field label and helper text.","Allow dragging a thumb, stepping with buttons, or typing into an editable value box."],whenNot:[{text:"Selecting a currency amount with Indian unit tiers.",instead:"AmountSlider"}],do:[{note:"Label the slider clearly and provide a unit when the value is not a plain count.",example:[{component:"SliderField",props:{label:"Commission",unit:"(%)",min:0,max:100,step:5}}]},{note:"Show an editable value box when people need to enter an exact number.",example:[{component:"SliderField",props:{label:"Budget",showInput:!0,min:1e3,max:5e4,step:500}}]}],dont:[{note:"Do not omit the unit when the value represents a percentage or specific measurement.",example:[{component:"SliderField",props:{label:"Commission",min:0,max:100,step:5}}]},{note:"Do not hide the value box when the range is wide and precise numbers matter.",example:[{component:"SliderField",props:{label:"Budget",showInput:!1,min:1e3,max:5e4,step:500}}]}],a11y:["The slider announces its label, current value and bounds to assistive technologies.","When value boxes are enabled, each input provides an accessible label and keyboard support."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"SortableList",marker:null,platforms:["phone"],acceptsChildren:!1,props:{data:{type:"array",required:!0,description:"The rows in their current order. Each row shows the app's own content."},handle:{type:"boolean",default:!1,description:"Shows a drag handle on each row, and only the handle lifts it. Off, a long press on the row lifts it."},disabled:{type:"boolean",default:!1,description:"Turns reordering off: rows cannot be lifted or moved."},accessibilityLabel:{type:"string",description:"Names the list for a screen reader."}},omit:[],examples:[{id:"SortableList.basic",title:"Basic",props:{data:["Pay the electricity bill","Book the dentist","Renew the car insurance"],accessibilityLabel:"Tasks"}},{id:"SortableList.handle",title:"Drag handle",props:{data:["Pay the electricity bill","Book the dentist","Renew the car insurance"],handle:!0,accessibilityLabel:"Tasks"}},{id:"SortableList.disabled",title:"Disabled",props:{data:["Pay the electricity bill","Book the dentist"],disabled:!0,accessibilityLabel:"Tasks"}}],usage:{when:["A person orders their own list, such as tasks, playlists or a checklist, by dragging the rows.","The same order must also change without a drag, which the component exposes to screen readers as Move up and Move down."],whenNot:[{text:"The order is set by the system, such as a date or a status, and the person cannot change it.",instead:"ListItem"}],do:[{note:"Keep it to a short list a person orders by hand, and reorder the parent state from the keys onReorder passes back.",example:[{component:"SortableList",props:{data:["Pay the electricity bill","Book the dentist"],accessibilityLabel:"Tasks"}}]},{note:"Place it on a screen that does not scroll, so a drag is never mistaken for a scroll.",example:[{component:"Screen",props:{title:"Tasks",scroll:!1},children:[{component:"SortableList",props:{data:["Pay the electricity bill","Book the dentist"],accessibilityLabel:"Tasks"}}]}]}],dont:[{note:"Do not use it for a long list; it does not virtualise, so every row mounts at once. Use a FlatList and reorder on a dedicated screen.",example:[{component:"SortableList",props:{data:["Row 1","Row 2","Row 3","Row 4","Row 5","Row 6","Row 7","Row 8","Row 9","Row 10"],accessibilityLabel:"Every task this year"}}]},{note:"Do not place it on a scrolling screen; the drag and the scroll then fight over the same gesture.",example:[{component:"Screen",props:{title:"Tasks"},children:[{component:"SortableList",props:{data:["Pay the electricity bill","Book the dentist"],accessibilityLabel:"Tasks"}}]}]}],a11y:["Each row offers Move up and Move down as screen reader actions, so a drag is never the only way to reorder.","Set accessibilityLabel so the list is named when a screen reader focuses it."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"Sparkline",marker:null,platforms:["phone"],acceptsChildren:!1,props:{data:{type:"array",required:!0,description:"The series, oldest first; values that are not finite numbers are dropped."},tone:{type:"enum",values:["primary","success","warning","danger","info","neutral"],default:"primary",description:"The line colour, drawn in the tone's text ink."},color:{type:"string",description:"A line colour that wins over the tone."},fill:{type:"boolean",default:!1,description:"Tints the area under the line."},highlightLast:{type:"boolean",default:!0,description:"Marks the last point with a dot."},height:{type:"number",default:32,description:"The height in points."},width:{type:"number",description:"The width in points; the full width of a column parent when left out."},strokeWidth:{type:"number",default:2,description:"The line thickness in points."},label:{type:"string",description:"What the series is, read first by a screen reader."},accessibilityLabel:{type:"string",description:"Replaces the whole screen reader label."}},omit:[],examples:[{id:"Sparkline.default",title:"Rising series",props:{data:[112940,118200,117500,125300,131800,129900,140200,147382],label:"Collections, last 30 days"}},{id:"Sparkline.falling",title:"Falling series with a fill",props:{data:[9,8,8,7,5,6,3,2],tone:"danger",fill:!0,label:"Overdue accounts"}},{id:"Sparkline.volatile",title:"Volatile series, no end dot",props:{data:[4,9,3,11,5,12,2,8,13,6],tone:"info",highlightLast:!1,height:48}},{id:"Sparkline.flat",title:"Flat series",props:{data:[5,5,5,5,5],tone:"neutral"}}],usage:{when:["Show the shape of a trend in a row or a tile, where the range is the series' own and no axes are needed."],whenNot:[{text:"Values the reader must compare against a scale or read off exactly.",instead:"BarChart"}],do:[{note:"Keep the real figure in text beside the line.",example:[{component:"Sparkline",props:{data:[112940,118200,117500,125300,131800,129900,140200,147382],label:"Collections"}},{component:"StatTile",props:{label:"Collections",value:147382,caption:"End of period"}}]},{note:"Give it a label that says what the series is and its period.",example:[{component:"Sparkline",props:{data:[112940,118200,117500,125300,131800,129900,140200,147382],label:"Collections, last 30 days",tone:"primary"}}]}],dont:[{note:"Do not use it to compare two series by size; each line uses its own range.",example:[{component:"Sparkline",props:{data:[112940,118200,117500,125300,131800],label:"Series A"}},{component:"Sparkline",props:{data:[4,9,3,11,5,12,2,8,13,6],label:"Series B",tone:"info"}}]},{note:"Do not rely on the line colour alone to say good or bad.",example:[{component:"Sparkline",props:{data:[4,9,3,11,5,12,2],tone:"danger",highlightLast:!0}}]}],a11y:["It reads as one image whose label states the start, end, low and high values, so a label is worth writing.","Colour never carries the meaning alone."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"Spinner",marker:null,platforms:["phone"],acceptsChildren:!1,props:{size:{type:"enum",values:["sm","md","lg"],default:"md",description:"The indicator size, 20, 32 or 48 points."},variant:{type:"enum",values:["circular","dots","contained"],default:"circular",description:"The indicator style; contained draws it on a tinted round container that fills its parent."},color:{type:"string",description:"The indicator colour; the primary colour when left out."},message:{type:"string",description:"A caption under the indicator."},overlay:{type:"boolean",default:!1,description:"Draws the spinner full screen over a backdrop; ignored by the contained variant."},backdropColor:{type:"string",description:"The backdrop colour in overlay mode."},accessibilityLabel:{type:"string",description:"The screen reader label; the message, or Loading, when left out."}},omit:[],examples:[{id:"Spinner.default",title:"Circular with a message",props:{message:"Loading your dashboard"}},{id:"Spinner.dots",title:"Dots",props:{variant:"dots",size:"lg"}},{id:"Spinner.contained",title:"Contained in a card",props:{variant:"contained",message:"Loading payslips"}}],usage:{when:["Show that content or a save is in progress when the wait is short or its length is unknown.","Block a whole screen during a save with the overlay, or load one slow section with the contained variant."],whenNot:[{text:"A wait with a known amount of progress.",instead:"ProgressBar"}],do:[{note:"Add a message that says what is loading.",example:[{component:"Spinner",props:{message:"Loading your dashboard"}}]},{note:"Put the contained variant inside the card or section that loads.",example:[{component:"Spinner",props:{variant:"contained",message:"Loading payslips"}}]}],dont:[{note:"Do not show a spinner without a message.",example:[{component:"Spinner",props:{}}]},{note:"Do not use the circular variant to fill a large container.",example:[{component:"Spinner",props:{variant:"circular",message:"Loading payslips"}}]}],a11y:["It reads as a progress indicator labelled by its message, so write the message as the label.","The contained variant announces its label once when it appears."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"SquircleView",marker:null,platforms:["phone"],acceptsChildren:!0,props:{accessibilityLabel:{type:"string",description:"Names the view for a screen reader."},accessibilityHint:{type:"string",description:"Says what a screen reader user gets from the view, read after its name."}},omit:["accessibilityActions","accessibilityElementsHidden","accessibilityIgnoresInvertColors","accessibilityLabelledBy","accessibilityLanguage","accessibilityLargeContentTitle","accessibilityLiveRegion","accessibilityRespondsToUserInteraction","accessibilityRole","accessibilityShowsLargeContentViewer","accessibilityState","accessibilityValue","accessibilityViewIsModal","accessible","aria-busy","aria-checked","aria-disabled","aria-expanded","aria-hidden","aria-label","aria-labelledby","aria-live","aria-modal","aria-selected","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","collapsable","collapsableChildren","focusable","hasTVPreferredFocus","hitSlop","id","importantForAccessibility","isTVSelectable","nativeID","needsOffscreenAlphaCompositing","pointerEvents","removeClippedSubviews","renderToHardwareTextureAndroid","role","screenReaderFocusable","shouldRasterizeIOS","tabIndex","tvParallaxMagnification","tvParallaxShiftDistanceX","tvParallaxShiftDistanceY","tvParallaxTiltAngle"],examples:[{id:"SquircleView.photoTile",title:"Photo tile",props:{accessibilityLabel:"Receipt photo"},children:"A receipt photo sits inside the rounded frame."},{id:"SquircleView.signatureFrame",title:"Signature frame",props:{accessibilityLabel:"Signature pad",accessibilityHint:"Draws a signature with a finger."},children:"Draw your signature inside the frame."},{id:"SquircleView.unnamed",title:"Unnamed frame",props:{},children:"Without a label, a screen reader reads only the contents."}],usage:{when:["A surface the library has no component for needs smooth rounded corners, such as a photo tile or a signature pad frame.","Set borderRadius, backgroundColor and a border in style."],whenNot:[{text:"The surface is a themed card with a header, a footer or a press action.",instead:"Card"}],do:[{note:"Name the view when its content needs a screen reader name.",example:[{component:"SquircleView",props:{accessibilityLabel:"Receipt photo"},children:[{component:"Text",props:{variant:"caption"},children:["Receipt from 12 March."]}]}]},{note:"Use it for a surface with no component of its own, such as a photo tile.",example:[{component:"SquircleView",props:{},children:[{component:"Text",props:{variant:"body"},children:["Parcel delivered to the front desk."]}]}]}],dont:[{note:"Do not leave the view unnamed, so a screen reader reads only the text inside it.",example:[{component:"SquircleView",props:{},children:[{component:"Text",props:{variant:"caption"},children:["Receipt from 12 March."]}]}]},{note:"Do not wrap a Card in SquircleView. Card already draws its own surface and corners.",example:[{component:"SquircleView",props:{},children:[{component:"Card",props:{title:"Parcel"},children:["Delivered to the front desk."]}]}]}],a11y:["Set accessibilityLabel so a screen reader names the view.","Set accessibilityHint only together with accessibilityLabel, since the hint is read after the name."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"StatTile",marker:null,platforms:["phone"],acceptsChildren:!1,props:{label:{type:"string",required:!0,description:"What the figure measures, drawn small above it."},value:{type:"node",required:!0,description:"The figure is always given: text or a number is drawn in the heading style, a node as is."},icon:{type:"icon",description:"The leading icon in a tinted circle."},iconVariant:{type:"enum",values:["linear","bold","broken","bulk","outline","twotone"],description:"The Iconsax style of an icon given as a name."},tone:{type:"enum",values:["primary","secondary","success","warning","danger","info","neutral"],default:"primary",description:"The tone of the icon circle."},caption:{type:"node",description:"A small line under the figure, such as a period or a delta."},trend:{type:"object",description:"How the figure changed, drawn under it as an arrow, a sign and the change.",fields:{value:{type:"stringOrNumber",required:!0,description:"The change; a number is a percentage drawn without its own sign, a string is drawn as given."},direction:{type:"enum",values:["up","down","flat"],required:!0,description:"Which way the figure moved; flat draws a dash and no sign."},goodWhen:{type:"enum",values:["up","down"],default:"up",description:"Which direction is good news, so the change reads green or red."},period:{type:"string",description:"What the change is measured against, written in full, such as vs last month."}}},sparkline:{type:"node",description:"A small chart under the text, usually a Sparkline."},loading:{type:"boolean",default:!1,description:"Draws a placeholder of the same footprint while the figure loads."},accessibilityLabel:{type:"string",description:"Read instead of the label and figure."}},omit:[],examples:[{id:"StatTile.default",title:"Figure with an icon and caption",props:{label:"Open assessments",value:24,icon:"shield-tick",tone:"success",caption:"Up 3 since last week"}},{id:"StatTile.trendUp",title:"Trend that is good news",props:{label:"Open assessments",value:24,icon:"shield-tick",trend:{value:12.4,direction:"up",period:"vs last month"}}},{id:"StatTile.trendDown",title:"Falling figure that is good news",props:{label:"Overdue accounts",value:42,trend:{value:3.1,direction:"down",goodWhen:"down",period:"vs last month"}}},{id:"StatTile.loading",title:"Loading",props:{label:"Open assessments",value:24,icon:"shield-tick",loading:!0}}],usage:{when:["Show one headline figure with its label, such as a dashboard KPI.","Make the figure a button that opens its detail by giving it a press handler."],whenNot:[{text:"Several figures that belong together in rows of label and value.",instead:"Descriptions"}],do:[{note:"Write the label as what is measured and put the period in the caption or trend.",example:[{component:"StatTile",props:{label:"Revenue",value:"24k",icon:"shield-tick",trend:{value:12,direction:"up",period:"vs last month"}}}]},{note:"Set goodWhen on a trend where a falling figure is good news.",example:[{component:"StatTile",props:{label:"Bounce rate",value:"42%",trend:{value:2.1,direction:"down",goodWhen:"down",period:"vs last month"}}}]}],dont:[{note:"Do not rely on the trend colour alone; the arrow and sign already carry the direction.",example:[{component:"StatTile",props:{label:"Revenue vs last month",value:"24k",icon:"shield-tick",tone:"success",caption:"12%"}}]},{note:"Do not put long text in the value; it is cut to one line.",example:[{component:"StatTile",props:{label:"Bounce rate",value:"42% (down is good)",trend:{value:2.1,direction:"down",period:"vs last month"}}}]}],a11y:["A text figure is read as the label, the value and the trend, such as up 12.4% vs last month.","A node figure needs an accessibility label of its own."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"StatusBadge",marker:null,platforms:["phone"],acceptsChildren:!1,props:{label:{type:"string",required:!0,description:"The status as the reader should see it, such as Active or Pending review."},tone:{type:"enum",values:["success","warning","danger","info","primary","neutral"],default:"neutral",description:"The semantic colour."},variant:{type:"enum",values:["soft","outline","solid"],default:"soft",description:"Soft is a light tint with a tone border, outline drops the fill, solid fills with the tone."},size:{type:"enum",values:["sm","md"],default:"md",description:"A 22 or 24 point pill."},dot:{type:"boolean",default:!1,description:"A small disc before the label in the status colour."},color:{type:"string",description:"A status colour of the app's own as six-digit hex, for a status the backend names with a colour; it wins over the tone."},loading:{type:"boolean",default:!1,description:"Draws the skeleton placeholder at the pill's footprint."},accessibilityLabel:{type:"string",description:"Read instead of the label."}},omit:[],examples:[{id:"StatusBadge.default",title:"Active with a dot",props:{label:"Active",tone:"success",dot:!0}},{id:"StatusBadge.pending",title:"Pending review",props:{label:"Pending review",tone:"warning"}},{id:"StatusBadge.rejected",title:"Rejected outline",props:{label:"Rejected",tone:"danger",variant:"outline"}},{id:"StatusBadge.archived",title:"Archived solid",props:{label:"Archived",tone:"neutral",variant:"solid",size:"sm"}}],usage:{when:["Name a record's status in a semantic colour, such as Active, Pending or Rejected."],whenNot:[{text:"A status the person taps, selects or closes.",instead:"Chip"},{text:"A count anchored to an icon.",instead:"Badge"}],do:[{note:"Map the app's status to a label and a tone in one place, and send unknown statuses to neutral.",example:[{component:"StatusBadge",props:{label:"Active",tone:"success"}}]},{note:"Keep the label short and in the reader's words.",example:[{component:"StatusBadge",props:{label:"Done",tone:"success"}}]}],dont:[{note:"Do not map an unknown status to the danger tone.",example:[{component:"StatusBadge",props:{label:"Unknown",tone:"danger"}}]},{note:"Do not rely on the tone alone to say the status; the label always says it.",example:[{component:"StatusBadge",props:{label:"Success",tone:"success"}}]}],a11y:["It reads as plain text with the label as its name, so the label must carry the status without colour.","Use accessibilityLabel only when the spoken form needs more than the label."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"Stepper",marker:null,platforms:["phone"],acceptsChildren:!1,props:{steps:{type:"array",required:!0,itemFields:{key:{type:"string",required:!0,description:"A stable id for the step."},label:{type:"string",required:!0,description:"The step's name as the reader sees it."},description:{type:"string",description:"A line under the label, drawn in the vertical variant."},icon:{type:"node",description:"An icon drawn in the step's circle in place of its number."}},description:"The steps in the order the person goes through them."},activeStep:{type:"number",nullable:!0,description:"The zero-based index of the current step, with every earlier step done; null or a negative number means none is active."},defaultActiveStep:{type:"number",nullable:!0,default:0,description:"The starting active step when activeStep is left out."},pressMode:{type:"enum",values:["none","back","select"],default:"none",description:"What a tap on a step does: nothing, returning to a done step, or choosing any step."},variant:{type:"enum",values:["horizontal","vertical","segmented"],default:"horizontal",description:"The layout: circles in a row, circles in a column with descriptions, or one bar per step."},tone:{type:"enum",values:["primary","success"],default:"primary",description:"The colour of the steps that are reached."},showCaption:{type:"boolean",default:!0,description:"Draws the caption above the bars in the segmented variant."},loading:{type:"boolean",default:!1,description:"Draws the skeleton placeholder in place of the stepper while its steps load."},accessibilityLabel:{type:"string",description:"The progressbar's screen reader name, replacing the progress summary."}},omit:["haptic"],examples:[{id:"Stepper.horizontal",title:"Checkout progress",props:{steps:[{key:"cart",label:"Cart"},{key:"shipping",label:"Shipping"},{key:"payment",label:"Payment"}],activeStep:1,variant:"horizontal"}},{id:"Stepper.vertical",title:"Vertical with descriptions",props:{steps:[{key:"account",label:"Account",description:"Create your login"},{key:"profile",label:"Profile",description:"Add your name and photo"},{key:"review",label:"Review",description:"Check and confirm"}],activeStep:1,variant:"vertical",tone:"success"}},{id:"Stepper.segmented",title:"Segmented caption",props:{steps:[{key:"details",label:"Details"},{key:"address",label:"Address"},{key:"payment",label:"Payment"}],activeStep:2,variant:"segmented",showCaption:!0}}],usage:{when:["A multi-step flow, such as checkout, sign-up or onboarding, where the person needs to see how far they have got.","A fixed sequence where every step before the active one is done and no step is skipped."],whenNot:[{text:"The sections can be opened in any order, with no sequence between them.",instead:"Tabs"}],do:[{note:"Pass the steps in the order the person goes through them, and set activeStep to the current step.",example:[{component:"Stepper",props:{steps:[{key:"cart",label:"Cart"},{key:"shipping",label:"Shipping"},{key:"payment",label:"Payment"}],activeStep:1}}]},{note:"Set pressMode to back so a person can return to a finished step and no further.",example:[{component:"Stepper",props:{steps:[{key:"cart",label:"Cart"},{key:"shipping",label:"Shipping"},{key:"payment",label:"Payment"}],activeStep:2,pressMode:"back"}}]}],dont:[{note:"Leave activeStep out and the stepper keeps its own position, so the page cannot show where the person really is.",example:[{component:"Stepper",props:{steps:[{key:"cart",label:"Cart"},{key:"shipping",label:"Shipping"},{key:"payment",label:"Payment"}]}}]},{note:"Set pressMode to select on a checkout only when jumping ahead is allowed, since it lets a person skip to steps they have not reached.",example:[{component:"Stepper",props:{steps:[{key:"cart",label:"Cart"},{key:"shipping",label:"Shipping"},{key:"payment",label:"Payment"}],activeStep:2,pressMode:"select"}}]}],a11y:["The stepper is a progressbar whose value is the number of steps reached, and each step reads its position, label and status.","A step that a tap can change is a button that reports whether it is selected and whether it is disabled."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"Swipeable",marker:null,platforms:["phone"],acceptsChildren:!0,props:{threshold:{type:"number",default:80,description:"The distance in points that fully reveals the row of actions."},fullSwipeThreshold:{type:"number",default:200,description:"The distance in points past which the first action fires and the row slides away."},disabled:{type:"boolean",default:!1,description:"Turns the swipe off, so the row cannot be dragged."},accessibilityLabel:{type:"string",description:"Names the row for a screen reader."}},omit:["leftActions","rightActions","haptic"],examples:[{id:"Swipeable.basic",title:"Basic",props:{},children:"Swipe this row to reveal its actions."},{id:"Swipeable.wideThreshold",title:"Wide threshold",props:{threshold:120,fullSwipeThreshold:260},children:"The actions need a longer swipe to open."},{id:"Swipeable.disabled",title:"Disabled",props:{disabled:!0},children:"This row cannot be swiped."}],usage:{when:["A list row or card should offer quick actions, such as archive or delete, on a swipe.","The same actions must also stay reachable without a swipe, which the component exposes to screen readers."],whenNot:[{text:"The row always shows its actions on screen, with no swipe needed.",instead:"ListItem"}],do:[{note:"Wrap one list row so the swipe reveals actions for that row only.",example:[{component:"Swipeable",props:{accessibilityLabel:"Inbox"},children:[{component:"ListItem",props:{title:"Inbox",subtitle:"3 unread messages"}}]}]},{note:"Give the row an accessibilityLabel so a screen reader announces its name.",example:[{component:"Swipeable",props:{accessibilityLabel:"Sent message"},children:[{component:"Text",props:{variant:"body"},children:["Lunch is at noon today."]}]}]}],dont:[{note:"Do not wrap a whole list in one Swipeable; a swipe then moves every row together.",example:[{component:"Swipeable",props:{accessibilityLabel:"Inbox"},children:[{component:"ListItem",props:{title:"Inbox",subtitle:"3 unread messages"}},{component:"ListItem",props:{title:"Sent",subtitle:"12 messages"}}]}]},{note:"Do not leave the row unnamed; a screen reader then reads only its text.",example:[{component:"Swipeable",props:{},children:[{component:"Text",props:{variant:"body"},children:["Lunch is at noon today."]}]}]}],a11y:["Each swipe action is also a screen reader action on the row, so a swipe is never the only way to act.","Set accessibilityLabel so the row is named when a screen reader focuses it."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"Switch",marker:null,platforms:["phone"],acceptsChildren:!1,props:{value:{type:"boolean",description:"The controlled on or off state."},defaultValue:{type:"boolean",default:!1,description:"The starting state when value is left out."},disabled:{type:"boolean",default:!1,description:"Blocks the press and dims the control."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"The track and thumb size."},tone:{type:"enum",values:["primary","success","warning","danger"],default:"primary",description:"The track colour when on."},label:{type:"node",description:"A string or a node drawn beside the control."},description:{type:"node",description:"A secondary line under the label."},error:{type:"node",description:"An error line under the label that also outlines the off track."},labelLines:{type:"number",description:"The lines the label and description may take before an ellipsis; no limit when left out."},layout:{type:"enum",values:["inline","row"],default:"inline",description:"Inline puts the text beside the control; row puts the text on the left and the control on the right, with the whole row pressable."},accessibilityLabel:{type:"string",description:"The screen reader name of the switch."},bounce:{type:"boolean",default:!1,description:"The thumb briefly scales up when the value changes."}},omit:["haptic","hitSlop","id","needsOffscreenAlphaCompositing","pointerEvents","removeClippedSubviews","nativeID","collapsable","collapsableChildren","renderToHardwareTextureAndroid","focusable","tabIndex","shouldRasterizeIOS","isTVSelectable","hasTVPreferredFocus","tvParallaxShiftDistanceX","tvParallaxShiftDistanceY","tvParallaxTiltAngle","tvParallaxMagnification","accessible","accessibilityActions","aria-label","accessibilityRole","accessibilityState","aria-busy","aria-checked","aria-disabled","aria-expanded","aria-selected","accessibilityHint","accessibilityValue","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","importantForAccessibility","aria-hidden","aria-modal","role","accessibilityLabelledBy","aria-labelledby","accessibilityLiveRegion","aria-live","screenReaderFocusable","accessibilityElementsHidden","accessibilityViewIsModal","accessibilityIgnoresInvertColors","accessibilityLanguage","accessibilityShowsLargeContentViewer","accessibilityLargeContentTitle","accessibilityRespondsToUserInteraction","cancelable","delayHoverIn","delayHoverOut","delayLongPress","pressRetentionOffset","android_disableSound","android_ripple","testOnly_pressed","unstable_pressDelay"],examples:[{id:"Switch.default",title:"On with a label",props:{value:!0,label:"Push notifications"}},{id:"Switch.success",title:"Success tone, off",props:{value:!1,tone:"success",label:"Email updates"}},{id:"Switch.row",title:"Row layout with a description",props:{value:!0,layout:"row",label:"Notifications",description:"Alerts for new messages"}},{id:"Switch.disabled",title:"Disabled",props:{value:!1,disabled:!0,label:"Sync over mobile data"}}],usage:{when:["Turn a setting on or off where the change takes effect at once."],whenNot:[{text:"A choice that needs an explicit submit, such as a form field.",instead:"Checkbox"},{text:"Choosing one of several values.",instead:"SegmentedControl"}],do:[{note:"Label it with what turns on, not with the word on.",example:[{component:"Switch",props:{value:!0,label:"Airplane mode"}}]},{note:"Use the row layout for a settings list so the whole row is the target.",example:[{component:"Switch",props:{value:!0,layout:"row",label:"Wi-Fi",description:"Connect to available networks"}}]}],dont:[{note:"Do not use it to submit or confirm something.",example:[{component:"Switch",props:{value:!1,label:"Confirm payment"}}]},{note:"Do not use the danger tone for a normal setting.",example:[{component:"Switch",props:{value:!0,tone:"danger",label:"Dark mode"}}]}],a11y:["A node label needs an accessibilityLabel, since a screen reader cannot read the node.","The control reads as a switch with its state, so the label must name what it controls."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"Tabs",marker:null,platforms:["phone"],acceptsChildren:!1,props:{tabs:{type:"array",required:!0,description:"The tabs in order.",itemFields:{key:{type:"string",required:!0,description:"The tab's stable identifier."},label:{type:"string",required:!0,description:"The tab's text."},icon:{type:"icon",description:"A leading icon drawn in the label colour."},badge:{type:"stringOrNumber",description:"A count or text drawn after the label."},disabled:{type:"boolean",description:"Blocks the tab."}}},activeKey:{type:"string",required:!0,description:"The key of the selected tab."},variant:{type:"enum",values:["underline","pills","segmented"],default:"underline",description:"A sliding underline, a tinted pill, or a filled track with a thumb."},radius:{type:"enumOrNumber",values:["none","sm","md","lg","xl","pill"],description:"The corner radius of the track, pill or underline ends."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"Scales the text, tab padding and icon together."},scrollable:{type:"boolean",default:!1,description:"Scrolls a long tab list sideways instead of sharing the width equally."},align:{type:"enum",values:["left","center"],default:"left",description:"The tab alignment when the list is not scrollable."},accessibilityLabel:{type:"string",description:"The screen reader name of the tab list."}},omit:["haptic","progress"],itemsTakeAction:["tabs"],examples:[{id:"Tabs.default",title:"Underline with icons",props:{tabs:[{key:"home",label:"Home",icon:"home"},{key:"feed",label:"Feed",icon:"activity"},{key:"team",label:"Team",icon:"people"},{key:"alerts",label:"Alerts",icon:"notification"}],activeKey:"home"}},{id:"Tabs.pills",title:"Pills",props:{variant:"pills",tabs:[{key:"home",label:"Home"},{key:"feed",label:"Feed"},{key:"team",label:"Team"},{key:"alerts",label:"Alerts"}],activeKey:"feed"}},{id:"Tabs.segmented",title:"Segmented with a large radius",props:{variant:"segmented",radius:"lg",tabs:[{key:"home",label:"Home"},{key:"feed",label:"Feed"},{key:"team",label:"Team"}],activeKey:"home"}},{id:"Tabs.badges",title:"Badges and a disabled tab",props:{tabs:[{key:"inbox",label:"Inbox",badge:3},{key:"sent",label:"Sent"},{key:"drafts",label:"Drafts",badge:12},{key:"archived",label:"Archived",disabled:!0}],activeKey:"inbox"}}],usage:{when:["Switch between sections of one screen, such as Overview, Activity and Team.","Show a long list of sections that scrolls sideways."],whenNot:[{text:"Choosing a value, such as a filter or a unit.",instead:"SegmentedControl"},{text:"An ordered flow where completion state matters.",instead:"Stepper"}],do:[{note:"Keep labels to one or two words so every tab fits.",example:[{component:"Tabs",props:{tabs:[{key:"home",label:"Home"},{key:"feed",label:"Feed"},{key:"team",label:"Team"}],activeKey:"home"}}]},{note:"Use scrollable when the labels no longer fit the width.",example:[{component:"Tabs",props:{scrollable:!0,tabs:[{key:"overview",label:"Overview"},{key:"activity",label:"Activity"},{key:"team",label:"Team"},{key:"settings",label:"Settings"},{key:"profile",label:"Profile"}],activeKey:"overview"}}]}],dont:[{note:"Do not nest tab bars.",example:[{component:"Tabs",props:{tabs:[{key:"main",label:"Main"},{key:"sub",label:"Sub"}],activeKey:"main"}}]},{note:"Do not use more than five tabs without scrolling.",example:[{component:"Tabs",props:{tabs:[{key:"home",label:"Home"},{key:"feed",label:"Feed"},{key:"team",label:"Team"},{key:"settings",label:"Settings"},{key:"profile",label:"Profile"},{key:"help",label:"Help"}],activeKey:"home"}}]}],a11y:["The bar reads as a tab list and each tab as a tab with its selected state, so keep labels meaningful.","A disabled tab is announced as unavailable; do not hide a section behind one without saying why."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"TagInput",marker:null,platforms:["phone"],acceptsChildren:!1,props:{value:{type:"array",description:"The controlled list of tags."},defaultValue:{type:"array",default:[],description:"The starting tags when value is left out."},placeholder:{type:"string",description:"The hint shown while the field is empty."},label:{type:"string",description:"The label above the field."},helperText:{type:"string",description:"A message below the field."},error:{type:"node",description:"A string or node that puts the field in the error state and replaces the helper text."},required:{type:"boolean",description:"Adds the required marker to the label."},disabled:{type:"boolean",default:!1,description:"Keeps the tags visible but blocks adding and removing."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"The field size."},variant:{type:"enum",values:["outlined","filled","underline"],default:"outlined",description:"The resting fill and border treatment."},maxTags:{type:"number",description:"Rejects a tag past this count; unlimited when left out."},unique:{type:"boolean",default:!0,description:"Rejects a tag that already exists, ignoring case."},separators:{type:"array",default:[","],description:"The characters that commit the draft as a tag."}},omit:["haptic"],examples:[{id:"TagInput.default",title:"Skills",props:{label:"Skills",placeholder:"Add a skill",value:["React Native","TypeScript"]}},{id:"TagInput.limited",title:"Limited to three tags",props:{label:"Skills",value:["React Native","TypeScript"],maxTags:3,helperText:"Add up to three skills."}},{id:"TagInput.error",title:"Error state",props:{label:"Recipients",value:["asha@example.com"],error:"Enter a valid email address."}},{id:"TagInput.filled",title:"Filled and small",props:{label:"Skills",placeholder:"Add a skill",variant:"filled",size:"sm",value:[]}}],usage:{when:["Collect a small set of discrete values, such as skills, recipients or filters."],whenNot:[{text:"One free-text value.",instead:"Input"},{text:"A closed, known list of choices.",instead:"Select"}],do:[{note:"Say how a tag is committed in the helper text, such as Press comma to add.",example:[{component:"TagInput",props:{label:"Skills",value:["React Native","TypeScript"],helperText:"Press comma to add."}}]},{note:"Set maxTags when the list has a natural limit.",example:[{component:"TagInput",props:{label:"Skills",value:["React Native"],maxTags:3,helperText:"Add up to three skills."}}]}],dont:[{note:"Do not use it for a long list; the tags wrap and push the form down.",example:[{component:"TagInput",props:{label:"Tags",placeholder:"Add tags",value:[]}}]},{note:"Do not rely on the error colour alone; write the error text.",example:[{component:"TagInput",props:{label:"Skills",value:["React Native"],error:""}}]}],a11y:["The label names the field, so always give one.","Backspace on an empty draft removes the last tag, and a pending draft commits when the field loses focus."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"Text",marker:null,platforms:["phone"],acceptsChildren:!0,props:{variant:{type:"enum",values:["display","h1","h2","h3","title","body","bodySmall","caption","label","overline"],default:"body",description:"The built-in typography variant; unknown names fall back to body."},color:{type:"string",description:"Text colour: a theme role such as primary or danger, or a raw colour string."},weight:{type:"enum",values:["normal","medium","semibold","bold"],description:"The font weight override."},size:{type:"stringOrNumber",description:"The text size: a theme step name or a pixel number."},align:{type:"enum",values:["left","center","right","justify","auto"],description:"The text alignment."},italic:{type:"boolean",default:!1,description:"Draws the text in italics."},underline:{type:"boolean",default:!1,description:"Draws a line under the text."},numberOfLines:{type:"number",description:"Cuts the text to this many lines, ending with an ellipsis."}},omit:["accessibilityActions","accessibilityElementsHidden","accessibilityHint","accessibilityIgnoresInvertColors","accessibilityLabel","accessibilityLabelledBy","accessibilityLanguage","accessibilityLargeContentTitle","accessibilityLiveRegion","accessibilityRespondsToUserInteraction","accessibilityRole","accessibilityShowsLargeContentViewer","accessibilityState","accessibilityValue","accessibilityViewIsModal","accessible","adjustsFontSizeToFit","allowFontScaling","android_hyphenationFrequency","aria-busy","aria-checked","aria-disabled","aria-expanded","aria-hidden","aria-label","aria-labelledby","aria-live","aria-modal","aria-selected","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","dataDetectorType","disabled","dynamicTypeRamp","ellipsizeMode","id","importantForAccessibility","lineBreakMode","lineBreakStrategyIOS","maxFontSizeMultiplier","minimumFontScale","nativeID","pointerEvents","pressRetentionOffset","role","screenReaderFocusable","selectable","selectionColor","suppressHighlighting","textBreakStrategy"],examples:[{id:"Text.body",title:"Body text",props:{variant:"body"},children:"A plain paragraph in the body style."},{id:"Text.heading",title:"Heading",props:{variant:"h2",color:"primary"},children:"A large heading."},{id:"Text.styled",title:"Styled",props:{variant:"label",underline:!0,italic:!0},children:"Underlined and italic label."}],usage:{when:["Any readable text: headings, paragraphs, labels, captions or links rendered as text."],whenNot:[{text:"A button or interactive action.",instead:"Button"},{text:"A multi-line selectable input.",instead:"Input"}],do:[{note:"Pick the variant that matches the text's role in the design.",example:[{component:"Text",props:{variant:"body"},children:["A plain paragraph."]}]},{note:"Use italic and underline only for emphasis, not for layout.",example:[{component:"Text",props:{variant:"body",italic:!0},children:["Note: this is optional."]}]}],dont:[{note:"Do not use a heading variant for body copy.",example:[{component:"Text",props:{variant:"h1"},children:["A plain paragraph."]}]},{note:"Do not underline text to fake a link or action.",example:[{component:"Text",props:{variant:"body",underline:!0},children:["Click here."]}]}],a11y:["Set accessibilityLabel when the visible text does not describe the purpose.","Colour should reinforce, not replace, the meaning carried by the text."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"TimePicker",marker:null,platforms:["phone"],acceptsChildren:!1,props:{visible:{type:"boolean",description:"Controlled-modal visibility; leave out and the component shows a field and opens its own sheet."},value:{type:"object",description:"The selected time.",fields:{hour:{type:"number",required:!0,description:"The hour 0 to 23 in 24 hour form."},minute:{type:"number",required:!0,description:"The minute 0 to 59."}}},format:{type:"enum",values:["12h","24h"],default:"12h",description:"Wheel labelling and whether an AM or PM wheel shows."},minuteStep:{type:"enum",values:[1,5,15,30],default:1,description:"Minute wheel step."},title:{type:"string",default:"Select Time",description:"Sheet header text."},confirmLabel:{type:"string",default:"Confirm",description:"Confirm button label."},cancelLabel:{type:"string",default:"Cancel",description:"Cancel button label."},label:{type:"string",description:"Field label (field mode)."},placeholder:{type:"string",description:"Text shown while no time is chosen."},helperText:{type:"string",description:"Text under the field."},error:{type:"node",description:"Error text under the field."},required:{type:"boolean",description:"Marks the field as required."},disabled:{type:"boolean",description:"Blocks opening the sheet."},size:{type:"enum",values:["sm","md","lg"],description:"Field size."},variant:{type:"enum",values:["outlined","filled","underline"],description:"Field look; the theme setting decides when it is left out."},clearable:{type:"boolean",description:"Shows a clear control once a time is set."}},omit:["haptic"],examples:[{id:"TimePicker.default",title:"Default",props:{label:"Start time",placeholder:"Pick a time",value:{hour:9,minute:30}}},{id:"TimePicker.format24h",title:"24 hour with quarter steps",props:{label:"Meeting at",format:"24h",minuteStep:15,value:{hour:14,minute:45}}},{id:"TimePicker.empty",title:"Empty with helper",props:{label:"Reminder time",placeholder:"Pick a time",helperText:"We remind you at this time every day.",clearable:!0}},{id:"TimePicker.error",title:"Error",props:{label:"Start time",variant:"filled",error:"Choose a start time",required:!0}}],usage:{when:["Ask for a time of day, such as a start time or a reminder.","The value is an hour and a minute, not a duration."],whenNot:[{text:"A length of time in hours and minutes.",instead:"WheelPickerDuration"},{text:"A date, or a date with a time.",instead:"DatePicker"}],do:[{note:"Add a visible label that says which time is wanted.",example:[{component:"TimePicker",props:{label:"Start time",placeholder:"Pick a time"}}]},{note:"Set minuteStep to 15 for scheduling flows.",example:[{component:"TimePicker",props:{label:"Meeting time",minuteStep:15}}]}],dont:[{note:"Do not leave the field without a label.",example:[{component:"TimePicker",props:{placeholder:"Pick a time"}}]},{note:"Do not use it for a duration such as 90 minutes.",example:[{component:"TimePicker",props:{label:"Meeting duration",minuteStep:15}}]}],a11y:["Each wheel can be adjusted with a screen reader swipe; keep the title short and clear.","Keep error text short and say how to fix the time."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"Timeline",marker:null,platforms:["phone"],acceptsChildren:!1,props:{items:{type:"array",required:!0,description:"The entries in order, first step or oldest first.",itemFields:{title:{type:"string",required:!0,description:"The entry headline."},description:{type:"string",description:"Supporting sentence under the meta line."},meta:{type:"string",description:"A timestamp, an actor or another metadata line under the title."},status:{type:"enum",values:["upcoming","current","done","onHold","rejected","cancelled","skipped"],description:"Drives the dot colour on the progress variant; a feed shows every entry as done when it is left out."},color:{type:"string",description:"Overrides the dot colour for a stage no status produces; the halo follows it."},icon:{type:"node",description:"Replaces the dot and its halo."},children:{type:"node",description:"Content below the text block."}}},variant:{type:"enum",values:["feed","progress"],default:"feed",description:"Feed is an audit trail, progress is a status tracker."},orientation:{type:"enum",values:["vertical","horizontal"],default:"vertical",description:"Vertical stacks entries beside a rail, horizontal gives each entry an equal column."}},omit:[],examples:[{id:"Timeline.default",title:"Feed",props:{variant:"feed",items:[{title:"Raised",meta:"12 Aug, 9:04 am"},{title:"Reviewed",meta:"12 Aug, 10:12 am"},{title:"Approved",meta:"12 Aug, 11:20 am"}]}},{id:"Timeline.progress",title:"Progress tracker",props:{variant:"progress",items:[{title:"Requirement raised",status:"done"},{title:"Estimation",status:"done"},{title:"Client sign-off",status:"current"},{title:"Development",status:"upcoming"}]}},{id:"Timeline.horizontal",title:"Horizontal progress",props:{variant:"progress",orientation:"horizontal",items:[{title:"Raised",status:"done"},{title:"Estimate",status:"done"},{title:"Sign-off",status:"onHold"},{title:"Build",status:"upcoming"}]}},{id:"Timeline.terminal",title:"Rejected ending",props:{variant:"progress",items:[{title:"Submitted",status:"done"},{title:"Reviewed",status:"done"},{title:"Declined",status:"rejected",description:"The amount is above the approved limit."}]}}],usage:{when:["Show what has happened to a record, such as a sign-off or order history.","Track a record through stages where an entry can end in a terminal status."],whenNot:[{text:"A linear flow where the only question is which step the person is on.",instead:"Stepper"}],do:[{note:"Give every entry a short title and put the time or actor in meta.",example:[{component:"Timeline",props:{variant:"feed",items:[{title:"Raised",meta:"12 Aug, 9:04 am"},{title:"Approved",meta:"12 Aug, 11:20 am"}]}}]},{note:"Use status on the progress variant so each stage reads at a glance.",example:[{component:"Timeline",props:{variant:"progress",items:[{title:"Requirement raised",status:"done"},{title:"Client sign-off",status:"current"},{title:"Development",status:"upcoming"}]}}]}],dont:[{note:"Do not put long paragraphs in a title; use description for the detail.",example:[{component:"Timeline",props:{variant:"feed",items:[{title:"The requirement was raised by the client and requires review before it can move to the next stage",description:"Requires review."}]}}]},{note:"Do not rely on dot colour alone to carry the meaning; keep the title clear.",example:[{component:"Timeline",props:{variant:"progress",items:[{title:"Step one",color:"green"},{title:"Step two",color:"red"}]}}]}],a11y:["Each entry reads as its title, meta and description in order, so keep that text complete without the dot colour.","A custom icon replaces the status dot, so say the status in the title or description."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"Toast",marker:null,platforms:["phone"],acceptsChildren:!1,props:{toast:{type:"object",required:!0,description:"The message the toast shows.",fields:{id:{type:"string",required:!0,description:"Names the toast; the host uses it to dismiss and replace."},message:{type:"string",required:!0,description:"The toast headline."},description:{type:"string",description:"Supporting line under the message."},variant:{type:"enum",values:["default","success","danger","warning","info"],default:"default",description:"Icon and tint of the toast."},position:{type:"enum",values:["top","bottom"],default:"bottom",description:"Edge the toast sits at."},duration:{type:"number",default:3e3,description:"Milliseconds before it dismisses itself; 0 keeps it until dismissed."},action:{type:"object",description:"Trailing action on the toast.",fields:{label:{type:"string",required:!0,description:"The trailing action text."}}},icon:{type:"node",description:"Replaces the leading variant icon."},countdown:{type:"boolean",description:"Draws a bar along the bottom edge that empties over the duration."}}}},omit:["index","shownAt","runtime"],examples:[{id:"Toast.default",title:"Success",props:{toast:{id:"toast-1",message:"Profile saved",description:"Your changes are live.",variant:"success",position:"bottom"}}},{id:"Toast.danger",title:"Danger",props:{toast:{id:"toast-2",message:"Could not save",description:"Check your connection and try again.",variant:"danger"}}},{id:"Toast.top",title:"Info at the top",props:{toast:{id:"toast-3",message:"New message from Asha",variant:"info",position:"top"}}},{id:"Toast.countdown",title:"Warning with countdown",props:{toast:{id:"toast-4",message:"Session ends soon",variant:"warning",duration:6e3,countdown:!0}}}],usage:{when:["Confirm a quick result without stopping the person, such as a save or a copy.","Report a background failure the person does not need to answer right now."],whenNot:[{text:"A message the person must read before going on.",instead:"Dialog"},{text:"A message that belongs to one part of the screen and stays there.",instead:"Banner"}],do:[{note:"Keep the message to a short phrase and use description for the detail.",example:[{component:"Toast",props:{toast:{id:"do-1",message:"Profile saved",description:"Your changes are now live for everyone to see."}}}]},{note:"Pick the variant that matches the outcome: success, danger, warning or info.",example:[{component:"Toast",props:{toast:{id:"do-2",message:"Connection lost",variant:"danger"}}}]}],dont:[{note:"Do not put the only way to finish a task in a toast action; it disappears.",example:[{component:"Toast",props:{toast:{id:"dont-1",message:"Draft saved",action:{label:"Publish"}}}}]},{note:"Do not stack many toasts at once; the host keeps three.",example:[{component:"Toast",props:{toast:{id:"dont-2a",message:"File uploaded"}}},{component:"Toast",props:{toast:{id:"dont-2b",message:"Profile saved"}}},{component:"Toast",props:{toast:{id:"dont-2c",message:"Message sent"}}}]}],a11y:["A toast with an action stays longer when a screen reader is on; keep its text complete without the icon.","Do not rely on the tint alone; the message must say what happened."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"Tooltip",marker:null,platforms:["phone"],acceptsChildren:!0,props:{content:{type:"node",required:!0,description:"The tooltip body; a string uses the default text styling."},variant:{type:"enum",values:["plain","rich"],default:"plain",description:"Plain is a short dark hint; rich is a light card with a title, the content and one action."},title:{type:"string",description:"Rich only: one line over the content."},action:{type:"object",fields:{label:{type:"string",required:!0,description:"The button text."},accessibilityLabel:{type:"string",description:"Replaces the button text for a screen reader."}},description:"Rich only: one text button."},placement:{type:"enum",values:["top","bottom","left","right","auto"],default:"auto",description:"Where the bubble sits; auto picks the side with the most room, and left and right read as auto on a rich tooltip."},trigger:{type:"enum",values:["longPress","press","manual"],description:"What opens the tooltip; manual follows `visible`."},visible:{type:"boolean",description:"Controls the tooltip when the trigger is manual."},hideOnContentPress:{type:"boolean",default:!0,description:"Tapping the bubble dismisses it."},maxWidth:{type:"number",description:"Widest the bubble grows, in points; 240 plain, 280 rich when left out."},showArrow:{type:"boolean",default:!0,description:"Draws the caret toward the trigger."},accessibilityLabel:{type:"string",description:"Screen reader name of the tooltip."},closeLabel:{type:"string",default:"Close tooltip",description:"Screen reader name of the tap-outside area."}},omit:[],examples:[{id:"Tooltip.default",title:"Plain hint",props:{content:"Long-press to see the full name."},children:"Long-press me"},{id:"Tooltip.rich",title:"Rich with title",props:{variant:"rich",title:"Earned leave",content:"Leave you build up each month and can carry forward."},children:"Earned leave"},{id:"Tooltip.placementBottom",title:"Below the trigger",props:{content:"Opens below the button.",placement:"bottom",trigger:"press"},children:"Press me"},{id:"Tooltip.manual",title:"Open by visible",props:{content:"Shown because visible is true.",trigger:"manual",visible:!0,showArrow:!1},children:"Info"}],usage:{when:["Explain an icon-only button or a shortened label on demand.","Give a short secondary explanation that should not take space until asked for."],whenNot:[{text:"Content with inputs, a list or more than one action.",instead:"BottomSheet"},{text:"A hint every person needs to read.",instead:"Banner"}],do:[{note:"Keep plain tooltips to one short line.",example:[{component:"Tooltip",props:{content:"Long-press to see more",variant:"plain",placement:"auto",trigger:"press"},children:"Show details"}]},{note:"Use the rich variant when the hint needs a title or one action.",example:[{component:"Tooltip",props:{content:"An action that deletes this item",variant:"rich",title:"Delete item",action:{label:"Delete"},placement:"bottom",trigger:"press"},children:"Delete"}]}],dont:[{note:"Do not put the only copy of important information in a tooltip.",example:[{component:"Tooltip",props:{content:"Your payment has failed. Please contact support at support@example.com to resolve this.",variant:"plain",placement:"auto",trigger:"press"},children:"View payment status"}]},{note:"Do not wrap a trigger that already has its own context menu in a long-press tooltip.",example:[{component:"Tooltip",props:{content:"Edit this record",placement:"auto",trigger:"longPress"},children:"Menu button"}]}],a11y:["A rich tooltip moves screen reader focus into itself and back on close; keep its title and content short.","Set accessibilityLabel when the content is a node with no readable text."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"Tour",marker:null,platforms:["phone"],acceptsChildren:!1,props:{tourId:{type:"string",required:!0,description:"Names the tour in the seen store."},visible:{type:"boolean",required:!0,description:"Runs the tour while true."},labels:{type:"object",description:"Button texts of the step card.",fields:{back:{type:"string",description:"Back button text.",default:"Back"},next:{type:"string",description:"Next button text.",default:"Next"},skip:{type:"string",description:"Skip button text.",default:"Skip"},done:{type:"string",description:"Done button text.",default:"Done"}}}},omit:["steps","seenStore","haptic"],examples:[{id:"Tour.default",title:"Walkthrough open",props:{tourId:"showcase-tour",visible:!0}},{id:"Tour.labels",title:"Custom button texts",props:{tourId:"orders-tour",visible:!0,labels:{back:"Previous",next:"Continue",skip:"Not now",done:"Finish"}}}],usage:{when:["Introduce a screen to a first time visitor, one highlighted view at a time.","Point at views the person might miss after a release adds a feature."],whenNot:[{text:"Help that must stay on screen while the person works.",instead:"Banner"},{text:"A hint for one control, shown on demand.",instead:"Tooltip"}],do:[{note:"Keep each step to one view and one or two sentences.",example:[{component:"Tour",props:{tourId:"feature-tour",visible:!0}}]},{note:"Give the tour a stable tourId so it shows once per person.",example:[{component:"Tour",props:{tourId:"onboarding-tour",visible:!0}}]}],dont:[{note:"Do not start a tour on every launch.",example:[{component:"Tour",props:{tourId:"launch-tour",visible:!0}}]},{note:"Do not point a step at a view that may be off screen; it is skipped.",example:[{component:"Tour",props:{tourId:"offscreen-tour",visible:!0}}]}],a11y:["The step card is read like a dialog; keep titles and descriptions complete on their own.","Skip stays available on every step and by the Android back button."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"TypingIndicator",marker:null,platforms:["phone"],acceptsChildren:!1,props:{label:{description:'Line shown beside the dots and read by screen readers, such as "Asha is typing".',type:"string"},accessibilityLabel:{description:"Screen reader name when there is no visible label.",type:"string",default:"Typing"},bubble:{description:"Draws the dots inside a received message bubble.",type:"boolean",default:!0}},omit:[],examples:[{id:"TypingIndicator.default",title:"With a label",props:{label:"Asha is typing"}},{id:"TypingIndicator.dotsOnly",title:"Dots only",props:{accessibilityLabel:"Asha is typing"}},{id:"TypingIndicator.noBubble",title:"Without a bubble",props:{label:"Asha is typing",bubble:!1}}],usage:{when:["Show that the other person is writing a reply at the foot of a conversation."],whenNot:[{text:"Waiting for a request or a screen to load.",instead:"Spinner"}],do:[{note:"Put it in the typing slot of the message list so it sits under the newest message.",example:[{component:"MessageBubble",props:{side:"mine",text:"Are you free to talk?"}},{component:"TypingIndicator",props:{label:"Asha is typing"}}]},{note:"Name who is typing in the label when more than one person can write.",example:[{component:"TypingIndicator",props:{label:"Asha is typing"}}]}],dont:[{note:"Do not leave it on screen after the reply arrives.",example:[{component:"MessageBubble",props:{side:"mine",text:"Are you free to talk?"}},{component:"MessageBubble",props:{side:"theirs",text:"Yes I am free to talk."}},{component:"TypingIndicator",props:{label:"Asha is typing"}}]},{note:"Do not use it as a general loading signal.",example:[{component:"TypingIndicator",props:{label:"Loading data"}}]}],a11y:["It is not announced when it appears; a person hears the reply when it arrives.","Set accessibilityLabel when there is no visible label so the dots still have a name."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"WheelPickerColumns",component:"WheelPicker",fixedProps:{mode:"columns"},platforms:["phone"],acceptsChildren:!1,marker:null,props:{columns:{type:"array",required:!0,description:"Several wheels side by side.",itemFields:{key:{type:"string",required:!0,description:"Names the column."},label:{type:"string",required:!0,description:"The column name for a screen reader."},items:{type:"array",required:!0,description:"The rows.",itemFields:{value:{type:"stringOrNumber",required:!0,description:"The value returned when this row is selected."},label:{type:"string",required:!0,description:"The text displayed for this row."},accessibilityLabel:{type:"string",description:"The spoken text for a screen reader."}}},value:{type:"stringOrNumber",required:!0,description:"The selected item's value."},width:{type:"number",description:"Fixed width in points, 64 when left out."},separator:{type:"string",description:'Text drawn after the column such as ":".'},unit:{type:"string",description:"Small label beside the selected row."},gapAfter:{type:"number",description:"Empty space after the column in points."}}},disabled:{type:"boolean",default:!1,description:"Locks scrolling and dims the wheels."}},omit:["haptic"],examples:[{id:"WheelPickerColumns.default",title:"Colour and size",props:{columns:[{key:"colour",label:"Colour",value:"Blue",width:112,items:[{value:"Red",label:"Red"},{value:"Green",label:"Green"},{value:"Blue",label:"Blue"},{value:"Black",label:"Black"}]},{key:"size",label:"Size",value:"M",items:[{value:"S",label:"S"},{value:"M",label:"M"},{value:"L",label:"L"},{value:"XL",label:"XL"}]}]}},{id:"WheelPickerColumns.disabled",title:"Locked",props:{columns:[{key:"size",label:"Size",value:"L",items:[{value:"S",label:"S"},{value:"M",label:"M"},{value:"L",label:"L"}]}],disabled:!0}}],usage:{when:["Choose from a short ordered set on each of several wheels, such as colour and size."],whenNot:[{text:"One value from a long or searchable list.",instead:"Select"},{text:"A time of day.",instead:"TimePicker"}],do:[{note:"Give every column a label so a screen reader names it.",example:[{component:"WheelPickerColumns",props:{columns:[{key:"colour",label:"Colour",value:"Blue",items:[{value:"Red",label:"Red"},{value:"Blue",label:"Blue"}]}]}}]}],dont:[{note:"Do not put more than a handful of rows on a wheel; people cannot scan a long one.",example:[{component:"WheelPickerColumns",props:{columns:[{key:"month",label:"Month",value:"January",items:[{value:"Jan",label:"January"},{value:"Feb",label:"February"},{value:"Mar",label:"March"},{value:"Apr",label:"April"},{value:"May",label:"May"},{value:"Jun",label:"June"},{value:"Jul",label:"July"},{value:"Aug",label:"August"},{value:"Sep",label:"September"},{value:"Oct",label:"October"},{value:"Nov",label:"November"},{value:"Dec",label:"December"}]}]}}]}],a11y:["Each wheel is an adjustable control: swipe up or down to move one row; keep row text short and complete."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"WheelPickerDuration",component:"WheelPicker",fixedProps:{mode:"duration"},platforms:["phone"],acceptsChildren:!1,marker:null,props:{value:{type:"number",required:!0,description:"The duration as whole minutes."},minuteStep:{type:"enum",values:[1,5,15,30],default:1,description:"Minute wheel step."},maxMinutes:{type:"number",default:1439,description:"Longest duration in minutes."},presets:{type:"array",description:"Durations in minutes shown as chips under the wheel; each must be a whole number of minutes from 0 to maxMinutes in steps of minuteStep."},labels:{type:"object",description:"Custom labels for the hour and minute wheels and units.",fields:{hours:{type:"string",default:"Hours",description:"Label for the hours column."},minutes:{type:"string",default:"Minutes",description:"Label for the minutes column."},hourUnit:{type:"string",default:"hr",description:"Unit shown next to the selected hour."},minuteUnit:{type:"string",default:"min",description:"Unit shown next to the selected minute."}}},disabled:{type:"boolean",default:!1,description:"Locks scrolling and dims the wheels."}},omit:["haptic"],examples:[{id:"WheelPickerDuration.default",title:"Ninety minutes",props:{value:90,minuteStep:5,maxMinutes:1439}},{id:"WheelPickerDuration.presets",title:"With presets",props:{value:30,minuteStep:15,presets:[15,30,45,60,90]}},{id:"WheelPickerDuration.capped",title:"Capped at eight hours",props:{value:120,minuteStep:30,maxMinutes:480}}],usage:{when:["Ask for a length of time in hours and minutes, up to 23 h 59 min."],whenNot:[{text:"A time of day.",instead:"TimePicker"}],do:[{note:"Offer presets for the durations people pick most.",example:[{component:"WheelPickerDuration",props:{value:30,minuteStep:15,presets:[15,30,45,60]}}]},{note:"Choose minuteStep to match how the duration is used, such as 15 for bookings.",example:[{component:"WheelPickerDuration",props:{value:60,minuteStep:15}}]}],dont:[{note:"Do not set a preset that is off the minute step or above maxMinutes; the picker throws.",example:[{component:"WheelPickerDuration",props:{value:30,minuteStep:15,presets:[15,20,45,60]}}]},{note:"Do not use a 1 minute step for bookings that only need 15 minute blocks.",example:[{component:"WheelPickerDuration",props:{value:60,minuteStep:1}}]}],a11y:["The value is spoken in words, such as 2 hours; keep labels in the person's language."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"WheelPickerList",component:"WheelPicker",fixedProps:{mode:"list"},platforms:["phone"],acceptsChildren:!1,marker:null,props:{items:{type:"array",required:!0,description:"The choices on one wheel. Plain strings and numbers are also accepted by the component and are not shown in the kit.",itemFields:{value:{type:"stringOrNumber",required:!0,description:"The value returned when this row is selected."},label:{type:"string",required:!0,description:"The text displayed for this row."},accessibilityLabel:{type:"string",description:"The spoken text for a screen reader."}}},value:{type:"stringOrNumber",description:"The selected item's value."},label:{type:"string",default:"Value",description:"Names the wheel for a screen reader."},width:{type:"number",description:"Fixed width in points; the wheel fills the row when left out."},disabled:{type:"boolean",default:!1,description:"Locks scrolling and dims the wheels."}},omit:["haptic"],examples:[{id:"WheelPickerList.default",title:"Repeat",props:{label:"Repeat",value:"Weekly",items:[{value:"Daily",label:"Daily"},{value:"Weekly",label:"Weekly"},{value:"Monthly",label:"Monthly"},{value:"Yearly",label:"Yearly"}]}},{id:"WheelPickerList.numbers",title:"Numbers",props:{label:"Quantity",value:2,width:120,items:[{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"}]}}],usage:{when:["Choose one value from a short ordered list, such as a repeat interval."],whenNot:[{text:"A list of more than about a dozen choices, or one that needs search.",instead:"Select"}],do:[{note:"Set label so a screen reader says what the wheel chooses.",example:[{component:"WheelPickerList",props:{label:"Repeat",value:"Weekly",items:[{value:"Daily",label:"Daily"},{value:"Weekly",label:"Weekly"},{value:"Monthly",label:"Monthly"},{value:"Yearly",label:"Yearly"}]}}]}],dont:[{note:"Do not use a wheel for choices that have no natural order.",example:[{component:"WheelPickerList",props:{label:"Colors",value:"Blue",items:[{value:"Red",label:"Red"},{value:"Blue",label:"Blue"},{value:"Green",label:"Green"},{value:"Yellow",label:"Yellow"}]}}]}],a11y:["The wheel is adjustable by swipe; the chosen row is spoken with its accessibilityLabel when it has one."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"ZoomableImage",marker:null,platforms:["phone"],acceptsChildren:!0,props:{maxScale:{type:"number",default:4,description:"Upper limit of pinch and double tap zoom."},minScale:{type:"number",default:1,description:"Lower limit of pinch zoom; the resting scale a pinch springs back to."},doubleTapScale:{type:"number",default:2,description:"Scale a double tap zooms to; a second double tap returns to normal."},disabled:{type:"boolean",default:!1,description:"Blocks pinch, pan and double tap and resets any zoom."},accessibilityLabel:{type:"string",description:"Screen reader name of the zoomable area."}},omit:["haptic"],examples:[{id:"ZoomableImage.default",title:"Default zoom",props:{maxScale:4,minScale:1,doubleTapScale:2,accessibilityLabel:"Sample photo"},children:"Photo"},{id:"ZoomableImage.strongZoom",title:"Stronger zoom",props:{maxScale:8,doubleTapScale:3},children:"Photo"},{id:"ZoomableImage.disabled",title:"Zoom blocked",props:{disabled:!0},children:"Photo"}],usage:{when:["Let a person pinch, pan and double tap to look closely at one image or one piece of content."],whenNot:[{text:"A set of images to swipe between, each zoomable.",instead:"ImageGallery"}],do:[{note:"Wrap one image and give the wrapper an accessibilityLabel that names it.",example:[{component:"ZoomableImage",props:{accessibilityLabel:"Product photo"},children:["Product photo"]}]},{note:"Keep maxScale high enough to read fine detail, such as 4 for photos.",example:[{component:"ZoomableImage",props:{maxScale:4},children:["Detailed map"]}]}],dont:[{note:"Do not wrap content that scrolls on its own; the two gestures compete.",example:[{component:"ZoomableImage",props:{accessibilityLabel:"Product photos"},children:[{component:"Carousel",props:{data:["Photo one","Photo two"]}}]}]},{note:"Do not rely on pinch alone; double tap is the one handed way to zoom.",example:[{component:"ZoomableImage",props:{maxScale:4,doubleTapScale:1},children:["Detailed map"]}]}],a11y:["Name the wrapped content with accessibilityLabel; the gestures themselves have no screen reader form.","Offer another way to view the detail, such as a download, when zoom matters for the task."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Form=void 0,exports.useFormContext=useFormContext,exports.useOptionalFormContext=useOptionalFormContext;var _react=require("react"),_jsxRuntime=require("react/jsx-runtime");const FormContext=(0,_react.createContext)(null),Form=({form:e,children:t})=>(0,_jsxRuntime.jsx)(FormContext.Provider,{value:e,children:t});function useFormContext(){const e=(0,_react.useContext)(FormContext);if(!e)throw new Error("useFormContext / useField / <FormField name> must be rendered inside a <Form> from @webority/mobile-ui.");return e}function useOptionalFormContext(){return(0,_react.useContext)(FormContext)}exports.Form=Form,Form.displayName="Form";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.valuesEqual=void 0;const isPlainObject=e=>{if(null===e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||null===t},valuesEqual=(e,t)=>{if(Object.is(e,t))return!0;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(Array.isArray(e)||Array.isArray(t)){if(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)return!1;for(let r=0;r<e.length;r+=1)if(!valuesEqual(e[r],t[r]))return!1;return!0}if(!isPlainObject(e)||!isPlainObject(t))return!1;const r=Object.keys(e).filter(t=>void 0!==e[t]),i=Object.keys(t).filter(e=>void 0!==t[e]);if(r.length!==i.length)return!1;for(const i of r)if(!valuesEqual(e[i],t[i]))return!1;return!0};exports.valuesEqual=valuesEqual;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.url=exports.strongPassword=exports.required=exports.pincode=exports.phone=exports.pattern=exports.pan=exports.oneOf=exports.numeric=exports.mobile=exports.minLength=exports.min=exports.maxLength=exports.max=exports.matches=exports.integer=exports.ifsc=exports.gstin=exports.email=exports.custom=exports.alphanumeric=exports.aadhaar=void 0;var _mobileCore=require("@webority/mobile-core"),_path=require("./path.js");const isEmptyValue=e=>null==e||""===e||Array.isArray(e)&&0===e.length,fromPredicate=(e,r)=>t=>o=>isEmptyValue(o)||e(o)?void 0:t??r,required=(e="This field is required")=>r=>"boolean"==typeof r?r?void 0:e:isEmptyValue(r)?e:void 0;exports.required=required;const email=exports.email=fromPredicate(_mobileCore.isEmail,"Enter a valid email"),mobile=exports.mobile=fromPredicate(_mobileCore.isIndianMobile,"Enter a valid mobile number"),phone=exports.phone=fromPredicate(_mobileCore.isPhone,"Enter a valid phone number"),url=exports.url=fromPredicate(_mobileCore.isUrl,"Enter a valid URL"),numeric=exports.numeric=fromPredicate(_mobileCore.isNumeric,"Enter a valid number"),integer=exports.integer=fromPredicate(_mobileCore.isInteger,"Enter a whole number"),alphanumeric=exports.alphanumeric=fromPredicate(_mobileCore.isAlphanumeric,"Use letters and numbers only"),pincode=exports.pincode=fromPredicate(_mobileCore.isIndianPincode,"Enter a valid 6-digit PIN code"),pan=exports.pan=fromPredicate(_mobileCore.isPan,"Enter a valid PAN"),gstin=exports.gstin=fromPredicate(_mobileCore.isGstin,"Enter a valid GSTIN"),aadhaar=exports.aadhaar=fromPredicate(_mobileCore.isAadhaar,"Enter a valid Aadhaar number"),ifsc=exports.ifsc=fromPredicate(_mobileCore.isIfsc,"Enter a valid IFSC code"),minLength=(e,r)=>t=>isEmptyValue(t)||String(t).length>=e?void 0:r??`Must be at least ${e} characters`;exports.minLength=minLength;const maxLength=(e,r)=>t=>null==t||String(t).length<=e?void 0:r??`Must be at most ${e} characters`;exports.maxLength=maxLength;const min=(e,r)=>t=>isEmptyValue(t)||Number(t)>=e?void 0:r??`Must be at least ${e}`;exports.min=min;const max=(e,r)=>t=>isEmptyValue(t)||Number(t)<=e?void 0:r??`Must be at most ${e}`;exports.max=max;const pattern=(e,r="Invalid format")=>t=>isEmptyValue(t)||e.test(String(t))?void 0:r;exports.pattern=pattern;const oneOf=(e,r="Invalid selection")=>t=>isEmptyValue(t)||e.includes(t)?void 0:r;exports.oneOf=oneOf;const matches=(e,r="Values do not match")=>(t,o)=>t===(0,_path.getPath)(o,e)?void 0:r;exports.matches=matches;const strongPassword=(e,r="Password is too weak")=>t=>isEmptyValue(t)||(0,_mobileCore.isStrongPassword)(t,e)?void 0:r;exports.strongPassword=strongPassword;const custom=(e,r="Invalid value")=>async(t,o)=>{const i=await e(t,o);if(!0!==i)return!1===i?r:i};exports.custom=custom;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useField=useField,exports.useFieldArray=useFieldArray;var _FormContext=require("./FormContext.js"),_path=require("./path.js");function useField(e){return(0,_FormContext.useFormContext)().getFieldProps(e)}function useFieldArray(e){const t=(0,_FormContext.useFormContext)(),r=(0,_path.getPath)(t.values,e)??[],set=r=>t.setFieldValue(e,r);return{fields:r,length:r.length,push:e=>set([...r,e]),remove:e=>set(r.filter((t,r)=>r!==e)),insert:(e,t)=>{const s=[...r];s.splice(e,0,t),set(s)},move:(e,t)=>{if(e<0||e>=r.length)return;const s=[...r],[n]=s.splice(e,1);s.splice(Math.max(0,Math.min(t,s.length)),0,n),set(s)},replace:(e,t)=>{if(e<0||e>=r.length)return;const s=[...r];s[e]=t,set(s)}}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useForm=useForm;var _react=require("react"),_equal=require("./equal.js"),_path=require("./path.js");const rulesFor=(e,r)=>{if(!e||"function"==typeof e)return[];const t=e[r];return t?Array.isArray(t)?t:[t]:[]};function useForm(e){const r=(0,_react.useRef)(e);r.current=e;const t=(0,_react.useRef)(e.initialValues),[u,a]=(0,_react.useState)(e.initialValues),[c,n]=(0,_react.useState)({}),[s,o]=(0,_react.useState)({}),[l,i]=(0,_react.useState)(!1),[f,_]=(0,_react.useState)(!1),[d,v]=(0,_react.useState)(0),b=(0,_react.useRef)({values:u,errors:c,touched:s,submitCount:d});b.current={values:u,errors:c,touched:s,submitCount:d};const h=(0,_react.useRef)(new Map),y=(0,_react.useRef)([]),C=(0,_react.useRef)(null),k=(0,_react.useRef)({values:e.initialValues,version:0});(0,_equal.valuesEqual)(e.initialValues,k.current.values)||(k.current={values:e.initialValues,version:k.current.version+1});const p=k.current.version;(0,_react.useEffect)(()=>{if(!r.current.enableReinitialize)return;const e=r.current.initialValues;t.current=e,b.current.values=e,b.current.errors={},b.current.touched={},a(e),n({}),o({})},[p]);const m=(0,_react.useCallback)(async e=>{const t=r.current.validate,u=b.current.values;if("function"==typeof t){return(await t(u)??{})[e]||void 0}const a=(0,_path.getPath)(u,e);for(const r of rulesFor(t,e)){const e=await r(a,u);if(e)return e}},[]),g=(0,_react.useCallback)(async e=>{const t=r.current.validate;if(!t)return{};if("function"==typeof t)return await t(e)??{};const u={};return await Promise.all(Object.keys(t).map(async r=>{const a=(0,_path.getPath)(e,r);for(const c of rulesFor(t,r)){const t=await c(a,e);if(t){u[r]=t;break}}})),u},[]),F=(0,_react.useCallback)(async e=>{const r=await m(e);n(t=>{if(t[e]===r)return t;const u={...t};return r?u[e]=r:delete u[e],b.current.errors=u,u})},[m]),w=(0,_react.useCallback)(async()=>{_(!0);const e=await g(b.current.values);return _(!1),b.current.errors=e,n(e),e},[g]),q=(0,_react.useCallback)((e,t,u)=>{const c=(0,_path.setPath)(b.current.values,e,t);b.current.values=c,a(c);const n=r.current,s=Boolean(b.current.errors[e])&&"blur"===n.revalidateOn;(u??(!s&&(b.current.touched[e]||b.current.submitCount>0||"change"===n.validateOn)))&&F(e)},[F]),E=(0,_react.useCallback)(e=>{o(r=>{if(r[e])return r;const t={...r,[e]:!0};return b.current.touched=t,t}),F(e)},[F]),P=(0,_react.useCallback)((e,r=!0,t)=>{const u={...b.current.touched,[e]:r};b.current.touched=u,o(u),(t??r)&&F(e)},[F]),S=(0,_react.useCallback)((e,r)=>{n(t=>{const u={...t};return r?u[e]=r:delete u[e],b.current.errors=u,u})},[]),V=(0,_react.useCallback)(e=>{b.current.errors=e,n(e)},[]),O=(0,_react.useCallback)((e,r)=>{const t="function"==typeof e?e(b.current.values):{...b.current.values,...e};b.current.values=t,a(t),r&&w()},[w]),j=(0,_react.useCallback)(e=>{const r=e?{...t.current,...e}:t.current;t.current=r,b.current.values=r,b.current.errors={},b.current.touched={},b.current.submitCount=0,a(r),n({}),o({}),v(0)},[]),R=(0,_react.useCallback)((e,r)=>{r?(h.current.set(e,r),y.current.includes(e)||y.current.push(e)):(h.current.delete(e),y.current=y.current.filter(r=>r!==e))},[]),M=(0,_react.useCallback)(e=>{C.current=e},[]),x=(0,_react.useCallback)(e=>{const r=y.current,t=C.current,u=t?r.indexOf(t):-1,a=r[u+e];a&&(C.current=a,h.current.get(a)?.focus?.())},[]),B=(0,_react.useCallback)(()=>x(1),[x]),A=(0,_react.useCallback)(()=>x(-1),[x]),T=(0,_react.useMemo)(()=>({setErrors:V,setFieldError:S,reset:j,setSubmitting:i}),[V,S,j]),z=(0,_react.useRef)(!1),N=(0,_react.useCallback)(()=>{z.current||(z.current=!0,(async()=>{try{const e=r.current,t=b.current.values;let u;b.current.submitCount+=1,v(e=>e+1),_(!0);try{u=await g(t)}finally{_(!1)}const a=new Set([...y.current,...Object.keys(u)]),c={...b.current.touched};a.forEach(e=>{c[e]=!0}),b.current.touched=c,b.current.errors=u,o(c),n(u);const s=y.current.find(e=>u[e])??Object.keys(u).find(e=>u[e]);if(s)return void h.current.get(s)?.focus?.();i(!0);try{await e.onSubmit(t,T)}finally{i(!1)}}finally{z.current=!1}})())},[g,T]),D=(0,_react.useMemo)(()=>{const e={};for(const r of Object.keys(c))c[r]&&(s[r]||d>0)&&(e[r]=c[r]);return e},[c,s,d]),G=(0,_react.useMemo)(()=>{const e=r.current.validate;if(!e)return!0;if("function"==typeof e)return Object.values(c).every(e=>!e);for(const r of Object.keys(e)){const t=(0,_path.getPath)(u,r);for(const a of rulesFor(e,r)){const e=a(t,u);if("string"==typeof e&&e)return!1}}return!0},[u,c]),H=(0,_react.useMemo)(()=>!(0,_equal.valuesEqual)(u,t.current),[u]);return{values:u,errors:D,rawErrors:c,touched:s,dirty:H,isValid:G,isSubmitting:l,isValidating:f,submitCount:d,setFieldValue:q,setFieldTouched:P,setFieldError:S,setValues:O,setErrors:V,reset:j,validate:w,validateField:m,submit:N,handleBlur:E,focusNext:B,focusPrev:A,registerField:R,getFieldState:e=>{const r=(0,_path.getPath)(u,e),a=c[e],n=!!s[e];return{value:r,error:n||d>0?a:void 0,rawError:a,touched:n,dirty:!(0,_equal.valuesEqual)(r,(0,_path.getPath)(t.current,e))}},getFieldProps:e=>({name:e,value:(0,_path.getPath)(u,e),error:s[e]||d>0?c[e]:void 0,touched:!!s[e],onChange:r=>q(e,r),onChangeText:r=>q(e,r),onBlur:()=>E(e),onFocus:()=>M(e),setValue:(r,t)=>q(e,r,t)})}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Accordion",marker:null,platforms:["phone"],acceptsChildren:!0,props:{title:{type:"string",required:!0,description:"The header text shown beside the chevron."},id:{type:"string",description:"Names the accordion inside an AccordionGroup, where it is required."},expanded:{type:"boolean",description:"The open state when the parent controls it; leave out to let the accordion manage its own state."},defaultExpanded:{type:"boolean",default:!1,description:"The open state at first, when the accordion manages its own state."},icon:{type:"icon",description:"An optional icon drawn before the title."},disabled:{type:"boolean",default:!1,description:"Blocks toggling and dims the title and chevron."},variant:{type:"enum",values:["plain","card"],default:"plain",description:"A plain header row or an elevated card."},accessibilityLabel:{type:"string",description:"Overrides the spoken label of the header; it defaults to the title."},loading:{type:"boolean",default:!1,description:"Shows the skeleton placeholder in place of the accordion."}},omit:["haptic"],examples:[{id:"Accordion.card",title:"Card with an icon",props:{title:"Is it themeable?",variant:"card",defaultExpanded:!0},children:"Yes. Wrap your app in the theme provider and override any token."},{id:"Accordion.plain",title:"Plain header row",props:{title:"Returns policy",variant:"plain",defaultExpanded:!0},children:"Items can be returned within 30 days."},{id:"Accordion.disabled",title:"Disabled",props:{title:"Warranty",variant:"card",disabled:!0},children:"One year manufacturer warranty is included."},{id:"Accordion.loading",title:"Loading skeleton",props:{title:"Shipping policy",variant:"card",loading:!0}}],usage:{when:["Hide secondary content behind a tappable header so a long screen stays short.","Show one open section at a time or several, by placing accordions inside an AccordionGroup."],whenNot:[{text:"The content is needed to make the next decision.",instead:"Show it inline in a Card."},{text:"Switching between peer views of the same data.",instead:"Use Tabs."}],do:[{note:"Give every accordion a short, specific title that says what is inside.",example:[{component:"Accordion",props:{title:"Shipping options"},children:"Standard and express delivery are available."}]},{note:"Give each accordion in a group its own id.",example:[{component:"AccordionGroup",props:{},children:[{component:"Accordion",props:{id:"shipping",title:"Shipping options"},children:"Standard and express delivery."},{component:"Accordion",props:{id:"returns",title:"Returns policy"},children:"Thirty days return policy."}]}]}],dont:[{note:"Do not use a vague title such as More or Details.",example:[{component:"Accordion",props:{title:"More"},children:"Standard and express delivery are available."}]},{note:"Do not nest an accordion inside another accordion.",example:[{component:"Accordion",props:{title:"Shipping options"},children:[{component:"Accordion",props:{title:"Returns policy"},children:"Thirty days return policy."}]}]}],a11y:["The header is announced as a button with its expanded or collapsed state.","Set accessibilityLabel only when the title alone does not describe the action."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"AccordionGroup",marker:null,platforms:["phone"],acceptsChildren:!0,props:{allowMultiple:{type:"boolean",default:!1,description:"When false, opening one accordion closes the others; when true, several stay open."},defaultExpandedKeys:{type:"array",description:"The ids of the accordions open at first, when the group manages its own state."},expandedKeys:{type:"array",description:"The ids of the open accordions when the parent controls them."}},omit:[],examples:[{id:"AccordionGroup.single",title:"One open at a time",props:{allowMultiple:!1,defaultExpandedKeys:["a"]},children:[{component:"Accordion",props:{id:"a",title:"Section A",variant:"card"},children:"Only one section is open at a time."},{component:"Accordion",props:{id:"b",title:"Section B",variant:"card"},children:"Opening this closes section A."}]},{id:"AccordionGroup.multiple",title:"Several open",props:{allowMultiple:!0,defaultExpandedKeys:["shipping","returns"]},children:[{component:"Accordion",props:{id:"shipping",title:"Shipping policy",variant:"card"},children:"Several sections can stay open together."},{component:"Accordion",props:{id:"returns",title:"Returns policy",variant:"card"},children:"Open ids are tracked by the group."},{component:"Accordion",props:{id:"warranty",title:"Warranty",variant:"card"},children:"One year manufacturer warranty is included."}]}],usage:{when:["Coordinate several accordions so opening one can close the others.","Keep the set of open sections in one place."],whenNot:[{text:"There is a single accordion.",instead:"Use Accordion on its own."}],do:[{note:"Give every accordion inside the group a unique id.",example:[{component:"AccordionGroup",props:{defaultExpandedKeys:["first"]},children:[{component:"Accordion",props:{id:"first",title:"First section"},children:"First section content."},{component:"Accordion",props:{id:"second",title:"Second section"},children:"Second section content."}]}]}],dont:[{note:"Do not also set expanded on an accordion inside a group.",example:[{component:"AccordionGroup",props:{defaultExpandedKeys:["first"]},children:[{component:"Accordion",props:{id:"first",title:"First section",expanded:!0},children:"First section content."},{component:"Accordion",props:{id:"second",title:"Second section"},children:"Second section content."}]}]}],a11y:["Each accordion keeps its own button semantics; the group adds none."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"AmountSlider",marker:null,platforms:["phone"],acceptsChildren:!1,props:{value:{type:"number",description:"The amount when the parent controls it."},defaultValue:{type:"number",description:"The amount at first, when the slider manages its own state."},min:{type:"number",default:0,description:"The smallest amount."},max:{type:"number",default:100,description:"The largest amount."},step:{type:"number",default:1,description:"The distance between selectable amounts."},disabled:{type:"boolean",default:!1,description:"Blocks the slider and the input box."},tone:{type:"enum",values:["primary","success","warning","danger"],description:"The colour of the filled track."},size:{type:"enum",values:["sm","md","lg"],description:"The size of the track and thumb."},variant:{type:"enum",values:["default","inset","minimal","bar"],default:"inset",description:"The look of the slider."},prefix:{type:"string",default:"₹",description:"Text drawn before the large amount; use an empty string for a plain number."},units:{type:"enum",values:["indian","none"],default:"indian",description:"Whether the large amount reads in Thousand, Lakh and Crore or as a grouped whole number."},animationDuration:{type:"number",description:"The length in milliseconds of one digit roll; it defaults to the theme's normal duration."},accessibilityLabel:{type:"string",description:"The spoken label of the slider."},inputAccessibilityLabel:{type:"string",default:"Amount",description:"The spoken label of the input box."}},omit:["haptic"],examples:[{id:"AmountSlider.default",title:"Loan amount",props:{value:5e5,min:1e5,max:5e6,step:5e4,accessibilityLabel:"Loan amount"}},{id:"AmountSlider.plain",title:"Whole number, minimal look",props:{value:25e3,min:0,max:1e5,step:1e3,variant:"minimal",units:"none",accessibilityLabel:"Budget"}},{id:"AmountSlider.bar",title:"Bar look, success tone",props:{value:2e6,min:1e5,max:5e6,step:5e4,variant:"bar",tone:"success",size:"lg",accessibilityLabel:"Savings goal"}},{id:"AmountSlider.disabled",title:"Disabled",props:{value:5e5,min:1e5,max:5e6,step:5e4,disabled:!0,accessibilityLabel:"Loan amount"}}],usage:{when:["Pick a money amount where both a rough drag and an exact entry make sense, such as a loan, budget or price.","Show the amount in Indian units next to an exact editable figure."],whenNot:[{text:"The value is not money or has only a few choices.",instead:"Use Slider or SegmentedControl."},{text:"The person must type a precise figure and never drag.",instead:"Use Input or DecimalInput."}],do:[{note:"Set min, max and step so every stop is a sensible amount.",example:[{component:"AmountSlider",props:{value:5e5,min:1e5,max:5e6,step:5e4,accessibilityLabel:"Loan amount"}}]}],dont:[{note:"Do not use a step so small that the thumb cannot land on a round figure.",example:[{component:"AmountSlider",props:{value:1234,min:0,max:1e4,step:1,accessibilityLabel:"Tiny step"}}]}],a11y:["Set accessibilityLabel to say what the amount is for.","The input box carries its own label through inputAccessibilityLabel."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"AnimatePresence",marker:null,platforms:["phone"],acceptsChildren:!0,props:{preset:{type:"enum",values:["fade","scale","slide-up","slide-down"],default:"fade",description:"The shape of the enter and exit animation."},duration:{type:"number",description:"The animation length in milliseconds; it defaults to the theme's normal duration."}},omit:[],examples:[{id:"AnimatePresence.fade",title:"Fade",props:{preset:"fade"},children:"fade content"},{id:"AnimatePresence.scale",title:"Scale",props:{preset:"scale",duration:300},children:"scale content"},{id:"AnimatePresence.slideUp",title:"Slide up",props:{preset:"slide-up",duration:300},children:"slide-up content"},{id:"AnimatePresence.slideDown",title:"Slide down",props:{preset:"slide-down",duration:300},children:"slide-down content"}],usage:{when:["Animate a single conditional child in on mount and out on unmount.","Let a panel, banner or message finish its exit animation before it disappears."],whenNot:[{text:"Animating rows inside a list.",instead:"Use the list's own item layout animation."}],do:[{note:"Pass the child only while it should be visible, such as a condition that is either the element or null.",example:[{component:"AnimatePresence",props:{preset:"fade"},children:"Visible content"}]}],dont:[{note:"Do not wrap several siblings; wrap one element.",example:[{component:"AnimatePresence",props:{preset:"fade"},children:[{component:"AnimatePresence",props:{preset:"slide-up"},children:"Nested content"}]}]}],a11y:["With the system Reduce Motion setting on, every preset fades instead of moving."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"AppBar",marker:"AppBar",platforms:["phone"],acceptsChildren:!1,props:{title:{type:"string",description:"The bar title."},subtitle:{type:"string",description:"A second line under the title."},titleAlignment:{type:"enum",values:["left","center"],default:"left",description:"Aligns the title and subtitle to the left or the centre."},leftAction:{type:"object",description:"The button at the left edge, drawn from an icon or a text label.",fields:{icon:{type:"icon",description:"The glyph of the button."},text:{type:"string",description:"A text label used instead of the glyph."},dot:{type:"boolean",description:"Draws a small unread dot on the button."},accessibilityLabel:{type:"string",description:"The spoken label of the button."}}},rightActions:{type:"array",description:"The buttons at the right edge, in order.",itemFields:{icon:{type:"icon",description:"The glyph of the button."},text:{type:"string",description:"A text label used instead of the glyph."},dot:{type:"boolean",description:"Draws a small unread dot on the button."},badge:{type:"stringOrNumber",description:"A count or short text drawn on the button; zero draws nothing."},accessibilityLabel:{type:"string",description:"The spoken label of the button."}}},leading:{type:"node",description:"Any element in the left slot, after the left action."},trailing:{type:"node",description:"Any element in the right slot, after the right actions."},gutter:{type:"number",description:"The distance in points from the screen edge to the visible edge of the outermost glyph."},titleVariant:{type:"string",description:"The text style of the title, a Text variant name or a variant the theme registers."},titleOffset:{type:"number",description:"The exact space in points between the left slot and the title."},height:{type:"number",description:"The bar height in points, without the top safe area; it overrides the variant height."},divider:{type:"boolean",description:"Draws a hairline under the bar; it shows unless the bar is transparent."},variant:{type:"enum",values:["default","large","compact"],default:"default",description:"The bar height and title weight."},transparent:{type:"boolean",default:!1,description:"Removes the background and the bottom line, for hero or tinted layouts."}},omit:["scrollY","haptic"],role:"navigation",takesAction:["leftAction"],itemsTakeAction:["rightActions"],examples:[{id:"AppBar.default",title:"Title and subtitle",props:{title:"Inbox",subtitle:"3 unread",variant:"default"}},{id:"AppBar.compact",title:"Compact, centred title",props:{title:"Inbox",variant:"compact",titleAlignment:"center"}},{id:"AppBar.large",title:"Large title",props:{title:"Library",subtitle:"Scroll the list below",variant:"large"}},{id:"AppBar.transparent",title:"Transparent",props:{title:"Inbox",variant:"default",transparent:!0}}],usage:{when:["Put a title, a back button and a few actions at the top of a screen.","Use the large variant for a top-level screen whose title collapses as the list scrolls."],whenNot:[{text:"A search field is the main control of the screen.",instead:"Use SearchBar."},{text:"The page needs a custom header layout.",instead:"Compose it with the leading and trailing slots before building a new header."}],do:[{note:"Keep at most three actions on the right and give each an accessibility label.",example:[{component:"AppBar",props:{title:"Inbox",rightActions:[{icon:"search",accessibilityLabel:"Search messages"},{icon:"filter",accessibilityLabel:"Filter messages"},{icon:"more",accessibilityLabel:"More options"}]}}]},{note:"Use the compact variant on screens below the first level.",example:[{component:"AppBar",props:{title:"Settings",variant:"compact",rightActions:[{icon:"share",accessibilityLabel:"Share profile"}]}}]}],dont:[{note:"Do not put long text in the title; it truncates.",example:[{component:"AppBar",props:{title:"Inbox messages from all your accounts and folders",rightActions:[{icon:"search",accessibilityLabel:"Search messages"},{icon:"filter",accessibilityLabel:"Filter messages"},{icon:"more",accessibilityLabel:"More options"}]}}]},{note:"Do not give an action neither an icon nor a text label.",example:[{component:"AppBar",props:{title:"Settings",variant:"compact",rightActions:[{accessibilityLabel:"Share profile"}]}}]}],a11y:["Every action is at least 44 by 44 points and needs an accessibility label unless it has text.","The back arrow is announced as Back."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"AppIcon",marker:"AppIcon",platforms:["phone"],acceptsChildren:!1,props:{name:{type:"icon",required:!0,description:"The icon to draw, by name; add -iconsax to a curated name to draw the Iconsax glyph it shadows."},size:{type:"enumOrNumber",values:["xs","sm","md","lg","xl"],default:"md",description:"A size name (14, 18, 22, 28 or 36 pixels) or an exact size in pixels."},color:{type:"string",description:"Any colour value; it defaults to the primary text colour."},variant:{type:"enum",values:["linear","bold","broken","bulk","outline","twotone"],default:"linear",description:"The icon style; a name missing in a style falls back to linear."},accessibilityLabel:{type:"string",description:"Set when the icon carries meaning on its own; decorative icons stay silent for screen readers."}},omit:[],examples:[{id:"AppIcon.default",title:"Default icon",props:{name:"send"}},{id:"AppIcon.bold",title:"Bold style, large",props:{name:"send",variant:"bold",size:"xl",accessibilityLabel:"Send message"}},{id:"AppIcon.pixels",title:"Exact size",props:{name:"user",size:64}},{id:"AppIcon.twotone",title:"Two-tone style",props:{name:"calendar",variant:"twotone",size:"lg"}}],usage:{when:["Draw an icon from the design system's set by name, the same name as on the web.","Pick a style (linear, bold, broken, bulk, outline, twotone) to match the weight of the surrounding text."],whenNot:[{text:"Showing a photo or a brand logo.",instead:"Use Image or AuthedImage."},{text:"The icon is the only content of a button.",instead:"Use IconButton, which sets the touch size."}],do:[{note:"Use one style across a screen.",example:[{component:"AppIcon",props:{name:"home",variant:"linear"}},{component:"AppIcon",props:{name:"search",variant:"linear"}}]},{note:"Give an icon that stands alone an accessibility label.",example:[{component:"AppIcon",props:{name:"search",accessibilityLabel:"Search"}}]}],dont:[{note:"Do not use an icon without text for an action nobody would recognise.",example:[{component:"AppIcon",props:{name:"radar"}}]},{note:"Do not mix icon styles in one toolbar.",example:[{component:"AppIcon",props:{name:"home",variant:"linear"}},{component:"AppIcon",props:{name:"search",variant:"bold"}}]}],a11y:["A decorative icon is hidden from screen readers; set accessibilityLabel when it carries meaning.","Colour is never the only signal; pair a coloured icon with text."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"AsyncBlock",marker:null,platforms:["phone"],acceptsChildren:!0,props:{loading:{type:"boolean",default:!1,description:"Shows the placeholder instead of the content."},error:{type:"any",description:"An error to show in place of the content; a string is the description, and any other value is read for its message."},errorVariant:{type:"enum",values:["default","offline"],description:"Draws the error as a lost connection when offline; left out, an offline error picks it by itself."},empty:{type:"boolean",default:!1,description:"The fetch succeeded with nothing to show."},skeleton:{type:"node",description:"A placeholder shaped like the content; it falls back to a centred spinner."},emptyTitle:{type:"string",default:"Nothing here yet",description:"The title of the empty state."},emptyDescription:{type:"string",description:"The text under the empty title."},emptyIcon:{type:"icon",description:"The icon of the empty state."},errorTitle:{type:"string",default:"That didn't load",description:"The title of the error state."},offlineTitle:{type:"string",default:"You're offline",description:"The title of the offline error state."},retryLabel:{type:"string",default:"Try again",description:"The label of the retry button."}},omit:[],examples:[{id:"AsyncBlock.loading",title:"Loading",props:{loading:!0}},{id:"AsyncBlock.error",title:"Error",props:{error:"Network unreachable",errorTitle:"That didn't load",retryLabel:"Try again"}},{id:"AsyncBlock.offline",title:"Offline",props:{error:"No connection",errorVariant:"offline"}},{id:"AsyncBlock.empty",title:"Empty",props:{empty:!0,emptyTitle:"No invoices yet",emptyDescription:"Invoices appear here once you raise one."}},{id:"AsyncBlock.content",title:"Content",props:{},children:"The loaded content appears here."}],usage:{when:["Wrap any screen section that fetches data so loading, error, empty and content each have one place.","Show a shaped skeleton while data loads so the layout does not jump."],whenNot:[{text:"The data is already in memory and cannot fail.",instead:"Render the content directly."},{text:"A single button is busy.",instead:"Use the loading state of that Button."}],do:[{note:"Give the empty state a title that says what will appear and when.",example:[{component:"Card",props:{title:"No invoices yet"},children:"Invoices appear here once you raise one."}]},{note:"Pass a retry handler so a failure can be recovered.",example:[{component:"Button",props:{title:"Try again"}}]}],dont:[{note:"Do not show a raw error message from the server; pass a text written for the person.",example:[{component:"AsyncBlock",props:{errorTitle:"That didn't load",error:"Network unreachable",retryLabel:"Try again"}}]},{note:"Do not leave loading on while showing content.",example:[{component:"Card",props:{loading:!0}}]}],a11y:["The error and empty states are plain text, so screen readers read their title and description.","Loading wins over error, error over empty, and empty over content."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"AuthedImage",marker:null,platforms:["phone"],acceptsChildren:!1,props:{uri:{type:"url",required:!0,description:"The address of the image."},resizeMode:{type:"enum",values:["cover","contain","stretch","repeat","center"],description:"How the image fits its box, in React Native's names; contentFit wins when both are set."},contentFit:{type:"enum",values:["cover","contain","fill","none","scale-down"],description:"How the image fits its box, in expo-image's names."},fadeDuration:{type:"number",description:"The cross-fade in milliseconds when the image appears."},headers:{type:"object",description:"Extra request headers sent with the fetch."},authenticated:{type:"boolean",default:!0,description:"Attaches the stored sign-in token to the request when no client is given."},ttlMs:{type:"number",default:6048e5,description:"How long a cached image counts as fresh, in milliseconds."},placeholder:{type:"node",description:"Shown while the image loads."},fallback:{type:"node",description:"Shown when no usable image exists."},cacheKey:{type:"string",description:"Overrides the cache key derived from the address."},blurRadius:{type:"number",description:"Blurs the image by this radius in points."},tintColor:{type:"string",description:"Paints the image in one colour, for a mask-like icon."}},omit:[],examples:[{id:"AuthedImage.cover",title:"Cover fit",props:{uri:"https://picsum.photos/seed/webority-authed-image/400/300",authenticated:!1,contentFit:"cover"}},{id:"AuthedImage.contain",title:"Contain fit",props:{uri:"https://picsum.photos/seed/webority-authed-image/400/300",authenticated:!1,contentFit:"contain"}},{id:"AuthedImage.blurred",title:"Blurred",props:{uri:"https://picsum.photos/seed/webority-authed-image/400/300",authenticated:!1,contentFit:"cover",blurRadius:12}},{id:"AuthedImage.missing",title:"Image not found",props:{uri:"https://picsum.photos/id/999999/400/300",authenticated:!1,contentFit:"cover"}}],usage:{when:["Show an image that sits behind a sign-in, which the plain Image cannot fetch.","Cache the image on the device so it opens at once the next time."],whenNot:[{text:"The image is public and needs no token.",instead:"Use Image with a plain address."},{text:"The image is a person's picture.",instead:"Use Avatar."}],do:[{note:"Give the image a fixed height or aspect ratio so the layout does not jump.",example:[{component:"AuthedImage",props:{uri:"https://picsum.photos/seed/webority/400/300"}}]},{note:"Pass a fallback for the case where the image cannot load.",example:[{component:"AuthedImage",props:{uri:"https://picsum.photos/seed/webority/400/300",fallback:{component:"AppIcon",props:{name:"user"}}}}]}],dont:[{note:"Do not set one cache key for different pictures.",example:[{component:"AuthedImage",props:{uri:"https://picsum.photos/id/10/400/300",cacheKey:"shared-key"}},{component:"AuthedImage",props:{uri:"https://picsum.photos/id/11/400/300",cacheKey:"shared-key"}}]},{note:"Do not send the token to a public address; turn authenticated off.",example:[{component:"AuthedImage",props:{uri:"https://picsum.photos/seed/public/400/300",authenticated:!0}}]}],a11y:["Pass an accessibility label that describes the picture when it carries meaning.","A decorative image needs no label."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Autocomplete",marker:null,platforms:["phone"],acceptsChildren:!1,props:{options:{type:"array",required:!0,description:"The candidate options to filter."},value:{type:"string",description:"The input text when the parent controls it."},defaultValue:{type:"string",description:"The input text at first, when the field manages its own text."},minChars:{type:"number",default:1,description:"The number of characters typed before suggestions appear."},maxResults:{type:"number",default:8,description:"The most suggestions shown."},emptyText:{type:"string",default:"No matches",description:"The text shown when nothing matches."},loading:{type:"boolean",default:!1,description:"Shows a spinner row in the dropdown, for results being fetched."},filterMode:{type:"enum",values:["client","none"],default:"client",description:"Client filters the options here; none shows them as given, for search done on a server."},loadingText:{type:"string",default:"Searching…",description:"The text beside the loading spinner."},placeholder:{type:"string",description:"The hint shown while the field is empty."},label:{type:"string",description:"The field label."},error:{type:"node",description:"An error message shown under the field."},helperText:{type:"string",description:"A hint shown under the field."},disabled:{type:"boolean",default:!1,description:"Blocks typing and selecting."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"The size of the field."},variant:{type:"enum",values:["outlined","filled","underline"],description:"The look of the field."}},omit:["haptic"],examples:[{id:"Autocomplete.countries",title:"Country search",props:{options:["India","Indonesia","Ireland","Israel","Italy","United States"],label:"Country",placeholder:"Start typing…"}},{id:"Autocomplete.filled",title:"Filled, large",props:{options:["India","Indonesia","Ireland"],label:"Country",variant:"filled",size:"lg"}},{id:"Autocomplete.loading",title:"Loading remote results",props:{options:[],label:"City",filterMode:"none",loading:!0,loadingText:"Searching…"}},{id:"Autocomplete.disabled",title:"Disabled",props:{options:["India","Indonesia"],label:"Country",disabled:!0}}],usage:{when:["Let a person pick one item from a long list by typing, such as a country, a city or an assignee.","Search on a server by showing a loading row and the fetched options as they are."],whenNot:[{text:"The list has only a few fixed choices.",instead:"Use Select or SegmentedControl."},{text:"The person may enter any text.",instead:"Use Input."}],do:[{note:"Set a label that names what is being chosen.",example:[{component:"Autocomplete",props:{label:"Country",options:["India","Indonesia","Ireland"],maxResults:8}}]},{note:"Use filterMode none and the loading state when results come from a server.",example:[{component:"Autocomplete",props:{label:"City",options:[],filterMode:"none",loading:!0,loadingText:"Searching..."}}]}],dont:[{note:"Do not show hundreds of suggestions; keep maxResults small.",example:[{component:"Autocomplete",props:{label:"Country",options:["India","Indonesia","Ireland"],maxResults:100}}]},{note:"Do not use it for a list a person would rather scroll.",example:[{component:"Autocomplete",props:{label:"Size",options:["Small","Medium","Large"]}}]}],a11y:["The field keeps the Input semantics, so the label and error are read.","Selecting a suggestion closes the keyboard."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Avatar",marker:null,platforms:["phone"],acceptsChildren:!1,props:{source:{type:"url",description:"The picture to draw; it falls back to initials when it fails to load or is left out."},name:{type:"string",description:"The person's name, used for the initials and the fallback colour."},size:{type:"enumOrNumber",values:["xs","sm","md","lg","xl"],default:"md",description:"A size name (24, 32, 48, 64 or 80 points) or an exact size in points."},shape:{type:"enum",values:["circle","square","rounded"],default:"circle",description:"The outline of the avatar."},status:{type:"enum",values:["online","offline","busy","away","verified","pending"],description:"A presence dot, or a verified or pending ring; leave out to show nothing."},statusPosition:{type:"enum",values:["topRight","bottomRight"],default:"bottomRight",description:"The corner where the presence dot sits."},tone:{type:"enum",values:["neutral","primary","secondary","success","warning","danger","info"],description:"A theme colour for the initials disc; left out, the colour comes from the name."},backgroundColor:{type:"string",description:"A colour for the initials disc that wins over tone."},color:{type:"string",description:"A colour for the initials that wins over tone."},fontSize:{type:"number",description:"The initials font size in pixels; it wins over the size-based default."},loading:{type:"boolean",default:!1,description:"Shows the skeleton placeholder in place of the avatar."},accessibilityLabel:{type:"string",description:"The spoken name; it defaults to the person's name followed by avatar."}},omit:["ImageComponent","haptic","hitSlop"],examples:[{id:"Avatar.initials",title:"Initials",props:{name:"Ada Lovelace",size:"lg"}},{id:"Avatar.online",title:"Online dot",props:{name:"Ada Lovelace",size:"lg",status:"online"}},{id:"Avatar.verified",title:"Verified ring",props:{name:"Verified user",size:"lg",status:"verified"}},{id:"Avatar.tone",title:"Rounded, primary tone",props:{name:"Alan Turing",size:"lg",shape:"rounded",tone:"primary"}}],usage:{when:["Represent a person or an organisation with a picture, or with initials when there is none.","Show presence or an identity state with a dot or a ring."],whenNot:[{text:"Showing any other picture.",instead:"Use AuthedImage or Image."},{text:"Showing several people together.",instead:"Use AvatarGroup."}],do:[{note:"Always pass name so the initials fallback and the spoken label work.",example:[{component:"Avatar",props:{name:"Ada Lovelace",size:"md"}}]},{note:"Keep one size within a list.",example:[{component:"Avatar",props:{name:"Ada Lovelace",size:"sm"}},{component:"Avatar",props:{name:"Alan Turing",size:"sm"}}]}],dont:[{note:"Do not rely on the dot colour alone to tell presence.",example:[{component:"Avatar",props:{size:"md",status:"online"}}]},{note:"Do not set both tone and backgroundColor.",example:[{component:"Avatar",props:{name:"Ada Lovelace",size:"md",tone:"primary",backgroundColor:"#3b82f4"}}]}],a11y:["The spoken label is the name followed by avatar, with verified or pending added for the ring states.","A pressable avatar is announced as a button and keeps a touch area of at least 44 points."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"AvatarGroup",marker:null,platforms:["phone"],acceptsChildren:!0,props:{max:{type:"number",default:4,description:"The most avatars shown before the rest collapse into an overflow circle."},size:{type:"enumOrNumber",values:["xs","sm","md","lg","xl"],default:"md",description:"A size name or an exact size in points, applied to every avatar."},spacing:{type:"enum",values:["tight","normal","loose"],default:"normal",description:"How much the avatars overlap."},overflowVariant:{type:"enum",values:["count","plus"],default:"count",description:"Shows the overflow as a count such as +3 or as a plain plus."},accessibilityLabel:{type:"string",description:"The spoken label of the whole group."}},omit:[],examples:[{id:"AvatarGroup.default",title:"Four of six",props:{max:4,size:"md"},children:[{component:"Avatar",props:{name:"Ada Lovelace"}},{component:"Avatar",props:{name:"Alan Turing"}},{component:"Avatar",props:{name:"Grace Hopper"}},{component:"Avatar",props:{name:"Linus Torvalds"}},{component:"Avatar",props:{name:"Margaret Hamilton"}},{component:"Avatar",props:{name:"Dennis Ritchie"}}]},{id:"AvatarGroup.plus",title:"Plus overflow",props:{max:3,size:"md",overflowVariant:"plus"},children:[{component:"Avatar",props:{name:"Ada Lovelace"}},{component:"Avatar",props:{name:"Alan Turing"}},{component:"Avatar",props:{name:"Grace Hopper"}},{component:"Avatar",props:{name:"Linus Torvalds"}}]},{id:"AvatarGroup.tight",title:"Tight spacing",props:{max:4,size:"lg",spacing:"tight"},children:[{component:"Avatar",props:{name:"Ada Lovelace"}},{component:"Avatar",props:{name:"Alan Turing"}},{component:"Avatar",props:{name:"Grace Hopper"}}]}],usage:{when:["Show the people on a task, chat or team as one overlapping stack.","Collapse the extra people into a count."],whenNot:[{text:"Showing one person.",instead:"Use Avatar."},{text:"The person must be able to read every name.",instead:"Use a list of ListItem rows."}],do:[{note:"Set max so the stack fits the space it sits in.",example:[{component:"AvatarGroup",props:{max:2},children:[{component:"Avatar",props:{name:"Alice"}},{component:"Avatar",props:{name:"Bob"}}]}]}],dont:[{note:"Do not put anything but Avatar elements inside the group.",example:[{component:"AvatarGroup",props:{max:2},children:[{component:"Avatar",props:{name:"Alice"}},"and others"]}]}],a11y:["Set accessibilityLabel to say how many people the group holds.","The overflow circle is announced with its count."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Badge",marker:null,platforms:["phone"],acceptsChildren:!0,props:{value:{type:"stringOrNumber",description:"The count or short text; a number of zero or less draws nothing in the standard variant."},max:{type:"number",default:99,description:"The largest number shown before it reads as the maximum with a plus."},variant:{type:"enum",values:["standard","dot"],default:"standard",description:"A pill with the value or a plain dot."},tone:{type:"enum",values:["primary","success","warning","danger","neutral","info"],default:"danger",description:"The colour of the badge."},size:{type:"enum",values:["sm","md"],default:"sm",description:"The size of the badge."},invisible:{type:"boolean",default:!1,description:"Hides the badge without removing it from the layout."},loading:{type:"boolean",default:!1,description:"Shows the skeleton placeholder in place of the badge."},anchor:{type:"enum",values:["topRight","topLeft","bottomRight","bottomLeft"],default:"topRight",description:"The corner of the child where the badge sits."},pulse:{type:"boolean",default:!1,description:"Pulses the badge to draw attention to something unread."},accessibilityLabel:{type:"string",description:"The spoken label of the badge."}},omit:[],examples:[{id:"Badge.count",title:"Count",props:{value:4,tone:"danger"}},{id:"Badge.dot",title:"Dot",props:{variant:"dot",tone:"success"}},{id:"Badge.overflow",title:"Over the maximum",props:{value:120,max:99,tone:"primary",size:"md"}},{id:"Badge.anchored",title:"On a button",props:{value:4,tone:"danger",anchor:"topRight"},children:[{component:"Button",props:{title:"Inbox",variant:"outline"}}]}],usage:{when:["Show a count or a status on its own, or on the corner of an icon, avatar or button.","Mark something unread with a dot or a pulsing badge."],whenNot:[{text:"Showing a status with a word.",instead:"Use StatusBadge."},{text:"Showing a removable label.",instead:"Use Chip."}],do:[{note:"Use the danger tone only for things that need action, such as unread alerts.",example:[{component:"Badge",props:{value:3,tone:"danger"},children:[{component:"Button",props:{title:"Alerts"}}]}]},{note:"Set max so a large count reads 99+ and stays small.",example:[{component:"Badge",props:{value:120,max:99},children:[{component:"Button",props:{title:"Inbox"}}]}]}],dont:[{note:"Do not rely on the colour alone to carry the meaning.",example:[{component:"Badge",props:{variant:"dot",tone:"danger"},children:[{component:"Button",props:{title:"Alerts"}}]}]},{note:"Do not stack several badges on one element.",example:[{component:"Badge",props:{value:4,anchor:"topRight"},children:[{component:"Badge",props:{variant:"dot",tone:"success",anchor:"bottomRight"},children:[{component:"Button",props:{title:"Inbox"}}]}]}]}],a11y:["Set accessibilityLabel to say what the count means, such as 4 unread messages.","Colour is never the only signal; the value or the label carries the meaning."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Banner",marker:null,platforms:["phone"],acceptsChildren:!1,props:{title:{type:"string",description:"A short heading above the message."},message:{type:"node",required:!0,description:"The text of the banner. Plain text gets the built-in styling; a node is drawn as it is."},variant:{type:"enum",values:["info","success","warning","danger","neutral"],default:"info",description:"The kind of message, which sets its colour and icon."},icon:{type:"icon",description:"Replaces the built-in icon. Pass false to draw no icon."},actions:{type:"array",itemFields:{label:{type:"string",required:!0,description:"The button text."},tone:{type:"enum",values:["primary","neutral","danger"],description:"The button colour. Primary takes the banner colour, neutral the secondary text colour and danger the error colour."},variant:{type:"enum",values:["solid","outline","ghost"],description:"The button style: filled, bordered or text only."},size:{type:"enum",values:["sm","md"],description:"The button size. Medium is taller, with a 44 point touch target."}},description:"Buttons drawn under the message."},dismissible:{type:"boolean",default:!1,description:"Shows a close button."},visible:{type:"boolean",default:!0,description:"Shows or hides the banner. Hiding plays the exit animation first."},animateMount:{type:"boolean",default:!0,description:"Slides and fades the banner in when it first appears."},loading:{type:"boolean",default:!1,description:"Draws the placeholder shape instead of the content while data loads."},accessibilityRole:{type:"enum",values:["alert","summary","none"],default:"alert",description:"How a screen reader treats the banner. Alert announces it as it appears; summary and none are read in order."},accessibilityLabel:{type:"string",description:"Replaces what the banner is announced as. Leave it unset so the title, message and each button are read in turn."}},omit:["haptic"],examples:[{id:"Banner.info",title:"Info",props:{variant:"info",title:"Update available",message:"Version 2.4 includes performance improvements."}},{id:"Banner.success",title:"Success",props:{variant:"success",message:"Your changes were saved.",dismissible:!0}},{id:"Banner.danger",title:"Danger",props:{variant:"danger",title:"Payment failed",message:"Check your card details and try again.",dismissible:!0}}],usage:{when:["A message belongs to the whole screen or a section, such as an update, a warning or a saved state.","The message needs a visible place on the page and may offer one or two actions.","The person can dismiss it or leave it until it no longer applies."],whenNot:[{text:"The message is a brief confirmation that should disappear on its own.",instead:"Toast"},{text:"The person must answer before they can continue.",instead:"Dialog"}],do:[{note:"Keep the message to one or two sentences and give the action a clear verb.",example:[{component:"Banner",props:{variant:"info",message:"Version 2.4 is ready.",actions:[{label:"Update"}]}}]}],dont:[{note:"Do not stack several banners on one screen. They compete and the important one gets lost.",example:[{component:"Banner",props:{variant:"warning",message:"Several banners shown at once hide the one that matters."}}]}],a11y:["The alert role announces the banner as it appears, so use it only for something the person must hear now.","Without an accessibility label, a screen reader reads the title, the message and each button in turn."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"BarChart",marker:null,platforms:["phone"],acceptsChildren:!1,props:{data:{type:"array",required:!0,itemFields:{label:{type:"string",required:!0,description:"The full name of the bar, read aloud and written in the callout."},value:{type:"number",required:!0,description:"The bar value. A value below zero draws under the zero line."},axisLabel:{type:"string",description:"A shorter label drawn under the bar. It defaults to the label."},accessibilityLabel:{type:"string",description:"Replaces the spoken text of the bar."}},description:"The bars, left to right."},tone:{type:"enum",values:["primary","success","warning","danger","info","neutral"],default:"primary",description:"The colour of the bars."},color:{type:"string",description:"A single colour for every bar. It wins over the tone."},height:{type:"number",default:160,description:"Height of the plot in points."},label:{type:"string",description:"What the chart shows, read first by a screen reader."},summary:{type:"string",description:"The main message in a sentence, shown while no bar is picked. It defaults to the highest bar."},showValues:{type:"boolean",description:"Draws each bar's value on the bar. It is on by default when there are 7 bars or fewer."},selection:{type:"number",description:"The picked bar, counted from 0, when the screen controls the selection."},defaultSelection:{type:"number",description:"The bar picked at the start when the chart keeps its own selection."}},omit:["haptic"],examples:[{id:"BarChart.default",title:"Default",props:{label:"Approvals per day",summary:"Approvals peaked on Thursday",data:[{label:"Mon 06-Oct-2026",axisLabel:"Mon",value:14},{label:"Tue 07-Oct-2026",axisLabel:"Tue",value:22},{label:"Wed 08-Oct-2026",axisLabel:"Wed",value:9},{label:"Thu 09-Oct-2026",axisLabel:"Thu",value:31}]}},{id:"BarChart.success",title:"Success tone",props:{tone:"success",label:"Approvals per day",data:[{label:"Mon 06-Oct-2026",axisLabel:"Mon",value:14},{label:"Tue 07-Oct-2026",axisLabel:"Tue",value:22},{label:"Wed 08-Oct-2026",axisLabel:"Wed",value:9}]}},{id:"BarChart.negative",title:"Negative values",props:{label:"Change per day",data:[{label:"Mon 06-Oct-2026",axisLabel:"Mon",value:6},{label:"Tue 07-Oct-2026",axisLabel:"Tue",value:-4},{label:"Wed 08-Oct-2026",axisLabel:"Wed",value:9},{label:"Thu 09-Oct-2026",axisLabel:"Thu",value:-7}]}}],usage:{when:["A dashboard shows a handful of values side by side, such as a count per day.","The main message can be written as one sentence under the chart.","Values may be negative and the zero line should stay visible."],whenNot:[{text:"The values are a trend over many points.",instead:"Sparkline"},{text:"The chart must show exact numbers for every point.",instead:"a table of values"}],do:[{note:"Write a summary sentence that names the main message, so the chart reads without touching it.",example:[{component:"BarChart",props:{summary:"Approvals peaked on Thursday",data:[{label:"Mon",value:14},{label:"Thu",value:31}]}}]}],dont:[{note:"Do not leave out the label and summary. A reader then has to guess what the bars mean.",example:[{component:"BarChart",props:{data:[{label:"Mon",value:14},{label:"Thu",value:31}]}}]}],a11y:["A screen reader gets one adjustable element: swipe up or down to move from bar to bar, each read as its label and value.","The label names the chart and is read first."]}});
|