@webority/mobile-ui 0.0.0-stage → 0.0.33
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/LICENSE +21 -0
- package/README.md +15 -2
- package/RNMobileUiPdfRasterizer.podspec +25 -0
- package/android/build.gradle +64 -0
- package/android/src/newarch/java/com/webority/mobileui/pdfrasterizer/PdfRasterizerModule.kt +211 -0
- package/android/src/newarch/java/com/webority/mobileui/pdfrasterizer/PdfRasterizerPackage.kt +33 -0
- package/ios/PdfRasterizer.h +13 -0
- package/ios/PdfRasterizer.mm +292 -0
- package/lib/commonjs/components/Accordion/Accordion.js +343 -0
- package/lib/commonjs/components/Accordion/index.js +26 -0
- package/lib/commonjs/components/AmountSlider/AmountSlider.js +209 -0
- package/lib/commonjs/components/AmountSlider/index.js +20 -0
- package/lib/commonjs/components/AnimatePresence/AnimatePresence.js +71 -0
- package/lib/commonjs/components/AnimatePresence/index.js +13 -0
- package/lib/commonjs/components/AppBar/AppBar.js +358 -0
- package/lib/commonjs/components/AppBar/index.js +20 -0
- package/lib/commonjs/components/AppIcon/AppIcon.js +155 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/a.g.js +84 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/b.g.js +89 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/c.g.js +118 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/d.g.js +68 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/e.g.js +46 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/f.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/g.g.js +54 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/h.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/i.g.js +31 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/j.g.js +18 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/k.g.js +20 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/l.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/m.g.js +105 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/n.g.js +34 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/o.g.js +21 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/p.g.js +60 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/q.g.js +22 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/r.g.js +59 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/s.g.js +113 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/t.g.js +74 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/u.g.js +28 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/v.g.js +40 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/w.g.js +41 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/x.g.js +18 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/y.g.js +16 -0
- package/lib/commonjs/components/AppIcon/catalog/bold/z.g.js +17 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/a.g.js +84 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/b.g.js +89 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/c.g.js +118 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/d.g.js +68 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/e.g.js +46 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/f.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/g.g.js +54 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/h.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/i.g.js +31 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/j.g.js +18 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/k.g.js +20 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/l.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/m.g.js +105 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/n.g.js +34 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/o.g.js +21 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/p.g.js +60 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/q.g.js +22 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/r.g.js +59 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/s.g.js +113 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/t.g.js +74 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/u.g.js +28 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/v.g.js +40 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/w.g.js +41 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/x.g.js +18 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/y.g.js +16 -0
- package/lib/commonjs/components/AppIcon/catalog/broken/z.g.js +17 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/a.g.js +84 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/b.g.js +89 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/c.g.js +118 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/d.g.js +68 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/e.g.js +46 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/f.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/g.g.js +54 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/h.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/i.g.js +31 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/j.g.js +18 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/k.g.js +20 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/l.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/m.g.js +105 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/n.g.js +34 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/o.g.js +21 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/p.g.js +60 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/q.g.js +22 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/r.g.js +59 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/s.g.js +113 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/t.g.js +74 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/u.g.js +28 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/v.g.js +40 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/w.g.js +41 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/x.g.js +18 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/y.g.js +16 -0
- package/lib/commonjs/components/AppIcon/catalog/bulk/z.g.js +17 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/a.g.js +84 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/b.g.js +89 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/c.g.js +118 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/d.g.js +68 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/e.g.js +46 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/f.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/g.g.js +54 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/h.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/i.g.js +31 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/j.g.js +18 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/k.g.js +20 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/l.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/m.g.js +105 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/n.g.js +34 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/o.g.js +21 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/p.g.js +60 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/q.g.js +22 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/r.g.js +59 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/s.g.js +113 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/t.g.js +74 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/u.g.js +28 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/v.g.js +40 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/w.g.js +41 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/x.g.js +18 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/y.g.js +16 -0
- package/lib/commonjs/components/AppIcon/catalog/linear/z.g.js +17 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/a.g.js +84 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/b.g.js +89 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/c.g.js +118 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/d.g.js +68 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/e.g.js +46 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/f.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/g.g.js +54 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/h.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/i.g.js +31 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/j.g.js +18 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/k.g.js +20 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/l.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/m.g.js +105 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/n.g.js +34 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/o.g.js +21 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/p.g.js +60 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/q.g.js +22 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/r.g.js +59 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/s.g.js +113 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/t.g.js +74 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/u.g.js +28 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/v.g.js +40 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/w.g.js +41 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/x.g.js +18 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/y.g.js +16 -0
- package/lib/commonjs/components/AppIcon/catalog/outline/z.g.js +17 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/a.g.js +84 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/b.g.js +89 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/c.g.js +118 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/d.g.js +68 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/e.g.js +46 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/f.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/g.g.js +54 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/h.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/i.g.js +31 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/j.g.js +18 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/k.g.js +20 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/l.g.js +52 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/m.g.js +105 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/n.g.js +34 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/o.g.js +21 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/p.g.js +60 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/q.g.js +22 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/r.g.js +59 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/s.g.js +113 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/t.g.js +74 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/u.g.js +28 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/v.g.js +40 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/w.g.js +41 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/x.g.js +18 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/y.g.js +16 -0
- package/lib/commonjs/components/AppIcon/catalog/twotone/z.g.js +17 -0
- package/lib/commonjs/components/AppIcon/catalog.g.js +187 -0
- package/lib/commonjs/components/AppIcon/defaultIcons.js +83 -0
- package/lib/commonjs/components/AppIcon/glyphs.g.js +160 -0
- package/lib/commonjs/components/AppIcon/index.js +64 -0
- package/lib/commonjs/components/AppIcon/slotIcon.js +67 -0
- package/lib/commonjs/components/AppIcon/variants.g.js +741 -0
- package/lib/commonjs/components/AsyncBlock/AsyncBlock.js +87 -0
- package/lib/commonjs/components/AsyncBlock/index.js +20 -0
- package/lib/commonjs/components/AuthedImage/AuthedImage.js +230 -0
- package/lib/commonjs/components/AuthedImage/authedImageCache.js +261 -0
- package/lib/commonjs/components/AuthedImage/index.js +45 -0
- package/lib/commonjs/components/Autocomplete/Autocomplete.js +227 -0
- package/lib/commonjs/components/Autocomplete/index.js +13 -0
- package/lib/commonjs/components/Avatar/Avatar.js +502 -0
- package/lib/commonjs/components/Avatar/index.js +32 -0
- package/lib/commonjs/components/Badge/Badge.js +298 -0
- package/lib/commonjs/components/Badge/index.js +20 -0
- package/lib/commonjs/components/Banner/Banner.js +401 -0
- package/lib/commonjs/components/Banner/index.js +20 -0
- package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +893 -0
- package/lib/commonjs/components/BottomNavigation/index.js +20 -0
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +732 -0
- package/lib/commonjs/components/BottomSheet/index.js +26 -0
- package/lib/commonjs/components/Box/Box.js +226 -0
- package/lib/commonjs/components/Box/index.js +37 -0
- package/lib/commonjs/components/Button/Button.js +561 -0
- package/lib/commonjs/components/Button/index.js +20 -0
- package/lib/commonjs/components/Card/Card.js +407 -0
- package/lib/commonjs/components/Card/index.js +20 -0
- package/lib/commonjs/components/Carousel/Carousel.js +585 -0
- package/lib/commonjs/components/Carousel/index.js +20 -0
- package/lib/commonjs/components/Checkbox/Checkbox.js +187 -0
- package/lib/commonjs/components/Checkbox/index.js +20 -0
- package/lib/commonjs/components/Chip/Chip.js +358 -0
- package/lib/commonjs/components/Chip/index.js +20 -0
- package/lib/commonjs/components/ChoiceGroup/ChoiceGroup.js +336 -0
- package/lib/commonjs/components/ChoiceGroup/index.js +20 -0
- package/lib/commonjs/components/Confetti/Confetti.js +382 -0
- package/lib/commonjs/components/Confetti/index.js +13 -0
- package/lib/commonjs/components/DatePicker/DatePicker.js +1054 -0
- package/lib/commonjs/components/DatePicker/index.js +20 -0
- package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +794 -0
- package/lib/commonjs/components/DateRangePicker/index.js +20 -0
- package/lib/commonjs/components/Descriptions/Descriptions.js +107 -0
- package/lib/commonjs/components/Descriptions/index.js +20 -0
- package/lib/commonjs/components/Dialog/Dialog.js +248 -0
- package/lib/commonjs/components/Dialog/index.js +20 -0
- package/lib/commonjs/components/Divider/Divider.js +117 -0
- package/lib/commonjs/components/Divider/index.js +20 -0
- package/lib/commonjs/components/Drawer/Drawer.js +382 -0
- package/lib/commonjs/components/Drawer/index.js +20 -0
- package/lib/commonjs/components/EmptyState/EmptyState.js +236 -0
- package/lib/commonjs/components/EmptyState/index.js +20 -0
- package/lib/commonjs/components/ErrorBoundary/ErrorBoundary.js +136 -0
- package/lib/commonjs/components/ErrorBoundary/index.js +27 -0
- package/lib/commonjs/components/ErrorBoundary/useErrorHandler.js +24 -0
- package/lib/commonjs/components/ErrorBoundary/withErrorBoundary.js +28 -0
- package/lib/commonjs/components/FieldBase/Chevron.js +75 -0
- package/lib/commonjs/components/FieldBase/FieldBase.js +804 -0
- package/lib/commonjs/components/FieldBase/index.js +75 -0
- package/lib/commonjs/components/FieldBase/useFloatingLabel.js +170 -0
- package/lib/commonjs/components/FilePicker/FilePicker.js +797 -0
- package/lib/commonjs/components/FilePicker/index.js +26 -0
- package/lib/commonjs/components/FileViewer/FileViewer.js +259 -0
- package/lib/commonjs/components/FileViewer/index.js +13 -0
- package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +696 -0
- package/lib/commonjs/components/FloatingActionButton/index.js +26 -0
- package/lib/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.js +90 -0
- package/lib/commonjs/components/ForceUpdateDialog/index.js +20 -0
- package/lib/commonjs/components/FormField/FormField.js +170 -0
- package/lib/commonjs/components/FormField/index.js +20 -0
- package/lib/commonjs/components/IconButton/IconButton.js +198 -0
- package/lib/commonjs/components/IconButton/index.js +13 -0
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +594 -0
- package/lib/commonjs/components/ImageGallery/index.js +20 -0
- package/lib/commonjs/components/InlineSelect/InlineSelect.js +190 -0
- package/lib/commonjs/components/InlineSelect/index.js +20 -0
- package/lib/commonjs/components/Input/Input.js +591 -0
- package/lib/commonjs/components/Input/index.js +20 -0
- package/lib/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.js +168 -0
- package/lib/commonjs/components/KeyboardAwareScrollView/index.js +13 -0
- package/lib/commonjs/components/KeyboardToolbar/KeyboardToolbar.js +135 -0
- package/lib/commonjs/components/KeyboardToolbar/index.js +13 -0
- package/lib/commonjs/components/ListItem/ListItem.js +344 -0
- package/lib/commonjs/components/ListItem/index.js +20 -0
- package/lib/commonjs/components/LoaderOverlay/LoaderOverlay.js +203 -0
- package/lib/commonjs/components/LoaderOverlay/index.js +25 -0
- package/lib/commonjs/components/Markdown/Markdown.js +276 -0
- package/lib/commonjs/components/Markdown/index.js +13 -0
- package/lib/commonjs/components/Markdown/parse.js +229 -0
- package/lib/commonjs/components/Modal/Modal.js +376 -0
- package/lib/commonjs/components/Modal/index.js +26 -0
- package/lib/commonjs/components/NumberInput/NumberInput.js +386 -0
- package/lib/commonjs/components/NumberInput/index.js +20 -0
- package/lib/commonjs/components/OTPInput/OTPInput.js +448 -0
- package/lib/commonjs/components/OTPInput/index.js +20 -0
- package/lib/commonjs/components/OptionSheet/OptionSheet.js +702 -0
- package/lib/commonjs/components/PhoneNumberInput/PhoneNumberInput.js +574 -0
- package/lib/commonjs/components/PhoneNumberInput/index.js +32 -0
- package/lib/commonjs/components/PickerTrigger/PickerTrigger.js +150 -0
- package/lib/commonjs/components/PickerTrigger/index.js +20 -0
- package/lib/commonjs/components/ProfileCompletion/ProfileCompletion.js +214 -0
- package/lib/commonjs/components/ProfileCompletion/index.js +20 -0
- package/lib/commonjs/components/ProfilePicker/ProfilePicker.js +531 -0
- package/lib/commonjs/components/ProfilePicker/index.js +20 -0
- package/lib/commonjs/components/ProgressBar/ProgressBar.js +202 -0
- package/lib/commonjs/components/ProgressBar/index.js +20 -0
- package/lib/commonjs/components/ProgressRing/ProgressRing.js +191 -0
- package/lib/commonjs/components/ProgressRing/index.js +20 -0
- package/lib/commonjs/components/Radio/Radio.js +127 -0
- package/lib/commonjs/components/Radio/RadioDot.js +108 -0
- package/lib/commonjs/components/Radio/RadioGroup.js +50 -0
- package/lib/commonjs/components/Radio/index.js +46 -0
- package/lib/commonjs/components/Rating/Rating.js +338 -0
- package/lib/commonjs/components/Rating/index.js +20 -0
- package/lib/commonjs/components/Repeater/Repeater.js +166 -0
- package/lib/commonjs/components/Repeater/index.js +20 -0
- package/lib/commonjs/components/RichTextEditor/RichTextEditor.js +314 -0
- package/lib/commonjs/components/RichTextEditor/index.js +20 -0
- package/lib/commonjs/components/RichTextEditor/markdownActions.js +213 -0
- package/lib/commonjs/components/SearchBar/SearchBar.js +244 -0
- package/lib/commonjs/components/SearchBar/index.js +20 -0
- package/lib/commonjs/components/SegmentedControl/SegmentedControl.js +320 -0
- package/lib/commonjs/components/SegmentedControl/index.js +20 -0
- package/lib/commonjs/components/Select/Select.js +277 -0
- package/lib/commonjs/components/Select/index.js +20 -0
- package/lib/commonjs/components/Skeleton/Skeleton.js +285 -0
- package/lib/commonjs/components/Skeleton/SkeletonClock.js +118 -0
- package/lib/commonjs/components/Skeleton/SkeletonContent.js +309 -0
- package/lib/commonjs/components/Skeleton/SkeletonList.js +92 -0
- package/lib/commonjs/components/Skeleton/SkeletonProvider.js +114 -0
- package/lib/commonjs/components/Skeleton/SkeletonSkip.js +37 -0
- package/lib/commonjs/components/Skeleton/index.js +85 -0
- package/lib/commonjs/components/SlideToConfirm/SlideToConfirm.js +262 -0
- package/lib/commonjs/components/SlideToConfirm/index.js +13 -0
- package/lib/commonjs/components/Slider/Slider.js +809 -0
- package/lib/commonjs/components/Slider/index.js +20 -0
- package/lib/commonjs/components/Slider/valueText.js +266 -0
- package/lib/commonjs/components/SliderField/SliderField.js +360 -0
- package/lib/commonjs/components/SliderField/index.js +20 -0
- package/lib/commonjs/components/Spinner/Spinner.js +203 -0
- package/lib/commonjs/components/Spinner/index.js +20 -0
- package/lib/commonjs/components/SquircleFill/SquircleFill.js +116 -0
- package/lib/commonjs/components/StatusBadge/StatusBadge.js +233 -0
- package/lib/commonjs/components/StatusBadge/index.js +20 -0
- package/lib/commonjs/components/Stepper/Stepper.js +779 -0
- package/lib/commonjs/components/Stepper/index.js +20 -0
- package/lib/commonjs/components/Swipeable/Swipeable.js +383 -0
- package/lib/commonjs/components/Swipeable/index.js +20 -0
- package/lib/commonjs/components/Switch/Switch.js +233 -0
- package/lib/commonjs/components/Switch/index.js +20 -0
- package/lib/commonjs/components/Tabs/Tabs.js +428 -0
- package/lib/commonjs/components/Tabs/index.js +20 -0
- package/lib/commonjs/components/TagInput/TagInput.js +185 -0
- package/lib/commonjs/components/TagInput/index.js +20 -0
- package/lib/commonjs/components/Text/Text.js +146 -0
- package/lib/commonjs/components/Text/index.js +13 -0
- package/lib/commonjs/components/TimePicker/TimePicker.js +732 -0
- package/lib/commonjs/components/TimePicker/index.js +20 -0
- package/lib/commonjs/components/Timeline/Timeline.js +263 -0
- package/lib/commonjs/components/Timeline/index.js +20 -0
- package/lib/commonjs/components/Toast/Toast.js +326 -0
- package/lib/commonjs/components/Toast/ToastProvider.js +200 -0
- package/lib/commonjs/components/Toast/index.js +39 -0
- package/lib/commonjs/components/Tooltip/Tooltip.js +412 -0
- package/lib/commonjs/components/Tooltip/index.js +20 -0
- package/lib/commonjs/components/Tour/Tour.js +342 -0
- package/lib/commonjs/components/Tour/index.js +20 -0
- package/lib/commonjs/components/ZoomableImage/ZoomableImage.js +204 -0
- package/lib/commonjs/components/ZoomableImage/index.js +13 -0
- package/lib/commonjs/components/index.js +748 -0
- package/lib/commonjs/form/FormContext.js +52 -0
- package/lib/commonjs/form/index.js +81 -0
- package/lib/commonjs/form/path.js +91 -0
- package/lib/commonjs/form/rules.js +73 -0
- package/lib/commonjs/form/types.js +2 -0
- package/lib/commonjs/form/useField.js +66 -0
- package/lib/commonjs/form/useForm.js +364 -0
- package/lib/commonjs/form/useFormCompletion.js +73 -0
- package/lib/commonjs/hooks/index.js +85 -0
- package/lib/commonjs/hooks/useControllableState.js +32 -0
- package/lib/commonjs/hooks/useDebounce.js +17 -0
- package/lib/commonjs/hooks/useDragToDismiss.js +142 -0
- package/lib/commonjs/hooks/useFlickGuard.js +60 -0
- package/lib/commonjs/hooks/usePressAnimation.js +130 -0
- package/lib/commonjs/hooks/useReducedMotion.js +33 -0
- package/lib/commonjs/hooks/useToggle.js +22 -0
- package/lib/commonjs/index.js +468 -0
- package/lib/commonjs/initUI.js +24 -0
- package/lib/commonjs/network/NetworkStatusBanner.js +89 -0
- package/lib/commonjs/network/index.js +13 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/specs/NativePdfRasterizer.js +9 -0
- package/lib/commonjs/theme/Gradient.js +59 -0
- package/lib/commonjs/theme/ThemeContext.js +101 -0
- package/lib/commonjs/theme/animatedValue.js +69 -0
- package/lib/commonjs/theme/index.js +149 -0
- package/lib/commonjs/theme/merge.js +30 -0
- package/lib/commonjs/theme/textStyle.js +39 -0
- package/lib/commonjs/theme/tokens.js +706 -0
- package/lib/commonjs/theme/types.js +6 -0
- package/lib/commonjs/utils/color.js +58 -0
- package/lib/commonjs/utils/corners.js +22 -0
- package/lib/commonjs/utils/dimensions.js +37 -0
- package/lib/commonjs/utils/feedback.js +76 -0
- package/lib/commonjs/utils/hapticUtils.js +94 -0
- package/lib/commonjs/utils/hashString.js +22 -0
- package/lib/commonjs/utils/index.js +178 -0
- package/lib/commonjs/utils/mergeRefs.js +24 -0
- package/lib/commonjs/utils/responsive.js +104 -0
- package/lib/commonjs/utils/shadows.js +61 -0
- package/lib/commonjs/utils/spacing.js +86 -0
- package/lib/commonjs/utils/squircle.js +158 -0
- package/lib/commonjs/utils/warnUnknownProps.js +46 -0
- package/lib/module/components/Accordion/Accordion.js +337 -0
- package/lib/module/components/Accordion/index.js +4 -0
- package/lib/module/components/AmountSlider/AmountSlider.js +205 -0
- package/lib/module/components/AmountSlider/index.js +4 -0
- package/lib/module/components/AnimatePresence/AnimatePresence.js +65 -0
- package/lib/module/components/AnimatePresence/index.js +4 -0
- package/lib/module/components/AppBar/AppBar.js +354 -0
- package/lib/module/components/AppBar/index.js +4 -0
- package/lib/module/components/AppIcon/AppIcon.js +136 -0
- package/lib/module/components/AppIcon/catalog/bold/a.g.js +80 -0
- package/lib/module/components/AppIcon/catalog/bold/b.g.js +85 -0
- package/lib/module/components/AppIcon/catalog/bold/c.g.js +114 -0
- package/lib/module/components/AppIcon/catalog/bold/d.g.js +64 -0
- package/lib/module/components/AppIcon/catalog/bold/e.g.js +42 -0
- package/lib/module/components/AppIcon/catalog/bold/f.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/bold/g.g.js +50 -0
- package/lib/module/components/AppIcon/catalog/bold/h.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/bold/i.g.js +27 -0
- package/lib/module/components/AppIcon/catalog/bold/j.g.js +14 -0
- package/lib/module/components/AppIcon/catalog/bold/k.g.js +16 -0
- package/lib/module/components/AppIcon/catalog/bold/l.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/bold/m.g.js +101 -0
- package/lib/module/components/AppIcon/catalog/bold/n.g.js +30 -0
- package/lib/module/components/AppIcon/catalog/bold/o.g.js +17 -0
- package/lib/module/components/AppIcon/catalog/bold/p.g.js +56 -0
- package/lib/module/components/AppIcon/catalog/bold/q.g.js +18 -0
- package/lib/module/components/AppIcon/catalog/bold/r.g.js +55 -0
- package/lib/module/components/AppIcon/catalog/bold/s.g.js +109 -0
- package/lib/module/components/AppIcon/catalog/bold/t.g.js +70 -0
- package/lib/module/components/AppIcon/catalog/bold/u.g.js +24 -0
- package/lib/module/components/AppIcon/catalog/bold/v.g.js +36 -0
- package/lib/module/components/AppIcon/catalog/bold/w.g.js +37 -0
- package/lib/module/components/AppIcon/catalog/bold/x.g.js +14 -0
- package/lib/module/components/AppIcon/catalog/bold/y.g.js +12 -0
- package/lib/module/components/AppIcon/catalog/bold/z.g.js +13 -0
- package/lib/module/components/AppIcon/catalog/broken/a.g.js +80 -0
- package/lib/module/components/AppIcon/catalog/broken/b.g.js +85 -0
- package/lib/module/components/AppIcon/catalog/broken/c.g.js +114 -0
- package/lib/module/components/AppIcon/catalog/broken/d.g.js +64 -0
- package/lib/module/components/AppIcon/catalog/broken/e.g.js +42 -0
- package/lib/module/components/AppIcon/catalog/broken/f.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/broken/g.g.js +50 -0
- package/lib/module/components/AppIcon/catalog/broken/h.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/broken/i.g.js +27 -0
- package/lib/module/components/AppIcon/catalog/broken/j.g.js +14 -0
- package/lib/module/components/AppIcon/catalog/broken/k.g.js +16 -0
- package/lib/module/components/AppIcon/catalog/broken/l.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/broken/m.g.js +101 -0
- package/lib/module/components/AppIcon/catalog/broken/n.g.js +30 -0
- package/lib/module/components/AppIcon/catalog/broken/o.g.js +17 -0
- package/lib/module/components/AppIcon/catalog/broken/p.g.js +56 -0
- package/lib/module/components/AppIcon/catalog/broken/q.g.js +18 -0
- package/lib/module/components/AppIcon/catalog/broken/r.g.js +55 -0
- package/lib/module/components/AppIcon/catalog/broken/s.g.js +109 -0
- package/lib/module/components/AppIcon/catalog/broken/t.g.js +70 -0
- package/lib/module/components/AppIcon/catalog/broken/u.g.js +24 -0
- package/lib/module/components/AppIcon/catalog/broken/v.g.js +36 -0
- package/lib/module/components/AppIcon/catalog/broken/w.g.js +37 -0
- package/lib/module/components/AppIcon/catalog/broken/x.g.js +14 -0
- package/lib/module/components/AppIcon/catalog/broken/y.g.js +12 -0
- package/lib/module/components/AppIcon/catalog/broken/z.g.js +13 -0
- package/lib/module/components/AppIcon/catalog/bulk/a.g.js +80 -0
- package/lib/module/components/AppIcon/catalog/bulk/b.g.js +85 -0
- package/lib/module/components/AppIcon/catalog/bulk/c.g.js +114 -0
- package/lib/module/components/AppIcon/catalog/bulk/d.g.js +64 -0
- package/lib/module/components/AppIcon/catalog/bulk/e.g.js +42 -0
- package/lib/module/components/AppIcon/catalog/bulk/f.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/bulk/g.g.js +50 -0
- package/lib/module/components/AppIcon/catalog/bulk/h.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/bulk/i.g.js +27 -0
- package/lib/module/components/AppIcon/catalog/bulk/j.g.js +14 -0
- package/lib/module/components/AppIcon/catalog/bulk/k.g.js +16 -0
- package/lib/module/components/AppIcon/catalog/bulk/l.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/bulk/m.g.js +101 -0
- package/lib/module/components/AppIcon/catalog/bulk/n.g.js +30 -0
- package/lib/module/components/AppIcon/catalog/bulk/o.g.js +17 -0
- package/lib/module/components/AppIcon/catalog/bulk/p.g.js +56 -0
- package/lib/module/components/AppIcon/catalog/bulk/q.g.js +18 -0
- package/lib/module/components/AppIcon/catalog/bulk/r.g.js +55 -0
- package/lib/module/components/AppIcon/catalog/bulk/s.g.js +109 -0
- package/lib/module/components/AppIcon/catalog/bulk/t.g.js +70 -0
- package/lib/module/components/AppIcon/catalog/bulk/u.g.js +24 -0
- package/lib/module/components/AppIcon/catalog/bulk/v.g.js +36 -0
- package/lib/module/components/AppIcon/catalog/bulk/w.g.js +37 -0
- package/lib/module/components/AppIcon/catalog/bulk/x.g.js +14 -0
- package/lib/module/components/AppIcon/catalog/bulk/y.g.js +12 -0
- package/lib/module/components/AppIcon/catalog/bulk/z.g.js +13 -0
- package/lib/module/components/AppIcon/catalog/linear/a.g.js +80 -0
- package/lib/module/components/AppIcon/catalog/linear/b.g.js +85 -0
- package/lib/module/components/AppIcon/catalog/linear/c.g.js +114 -0
- package/lib/module/components/AppIcon/catalog/linear/d.g.js +64 -0
- package/lib/module/components/AppIcon/catalog/linear/e.g.js +42 -0
- package/lib/module/components/AppIcon/catalog/linear/f.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/linear/g.g.js +50 -0
- package/lib/module/components/AppIcon/catalog/linear/h.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/linear/i.g.js +27 -0
- package/lib/module/components/AppIcon/catalog/linear/j.g.js +14 -0
- package/lib/module/components/AppIcon/catalog/linear/k.g.js +16 -0
- package/lib/module/components/AppIcon/catalog/linear/l.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/linear/m.g.js +101 -0
- package/lib/module/components/AppIcon/catalog/linear/n.g.js +30 -0
- package/lib/module/components/AppIcon/catalog/linear/o.g.js +17 -0
- package/lib/module/components/AppIcon/catalog/linear/p.g.js +56 -0
- package/lib/module/components/AppIcon/catalog/linear/q.g.js +18 -0
- package/lib/module/components/AppIcon/catalog/linear/r.g.js +55 -0
- package/lib/module/components/AppIcon/catalog/linear/s.g.js +109 -0
- package/lib/module/components/AppIcon/catalog/linear/t.g.js +70 -0
- package/lib/module/components/AppIcon/catalog/linear/u.g.js +24 -0
- package/lib/module/components/AppIcon/catalog/linear/v.g.js +36 -0
- package/lib/module/components/AppIcon/catalog/linear/w.g.js +37 -0
- package/lib/module/components/AppIcon/catalog/linear/x.g.js +14 -0
- package/lib/module/components/AppIcon/catalog/linear/y.g.js +12 -0
- package/lib/module/components/AppIcon/catalog/linear/z.g.js +13 -0
- package/lib/module/components/AppIcon/catalog/outline/a.g.js +80 -0
- package/lib/module/components/AppIcon/catalog/outline/b.g.js +85 -0
- package/lib/module/components/AppIcon/catalog/outline/c.g.js +114 -0
- package/lib/module/components/AppIcon/catalog/outline/d.g.js +64 -0
- package/lib/module/components/AppIcon/catalog/outline/e.g.js +42 -0
- package/lib/module/components/AppIcon/catalog/outline/f.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/outline/g.g.js +50 -0
- package/lib/module/components/AppIcon/catalog/outline/h.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/outline/i.g.js +27 -0
- package/lib/module/components/AppIcon/catalog/outline/j.g.js +14 -0
- package/lib/module/components/AppIcon/catalog/outline/k.g.js +16 -0
- package/lib/module/components/AppIcon/catalog/outline/l.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/outline/m.g.js +101 -0
- package/lib/module/components/AppIcon/catalog/outline/n.g.js +30 -0
- package/lib/module/components/AppIcon/catalog/outline/o.g.js +17 -0
- package/lib/module/components/AppIcon/catalog/outline/p.g.js +56 -0
- package/lib/module/components/AppIcon/catalog/outline/q.g.js +18 -0
- package/lib/module/components/AppIcon/catalog/outline/r.g.js +55 -0
- package/lib/module/components/AppIcon/catalog/outline/s.g.js +109 -0
- package/lib/module/components/AppIcon/catalog/outline/t.g.js +70 -0
- package/lib/module/components/AppIcon/catalog/outline/u.g.js +24 -0
- package/lib/module/components/AppIcon/catalog/outline/v.g.js +36 -0
- package/lib/module/components/AppIcon/catalog/outline/w.g.js +37 -0
- package/lib/module/components/AppIcon/catalog/outline/x.g.js +14 -0
- package/lib/module/components/AppIcon/catalog/outline/y.g.js +12 -0
- package/lib/module/components/AppIcon/catalog/outline/z.g.js +13 -0
- package/lib/module/components/AppIcon/catalog/twotone/a.g.js +80 -0
- package/lib/module/components/AppIcon/catalog/twotone/b.g.js +85 -0
- package/lib/module/components/AppIcon/catalog/twotone/c.g.js +114 -0
- package/lib/module/components/AppIcon/catalog/twotone/d.g.js +64 -0
- package/lib/module/components/AppIcon/catalog/twotone/e.g.js +42 -0
- package/lib/module/components/AppIcon/catalog/twotone/f.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/twotone/g.g.js +50 -0
- package/lib/module/components/AppIcon/catalog/twotone/h.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/twotone/i.g.js +27 -0
- package/lib/module/components/AppIcon/catalog/twotone/j.g.js +14 -0
- package/lib/module/components/AppIcon/catalog/twotone/k.g.js +16 -0
- package/lib/module/components/AppIcon/catalog/twotone/l.g.js +48 -0
- package/lib/module/components/AppIcon/catalog/twotone/m.g.js +101 -0
- package/lib/module/components/AppIcon/catalog/twotone/n.g.js +30 -0
- package/lib/module/components/AppIcon/catalog/twotone/o.g.js +17 -0
- package/lib/module/components/AppIcon/catalog/twotone/p.g.js +56 -0
- package/lib/module/components/AppIcon/catalog/twotone/q.g.js +18 -0
- package/lib/module/components/AppIcon/catalog/twotone/r.g.js +55 -0
- package/lib/module/components/AppIcon/catalog/twotone/s.g.js +109 -0
- package/lib/module/components/AppIcon/catalog/twotone/t.g.js +70 -0
- package/lib/module/components/AppIcon/catalog/twotone/u.g.js +24 -0
- package/lib/module/components/AppIcon/catalog/twotone/v.g.js +36 -0
- package/lib/module/components/AppIcon/catalog/twotone/w.g.js +37 -0
- package/lib/module/components/AppIcon/catalog/twotone/x.g.js +14 -0
- package/lib/module/components/AppIcon/catalog/twotone/y.g.js +12 -0
- package/lib/module/components/AppIcon/catalog/twotone/z.g.js +13 -0
- package/lib/module/components/AppIcon/catalog.g.js +183 -0
- package/lib/module/components/AppIcon/defaultIcons.js +79 -0
- package/lib/module/components/AppIcon/glyphs.g.js +156 -0
- package/lib/module/components/AppIcon/index.js +6 -0
- package/lib/module/components/AppIcon/slotIcon.js +62 -0
- package/lib/module/components/AppIcon/variants.g.js +737 -0
- package/lib/module/components/AsyncBlock/AsyncBlock.js +81 -0
- package/lib/module/components/AsyncBlock/index.js +4 -0
- package/lib/module/components/AuthedImage/AuthedImage.js +226 -0
- package/lib/module/components/AuthedImage/authedImageCache.js +247 -0
- package/lib/module/components/AuthedImage/index.js +5 -0
- package/lib/module/components/Autocomplete/Autocomplete.js +222 -0
- package/lib/module/components/Autocomplete/index.js +4 -0
- package/lib/module/components/Avatar/Avatar.js +496 -0
- package/lib/module/components/Avatar/index.js +4 -0
- package/lib/module/components/Badge/Badge.js +294 -0
- package/lib/module/components/Badge/index.js +4 -0
- package/lib/module/components/Banner/Banner.js +397 -0
- package/lib/module/components/Banner/index.js +4 -0
- package/lib/module/components/BottomNavigation/BottomNavigation.js +889 -0
- package/lib/module/components/BottomNavigation/index.js +4 -0
- package/lib/module/components/BottomSheet/BottomSheet.js +727 -0
- package/lib/module/components/BottomSheet/index.js +4 -0
- package/lib/module/components/Box/Box.js +220 -0
- package/lib/module/components/Box/index.js +4 -0
- package/lib/module/components/Button/Button.js +557 -0
- package/lib/module/components/Button/index.js +4 -0
- package/lib/module/components/Card/Card.js +403 -0
- package/lib/module/components/Card/index.js +4 -0
- package/lib/module/components/Carousel/Carousel.js +581 -0
- package/lib/module/components/Carousel/index.js +4 -0
- package/lib/module/components/Checkbox/Checkbox.js +184 -0
- package/lib/module/components/Checkbox/index.js +4 -0
- package/lib/module/components/Chip/Chip.js +354 -0
- package/lib/module/components/Chip/index.js +4 -0
- package/lib/module/components/ChoiceGroup/ChoiceGroup.js +332 -0
- package/lib/module/components/ChoiceGroup/index.js +4 -0
- package/lib/module/components/Confetti/Confetti.js +377 -0
- package/lib/module/components/Confetti/index.js +4 -0
- package/lib/module/components/DatePicker/DatePicker.js +1049 -0
- package/lib/module/components/DatePicker/index.js +4 -0
- package/lib/module/components/DateRangePicker/DateRangePicker.js +791 -0
- package/lib/module/components/DateRangePicker/index.js +4 -0
- package/lib/module/components/Descriptions/Descriptions.js +101 -0
- package/lib/module/components/Descriptions/index.js +4 -0
- package/lib/module/components/Dialog/Dialog.js +243 -0
- package/lib/module/components/Dialog/index.js +4 -0
- package/lib/module/components/Divider/Divider.js +114 -0
- package/lib/module/components/Divider/index.js +4 -0
- package/lib/module/components/Drawer/Drawer.js +378 -0
- package/lib/module/components/Drawer/index.js +4 -0
- package/lib/module/components/EmptyState/EmptyState.js +232 -0
- package/lib/module/components/EmptyState/index.js +4 -0
- package/lib/module/components/ErrorBoundary/ErrorBoundary.js +130 -0
- package/lib/module/components/ErrorBoundary/index.js +6 -0
- package/lib/module/components/ErrorBoundary/useErrorHandler.js +20 -0
- package/lib/module/components/ErrorBoundary/withErrorBoundary.js +23 -0
- package/lib/module/components/FieldBase/Chevron.js +69 -0
- package/lib/module/components/FieldBase/FieldBase.js +790 -0
- package/lib/module/components/FieldBase/index.js +5 -0
- package/lib/module/components/FieldBase/useFloatingLabel.js +166 -0
- package/lib/module/components/FilePicker/FilePicker.js +791 -0
- package/lib/module/components/FilePicker/index.js +4 -0
- package/lib/module/components/FileViewer/FileViewer.js +253 -0
- package/lib/module/components/FileViewer/index.js +4 -0
- package/lib/module/components/FloatingActionButton/FloatingActionButton.js +691 -0
- package/lib/module/components/FloatingActionButton/index.js +4 -0
- package/lib/module/components/ForceUpdateDialog/ForceUpdateDialog.js +84 -0
- package/lib/module/components/ForceUpdateDialog/index.js +4 -0
- package/lib/module/components/FormField/FormField.js +166 -0
- package/lib/module/components/FormField/index.js +4 -0
- package/lib/module/components/IconButton/IconButton.js +194 -0
- package/lib/module/components/IconButton/index.js +4 -0
- package/lib/module/components/ImageGallery/ImageGallery.js +589 -0
- package/lib/module/components/ImageGallery/index.js +4 -0
- package/lib/module/components/InlineSelect/InlineSelect.js +186 -0
- package/lib/module/components/InlineSelect/index.js +4 -0
- package/lib/module/components/Input/Input.js +587 -0
- package/lib/module/components/Input/index.js +4 -0
- package/lib/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.js +164 -0
- package/lib/module/components/KeyboardAwareScrollView/index.js +4 -0
- package/lib/module/components/KeyboardToolbar/KeyboardToolbar.js +130 -0
- package/lib/module/components/KeyboardToolbar/index.js +4 -0
- package/lib/module/components/ListItem/ListItem.js +340 -0
- package/lib/module/components/ListItem/index.js +4 -0
- package/lib/module/components/LoaderOverlay/LoaderOverlay.js +196 -0
- package/lib/module/components/LoaderOverlay/index.js +4 -0
- package/lib/module/components/Markdown/Markdown.js +270 -0
- package/lib/module/components/Markdown/index.js +4 -0
- package/lib/module/components/Markdown/parse.js +223 -0
- package/lib/module/components/Modal/Modal.js +372 -0
- package/lib/module/components/Modal/index.js +4 -0
- package/lib/module/components/NumberInput/NumberInput.js +382 -0
- package/lib/module/components/NumberInput/index.js +4 -0
- package/lib/module/components/OTPInput/OTPInput.js +445 -0
- package/lib/module/components/OTPInput/index.js +4 -0
- package/lib/module/components/OptionSheet/OptionSheet.js +698 -0
- package/lib/module/components/PhoneNumberInput/PhoneNumberInput.js +569 -0
- package/lib/module/components/PhoneNumberInput/index.js +4 -0
- package/lib/module/components/PickerTrigger/PickerTrigger.js +146 -0
- package/lib/module/components/PickerTrigger/index.js +4 -0
- package/lib/module/components/ProfileCompletion/ProfileCompletion.js +211 -0
- package/lib/module/components/ProfileCompletion/index.js +4 -0
- package/lib/module/components/ProfilePicker/ProfilePicker.js +526 -0
- package/lib/module/components/ProfilePicker/index.js +4 -0
- package/lib/module/components/ProgressBar/ProgressBar.js +199 -0
- package/lib/module/components/ProgressBar/index.js +4 -0
- package/lib/module/components/ProgressRing/ProgressRing.js +187 -0
- package/lib/module/components/ProgressRing/index.js +4 -0
- package/lib/module/components/Radio/Radio.js +123 -0
- package/lib/module/components/Radio/RadioDot.js +102 -0
- package/lib/module/components/Radio/RadioGroup.js +45 -0
- package/lib/module/components/Radio/index.js +6 -0
- package/lib/module/components/Rating/Rating.js +334 -0
- package/lib/module/components/Rating/index.js +4 -0
- package/lib/module/components/Repeater/Repeater.js +162 -0
- package/lib/module/components/Repeater/index.js +4 -0
- package/lib/module/components/RichTextEditor/RichTextEditor.js +309 -0
- package/lib/module/components/RichTextEditor/index.js +5 -0
- package/lib/module/components/RichTextEditor/markdownActions.js +207 -0
- package/lib/module/components/SearchBar/SearchBar.js +241 -0
- package/lib/module/components/SearchBar/index.js +4 -0
- package/lib/module/components/SegmentedControl/SegmentedControl.js +317 -0
- package/lib/module/components/SegmentedControl/index.js +4 -0
- package/lib/module/components/Select/Select.js +273 -0
- package/lib/module/components/Select/index.js +4 -0
- package/lib/module/components/Skeleton/Skeleton.js +278 -0
- package/lib/module/components/Skeleton/SkeletonClock.js +111 -0
- package/lib/module/components/Skeleton/SkeletonContent.js +304 -0
- package/lib/module/components/Skeleton/SkeletonList.js +87 -0
- package/lib/module/components/Skeleton/SkeletonProvider.js +106 -0
- package/lib/module/components/Skeleton/SkeletonSkip.js +31 -0
- package/lib/module/components/Skeleton/index.js +9 -0
- package/lib/module/components/SlideToConfirm/SlideToConfirm.js +258 -0
- package/lib/module/components/SlideToConfirm/index.js +4 -0
- package/lib/module/components/Slider/Slider.js +805 -0
- package/lib/module/components/Slider/index.js +4 -0
- package/lib/module/components/Slider/valueText.js +258 -0
- package/lib/module/components/SliderField/SliderField.js +357 -0
- package/lib/module/components/SliderField/index.js +4 -0
- package/lib/module/components/Spinner/Spinner.js +199 -0
- package/lib/module/components/Spinner/index.js +4 -0
- package/lib/module/components/SquircleFill/SquircleFill.js +110 -0
- package/lib/module/components/StatusBadge/StatusBadge.js +229 -0
- package/lib/module/components/StatusBadge/index.js +4 -0
- package/lib/module/components/Stepper/Stepper.js +775 -0
- package/lib/module/components/Stepper/index.js +4 -0
- package/lib/module/components/Swipeable/Swipeable.js +378 -0
- package/lib/module/components/Swipeable/index.js +4 -0
- package/lib/module/components/Switch/Switch.js +230 -0
- package/lib/module/components/Switch/index.js +4 -0
- package/lib/module/components/Tabs/Tabs.js +425 -0
- package/lib/module/components/Tabs/index.js +4 -0
- package/lib/module/components/TagInput/TagInput.js +181 -0
- package/lib/module/components/TagInput/index.js +4 -0
- package/lib/module/components/Text/Text.js +142 -0
- package/lib/module/components/Text/index.js +4 -0
- package/lib/module/components/TimePicker/TimePicker.js +726 -0
- package/lib/module/components/TimePicker/index.js +4 -0
- package/lib/module/components/Timeline/Timeline.js +257 -0
- package/lib/module/components/Timeline/index.js +4 -0
- package/lib/module/components/Toast/Toast.js +321 -0
- package/lib/module/components/Toast/ToastProvider.js +192 -0
- package/lib/module/components/Toast/index.js +5 -0
- package/lib/module/components/Tooltip/Tooltip.js +407 -0
- package/lib/module/components/Tooltip/index.js +4 -0
- package/lib/module/components/Tour/Tour.js +338 -0
- package/lib/module/components/Tour/index.js +4 -0
- package/lib/module/components/ZoomableImage/ZoomableImage.js +198 -0
- package/lib/module/components/ZoomableImage/index.js +4 -0
- package/lib/module/components/index.js +79 -0
- package/lib/module/form/FormContext.js +44 -0
- package/lib/module/form/index.js +17 -0
- package/lib/module/form/path.js +84 -0
- package/lib/module/form/rules.js +59 -0
- package/lib/module/form/types.js +2 -0
- package/lib/module/form/useField.js +61 -0
- package/lib/module/form/useForm.js +360 -0
- package/lib/module/form/useFormCompletion.js +67 -0
- package/lib/module/hooks/index.js +10 -0
- package/lib/module/hooks/useControllableState.js +28 -0
- package/lib/module/hooks/useDebounce.js +12 -0
- package/lib/module/hooks/useDragToDismiss.js +137 -0
- package/lib/module/hooks/useFlickGuard.js +55 -0
- package/lib/module/hooks/usePressAnimation.js +126 -0
- package/lib/module/hooks/useReducedMotion.js +29 -0
- package/lib/module/hooks/useToggle.js +17 -0
- package/lib/module/index.js +18 -0
- package/lib/module/initUI.js +19 -0
- package/lib/module/network/NetworkStatusBanner.js +83 -0
- package/lib/module/network/index.js +4 -0
- package/lib/module/package.json +1 -0
- package/lib/module/specs/NativePdfRasterizer.js +5 -0
- package/lib/module/theme/Gradient.js +52 -0
- package/lib/module/theme/ThemeContext.js +93 -0
- package/lib/module/theme/animatedValue.js +64 -0
- package/lib/module/theme/index.js +67 -0
- package/lib/module/theme/merge.js +25 -0
- package/lib/module/theme/textStyle.js +34 -0
- package/lib/module/theme/tokens.js +702 -0
- package/lib/module/theme/types.js +4 -0
- package/lib/module/utils/color.js +52 -0
- package/lib/module/utils/corners.js +18 -0
- package/lib/module/utils/dimensions.js +4 -0
- package/lib/module/utils/feedback.js +70 -0
- package/lib/module/utils/hapticUtils.js +86 -0
- package/lib/module/utils/hashString.js +17 -0
- package/lib/module/utils/index.js +13 -0
- package/lib/module/utils/mergeRefs.js +19 -0
- package/lib/module/utils/responsive.js +97 -0
- package/lib/module/utils/shadows.js +54 -0
- package/lib/module/utils/spacing.js +82 -0
- package/lib/module/utils/squircle.js +151 -0
- package/lib/module/utils/warnUnknownProps.js +42 -0
- package/lib/typescript/commonjs/components/Accordion/Accordion.d.ts +48 -0
- package/lib/typescript/commonjs/components/Accordion/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/AmountSlider/AmountSlider.d.ts +60 -0
- package/lib/typescript/commonjs/components/AmountSlider/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/AnimatePresence/AnimatePresence.d.ts +30 -0
- package/lib/typescript/commonjs/components/AnimatePresence/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +50 -0
- package/lib/typescript/commonjs/components/AppBar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/AppIcon/AppIcon.d.ts +55 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/a.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/b.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/c.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/d.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/e.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/f.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/g.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/h.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/i.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/j.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/k.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/l.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/m.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/n.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/o.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/p.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/q.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/r.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/s.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/t.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/u.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/v.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/w.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/x.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/y.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bold/z.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/a.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/b.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/c.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/d.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/e.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/f.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/g.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/h.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/i.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/j.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/k.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/l.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/m.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/n.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/o.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/p.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/q.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/r.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/s.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/t.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/u.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/v.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/w.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/x.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/y.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/broken/z.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/a.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/b.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/c.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/d.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/e.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/f.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/g.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/h.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/i.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/j.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/k.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/l.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/m.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/n.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/o.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/p.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/q.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/r.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/s.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/t.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/u.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/v.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/w.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/x.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/y.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/bulk/z.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/a.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/b.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/c.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/d.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/e.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/f.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/g.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/h.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/i.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/j.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/k.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/l.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/m.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/n.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/o.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/p.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/q.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/r.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/s.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/t.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/u.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/v.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/w.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/x.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/y.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/linear/z.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/a.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/b.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/c.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/d.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/e.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/f.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/g.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/h.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/i.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/j.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/k.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/l.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/m.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/n.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/o.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/p.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/q.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/r.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/s.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/t.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/u.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/v.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/w.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/x.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/y.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/outline/z.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/a.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/b.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/c.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/d.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/e.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/f.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/g.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/h.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/i.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/j.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/k.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/l.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/m.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/n.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/o.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/p.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/q.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/r.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/s.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/t.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/u.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/v.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/w.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/x.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/y.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog/twotone/z.g.d.ts +2 -0
- package/lib/typescript/commonjs/components/AppIcon/catalog.g.d.ts +7 -0
- package/lib/typescript/commonjs/components/AppIcon/defaultIcons.d.ts +10 -0
- package/lib/typescript/commonjs/components/AppIcon/glyphs.g.d.ts +149 -0
- package/lib/typescript/commonjs/components/AppIcon/index.d.ts +6 -0
- package/lib/typescript/commonjs/components/AppIcon/slotIcon.d.ts +42 -0
- package/lib/typescript/commonjs/components/AppIcon/variants.g.d.ts +3 -0
- package/lib/typescript/commonjs/components/AsyncBlock/AsyncBlock.d.ts +39 -0
- package/lib/typescript/commonjs/components/AsyncBlock/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/AuthedImage/AuthedImage.d.ts +29 -0
- package/lib/typescript/commonjs/components/AuthedImage/authedImageCache.d.ts +51 -0
- package/lib/typescript/commonjs/components/AuthedImage/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/Autocomplete/Autocomplete.d.ts +53 -0
- package/lib/typescript/commonjs/components/Autocomplete/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +99 -0
- package/lib/typescript/commonjs/components/Avatar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Badge/Badge.d.ts +34 -0
- package/lib/typescript/commonjs/components/Badge/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Banner/Banner.d.ts +47 -0
- package/lib/typescript/commonjs/components/Banner/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +212 -0
- package/lib/typescript/commonjs/components/BottomNavigation/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +120 -0
- package/lib/typescript/commonjs/components/BottomSheet/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Box/Box.d.ts +59 -0
- package/lib/typescript/commonjs/components/Box/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Button/Button.d.ts +73 -0
- package/lib/typescript/commonjs/components/Button/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Card/Card.d.ts +63 -0
- package/lib/typescript/commonjs/components/Card/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Carousel/Carousel.d.ts +77 -0
- package/lib/typescript/commonjs/components/Carousel/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +32 -0
- package/lib/typescript/commonjs/components/Checkbox/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Chip/Chip.d.ts +47 -0
- package/lib/typescript/commonjs/components/Chip/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +120 -0
- package/lib/typescript/commonjs/components/ChoiceGroup/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Confetti/Confetti.d.ts +117 -0
- package/lib/typescript/commonjs/components/Confetti/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/DatePicker/DatePicker.d.ts +63 -0
- package/lib/typescript/commonjs/components/DatePicker/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +69 -0
- package/lib/typescript/commonjs/components/DateRangePicker/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Descriptions/Descriptions.d.ts +30 -0
- package/lib/typescript/commonjs/components/Descriptions/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Dialog/Dialog.d.ts +45 -0
- package/lib/typescript/commonjs/components/Dialog/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Divider/Divider.d.ts +19 -0
- package/lib/typescript/commonjs/components/Divider/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Drawer/Drawer.d.ts +56 -0
- package/lib/typescript/commonjs/components/Drawer/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/EmptyState/EmptyState.d.ts +24 -0
- package/lib/typescript/commonjs/components/EmptyState/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ErrorBoundary/ErrorBoundary.d.ts +38 -0
- package/lib/typescript/commonjs/components/ErrorBoundary/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/ErrorBoundary/useErrorHandler.d.ts +9 -0
- package/lib/typescript/commonjs/components/ErrorBoundary/withErrorBoundary.d.ts +9 -0
- package/lib/typescript/commonjs/components/FieldBase/Chevron.d.ts +22 -0
- package/lib/typescript/commonjs/components/FieldBase/FieldBase.d.ts +275 -0
- package/lib/typescript/commonjs/components/FieldBase/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/FieldBase/useFloatingLabel.d.ts +53 -0
- package/lib/typescript/commonjs/components/FilePicker/FilePicker.d.ts +156 -0
- package/lib/typescript/commonjs/components/FilePicker/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/FileViewer/FileViewer.d.ts +42 -0
- package/lib/typescript/commonjs/components/FileViewer/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +66 -0
- package/lib/typescript/commonjs/components/FloatingActionButton/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +47 -0
- package/lib/typescript/commonjs/components/ForceUpdateDialog/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/FormField/FormField.d.ts +49 -0
- package/lib/typescript/commonjs/components/FormField/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/IconButton/IconButton.d.ts +40 -0
- package/lib/typescript/commonjs/components/IconButton/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ImageGallery/ImageGallery.d.ts +55 -0
- package/lib/typescript/commonjs/components/ImageGallery/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/InlineSelect/InlineSelect.d.ts +96 -0
- package/lib/typescript/commonjs/components/InlineSelect/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Input/Input.d.ts +142 -0
- package/lib/typescript/commonjs/components/Input/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +35 -0
- package/lib/typescript/commonjs/components/KeyboardAwareScrollView/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/KeyboardToolbar/KeyboardToolbar.d.ts +29 -0
- package/lib/typescript/commonjs/components/KeyboardToolbar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +46 -0
- package/lib/typescript/commonjs/components/ListItem/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/LoaderOverlay/LoaderOverlay.d.ts +25 -0
- package/lib/typescript/commonjs/components/LoaderOverlay/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Markdown/Markdown.d.ts +29 -0
- package/lib/typescript/commonjs/components/Markdown/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Markdown/parse.d.ts +58 -0
- package/lib/typescript/commonjs/components/Modal/Modal.d.ts +47 -0
- package/lib/typescript/commonjs/components/Modal/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +42 -0
- package/lib/typescript/commonjs/components/NumberInput/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/OTPInput/OTPInput.d.ts +35 -0
- package/lib/typescript/commonjs/components/OTPInput/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/OptionSheet/OptionSheet.d.ts +107 -0
- package/lib/typescript/commonjs/components/PhoneNumberInput/PhoneNumberInput.d.ts +178 -0
- package/lib/typescript/commonjs/components/PhoneNumberInput/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +60 -0
- package/lib/typescript/commonjs/components/PickerTrigger/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ProfileCompletion/ProfileCompletion.d.ts +84 -0
- package/lib/typescript/commonjs/components/ProfileCompletion/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ProfilePicker/ProfilePicker.d.ts +124 -0
- package/lib/typescript/commonjs/components/ProfilePicker/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +33 -0
- package/lib/typescript/commonjs/components/ProgressBar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ProgressRing/ProgressRing.d.ts +53 -0
- package/lib/typescript/commonjs/components/ProgressRing/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Radio/Radio.d.ts +33 -0
- package/lib/typescript/commonjs/components/Radio/RadioDot.d.ts +24 -0
- package/lib/typescript/commonjs/components/Radio/RadioGroup.d.ts +17 -0
- package/lib/typescript/commonjs/components/Radio/index.d.ts +7 -0
- package/lib/typescript/commonjs/components/Rating/Rating.d.ts +37 -0
- package/lib/typescript/commonjs/components/Rating/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Repeater/Repeater.d.ts +43 -0
- package/lib/typescript/commonjs/components/Repeater/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/RichTextEditor/RichTextEditor.d.ts +48 -0
- package/lib/typescript/commonjs/components/RichTextEditor/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/RichTextEditor/markdownActions.d.ts +35 -0
- package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +45 -0
- package/lib/typescript/commonjs/components/SearchBar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +95 -0
- package/lib/typescript/commonjs/components/SegmentedControl/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Select/Select.d.ts +112 -0
- package/lib/typescript/commonjs/components/Select/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Skeleton/Skeleton.d.ts +80 -0
- package/lib/typescript/commonjs/components/Skeleton/SkeletonClock.d.ts +60 -0
- package/lib/typescript/commonjs/components/Skeleton/SkeletonContent.d.ts +102 -0
- package/lib/typescript/commonjs/components/Skeleton/SkeletonList.d.ts +30 -0
- package/lib/typescript/commonjs/components/Skeleton/SkeletonProvider.d.ts +66 -0
- package/lib/typescript/commonjs/components/Skeleton/SkeletonSkip.d.ts +25 -0
- package/lib/typescript/commonjs/components/Skeleton/index.d.ts +13 -0
- package/lib/typescript/commonjs/components/SlideToConfirm/SlideToConfirm.d.ts +33 -0
- package/lib/typescript/commonjs/components/SlideToConfirm/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Slider/Slider.d.ts +89 -0
- package/lib/typescript/commonjs/components/Slider/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Slider/valueText.d.ts +84 -0
- package/lib/typescript/commonjs/components/SliderField/SliderField.d.ts +82 -0
- package/lib/typescript/commonjs/components/SliderField/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +19 -0
- package/lib/typescript/commonjs/components/Spinner/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/SquircleFill/SquircleFill.d.ts +69 -0
- package/lib/typescript/commonjs/components/StatusBadge/StatusBadge.d.ts +48 -0
- package/lib/typescript/commonjs/components/StatusBadge/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +77 -0
- package/lib/typescript/commonjs/components/Stepper/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Swipeable/Swipeable.d.ts +50 -0
- package/lib/typescript/commonjs/components/Swipeable/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Switch/Switch.d.ts +29 -0
- package/lib/typescript/commonjs/components/Switch/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +99 -0
- package/lib/typescript/commonjs/components/Tabs/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/TagInput/TagInput.d.ts +36 -0
- package/lib/typescript/commonjs/components/TagInput/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Text/Text.d.ts +24 -0
- package/lib/typescript/commonjs/components/Text/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/TimePicker/TimePicker.d.ts +62 -0
- package/lib/typescript/commonjs/components/TimePicker/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Timeline/Timeline.d.ts +62 -0
- package/lib/typescript/commonjs/components/Timeline/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Toast/Toast.d.ts +44 -0
- package/lib/typescript/commonjs/components/Toast/ToastProvider.d.ts +26 -0
- package/lib/typescript/commonjs/components/Toast/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts +28 -0
- package/lib/typescript/commonjs/components/Tooltip/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Tour/Tour.d.ts +59 -0
- package/lib/typescript/commonjs/components/Tour/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ZoomableImage/ZoomableImage.d.ts +47 -0
- package/lib/typescript/commonjs/components/ZoomableImage/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/index.d.ts +153 -0
- package/lib/typescript/commonjs/form/FormContext.d.ts +27 -0
- package/lib/typescript/commonjs/form/index.d.ts +12 -0
- package/lib/typescript/commonjs/form/path.d.ts +10 -0
- package/lib/typescript/commonjs/form/rules.d.ts +37 -0
- package/lib/typescript/commonjs/form/types.d.ts +94 -0
- package/lib/typescript/commonjs/form/useField.d.ts +27 -0
- package/lib/typescript/commonjs/form/useForm.d.ts +10 -0
- package/lib/typescript/commonjs/form/useFormCompletion.d.ts +45 -0
- package/lib/typescript/commonjs/hooks/index.d.ts +12 -0
- package/lib/typescript/commonjs/hooks/useControllableState.d.ts +17 -0
- package/lib/typescript/commonjs/hooks/useDebounce.d.ts +2 -0
- package/lib/typescript/commonjs/hooks/useDragToDismiss.d.ts +64 -0
- package/lib/typescript/commonjs/hooks/useFlickGuard.d.ts +22 -0
- package/lib/typescript/commonjs/hooks/usePressAnimation.d.ts +54 -0
- package/lib/typescript/commonjs/hooks/useReducedMotion.d.ts +8 -0
- package/lib/typescript/commonjs/hooks/useToggle.d.ts +9 -0
- package/lib/typescript/commonjs/index.d.ts +16 -0
- package/lib/typescript/commonjs/initUI.d.ts +12 -0
- package/lib/typescript/commonjs/network/NetworkStatusBanner.d.ts +19 -0
- package/lib/typescript/commonjs/network/index.d.ts +3 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/specs/NativePdfRasterizer.d.ts +40 -0
- package/lib/typescript/commonjs/theme/Gradient.d.ts +26 -0
- package/lib/typescript/commonjs/theme/ThemeContext.d.ts +18 -0
- package/lib/typescript/commonjs/theme/animatedValue.d.ts +47 -0
- package/lib/typescript/commonjs/theme/index.d.ts +33 -0
- package/lib/typescript/commonjs/theme/merge.d.ts +3 -0
- package/lib/typescript/commonjs/theme/textStyle.d.ts +18 -0
- package/lib/typescript/commonjs/theme/tokens.d.ts +4 -0
- package/lib/typescript/commonjs/theme/types.d.ts +1111 -0
- package/lib/typescript/commonjs/utils/color.d.ts +25 -0
- package/lib/typescript/commonjs/utils/corners.d.ts +16 -0
- package/lib/typescript/commonjs/utils/dimensions.d.ts +3 -0
- package/lib/typescript/commonjs/utils/feedback.d.ts +45 -0
- package/lib/typescript/commonjs/utils/hapticUtils.d.ts +16 -0
- package/lib/typescript/commonjs/utils/hashString.d.ts +6 -0
- package/lib/typescript/commonjs/utils/index.d.ts +16 -0
- package/lib/typescript/commonjs/utils/mergeRefs.d.ts +10 -0
- package/lib/typescript/commonjs/utils/responsive.d.ts +47 -0
- package/lib/typescript/commonjs/utils/shadows.d.ts +22 -0
- package/lib/typescript/commonjs/utils/spacing.d.ts +61 -0
- package/lib/typescript/commonjs/utils/squircle.d.ts +65 -0
- package/lib/typescript/commonjs/utils/warnUnknownProps.d.ts +20 -0
- package/lib/typescript/module/components/Accordion/Accordion.d.ts +48 -0
- package/lib/typescript/module/components/Accordion/index.d.ts +3 -0
- package/lib/typescript/module/components/AmountSlider/AmountSlider.d.ts +60 -0
- package/lib/typescript/module/components/AmountSlider/index.d.ts +3 -0
- package/lib/typescript/module/components/AnimatePresence/AnimatePresence.d.ts +30 -0
- package/lib/typescript/module/components/AnimatePresence/index.d.ts +3 -0
- package/lib/typescript/module/components/AppBar/AppBar.d.ts +50 -0
- package/lib/typescript/module/components/AppBar/index.d.ts +3 -0
- package/lib/typescript/module/components/AppIcon/AppIcon.d.ts +55 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/a.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/b.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/c.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/d.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/e.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/f.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/g.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/h.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/i.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/j.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/k.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/l.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/m.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/n.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/o.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/p.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/q.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/r.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/s.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/t.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/u.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/v.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/w.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/x.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/y.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bold/z.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/a.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/b.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/c.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/d.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/e.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/f.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/g.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/h.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/i.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/j.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/k.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/l.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/m.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/n.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/o.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/p.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/q.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/r.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/s.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/t.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/u.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/v.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/w.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/x.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/y.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/broken/z.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/a.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/b.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/c.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/d.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/e.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/f.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/g.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/h.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/i.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/j.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/k.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/l.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/m.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/n.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/o.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/p.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/q.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/r.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/s.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/t.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/u.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/v.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/w.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/x.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/y.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/bulk/z.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/a.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/b.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/c.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/d.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/e.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/f.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/g.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/h.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/i.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/j.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/k.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/l.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/m.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/n.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/o.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/p.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/q.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/r.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/s.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/t.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/u.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/v.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/w.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/x.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/y.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/linear/z.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/a.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/b.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/c.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/d.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/e.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/f.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/g.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/h.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/i.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/j.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/k.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/l.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/m.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/n.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/o.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/p.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/q.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/r.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/s.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/t.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/u.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/v.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/w.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/x.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/y.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/outline/z.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/a.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/b.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/c.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/d.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/e.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/f.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/g.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/h.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/i.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/j.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/k.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/l.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/m.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/n.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/o.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/p.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/q.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/r.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/s.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/t.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/u.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/v.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/w.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/x.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/y.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog/twotone/z.g.d.ts +2 -0
- package/lib/typescript/module/components/AppIcon/catalog.g.d.ts +7 -0
- package/lib/typescript/module/components/AppIcon/defaultIcons.d.ts +10 -0
- package/lib/typescript/module/components/AppIcon/glyphs.g.d.ts +149 -0
- package/lib/typescript/module/components/AppIcon/index.d.ts +6 -0
- package/lib/typescript/module/components/AppIcon/slotIcon.d.ts +42 -0
- package/lib/typescript/module/components/AppIcon/variants.g.d.ts +3 -0
- package/lib/typescript/module/components/AsyncBlock/AsyncBlock.d.ts +39 -0
- package/lib/typescript/module/components/AsyncBlock/index.d.ts +3 -0
- package/lib/typescript/module/components/AuthedImage/AuthedImage.d.ts +29 -0
- package/lib/typescript/module/components/AuthedImage/authedImageCache.d.ts +51 -0
- package/lib/typescript/module/components/AuthedImage/index.d.ts +5 -0
- package/lib/typescript/module/components/Autocomplete/Autocomplete.d.ts +53 -0
- package/lib/typescript/module/components/Autocomplete/index.d.ts +3 -0
- package/lib/typescript/module/components/Avatar/Avatar.d.ts +99 -0
- package/lib/typescript/module/components/Avatar/index.d.ts +3 -0
- package/lib/typescript/module/components/Badge/Badge.d.ts +34 -0
- package/lib/typescript/module/components/Badge/index.d.ts +3 -0
- package/lib/typescript/module/components/Banner/Banner.d.ts +47 -0
- package/lib/typescript/module/components/Banner/index.d.ts +3 -0
- package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +212 -0
- package/lib/typescript/module/components/BottomNavigation/index.d.ts +3 -0
- package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +120 -0
- package/lib/typescript/module/components/BottomSheet/index.d.ts +3 -0
- package/lib/typescript/module/components/Box/Box.d.ts +59 -0
- package/lib/typescript/module/components/Box/index.d.ts +3 -0
- package/lib/typescript/module/components/Button/Button.d.ts +73 -0
- package/lib/typescript/module/components/Button/index.d.ts +3 -0
- package/lib/typescript/module/components/Card/Card.d.ts +63 -0
- package/lib/typescript/module/components/Card/index.d.ts +3 -0
- package/lib/typescript/module/components/Carousel/Carousel.d.ts +77 -0
- package/lib/typescript/module/components/Carousel/index.d.ts +3 -0
- package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +32 -0
- package/lib/typescript/module/components/Checkbox/index.d.ts +3 -0
- package/lib/typescript/module/components/Chip/Chip.d.ts +47 -0
- package/lib/typescript/module/components/Chip/index.d.ts +3 -0
- package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +120 -0
- package/lib/typescript/module/components/ChoiceGroup/index.d.ts +3 -0
- package/lib/typescript/module/components/Confetti/Confetti.d.ts +117 -0
- package/lib/typescript/module/components/Confetti/index.d.ts +3 -0
- package/lib/typescript/module/components/DatePicker/DatePicker.d.ts +63 -0
- package/lib/typescript/module/components/DatePicker/index.d.ts +3 -0
- package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +69 -0
- package/lib/typescript/module/components/DateRangePicker/index.d.ts +3 -0
- package/lib/typescript/module/components/Descriptions/Descriptions.d.ts +30 -0
- package/lib/typescript/module/components/Descriptions/index.d.ts +3 -0
- package/lib/typescript/module/components/Dialog/Dialog.d.ts +45 -0
- package/lib/typescript/module/components/Dialog/index.d.ts +3 -0
- package/lib/typescript/module/components/Divider/Divider.d.ts +19 -0
- package/lib/typescript/module/components/Divider/index.d.ts +3 -0
- package/lib/typescript/module/components/Drawer/Drawer.d.ts +56 -0
- package/lib/typescript/module/components/Drawer/index.d.ts +3 -0
- package/lib/typescript/module/components/EmptyState/EmptyState.d.ts +24 -0
- package/lib/typescript/module/components/EmptyState/index.d.ts +3 -0
- package/lib/typescript/module/components/ErrorBoundary/ErrorBoundary.d.ts +38 -0
- package/lib/typescript/module/components/ErrorBoundary/index.d.ts +5 -0
- package/lib/typescript/module/components/ErrorBoundary/useErrorHandler.d.ts +9 -0
- package/lib/typescript/module/components/ErrorBoundary/withErrorBoundary.d.ts +9 -0
- package/lib/typescript/module/components/FieldBase/Chevron.d.ts +22 -0
- package/lib/typescript/module/components/FieldBase/FieldBase.d.ts +275 -0
- package/lib/typescript/module/components/FieldBase/index.d.ts +5 -0
- package/lib/typescript/module/components/FieldBase/useFloatingLabel.d.ts +53 -0
- package/lib/typescript/module/components/FilePicker/FilePicker.d.ts +156 -0
- package/lib/typescript/module/components/FilePicker/index.d.ts +3 -0
- package/lib/typescript/module/components/FileViewer/FileViewer.d.ts +42 -0
- package/lib/typescript/module/components/FileViewer/index.d.ts +3 -0
- package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +66 -0
- package/lib/typescript/module/components/FloatingActionButton/index.d.ts +3 -0
- package/lib/typescript/module/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +47 -0
- package/lib/typescript/module/components/ForceUpdateDialog/index.d.ts +3 -0
- package/lib/typescript/module/components/FormField/FormField.d.ts +49 -0
- package/lib/typescript/module/components/FormField/index.d.ts +3 -0
- package/lib/typescript/module/components/IconButton/IconButton.d.ts +40 -0
- package/lib/typescript/module/components/IconButton/index.d.ts +3 -0
- package/lib/typescript/module/components/ImageGallery/ImageGallery.d.ts +55 -0
- package/lib/typescript/module/components/ImageGallery/index.d.ts +3 -0
- package/lib/typescript/module/components/InlineSelect/InlineSelect.d.ts +96 -0
- package/lib/typescript/module/components/InlineSelect/index.d.ts +3 -0
- package/lib/typescript/module/components/Input/Input.d.ts +142 -0
- package/lib/typescript/module/components/Input/index.d.ts +3 -0
- package/lib/typescript/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +35 -0
- package/lib/typescript/module/components/KeyboardAwareScrollView/index.d.ts +3 -0
- package/lib/typescript/module/components/KeyboardToolbar/KeyboardToolbar.d.ts +29 -0
- package/lib/typescript/module/components/KeyboardToolbar/index.d.ts +3 -0
- package/lib/typescript/module/components/ListItem/ListItem.d.ts +46 -0
- package/lib/typescript/module/components/ListItem/index.d.ts +4 -0
- package/lib/typescript/module/components/LoaderOverlay/LoaderOverlay.d.ts +25 -0
- package/lib/typescript/module/components/LoaderOverlay/index.d.ts +3 -0
- package/lib/typescript/module/components/Markdown/Markdown.d.ts +29 -0
- package/lib/typescript/module/components/Markdown/index.d.ts +3 -0
- package/lib/typescript/module/components/Markdown/parse.d.ts +58 -0
- package/lib/typescript/module/components/Modal/Modal.d.ts +47 -0
- package/lib/typescript/module/components/Modal/index.d.ts +3 -0
- package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +42 -0
- package/lib/typescript/module/components/NumberInput/index.d.ts +3 -0
- package/lib/typescript/module/components/OTPInput/OTPInput.d.ts +35 -0
- package/lib/typescript/module/components/OTPInput/index.d.ts +3 -0
- package/lib/typescript/module/components/OptionSheet/OptionSheet.d.ts +107 -0
- package/lib/typescript/module/components/PhoneNumberInput/PhoneNumberInput.d.ts +178 -0
- package/lib/typescript/module/components/PhoneNumberInput/index.d.ts +3 -0
- package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +60 -0
- package/lib/typescript/module/components/PickerTrigger/index.d.ts +3 -0
- package/lib/typescript/module/components/ProfileCompletion/ProfileCompletion.d.ts +84 -0
- package/lib/typescript/module/components/ProfileCompletion/index.d.ts +3 -0
- package/lib/typescript/module/components/ProfilePicker/ProfilePicker.d.ts +124 -0
- package/lib/typescript/module/components/ProfilePicker/index.d.ts +3 -0
- package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +33 -0
- package/lib/typescript/module/components/ProgressBar/index.d.ts +3 -0
- package/lib/typescript/module/components/ProgressRing/ProgressRing.d.ts +53 -0
- package/lib/typescript/module/components/ProgressRing/index.d.ts +3 -0
- package/lib/typescript/module/components/Radio/Radio.d.ts +33 -0
- package/lib/typescript/module/components/Radio/RadioDot.d.ts +24 -0
- package/lib/typescript/module/components/Radio/RadioGroup.d.ts +17 -0
- package/lib/typescript/module/components/Radio/index.d.ts +7 -0
- package/lib/typescript/module/components/Rating/Rating.d.ts +37 -0
- package/lib/typescript/module/components/Rating/index.d.ts +3 -0
- package/lib/typescript/module/components/Repeater/Repeater.d.ts +43 -0
- package/lib/typescript/module/components/Repeater/index.d.ts +3 -0
- package/lib/typescript/module/components/RichTextEditor/RichTextEditor.d.ts +48 -0
- package/lib/typescript/module/components/RichTextEditor/index.d.ts +5 -0
- package/lib/typescript/module/components/RichTextEditor/markdownActions.d.ts +35 -0
- package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +45 -0
- package/lib/typescript/module/components/SearchBar/index.d.ts +3 -0
- package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +95 -0
- package/lib/typescript/module/components/SegmentedControl/index.d.ts +3 -0
- package/lib/typescript/module/components/Select/Select.d.ts +112 -0
- package/lib/typescript/module/components/Select/index.d.ts +3 -0
- package/lib/typescript/module/components/Skeleton/Skeleton.d.ts +80 -0
- package/lib/typescript/module/components/Skeleton/SkeletonClock.d.ts +60 -0
- package/lib/typescript/module/components/Skeleton/SkeletonContent.d.ts +102 -0
- package/lib/typescript/module/components/Skeleton/SkeletonList.d.ts +30 -0
- package/lib/typescript/module/components/Skeleton/SkeletonProvider.d.ts +66 -0
- package/lib/typescript/module/components/Skeleton/SkeletonSkip.d.ts +25 -0
- package/lib/typescript/module/components/Skeleton/index.d.ts +13 -0
- package/lib/typescript/module/components/SlideToConfirm/SlideToConfirm.d.ts +33 -0
- package/lib/typescript/module/components/SlideToConfirm/index.d.ts +3 -0
- package/lib/typescript/module/components/Slider/Slider.d.ts +89 -0
- package/lib/typescript/module/components/Slider/index.d.ts +3 -0
- package/lib/typescript/module/components/Slider/valueText.d.ts +84 -0
- package/lib/typescript/module/components/SliderField/SliderField.d.ts +82 -0
- package/lib/typescript/module/components/SliderField/index.d.ts +3 -0
- package/lib/typescript/module/components/Spinner/Spinner.d.ts +19 -0
- package/lib/typescript/module/components/Spinner/index.d.ts +3 -0
- package/lib/typescript/module/components/SquircleFill/SquircleFill.d.ts +69 -0
- package/lib/typescript/module/components/StatusBadge/StatusBadge.d.ts +48 -0
- package/lib/typescript/module/components/StatusBadge/index.d.ts +3 -0
- package/lib/typescript/module/components/Stepper/Stepper.d.ts +77 -0
- package/lib/typescript/module/components/Stepper/index.d.ts +3 -0
- package/lib/typescript/module/components/Swipeable/Swipeable.d.ts +50 -0
- package/lib/typescript/module/components/Swipeable/index.d.ts +3 -0
- package/lib/typescript/module/components/Switch/Switch.d.ts +29 -0
- package/lib/typescript/module/components/Switch/index.d.ts +3 -0
- package/lib/typescript/module/components/Tabs/Tabs.d.ts +99 -0
- package/lib/typescript/module/components/Tabs/index.d.ts +3 -0
- package/lib/typescript/module/components/TagInput/TagInput.d.ts +36 -0
- package/lib/typescript/module/components/TagInput/index.d.ts +3 -0
- package/lib/typescript/module/components/Text/Text.d.ts +24 -0
- package/lib/typescript/module/components/Text/index.d.ts +3 -0
- package/lib/typescript/module/components/TimePicker/TimePicker.d.ts +62 -0
- package/lib/typescript/module/components/TimePicker/index.d.ts +3 -0
- package/lib/typescript/module/components/Timeline/Timeline.d.ts +62 -0
- package/lib/typescript/module/components/Timeline/index.d.ts +3 -0
- package/lib/typescript/module/components/Toast/Toast.d.ts +44 -0
- package/lib/typescript/module/components/Toast/ToastProvider.d.ts +26 -0
- package/lib/typescript/module/components/Toast/index.d.ts +5 -0
- package/lib/typescript/module/components/Tooltip/Tooltip.d.ts +28 -0
- package/lib/typescript/module/components/Tooltip/index.d.ts +3 -0
- package/lib/typescript/module/components/Tour/Tour.d.ts +59 -0
- package/lib/typescript/module/components/Tour/index.d.ts +3 -0
- package/lib/typescript/module/components/ZoomableImage/ZoomableImage.d.ts +47 -0
- package/lib/typescript/module/components/ZoomableImage/index.d.ts +3 -0
- package/lib/typescript/module/components/index.d.ts +153 -0
- package/lib/typescript/module/form/FormContext.d.ts +27 -0
- package/lib/typescript/module/form/index.d.ts +12 -0
- package/lib/typescript/module/form/path.d.ts +10 -0
- package/lib/typescript/module/form/rules.d.ts +37 -0
- package/lib/typescript/module/form/types.d.ts +94 -0
- package/lib/typescript/module/form/useField.d.ts +27 -0
- package/lib/typescript/module/form/useForm.d.ts +10 -0
- package/lib/typescript/module/form/useFormCompletion.d.ts +45 -0
- package/lib/typescript/module/hooks/index.d.ts +12 -0
- package/lib/typescript/module/hooks/useControllableState.d.ts +17 -0
- package/lib/typescript/module/hooks/useDebounce.d.ts +2 -0
- package/lib/typescript/module/hooks/useDragToDismiss.d.ts +64 -0
- package/lib/typescript/module/hooks/useFlickGuard.d.ts +22 -0
- package/lib/typescript/module/hooks/usePressAnimation.d.ts +54 -0
- package/lib/typescript/module/hooks/useReducedMotion.d.ts +8 -0
- package/lib/typescript/module/hooks/useToggle.d.ts +9 -0
- package/lib/typescript/module/index.d.ts +16 -0
- package/lib/typescript/module/initUI.d.ts +12 -0
- package/lib/typescript/module/network/NetworkStatusBanner.d.ts +19 -0
- package/lib/typescript/module/network/index.d.ts +3 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/specs/NativePdfRasterizer.d.ts +40 -0
- package/lib/typescript/module/theme/Gradient.d.ts +26 -0
- package/lib/typescript/module/theme/ThemeContext.d.ts +18 -0
- package/lib/typescript/module/theme/animatedValue.d.ts +47 -0
- package/lib/typescript/module/theme/index.d.ts +33 -0
- package/lib/typescript/module/theme/merge.d.ts +3 -0
- package/lib/typescript/module/theme/textStyle.d.ts +18 -0
- package/lib/typescript/module/theme/tokens.d.ts +4 -0
- package/lib/typescript/module/theme/types.d.ts +1111 -0
- package/lib/typescript/module/utils/color.d.ts +25 -0
- package/lib/typescript/module/utils/corners.d.ts +16 -0
- package/lib/typescript/module/utils/dimensions.d.ts +3 -0
- package/lib/typescript/module/utils/feedback.d.ts +45 -0
- package/lib/typescript/module/utils/hapticUtils.d.ts +16 -0
- package/lib/typescript/module/utils/hashString.d.ts +6 -0
- package/lib/typescript/module/utils/index.d.ts +16 -0
- package/lib/typescript/module/utils/mergeRefs.d.ts +10 -0
- package/lib/typescript/module/utils/responsive.d.ts +47 -0
- package/lib/typescript/module/utils/shadows.d.ts +22 -0
- package/lib/typescript/module/utils/spacing.d.ts +61 -0
- package/lib/typescript/module/utils/squircle.d.ts +65 -0
- package/lib/typescript/module/utils/warnUnknownProps.d.ts +20 -0
- package/package.json +107 -4
- package/src/specs/NativePdfRasterizer.ts +46 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Immutable get/set/delete for dot- and bracket-notation field paths
|
|
5
|
+
* ("address.city", "phones[0]", "items[2].qty"). Lets a single flat `name`
|
|
6
|
+
* string address nested values and array items, so the form engine can treat
|
|
7
|
+
* every field uniformly regardless of how deep it lives in the value tree.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
const tokenize = path => {
|
|
11
|
+
const tokens = [];
|
|
12
|
+
const re = /[^.[\]]+/g;
|
|
13
|
+
let m;
|
|
14
|
+
while ((m = re.exec(path)) !== null) {
|
|
15
|
+
const raw = m[0];
|
|
16
|
+
tokens.push(/^\d+$/.test(raw) ? Number(raw) : raw);
|
|
17
|
+
}
|
|
18
|
+
return tokens;
|
|
19
|
+
};
|
|
20
|
+
export const getPath = (obj, path) => {
|
|
21
|
+
const tokens = tokenize(path);
|
|
22
|
+
let cur = obj;
|
|
23
|
+
for (const t of tokens) {
|
|
24
|
+
if (cur == null || typeof cur !== 'object') {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
cur = cur[t];
|
|
28
|
+
}
|
|
29
|
+
return cur;
|
|
30
|
+
};
|
|
31
|
+
export const setPath = (obj, path, value) => {
|
|
32
|
+
const tokens = tokenize(path);
|
|
33
|
+
if (tokens.length === 0) {
|
|
34
|
+
return obj;
|
|
35
|
+
}
|
|
36
|
+
const root = Array.isArray(obj) ? [...obj] : {
|
|
37
|
+
...obj
|
|
38
|
+
};
|
|
39
|
+
let cur = root;
|
|
40
|
+
for (let i = 0; i < tokens.length - 1; i++) {
|
|
41
|
+
const t = tokens[i];
|
|
42
|
+
const next = tokens[i + 1];
|
|
43
|
+
const child = cur[t];
|
|
44
|
+
// Clone the existing branch so we never mutate the previous value tree;
|
|
45
|
+
// create the right container shape when the branch is missing.
|
|
46
|
+
const cloned = child != null && typeof child === 'object' ? Array.isArray(child) ? [...child] : {
|
|
47
|
+
...child
|
|
48
|
+
} : typeof next === 'number' ? [] : {};
|
|
49
|
+
cur[t] = cloned;
|
|
50
|
+
cur = cloned;
|
|
51
|
+
}
|
|
52
|
+
cur[tokens[tokens.length - 1]] = value;
|
|
53
|
+
return root;
|
|
54
|
+
};
|
|
55
|
+
export const deletePath = (obj, path) => {
|
|
56
|
+
const tokens = tokenize(path);
|
|
57
|
+
if (tokens.length === 0) {
|
|
58
|
+
return obj;
|
|
59
|
+
}
|
|
60
|
+
const root = Array.isArray(obj) ? [...obj] : {
|
|
61
|
+
...obj
|
|
62
|
+
};
|
|
63
|
+
let cur = root;
|
|
64
|
+
for (let i = 0; i < tokens.length - 1; i++) {
|
|
65
|
+
const t = tokens[i];
|
|
66
|
+
const child = cur[t];
|
|
67
|
+
if (child == null || typeof child !== 'object') {
|
|
68
|
+
return root;
|
|
69
|
+
}
|
|
70
|
+
const cloned = Array.isArray(child) ? [...child] : {
|
|
71
|
+
...child
|
|
72
|
+
};
|
|
73
|
+
cur[t] = cloned;
|
|
74
|
+
cur = cloned;
|
|
75
|
+
}
|
|
76
|
+
const last = tokens[tokens.length - 1];
|
|
77
|
+
if (Array.isArray(cur) && typeof last === 'number') {
|
|
78
|
+
cur.splice(last, 1);
|
|
79
|
+
} else {
|
|
80
|
+
delete cur[last];
|
|
81
|
+
}
|
|
82
|
+
return root;
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=path.js.map
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Validation rule presets — the dependency-free replacement for Yup chains.
|
|
5
|
+
* Each factory returns a {@link ValidationRule}. Rules built on the project's
|
|
6
|
+
* `validators` module skip empty values (so `required()` owns emptiness and you
|
|
7
|
+
* don't get duplicate errors), and accept an optional custom message.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import { isAadhaar, isAlphanumeric, isEmail, isGstin, isIfsc, isIndianMobile, isIndianPincode, isInteger, isNumeric, isPan, isPhone, isStrongPassword, isUrl } from '@webority/mobile-core';
|
|
11
|
+
import { getPath } from "./path.js";
|
|
12
|
+
const isEmptyValue = v => v == null || v === '' || Array.isArray(v) && v.length === 0;
|
|
13
|
+
const fromPredicate = (predicate, defaultMsg) => message => value => isEmptyValue(value) || predicate(value) ? undefined : message ?? defaultMsg;
|
|
14
|
+
export const required = (message = 'This field is required') => value => {
|
|
15
|
+
// A required boolean (e.g. "accept terms" checkbox) must be true.
|
|
16
|
+
if (typeof value === 'boolean') {
|
|
17
|
+
return value ? undefined : message;
|
|
18
|
+
}
|
|
19
|
+
return isEmptyValue(value) ? message : undefined;
|
|
20
|
+
};
|
|
21
|
+
export const email = fromPredicate(isEmail, 'Enter a valid email');
|
|
22
|
+
export const mobile = fromPredicate(isIndianMobile, 'Enter a valid mobile number');
|
|
23
|
+
export const phone = fromPredicate(isPhone, 'Enter a valid phone number');
|
|
24
|
+
export const url = fromPredicate(isUrl, 'Enter a valid URL');
|
|
25
|
+
export const numeric = fromPredicate(isNumeric, 'Enter a valid number');
|
|
26
|
+
export const integer = fromPredicate(isInteger, 'Enter a whole number');
|
|
27
|
+
export const alphanumeric = fromPredicate(isAlphanumeric, 'Use letters and numbers only');
|
|
28
|
+
export const pincode = fromPredicate(isIndianPincode, 'Enter a valid 6-digit PIN code');
|
|
29
|
+
export const pan = fromPredicate(isPan, 'Enter a valid PAN');
|
|
30
|
+
export const gstin = fromPredicate(isGstin, 'Enter a valid GSTIN');
|
|
31
|
+
export const aadhaar = fromPredicate(isAadhaar, 'Enter a valid Aadhaar number');
|
|
32
|
+
export const ifsc = fromPredicate(isIfsc, 'Enter a valid IFSC code');
|
|
33
|
+
export const minLength = (length, message) => value => isEmptyValue(value) || String(value).length >= length ? undefined : message ?? `Must be at least ${length} characters`;
|
|
34
|
+
export const maxLength = (length, message) => value => value == null || String(value).length <= length ? undefined : message ?? `Must be at most ${length} characters`;
|
|
35
|
+
export const min = (n, message) => value => isEmptyValue(value) || Number(value) >= n ? undefined : message ?? `Must be at least ${n}`;
|
|
36
|
+
export const max = (n, message) => value => isEmptyValue(value) || Number(value) <= n ? undefined : message ?? `Must be at most ${n}`;
|
|
37
|
+
export const pattern = (regex, message = 'Invalid format') => value => isEmptyValue(value) || regex.test(String(value)) ? undefined : message;
|
|
38
|
+
export const oneOf = (allowed, message = 'Invalid selection') => value => isEmptyValue(value) || allowed.includes(value) ? undefined : message;
|
|
39
|
+
|
|
40
|
+
/** Cross-field equality (e.g. confirm-password). `otherField` is a field path. */
|
|
41
|
+
export const matches = (otherField, message = 'Values do not match') => (value, allValues) => value === getPath(allValues, otherField) ? undefined : message;
|
|
42
|
+
export const strongPassword = (rules, message = 'Password is too weak') => value => isEmptyValue(value) || isStrongPassword(value, rules) ? undefined : message;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Wrap any custom check. Return `true` (valid), `false` (invalid → default
|
|
46
|
+
* message), or a string (invalid → that message). Async is supported — return
|
|
47
|
+
* a Promise of the same.
|
|
48
|
+
*/
|
|
49
|
+
export const custom = (fn, message = 'Invalid value') => async (value, allValues) => {
|
|
50
|
+
const result = await fn(value, allValues);
|
|
51
|
+
if (result === true) {
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
if (result === false) {
|
|
55
|
+
return message;
|
|
56
|
+
}
|
|
57
|
+
return result;
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=rules.js.map
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useFormContext } from "./FormContext.js";
|
|
4
|
+
import { getPath } from "./path.js";
|
|
5
|
+
/**
|
|
6
|
+
* Bind a single field by name. Returns everything an input needs; pick the
|
|
7
|
+
* handler your control uses:
|
|
8
|
+
* const email = useField('email');
|
|
9
|
+
* <Input value={email.value} onChangeText={email.onChangeText} onBlur={email.onBlur} error={email.error} />
|
|
10
|
+
* <Select value={country.value} onChange={country.onChange} error={country.error} />
|
|
11
|
+
* <Switch value={!!agree.value} onChange={agree.onChange} />
|
|
12
|
+
*/
|
|
13
|
+
export function useField(name) {
|
|
14
|
+
const form = useFormContext();
|
|
15
|
+
return form.getFieldProps(name);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Manage a repeating list field (phone numbers, line items, etc.) by name.
|
|
19
|
+
* Each helper writes the whole array back through the form so validation and
|
|
20
|
+
* dirty-tracking stay correct.
|
|
21
|
+
*/
|
|
22
|
+
export function useFieldArray(name) {
|
|
23
|
+
const form = useFormContext();
|
|
24
|
+
const fields = getPath(form.values, name) ?? [];
|
|
25
|
+
const set = next => form.setFieldValue(name, next);
|
|
26
|
+
return {
|
|
27
|
+
fields,
|
|
28
|
+
length: fields.length,
|
|
29
|
+
push: item => set([...fields, item]),
|
|
30
|
+
remove: index => set(fields.filter((_, i) => i !== index)),
|
|
31
|
+
insert: (index, item) => {
|
|
32
|
+
const copy = [...fields];
|
|
33
|
+
copy.splice(index, 0, item);
|
|
34
|
+
set(copy);
|
|
35
|
+
},
|
|
36
|
+
// `move` and `replace` index into the array directly, so an out-of-range
|
|
37
|
+
// index corrupts it rather than failing: splice(9, 1) on a 3-item array
|
|
38
|
+
// yields `undefined`, which then gets spliced back IN, and `copy[9] = item`
|
|
39
|
+
// grows the array with six holes. Either one puts nulls into the submitted
|
|
40
|
+
// payload of a repeating field. `insert` and `remove` need no guard —
|
|
41
|
+
// splice clamps and filter no-ops.
|
|
42
|
+
move: (from, to) => {
|
|
43
|
+
if (from < 0 || from >= fields.length) {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
const copy = [...fields];
|
|
47
|
+
const [moved] = copy.splice(from, 1);
|
|
48
|
+
copy.splice(Math.max(0, Math.min(to, copy.length)), 0, moved);
|
|
49
|
+
set(copy);
|
|
50
|
+
},
|
|
51
|
+
replace: (index, item) => {
|
|
52
|
+
if (index < 0 || index >= fields.length) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
const copy = [...fields];
|
|
56
|
+
copy[index] = item;
|
|
57
|
+
set(copy);
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=useField.js.map
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
4
|
+
import { getPath, setPath } from "./path.js";
|
|
5
|
+
// Loosely typed (Values -> any) so the generic schema from any useForm<Values>
|
|
6
|
+
// instance flows in without variance friction; callers re-apply Values at use.
|
|
7
|
+
const rulesFor = (validate, name) => {
|
|
8
|
+
if (!validate || typeof validate === 'function') {
|
|
9
|
+
return [];
|
|
10
|
+
}
|
|
11
|
+
const r = validate[name];
|
|
12
|
+
if (!r) {
|
|
13
|
+
return [];
|
|
14
|
+
}
|
|
15
|
+
return Array.isArray(r) ? r : [r];
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Dependency-free form engine. Tracks values/errors/touched/dirty, runs
|
|
20
|
+
* synchronous and async validation (per-field rule maps or a form-level
|
|
21
|
+
* function), gates error display behind touched/submit, and on a failed submit
|
|
22
|
+
* focuses the first errored field. The returned object is rebuilt every render
|
|
23
|
+
* so `<Form>` consumers re-render on state changes.
|
|
24
|
+
*/
|
|
25
|
+
export function useForm(config) {
|
|
26
|
+
const configRef = useRef(config);
|
|
27
|
+
configRef.current = config;
|
|
28
|
+
const initialRef = useRef(config.initialValues);
|
|
29
|
+
const [values, setValuesState] = useState(config.initialValues);
|
|
30
|
+
const [errors, setErrorsState] = useState({});
|
|
31
|
+
const [touched, setTouchedState] = useState({});
|
|
32
|
+
const [isSubmitting, setSubmitting] = useState(false);
|
|
33
|
+
const [isValidating, setValidating] = useState(false);
|
|
34
|
+
const [submitCount, setSubmitCount] = useState(0);
|
|
35
|
+
|
|
36
|
+
// Mirror of the latest state so handlers (incl. async) never read stale
|
|
37
|
+
// closures and sequential setFieldValue calls in one tick compound correctly.
|
|
38
|
+
const ref = useRef({
|
|
39
|
+
values,
|
|
40
|
+
errors,
|
|
41
|
+
touched,
|
|
42
|
+
submitCount
|
|
43
|
+
});
|
|
44
|
+
ref.current = {
|
|
45
|
+
values,
|
|
46
|
+
errors,
|
|
47
|
+
touched,
|
|
48
|
+
submitCount
|
|
49
|
+
};
|
|
50
|
+
const fieldNodes = useRef(new Map());
|
|
51
|
+
const fieldOrder = useRef([]);
|
|
52
|
+
const focusedFieldRef = useRef(null);
|
|
53
|
+
|
|
54
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies: `JSON.stringify(config.initialValues)` is the dependency by design so reinitialize compares by value, not by object identity
|
|
55
|
+
useEffect(() => {
|
|
56
|
+
if (!configRef.current.enableReinitialize) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
const next = configRef.current.initialValues;
|
|
60
|
+
initialRef.current = next;
|
|
61
|
+
ref.current.values = next;
|
|
62
|
+
ref.current.errors = {};
|
|
63
|
+
ref.current.touched = {};
|
|
64
|
+
setValuesState(next);
|
|
65
|
+
setErrorsState({});
|
|
66
|
+
setTouchedState({});
|
|
67
|
+
}, [JSON.stringify(config.initialValues)]);
|
|
68
|
+
const validateField = useCallback(async name => {
|
|
69
|
+
const validate = configRef.current.validate;
|
|
70
|
+
const allValues = ref.current.values;
|
|
71
|
+
if (typeof validate === 'function') {
|
|
72
|
+
const map = (await validate(allValues)) ?? {};
|
|
73
|
+
return map[name] || undefined;
|
|
74
|
+
}
|
|
75
|
+
const value = getPath(allValues, name);
|
|
76
|
+
for (const rule of rulesFor(validate, name)) {
|
|
77
|
+
const res = await rule(value, allValues);
|
|
78
|
+
if (res) {
|
|
79
|
+
return res;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
return undefined;
|
|
83
|
+
}, []);
|
|
84
|
+
const runAll = useCallback(async vals => {
|
|
85
|
+
const validate = configRef.current.validate;
|
|
86
|
+
if (!validate) {
|
|
87
|
+
return {};
|
|
88
|
+
}
|
|
89
|
+
if (typeof validate === 'function') {
|
|
90
|
+
return (await validate(vals)) ?? {};
|
|
91
|
+
}
|
|
92
|
+
const out = {};
|
|
93
|
+
await Promise.all(Object.keys(validate).map(async name => {
|
|
94
|
+
const value = getPath(vals, name);
|
|
95
|
+
for (const rule of rulesFor(validate, name)) {
|
|
96
|
+
const res = await rule(value, vals);
|
|
97
|
+
if (res) {
|
|
98
|
+
out[name] = res;
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}));
|
|
103
|
+
return out;
|
|
104
|
+
}, []);
|
|
105
|
+
const revalidateField = useCallback(async name => {
|
|
106
|
+
const err = await validateField(name);
|
|
107
|
+
setErrorsState(prev => {
|
|
108
|
+
if (prev[name] === err) {
|
|
109
|
+
return prev;
|
|
110
|
+
}
|
|
111
|
+
const next = {
|
|
112
|
+
...prev
|
|
113
|
+
};
|
|
114
|
+
if (err) {
|
|
115
|
+
next[name] = err;
|
|
116
|
+
} else {
|
|
117
|
+
delete next[name];
|
|
118
|
+
}
|
|
119
|
+
ref.current.errors = next;
|
|
120
|
+
return next;
|
|
121
|
+
});
|
|
122
|
+
}, [validateField]);
|
|
123
|
+
const validate = useCallback(async () => {
|
|
124
|
+
setValidating(true);
|
|
125
|
+
const errs = await runAll(ref.current.values);
|
|
126
|
+
setValidating(false);
|
|
127
|
+
ref.current.errors = errs;
|
|
128
|
+
setErrorsState(errs);
|
|
129
|
+
return errs;
|
|
130
|
+
}, [runAll]);
|
|
131
|
+
const setFieldValue = useCallback((name, value, shouldValidate) => {
|
|
132
|
+
const next = setPath(ref.current.values, name, value);
|
|
133
|
+
ref.current.values = next;
|
|
134
|
+
setValuesState(next);
|
|
135
|
+
const cfg = configRef.current;
|
|
136
|
+
// `revalidateOn: 'blur'` means a field that has ALREADY surfaced an error
|
|
137
|
+
// stops re-checking on every keystroke and waits for blur — without this
|
|
138
|
+
// the option was declared, documented and ignored.
|
|
139
|
+
const alreadyErrored = Boolean(ref.current.errors[name]);
|
|
140
|
+
const deferToBlur = alreadyErrored && cfg.revalidateOn === 'blur';
|
|
141
|
+
const willValidate = shouldValidate ?? (!deferToBlur && (ref.current.touched[name] || ref.current.submitCount > 0 || cfg.validateOn === 'change'));
|
|
142
|
+
if (willValidate) {
|
|
143
|
+
void revalidateField(name);
|
|
144
|
+
}
|
|
145
|
+
}, [revalidateField]);
|
|
146
|
+
const handleBlur = useCallback(name => {
|
|
147
|
+
setTouchedState(prev => {
|
|
148
|
+
if (prev[name]) {
|
|
149
|
+
return prev;
|
|
150
|
+
}
|
|
151
|
+
const next = {
|
|
152
|
+
...prev,
|
|
153
|
+
[name]: true
|
|
154
|
+
};
|
|
155
|
+
ref.current.touched = next;
|
|
156
|
+
return next;
|
|
157
|
+
});
|
|
158
|
+
// Blur is the natural moment to surface a field's error.
|
|
159
|
+
void revalidateField(name);
|
|
160
|
+
}, [revalidateField]);
|
|
161
|
+
const setFieldTouched = useCallback((name, isTouched = true, shouldValidate) => {
|
|
162
|
+
const next = {
|
|
163
|
+
...ref.current.touched,
|
|
164
|
+
[name]: isTouched
|
|
165
|
+
};
|
|
166
|
+
ref.current.touched = next;
|
|
167
|
+
setTouchedState(next);
|
|
168
|
+
if (shouldValidate ?? isTouched) {
|
|
169
|
+
void revalidateField(name);
|
|
170
|
+
}
|
|
171
|
+
}, [revalidateField]);
|
|
172
|
+
const setFieldError = useCallback((name, error) => {
|
|
173
|
+
setErrorsState(prev => {
|
|
174
|
+
const next = {
|
|
175
|
+
...prev
|
|
176
|
+
};
|
|
177
|
+
if (error) {
|
|
178
|
+
next[name] = error;
|
|
179
|
+
} else {
|
|
180
|
+
delete next[name];
|
|
181
|
+
}
|
|
182
|
+
ref.current.errors = next;
|
|
183
|
+
return next;
|
|
184
|
+
});
|
|
185
|
+
}, []);
|
|
186
|
+
const setErrors = useCallback(errs => {
|
|
187
|
+
ref.current.errors = errs;
|
|
188
|
+
setErrorsState(errs);
|
|
189
|
+
}, []);
|
|
190
|
+
const setValues = useCallback((next, shouldValidate) => {
|
|
191
|
+
const resolved = typeof next === 'function' ? next(ref.current.values) : {
|
|
192
|
+
...ref.current.values,
|
|
193
|
+
...next
|
|
194
|
+
};
|
|
195
|
+
ref.current.values = resolved;
|
|
196
|
+
setValuesState(resolved);
|
|
197
|
+
if (shouldValidate) {
|
|
198
|
+
void validate();
|
|
199
|
+
}
|
|
200
|
+
}, [validate]);
|
|
201
|
+
const reset = useCallback(nextValues => {
|
|
202
|
+
const base = nextValues ? {
|
|
203
|
+
...initialRef.current,
|
|
204
|
+
...nextValues
|
|
205
|
+
} : initialRef.current;
|
|
206
|
+
initialRef.current = base;
|
|
207
|
+
ref.current.values = base;
|
|
208
|
+
ref.current.errors = {};
|
|
209
|
+
ref.current.touched = {};
|
|
210
|
+
ref.current.submitCount = 0;
|
|
211
|
+
setValuesState(base);
|
|
212
|
+
setErrorsState({});
|
|
213
|
+
setTouchedState({});
|
|
214
|
+
setSubmitCount(0);
|
|
215
|
+
}, []);
|
|
216
|
+
const registerField = useCallback((name, node) => {
|
|
217
|
+
if (node) {
|
|
218
|
+
fieldNodes.current.set(name, node);
|
|
219
|
+
if (!fieldOrder.current.includes(name)) {
|
|
220
|
+
fieldOrder.current.push(name);
|
|
221
|
+
}
|
|
222
|
+
} else {
|
|
223
|
+
fieldNodes.current.delete(name);
|
|
224
|
+
fieldOrder.current = fieldOrder.current.filter(n => n !== name);
|
|
225
|
+
}
|
|
226
|
+
}, []);
|
|
227
|
+
const handleFocus = useCallback(name => {
|
|
228
|
+
focusedFieldRef.current = name;
|
|
229
|
+
}, []);
|
|
230
|
+
const focusAdjacent = useCallback(direction => {
|
|
231
|
+
const order = fieldOrder.current;
|
|
232
|
+
const current = focusedFieldRef.current;
|
|
233
|
+
const index = current ? order.indexOf(current) : -1;
|
|
234
|
+
const target = order[index + direction];
|
|
235
|
+
if (!target) {
|
|
236
|
+
return;
|
|
237
|
+
}
|
|
238
|
+
focusedFieldRef.current = target;
|
|
239
|
+
fieldNodes.current.get(target)?.focus?.();
|
|
240
|
+
}, []);
|
|
241
|
+
const focusNext = useCallback(() => focusAdjacent(1), [focusAdjacent]);
|
|
242
|
+
const focusPrev = useCallback(() => focusAdjacent(-1), [focusAdjacent]);
|
|
243
|
+
const helpers = useMemo(() => ({
|
|
244
|
+
setErrors,
|
|
245
|
+
setFieldError,
|
|
246
|
+
reset,
|
|
247
|
+
setSubmitting
|
|
248
|
+
}), [setErrors, setFieldError, reset]);
|
|
249
|
+
const submit = useCallback(() => {
|
|
250
|
+
void (async () => {
|
|
251
|
+
const cfg = configRef.current;
|
|
252
|
+
const currentValues = ref.current.values;
|
|
253
|
+
ref.current.submitCount += 1;
|
|
254
|
+
setSubmitCount(c => c + 1);
|
|
255
|
+
setValidating(true);
|
|
256
|
+
const errs = await runAll(currentValues);
|
|
257
|
+
setValidating(false);
|
|
258
|
+
const keys = new Set([...fieldOrder.current, ...Object.keys(errs)]);
|
|
259
|
+
const nextTouched = {
|
|
260
|
+
...ref.current.touched
|
|
261
|
+
};
|
|
262
|
+
keys.forEach(k => {
|
|
263
|
+
nextTouched[k] = true;
|
|
264
|
+
});
|
|
265
|
+
ref.current.touched = nextTouched;
|
|
266
|
+
ref.current.errors = errs;
|
|
267
|
+
setTouchedState(nextTouched);
|
|
268
|
+
setErrorsState(errs);
|
|
269
|
+
const firstError = fieldOrder.current.find(n => errs[n]) ?? Object.keys(errs).find(n => errs[n]);
|
|
270
|
+
if (firstError) {
|
|
271
|
+
fieldNodes.current.get(firstError)?.focus?.();
|
|
272
|
+
return;
|
|
273
|
+
}
|
|
274
|
+
setSubmitting(true);
|
|
275
|
+
try {
|
|
276
|
+
await cfg.onSubmit(currentValues, helpers);
|
|
277
|
+
} finally {
|
|
278
|
+
setSubmitting(false);
|
|
279
|
+
}
|
|
280
|
+
})();
|
|
281
|
+
}, [runAll, helpers]);
|
|
282
|
+
const uiErrors = useMemo(() => {
|
|
283
|
+
const gated = {};
|
|
284
|
+
for (const k of Object.keys(errors)) {
|
|
285
|
+
if (errors[k] && (touched[k] || submitCount > 0)) {
|
|
286
|
+
gated[k] = errors[k];
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
return gated;
|
|
290
|
+
}, [errors, touched, submitCount]);
|
|
291
|
+
const isValid = useMemo(() => {
|
|
292
|
+
const validateCfg = configRef.current.validate;
|
|
293
|
+
if (!validateCfg) {
|
|
294
|
+
return true;
|
|
295
|
+
}
|
|
296
|
+
// Form-level async fn can't run synchronously — fall back to known errors.
|
|
297
|
+
if (typeof validateCfg === 'function') {
|
|
298
|
+
return Object.values(errors).every(e => !e);
|
|
299
|
+
}
|
|
300
|
+
for (const name of Object.keys(validateCfg)) {
|
|
301
|
+
const value = getPath(values, name);
|
|
302
|
+
for (const rule of rulesFor(validateCfg, name)) {
|
|
303
|
+
const res = rule(value, values);
|
|
304
|
+
if (typeof res === 'string' && res) {
|
|
305
|
+
return false; // async rules (Promise) are skipped here
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
return true;
|
|
310
|
+
}, [values, errors]);
|
|
311
|
+
const dirty = useMemo(() => JSON.stringify(values) !== JSON.stringify(initialRef.current), [values]);
|
|
312
|
+
return {
|
|
313
|
+
values,
|
|
314
|
+
errors: uiErrors,
|
|
315
|
+
rawErrors: errors,
|
|
316
|
+
touched,
|
|
317
|
+
dirty,
|
|
318
|
+
isValid,
|
|
319
|
+
isSubmitting,
|
|
320
|
+
isValidating,
|
|
321
|
+
submitCount,
|
|
322
|
+
setFieldValue,
|
|
323
|
+
setFieldTouched,
|
|
324
|
+
setFieldError,
|
|
325
|
+
setValues,
|
|
326
|
+
setErrors,
|
|
327
|
+
reset,
|
|
328
|
+
validate,
|
|
329
|
+
validateField,
|
|
330
|
+
submit,
|
|
331
|
+
handleBlur,
|
|
332
|
+
focusNext,
|
|
333
|
+
focusPrev,
|
|
334
|
+
registerField,
|
|
335
|
+
getFieldState: name => {
|
|
336
|
+
const value = getPath(values, name);
|
|
337
|
+
const rawError = errors[name];
|
|
338
|
+
const isTouched = !!touched[name];
|
|
339
|
+
return {
|
|
340
|
+
value,
|
|
341
|
+
error: isTouched || submitCount > 0 ? rawError : undefined,
|
|
342
|
+
rawError,
|
|
343
|
+
touched: isTouched,
|
|
344
|
+
dirty: JSON.stringify(value) !== JSON.stringify(getPath(initialRef.current, name))
|
|
345
|
+
};
|
|
346
|
+
},
|
|
347
|
+
getFieldProps: name => ({
|
|
348
|
+
name,
|
|
349
|
+
value: getPath(values, name),
|
|
350
|
+
error: touched[name] || submitCount > 0 ? errors[name] : undefined,
|
|
351
|
+
touched: !!touched[name],
|
|
352
|
+
onChange: val => setFieldValue(name, val),
|
|
353
|
+
onChangeText: text => setFieldValue(name, text),
|
|
354
|
+
onBlur: () => handleBlur(name),
|
|
355
|
+
onFocus: () => handleFocus(name),
|
|
356
|
+
setValue: (val, sv) => setFieldValue(name, val, sv)
|
|
357
|
+
})
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
//# sourceMappingURL=useForm.js.map
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useMemo } from 'react';
|
|
4
|
+
import { getPath } from "./path.js";
|
|
5
|
+
/**
|
|
6
|
+
* The default rule for "this field holds a value": everything counts except
|
|
7
|
+
* `undefined`, `null`, `NaN`, a string that is empty or only whitespace, an
|
|
8
|
+
* empty array, and `false`. `false` is empty on purpose: a field is listed
|
|
9
|
+
* because completing the profile needs it, and for a switch or a checkbox
|
|
10
|
+
* that means it must be on ("accept the terms"). An optional toggle should
|
|
11
|
+
* not be listed. `0` is a value.
|
|
12
|
+
*/
|
|
13
|
+
export const isFieldFilled = value => {
|
|
14
|
+
if (value === undefined || value === null || value === false) {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
if (typeof value === 'number') {
|
|
18
|
+
return !Number.isNaN(value);
|
|
19
|
+
}
|
|
20
|
+
if (typeof value === 'string') {
|
|
21
|
+
return value.trim().length > 0;
|
|
22
|
+
}
|
|
23
|
+
if (Array.isArray(value)) {
|
|
24
|
+
return value.length > 0;
|
|
25
|
+
}
|
|
26
|
+
return true;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* How much of a form is filled in: `progress` as a fraction for a
|
|
31
|
+
* ProgressRing, `percent` for a ProfileCompletion header. Give it the form's `values` and the
|
|
32
|
+
* names of the fields that count; nested names (`address.city`, `phones[0]`)
|
|
33
|
+
* resolve the way the form engine's own paths do.
|
|
34
|
+
*
|
|
35
|
+
* ```tsx
|
|
36
|
+
* const form = useForm({ initialValues });
|
|
37
|
+
* const { percent } = useFormCompletion(form.values, ['name', 'email', 'gstin']);
|
|
38
|
+
* <ProfileCompletion progress={percent} … />
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* Memoised on the values object and on the field list's contents, so a
|
|
42
|
+
* literal array written in render does not recompute on every render.
|
|
43
|
+
*/
|
|
44
|
+
export const useFormCompletion = (values, fields, options = {}) => {
|
|
45
|
+
const {
|
|
46
|
+
isFilled
|
|
47
|
+
} = options;
|
|
48
|
+
const fieldKey = fields.join('\u0000');
|
|
49
|
+
return useMemo(() => {
|
|
50
|
+
const names = fieldKey.length === 0 ? [] : fieldKey.split('\u0000');
|
|
51
|
+
const missing = names.filter(name => {
|
|
52
|
+
const value = getPath(values, name);
|
|
53
|
+
return !(isFilled ? isFilled(value, name) : isFieldFilled(value));
|
|
54
|
+
});
|
|
55
|
+
const total = names.length;
|
|
56
|
+
const filled = total - missing.length;
|
|
57
|
+
const progress = total === 0 ? 0 : filled / total;
|
|
58
|
+
return {
|
|
59
|
+
progress,
|
|
60
|
+
percent: progress * 100,
|
|
61
|
+
filled,
|
|
62
|
+
total,
|
|
63
|
+
missing
|
|
64
|
+
};
|
|
65
|
+
}, [values, fieldKey, isFilled]);
|
|
66
|
+
};
|
|
67
|
+
//# sourceMappingURL=useFormCompletion.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export { useControllableState } from "./useControllableState.js";
|
|
4
|
+
export { useDebounce } from "./useDebounce.js";
|
|
5
|
+
export { createDragToDismissController, DRAG_DISMISS_DISTANCE, DRAG_DISMISS_VELOCITY, useDragToDismiss } from "./useDragToDismiss.js";
|
|
6
|
+
export { FLICK_TOLERANCE, useFlickGuard } from "./useFlickGuard.js";
|
|
7
|
+
export { PRESS_ANIMATION_PRESETS, usePressAnimation } from "./usePressAnimation.js";
|
|
8
|
+
export { useReducedMotion } from "./useReducedMotion.js";
|
|
9
|
+
export { useToggle } from "./useToggle.js";
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useCallback, useRef, useState } from 'react';
|
|
4
|
+
/**
|
|
5
|
+
* Bridges controlled and uncontrolled usage for a value+onChange pair. When
|
|
6
|
+
* `value` is provided the component is controlled (the hook just forwards it
|
|
7
|
+
* and calls `onChange`); otherwise the hook owns the state, seeded from
|
|
8
|
+
* `defaultValue`. The controlled/uncontrolled decision is locked on first
|
|
9
|
+
* render so a component never flips modes mid-life.
|
|
10
|
+
*/
|
|
11
|
+
export function useControllableState({
|
|
12
|
+
value,
|
|
13
|
+
defaultValue,
|
|
14
|
+
onChange
|
|
15
|
+
}) {
|
|
16
|
+
const isControlledRef = useRef(value !== undefined);
|
|
17
|
+
const isControlled = isControlledRef.current;
|
|
18
|
+
const [internal, setInternal] = useState(defaultValue);
|
|
19
|
+
const current = isControlled ? value : internal;
|
|
20
|
+
const setValue = useCallback(next => {
|
|
21
|
+
if (!isControlled) {
|
|
22
|
+
setInternal(next);
|
|
23
|
+
}
|
|
24
|
+
onChange?.(next);
|
|
25
|
+
}, [isControlled, onChange]);
|
|
26
|
+
return [current, setValue];
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=useControllableState.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useEffect, useState } from 'react';
|
|
4
|
+
export const useDebounce = (value, delay = 300) => {
|
|
5
|
+
const [debounced, setDebounced] = useState(value);
|
|
6
|
+
useEffect(() => {
|
|
7
|
+
const handle = setTimeout(() => setDebounced(value), delay);
|
|
8
|
+
return () => clearTimeout(handle);
|
|
9
|
+
}, [value, delay]);
|
|
10
|
+
return debounced;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useDebounce.js.map
|