@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";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"BottomNavigation",marker:null,platforms:["phone"],acceptsChildren:!1,props:{tabs:{type:"array",required:!0,itemFields:{key:{type:"string",required:!0,description:"A stable id for the tab."},label:{type:"string",required:!0,description:"The text under the icon and the accessible name of the tab."},showLabel:{type:"boolean",description:"Draws this tab's label. False hides the text and keeps it as the accessible name."},icon:{type:"icon",required:!0,description:"The tab icon, an icon name or any node."},activeIcon:{type:"icon",description:"The icon drawn while the tab is active."},badge:{type:"stringOrNumber",description:"A number or text drawn on the tab. True draws a dot."}},description:"The tabs, left to right."},centerAction:{type:"object",fields:{label:{type:"string",required:!0,description:"The accessible name of the button. It is never drawn."},icon:{type:"icon",description:"The icon drawn in the filled circle. It defaults to add."},content:{type:"node",description:"Replaces the filled circle entirely with any node."},size:{type:"number",description:"Diameter of the filled circle in pixels."},color:{type:"string",description:"Fill of the circle."},iconColor:{type:"string",description:"Colour of the icon in the circle."},iconSize:{type:"number",description:"Size of the icon in the circle in pixels."},lift:{type:"number",description:"How far the button rises above the centre of the row, in pixels."},gap:{type:"number",description:"Space between the button and the neighbouring tabs, in pixels."}},description:"A button in the middle of the bar that is not a tab."},activeTab:{type:"string",required:!0,description:"The key of the active tab."},showLabels:{type:"boolean",default:!0,description:"Shows the text label under each icon. Expand only labels the active tab."},variant:{type:"enum",values:["pill","underline","floating","bubble","expand","solid","tile"],default:"pill",description:"The look of the bar."},indicatorPosition:{type:"enum",values:["top","bottom"],default:"bottom",description:"Where the active line sits, for the variants that draw a line."},radius:{type:"stringOrNumber",description:"Corner radius of the bar in pixels, or the text pill for fully round ends."},indicatorRadius:{type:"stringOrNumber",description:"Corner radius of the active tab background in pixels, or the text auto to follow the bar.",default:"auto"},elevation:{type:"enum",values:["none","card","elevated","popover","modal","drawer"],description:"The shadow under the bar, as a shadow name or none."},iconSize:{type:"number",description:"Size of every tab icon in pixels."},marginHorizontal:{type:"number",description:"Space between the bar and the left and right screen edges, in pixels."},marginVertical:{type:"number",description:"Space above and below the bar, in pixels."},paddingHorizontal:{type:"number",description:"Space inside the bar between its edges and the tab row, in pixels."},paddingVertical:{type:"number",description:"Space inside the bar above and below the tab row, in pixels."},border:{type:"boolean",description:"Draws a hairline border around the bar."},minimizeOnScroll:{type:"boolean",default:!1,description:"Shrinks the bar to its icons while the person scrolls down and restores it on scroll up."},scrollDirection:{type:"enum",values:["up","down","idle"],default:"idle",description:"The scroll direction of the screen, read only when minimizeOnScroll is on."},accessory:{type:"node",description:"A compact strip tied to the bar, such as a status line."},labelMaxFontScale:{type:"number",description:"The largest text scale the tab label follows."}},omit:["haptic"],role:"navigation",takesAction:["centerAction"],itemsTakeAction:["tabs"],examples:[{id:"BottomNavigation.pill",title:"Pill",props:{variant:"pill",activeTab:"home",tabs:[{key:"home",label:"Home",icon:"home"},{key:"search",label:"Search",icon:"search-normal"},{key:"inbox",label:"Inbox",icon:"sms",badge:3},{key:"profile",label:"Profile",icon:"user"}]}},{id:"BottomNavigation.floating",title:"Floating",props:{variant:"floating",elevation:"card",activeTab:"search",tabs:[{key:"home",label:"Home",icon:"home"},{key:"search",label:"Search",icon:"search-normal"},{key:"profile",label:"Profile",icon:"user"}]}},{id:"BottomNavigation.underline",title:"Underline on top",props:{variant:"underline",indicatorPosition:"top",activeTab:"home",tabs:[{key:"home",label:"Home",icon:"home"},{key:"inbox",label:"Inbox",icon:"sms"},{key:"settings",label:"Settings",icon:"setting-2"}]}}],usage:{when:["The app has three to five top-level places the person moves between often.","The bar should stay on screen so the person always knows where they are.","A badge should show unread or pending work on a tab."],whenNot:[{text:"There are more than five destinations.",instead:"Drawer"},{text:"The choices switch views inside one screen.",instead:"Tabs"}],do:[{note:"Give every tab a short label, even when it also has an icon.",example:[{component:"BottomNavigation",props:{activeTab:"home",tabs:[{key:"home",label:"Home",icon:"home"},{key:"inbox",label:"Inbox",icon:"sms"}]}}]}],dont:[{note:"Do not hide every label with no accessible name left on the tab.",example:[{component:"BottomNavigation",props:{showLabels:!1,activeTab:"home",tabs:[{key:"home",label:"",icon:"home"},{key:"inbox",label:"",icon:"sms"}]}}]}],a11y:["A tab's label is its accessible name, also when showLabel is false.","The bar stays expanded while a screen reader is on.","The centre action's label is its accessible name and is never drawn."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"BottomSheet",marker:null,platforms:["phone"],acceptsChildren:!0,props:{snapPoints:{type:"array",required:!0,description:"The heights the sheet rests at: a number of points, a percentage such as 50%, or content to hug the content."},index:{type:"number",description:"The snap point the sheet shows, counted from 0. Minus one closes it."},enablePanDownToClose:{type:"boolean",default:!0,description:"Lets a drag on the handle past the threshold close the sheet."},enableBackdropPress:{type:"boolean",default:!0,description:"Lets a tap on the scrim close the sheet. Back and Escape follow it."},scrollable:{type:"boolean",default:!1,description:"Wraps the content in a vertical scroll view between the header and the footer."},scrollEventThrottle:{type:"number",description:"How often the inner scroll view reports scrolling, in milliseconds. Used only with scrollable."},backdropOpacity:{type:"number",description:"The opacity of the scrim."},keyboardBehavior:{type:"enum",values:["none","shift"],default:"shift",description:"How the sheet reacts to the keyboard. Shift rides up with it; none stays put."},mode:{type:"enum",values:["modal","inline"],default:"modal",description:"Modal covers the whole screen in a native modal; inline overlays the parent view."},presentation:{type:"enum",values:["sheet","dialog","auto"],default:"sheet",description:"Sheet is full width at the bottom; dialog is centred; auto picks a dialog on a tablet."},animateMount:{type:"boolean",default:!0,description:"Slides the sheet up when it opens as it mounts. Off, it is drawn at its snap point at once."},header:{type:"node",description:"A fixed region between the handle and the content. It does not scroll."},footer:{type:"node",description:"A fixed region at the bottom of the sheet, such as a row of buttons."},accessibilityLabel:{type:"string",description:"Names the sheet for a screen reader."},accessibilityViewIsModal:{type:"boolean",description:"Tells a screen reader to ignore what is behind the sheet."}},omit:["scrollRef"],examples:[{id:"BottomSheet.content",title:"Hugs its content",props:{snapPoints:["content"],mode:"inline",index:0},children:"Sheet content."},{id:"BottomSheet.headerFooter",title:"Header and footer",props:{snapPoints:["50%"],mode:"inline",index:0,header:"Filters",footer:"Apply"},children:"Choose how to filter the list."},{id:"BottomSheet.dialog",title:"Dialog presentation",props:{snapPoints:["50%"],presentation:"dialog",mode:"inline",index:0},children:"Centred on a tablet."}],usage:{when:["A short task or a list of choices belongs on top of the current screen.","The person should be able to drag the sheet between a small and a tall height.","The content needs a fixed header or a fixed row of buttons."],whenNot:[{text:"The person must answer one question before going on.",instead:"Dialog"},{text:"The content is a full screen of its own.",instead:"a new screen"}],do:[{note:"Use the content snap point so the sheet is as tall as what it holds.",example:[{component:"BottomSheet",props:{snapPoints:["content"],mode:"inline",index:0}}]}],dont:[{note:"Do not set a snap point taller than the content needs. It leaves a large empty area.",example:[{component:"BottomSheet",props:{snapPoints:["90%"],mode:"inline",index:0}}]}],a11y:["Turning off backdrop press also turns off Back and Escape, so a sheet that must be answered stays open.","Set accessibilityLabel so a screen reader names the sheet when it opens."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{useCallback,useEffect,useRef}from"react";export const useSheetSwap=()=>{const e=useRef(!0),r=useRef(!1);return useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),useCallback(async(t,u,c)=>{if(r.current)return!1;r.current=!0;try{const r=t.current;if(r)if(c?.confirm){if(!await r.requestClose())return!1}else await r.close();const n=u.current;return!(!e.current||!n)&&(n.expand(c?.index),!0)}finally{r.current=!1}},[])};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Spacer",marker:null,platforms:["phone"],acceptsChildren:!1,props:{size:{type:"enum",values:["none","xxs","xs","sm","md","lg","xl","2xl","3xl","4xl"],description:"A fixed gap of this space step. Leave it out for a flexible spacer that pushes its neighbours apart."}},omit:[],examples:[{id:"Spacer.fixed",title:"Fixed gap",props:{size:"lg"}},{id:"Spacer.flexible",title:"Flexible push",props:{}}],usage:{when:["Two siblings need a fixed gap that does not belong to either of them.","A flexible space should push one sibling to the far end of a row or column."],whenNot:[{text:"Every child in a row or column needs the same gap.",instead:"the gap of Row or Stack"}],do:[{note:"Pick a space step by name so the gap follows the shared scale.",example:[{component:"Spacer",props:{size:"md"}}]}],dont:[{note:"Do not stack several spacers to make a larger gap. Use the next step up.",example:[{component:"Spacer",props:{size:"xs"}},{component:"Spacer",props:{size:"xs"}}]}],a11y:["A spacer draws nothing and is skipped by a screen reader."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Button",marker:null,platforms:["phone"],acceptsChildren:!0,props:{title:{type:"string",description:"The label, and the accessible name of the button unless an accessibility label is set."},variant:{type:"enum",values:["solid","soft","outline","ghost","link","glass"],default:"solid",description:"The visual weight, heaviest first. Glass suits a button on a gradient or a photo."},tone:{type:"enum",values:["primary","secondary","success","warning","danger","neutral"],default:"primary",description:"The colour family of the button."},size:{type:"enum",values:["xs","sm","md","lg","xl"],default:"md",description:"The size of the button."},loading:{type:"boolean",default:!1,description:"Disables the button and draws a spinner before the title."},disabled:{type:"boolean",default:!1,description:"Blocks presses and dims the button."},fullWidth:{type:"boolean",default:!1,description:"Stretches the button to the full width of its parent."},leftIcon:{type:"icon",description:"An icon before the title."},rightIcon:{type:"icon",description:"An icon after the title."},iconVariant:{type:"enum",values:["linear","bold","broken","bulk","outline","twotone"],description:"The icon style for an icon given by name."},leftIconBadge:{type:"boolean",default:!1,description:"Draws the left icon inside its own disc at the left edge. Ignored on a link."},rounded:{type:"boolean",default:!1,description:"Gives the button fully round ends."},accessibilityHint:{type:"string",description:"What happens when the control is used, read after its name by a screen reader."},accessibilityLabel:{type:"string",description:"Replaces the title as the accessible name of the button."}},omit:["haptic","gradient","pressAnimation","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","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:"Button.solid",title:"Solid",props:{title:"Save",variant:"solid",tone:"primary"}},{id:"Button.outline",title:"Outline",props:{title:"Cancel",variant:"outline",tone:"neutral"}},{id:"Button.danger",title:"Danger",props:{title:"Delete",tone:"danger"}},{id:"Button.icon",title:"With an icon",props:{title:"Add item",leftIcon:"add",size:"lg"}}],usage:{when:["The person starts an action, such as saving, sending or adding.","One action on a screen is the main one and should stand out.","An action is in progress and the button should show it with a spinner."],whenNot:[{text:"The control moves to another screen as part of the text.",instead:"a link variant button"},{text:"The control toggles a setting on or off.",instead:"Switch"}],do:[{note:"Label the button with a verb that says what happens.",example:[{component:"Button",props:{title:"Save changes"}}]}],dont:[{note:"Do not use several solid primary buttons side by side. Only one action is the main one.",example:[{component:"Button",props:{title:"Save"}},{component:"Button",props:{title:"Send"}}]}],a11y:["The title is the accessible name; set an accessibility label only when it should differ.","Pass the label as the title, not as text children, which draw a blank button.","While loading, the button reports itself as disabled and busy."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Calendar",marker:null,platforms:["phone"],acceptsChildren:!1,props:{mode:{type:"enum",values:["single","range"],default:"single",description:"Single picks one day; range picks a start and then an end."},value:{type:"object",required:!0,fields:{start:{type:"string",required:!0,description:"The first day, as an ISO date."},end:{type:"string",description:"The last day of a range, as an ISO date. It is absent while a range is in progress."}},description:"The selection, or null when nothing is picked. Dates are written as ISO strings."},month:{type:"string",description:"A day in the month shown, as an ISO date. Leave it out to let the calendar keep the month."},minDate:{type:"string",description:"The earliest day that can be picked, as an ISO date."},maxDate:{type:"string",description:"The latest day that can be picked, as an ISO date."},disabledDates:{type:"array",description:"Days that cannot be picked, as ISO dates."},weekStartsOn:{type:"enum",values:[0,1,6],default:0,description:"The first weekday of the grid: 0 is Sunday, 1 is Monday and 6 is Saturday."},locale:{type:"string",default:"en-IN",description:"The locale for month, weekday and day names."},markedDates:{type:"array",itemFields:{date:{type:"string",required:!0,description:"The marked day, as an ISO date."},kind:{type:"enum",values:["holiday","event","pending"],required:!0,description:"What the mark means."},label:{type:"string",description:"What the day is, read aloud before its kind."},tone:{type:"enum",values:["success","warning","danger","info","primary","neutral"],description:"The dot colour. It defaults by kind."}},description:"Days drawn with a dot and read aloud with each day."},strikeMarkedInRange:{type:"boolean",default:!1,description:"In range mode, strikes holidays inside a complete range and reads them as not counted."},cellSize:{type:"number",description:"Fixed width and height of each day, at least 44. Unset, days share the width equally."},accessibilityLabel:{type:"string",description:"Names the calendar. It is read with the month heading."}},omit:["haptic"],examples:[{id:"Calendar.single",title:"Single day",props:{value:{start:"2026-10-12"},mode:"single"}},{id:"Calendar.range",title:"Range",props:{value:{start:"2026-10-12",end:"2026-10-16"},mode:"range",strikeMarkedInRange:!0}},{id:"Calendar.mondayStart",title:"Week starts on Monday",props:{value:{start:"2026-10-12"},mode:"single",weekStartsOn:1}}],usage:{when:["The person picks one day or a range from a visible month, such as leave dates.","Holidays or events should show as marks on the days.","The grid should sit inside the page rather than in a sheet."],whenNot:[{text:"The person picks a date from a form field.",instead:"DatePicker"},{text:"The person picks a range from a form field.",instead:"DateRangePicker"}],do:[{note:"Mark holidays so the person sees them before picking a range.",example:[{component:"Calendar",props:{mode:"range",strikeMarkedInRange:!0}}]}],dont:[{note:"Do not set a cell size below 44. The days become hard to tap.",example:[{component:"Calendar",props:{mode:"single",cellSize:30}}]}],a11y:["Each marked day is read aloud with its label and kind.","Days keep a touch target of at least 44 points.","Set accessibilityLabel so the calendar is named with its month heading."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Card",marker:null,platforms:["phone"],acceptsChildren:!0,props:{variant:{type:"enum",values:["elevated","outlined","filled","flat"],default:"elevated",description:"The surface style of the card."},elevation:{type:"enum",values:["none","card","elevated","popover","modal","drawer"],default:"card",description:"The shadow under the card, as a shadow name or none."},radius:{type:"enum",values:["sm","md","lg","xl"],default:"lg",description:"The corner radius."},padding:{type:"enum",values:["none","sm","md","lg","xl"],default:"md",description:"The space inside the card."},interactive:{type:"boolean",default:!1,description:"Makes the whole card pressable."},bg:{type:"string",description:"The background: a background colour name or any colour value. It replaces the variant surface."},header:{type:"node",description:"A free header slot. When set it replaces the built-in header."},title:{type:"node",description:"The built-in header title. A string is drawn as a heading; a node is drawn as it is."},titleFont:{type:"enum",values:["sans","serif"],default:"sans",description:"The face of a string title: the sans text face, or the serif display face. A node title ignores it."},lead:{type:"node",description:"A subtitle line under the title."},action:{type:"node",description:"A header action: a node is drawn as it is, or a label with a press handler draws a text action."},headerActions:{type:"node",description:"Extra nodes drawn in the header row after the action."},collapsible:{type:"boolean",default:!1,description:"Draws a chevron in the header that folds the body and footer away."},collapsed:{type:"boolean",description:"The folded state, when the screen controls it."},defaultCollapsed:{type:"boolean",default:!1,description:"The folded state at the start, when the card keeps its own."},collapsedSummary:{type:"node",description:"Shown under the title while the card is folded."},removeLabel:{type:"string",default:"Remove",description:"The accessible name of the remove button."},separatorHeight:{type:"number",description:"Height of the bottom band of the flat variant. It defaults to a hairline."},footer:{type:"node",description:"A footer slot below the body."},imageHeight:{type:"number",default:160,description:"Height of the card image in points."},imageAspectRatio:{type:"number",description:"The width to height ratio of the card image."},imageOverlay:{type:"node",description:"A node drawn over the card image."},loading:{type:"boolean",default:!1,description:"Draws the placeholder shape instead of the content while data loads."},contextMenu:{type:"object",fields:{items:{type:"any",required:!0,description:"The menu entries: a list of items, or a list of groups of items."},title:{type:"string",description:"A short heading over the items. It is also the accessible name of the menu."},topActions:{type:"array",itemFields:{key:{type:"string",required:!0,description:"A stable id for the item."},label:{type:"string",required:!0,description:"The item text."},icon:{type:"icon",description:"A leading icon."},description:{type:"string",description:"A line under the label. Any description presents the menu as a sheet on a phone."},detail:{type:"string",description:"Short trailing text, such as a count."},checked:{type:"boolean",description:"Draws a check mark and reports the checked state."},destructive:{type:"boolean",description:"Draws the item in the error colour."},disabled:{type:"boolean",description:"Marks the item as unavailable now."},hidden:{type:"boolean",description:"Never shows the item."},submenu:{type:"array",description:"One level of items that replaces the list when this item is chosen."},accessibilityLabel:{type:"string",description:"Replaces the item text for a screen reader."}},description:"Up to three icon actions in a row above the list."},preview:{type:"node",description:"What lifts over the dimmed screen while the menu is open."},unavailable:{type:"enum",values:["hide","disable"],description:"Hide drops an unavailable item; disable shows it dimmed."},presentation:{type:"enum",values:["auto","popover","sheet"],description:"How the menu is drawn. Auto picks a sheet on a phone past seven items or with a description."},placement:{type:"enum",values:["top","bottom","auto"],description:"The preferred side of the pressed card."},accessibilityLabel:{type:"string",description:"Names the menu for a screen reader."},closeLabel:{type:"string",description:"The accessible name of the tap outside area."},backLabel:{type:"string",description:"The accessible name of a submenu's Back row."}},description:"A long press menu. Every item is also a screen reader action on the card."},borderRadius:{type:"number",description:"A corner radius in points for this card. It wins over the radius name."},accessibilityHint:{type:"string",description:"What happens when the control is used, read after its name by a screen reader."},disabled:{type:"boolean",description:"Blocks presses on an interactive card."},accessibilityLabel:{type:"string",description:"Names the card for a screen reader."}},omit:["imageSource","gradient","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","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:"Card.elevated",title:"Elevated",props:{variant:"elevated",title:"Account summary",lead:"Updated today"},children:"Balance and recent activity appear here."},{id:"Card.outlined",title:"Outlined",props:{variant:"outlined",title:"Notes",padding:"lg"},children:"A short note about this account."},{id:"Card.collapsible",title:"Collapsible",props:{title:"Details",collapsible:!0,defaultCollapsed:!1,collapsedSummary:"3 items"},children:"Three items are listed in this section."}],usage:{when:["Related content should read as one group, such as a summary, a record or a list item.","The group may need a header, a footer, an image or a menu.","The whole group should be pressable and lead somewhere."],whenNot:[{text:"The content is a plain row in a list.",instead:"ListItem"},{text:"The content only needs spacing.",instead:"Box"}],do:[{note:"Give the card a title so the group has a name.",example:[{component:"Card",props:{title:"Account summary"}}]}],dont:[{note:"Do not nest cards inside cards. The surfaces and shadows pile up.",example:[{component:"Card",props:{title:"Outer"},children:[{component:"Card",props:{title:"Inner"}}]}]}],a11y:["Context menu items are also screen reader actions on the card.","Set accessibilityLabel on an interactive card so its purpose is announced."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Carousel",marker:null,platforms:["phone"],acceptsChildren:!1,props:{data:{type:"array",required:!0,description:"The slides. Each entry is handed to the slide renderer."},index:{type:"number",description:"The slide shown, counted from 0, when the screen controls it."},defaultIndex:{type:"number",default:0,description:"The slide shown at the start when the carousel keeps its own position."},autoPlay:{type:"boolean",default:!1,description:"Advances the slides on a timer. It implies loop."},autoPlayInterval:{type:"number",default:4e3,description:"The time between slides when autoPlay is on, in milliseconds."},loop:{type:"boolean",default:!1,description:"Jumps back to the first slide after the last."},showPagination:{type:"boolean",default:!0,description:"Draws the pagination marks under the slides."},paginationStyle:{type:"enum",values:["dots","bars","numbers"],default:"dots",description:"The look of the pagination marks."},itemWidth:{type:"stringOrNumber",description:"Width of each slide in points, or the text screen for the width of the parent.",default:"screen"},spacing:{type:"number",default:0,description:"Horizontal space between slides, in points."},accessibilityLabel:{type:"string",description:"Names the carousel for a screen reader."},showThumbnails:{type:"boolean",default:!1,description:"Draws a strip of small thumbnails under the carousel."},loading:{type:"boolean",default:!1,description:"Draws the placeholder shape instead of the slides while data loads."}},omit:["haptic"],examples:[{id:"Carousel.dots",title:"Dots",props:{data:["Sunset","Mountain","Coast"],showPagination:!0,paginationStyle:"dots"}},{id:"Carousel.bars",title:"Bars with spacing",props:{data:["Sunset","Mountain","Coast"],paginationStyle:"bars",itemWidth:280,spacing:12}},{id:"Carousel.numbers",title:"Numbers",props:{data:["Sunset","Mountain","Coast"],paginationStyle:"numbers",loop:!0}}],usage:{when:["A few slides of the same kind share one place, such as promotions or photos.","The person swipes sideways and sees where they are in the set.","A slide strip should advance on its own, such as a banner rotation."],whenNot:[{text:"The slides are steps of a first run flow.",instead:"OnboardingPager"},{text:"The items are a long scrolling list.",instead:"a list"}],do:[{note:"Keep the set short and show the pagination so the person knows more slides follow.",example:[{component:"Carousel",props:{data:["One","Two","Three"],showPagination:!0}}]}],dont:[{note:"Do not auto play a carousel that holds text the person must read. The slide changes before they finish.",example:[{component:"Carousel",props:{data:["One","Two","Three"],autoPlay:!0,autoPlayInterval:1e3}}]}],a11y:["Set accessibilityLabel so a screen reader names the carousel.","Auto play pauses while the person drags and resumes after a short idle time."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Checkbox",marker:null,platforms:["phone"],acceptsChildren:!1,props:{checked:{type:"boolean",description:"Whether the box is checked, when the screen controls it."},defaultChecked:{type:"boolean",description:"Whether the box starts checked, when the checkbox keeps its own state."},indeterminate:{type:"boolean",default:!1,description:"Draws the mixed state, such as a select all box with some rows chosen."},disabled:{type:"boolean",default:!1,description:"Blocks presses and dims the checkbox."},label:{type:"node",description:"The text beside the box. A node label needs an accessibility label."},description:{type:"node",description:"A secondary line under the label."},error:{type:"node",description:"An error line under the label. It also draws the box in the error colour; true shows the error state without a message."},help:{type:"node",description:"A node beside the label, such as an info button. It is not part of the checkbox and does not toggle it."},labelLines:{type:"number",description:"The lines the label may take before it truncates. Zero or unset means no limit."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"The size of the box."},tone:{type:"enum",values:["primary","success","warning","danger"],default:"primary",description:"The colour of the checked box."},shape:{type:"enum",values:["circle"],description:"circle draws a round box with the tick inside, for a task that is completed. Omit it for the square box."},accessibilityHint:{type:"string",description:"What happens when the control is used, read after its name by a screen reader."},accessibilityLabel:{type:"string",description:"The accessible name of the checkbox. Needed when the label is a node."}},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","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:"Checkbox.checked",title:"Checked",props:{checked:!0,label:"Email me a receipt"}},{id:"Checkbox.circle",title:"Round (task completion)",props:{checked:!0,label:"Ship the report",shape:"circle"}},{id:"Checkbox.description",title:"With a description",props:{checked:!1,label:"Subscribe to updates",description:"A monthly summary, no more."}},{id:"Checkbox.error",title:"Error",props:{checked:!1,label:"I accept the terms",error:"You must accept the terms to continue."}},{id:"Checkbox.indeterminate",title:"Mixed state",props:{indeterminate:!0,label:"Select all",size:"lg"}}],usage:{when:["The person picks any number of options from a list.","A single yes or no needs to be saved with a form, such as accepting terms.","A parent box should show that only some of its rows are chosen."],whenNot:[{text:"The person picks exactly one option.",instead:"Radio"},{text:"The setting takes effect at once when changed.",instead:"Switch"}],do:[{note:"Write the label so a checked box reads as a true statement.",example:[{component:"Checkbox",props:{checked:!0,label:"Email me a receipt"}}]}],dont:[{note:"Do not leave a checkbox with no label. The person cannot tell what it controls.",example:[{component:"Checkbox",props:{checked:!1}}]}],a11y:["A node label needs an accessibility label, which becomes the screen reader name.","Pressing the help node beside the label does not toggle the checkbox."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Chip",marker:null,platforms:["phone"],acceptsChildren:!1,props:{label:{type:"string",required:!0,description:"Chip text."},count:{type:"stringOrNumber",description:'A figure after the label, drawn quieter than it (regular weight, caption size, tabular digits): "Open" with `count={4}`.'},selected:{type:"boolean",default:!1,description:"Selected visual state."},selectionMode:{type:"enum",values:["single","multiple","radio"],default:"single",description:"How a pressable chip announces itself."},leftIcon:{type:"icon",description:"Icon before the label."},iconVariant:{type:"enum",values:["linear","bold","broken","bulk","outline","twotone"],description:"Iconsax style for a leftIcon given as a name. Default linear."},variant:{type:"enum",values:["filled","outlined","soft"],default:"filled",description:"Visual style."},tone:{type:"enum",values:["primary","neutral","success","warning","danger","info"],default:"neutral",description:"Semantic color."},size:{type:"enum",values:["sm","md"],default:"md",description:"Size scale."},disabled:{type:"boolean",default:!1,description:"Disabled state."},loading:{type:"boolean",default:!1,description:"When true, renders the component as its authored skeleton placeholder shape."},accessibilityLabel:{type:"string",description:"Overrides the default accessibility label."}},omit:["haptic"],examples:[{id:"Chip.default",title:"Default",props:{label:"Engineering"}},{id:"Chip.selected",title:"Selected multiple",props:{label:"Design",selected:!0,selectionMode:"multiple",tone:"primary"}},{id:"Chip.count",title:"With count",props:{label:"Open",count:4,variant:"outlined"}},{id:"Chip.withIcon",title:"With icon",props:{label:"Starred",leftIcon:"star",variant:"soft",tone:"primary"}}],usage:{when:["A compact tag, optionally selectable or closable.","A compact pill for filters, tags, and selections."],whenNot:[{text:"When the affordance is an action.",instead:"Button"},{text:"For 2 to 4 short values in a single exclusive switch.",instead:"SegmentedControl"},{text:"When options can wrap freely or be multi-select and the library should manage the selection state.",instead:"ChoiceGroup"}],do:[{note:"Pass a string or number to count to render a figure after the label.",example:[{component:"Chip",props:{label:"Open",count:4}}]}],dont:[{note:"Do not pass 0 to count if you want it hidden while loading.",example:[{component:"Chip",props:{label:"Open",count:0}}]}],a11y:["Announces as a radio, a checkbox, or a button depending on the selection mode.","Exposes a checked state for radio and multiple selection modes, and a selected state otherwise.","A radio chip adds vertical hit slop to reach a 44 point touch target."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"ChoiceGroup",marker:null,platforms:["phone"],acceptsChildren:!1,props:{value:{type:"any",description:"The selected value when the parent controls it: one option's value, or a list of them when several can be chosen."},options:{type:"array",required:!0,description:"The choices, in the ChoiceOption shape by default.",itemFields:{label:{type:"string",required:!0,description:"The text shown for the option and read aloud."},value:{type:"stringOrNumber",required:!0,description:"The value the group stores when this option is chosen."},color:{type:"string",description:"Tints the default card's label, border, dot and selected fill; defaults to the primary colour."},description:{type:"string",description:"A second line shown on the card only; the chip is label and icon alone."},icon:{type:"icon",description:"Icon before the label: an AppIcon name drawn in the option's current ink and bold while selected, or a name and variant object, a render function or any node."},disabled:{type:"boolean",description:"Disables this option only."}}},selectionMode:{type:"enum",values:["single","multiple"],description:"Single picks one option (radio); multiple toggles any number (checkbox). Defaults to single."},variant:{type:"enum",values:["card","chip"],default:"card",description:"Look of the built-in template: the bordered card or the icon-and-label chip."},indicatorPosition:{type:"enum",values:["leading","trailing"],default:"trailing",description:"Side of the card the radio dot sits on; the chip has no dot."},direction:{type:"enum",values:["row","column"],default:"row",description:"Main axis of the option list."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"Density of the built-in templates: padding, font size, icon and dot."},gap:{type:"number",description:"Gap between options. Default theme.space.sm."},wrap:{type:"boolean",default:!1,description:"Allow options to wrap onto multiple lines (swatch grids)."},fullWidth:{type:"boolean",description:"Stretch options equally along the main axis. Default true for an unwrapped row of cards, false otherwise; a chip hugs its content."},disabled:{type:"boolean",default:!1,description:"Disables the whole group; per-option disabled still applies on top."},labelLines:{type:"number",default:1,description:"Lines an option label may take in the built-in templates before it ends in an ellipsis."},descriptionLines:{type:"number",default:2,description:"Lines an option description may take in the card before it ends in an ellipsis."},accessibilityLabel:{type:"string",description:"Accessible label for the group."},min:{type:"number",description:"Multiple mode only: fewest options that stay selected. Pressing a selected option at this count does nothing."},max:{type:"number",description:"Multiple mode only: most options that can be selected. At this count the unselected options are disabled."}},omit:["defaultValue","haptic"],examples:[{id:"ChoiceGroup.status",title:"Status cards",props:{options:[{label:"Hot",value:"Hot",icon:"flash"},{label:"Warm",value:"Warm",icon:"sun-1"},{label:"Cold",value:"Cold",icon:"cloud"}],value:"Hot"}},{id:"ChoiceGroup.chip",title:"Role chips",props:{variant:"chip",options:[{label:"Admin",value:"admin",icon:"shield-tick"},{label:"Finance",value:"finance",icon:"wallet-2"},{label:"Viewer",value:"viewer",icon:"eye"}],value:"finance"}},{id:"ChoiceGroup.column",title:"Plans in a column",props:{direction:"column",indicatorPosition:"leading",options:[{label:"Free",value:"free",description:"Hobby projects"},{label:"Pro",value:"pro",description:"Solo professionals"},{label:"Team",value:"team",description:"Up to 10 seats"}],value:"pro"}}],usage:{when:["Choosing one option from a short, fully visible set, such as a status or a plan.","Picking a role or filter where each choice has its own icon (the chip variant)."],whenNot:[{text:"The list is long and needs scrolling or search",instead:"Select"},{text:"The options must join into one bar of segments that slides",instead:"SegmentedControl"},{text:"The question is a single yes or no",instead:"Checkbox"}],do:[{note:"Give each option a label and a value, and pass a default so one option starts selected.",example:[{component:"ChoiceGroup",props:{options:[{label:"Hot",value:"Hot"},{label:"Warm",value:"Warm"},{label:"Cold",value:"Cold"}],value:"Hot"}}]}],dont:[{note:"Pass a single value in multiple mode; multiple mode takes an array of values.",example:[{component:"ChoiceGroup",props:{selectionMode:"multiple",options:[{label:"Hot",value:"Hot"},{label:"Warm",value:"Warm"}],value:"Hot"}}]}],a11y:["Single mode exposes a radiogroup of radio options; multiple mode exposes checkboxes with checked state and no radiogroup role.","Each option is read with its label, and a card reads its full description even when the text is cut short on screen.","A disabled group or option is announced as disabled and cannot be pressed."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Composer",marker:null,platforms:["phone"],acceptsChildren:!1,props:{placeholder:{type:"string",default:"Message",description:"The placeholder text shown while the box is empty."},value:{type:"string",description:"Controlled draft text; leave unset and the composer keeps its own."},accessibilityLabel:{type:"string",description:"The text box's screen reader name, defaulting to the placeholder."},sendLabel:{type:"string",default:"Send",description:"The send button's screen reader name."},busy:{type:"boolean",default:!1,description:"A reply is arriving: the person can type but not send, and send shows a spinner."},disabled:{type:"boolean",default:!1,description:"Nothing can be typed or sent."},maxLength:{type:"number",description:"The maximum number of characters the box accepts."},maxLines:{type:"number",default:5,description:"The box grows to this many lines, then scrolls."},leading:{type:"node",description:"Before the box, e.g. an attach button."},trailing:{type:"node",description:"Between the box and send, e.g. a microphone button."},above:{type:"node",description:"Inside the bar, above the row: a banner or note that rides the keyboard too."},below:{type:"node",description:"Inside the bar, below the row: a disclaimer."},keyboardAware:{type:"boolean",default:!0,description:"Rides the keyboard so the composer stays visible above it."},keyboardOffset:{type:"number",description:"How far below the bar the keyboard top starts: the bottom safe area inset plus anything under it."},safeArea:{type:"boolean",default:!0,description:"Pad the bar for the bottom safe area, or turn off above a tab bar."},autoFocus:{type:"boolean",description:"Focuses the text input when the component mounts."}},omit:["haptic"],examples:[{id:"Composer.default",title:"Default",props:{placeholder:"Message Asha",keyboardAware:!1,safeArea:!1}},{id:"Composer.busy",title:"Reply arriving",props:{placeholder:"Message Asha",busy:!0,keyboardAware:!1,safeArea:!1}},{id:"Composer.disabled",title:"Closed conversation",props:{placeholder:"Messaging is closed",disabled:!0,keyboardAware:!1,safeArea:!1}}],usage:{when:["Provide the message input bar at the bottom of a chat screen.","Allow typing messages with an integrated send button and action slots.","Pair with MessageList to ride the keyboard automatically in a chat view."],whenNot:[{text:"A single labelled field.",instead:"Input"},{text:"A long form answer.",instead:"Input with type textarea"}],do:[{note:"Turn off keyboardAware when placing the composer inside a sheet that already moves with the keyboard.",example:[{component:"Composer",props:{placeholder:"Message Asha",keyboardAware:!1}}]}],dont:[{note:"Do not leave keyboardAware enabled inside a sheet that already moves with the keyboard.",example:[{component:"Composer",props:{placeholder:"Message Asha",keyboardAware:!0}}]}],a11y:["The text input accessibility label defaults to the placeholder text when accessibilityLabel is unset.","The send button accessibility label uses sendLabel, which defaults to Send.","The send button reports its disabled or busy loading state to assistive technologies."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Confetti",marker:null,platforms:["phone"],acceptsChildren:!1,props:{count:{type:"number",default:80,description:"Number of pieces."},colors:{type:"array",description:"Piece colours. Defaults to a vibrant set drawn from the theme palette."},preset:{type:"enum",values:["pop","rain","fireworks"],default:"pop",description:"Which animation to run. 'pop' bursts open from the origin, rises, hangs, then floats down; 'rain' falls from the top edge; 'fireworks' fires several staggered bursts at random points."},shapes:{type:"array",description:"Which shapes appear. Defaults to a mix chosen per preset. Members: strip, square, circle, triangle, star, streamer."},speed:{type:"enum",values:["slow","normal","fast"],default:"normal",description:"Scales duration. Slow is 1.6x, fast is 0.6x."},physics:{type:"object",fields:{velocity:{type:"number",description:"Launch speed. Above 1 throws pieces further from the origin."},drag:{type:"number",description:"Air resistance. Above 1 makes pieces give up their launch speed sooner."},fallSpeed:{type:"number",description:"Steady falling speed once the launch speed is spent."},spread:{type:"number",description:"Burst arc in degrees, for 'pop' and 'fireworks'. Ignored by 'rain'."}},description:"Tune the preset's motion. Each value multiplies the preset's own."},origin:{type:"object",fields:{x:{type:"number",required:!0,description:"Horizontal origin coordinate."},y:{type:"number",required:!0,description:"Vertical origin coordinate."}},description:"Burst origin for 'pop'. Defaults to the centre of the container."},duration:{type:"number",default:2800,description:"Base animation duration in ms, before speed scales it."},fadeOut:{type:"boolean",default:!0,description:"Fade pieces out near the end."},autoStart:{type:"boolean",default:!1,description:"Fire automatically on mount."},recycle:{type:"boolean",default:!1,description:"Loop continuously until `stop()` is called."},size:{type:"number",default:10,description:"Base piece size in px, varied ±40% per piece."}},omit:[],examples:[{id:"Confetti.pop",title:"Pop burst",props:{preset:"pop",count:80,autoStart:!0}},{id:"Confetti.rain",title:"Rain of circles and squares",props:{preset:"rain",speed:"slow",shapes:["circle","square"],autoStart:!0}},{id:"Confetti.fireworks",title:"Fireworks",props:{preset:"fireworks",count:120,duration:3600,autoStart:!0}}],usage:{when:["Celebration moments such as an order confirmed or an achievement unlocked.","When a decorative burst should overlay the current screen without blocking interaction."],whenNot:[{text:"An element entering or leaving the screen.",instead:"AnimatePresence"},{text:"A quiet confirmation without a celebration.",instead:"Toast"}],do:[{note:"Place Confetti last in the parent so it covers the area, and fire it through a ref or with autoStart.",example:[{component:"Confetti",props:{preset:"pop",count:80,autoStart:!0}}]}],dont:[{note:"Do not rely on Confetti for layout space; it draws an absolute-fill overlay with no pointer events.",example:[{component:"Confetti",props:{preset:"pop",recycle:!0}}]}],a11y:["The burst is decorative and conveys no information.","Under reduced motion the animation stops and onComplete fires immediately."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"DatePicker",marker:null,platforms:["phone"],acceptsChildren:!1,props:{visible:{type:"boolean",description:"Opens the calendar sheet when the parent controls it; leave out to use the built-in trigger field."},value:{type:"string",description:"The selected date."},minDate:{type:"string",description:"The earliest date that can be picked."},maxDate:{type:"string",description:"The latest date that can be picked."},disabledDates:{type:"array",description:"Single dates that cannot be picked."},mode:{type:"enum",values:["modal","inline"],default:"modal",description:"Shows the calendar in a sheet or inline in the page."},locale:{type:"string",default:"en-IN",description:"Locale for month and weekday labels."},weekStartsOn:{type:"enum",values:[0,1,6],default:0,description:"First day of week, 0 is Sunday."},title:{type:"string",default:"Select Date",description:"The heading of the calendar sheet."},confirmLabel:{type:"string",default:"Confirm",description:"The label of the confirm button."},cancelLabel:{type:"string",default:"Cancel",description:"The label of the cancel button."},label:{type:"string",description:"Field label when used in trigger mode."},placeholder:{type:"string",description:"Placeholder text when used in trigger mode."},helperText:{type:"string",description:"Helper text below the field when used in trigger mode."},error:{type:"node",description:"Error message shown below the field."},required:{type:"boolean",description:"Shows a required marker on the trigger label."},disabled:{type:"boolean",description:"Disables the trigger field."},size:{type:"enum",values:["sm","md","lg"],description:"Size of the trigger field."},variant:{type:"enum",values:["outlined","filled","underline"],description:"Visual style of the trigger field."},clearable:{type:"boolean",description:"Shows a clear button once a value is set."}},omit:["haptic"],examples:[{id:"DatePicker.trigger",title:"Trigger field",props:{label:"Start date",placeholder:"Select date",size:"md",variant:"outlined"}},{id:"DatePicker.required",title:"Required with helper",props:{label:"Birth date",required:!0,helperText:"Tap to open the calendar"}},{id:"DatePicker.error",title:"With error",props:{label:"Start date",error:"This field is required",clearable:!0}},{id:"DatePicker.inline",title:"Inline calendar",props:{visible:!0,mode:"inline"}}],usage:{when:["A modal calendar is needed with bounds and disabled dates.","A calendar with locale aware labels is required."],whenNot:[{text:"A time needs to be picked.",instead:"TimePicker"},{text:"A start and end date need to be picked.",instead:"DateRangePicker"},{text:"An always visible month grid is needed.",instead:"Calendar"}],do:[{note:"Omit the visible prop to use trigger mode and let the component manage its own open state.",example:[{component:"DatePicker",props:{label:"Date of birth",placeholder:"Select date"}}]}],dont:[{note:"Do not pass the visible prop unless you need to own the open state externally with a custom trigger.",example:[{component:"DatePicker",props:{visible:!0}}]}],a11y:["The modal sheet traps focus for screen readers when open.","Day cells announce their full date and their selected or disabled states.","Under Reduce Motion the sheet fades in and out and day cells do not scale on press."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"DateRangePicker",marker:null,platforms:["phone"],acceptsChildren:!1,props:{visible:{type:"boolean",description:"Opens the range sheet when the parent controls it; leave out to use the built-in trigger field."},value:{type:"object",required:!0,description:"The chosen range, from a start day to an end day.",fields:{start:{type:"string",required:!0,description:"Start day of the range, as an ISO 8601 date, or null."},end:{type:"string",required:!0,description:"End day of the range, as an ISO 8601 date, or null."}}},label:{type:"string",description:"Label shown above the trigger field."},placeholder:{type:"string",description:"Text shown in the trigger field when no range is set."},helperText:{type:"string",description:"Helper text shown below the trigger field."},error:{type:"node",description:"Error shown in place of the helper text."},required:{type:"boolean",description:"Shows a required marker on the trigger field."},disabled:{type:"boolean",description:"Disables the trigger field."},size:{type:"enum",values:["sm","md","lg"],description:"Size of the trigger field."},variant:{type:"enum",values:["outlined","filled","underline"],description:"Visual treatment of the trigger field."},clearable:{type:"boolean",description:"Shows a clear affordance in the trigger field."},minDate:{type:"string",description:"Selection bound: days before this date cannot be picked, as an ISO 8601 date."},maxDate:{type:"string",description:"Selection bound: days after this date cannot be picked, as an ISO 8601 date."},disabledDates:{type:"array",description:"Specific dates, as ISO 8601 dates, that cannot be picked."},markedDates:{type:"array",description:"Holidays, events and pending requests drawn on the grid; see Calendar.",itemFields:{date:{type:"string",required:!0,description:"The day, as an ISO 8601 date."},kind:{type:"enum",values:["holiday","event","pending"],required:!0,description:"What the day is: a holiday, an event or a pending request."},label:{type:"string",description:"What the day is, such as Dussehra or Casual leave; read aloud before the kind."},tone:{type:"enum",values:["success","warning","danger","info","primary","neutral"],description:"Dot colour. Default: danger for a holiday, primary for an event, warning for pending."}}},strikeMarkedInRange:{type:"boolean",description:"Strike holidays inside the chosen range and read them as not counted; see Calendar."},locale:{type:"string",default:"en-IN",description:"Locale used to format dates in the grid and the range header."},weekStartsOn:{type:"enum",values:[0,1,6],default:0,description:"First weekday of the grid: 0 Sunday, 1 Monday, 6 Saturday."},title:{type:"string",default:"Select Date Range",description:"Heading shown at the top of the sheet."},confirmLabel:{type:"string",default:"Confirm",description:"Label of the confirm button."},cancelLabel:{type:"string",default:"Cancel",description:"Label of the cancel button."},maxRange:{type:"number",description:"Cap on the selected range length, in days."}},omit:["haptic"],examples:[{id:"DateRangePicker.trigger",title:"Trigger field",props:{value:{start:"2026-10-12",end:"2026-10-16"},label:"Dates",placeholder:"Select range",size:"md"}},{id:"DateRangePicker.weekStart",title:"Monday start with a cap",props:{value:{start:"2026-10-12",end:"2026-10-16"},label:"Leave",weekStartsOn:1,maxRange:14}},{id:"DateRangePicker.disabled",title:"Disabled",props:{value:{start:"2026-10-12",end:"2026-10-16"},label:"Dates",disabled:!0}}],usage:{when:["Pick a start day and an end day as one range, such as the dates of a stay or a leave request.","Confirm a range in one step inside a sheet, with an optional cap on its length."],whenNot:[{text:"Picking a single day.",instead:"DatePicker"},{text:"Showing a month grid that stays on screen.",instead:"Calendar"},{text:"Picking a time of day.",instead:"TimePicker"}],do:[{note:"Set maxRange when a range has a limit, such as a 14-day leave cap, so a longer pick restarts from the new tap.",example:[{component:"DateRangePicker",props:{label:"Leave",weekStartsOn:1,maxRange:14}}]}],dont:[{note:"Do not use it for one day; a single day belongs in DatePicker.",example:[{component:"DateRangePicker",props:{label:"Day"}}]}],a11y:["Marked days are read aloud with their label before their kind, such as Dussehra holiday.","A range longer than maxRange is rejected with a warning haptic, and the selection restarts from the tapped day.","The picker opens as a modal sheet that screen readers treat as modal; Cancel, Dismiss or a drag down from the title closes it."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"DateSeparator",marker:null,platforms:["phone"],acceptsChildren:!1,props:{date:{type:"string",description:"The day to name."},label:{type:"string",description:'Draws this text instead of a day, e.g. "New messages" above the first unread.'},emphasis:{type:"boolean",default:!1,description:"Draws the text and rules in the brand colour, for an unread divider."},labels:{type:"object",description:"Custom relative day labels, defaulting to Today and Yesterday.",fields:{today:{type:"string",description:"The label for today, defaulting to Today."},yesterday:{type:"string",description:"The label for yesterday, defaulting to Yesterday."}}},now:{type:"string",description:"The reference for Today and Yesterday."}},omit:[],examples:[{id:"DateSeparator.day",title:"A day",props:{date:"2026-10-11T09:00:00Z"}},{id:"DateSeparator.label",title:"A text label",props:{label:"Earlier"}},{id:"DateSeparator.unread",title:"Unread divider",props:{label:"New messages",emphasis:!0}}],usage:{when:["Separate groups of chat messages by day in a message list.","Draw an unread divider line above the first unread message with label and emphasis."],whenNot:[{text:"A heading above a block of content.",instead:"SectionHeader"},{text:"Separating days inside MessageList where the list already inserts separators.",instead:"MessageList day grouping"}],do:[{note:"Pass either date for a day divider or label with emphasis for an unread messages divider.",example:[{component:"DateSeparator",props:{date:"2026-10-11T09:00:00Z"}}]}],dont:[{note:"Do not pass both date and label together, because label overrides date.",example:[{component:"DateSeparator",props:{date:"2026-10-11T09:00:00Z",label:"Today"}}]}],a11y:["The text uses an accessibility header role so screen reader users can navigate through a conversation by day.","The centred text element is announced directly to assistive technologies."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"DecimalInput",marker:null,platforms:["phone"],acceptsChildren:!1,props:{symbol:{type:"node",description:"The quantity's symbol, drawn in the prefix box before the value."},value:{type:"stringOrNumber",description:"The figure. Text in the default mode, a number or an empty string in numeric mode. Null and undefined show an empty field."},max:{type:"number",description:"A keystroke or paste that would pass this is refused; a figure already past it can still be edited down."},min:{type:"number",description:"Lower bound, refused the same way as max."},decimals:{type:"number",description:"Most fraction digits kept after the point."},whole:{type:"boolean",default:!1,description:"Digits only. Number-pad keyboard."},signed:{type:"boolean",default:!1,description:"Allow one leading minus. Numeric keyboard."},allowExponent:{type:"boolean",default:!1,description:"Allow exponent notation such as 1e-5."},numeric:{type:"boolean",default:!1,description:"Hand onChange a number. The field keeps the typed text itself, so a half-typed figure survives the keystroke, and follows value when it changes from elsewhere."},unclearCommaMessage:{type:"node",default:"Use a point for the decimal mark. A comma before three digits could mean thousands.",description:"Shown when the figure has a comma before exactly three digits and no error is passed."},readOnly:{type:"boolean",default:!1,description:"Selectable and focusable but not editable. Unlike disabled, the field is not dimmed."},disabled:{type:"boolean",default:!1,description:"Dims the field out and blocks editing."},label:{type:"node",description:"A string, or a node for a symbol with a subscript. A node label needs an explicit accessibilityLabel."},help:{type:"node",description:"Drawn beside the static label, right after it and centred on its line, such as a glossary info button."},error:{type:"node",description:"A string or a node puts the field in the error state and replaces the helper; true shows the error state without a message."},helperText:{type:"node",description:"A string or a node, shown below the field when there is no error."},prefix:{type:"node",description:"Fixed text drawn before the value in the leading slot, such as a currency symbol or a country code."},placeholder:{type:"string",description:"Placeholder text shown while the field is empty."},unit:{type:"string",description:"A fixed unit drawn after the value in the trailing slot, such as km, % or /month."},accessibilityLabel:{type:"string",description:"The screen reader name of the field. When left out, the label is used, or the placeholder when there is no label."},maxLength:{type:"number",description:"Character limit passed to the text input."},borderRadius:{type:"number",description:"Per-instance override for the field's corner radius. Wins over the field size's radius."},type:{type:"enum",values:["input","password","textarea"],default:"input",description:"One switch for the behaviour set: input for single-line text, password for a masked value with an eye toggle, textarea for multi-line text."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"Field height, padding and font size."},variant:{type:"enum",values:["outlined","filled","underline"],description:"The field's look. When left out, the theme's field variant is used, and outlined when the theme sets none."},labelMode:{type:"enum",values:["float","top"],description:"top keeps the static label above the field. float uses a floating label that rises to the top border on focus."},showPasswordToggle:{type:"boolean",default:!1,description:"Setting this alone also puts the field in password mode, the same as type password."},secureTextEntry:{type:"boolean",default:!1,description:"React Native's own prop: masks the value without the eye toggle."},multiline:{type:"boolean",default:!1,description:"React Native's own prop, the same as type textarea."},required:{type:"boolean",default:!1,description:"Marks the field as required."},showCounter:{type:"boolean",default:!0,description:"Renders a character counter below the field when maxLength is set. Set false for fields that cap input without advertising it."},leftIcon:{type:"icon",description:"Leading slot: an icon name such as user, a name and variant object, a render function or a node."},rightIcon:{type:"icon",description:"Trailing slot, same contract as leftIcon."},action:{type:"object",description:"A button beside the field box, for a Verify, Apply or Look up action on what was typed.",fields:{label:{type:"string",required:!0,description:"The button's text."},loading:{type:"boolean",description:"Shows the button's spinner and blocks presses."},disabled:{type:"boolean",description:"Blocks presses. The button is also disabled whenever the field is."},variant:{type:"enum",values:["solid","soft","outline","ghost","link","glass"],description:"Button variant."},tone:{type:"enum",values:["primary","secondary","success","warning","danger","neutral"],description:"Button tone."},icon:{type:"icon",description:"Icon drawn before the button label."}}}},omit:["allowFontScaling","autoCapitalize","autoComplete","autoCorrect","autoFocus","blurOnSubmit","submitBehavior","caretHidden","contextMenuHidden","defaultValue","editable","inputMode","placeholderTextColor","returnKeyType","enterKeyHint","selectTextOnFocus","selection","selectionColor","textAlign","inputAccessoryViewID","inputAccessoryViewButtonLabel","maxFontSizeMultiplier","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","disableKeyboardShortcuts","clearButtonMode","clearTextOnFocus","dataDetectorTypes","enablesReturnKeyAutomatically","keyboardAppearance","passwordRules","rejectResponderTermination","selectionState","spellCheck","textContentType","scrollEnabled","lineBreakStrategyIOS","lineBreakModeIOS","smartInsertDelete","cursorColor","selectionHandleColor","importantForAutofill","disableFullscreenUI","inlineImageLeft","inlineImagePadding","numberOfLines","returnKeyLabel","textBreakStrategy","underlineColorAndroid","textAlignVertical","showSoftInputOnFocus","verticalAlign"],examples:[{id:"DecimalInput.amount",title:"Amount with symbol",props:{label:"Amount",symbol:"₹",max:1e5}},{id:"DecimalInput.whole",title:"Whole number with unit",props:{label:"Quantity",whole:!0,unit:"pcs"}},{id:"DecimalInput.signed",title:"Signed with two decimals",props:{label:"Adjustment",signed:!0,decimals:2}},{id:"DecimalInput.readOnly",title:"Read only",props:{label:"Total",readOnly:!0,value:"1250.50"}}],usage:{when:["The figure can be empty or half-typed while the person types, such as 12. or a lone minus.","The value is a measurement, a tolerance or an amount the person types, not a count changed by steps."],whenNot:[{text:"The value changes by taps and is never empty or half-typed.",instead:"NumberInput"},{text:"The field takes free text rather than a figure.",instead:"Input"}],do:[{note:"Give the figure a label, and a symbol or unit so the number has a meaning.",example:[{component:"DecimalInput",props:{label:"Length",symbol:"L",unit:"m",max:500}}]}],dont:[{note:"Do not use it for a stepper quantity. Use NumberInput when the value is changed by steps.",example:[{component:"DecimalInput",props:{label:"Quantity",whole:!0,max:10}}]}],a11y:["Every figure needs a label. A symbol or unit alone does not name the field.","A comma before exactly three digits, such as 2,500, shows unclearCommaMessage as the field error, which a screen reader announces.","readOnly keeps the figure focusable and announced. disabled greys it out and drops it from the focus order."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Descriptions",marker:null,platforms:["phone"],acceptsChildren:!1,props:{items:{type:"array",required:!0,description:"The rows.",itemFields:{label:{type:"node",required:!0,description:"A string renders as text."},value:{type:"node",description:"A string, a number, a `sym()` / `Notation` or a list of those renders as text in the value's size, weight and colour (`strong`, `tone`), the subscript included."},full:{type:"boolean",description:"Make this row span both columns."},key:{type:"string",description:"React key."},strong:{type:"boolean",description:"Draw a string value in the semibold weight."},tone:{type:"enum",values:["primary","secondary","tertiary","inverse","disabled","link","textStrong","success","warning","danger","info"],description:"Colour of a string value: a text role, a semantic tone or a raw colour."}}},columns:{type:"enum",values:[1,2],default:1,description:"1 stacks label above value; 2 puts them side by side."},size:{type:"enum",values:["sm","md"],default:"md",description:"Row padding + font size."},bordered:{type:"boolean",default:!1,description:"Hairlines between rows."},title:{type:"string",description:"Optional heading above the list."},variant:{type:"enum",values:["list","summary"],default:"list",description:"'list' (default) is the record-detail layout."}},omit:[],examples:[{id:"Descriptions.default",title:"Two columns",props:{title:"Invoice details",columns:2,bordered:!0,items:[{label:"Invoice",value:"INV-1042"},{label:"Amount",value:"₹12,500"},{label:"Status",value:"Paid"},{label:"Notes",value:"Net 30",full:!0}]}},{id:"Descriptions.summary",title:"Summary table",props:{variant:"summary",items:[{label:"Collection area",value:"1 240 m²"},{label:"Risk",value:"3.2",strong:!0,tone:"danger"},{label:"Tolerable",value:"1.0",tone:"tertiary"}]}},{id:"Descriptions.compact",title:"Compact with a missing value",props:{size:"sm",items:[{label:"Name",value:"Asha"},{label:"City"}]}}],usage:{when:["Display read-only labelled facts and record details on a screen.","Show a compact summary table of key metrics with right-aligned values.","Present structured fields where missing values should read as no value rather than a broken row."],whenNot:[{text:"The row is interactive or navigates to another screen.",instead:"ListItem"},{text:"Displaying a single prominent headline metric or KPI.",instead:"StatTile"}],do:[{note:"Leave missing or empty values undefined so the component renders the standard hyphen.",example:[{component:"Descriptions",props:{items:[{label:"Status",value:"Active"},{label:"Paid on"}]}}]}],dont:[{note:"Do not pass placeholder strings like N/A for missing values.",example:[{component:"Descriptions",props:{items:[{label:"Status",value:"Active"},{label:"Paid on",value:"N/A"}]}}]}],a11y:["A missing value renders a plain hyphen so a row is never blank to a screen reader.","Labels and textual values are read in natural order by screen readers."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Dialog",marker:null,platforms:["phone"],acceptsChildren:!0,props:{visible:{type:"boolean",required:!0,description:"Controls visibility."},title:{type:"string",description:"Headline."},message:{type:"string",description:"Body text."},icon:{type:"node",description:"Top icon."},variant:{type:"enum",values:["default","success","warning","danger","info"],default:"default",description:"Semantic styling."},actions:{type:"array",description:"Ordered action buttons.",itemFields:{label:{type:"string",required:!0,description:"The text drawn on the action button."},tone:{type:"enum",values:["primary","neutral","info","danger"],description:"The color scheme of the action."},loading:{type:"boolean",description:"Shows a spinner and blocks its press."},disabled:{type:"boolean",description:"Dims the action and blocks its press (a confirm waiting on a typed phrase, say)."}}},dismissOnAction:{type:"boolean",default:!0,description:"Automatically close after an action fires."},accessibilityLabel:{type:"string",description:"Overrides the alert region label."}},omit:["haptic"],examples:[{id:"Dialog.default",title:"Default",props:{visible:!0,title:"Save changes?",message:"Your edits will be saved to the cloud and synced across all devices."}},{id:"Dialog.warning",title:"Warning",props:{visible:!0,variant:"warning",title:"Discard draft?",message:"The draft will be deleted."}},{id:"Dialog.danger",title:"Danger",props:{visible:!0,variant:"danger",title:"Delete account?",message:"This cannot be undone."}},{id:"Dialog.success",title:"Success",props:{visible:!0,variant:"success",title:"Payment received",message:"A receipt is on its way."}}],usage:{when:["For a confirm, alert or destructive dialog with action buttons.","When the user must explicitly choose an action to proceed."],whenNot:[{text:"For content anchored to the bottom edge.",instead:"BottomSheet"},{text:"For a menu or a longer form.",instead:"Drawer"},{text:"For a message that needs no answer.",instead:"Toast"}],do:[{note:"Use a warning or danger variant for destructive operations.",example:[{component:"Dialog",props:{visible:!0,title:"Delete account?",message:"This cannot be undone.",variant:"danger"}}]}],dont:[{note:"Do not use the default variant for destructive operations.",example:[{component:"Dialog",props:{visible:!0,title:"Delete account?",message:"This cannot be undone."}}]}],a11y:["The dialog sets the alert role and its accessible name defaults to the title.","Dismissing the dialog delays action execution until after the native modal has dismissed.","You can override the accessible name using the accessibility label prop."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Divider",marker:null,platforms:["phone"],acceptsChildren:!1,props:{orientation:{type:"enum",required:!1,values:["horizontal","vertical"],default:"horizontal",description:"Direction of the line; a vertical line stretches to fill the height of its parent."},thickness:{type:"number",required:!1,default:1,description:"Line thickness in points."},color:{type:"string",required:!1,description:"Line color; the theme border color when left out."},spacing:{type:"enum",required:!1,values:["none","sm","md","lg"],default:"none",description:"Margin around the line, vertical for a horizontal line and horizontal for a vertical one."},inset:{type:"number",required:!1,default:0,description:"Extra offset from the leading edge, to line up with an avatar or icon column."},label:{type:"string",required:!1,description:"Text drawn inline that splits the line in two; ignored on a vertical line."},labelPosition:{type:"enum",required:!1,values:["start","center","end"],default:"center",description:"Where the label sits along the line."}},omit:[],examples:[{id:"Divider.plain",title:"Plain line",props:{}},{id:"Divider.labelled",title:"Labelled break",props:{label:"OR"}},{id:"Divider.labelStart",title:"Label at the start",props:{label:"OR",labelPosition:"start"}},{id:"Divider.thick",title:"Thick line",props:{thickness:4}}],usage:{when:["Separate groups of rows in a list or form.","Show an OR break between two paths with a short label."],whenNot:[{text:"Spacing alone separates the content.",instead:"Use gap or margin, not a line."},{text:"A section needs a heading.",instead:"SectionHeader"}],do:[{note:"Keep a label to a word or two.",example:[{component:"Divider",props:{label:"OR"}}]}],dont:[{note:"Do not put a sentence in the label; it is cut to one line.",example:[{component:"Divider",props:{label:"Or continue with your email address instead"}}]}],a11y:["The line is decorative and hidden from screen readers, so never rely on it alone to show a grouping.","A label is read as plain text, so keep it meaningful."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";const drawerChildren=[{component:"ListItem",props:{title:"Profile",chevron:!0}},{component:"ListItem",props:{title:"Settings",chevron:!0}}];export const meta=definePhoneMeta()({name:"Drawer",marker:null,platforms:["phone"],acceptsChildren:!0,props:{visible:{type:"boolean",required:!1,description:"Controlled visibility; leave it out to let the drawer manage its own state."},defaultVisible:{type:"boolean",required:!1,default:!1,description:"Initial visibility when the drawer manages its own state."},side:{type:"enum",required:!1,values:["left","right","top","bottom"],default:"left",description:"Edge the drawer slides in from."},width:{type:"stringOrNumber",required:!1,description:"Size along the slide axis, in points or as a percent string; 280 for left and right and 40% of the window height for top and bottom when left out."},enableSwipe:{type:"boolean",required:!1,default:!0,description:"Allows dragging the drawer toward its edge to dismiss it."},enableBackdropPress:{type:"boolean",required:!1,default:!0,description:"Allows a tap on the dimmed backdrop to dismiss the drawer."},backdropOpacity:{type:"number",required:!1,default:.5,description:"Backdrop opacity from 0 to 1 when the drawer is fully open."},accessibilityLabel:{type:"string",required:!1,description:"Name announced for the drawer panel; Drawer when left out."}},omit:["haptic"],examples:[{id:"Drawer.left",title:"Left drawer",props:{defaultVisible:!0,side:"left",width:280},children:drawerChildren},{id:"Drawer.right",title:"Right drawer, 320 wide",props:{defaultVisible:!0,side:"right",width:320},children:drawerChildren},{id:"Drawer.top",title:"Top drawer, 40 percent",props:{defaultVisible:!0,side:"top",width:"40%"},children:drawerChildren},{id:"Drawer.bottom",title:"Bottom drawer, 60 percent",props:{defaultVisible:!0,side:"bottom",width:"60%"},children:drawerChildren}],usage:{when:["A navigation menu or contextual actions that slide over the screen from an edge.","A settings or filter panel that keeps the page visible behind a dimmed backdrop."],whenNot:[{text:"The surface is partial height and driven by its content.",instead:"BottomSheet"},{text:"A short confirmation or choice.",instead:"Dialog"}],do:[{note:"Give the drawer a close button at the foot.",example:[{component:"ListItem",props:{title:"Profile",chevron:!0}},{component:"Button",props:{title:"Close drawer",variant:"outline"}}]}],dont:[{note:"Do not leave a drawer with no visible way to close it when swipe and backdrop dismissal are off.",example:[{component:"ListItem",props:{title:"Profile",chevron:!0}}]}],a11y:["The panel is announced with its accessibilityLabel, Drawer when left out, and the backdrop is a Close drawer button.","The rest of the screen is hidden from screen readers while the drawer is open."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"EmptyState",marker:null,platforms:["phone"],acceptsChildren:!1,props:{icon:{type:"node",description:"Illustration or icon drawn in a circle above the title."},title:{type:"string",required:!0,description:"Headline message."},description:{type:"string",description:"Supporting copy under the title."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"Icon size, type scale and vertical padding."},fill:{type:"boolean",default:!1,description:"Grows to fill the space it is given and centres its content; pass it as the empty component of a list."},action:{type:"object",description:"The main button under the message, filled in the primary colour.",fields:{label:{type:"string",required:!0,description:"The button's text."},accessibilityLabel:{type:"string",description:"The spoken label, when it differs from the text."},accessibilityHint:{type:"string",description:"What pressing the button does, spoken after the label."}}},secondaryAction:{type:"object",description:"A second, quieter button beside the main one.",fields:{label:{type:"string",required:!0,description:"The button's text."},accessibilityLabel:{type:"string",description:"The spoken label, when it differs from the text."},accessibilityHint:{type:"string",description:"What pressing the button does, spoken after the label."}}}},omit:[],examples:[{id:"EmptyState.medium",title:"Medium",props:{title:"No messages yet",description:"Start a conversation with anyone in your contacts.",size:"md"}},{id:"EmptyState.small",title:"Small",props:{title:"No messages yet",description:"Start a conversation with anyone in your contacts.",size:"sm"}},{id:"EmptyState.large",title:"Large",props:{title:"No messages yet",description:"Start a conversation with anyone in your contacts.",size:"lg"}},{id:"EmptyState.titleOnly",title:"Title only",props:{title:"Nothing here"}}],usage:{when:["A list, search or screen has no data yet and needs a clear next step.","A load failed and the screen shows a message with a retry action."],whenNot:[{text:"Data is still loading.",instead:"Skeleton"},{text:"A short passing message about an action.",instead:"Toast"}],do:[{note:"Say what is missing and what to do about it.",example:[{component:"EmptyState",props:{title:"No orders yet",description:"When you place an order it will show up here."}}]}],dont:[{note:"Do not leave a bare title with no explanation.",example:[{component:"EmptyState",props:{title:"Empty"}}]}],a11y:["Announced as a summary region, so write the title and description as plain sentences.","Put the meaning in the title and description, not in the icon."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"FilePicker",marker:null,platforms:["phone"],acceptsChildren:!1,props:{maxFiles:{type:"number",required:!1,description:"Most files that can be attached."},maxSizeMB:{type:"number",required:!1,description:"Largest size of one file in megabytes; bigger picks are rejected with an error."},accept:{type:"array",required:!1,description:"Accepted mime types, such as image/* or application/pdf; every type is accepted when left out."},variant:{type:"enum",required:!1,values:["card","list"],default:"card",description:"card shows a dashed upload tile and a strip of thumbnails; list shows one row per file."},disabled:{type:"boolean",required:!1,default:!1,description:"Blocks picking and removing files and dims the trigger."},helperText:{type:"string",required:!1,description:"Hint under the trigger, such as the file limits."},error:{type:"node",required:!1,description:"External error shown under the field; it wins over validation errors."},accessibilityLabel:{type:"string",required:!1,description:"Overrides the generated Attachments label."}},omit:["files","defaultFiles","sources","labels","haptic"],examples:[{id:"FilePicker.card",title:"Card with limits",props:{variant:"card",maxFiles:4,maxSizeMB:100,accept:["image/*","application/pdf"],helperText:"Up to 4 files, max 100MB each."}},{id:"FilePicker.list",title:"List with limits",props:{variant:"list",maxFiles:4,maxSizeMB:100,accept:["image/*","application/pdf"],helperText:"Up to 4 files, max 100MB each."}},{id:"FilePicker.disabled",title:"Disabled",props:{disabled:!0,helperText:"Up to 4 files, max 100MB each."}},{id:"FilePicker.error",title:"With an error",props:{error:"Add at least one file."}}],usage:{when:["A form needs photos or documents attached, with limits on count, size and type.","An edit screen shows files already uploaded beside new picks."],whenNot:[{text:"The file only needs to be viewed.",instead:"FileViewer"},{text:"The person picks one value from a short list.",instead:"Select"}],do:[{note:"Show the limits in the helper text so a rejection is no surprise.",example:[{component:"FilePicker",props:{maxFiles:4,helperText:"Up to 4 files, max 100MB each."}}]}],dont:[{note:"Do not set limits without telling the person.",example:[{component:"FilePicker",props:{maxFiles:4}}]}],a11y:["The picker is announced as a button named Attachments with the file count; set accessibilityLabel to name the field.","Remove and retry controls carry their own labels."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"FileViewer",marker:null,platforms:["phone"],acceptsChildren:!1,props:{zoomEnabled:{type:"boolean",required:!1,default:!0,description:"Allows pinch, double tap zoom and panning while zoomed; off also resets any zoom."},maxZoom:{type:"number",required:!1,default:4,description:"Upper bound on pinch zoom, as a multiple of the page fitting the width."},accessibilityLabel:{type:"string",required:!1,description:"Spoken name for the viewer."}},omit:["source"],examples:[{id:"FileViewer.default",title:"Sample document",props:{accessibilityLabel:"Sample PDF document"}},{id:"FileViewer.noZoom",title:"Zoom off",props:{zoomEnabled:!1,accessibilityLabel:"Sample PDF document"}},{id:"FileViewer.maxZoom",title:"Zoom capped at 2",props:{maxZoom:2,accessibilityLabel:"Sample PDF document"}}],usage:{when:["Showing a PDF inside the app, from a link or a saved file."],whenNot:[{text:"The document is not a PDF.",instead:"Open it with the system viewer."},{text:"The file is a picture or a set of pictures.",instead:"ImageGallery"}],do:[{note:"Leave zoom on so small print stays readable.",example:[{component:"FileViewer",props:{}}]}],dont:[{note:"Do not turn zoom off for a dense document.",example:[{component:"FileViewer",props:{zoomEnabled:!1}}]}],a11y:["Give the viewer an accessibilityLabel that names the document; without one it is not announced as a labelled element."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"FilterChipRow",marker:null,platforms:["phone"],acceptsChildren:!1,props:{items:{type:"array",required:!0,description:"The chips to show in the row.",itemFields:{key:{type:"string",required:!0,description:"Stable id of the chip."},label:{type:"string",required:!0,description:"The text on the chip."},count:{type:"stringOrNumber",description:"Shown after the label."},disabled:{type:"boolean",description:"Disables this chip only."}}},value:{type:"string",required:!0,description:"Key of the selected item."},bleed:{type:"number",default:0,description:"The page gutter in points."},size:{type:"enum",values:["sm","md"],description:"Size scale."},variant:{type:"enum",values:["filled","outlined","soft"],description:"Visual style."},tone:{type:"enum",values:["primary","neutral","success","warning","danger","info"],description:"Semantic color."},accessibilityLabel:{type:"string",description:'Names the radiogroup for screen readers, e.g. "Filter by status".'}},omit:["haptic"],examples:[{id:"FilterChipRow.default",title:"Default",props:{items:[{key:"all",label:"All"},{key:"open",label:"Open",count:4},{key:"closed",label:"Closed"}],value:"open"}},{id:"FilterChipRow.bleed",title:"Edge to edge",props:{bleed:16,items:[{key:"today",label:"Today"},{key:"week",label:"This week"},{key:"month",label:"This month"},{key:"year",label:"This year"}],value:"today"}},{id:"FilterChipRow.styled",title:"Styled chips",props:{variant:"soft",tone:"primary",size:"sm",items:[{key:"design",label:"Design"},{key:"engineering",label:"Engineering"},{key:"marketing",label:"Marketing"}],value:"engineering"}}],usage:{when:["A scrolling horizontal row of single-choice filter chips above a list."],whenNot:[{text:"To switch between entirely different views or tabs of a screen.",instead:"Tabs"}],do:[{note:"Provide a unique key for each item and pass the currently selected key to value.",example:[{component:"FilterChipRow",props:{items:[{key:"active",label:"Active"},{key:"inactive",label:"Inactive"}],value:"active"}}]},{note:"Use the count field on an item to show the number of results for that filter.",example:[{component:"FilterChipRow",props:{items:[{key:"draft",label:"Drafts",count:2},{key:"published",label:"Published",count:15}],value:"draft"}}]}],dont:[{note:"Do not leave value empty; one item should always be selected by default.",example:[{component:"FilterChipRow",props:{items:[{key:"active",label:"Active"},{key:"inactive",label:"Inactive"}],value:""}}]},{note:"Do not put the count in the label string; use the count field so it is styled correctly.",example:[{component:"FilterChipRow",props:{items:[{key:"draft",label:"Drafts (2)"},{key:"published",label:"Published (15)"}],value:"draft"}}]}],a11y:["Announces as a radiogroup of radios.","Use accessibilityLabel to name the group for screen readers."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"FloatingActionButton",marker:null,platforms:["phone"],acceptsChildren:!1,props:{icon:{type:"icon",required:!0,description:"The icon drawn in the button, sized by the button's size."},label:{type:"string",description:"Text beside the icon; makes the button extended, a pill."},collapsed:{type:"boolean",default:!1,description:"Folds an extended button to its round icon, with the label fading out, and has no effect without a label."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"The diameter of the round button."},tone:{type:"enum",values:["primary","success","warning","danger","neutral"],default:"primary",description:"The colour family of the button."},position:{type:"enum",values:["bottomRight","bottomLeft","bottomCenter"],description:"The corner or edge of the screen the button is pinned to; leave it unset to place the button yourself."},bottomOffset:{type:"number",description:"The gap above the bottom edge, in points, before the safe area inset is added."},disabled:{type:"boolean",default:!1,description:"Blocks presses and dims the button."},hideOnScroll:{type:"boolean",default:!1,description:"Slides the button off the bottom edge while isScrolling is true."},isScrolling:{type:"boolean",default:!1,description:"Whether the list behind the button is scrolling right now; wire it to your scroll handler."},accessibilityLabel:{type:"string",required:!0,description:"The name a screen reader reads for the button."},accessibilityHint:{type:"string",description:"What happens when the button is pressed, read after its name by a screen reader."}},omit:["haptic"],examples:[{id:"FloatingActionButton.extended",title:"Extended",props:{icon:"add",label:"New invoice",accessibilityLabel:"New invoice",tone:"primary"}},{id:"FloatingActionButton.neutralLarge",title:"Neutral and large",props:{icon:"filter",label:"Filter",accessibilityLabel:"Filter the list",tone:"neutral",size:"lg"}},{id:"FloatingActionButton.collapsed",title:"Collapsed",props:{icon:"add",label:"New invoice",accessibilityLabel:"New invoice",collapsed:!0}}],usage:{when:["A screen has one main action that a person repeats often, such as adding an item.","The action has to stay reachable while the list behind it scrolls."],whenNot:[{text:"The action is a confirmation or a submit inside a form or dialog.",instead:"Button"}],do:[{note:"Use one button per screen for its main action, with a label that says what happens.",example:[{component:"FloatingActionButton",props:{label:"New invoice",accessibilityLabel:"New invoice"}}]},{note:"Fold an extended button with collapsed while the list scrolls, so it covers fewer rows.",example:[{component:"FloatingActionButton",props:{label:"New invoice",accessibilityLabel:"New invoice",collapsed:!0}}]}],dont:[{note:"Do not put two buttons on one screen; the second competes with the first for attention.",example:[{component:"FloatingActionButton",props:{label:"New invoice",accessibilityLabel:"New invoice"}},{component:"FloatingActionButton",props:{label:"Import",accessibilityLabel:"Import invoices"}}]},{note:"Do not set collapsed on a button with no label, because there is nothing to fold.",example:[{component:"FloatingActionButton",props:{accessibilityLabel:"New invoice",collapsed:!0}}]}],a11y:["The accessibility label names the button for a screen reader; set it to the action, not to the icon.","A collapsed button keeps its label as the accessible name, so a screen reader still hears what it does."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"FloatingActionButtonGroup",marker:null,platforms:["phone"],acceptsChildren:!1,props:{open:{type:"boolean",description:"Whether the actions are expanded. Set it to control the group; leave it unset to let the group track its own state."},defaultOpen:{type:"boolean",default:!1,description:"Whether the group starts expanded when it is not controlled by open."},position:{type:"enum",values:["bottomRight","bottomLeft","bottomCenter"],default:"bottomRight",description:"The corner or edge of the screen the group is pinned to."},bottomOffset:{type:"number",description:"The gap above the bottom edge, in points, before the safe area inset is added."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"The diameter of the primary button and of the action buttons."},accessibilityLabel:{type:"string",default:"Quick actions",description:"The name a screen reader reads for the primary button."},hideOnScroll:{type:"boolean",default:!1,description:"Slides the whole group off the bottom edge while isScrolling is true, and closes it first."},isScrolling:{type:"boolean",default:!1,description:"Whether the list behind the group is scrolling right now; wire it to your scroll handler."}},omit:["primaryIcon","primaryActiveIcon","actions","haptic"],examples:[{id:"FloatingActionButtonGroup.basic",title:"Basic",props:{accessibilityLabel:"Create"}},{id:"FloatingActionButtonGroup.open",title:"Open",props:{accessibilityLabel:"Create",defaultOpen:!0}},{id:"FloatingActionButtonGroup.placed",title:"Bottom left, large",props:{accessibilityLabel:"Create",position:"bottomLeft",size:"lg",bottomOffset:24}}],usage:{when:["A screen has one main task that offers two to six related actions, such as creating an item of several kinds.","The actions have to stay reachable while the list behind them scrolls."],whenNot:[{text:"The screen has one action only; a single button does the job.",instead:"FloatingActionButton"},{text:"The choices belong to a field or a row, not to the screen.",instead:"Menu"}],do:[{note:"Pin the group to a corner, where a thumb reaches it, and name it for what its actions create.",example:[{component:"FloatingActionButtonGroup",props:{accessibilityLabel:"Create",position:"bottomRight"}}]},{note:"Set hideOnScroll so the group slides away while the list behind it scrolls.",example:[{component:"FloatingActionButtonGroup",props:{accessibilityLabel:"Create",hideOnScroll:!0}}]}],dont:[{note:"Do not centre the group at the bottom of the screen, where it covers the buttons there.",example:[{component:"FloatingActionButtonGroup",props:{accessibilityLabel:"Create",position:"bottomCenter"}}]},{note:"Do not leave hideOnScroll off on a long list, because the group then covers the rows as they scroll.",example:[{component:"FloatingActionButtonGroup",props:{accessibilityLabel:"Create",hideOnScroll:!1}}]}],a11y:["The accessibility label names the group for a screen reader, so set it to what the actions create, not to an icon.","The primary button announces whether the group is expanded, and each action reads its own accessibility label."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"ForceUpdateDialog",marker:null,platforms:["phone"],acceptsChildren:!1,props:{visible:{type:"boolean",required:!0,description:"Whether the dialog is showing."},mandatory:{type:"boolean",required:!1,default:!1,description:"Hides the Later action and ignores backdrop and Back dismissal; use it for updates that must not be skipped."},updateUrl:{type:"string",required:!1,description:"Address the Update action opens; the platform store when left out."},title:{type:"string",required:!1,default:"Update available",description:"Dialog title."},message:{type:"string",required:!1,default:"A new version of the app is available. Please update to continue using the latest features and security improvements.",description:"Dialog message."},updateLabel:{type:"string",required:!1,default:"Update now",description:"Label of the main action."},laterLabel:{type:"string",required:!1,default:"Later",description:"Label of the dismiss action; hidden when mandatory."}},omit:[],examples:[{id:"ForceUpdateDialog.optional",title:"Optional update",props:{visible:!0,message:"Version 2.1.0 brings faster sync and improved offline support."}},{id:"ForceUpdateDialog.mandatory",title:"Mandatory update",props:{visible:!0,mandatory:!0,message:"Version 2.1.0 brings faster sync and improved offline support."}},{id:"ForceUpdateDialog.defaultCopy",title:"Default copy",props:{visible:!0}},{id:"ForceUpdateDialog.customLabels",title:"Custom labels",props:{visible:!0,title:"Time to update",updateLabel:"Get the update",laterLabel:"Not now"}}],usage:{when:["The installed version is too old and the person must move to the store version.","A newer version is out and the app offers it with a Later choice."],whenNot:[{text:"A passing notice about something new.",instead:"Banner"},{text:"Any other confirmation.",instead:"Dialog"}],do:[{note:"Mark the update mandatory only when the old version cannot keep working.",example:[{component:"ForceUpdateDialog",props:{visible:!0,mandatory:!0}}]}],dont:[{note:"Do not make an ordinary update mandatory; the person cannot dismiss it.",example:[{component:"ForceUpdateDialog",props:{visible:!0,mandatory:!0,message:"A small colour tweak is available."}}]}],a11y:["Shown as a modal dialog: focus stays inside until it is dismissed, and a mandatory one cannot be dismissed.","Keep the message short and say why the update is needed."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"FormField",marker:null,platforms:["phone"],acceptsChildren:!0,props:{label:{type:"node",required:!1,description:"Field label above the input, or left of it in the inline layout; a node label needs accessibilityLabel."},help:{type:"node",required:!1,description:"Drawn right after the label, such as an info button; not part of the label's spoken text."},helperText:{type:"node",required:!1,description:"Hint under the input; hidden while an error shows."},error:{type:"node",required:!1,description:"Error message in the error color; it hides the helper text and marks the field invalid."},required:{type:"boolean",required:!1,default:!1,description:"Adds the required marker after the label."},name:{type:"string",required:!1,description:"Connects the field to the surrounding form by name."},layout:{type:"enum",required:!1,values:["stacked","inline"],default:"stacked",description:"stacked puts the label above the input; inline puts it on the left."},helperLines:{type:"number",required:!1,description:"Lines the helper text and error may take before an ellipsis; no limit when left out or 0."},accessibilityLabel:{type:"string",required:!1,description:"Overrides the spoken label built from the label and the error."}},omit:[],examples:[{id:"FormField.stacked",title:"Stacked with helper",props:{label:"Email",required:!0,helperText:"We'll never share this."},children:[{component:"Input",props:{placeholder:"you@example.com"}}]},{id:"FormField.inline",title:"Inline label",props:{label:"Email",layout:"inline",helperText:"We'll never share this."},children:[{component:"Input",props:{placeholder:"you@example.com"}}]},{id:"FormField.error",title:"With an error",props:{label:"Email",required:!0,helperText:"We'll never share this.",error:"Enter a valid email address."},children:[{component:"Input",props:{placeholder:"you@example.com"}}]},{id:"FormField.optional",title:"Optional field",props:{label:"Nickname"},children:[{component:"Input",props:{placeholder:"What should we call you?"}}]}],usage:{when:["Wrap one input with a label, a helper or an error so every field in a form is laid out the same way.","Any input type: Input, Select, Switch or a date picker."],whenNot:[{text:"The control already draws its own label and error.",instead:"Use the control on its own."},{text:"The form is wired with react-hook-form.",instead:"HookFormField"}],do:[{note:"Say what to fix in the error, and keep the hint for what to enter.",example:[{component:"FormField",props:{label:"Email",error:"Enter a valid email address."},children:[{component:"Input",props:{placeholder:"you@example.com"}}]}]}],dont:[{note:"Do not repeat the label as the placeholder.",example:[{component:"FormField",props:{label:"Email"},children:[{component:"Input",props:{placeholder:"Email"}}]}]}],a11y:["The field is announced as the label plus the error when one shows; a node label needs accessibilityLabel.","The error is read out when it appears, through a live region."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"IconBadge",marker:null,platforms:["phone"],acceptsChildren:!1,props:{icon:{type:"icon",required:!0,description:"The icon to draw inside the badge."},iconVariant:{type:"enum",values:["linear","bold","broken","bulk","outline","twotone"],default:"linear",description:"The Iconsax style for the icon when given as a name."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"The size of the badge circle and its icon."},tone:{type:"enum",values:["primary","secondary","success","warning","danger","info","neutral"],default:"primary",description:"The colour of the tinted background and the icon."},accessibilityLabel:{type:"string",description:"Announces the badge as an image to screen readers; without it the badge is decorative."}},omit:[],examples:[{id:"IconBadge.primary",title:"Primary",props:{icon:"user"}},{id:"IconBadge.danger",title:"Danger",props:{icon:"alert-circle",tone:"danger",size:"lg",accessibilityLabel:"Error"}},{id:"IconBadge.neutral",title:"Neutral",props:{icon:"user",tone:"neutral",iconVariant:"bold"}}],usage:{when:["Draw an icon on a circular surface tinted with the same colour."],whenNot:[{text:"Providing a tappable icon action.",instead:"Use IconButton."}],do:[{note:"Give a standalone badge an accessibility label when it carries meaning.",example:[{component:"IconBadge",props:{icon:"user",accessibilityLabel:"User profile"}}]},{note:"Use the danger tone to highlight an error or a critical warning.",example:[{component:"IconBadge",props:{icon:"alert-circle",tone:"danger",accessibilityLabel:"Error"}}]}],dont:[{note:"Do not leave a meaningful badge silent for screen readers.",example:[{component:"IconBadge",props:{icon:"user"}}]},{note:"Do not use the danger tone for a standard status or an informational icon.",example:[{component:"IconBadge",props:{icon:"user",tone:"danger",accessibilityLabel:"User profile"}}]}],a11y:["A decorative badge is hidden from screen readers; set accessibilityLabel when it carries meaning.","Colour is never the only signal; pair a coloured badge with text."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"IconButton",marker:null,platforms:["phone"],acceptsChildren:!1,props:{accessibilityLabel:{type:"string",required:!0,description:"The accessible name of the button, required for an icon-only control."},icon:{type:"icon",required:!0,description:"The icon the button draws, given by name or as an element."},iconVariant:{type:"enum",values:["linear","bold","broken","bulk","outline","twotone"],default:"linear",description:"The Iconsax style for the icon when it is given by name."},tone:{type:"enum",values:["primary","secondary","success","warning","danger","neutral"],default:"primary",description:"The colour family of the button."},variant:{type:"enum",values:["solid","soft","outline","ghost","glass"],default:"solid",description:"The visual weight of the button, from a solid fill to no fill."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"The diameter of the button and the size of its icon."},shape:{type:"enum",values:["circle","rounded"],default:"circle",description:"The outline of the button."},active:{type:"boolean",default:!1,description:"Draws the button filled regardless of the variant, as for an active nav tile."},disabled:{type:"boolean",default:!1,description:"Blocks presses and dims the button."},loading:{type:"boolean",default:!1,description:"Replaces the icon with a spinner and disables the button."}},omit:["haptic"],examples:[{id:"IconButton.default",title:"Default",props:{icon:"search",accessibilityLabel:"Search",variant:"solid",tone:"primary"}},{id:"IconButton.outline",title:"Outline",props:{icon:"more",accessibilityLabel:"More options",variant:"outline",tone:"neutral"}},{id:"IconButton.active",title:"Active",props:{icon:"home",accessibilityLabel:"Home",active:!0,tone:"primary"}}],usage:{when:["A single icon action that needs a clear touch target, such as a back or close control.","A navigation tile that is selected and should render filled."],whenNot:[{text:"A button with a text label.",instead:"Button"},{text:"A decorative icon with no action.",instead:"AppIcon"},{text:"A floating action button over the main content.",instead:"FloatingActionButton"}],do:[{note:"Always set an accessibility label so screen readers can announce the action.",example:[{component:"IconButton",props:{accessibilityLabel:"Close dialog"}}]},{note:"Use the outline variant for a quiet action beside stronger controls.",example:[{component:"IconButton",props:{accessibilityLabel:"Copy",variant:"outline",tone:"neutral"}}]}],dont:[{note:"Do not omit the accessibility label; an icon-only button is invisible to screen readers without it.",example:[{component:"IconButton",props:{variant:"solid"}}]},{note:"Do not use the danger tone for a standard destructive action without confirmation.",example:[{component:"IconButton",props:{accessibilityLabel:"Delete",tone:"danger"}}]}],a11y:["The accessibility label is the spoken name; without it the button has no accessible name.","The button announces itself as disabled when disabled or loading, with a disabled state.","The active state is exposed as selected for screen readers."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"ImageGallery",marker:null,platforms:["phone"],acceptsChildren:!1,props:{images:{type:"array",required:!0,description:"The photos in order. Each entry holds a source, and may hold a caption and alt text."},initialIndex:{type:"number",default:0,description:"The photo shown first, counted from 0."},showThumbnails:{type:"boolean",default:!0,description:"Draws a strip of small thumbnails under the photo."},showCounter:{type:"boolean",default:!0,description:"Draws a counter such as 2 / 5 over the photo."},enableLightbox:{type:"boolean",default:!0,description:"Opens a full screen view when the person taps a photo."},enablePinchZoom:{type:"boolean",default:!0,description:"Lets the person pinch and double tap to zoom into a photo in the full screen view."},loading:{type:"boolean",default:!1,description:"Draws the placeholder shape instead of the photos while data loads."},accessibilityLabel:{type:"string",description:"Names the gallery for a screen reader."}},omit:["haptic"],examples:[{id:"ImageGallery.withThumbnails",title:"With thumbnails",props:{images:[{source:{uri:"https://picsum.photos/seed/sunset/800/600"},caption:"Sunset"},{source:{uri:"https://picsum.photos/seed/mountain/800/600"},caption:"Mountain"},{source:{uri:"https://picsum.photos/seed/coast/800/600"},caption:"Coast"}],showThumbnails:!0,showCounter:!0}},{id:"ImageGallery.startsLater",title:"Starts on a later photo",props:{images:[{source:{uri:"https://picsum.photos/seed/forest/800/600"},alt:"Forest path in autumn"},{source:{uri:"https://picsum.photos/seed/river/800/600"},alt:"River at dawn"}],initialIndex:1,showThumbnails:!1}},{id:"ImageGallery.noLightbox",title:"Photos without full screen view",props:{images:[{source:{uri:"https://picsum.photos/seed/harbor/800/600"},caption:"Harbor"},{source:{uri:"https://picsum.photos/seed/meadow/800/600"},caption:"Meadow"}],enableLightbox:!1,showCounter:!1}}],usage:{when:["A short set of photos belongs together and the person looks through them in one place.","The person may need to zoom into a photo to see its detail."],whenNot:[{text:"The items are slides of a banner or promotion that rotate on their own.",instead:"Carousel"}],do:[{note:"Give each photo a caption so the person knows what it shows.",example:[{component:"ImageGallery",props:{images:[{source:{uri:"https://picsum.photos/seed/sunset/800/600"},caption:"Sunset"},{source:{uri:"https://picsum.photos/seed/coast/800/600"},caption:"Coast"}]}}]},{note:"Keep the full screen view on so the person can open each photo at full size.",example:[{component:"ImageGallery",props:{images:[{source:{uri:"https://picsum.photos/seed/harbor/800/600"},caption:"Harbor"},{source:{uri:"https://picsum.photos/seed/meadow/800/600"},caption:"Meadow"}],enableLightbox:!0}}]}],dont:[{note:"Do not leave out captions. Photos with no caption give the person no context.",example:[{component:"ImageGallery",props:{images:[{source:{uri:"https://picsum.photos/seed/sunset/800/600"}},{source:{uri:"https://picsum.photos/seed/coast/800/600"}}]}}]},{note:"Do not turn off the full screen view for photos the person must inspect. They cannot open them at full size.",example:[{component:"ImageGallery",props:{images:[{source:{uri:"https://picsum.photos/seed/harbor/800/600"},caption:"Harbor"},{source:{uri:"https://picsum.photos/seed/meadow/800/600"},caption:"Meadow"}],enableLightbox:!1}}]}],a11y:["Set accessibilityLabel to name the gallery for a screen reader.","Each photo is announced by its alt text, or by its position in the set when it has no alt text."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"InlineSelect",marker:null,platforms:["phone"],acceptsChildren:!1,props:{options:{type:"array",required:!0,description:"The options to pick from, each with a label, a value and an optional icon, description or disabled flag.",itemFields:{label:{type:"string",required:!0,description:"The text shown for the option."},value:{type:"stringOrNumber",required:!0,description:"The value the option stands for."},description:{type:"string",description:"A supporting description line under the label."},icon:{type:"icon",description:"An icon drawn beside the option."},disabled:{type:"boolean",description:"Blocks selection of this option."}}},value:{type:"stringOrNumber",description:"The selected option value."},placeholder:{type:"string",default:"Select",description:"Trigger text shown when nothing is selected."},label:{type:"string",description:"A label drawn above the trigger like a field label."},title:{type:"string",description:"Heading shown at the top of the options bottom sheet."},searchable:{type:"boolean",default:!1,description:"Shows a search box above the option list in the sheet."},disabled:{type:"boolean",default:!1,description:"Blocks opening the sheet and dims the trigger."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"Density of the trigger text and chevron, matching the host field."},color:{type:"string",description:"Color for the trigger text and chevron, falling back to the primary brand color."},chevronColor:{type:"string",description:"Color override for the chevron glyph."},chevronSize:{type:"number",description:"Chevron size in pixels, falling back to the icon size of the chosen field size."},accessibilityLabel:{type:"string",description:"The spoken name of the trigger for screen readers."}},omit:["haptic"],examples:[{id:"InlineSelect.currencyPrefix",title:"Currency prefix",props:{options:[{label:"INR",value:"inr"},{label:"USD",value:"usd"},{label:"EUR",value:"eur"}],value:"inr",size:"md"}},{id:"InlineSelect.sheetHeading",title:"With sheet heading and search",props:{options:[{label:"Bengaluru",value:"blr",description:"Karnataka"},{label:"Chennai",value:"maa",description:"Tamil Nadu"},{label:"Delhi",value:"del",description:"National Capital Territory"},{label:"Mumbai",value:"bom",description:"Maharashtra"}],value:"blr",title:"Select city",searchable:!0}},{id:"InlineSelect.withLabel",title:"With label and placeholder",props:{options:[{label:"Kilograms",value:"kg"},{label:"Pounds",value:"lbs"},{label:"Grams",value:"g"}],label:"Unit",placeholder:"Pick unit"}}],usage:{when:["A compact dropdown trigger inside a field prefix or suffix slot.","A borderless picker trigger in a toolbar or list header."],whenNot:[{text:"The choice needs a full standalone field with its own border or multi selection.",instead:"Select"}],do:[{note:"Provide a title so the sheet heading and spoken name describe the choice.",example:[{component:"InlineSelect",props:{options:[{label:"INR",value:"INR"},{label:"USD",value:"USD"}],value:"INR",title:"Currency"}}]},{note:"Turn on search when the list of options is long.",example:[{component:"InlineSelect",props:{options:[{label:"Bengaluru",value:"blr"},{label:"Chennai",value:"maa"},{label:"Delhi",value:"del"}],title:"City",searchable:!0}}]}],dont:[{note:"Do not leave the trigger with no title or label to describe the choice.",example:[{component:"InlineSelect",props:{options:[{label:"INR",value:"INR"},{label:"USD",value:"USD"}],value:"INR"}}]},{note:"Do not leave search off when the list of options is long.",example:[{component:"InlineSelect",props:{options:[{label:"Bengaluru",value:"blr"},{label:"Chennai",value:"maa"},{label:"Delhi",value:"del"}],title:"City",searchable:!1}}]}],a11y:["The trigger announces as a button with its label, selected value and expanded state.","Set title, label or accessibilityLabel so the trigger has a descriptive name for screen readers."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Input",marker:null,platforms:["phone"],acceptsChildren:!1,props:{keyboardType:{type:"enum",values:["default","email-address","numeric","phone-pad","number-pad","decimal-pad","numbers-and-punctuation","url","visible-password"],description:"The keyboard layout shown while the field is focused."},label:{type:"node",description:"The field label. A node label needs an explicit accessibilityLabel."},help:{type:"node",description:"An info control drawn beside the static label. It is not part of the label's accessibility text."},placeholder:{type:"string",description:"Hint text shown while the field is empty."},value:{type:"string",description:"The controlled text value."},error:{type:"node",description:"An error message that puts the field in the error state and replaces the helper text."},helperText:{type:"node",description:"Help text shown under the field."},type:{type:"enum",values:["input","password","textarea"],default:"input",description:"The kind of field: single-line text, a masked password with an eye toggle, or a multi-line textarea."},showPasswordToggle:{type:"boolean",default:!1,description:"Adds the show and hide eye toggle to a masked field."},secureTextEntry:{type:"boolean",default:!1,description:"Masks the value without the eye toggle. The password type is the usual way to mask a field."},disabled:{type:"boolean",default:!1,description:"Blocks editing and dims the field."},multiline:{type:"boolean",default:!1,description:"Lets the value span several lines, the same as the textarea type."},unit:{type:"string",description:"Fixed text drawn after the value, such as km or %."},prefix:{type:"node",description:"Fixed text drawn before the value, such as a currency symbol or a country code."},readOnly:{type:"boolean",default:!1,description:"Shows the value in normal ink and lets it be selected and copied, but not edited."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"The field height and text size."},variant:{type:"enum",values:["outlined","filled","underline"],default:"outlined",description:"The look of the field box."},labelMode:{type:"enum",values:["float","top"],default:"top",description:"Where the label sits: permanently above the field, or floating inside it until focus."},required:{type:"boolean",default:!1,description:"Marks the field as required."},maxLength:{type:"number",description:"The most characters the field accepts."},showCounter:{type:"boolean",default:!0,description:"Shows the character count under the field when maxLength is set."},borderRadius:{type:"number",description:"The corner radius of the field box, overriding the size's radius."},accessibilityLabel:{type:"string",description:"The screen reader name of the field. Without it the label text is used."},autoCapitalize:{type:"enum",values:["none","sentences","words","characters"],description:"Which letters the keyboard capitalises automatically."},editable:{type:"boolean",description:"Whether the field accepts editing."},returnKeyType:{type:"enum",values:["done","go","next","search","send","none","previous","default","google","join","route","yahoo","emergency-call"],description:"The label of the return key on the keyboard."}},omit:["accessibilityActions","accessibilityElementsHidden","accessibilityHint","accessibilityIgnoresInvertColors","accessibilityLabelledBy","accessibilityLanguage","accessibilityLargeContentTitle","accessibilityLiveRegion","accessibilityRespondsToUserInteraction","accessibilityRole","accessibilityShowsLargeContentViewer","accessibilityState","accessibilityValue","accessibilityViewIsModal","accessible","action","allowFontScaling","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","autoComplete","autoCorrect","autoFocus","blurOnSubmit","caretHidden","clearButtonMode","clearTextOnFocus","collapsable","collapsableChildren","contextMenuHidden","cursorColor","dataDetectorTypes","defaultValue","disableFullscreenUI","disableKeyboardShortcuts","enablesReturnKeyAutomatically","enterKeyHint","focusable","hasTVPreferredFocus","hitSlop","id","importantForAccessibility","importantForAutofill","inlineImageLeft","inlineImagePadding","inputAccessoryViewButtonLabel","inputAccessoryViewID","inputMode","isTVSelectable","keyboardAppearance","leftIcon","lineBreakModeIOS","lineBreakStrategyIOS","maxFontSizeMultiplier","nativeID","needsOffscreenAlphaCompositing","numberOfLines","passwordRules","placeholderTextColor","pointerEvents","rejectResponderTermination","removeClippedSubviews","renderToHardwareTextureAndroid","returnKeyLabel","rightIcon","role","screenReaderFocusable","scrollEnabled","selection","selectionColor","selectionHandleColor","selectionState","selectTextOnFocus","shouldRasterizeIOS","showSoftInputOnFocus","smartInsertDelete","spellCheck","submitBehavior","tabIndex","textAlign","textAlignVertical","textBreakStrategy","textContentType","tvParallaxMagnification","tvParallaxShiftDistanceX","tvParallaxShiftDistanceY","tvParallaxTiltAngle","underlineColorAndroid","verticalAlign"],examples:[{id:"Input.default",title:"Text field",props:{label:"Full name",placeholder:"Enter your name",value:"Asha Rao",size:"md",variant:"outlined",labelMode:"top"}},{id:"Input.password",title:"Password field",props:{label:"Password",type:"password"}},{id:"Input.error",title:"Error state",props:{label:"Email",keyboardType:"email-address",value:"asha@example",error:"Enter a valid email address."}}],usage:{when:["The value is free text or a secret that the person types, such as a name, an email address or a password.","The field needs a visible label, an error message or a character limit."],whenNot:[{text:"The value is a count or quantity that needs plus and minus buttons.",instead:"NumberInput"}],do:[{note:"Give the field a visible label with label, so its name stays on screen once the person starts typing.",example:[{component:"Input",props:{label:"Email",placeholder:"name@example.com",keyboardType:"email-address"}}]},{note:"Set type to password for a secret: the value is masked and autocorrect and auto-capitalisation are turned off.",example:[{component:"Input",props:{label:"Password",type:"password"}}]}],dont:[{note:"A placeholder alone disappears on the first key press, so the field loses its name.",example:[{component:"Input",props:{placeholder:"name@example.com",keyboardType:"email-address"}}]},{note:"A plain text type shows a secret in clear text.",example:[{component:"Input",props:{label:"Password",type:"input"}}]}],a11y:["The field takes its screen reader name from accessibilityLabel, or from the label text when that is a string, and reads its error or helper text with it.","A password field keeps its value masked and names its eye toggle Show password or Hide password."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"KeyboardToolbar",marker:null,platforms:["phone"],acceptsChildren:!1,props:{doneLabel:{type:"string",description:"Label for the dismiss button.",default:"Done"},showNavigation:{type:"boolean",description:"Show the prev/next chevrons.",default:!0},leading:{type:"node",description:"Custom content rendered between the nav chevrons and the Done button."}},omit:[],examples:[{id:"KeyboardToolbar.default",title:"Default",props:{doneLabel:"Done",showNavigation:!0}},{id:"KeyboardToolbar.noNavigation",title:"No navigation",props:{doneLabel:"Close",showNavigation:!1}},{id:"KeyboardToolbar.customLabel",title:"Custom label",props:{doneLabel:"Finish",showNavigation:!0}}],usage:{when:["Help users navigate between text inputs and easily dismiss the keyboard."],whenNot:[{text:"The user is navigating between full screens.",instead:"Use BottomNavigation."}],do:[{note:"Use a clear and short label to dismiss the keyboard.",example:[{component:"KeyboardToolbar",props:{doneLabel:"Finish",showNavigation:!0}}]},{note:"Hide the navigation chevrons when the screen has only one text input.",example:[{component:"KeyboardToolbar",props:{doneLabel:"Done",showNavigation:!1}}]}],dont:[{note:"Do not use a long phrase for the done label.",example:[{component:"KeyboardToolbar",props:{doneLabel:"Hide the keyboard",showNavigation:!0}}]},{note:"Do not show navigation chevrons when there are no other text inputs.",example:[{component:"KeyboardToolbar",props:{doneLabel:"Done",showNavigation:!0}}]}],a11y:["The navigation chevrons have accessibility labels describing their action."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"ListItem",marker:null,platforms:["phone"],acceptsChildren:!0,props:{title:{type:"node",required:!0,description:"The row title text, or any node drawn as is."},subtitle:{type:"node",description:"Subtitle text or any node drawn under the title."},description:{type:"string",description:"A short line of text under the subtitle."},loading:{type:"boolean",default:!1,description:"Draws the skeleton placeholder instead of the content."},titleLines:{type:"number",default:1,description:"Lines a text title may take before it is truncated; 0 for no limit."},subtitleLines:{type:"number",default:1,description:"Lines a text subtitle may take before it is truncated; 0 for no limit."},left:{type:"node",description:"A node in the leading slot; wins over icon when both are set."},icon:{type:"icon",description:"A leading icon in a tinted circle, when left is not given."},iconTone:{type:"enum",values:["primary","secondary","success","warning","danger","info","neutral"],default:"primary",description:"The colour of the icon circle."},right:{type:"node",description:"A node drawn in the trailing slot, beside or below the text."},rightPlacement:{type:"enum",values:["auto","side","below"],default:"auto",description:"Where the right slot sits relative to the text column."},selectable:{type:"boolean",default:!1,description:"Selection mode: the row becomes a checkbox and presses toggle it."},checked:{type:"boolean",default:!1,description:"The checked state, used only with selectable."},selected:{type:"boolean",default:!1,description:"Highlights the row with the selected surface colour."},disabled:{type:"boolean",default:!1,description:"Blocks presses and dims the row."},divider:{type:"boolean",default:!1,description:"A bottom hairline drawn under the row."},chevron:{type:"boolean",default:!1,description:"A trailing chevron that indicates navigation."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"The row size, which sets padding and font scale."},accessibilityLabel:{type:"string",description:"Names the row for a screen reader."},accessibilityHint:{type:"string",description:"What happens when the control is used, read after its name."}},omit:["actions","haptic","leftActions","rightActions","contextMenu"],examples:[{id:"ListItem.basic",title:"Basic row",props:{title:"Inbox",subtitle:"3 unread messages"}},{id:"ListItem.navigation",title:"Navigation row",props:{title:"Settings",icon:"setting-2",chevron:!0}},{id:"ListItem.selectable",title:"Selectable row",props:{title:"Use dark mode",subtitle:"Applies across the app",selectable:!0,checked:!1}}],usage:{when:["A single row in a list that has a title, an optional subtitle and an optional trailing indicator.","The row may be selectable, pressable or swipeable, or show a leading icon."],whenNot:[{text:"The content is a grouped card with a header, footer or image.",instead:"Card"},{text:"The content is just a plain label or divider between sections.",instead:"Text"}],do:[{note:"Keep the title short and give it a subtitle when the row needs identification.",example:[{component:"ListItem",props:{title:"Profile",subtitle:"Account settings"}}]},{note:"Use the selectable mode with a subtitle for multi-choice lists.",example:[{component:"ListItem",props:{title:"Use dark mode",subtitle:"Applies across the app",selectable:!0,checked:!1}}]}],dont:[{note:"Do not put a sentence in the title; it overflows on a narrow phone.",example:[{component:"ListItem",props:{title:"This is a very long sentence that tries to describe everything about this item at once"}}]},{note:"Do not set both left and icon; left wins and hides the icon.",example:[{component:"ListItem",props:{title:"Profile",left:{component:"Text",children:"X"},icon:"user"}}]}],a11y:["A selectable row announces its checked state through the checkbox role.","Set accessibilityLabel on a navigation row so the screen reader names its destination."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"LoaderOverlay",marker:null,platforms:["phone"],acceptsChildren:!1,props:{backdropColor:{type:"string",description:"The overlay dim colour; the themed scrim colour when left out."},showDelayMs:{type:"number",default:150,description:"Milliseconds to wait before the overlay appears, so a fast request never flashes it."},minVisibleMs:{type:"number",default:400,description:"Minimum milliseconds the overlay stays once shown, so it never flickers."}},omit:[],examples:[{id:"LoaderOverlay.default",title:"Default",props:{}},{id:"LoaderOverlay.slowRequest",title:"Slow request",props:{showDelayMs:300}},{id:"LoaderOverlay.holdLonger",title:"Hold longer",props:{minVisibleMs:800}}],usage:{when:["Block the whole screen while a request the user started is in flight, such as a save or a submit.","Stop a second tap during a short request that must finish before the user moves on."],whenNot:[{text:"A wait inside one card or section while the rest of the screen stays usable.",instead:"Spinner"}],do:[{note:"Keep the default delay so a fast request never flashes the overlay.",example:[{component:"LoaderOverlay",props:{showDelayMs:150}}]},{note:"Place it as the last child of the screen so it covers the whole page.",example:[{component:"Screen",props:{title:"Orders"},children:[{component:"LoaderOverlay",props:{}}]}]}],dont:[{note:"Do not set the delay to 0; every quick request then flashes the overlay.",example:[{component:"LoaderOverlay",props:{showDelayMs:0}}]},{note:"Do not place it inside a card; the overlay then covers only that card.",example:[{component:"Card",props:{title:"Orders"},children:[{component:"LoaderOverlay",props:{}}]}]}],a11y:["While it is visible it blocks touches and announces its message, so pass a message that says what is loading.","The Android back key does nothing while it is visible, so a save cannot be left half done."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Markdown",marker:null,platforms:["phone"],acceptsChildren:!0,props:{loading:{type:"boolean",default:!1,description:"Shows the skeleton placeholder shape instead of the text while data loads."}},omit:[],examples:[{id:"Markdown.basic",title:"Basic formatting",props:{},children:"### Release notes\n\n- Faster sync\n- Dark theme support"},{id:"Markdown.withLinks",title:"Links and code",props:{},children:"Run `npm install` or read the [setup guide](https://example.com) to start."},{id:"Markdown.loading",title:"Loading placeholder",props:{loading:!0}}],usage:{when:["Display formatted read-only text such as release notes, announcements or help guides.","Render headings, bullet lists, inline code and links authored in markdown."],whenNot:[{text:"Text that people can edit or compose.",instead:"RichTextEditor"}],do:[{note:"Use markdown syntax to format headings, lists and emphasis.",example:[{component:"Markdown",props:{},children:["### Updates\n\n- Improved sync\n- Dark mode support"]}]},{note:"Write descriptive link text that explains where the destination leads.",example:[{component:"Markdown",props:{},children:["Read the [documentation](https://example.com) for setup instructions."]}]}],dont:[{note:"Do not use HTML tags because the parser renders them as plain text.",example:[{component:"Markdown",props:{},children:["<h3>Updates</h3><ul><li>Improved sync</li><li>Dark mode support</li></ul>"]}]},{note:"Do not paste bare URLs without descriptive link text.",example:[{component:"Markdown",props:{},children:["Read the setup instructions at https://example.com directly."]}]}],a11y:["Headings and links use the appropriate accessibility roles so screen reader users can navigate by landmark.","Write descriptive link text so the purpose of each link is clear when read out of context."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Menu",marker:null,platforms:["phone"],acceptsChildren:!1,props:{items:{type:"array",required:!0,description:"A flat list, or a list of up to three groups split by dividers."},title:{type:"string",description:"A short heading over the items; also the menu's accessible name."},topActions:{type:"array",description:"Up to three icon actions in a row above the list."},placement:{type:"enum",values:["auto","bottom","top"],default:"bottom",description:"Preferred side of the trigger; flips when the other side has the room."},presentation:{type:"enum",values:["auto","popover","sheet"],default:"auto",description:"A sheet on a phone past seven items or with a description."},unavailable:{type:"enum",values:["disable","hide"],default:"disable",description:"Unavailable items stay visible, dimmed and focusable."},open:{type:"boolean",description:"Controlled open state."},accessibilityLabel:{type:"string",description:"Accessible name of the menu when there is no title."},closeLabel:{type:"string",default:"Close menu",description:"Accessible name of the tap-outside area."},backLabel:{type:"string",default:"Back",description:"Accessible name of a submenu's Back row."}},omit:["trigger","haptic"],examples:[{id:"Menu.default",title:"Plain list",props:{open:!0,items:[{key:"copy",label:"Copy"},{key:"paste",label:"Paste"}]}},{id:"Menu.grouped",title:"Grouped list",props:{open:!0,items:[[{key:"reply",label:"Reply"}],[{key:"delete",label:"Delete",destructive:!0}]]}},{id:"Menu.sheet",title:"As a sheet",props:{open:!0,title:"File actions",presentation:"sheet",items:[{key:"rename",label:"Rename"},{key:"move",label:"Move"}]}}],usage:{when:["The person selects an action from a list anchored to a button.","The choices are actions to take, not a single value to select."],whenNot:[{text:"The person is selecting a value for a form field.",instead:"Select"}],do:[{note:"Keep the menu list short and group related actions.",example:[{component:"Menu",props:{open:!0,items:[[{key:"copy",label:"Copy"},{key:"share",label:"Share"}],[{key:"rename",label:"Rename"},{key:"move",label:"Move"}],[{key:"delete",label:"Delete",destructive:!0}]]}}]},{note:"Use a title when the trigger does not clearly describe the menu's purpose.",example:[{component:"Menu",props:{open:!0,title:"File actions",items:[{key:"rename",label:"Rename"},{key:"move",label:"Move"}]}}]}],dont:[{note:"A menu with a long flat list of items makes the person search visually for their choice.",example:[{component:"Menu",props:{open:!0,items:[{key:"copy",label:"Copy"},{key:"share",label:"Share"},{key:"rename",label:"Rename"},{key:"move",label:"Move"},{key:"delete",label:"Delete",destructive:!0}]}}]},{note:"A menu with no title when anchored to an ambiguous icon leaves the context unclear.",example:[{component:"Menu",props:{open:!0,items:[{key:"rename",label:"Rename"},{key:"move",label:"Move"}]}}]}],a11y:["The menu manages focus natively and traps it while open.","Screen readers announce the menu's title when it opens."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"MessageBubble",marker:null,platforms:["phone"],acceptsChildren:!0,props:{side:{type:"enum",values:["mine","theirs"],required:!0,description:"Which side the bubble sits on: mine on the trailing side, theirs on the leading side."},text:{type:"string",required:!0,description:"The message as plain text, drawn when the bubble has no children and read by screen readers."},markdown:{type:"boolean",default:!1,description:"Draws the text as Markdown. Ignored when the bubble has children."},groupPosition:{type:"enum",values:["single","first","middle","last"],default:"single",description:"Where the message sits in a run from one author. Joined corners go small and the author and time show only on the run's edges."},author:{type:"string",description:"The author shown above the first message of a run from the other side."},status:{type:"enum",values:["sending","sent","delivered","read","failed"],description:"The delivery ticks under a message of your own, read as a word."},replyTo:{type:"object",description:"The message this one answers, drawn as a quote at the top of the bubble.",fields:{author:{type:"string",description:"The author of the quoted message."},text:{type:"string",required:!0,description:"The quoted text."}}},streaming:{type:"boolean",default:!1,description:"The reply is still arriving, so the bubble is marked busy."},error:{type:"string",description:"A curated message shown under the bubble."},actions:{type:"array",description:"Long-press actions, also offered to screen readers as accessibility actions.",itemFields:{name:{type:"string",required:!0,description:"A stable id for the action, such as copy."},label:{type:"string",required:!0,description:"The action's visible name."}}},footer:{type:"node",description:"Content under the bubble on the same side, such as action cards or a rating."}},omit:["time","labels","haptic"],examples:[{id:"MessageBubble.default",title:"Message from the other side",props:{side:"theirs",author:"Asha",text:"Can you send the site photos?"}},{id:"MessageBubble.mine",title:"Own message, read",props:{side:"mine",text:"Sharing the photos now.",status:"read"}},{id:"MessageBubble.failed",title:"Own message that failed",props:{side:"mine",text:"See you tomorrow.",status:"failed",error:"Not sent."}},{id:"MessageBubble.runStart",title:"Start of a run",props:{side:"theirs",author:"Asha",text:"Morning! Reached the site.",groupPosition:"first"}}],usage:{when:["A chat or assistant thread needs one message drawn with its author, time and delivery state.","Consecutive messages from one author should join into a run with shared corners."],whenNot:[{text:"The content is a standalone notice outside a conversation.",instead:"Banner"},{text:"A short confirmation that disappears by itself.",instead:"Toast"}],do:[{note:"Give every message a plain text, even when it holds rich content, so a screen reader can read it.",example:[{component:"MessageBubble",props:{side:"theirs",author:"Asha",text:"Can you send the site photos?"}}]},{note:"Show a curated error under a failed message, written for the person.",example:[{component:"MessageBubble",props:{side:"mine",text:"See you tomorrow.",status:"failed",error:"Not sent. Check your connection."}}]}],dont:[{note:"An empty text leaves the message with no spoken name.",example:[{component:"MessageBubble",props:{side:"theirs",text:""}}]},{note:"A raw error code tells the person nothing they can act on.",example:[{component:"MessageBubble",props:{side:"mine",text:"See you tomorrow.",status:"failed",error:"ERR_503"}}]}],a11y:["A bubble without rich children reads as one element: author, time, text, reply quote and the delivery word, with its long-press actions offered as accessibility actions.","A streaming reply is marked busy and announced once when it finishes, and an error is announced at once."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"MessageList",marker:null,platforms:["phone"],acceptsChildren:!1,props:{messages:{type:"array",required:!0,description:"The messages, newest first, the order the list draws from the bottom up."},firstUnreadKey:{type:"string",description:"The key of the message that gets the New messages divider above it."},loadingOlder:{type:"boolean",default:!1,description:"Shows a spinner under the oldest message while an earlier page loads."},hasOlder:{type:"boolean",default:!0,description:"False once the oldest page is in, so the list stops asking for more."},typing:{type:"node",description:"Drawn under the newest message, such as a typing indicator."},empty:{type:"node",description:"Drawn while there are no messages."},keyboardAware:{type:"boolean",default:!0,description:"Lifts the newest messages above the keyboard. Turn it off when a parent already moves with the keyboard."},keyboardOffset:{type:"number",description:"The composer's keyboard offset in points. Without it the bottom safe-area inset is used."}},omit:["labels","now"],examples:[{id:"MessageList.default",title:"Conversation with an unread divider",props:{messages:[],keyboardAware:!1,firstUnreadKey:"l1"}},{id:"MessageList.typing",title:"With a typing indicator",props:{messages:[],keyboardAware:!1,typing:"Asha is typing"}},{id:"MessageList.loadingOlder",title:"Loading earlier messages",props:{messages:[],keyboardAware:!1,loadingOlder:!0}},{id:"MessageList.empty",title:"No messages yet",props:{messages:[],keyboardAware:!1,empty:"No messages yet. Say hello."}}],usage:{when:["A conversation should start at the newest message and load older pages at the top.","Day separators, an unread divider and runs from one author are wanted without extra code."],whenNot:[{text:"The list is not a conversation and reads top to bottom.",instead:"a plain list of ListItem rows"},{text:"There are only a few static messages.",instead:"MessageBubble in a column"}],do:[{note:"Say in the empty area what the person can do next.",example:[{component:"MessageList",props:{messages:[],empty:"No messages yet. Say hello."}}]},{note:"Keep keyboardAware on so the newest message stays above the keyboard.",example:[{component:"MessageList",props:{messages:[],keyboardAware:!0}}]}],dont:[{note:"A blank empty area leaves the person unsure whether the list is still loading.",example:[{component:"MessageList",props:{messages:[],empty:""}}]},{note:"Turning keyboardAware off on a screen that does not move with the keyboard hides the newest message.",example:[{component:"MessageList",props:{messages:[],keyboardAware:!1}}]}],a11y:["Each new message is announced politely through the app's getAnnouncement text, one announcement per arriving message.","The jump to latest button names itself and adds the count of messages that arrived while the person was scrolled away."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Modal",marker:null,platforms:["phone"],acceptsChildren:!0,props:{visible:{type:"boolean",required:!0,description:"Whether the modal is shown. The parent owns it."},presentation:{type:"enum",values:["centered","bottom","fullScreen"],default:"centered",description:"How the dialog is laid out: a centred card, a sheet anchored to the bottom, or a full screen takeover."},backdropOpacity:{type:"number",description:"Overrides the opacity of the dimmed backdrop for this modal."},backdropPressClose:{type:"boolean",default:!0,description:"Whether tapping the dimmed backdrop closes the modal."},animationDuration:{type:"number",description:"The enter animation length in milliseconds. Without it the theme's normal duration is used."},animateMount:{type:"boolean",default:!0,description:"Plays the enter animation when the modal is visible as it mounts. Off, it is drawn at rest at once."},accessibilityLabel:{type:"string",description:"The name a screen reader gives the dialog."},hardwareBackPress:{type:"boolean",default:!0,description:"Whether the Android back button closes the modal."}},omit:["restoreFocusRef","haptic"],examples:[{id:"Modal.default",title:"Centred dialog",props:{visible:!0,presentation:"centered",accessibilityLabel:"Demo modal"},children:"centered modal"},{id:"Modal.bottom",title:"Bottom sheet",props:{visible:!0,presentation:"bottom",accessibilityLabel:"Demo modal"},children:"bottom modal"},{id:"Modal.fullScreen",title:"Full screen",props:{visible:!0,presentation:"fullScreen",accessibilityLabel:"Demo modal"},children:"fullScreen modal"},{id:"Modal.backdropLocked",title:"Backdrop tap does not close",props:{visible:!0,presentation:"centered",backdropPressClose:!1,accessibilityLabel:"Demo modal"},children:"centered modal"}],usage:{when:["A dialog, confirmation or sheet must sit above the current screen.","A full screen takeover such as onboarding or a media viewer is needed."],whenNot:[{text:"The choice is a list of options.",instead:"OptionSheet"},{text:"A brief message needs no action.",instead:"Toast"}],do:[{note:"Name the dialog with an accessibilityLabel so a screen reader announces what opened.",example:[{component:"Modal",props:{visible:!0,accessibilityLabel:"Delete project"},children:"Delete this project?"}]},{note:"Use the bottom presentation for an action menu.",example:[{component:"Modal",props:{visible:!0,presentation:"bottom"},children:"Choose an action"}]}],dont:[{note:"A dialog with no label opens in silence for a screen reader.",example:[{component:"Modal",props:{visible:!0},children:"Delete this project?"}]},{note:"A full screen takeover for a one-line confirmation hides the page for no reason.",example:[{component:"Modal",props:{visible:!0,presentation:"fullScreen"},children:"Delete this project?"}]}],a11y:["The dialog is marked as a modal view with an alert role and takes its name from accessibilityLabel.","The Android back button closes it unless hardwareBackPress is off, and a screen reader can reach a Close modal button."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"Notation",marker:null,platforms:["phone"],acceptsChildren:!1,props:{text:{type:"string",description:"Engine text where an underscore after a one-letter symbol marks a subscript, such as N_SG. It must sit inside a Text."},base:{type:"string",description:"One symbol, drawn with its subscript small and lowered after it. It must sit inside a Text."},sub:{type:"string",description:"The subscript drawn small after the base."},desc:{type:"string",description:"A description that follows the symbol after a space."},color:{type:"string",description:"The subscript's colour. Inside a field label or message it follows that line, elsewhere the primary text colour."}},omit:[],examples:[{id:"Notation.default",title:"Engine text with subscripts",props:{text:"N_SG exceeds N_C, risk_total stays prose"}},{id:"Notation.symbol",title:"One symbol with a description",props:{base:"C",sub:"IP",desc:"index"}},{id:"Notation.plainSymbol",title:"One symbol",props:{base:"U",sub:"p"}}],usage:{when:["A standard's symbol needs a real subscript that React Native text cannot draw.","Engine text arrives with underscores that mark subscripts."],whenNot:[{text:"The text is stored or typed by a person.",instead:"a plain Text"},{text:"The name is a multi-letter word that happens to hold an underscore.",instead:"a plain Text"}],do:[{note:"Write the symbol as one letter, an underscore and its subscript.",example:[{component:"Notation",props:{text:"N_SG exceeds N_C"}}]},{note:"Give a symbol its description after a space with desc.",example:[{component:"Notation",props:{base:"C",sub:"IP",desc:"index"}}]}],dont:[{note:"A multi-letter name with an underscore stays prose, so it never becomes a subscript.",example:[{component:"Notation",props:{text:"risk_total stays prose"}}]},{note:"A description joined into the subscript is drawn as part of the subscript.",example:[{component:"Notation",props:{base:"C",sub:"IP index"}}]}],a11y:["It draws as nested text inside the parent Text and sets no role or label of its own.","The subscript takes the size and colour of the enclosing label or message line, so it stays legible with that line."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"NumberInput",marker:null,platforms:["phone"],acceptsChildren:!1,props:{value:{type:"number",description:"The controlled value."},defaultValue:{type:"number",description:"The starting value when the field is not controlled. Without it the minimum, or 0, is used."},min:{type:"number",description:"The lower bound that typed and stepped values clamp to. Without it there is no lower bound."},max:{type:"number",description:"The upper bound that typed and stepped values clamp to. Without it there is no upper bound."},step:{type:"number",default:1,description:"How much one tap on a stepper button adds or removes."},allowDecimal:{type:"boolean",default:!1,description:"Accepts a decimal point and shows the decimal keyboard."},precision:{type:"number",default:0,description:"The number of decimal places kept when decimals are allowed."},label:{type:"node",description:"The field label. A node label needs an explicit accessibilityLabel."},help:{type:"node",description:"Drawn right after the label, such as an info button. It is not part of the label's accessibility text."},helperText:{type:"node",description:"Help shown under the field."},error:{type:"node",description:"An error message that puts the field in the error state and replaces the helper text."},disabled:{type:"boolean",default:!1,description:"Blocks typing and stepping and dims the field."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"The field height, stepper size and text size."},variant:{type:"enum",values:["inline","horizontal","stacked"],default:"inline",description:"How the label sits relative to the field."},unit:{type:"string",description:"A suffix shown after the value, such as kg."},accessibilityLabel:{type:"string",description:"The input's screen reader name. Without it the label text is used."}},omit:["haptic","textInputProps"],examples:[{id:"NumberInput.default",title:"Quantity stepper",props:{value:5,size:"md",variant:"inline",label:"Quantity",min:0,max:20,step:1}},{id:"NumberInput.stacked",title:"Stacked label with a unit",props:{value:5,size:"md",variant:"stacked",label:"Weight",unit:"kg",min:0,max:20,step:1}},{id:"NumberInput.decimal",title:"Decimal value",props:{value:5,label:"Quantity",min:0,max:20,step:1,allowDecimal:!0,precision:1}},{id:"NumberInput.error",title:"Error state",props:{value:5,label:"Quantity",min:0,max:20,step:1,error:"Choose at most 20."}}],usage:{when:["The value is a count, quantity or measurement that benefits from plus and minus buttons.","The value has bounds that the field should enforce."],whenNot:[{text:"The value is a long figure typed on a number keyboard.",instead:"DecimalInput"},{text:"The value is a fixed-length code.",instead:"OTPInput"}],do:[{note:"Set min and max so the stepper stops at real limits.",example:[{component:"NumberInput",props:{value:5,label:"Quantity",min:1,max:10}}]},{note:"Write the unit in the unit prop so it stays beside the value.",example:[{component:"NumberInput",props:{value:5,label:"Weight",unit:"kg"}}]}],dont:[{note:"No bounds let the person step to a value the page cannot use.",example:[{component:"NumberInput",props:{value:5,label:"Quantity"}}]},{note:"A unit written into the label is easy to miss next to the value.",example:[{component:"NumberInput",props:{value:5,label:"Weight in kg"}}]}],a11y:["The input is an adjustable element with the label as its name and the current value, and stepper buttons report their disabled state.","A node label needs an explicit accessibilityLabel, since a node has no text for the screen reader name."]}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"OTPInput",marker:null,platforms:["phone"],acceptsChildren:!1,props:{value:{type:"string",description:"The controlled code."},defaultValue:{type:"string",description:"The starting code when the field is not controlled."},length:{type:"number",default:6,description:"The number of cells."},keyboardType:{type:"enum",values:["number-pad","default"],default:"number-pad",description:"Digits only, or any character for an alphanumeric code."},autoFocus:{type:"boolean",default:!1,description:"Focuses the first cell when the field appears."},autoFocusDelay:{type:"number",default:0,description:"Milliseconds to wait before the first cell takes focus. Raise it on a screen pushed with a transition."},disabled:{type:"boolean",default:!1,description:"Blocks input and dims every cell."},error:{type:"node",description:"An error message shown under the cells that puts them in the error state."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"The cell size and text size."},secure:{type:"boolean",default:!1,description:"Masks each filled cell."},accessibilityLabel:{type:"string",description:"The screen reader name of the field. Without it a Enter N-digit code line is used."}},omit:["haptic"],examples:[{id:"OTPInput.default",title:"Six digit code",props:{length:6,size:"md",keyboardType:"number-pad"}},{id:"OTPInput.filled",title:"Filled four digit code",props:{value:"1234",length:4,size:"md"}},{id:"OTPInput.secure",title:"Masked code",props:{value:"1234",length:4,secure:!0}},{id:"OTPInput.error",title:"Error state",props:{value:"123456",length:6,error:"That code is not right."}}],usage:{when:["The person enters a fixed-length one-time code or PIN.","The code arrives by SMS and should fill in from the keyboard suggestion."],whenNot:[{text:"The value is free text of any length.",instead:"Input"},{text:"The value is a count or quantity.",instead:"NumberInput"}],do:[{note:"Match length to the code you send.",example:[{component:"OTPInput",props:{length:6}}]},{note:"Say what is wrong in the error message.",example:[{component:"OTPInput",props:{value:"123456",length:6,error:"That code is not right. Try again."}}]}],dont:[{note:"A length that differs from the code leaves the person with cells they cannot fill.",example:[{component:"OTPInput",props:{length:8}}]},{note:"An error with no message shows red cells but not what to do.",example:[{component:"OTPInput",props:{value:"123456",length:6,error:""}}]}],a11y:["The whole field is one element named by accessibilityLabel, or Enter N-digit code, and it reports the typed code as its value and its disabled state.","The first cell carries the one-time code content type so the keyboard can offer the SMS code."]}});
|