@webority/mobile-ui 0.0.39 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/Accordion/Accordion.js +1 -343
- package/lib/commonjs/components/Accordion/index.js +1 -26
- package/lib/commonjs/components/AmountSlider/AmountSlider.js +1 -209
- package/lib/commonjs/components/AmountSlider/index.js +1 -20
- package/lib/commonjs/components/AnimatePresence/AnimatePresence.js +1 -71
- package/lib/commonjs/components/AnimatePresence/index.js +1 -13
- package/lib/commonjs/components/AppBar/AppBar.js +1 -358
- package/lib/commonjs/components/AppBar/index.js +1 -20
- package/lib/commonjs/components/AppIcon/AppIcon.js +1 -155
- package/lib/commonjs/components/AppIcon/catalog/bold/a.g.js +1 -84
- package/lib/commonjs/components/AppIcon/catalog/bold/b.g.js +1 -89
- package/lib/commonjs/components/AppIcon/catalog/bold/c.g.js +1 -118
- package/lib/commonjs/components/AppIcon/catalog/bold/d.g.js +1 -68
- package/lib/commonjs/components/AppIcon/catalog/bold/e.g.js +1 -46
- package/lib/commonjs/components/AppIcon/catalog/bold/f.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/bold/g.g.js +1 -54
- package/lib/commonjs/components/AppIcon/catalog/bold/h.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/bold/i.g.js +1 -31
- package/lib/commonjs/components/AppIcon/catalog/bold/j.g.js +1 -18
- package/lib/commonjs/components/AppIcon/catalog/bold/k.g.js +1 -20
- package/lib/commonjs/components/AppIcon/catalog/bold/l.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/bold/m.g.js +1 -105
- package/lib/commonjs/components/AppIcon/catalog/bold/n.g.js +1 -34
- package/lib/commonjs/components/AppIcon/catalog/bold/o.g.js +1 -21
- package/lib/commonjs/components/AppIcon/catalog/bold/p.g.js +1 -60
- package/lib/commonjs/components/AppIcon/catalog/bold/q.g.js +1 -22
- package/lib/commonjs/components/AppIcon/catalog/bold/r.g.js +1 -59
- package/lib/commonjs/components/AppIcon/catalog/bold/s.g.js +1 -113
- package/lib/commonjs/components/AppIcon/catalog/bold/t.g.js +1 -74
- package/lib/commonjs/components/AppIcon/catalog/bold/u.g.js +1 -28
- package/lib/commonjs/components/AppIcon/catalog/bold/v.g.js +1 -40
- package/lib/commonjs/components/AppIcon/catalog/bold/w.g.js +1 -41
- package/lib/commonjs/components/AppIcon/catalog/bold/x.g.js +1 -18
- package/lib/commonjs/components/AppIcon/catalog/bold/y.g.js +1 -16
- package/lib/commonjs/components/AppIcon/catalog/bold/z.g.js +1 -17
- package/lib/commonjs/components/AppIcon/catalog/broken/a.g.js +1 -84
- package/lib/commonjs/components/AppIcon/catalog/broken/b.g.js +1 -89
- package/lib/commonjs/components/AppIcon/catalog/broken/c.g.js +1 -118
- package/lib/commonjs/components/AppIcon/catalog/broken/d.g.js +1 -68
- package/lib/commonjs/components/AppIcon/catalog/broken/e.g.js +1 -46
- package/lib/commonjs/components/AppIcon/catalog/broken/f.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/broken/g.g.js +1 -54
- package/lib/commonjs/components/AppIcon/catalog/broken/h.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/broken/i.g.js +1 -31
- package/lib/commonjs/components/AppIcon/catalog/broken/j.g.js +1 -18
- package/lib/commonjs/components/AppIcon/catalog/broken/k.g.js +1 -20
- package/lib/commonjs/components/AppIcon/catalog/broken/l.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/broken/m.g.js +1 -105
- package/lib/commonjs/components/AppIcon/catalog/broken/n.g.js +1 -34
- package/lib/commonjs/components/AppIcon/catalog/broken/o.g.js +1 -21
- package/lib/commonjs/components/AppIcon/catalog/broken/p.g.js +1 -60
- package/lib/commonjs/components/AppIcon/catalog/broken/q.g.js +1 -22
- package/lib/commonjs/components/AppIcon/catalog/broken/r.g.js +1 -59
- package/lib/commonjs/components/AppIcon/catalog/broken/s.g.js +1 -113
- package/lib/commonjs/components/AppIcon/catalog/broken/t.g.js +1 -74
- package/lib/commonjs/components/AppIcon/catalog/broken/u.g.js +1 -28
- package/lib/commonjs/components/AppIcon/catalog/broken/v.g.js +1 -40
- package/lib/commonjs/components/AppIcon/catalog/broken/w.g.js +1 -41
- package/lib/commonjs/components/AppIcon/catalog/broken/x.g.js +1 -18
- package/lib/commonjs/components/AppIcon/catalog/broken/y.g.js +1 -16
- package/lib/commonjs/components/AppIcon/catalog/broken/z.g.js +1 -17
- package/lib/commonjs/components/AppIcon/catalog/bulk/a.g.js +1 -84
- package/lib/commonjs/components/AppIcon/catalog/bulk/b.g.js +1 -89
- package/lib/commonjs/components/AppIcon/catalog/bulk/c.g.js +1 -118
- package/lib/commonjs/components/AppIcon/catalog/bulk/d.g.js +1 -68
- package/lib/commonjs/components/AppIcon/catalog/bulk/e.g.js +1 -46
- package/lib/commonjs/components/AppIcon/catalog/bulk/f.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/bulk/g.g.js +1 -54
- package/lib/commonjs/components/AppIcon/catalog/bulk/h.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/bulk/i.g.js +1 -31
- package/lib/commonjs/components/AppIcon/catalog/bulk/j.g.js +1 -18
- package/lib/commonjs/components/AppIcon/catalog/bulk/k.g.js +1 -20
- package/lib/commonjs/components/AppIcon/catalog/bulk/l.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/bulk/m.g.js +1 -105
- package/lib/commonjs/components/AppIcon/catalog/bulk/n.g.js +1 -34
- package/lib/commonjs/components/AppIcon/catalog/bulk/o.g.js +1 -21
- package/lib/commonjs/components/AppIcon/catalog/bulk/p.g.js +1 -60
- package/lib/commonjs/components/AppIcon/catalog/bulk/q.g.js +1 -22
- package/lib/commonjs/components/AppIcon/catalog/bulk/r.g.js +1 -59
- package/lib/commonjs/components/AppIcon/catalog/bulk/s.g.js +1 -113
- package/lib/commonjs/components/AppIcon/catalog/bulk/t.g.js +1 -74
- package/lib/commonjs/components/AppIcon/catalog/bulk/u.g.js +1 -28
- package/lib/commonjs/components/AppIcon/catalog/bulk/v.g.js +1 -40
- package/lib/commonjs/components/AppIcon/catalog/bulk/w.g.js +1 -41
- package/lib/commonjs/components/AppIcon/catalog/bulk/x.g.js +1 -18
- package/lib/commonjs/components/AppIcon/catalog/bulk/y.g.js +1 -16
- package/lib/commonjs/components/AppIcon/catalog/bulk/z.g.js +1 -17
- package/lib/commonjs/components/AppIcon/catalog/linear/a.g.js +1 -84
- package/lib/commonjs/components/AppIcon/catalog/linear/b.g.js +1 -89
- package/lib/commonjs/components/AppIcon/catalog/linear/c.g.js +1 -118
- package/lib/commonjs/components/AppIcon/catalog/linear/d.g.js +1 -68
- package/lib/commonjs/components/AppIcon/catalog/linear/e.g.js +1 -46
- package/lib/commonjs/components/AppIcon/catalog/linear/f.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/linear/g.g.js +1 -54
- package/lib/commonjs/components/AppIcon/catalog/linear/h.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/linear/i.g.js +1 -31
- package/lib/commonjs/components/AppIcon/catalog/linear/j.g.js +1 -18
- package/lib/commonjs/components/AppIcon/catalog/linear/k.g.js +1 -20
- package/lib/commonjs/components/AppIcon/catalog/linear/l.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/linear/m.g.js +1 -105
- package/lib/commonjs/components/AppIcon/catalog/linear/n.g.js +1 -34
- package/lib/commonjs/components/AppIcon/catalog/linear/o.g.js +1 -21
- package/lib/commonjs/components/AppIcon/catalog/linear/p.g.js +1 -60
- package/lib/commonjs/components/AppIcon/catalog/linear/q.g.js +1 -22
- package/lib/commonjs/components/AppIcon/catalog/linear/r.g.js +1 -59
- package/lib/commonjs/components/AppIcon/catalog/linear/s.g.js +1 -113
- package/lib/commonjs/components/AppIcon/catalog/linear/t.g.js +1 -74
- package/lib/commonjs/components/AppIcon/catalog/linear/u.g.js +1 -28
- package/lib/commonjs/components/AppIcon/catalog/linear/v.g.js +1 -40
- package/lib/commonjs/components/AppIcon/catalog/linear/w.g.js +1 -41
- package/lib/commonjs/components/AppIcon/catalog/linear/x.g.js +1 -18
- package/lib/commonjs/components/AppIcon/catalog/linear/y.g.js +1 -16
- package/lib/commonjs/components/AppIcon/catalog/linear/z.g.js +1 -17
- package/lib/commonjs/components/AppIcon/catalog/outline/a.g.js +1 -84
- package/lib/commonjs/components/AppIcon/catalog/outline/b.g.js +1 -89
- package/lib/commonjs/components/AppIcon/catalog/outline/c.g.js +1 -118
- package/lib/commonjs/components/AppIcon/catalog/outline/d.g.js +1 -68
- package/lib/commonjs/components/AppIcon/catalog/outline/e.g.js +1 -46
- package/lib/commonjs/components/AppIcon/catalog/outline/f.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/outline/g.g.js +1 -54
- package/lib/commonjs/components/AppIcon/catalog/outline/h.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/outline/i.g.js +1 -31
- package/lib/commonjs/components/AppIcon/catalog/outline/j.g.js +1 -18
- package/lib/commonjs/components/AppIcon/catalog/outline/k.g.js +1 -20
- package/lib/commonjs/components/AppIcon/catalog/outline/l.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/outline/m.g.js +1 -105
- package/lib/commonjs/components/AppIcon/catalog/outline/n.g.js +1 -34
- package/lib/commonjs/components/AppIcon/catalog/outline/o.g.js +1 -21
- package/lib/commonjs/components/AppIcon/catalog/outline/p.g.js +1 -60
- package/lib/commonjs/components/AppIcon/catalog/outline/q.g.js +1 -22
- package/lib/commonjs/components/AppIcon/catalog/outline/r.g.js +1 -59
- package/lib/commonjs/components/AppIcon/catalog/outline/s.g.js +1 -113
- package/lib/commonjs/components/AppIcon/catalog/outline/t.g.js +1 -74
- package/lib/commonjs/components/AppIcon/catalog/outline/u.g.js +1 -28
- package/lib/commonjs/components/AppIcon/catalog/outline/v.g.js +1 -40
- package/lib/commonjs/components/AppIcon/catalog/outline/w.g.js +1 -41
- package/lib/commonjs/components/AppIcon/catalog/outline/x.g.js +1 -18
- package/lib/commonjs/components/AppIcon/catalog/outline/y.g.js +1 -16
- package/lib/commonjs/components/AppIcon/catalog/outline/z.g.js +1 -17
- package/lib/commonjs/components/AppIcon/catalog/twotone/a.g.js +1 -84
- package/lib/commonjs/components/AppIcon/catalog/twotone/b.g.js +1 -89
- package/lib/commonjs/components/AppIcon/catalog/twotone/c.g.js +1 -118
- package/lib/commonjs/components/AppIcon/catalog/twotone/d.g.js +1 -68
- package/lib/commonjs/components/AppIcon/catalog/twotone/e.g.js +1 -46
- package/lib/commonjs/components/AppIcon/catalog/twotone/f.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/twotone/g.g.js +1 -54
- package/lib/commonjs/components/AppIcon/catalog/twotone/h.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/twotone/i.g.js +1 -31
- package/lib/commonjs/components/AppIcon/catalog/twotone/j.g.js +1 -18
- package/lib/commonjs/components/AppIcon/catalog/twotone/k.g.js +1 -20
- package/lib/commonjs/components/AppIcon/catalog/twotone/l.g.js +1 -52
- package/lib/commonjs/components/AppIcon/catalog/twotone/m.g.js +1 -105
- package/lib/commonjs/components/AppIcon/catalog/twotone/n.g.js +1 -34
- package/lib/commonjs/components/AppIcon/catalog/twotone/o.g.js +1 -21
- package/lib/commonjs/components/AppIcon/catalog/twotone/p.g.js +1 -60
- package/lib/commonjs/components/AppIcon/catalog/twotone/q.g.js +1 -22
- package/lib/commonjs/components/AppIcon/catalog/twotone/r.g.js +1 -59
- package/lib/commonjs/components/AppIcon/catalog/twotone/s.g.js +1 -113
- package/lib/commonjs/components/AppIcon/catalog/twotone/t.g.js +1 -74
- package/lib/commonjs/components/AppIcon/catalog/twotone/u.g.js +1 -28
- package/lib/commonjs/components/AppIcon/catalog/twotone/v.g.js +1 -40
- package/lib/commonjs/components/AppIcon/catalog/twotone/w.g.js +1 -41
- package/lib/commonjs/components/AppIcon/catalog/twotone/x.g.js +1 -18
- package/lib/commonjs/components/AppIcon/catalog/twotone/y.g.js +1 -16
- package/lib/commonjs/components/AppIcon/catalog/twotone/z.g.js +1 -17
- package/lib/commonjs/components/AppIcon/catalog.g.js +1 -187
- package/lib/commonjs/components/AppIcon/defaultIcons.js +1 -83
- package/lib/commonjs/components/AppIcon/glyphs.g.js +1 -160
- package/lib/commonjs/components/AppIcon/index.js +1 -64
- package/lib/commonjs/components/AppIcon/slotIcon.js +1 -67
- package/lib/commonjs/components/AppIcon/variants.g.js +1 -741
- package/lib/commonjs/components/AsyncBlock/AsyncBlock.js +1 -87
- package/lib/commonjs/components/AsyncBlock/index.js +1 -20
- package/lib/commonjs/components/AuthedImage/AuthedImage.js +1 -230
- package/lib/commonjs/components/AuthedImage/authedImageCache.js +1 -351
- package/lib/commonjs/components/AuthedImage/index.js +1 -45
- package/lib/commonjs/components/Autocomplete/Autocomplete.js +1 -227
- package/lib/commonjs/components/Autocomplete/index.js +1 -13
- package/lib/commonjs/components/Avatar/Avatar.js +1 -502
- package/lib/commonjs/components/Avatar/index.js +1 -32
- package/lib/commonjs/components/Badge/Badge.js +1 -298
- package/lib/commonjs/components/Badge/index.js +1 -20
- package/lib/commonjs/components/Banner/Banner.js +1 -401
- package/lib/commonjs/components/Banner/index.js +1 -20
- package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +1 -893
- package/lib/commonjs/components/BottomNavigation/index.js +1 -20
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -732
- package/lib/commonjs/components/BottomSheet/index.js +1 -26
- package/lib/commonjs/components/Box/Box.js +1 -226
- package/lib/commonjs/components/Box/index.js +1 -37
- package/lib/commonjs/components/Button/Button.js +1 -561
- package/lib/commonjs/components/Button/index.js +1 -20
- package/lib/commonjs/components/Card/Card.js +1 -407
- package/lib/commonjs/components/Card/index.js +1 -20
- package/lib/commonjs/components/Carousel/Carousel.js +1 -587
- package/lib/commonjs/components/Carousel/index.js +1 -20
- package/lib/commonjs/components/Checkbox/Checkbox.js +1 -187
- package/lib/commonjs/components/Checkbox/index.js +1 -20
- package/lib/commonjs/components/Chip/Chip.js +1 -358
- package/lib/commonjs/components/Chip/index.js +1 -20
- package/lib/commonjs/components/ChoiceGroup/ChoiceGroup.js +1 -336
- package/lib/commonjs/components/ChoiceGroup/index.js +1 -20
- package/lib/commonjs/components/Confetti/Confetti.js +1 -382
- package/lib/commonjs/components/Confetti/index.js +1 -13
- package/lib/commonjs/components/DatePicker/DatePicker.js +1 -1054
- package/lib/commonjs/components/DatePicker/index.js +1 -20
- package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +1 -794
- package/lib/commonjs/components/DateRangePicker/index.js +1 -20
- package/lib/commonjs/components/DecimalInput/DecimalInput.js +1 -0
- package/lib/commonjs/components/DecimalInput/index.js +1 -0
- package/lib/commonjs/components/Descriptions/Descriptions.js +1 -107
- package/lib/commonjs/components/Descriptions/index.js +1 -20
- package/lib/commonjs/components/Dialog/Dialog.js +1 -248
- package/lib/commonjs/components/Dialog/index.js +1 -20
- package/lib/commonjs/components/Divider/Divider.js +1 -117
- package/lib/commonjs/components/Divider/index.js +1 -20
- package/lib/commonjs/components/Drawer/Drawer.js +1 -382
- package/lib/commonjs/components/Drawer/index.js +1 -20
- package/lib/commonjs/components/EmptyState/EmptyState.js +1 -236
- package/lib/commonjs/components/EmptyState/index.js +1 -20
- package/lib/commonjs/components/ErrorBoundary/ErrorBoundary.js +1 -136
- package/lib/commonjs/components/ErrorBoundary/index.js +1 -27
- package/lib/commonjs/components/ErrorBoundary/useErrorHandler.js +1 -24
- package/lib/commonjs/components/ErrorBoundary/withErrorBoundary.js +1 -28
- package/lib/commonjs/components/FieldBase/Chevron.js +1 -75
- package/lib/commonjs/components/FieldBase/ChoiceText.js +1 -0
- package/lib/commonjs/components/FieldBase/FieldBase.js +1 -804
- package/lib/commonjs/components/FieldBase/index.js +1 -75
- package/lib/commonjs/components/FieldBase/useFloatingLabel.js +1 -181
- package/lib/commonjs/components/FilePicker/FilePicker.js +1 -797
- package/lib/commonjs/components/FilePicker/index.js +1 -26
- package/lib/commonjs/components/FileViewer/FileViewer.js +1 -259
- package/lib/commonjs/components/FileViewer/index.js +1 -13
- package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -696
- package/lib/commonjs/components/FloatingActionButton/index.js +1 -26
- package/lib/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.js +1 -90
- package/lib/commonjs/components/ForceUpdateDialog/index.js +1 -20
- package/lib/commonjs/components/FormField/FormField.js +1 -170
- package/lib/commonjs/components/FormField/index.js +1 -20
- package/lib/commonjs/components/IconBadge/IconBadge.js +1 -0
- package/lib/commonjs/components/IconBadge/index.js +1 -0
- package/lib/commonjs/components/IconButton/IconButton.js +1 -198
- package/lib/commonjs/components/IconButton/index.js +1 -13
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -594
- package/lib/commonjs/components/ImageGallery/index.js +1 -20
- package/lib/commonjs/components/InlineSelect/InlineSelect.js +1 -190
- package/lib/commonjs/components/InlineSelect/index.js +1 -20
- package/lib/commonjs/components/Input/Input.js +1 -591
- package/lib/commonjs/components/Input/index.js +1 -20
- package/lib/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.js +1 -168
- package/lib/commonjs/components/KeyboardAwareScrollView/index.js +1 -13
- package/lib/commonjs/components/KeyboardToolbar/KeyboardToolbar.js +1 -135
- package/lib/commonjs/components/KeyboardToolbar/index.js +1 -13
- package/lib/commonjs/components/ListItem/ListItem.js +1 -344
- package/lib/commonjs/components/ListItem/index.js +1 -20
- package/lib/commonjs/components/LoaderOverlay/LoaderOverlay.js +1 -203
- package/lib/commonjs/components/LoaderOverlay/index.js +1 -25
- package/lib/commonjs/components/Markdown/Markdown.js +1 -276
- package/lib/commonjs/components/Markdown/index.js +1 -13
- package/lib/commonjs/components/Markdown/parse.js +1 -229
- package/lib/commonjs/components/Modal/Modal.js +1 -376
- package/lib/commonjs/components/Modal/index.js +1 -26
- package/lib/commonjs/components/Notation/Notation.js +1 -0
- package/lib/commonjs/components/Notation/index.js +1 -0
- package/lib/commonjs/components/NumberInput/NumberInput.js +1 -386
- package/lib/commonjs/components/NumberInput/index.js +1 -20
- package/lib/commonjs/components/OTPInput/OTPInput.js +1 -448
- package/lib/commonjs/components/OTPInput/index.js +1 -20
- package/lib/commonjs/components/OptionSheet/OptionSheet.js +1 -718
- package/lib/commonjs/components/OptionSheet/index.js +1 -0
- package/lib/commonjs/components/PhoneNumberInput/PhoneNumberInput.js +1 -574
- package/lib/commonjs/components/PhoneNumberInput/index.js +1 -32
- package/lib/commonjs/components/PickerTrigger/PickerTrigger.js +1 -150
- package/lib/commonjs/components/PickerTrigger/index.js +1 -20
- package/lib/commonjs/components/ProfileCompletion/ProfileCompletion.js +1 -214
- package/lib/commonjs/components/ProfileCompletion/index.js +1 -20
- package/lib/commonjs/components/ProfilePicker/ProfilePicker.js +1 -531
- package/lib/commonjs/components/ProfilePicker/index.js +1 -20
- package/lib/commonjs/components/ProgressBar/ProgressBar.js +1 -202
- package/lib/commonjs/components/ProgressBar/index.js +1 -20
- package/lib/commonjs/components/ProgressRing/ProgressRing.js +1 -191
- package/lib/commonjs/components/ProgressRing/index.js +1 -20
- package/lib/commonjs/components/Radio/Radio.js +1 -127
- package/lib/commonjs/components/Radio/RadioDot.js +1 -108
- package/lib/commonjs/components/Radio/RadioGroup.js +1 -50
- package/lib/commonjs/components/Radio/index.js +1 -46
- package/lib/commonjs/components/Rating/Rating.js +1 -338
- package/lib/commonjs/components/Rating/index.js +1 -20
- package/lib/commonjs/components/Repeater/Repeater.js +1 -166
- package/lib/commonjs/components/Repeater/index.js +1 -20
- package/lib/commonjs/components/RichTextEditor/RichTextEditor.js +1 -314
- package/lib/commonjs/components/RichTextEditor/index.js +1 -20
- package/lib/commonjs/components/RichTextEditor/markdownActions.js +1 -213
- package/lib/commonjs/components/SearchBar/SearchBar.js +1 -244
- package/lib/commonjs/components/SearchBar/index.js +1 -20
- package/lib/commonjs/components/SectionHeader/SectionHeader.js +1 -0
- package/lib/commonjs/components/SectionHeader/index.js +1 -0
- package/lib/commonjs/components/SegmentedControl/SegmentedControl.js +1 -320
- package/lib/commonjs/components/SegmentedControl/index.js +1 -20
- package/lib/commonjs/components/Select/Select.js +1 -277
- package/lib/commonjs/components/Select/index.js +1 -20
- package/lib/commonjs/components/Skeleton/Skeleton.js +1 -285
- package/lib/commonjs/components/Skeleton/SkeletonClock.js +1 -118
- package/lib/commonjs/components/Skeleton/SkeletonContent.js +1 -309
- package/lib/commonjs/components/Skeleton/SkeletonList.js +1 -92
- package/lib/commonjs/components/Skeleton/SkeletonProvider.js +1 -114
- package/lib/commonjs/components/Skeleton/SkeletonSkip.js +1 -37
- package/lib/commonjs/components/Skeleton/index.js +1 -85
- package/lib/commonjs/components/SlideToConfirm/SlideToConfirm.js +1 -262
- package/lib/commonjs/components/SlideToConfirm/index.js +1 -13
- package/lib/commonjs/components/Slider/Slider.js +1 -809
- package/lib/commonjs/components/Slider/index.js +1 -20
- package/lib/commonjs/components/Slider/valueText.js +1 -266
- package/lib/commonjs/components/SliderField/SliderField.js +1 -360
- package/lib/commonjs/components/SliderField/index.js +1 -20
- package/lib/commonjs/components/Spinner/Spinner.js +1 -203
- package/lib/commonjs/components/Spinner/index.js +1 -20
- package/lib/commonjs/components/SquircleFill/SquircleFill.js +1 -116
- package/lib/commonjs/components/StatTile/StatTile.js +1 -0
- package/lib/commonjs/components/StatTile/index.js +1 -0
- package/lib/commonjs/components/StatusBadge/StatusBadge.js +1 -233
- package/lib/commonjs/components/StatusBadge/index.js +1 -20
- package/lib/commonjs/components/Stepper/Stepper.js +1 -779
- package/lib/commonjs/components/Stepper/index.js +1 -20
- package/lib/commonjs/components/Swipeable/Swipeable.js +1 -383
- package/lib/commonjs/components/Swipeable/index.js +1 -20
- package/lib/commonjs/components/Switch/Switch.js +1 -233
- package/lib/commonjs/components/Switch/index.js +1 -20
- package/lib/commonjs/components/Tabs/Tabs.js +1 -428
- package/lib/commonjs/components/Tabs/index.js +1 -20
- package/lib/commonjs/components/TagInput/TagInput.js +1 -185
- package/lib/commonjs/components/TagInput/index.js +1 -20
- package/lib/commonjs/components/Text/Text.js +1 -146
- package/lib/commonjs/components/Text/index.js +1 -13
- package/lib/commonjs/components/TimePicker/TimePicker.js +1 -732
- package/lib/commonjs/components/TimePicker/index.js +1 -20
- package/lib/commonjs/components/Timeline/Timeline.js +1 -263
- package/lib/commonjs/components/Timeline/index.js +1 -20
- package/lib/commonjs/components/Toast/Toast.js +1 -326
- package/lib/commonjs/components/Toast/ToastProvider.js +1 -200
- package/lib/commonjs/components/Toast/index.js +1 -39
- package/lib/commonjs/components/Tooltip/Tooltip.js +1 -412
- package/lib/commonjs/components/Tooltip/index.js +1 -20
- package/lib/commonjs/components/Tour/Tour.js +1 -342
- package/lib/commonjs/components/Tour/index.js +1 -20
- package/lib/commonjs/components/ZoomableImage/ZoomableImage.js +1 -204
- package/lib/commonjs/components/ZoomableImage/index.js +1 -13
- package/lib/commonjs/components/index.js +1 -748
- package/lib/commonjs/form/FormContext.js +1 -52
- package/lib/commonjs/form/HookFormField.js +1 -0
- package/lib/commonjs/form/equal.js +1 -56
- package/lib/commonjs/form/index.js +1 -81
- package/lib/commonjs/form/path.js +1 -91
- package/lib/commonjs/form/rules.js +1 -73
- package/lib/commonjs/form/types.js +1 -2
- package/lib/commonjs/form/useField.js +1 -66
- package/lib/commonjs/form/useForm.js +1 -379
- package/lib/commonjs/form/useFormCompletion.js +1 -73
- package/lib/commonjs/form/useHookFormField.js +1 -0
- package/lib/commonjs/hooks/index.js +1 -85
- package/lib/commonjs/hooks/useControllableState.js +1 -32
- package/lib/commonjs/hooks/useDebounce.js +1 -17
- package/lib/commonjs/hooks/useDragToDismiss.js +1 -142
- package/lib/commonjs/hooks/useFlickGuard.js +1 -60
- package/lib/commonjs/hooks/usePressAnimation.js +1 -130
- package/lib/commonjs/hooks/useReducedMotion.js +1 -33
- package/lib/commonjs/hooks/useToggle.js +1 -22
- package/lib/commonjs/index.js +1 -468
- package/lib/commonjs/initUI.js +1 -24
- package/lib/commonjs/network/NetworkStatusBanner.js +1 -89
- package/lib/commonjs/network/index.js +1 -13
- package/lib/commonjs/specs/NativePdfRasterizer.js +1 -9
- package/lib/commonjs/theme/Gradient.js +1 -59
- package/lib/commonjs/theme/ThemeContext.js +1 -101
- package/lib/commonjs/theme/animatedValue.js +1 -69
- package/lib/commonjs/theme/index.js +1 -149
- package/lib/commonjs/theme/merge.js +1 -30
- package/lib/commonjs/theme/textStyle.js +1 -39
- package/lib/commonjs/theme/tokens.js +1 -706
- package/lib/commonjs/theme/types.js +1 -6
- package/lib/commonjs/utils/color.js +1 -58
- package/lib/commonjs/utils/corners.js +1 -22
- package/lib/commonjs/utils/dimensions.js +1 -37
- package/lib/commonjs/utils/feedback.js +1 -76
- package/lib/commonjs/utils/hapticUtils.js +1 -94
- package/lib/commonjs/utils/hashString.js +1 -22
- package/lib/commonjs/utils/index.js +1 -178
- package/lib/commonjs/utils/mergeRefs.js +1 -24
- package/lib/commonjs/utils/responsive.js +1 -104
- package/lib/commonjs/utils/shadows.js +1 -61
- package/lib/commonjs/utils/spacing.js +1 -86
- package/lib/commonjs/utils/squircle.js +1 -158
- package/lib/commonjs/utils/warnUnknownProps.js +1 -46
- package/lib/module/components/Accordion/Accordion.js +1 -337
- package/lib/module/components/Accordion/index.js +1 -4
- package/lib/module/components/AmountSlider/AmountSlider.js +1 -205
- package/lib/module/components/AmountSlider/index.js +1 -4
- package/lib/module/components/AnimatePresence/AnimatePresence.js +1 -65
- package/lib/module/components/AnimatePresence/index.js +1 -4
- package/lib/module/components/AppBar/AppBar.js +1 -354
- package/lib/module/components/AppBar/index.js +1 -4
- package/lib/module/components/AppIcon/AppIcon.js +1 -136
- package/lib/module/components/AppIcon/catalog/bold/a.g.js +1 -80
- package/lib/module/components/AppIcon/catalog/bold/b.g.js +1 -85
- package/lib/module/components/AppIcon/catalog/bold/c.g.js +1 -114
- package/lib/module/components/AppIcon/catalog/bold/d.g.js +1 -64
- package/lib/module/components/AppIcon/catalog/bold/e.g.js +1 -42
- package/lib/module/components/AppIcon/catalog/bold/f.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/bold/g.g.js +1 -50
- package/lib/module/components/AppIcon/catalog/bold/h.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/bold/i.g.js +1 -27
- package/lib/module/components/AppIcon/catalog/bold/j.g.js +1 -14
- package/lib/module/components/AppIcon/catalog/bold/k.g.js +1 -16
- package/lib/module/components/AppIcon/catalog/bold/l.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/bold/m.g.js +1 -101
- package/lib/module/components/AppIcon/catalog/bold/n.g.js +1 -30
- package/lib/module/components/AppIcon/catalog/bold/o.g.js +1 -17
- package/lib/module/components/AppIcon/catalog/bold/p.g.js +1 -56
- package/lib/module/components/AppIcon/catalog/bold/q.g.js +1 -18
- package/lib/module/components/AppIcon/catalog/bold/r.g.js +1 -55
- package/lib/module/components/AppIcon/catalog/bold/s.g.js +1 -109
- package/lib/module/components/AppIcon/catalog/bold/t.g.js +1 -70
- package/lib/module/components/AppIcon/catalog/bold/u.g.js +1 -24
- package/lib/module/components/AppIcon/catalog/bold/v.g.js +1 -36
- package/lib/module/components/AppIcon/catalog/bold/w.g.js +1 -37
- package/lib/module/components/AppIcon/catalog/bold/x.g.js +1 -14
- package/lib/module/components/AppIcon/catalog/bold/y.g.js +1 -12
- package/lib/module/components/AppIcon/catalog/bold/z.g.js +1 -13
- package/lib/module/components/AppIcon/catalog/broken/a.g.js +1 -80
- package/lib/module/components/AppIcon/catalog/broken/b.g.js +1 -85
- package/lib/module/components/AppIcon/catalog/broken/c.g.js +1 -114
- package/lib/module/components/AppIcon/catalog/broken/d.g.js +1 -64
- package/lib/module/components/AppIcon/catalog/broken/e.g.js +1 -42
- package/lib/module/components/AppIcon/catalog/broken/f.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/broken/g.g.js +1 -50
- package/lib/module/components/AppIcon/catalog/broken/h.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/broken/i.g.js +1 -27
- package/lib/module/components/AppIcon/catalog/broken/j.g.js +1 -14
- package/lib/module/components/AppIcon/catalog/broken/k.g.js +1 -16
- package/lib/module/components/AppIcon/catalog/broken/l.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/broken/m.g.js +1 -101
- package/lib/module/components/AppIcon/catalog/broken/n.g.js +1 -30
- package/lib/module/components/AppIcon/catalog/broken/o.g.js +1 -17
- package/lib/module/components/AppIcon/catalog/broken/p.g.js +1 -56
- package/lib/module/components/AppIcon/catalog/broken/q.g.js +1 -18
- package/lib/module/components/AppIcon/catalog/broken/r.g.js +1 -55
- package/lib/module/components/AppIcon/catalog/broken/s.g.js +1 -109
- package/lib/module/components/AppIcon/catalog/broken/t.g.js +1 -70
- package/lib/module/components/AppIcon/catalog/broken/u.g.js +1 -24
- package/lib/module/components/AppIcon/catalog/broken/v.g.js +1 -36
- package/lib/module/components/AppIcon/catalog/broken/w.g.js +1 -37
- package/lib/module/components/AppIcon/catalog/broken/x.g.js +1 -14
- package/lib/module/components/AppIcon/catalog/broken/y.g.js +1 -12
- package/lib/module/components/AppIcon/catalog/broken/z.g.js +1 -13
- package/lib/module/components/AppIcon/catalog/bulk/a.g.js +1 -80
- package/lib/module/components/AppIcon/catalog/bulk/b.g.js +1 -85
- package/lib/module/components/AppIcon/catalog/bulk/c.g.js +1 -114
- package/lib/module/components/AppIcon/catalog/bulk/d.g.js +1 -64
- package/lib/module/components/AppIcon/catalog/bulk/e.g.js +1 -42
- package/lib/module/components/AppIcon/catalog/bulk/f.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/bulk/g.g.js +1 -50
- package/lib/module/components/AppIcon/catalog/bulk/h.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/bulk/i.g.js +1 -27
- package/lib/module/components/AppIcon/catalog/bulk/j.g.js +1 -14
- package/lib/module/components/AppIcon/catalog/bulk/k.g.js +1 -16
- package/lib/module/components/AppIcon/catalog/bulk/l.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/bulk/m.g.js +1 -101
- package/lib/module/components/AppIcon/catalog/bulk/n.g.js +1 -30
- package/lib/module/components/AppIcon/catalog/bulk/o.g.js +1 -17
- package/lib/module/components/AppIcon/catalog/bulk/p.g.js +1 -56
- package/lib/module/components/AppIcon/catalog/bulk/q.g.js +1 -18
- package/lib/module/components/AppIcon/catalog/bulk/r.g.js +1 -55
- package/lib/module/components/AppIcon/catalog/bulk/s.g.js +1 -109
- package/lib/module/components/AppIcon/catalog/bulk/t.g.js +1 -70
- package/lib/module/components/AppIcon/catalog/bulk/u.g.js +1 -24
- package/lib/module/components/AppIcon/catalog/bulk/v.g.js +1 -36
- package/lib/module/components/AppIcon/catalog/bulk/w.g.js +1 -37
- package/lib/module/components/AppIcon/catalog/bulk/x.g.js +1 -14
- package/lib/module/components/AppIcon/catalog/bulk/y.g.js +1 -12
- package/lib/module/components/AppIcon/catalog/bulk/z.g.js +1 -13
- package/lib/module/components/AppIcon/catalog/linear/a.g.js +1 -80
- package/lib/module/components/AppIcon/catalog/linear/b.g.js +1 -85
- package/lib/module/components/AppIcon/catalog/linear/c.g.js +1 -114
- package/lib/module/components/AppIcon/catalog/linear/d.g.js +1 -64
- package/lib/module/components/AppIcon/catalog/linear/e.g.js +1 -42
- package/lib/module/components/AppIcon/catalog/linear/f.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/linear/g.g.js +1 -50
- package/lib/module/components/AppIcon/catalog/linear/h.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/linear/i.g.js +1 -27
- package/lib/module/components/AppIcon/catalog/linear/j.g.js +1 -14
- package/lib/module/components/AppIcon/catalog/linear/k.g.js +1 -16
- package/lib/module/components/AppIcon/catalog/linear/l.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/linear/m.g.js +1 -101
- package/lib/module/components/AppIcon/catalog/linear/n.g.js +1 -30
- package/lib/module/components/AppIcon/catalog/linear/o.g.js +1 -17
- package/lib/module/components/AppIcon/catalog/linear/p.g.js +1 -56
- package/lib/module/components/AppIcon/catalog/linear/q.g.js +1 -18
- package/lib/module/components/AppIcon/catalog/linear/r.g.js +1 -55
- package/lib/module/components/AppIcon/catalog/linear/s.g.js +1 -109
- package/lib/module/components/AppIcon/catalog/linear/t.g.js +1 -70
- package/lib/module/components/AppIcon/catalog/linear/u.g.js +1 -24
- package/lib/module/components/AppIcon/catalog/linear/v.g.js +1 -36
- package/lib/module/components/AppIcon/catalog/linear/w.g.js +1 -37
- package/lib/module/components/AppIcon/catalog/linear/x.g.js +1 -14
- package/lib/module/components/AppIcon/catalog/linear/y.g.js +1 -12
- package/lib/module/components/AppIcon/catalog/linear/z.g.js +1 -13
- package/lib/module/components/AppIcon/catalog/outline/a.g.js +1 -80
- package/lib/module/components/AppIcon/catalog/outline/b.g.js +1 -85
- package/lib/module/components/AppIcon/catalog/outline/c.g.js +1 -114
- package/lib/module/components/AppIcon/catalog/outline/d.g.js +1 -64
- package/lib/module/components/AppIcon/catalog/outline/e.g.js +1 -42
- package/lib/module/components/AppIcon/catalog/outline/f.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/outline/g.g.js +1 -50
- package/lib/module/components/AppIcon/catalog/outline/h.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/outline/i.g.js +1 -27
- package/lib/module/components/AppIcon/catalog/outline/j.g.js +1 -14
- package/lib/module/components/AppIcon/catalog/outline/k.g.js +1 -16
- package/lib/module/components/AppIcon/catalog/outline/l.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/outline/m.g.js +1 -101
- package/lib/module/components/AppIcon/catalog/outline/n.g.js +1 -30
- package/lib/module/components/AppIcon/catalog/outline/o.g.js +1 -17
- package/lib/module/components/AppIcon/catalog/outline/p.g.js +1 -56
- package/lib/module/components/AppIcon/catalog/outline/q.g.js +1 -18
- package/lib/module/components/AppIcon/catalog/outline/r.g.js +1 -55
- package/lib/module/components/AppIcon/catalog/outline/s.g.js +1 -109
- package/lib/module/components/AppIcon/catalog/outline/t.g.js +1 -70
- package/lib/module/components/AppIcon/catalog/outline/u.g.js +1 -24
- package/lib/module/components/AppIcon/catalog/outline/v.g.js +1 -36
- package/lib/module/components/AppIcon/catalog/outline/w.g.js +1 -37
- package/lib/module/components/AppIcon/catalog/outline/x.g.js +1 -14
- package/lib/module/components/AppIcon/catalog/outline/y.g.js +1 -12
- package/lib/module/components/AppIcon/catalog/outline/z.g.js +1 -13
- package/lib/module/components/AppIcon/catalog/twotone/a.g.js +1 -80
- package/lib/module/components/AppIcon/catalog/twotone/b.g.js +1 -85
- package/lib/module/components/AppIcon/catalog/twotone/c.g.js +1 -114
- package/lib/module/components/AppIcon/catalog/twotone/d.g.js +1 -64
- package/lib/module/components/AppIcon/catalog/twotone/e.g.js +1 -42
- package/lib/module/components/AppIcon/catalog/twotone/f.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/twotone/g.g.js +1 -50
- package/lib/module/components/AppIcon/catalog/twotone/h.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/twotone/i.g.js +1 -27
- package/lib/module/components/AppIcon/catalog/twotone/j.g.js +1 -14
- package/lib/module/components/AppIcon/catalog/twotone/k.g.js +1 -16
- package/lib/module/components/AppIcon/catalog/twotone/l.g.js +1 -48
- package/lib/module/components/AppIcon/catalog/twotone/m.g.js +1 -101
- package/lib/module/components/AppIcon/catalog/twotone/n.g.js +1 -30
- package/lib/module/components/AppIcon/catalog/twotone/o.g.js +1 -17
- package/lib/module/components/AppIcon/catalog/twotone/p.g.js +1 -56
- package/lib/module/components/AppIcon/catalog/twotone/q.g.js +1 -18
- package/lib/module/components/AppIcon/catalog/twotone/r.g.js +1 -55
- package/lib/module/components/AppIcon/catalog/twotone/s.g.js +1 -109
- package/lib/module/components/AppIcon/catalog/twotone/t.g.js +1 -70
- package/lib/module/components/AppIcon/catalog/twotone/u.g.js +1 -24
- package/lib/module/components/AppIcon/catalog/twotone/v.g.js +1 -36
- package/lib/module/components/AppIcon/catalog/twotone/w.g.js +1 -37
- package/lib/module/components/AppIcon/catalog/twotone/x.g.js +1 -14
- package/lib/module/components/AppIcon/catalog/twotone/y.g.js +1 -12
- package/lib/module/components/AppIcon/catalog/twotone/z.g.js +1 -13
- package/lib/module/components/AppIcon/catalog.g.js +1 -183
- package/lib/module/components/AppIcon/defaultIcons.js +1 -79
- package/lib/module/components/AppIcon/glyphs.g.js +1 -156
- package/lib/module/components/AppIcon/index.js +1 -6
- package/lib/module/components/AppIcon/slotIcon.js +1 -62
- package/lib/module/components/AppIcon/variants.g.js +1 -737
- package/lib/module/components/AsyncBlock/AsyncBlock.js +1 -81
- package/lib/module/components/AsyncBlock/index.js +1 -4
- package/lib/module/components/AuthedImage/AuthedImage.js +1 -226
- package/lib/module/components/AuthedImage/authedImageCache.js +1 -337
- package/lib/module/components/AuthedImage/index.js +1 -5
- package/lib/module/components/Autocomplete/Autocomplete.js +1 -222
- package/lib/module/components/Autocomplete/index.js +1 -4
- package/lib/module/components/Avatar/Avatar.js +1 -496
- package/lib/module/components/Avatar/index.js +1 -4
- package/lib/module/components/Badge/Badge.js +1 -294
- package/lib/module/components/Badge/index.js +1 -4
- package/lib/module/components/Banner/Banner.js +1 -397
- package/lib/module/components/Banner/index.js +1 -4
- package/lib/module/components/BottomNavigation/BottomNavigation.js +1 -889
- package/lib/module/components/BottomNavigation/index.js +1 -4
- package/lib/module/components/BottomSheet/BottomSheet.js +1 -727
- package/lib/module/components/BottomSheet/index.js +1 -4
- package/lib/module/components/Box/Box.js +1 -220
- package/lib/module/components/Box/index.js +1 -4
- package/lib/module/components/Button/Button.js +1 -557
- package/lib/module/components/Button/index.js +1 -4
- package/lib/module/components/Card/Card.js +1 -403
- package/lib/module/components/Card/index.js +1 -4
- package/lib/module/components/Carousel/Carousel.js +1 -583
- package/lib/module/components/Carousel/index.js +1 -4
- package/lib/module/components/Checkbox/Checkbox.js +1 -184
- package/lib/module/components/Checkbox/index.js +1 -4
- package/lib/module/components/Chip/Chip.js +1 -354
- package/lib/module/components/Chip/index.js +1 -4
- package/lib/module/components/ChoiceGroup/ChoiceGroup.js +1 -332
- package/lib/module/components/ChoiceGroup/index.js +1 -4
- package/lib/module/components/Confetti/Confetti.js +1 -377
- package/lib/module/components/Confetti/index.js +1 -4
- package/lib/module/components/DatePicker/DatePicker.js +1 -1049
- package/lib/module/components/DatePicker/index.js +1 -4
- package/lib/module/components/DateRangePicker/DateRangePicker.js +1 -791
- package/lib/module/components/DateRangePicker/index.js +1 -4
- package/lib/module/components/DecimalInput/DecimalInput.js +1 -0
- package/lib/module/components/DecimalInput/index.js +1 -0
- package/lib/module/components/Descriptions/Descriptions.js +1 -101
- package/lib/module/components/Descriptions/index.js +1 -4
- package/lib/module/components/Dialog/Dialog.js +1 -243
- package/lib/module/components/Dialog/index.js +1 -4
- package/lib/module/components/Divider/Divider.js +1 -114
- package/lib/module/components/Divider/index.js +1 -4
- package/lib/module/components/Drawer/Drawer.js +1 -378
- package/lib/module/components/Drawer/index.js +1 -4
- package/lib/module/components/EmptyState/EmptyState.js +1 -232
- package/lib/module/components/EmptyState/index.js +1 -4
- package/lib/module/components/ErrorBoundary/ErrorBoundary.js +1 -130
- package/lib/module/components/ErrorBoundary/index.js +1 -6
- package/lib/module/components/ErrorBoundary/useErrorHandler.js +1 -20
- package/lib/module/components/ErrorBoundary/withErrorBoundary.js +1 -23
- package/lib/module/components/FieldBase/Chevron.js +1 -69
- package/lib/module/components/FieldBase/ChoiceText.js +1 -0
- package/lib/module/components/FieldBase/FieldBase.js +1 -790
- package/lib/module/components/FieldBase/index.js +1 -5
- package/lib/module/components/FieldBase/useFloatingLabel.js +1 -177
- package/lib/module/components/FilePicker/FilePicker.js +1 -791
- package/lib/module/components/FilePicker/index.js +1 -4
- package/lib/module/components/FileViewer/FileViewer.js +1 -253
- package/lib/module/components/FileViewer/index.js +1 -4
- package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -691
- package/lib/module/components/FloatingActionButton/index.js +1 -4
- package/lib/module/components/ForceUpdateDialog/ForceUpdateDialog.js +1 -84
- package/lib/module/components/ForceUpdateDialog/index.js +1 -4
- package/lib/module/components/FormField/FormField.js +1 -166
- package/lib/module/components/FormField/index.js +1 -4
- package/lib/module/components/IconBadge/IconBadge.js +1 -0
- package/lib/module/components/IconBadge/index.js +1 -0
- package/lib/module/components/IconButton/IconButton.js +1 -194
- package/lib/module/components/IconButton/index.js +1 -4
- package/lib/module/components/ImageGallery/ImageGallery.js +1 -589
- package/lib/module/components/ImageGallery/index.js +1 -4
- package/lib/module/components/InlineSelect/InlineSelect.js +1 -186
- package/lib/module/components/InlineSelect/index.js +1 -4
- package/lib/module/components/Input/Input.js +1 -587
- package/lib/module/components/Input/index.js +1 -4
- package/lib/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.js +1 -164
- package/lib/module/components/KeyboardAwareScrollView/index.js +1 -4
- package/lib/module/components/KeyboardToolbar/KeyboardToolbar.js +1 -130
- package/lib/module/components/KeyboardToolbar/index.js +1 -4
- package/lib/module/components/ListItem/ListItem.js +1 -340
- package/lib/module/components/ListItem/index.js +1 -4
- package/lib/module/components/LoaderOverlay/LoaderOverlay.js +1 -196
- package/lib/module/components/LoaderOverlay/index.js +1 -4
- package/lib/module/components/Markdown/Markdown.js +1 -270
- package/lib/module/components/Markdown/index.js +1 -4
- package/lib/module/components/Markdown/parse.js +1 -223
- package/lib/module/components/Modal/Modal.js +1 -372
- package/lib/module/components/Modal/index.js +1 -4
- package/lib/module/components/Notation/Notation.js +1 -0
- package/lib/module/components/Notation/index.js +1 -0
- package/lib/module/components/NumberInput/NumberInput.js +1 -382
- package/lib/module/components/NumberInput/index.js +1 -4
- package/lib/module/components/OTPInput/OTPInput.js +1 -445
- package/lib/module/components/OTPInput/index.js +1 -4
- package/lib/module/components/OptionSheet/OptionSheet.js +1 -714
- package/lib/module/components/OptionSheet/index.js +1 -0
- package/lib/module/components/PhoneNumberInput/PhoneNumberInput.js +1 -569
- package/lib/module/components/PhoneNumberInput/index.js +1 -4
- package/lib/module/components/PickerTrigger/PickerTrigger.js +1 -146
- package/lib/module/components/PickerTrigger/index.js +1 -4
- package/lib/module/components/ProfileCompletion/ProfileCompletion.js +1 -211
- package/lib/module/components/ProfileCompletion/index.js +1 -4
- package/lib/module/components/ProfilePicker/ProfilePicker.js +1 -526
- package/lib/module/components/ProfilePicker/index.js +1 -4
- package/lib/module/components/ProgressBar/ProgressBar.js +1 -199
- package/lib/module/components/ProgressBar/index.js +1 -4
- package/lib/module/components/ProgressRing/ProgressRing.js +1 -187
- package/lib/module/components/ProgressRing/index.js +1 -4
- package/lib/module/components/Radio/Radio.js +1 -123
- package/lib/module/components/Radio/RadioDot.js +1 -102
- package/lib/module/components/Radio/RadioGroup.js +1 -45
- package/lib/module/components/Radio/index.js +1 -6
- package/lib/module/components/Rating/Rating.js +1 -334
- package/lib/module/components/Rating/index.js +1 -4
- package/lib/module/components/Repeater/Repeater.js +1 -162
- package/lib/module/components/Repeater/index.js +1 -4
- package/lib/module/components/RichTextEditor/RichTextEditor.js +1 -309
- package/lib/module/components/RichTextEditor/index.js +1 -5
- package/lib/module/components/RichTextEditor/markdownActions.js +1 -207
- package/lib/module/components/SearchBar/SearchBar.js +1 -241
- package/lib/module/components/SearchBar/index.js +1 -4
- package/lib/module/components/SectionHeader/SectionHeader.js +1 -0
- package/lib/module/components/SectionHeader/index.js +1 -0
- package/lib/module/components/SegmentedControl/SegmentedControl.js +1 -317
- package/lib/module/components/SegmentedControl/index.js +1 -4
- package/lib/module/components/Select/Select.js +1 -273
- package/lib/module/components/Select/index.js +1 -4
- package/lib/module/components/Skeleton/Skeleton.js +1 -278
- package/lib/module/components/Skeleton/SkeletonClock.js +1 -111
- package/lib/module/components/Skeleton/SkeletonContent.js +1 -304
- package/lib/module/components/Skeleton/SkeletonList.js +1 -87
- package/lib/module/components/Skeleton/SkeletonProvider.js +1 -106
- package/lib/module/components/Skeleton/SkeletonSkip.js +1 -31
- package/lib/module/components/Skeleton/index.js +1 -9
- package/lib/module/components/SlideToConfirm/SlideToConfirm.js +1 -258
- package/lib/module/components/SlideToConfirm/index.js +1 -4
- package/lib/module/components/Slider/Slider.js +1 -805
- package/lib/module/components/Slider/index.js +1 -4
- package/lib/module/components/Slider/valueText.js +1 -258
- package/lib/module/components/SliderField/SliderField.js +1 -357
- package/lib/module/components/SliderField/index.js +1 -4
- package/lib/module/components/Spinner/Spinner.js +1 -199
- package/lib/module/components/Spinner/index.js +1 -4
- package/lib/module/components/SquircleFill/SquircleFill.js +1 -110
- package/lib/module/components/StatTile/StatTile.js +1 -0
- package/lib/module/components/StatTile/index.js +1 -0
- package/lib/module/components/StatusBadge/StatusBadge.js +1 -229
- package/lib/module/components/StatusBadge/index.js +1 -4
- package/lib/module/components/Stepper/Stepper.js +1 -775
- package/lib/module/components/Stepper/index.js +1 -4
- package/lib/module/components/Swipeable/Swipeable.js +1 -378
- package/lib/module/components/Swipeable/index.js +1 -4
- package/lib/module/components/Switch/Switch.js +1 -230
- package/lib/module/components/Switch/index.js +1 -4
- package/lib/module/components/Tabs/Tabs.js +1 -425
- package/lib/module/components/Tabs/index.js +1 -4
- package/lib/module/components/TagInput/TagInput.js +1 -181
- package/lib/module/components/TagInput/index.js +1 -4
- package/lib/module/components/Text/Text.js +1 -142
- package/lib/module/components/Text/index.js +1 -4
- package/lib/module/components/TimePicker/TimePicker.js +1 -726
- package/lib/module/components/TimePicker/index.js +1 -4
- package/lib/module/components/Timeline/Timeline.js +1 -257
- package/lib/module/components/Timeline/index.js +1 -4
- package/lib/module/components/Toast/Toast.js +1 -321
- package/lib/module/components/Toast/ToastProvider.js +1 -192
- package/lib/module/components/Toast/index.js +1 -5
- package/lib/module/components/Tooltip/Tooltip.js +1 -407
- package/lib/module/components/Tooltip/index.js +1 -4
- package/lib/module/components/Tour/Tour.js +1 -338
- package/lib/module/components/Tour/index.js +1 -4
- package/lib/module/components/ZoomableImage/ZoomableImage.js +1 -198
- package/lib/module/components/ZoomableImage/index.js +1 -4
- package/lib/module/components/index.js +1 -79
- package/lib/module/form/FormContext.js +1 -44
- package/lib/module/form/HookFormField.js +1 -0
- package/lib/module/form/equal.js +1 -51
- package/lib/module/form/index.js +1 -17
- package/lib/module/form/path.js +1 -84
- package/lib/module/form/rules.js +1 -59
- package/lib/module/form/types.js +0 -2
- package/lib/module/form/useField.js +1 -61
- package/lib/module/form/useForm.js +1 -375
- package/lib/module/form/useFormCompletion.js +1 -67
- package/lib/module/form/useHookFormField.js +1 -0
- package/lib/module/hooks/index.js +1 -10
- package/lib/module/hooks/useControllableState.js +1 -28
- package/lib/module/hooks/useDebounce.js +1 -12
- package/lib/module/hooks/useDragToDismiss.js +1 -137
- package/lib/module/hooks/useFlickGuard.js +1 -55
- package/lib/module/hooks/usePressAnimation.js +1 -126
- package/lib/module/hooks/useReducedMotion.js +1 -29
- package/lib/module/hooks/useToggle.js +1 -17
- package/lib/module/index.js +1 -18
- package/lib/module/initUI.js +1 -19
- package/lib/module/network/NetworkStatusBanner.js +1 -83
- package/lib/module/network/index.js +1 -4
- package/lib/module/specs/NativePdfRasterizer.js +1 -5
- package/lib/module/theme/Gradient.js +1 -52
- package/lib/module/theme/ThemeContext.js +1 -93
- package/lib/module/theme/animatedValue.js +1 -64
- package/lib/module/theme/index.js +1 -67
- package/lib/module/theme/merge.js +1 -25
- package/lib/module/theme/textStyle.js +1 -34
- package/lib/module/theme/tokens.js +1 -702
- package/lib/module/theme/types.js +1 -4
- package/lib/module/utils/color.js +1 -52
- package/lib/module/utils/corners.js +1 -18
- package/lib/module/utils/dimensions.js +1 -4
- package/lib/module/utils/feedback.js +1 -70
- package/lib/module/utils/hapticUtils.js +1 -86
- package/lib/module/utils/hashString.js +1 -17
- package/lib/module/utils/index.js +1 -13
- package/lib/module/utils/mergeRefs.js +1 -19
- package/lib/module/utils/responsive.js +1 -97
- package/lib/module/utils/shadows.js +1 -54
- package/lib/module/utils/spacing.js +1 -82
- package/lib/module/utils/squircle.js +1 -151
- package/lib/module/utils/warnUnknownProps.js +1 -42
- package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +42 -1
- package/lib/typescript/commonjs/components/AppIcon/AppIcon.d.ts +15 -2
- package/lib/typescript/commonjs/components/AppIcon/catalog.g.d.ts +1 -1
- package/lib/typescript/commonjs/components/AppIcon/glyphs.g.d.ts +62 -0
- package/lib/typescript/commonjs/components/AppIcon/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/AppIcon/slotIcon.d.ts +9 -5
- package/lib/typescript/commonjs/components/AsyncBlock/AsyncBlock.d.ts +17 -1
- package/lib/typescript/commonjs/components/AsyncBlock/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/AuthedImage/AuthedImage.d.ts +17 -2
- package/lib/typescript/commonjs/components/AuthedImage/authedImageCache.d.ts +12 -0
- package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +8 -5
- package/lib/typescript/commonjs/components/Banner/Banner.d.ts +28 -1
- package/lib/typescript/commonjs/components/Banner/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +44 -2
- package/lib/typescript/commonjs/components/BottomSheet/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Button/Button.d.ts +6 -0
- package/lib/typescript/commonjs/components/Card/Card.d.ts +31 -1
- package/lib/typescript/commonjs/components/Card/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +22 -4
- package/lib/typescript/commonjs/components/Chip/Chip.d.ts +19 -1
- package/lib/typescript/commonjs/components/Chip/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +31 -7
- package/lib/typescript/commonjs/components/ChoiceGroup/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/DecimalInput/DecimalInput.d.ts +56 -0
- package/lib/typescript/commonjs/components/DecimalInput/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Descriptions/Descriptions.d.ts +15 -2
- package/lib/typescript/commonjs/components/Descriptions/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Dialog/Dialog.d.ts +6 -2
- package/lib/typescript/commonjs/components/EmptyState/EmptyState.d.ts +6 -0
- package/lib/typescript/commonjs/components/FieldBase/ChoiceText.d.ts +24 -0
- package/lib/typescript/commonjs/components/FieldBase/FieldBase.d.ts +24 -4
- package/lib/typescript/commonjs/components/FieldBase/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/FieldBase/useFloatingLabel.d.ts +3 -1
- package/lib/typescript/commonjs/components/FormField/FormField.d.ts +15 -5
- package/lib/typescript/commonjs/components/IconBadge/IconBadge.d.ts +30 -0
- package/lib/typescript/commonjs/components/IconBadge/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/IconButton/IconButton.d.ts +15 -8
- package/lib/typescript/commonjs/components/Input/Input.d.ts +33 -3
- package/lib/typescript/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +19 -22
- package/lib/typescript/commonjs/components/KeyboardAwareScrollView/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/KeyboardToolbar/KeyboardToolbar.d.ts +15 -10
- package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +39 -2
- package/lib/typescript/commonjs/components/ListItem/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Notation/Notation.d.ts +27 -0
- package/lib/typescript/commonjs/components/Notation/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +11 -3
- package/lib/typescript/commonjs/components/OTPInput/OTPInput.d.ts +6 -0
- package/lib/typescript/commonjs/components/OptionSheet/OptionSheet.d.ts +11 -1
- package/lib/typescript/commonjs/components/OptionSheet/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/PhoneNumberInput/PhoneNumberInput.d.ts +43 -7
- package/lib/typescript/commonjs/components/PhoneNumberInput/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +8 -6
- package/lib/typescript/commonjs/components/ProfilePicker/ProfilePicker.d.ts +3 -3
- package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +5 -0
- package/lib/typescript/commonjs/components/Radio/Radio.d.ts +4 -0
- package/lib/typescript/commonjs/components/Repeater/Repeater.d.ts +15 -1
- package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +2 -0
- package/lib/typescript/commonjs/components/SectionHeader/SectionHeader.d.ts +18 -0
- package/lib/typescript/commonjs/components/SectionHeader/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +7 -0
- package/lib/typescript/commonjs/components/Select/Select.d.ts +32 -2
- package/lib/typescript/commonjs/components/Slider/valueText.d.ts +3 -0
- package/lib/typescript/commonjs/components/StatTile/StatTile.d.ts +31 -0
- package/lib/typescript/commonjs/components/StatTile/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +7 -0
- package/lib/typescript/commonjs/components/Switch/Switch.d.ts +19 -0
- package/lib/typescript/commonjs/components/Switch/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Text/Text.d.ts +8 -3
- package/lib/typescript/commonjs/components/Toast/Toast.d.ts +6 -0
- package/lib/typescript/commonjs/components/Toast/ToastProvider.d.ts +24 -1
- package/lib/typescript/commonjs/components/Toast/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/index.d.ts +26 -14
- package/lib/typescript/commonjs/form/FormContext.d.ts +10 -1
- package/lib/typescript/commonjs/form/HookFormField.d.ts +44 -0
- package/lib/typescript/commonjs/form/index.d.ts +4 -0
- package/lib/typescript/commonjs/form/useField.d.ts +6 -0
- package/lib/typescript/commonjs/form/useForm.d.ts +4 -0
- package/lib/typescript/commonjs/form/useHookFormField.d.ts +32 -0
- package/lib/typescript/commonjs/index.d.ts +5 -5
- package/lib/typescript/commonjs/network/NetworkStatusBanner.d.ts +6 -0
- package/lib/typescript/commonjs/theme/ThemeContext.d.ts +8 -0
- package/lib/typescript/commonjs/theme/index.d.ts +1 -1
- package/lib/typescript/commonjs/theme/types.d.ts +40 -1
- package/lib/typescript/module/components/AppBar/AppBar.d.ts +42 -1
- package/lib/typescript/module/components/AppIcon/AppIcon.d.ts +15 -2
- package/lib/typescript/module/components/AppIcon/catalog.g.d.ts +1 -1
- package/lib/typescript/module/components/AppIcon/glyphs.g.d.ts +62 -0
- package/lib/typescript/module/components/AppIcon/index.d.ts +2 -2
- package/lib/typescript/module/components/AppIcon/slotIcon.d.ts +9 -5
- package/lib/typescript/module/components/AsyncBlock/AsyncBlock.d.ts +17 -1
- package/lib/typescript/module/components/AsyncBlock/index.d.ts +1 -1
- package/lib/typescript/module/components/AuthedImage/AuthedImage.d.ts +17 -2
- package/lib/typescript/module/components/AuthedImage/authedImageCache.d.ts +12 -0
- package/lib/typescript/module/components/Avatar/Avatar.d.ts +8 -5
- package/lib/typescript/module/components/Banner/Banner.d.ts +28 -1
- package/lib/typescript/module/components/Banner/index.d.ts +1 -1
- package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +44 -2
- package/lib/typescript/module/components/BottomSheet/index.d.ts +1 -1
- package/lib/typescript/module/components/Button/Button.d.ts +6 -0
- package/lib/typescript/module/components/Card/Card.d.ts +31 -1
- package/lib/typescript/module/components/Card/index.d.ts +1 -1
- package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +22 -4
- package/lib/typescript/module/components/Chip/Chip.d.ts +19 -1
- package/lib/typescript/module/components/Chip/index.d.ts +1 -1
- package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +31 -7
- package/lib/typescript/module/components/ChoiceGroup/index.d.ts +1 -1
- package/lib/typescript/module/components/DecimalInput/DecimalInput.d.ts +56 -0
- package/lib/typescript/module/components/DecimalInput/index.d.ts +3 -0
- package/lib/typescript/module/components/Descriptions/Descriptions.d.ts +15 -2
- package/lib/typescript/module/components/Descriptions/index.d.ts +1 -1
- package/lib/typescript/module/components/Dialog/Dialog.d.ts +6 -2
- package/lib/typescript/module/components/EmptyState/EmptyState.d.ts +6 -0
- package/lib/typescript/module/components/FieldBase/ChoiceText.d.ts +24 -0
- package/lib/typescript/module/components/FieldBase/FieldBase.d.ts +24 -4
- package/lib/typescript/module/components/FieldBase/index.d.ts +1 -1
- package/lib/typescript/module/components/FieldBase/useFloatingLabel.d.ts +3 -1
- package/lib/typescript/module/components/FormField/FormField.d.ts +15 -5
- package/lib/typescript/module/components/IconBadge/IconBadge.d.ts +30 -0
- package/lib/typescript/module/components/IconBadge/index.d.ts +3 -0
- package/lib/typescript/module/components/IconButton/IconButton.d.ts +15 -8
- package/lib/typescript/module/components/Input/Input.d.ts +33 -3
- package/lib/typescript/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +19 -22
- package/lib/typescript/module/components/KeyboardAwareScrollView/index.d.ts +1 -1
- package/lib/typescript/module/components/KeyboardToolbar/KeyboardToolbar.d.ts +15 -10
- package/lib/typescript/module/components/ListItem/ListItem.d.ts +39 -2
- package/lib/typescript/module/components/ListItem/index.d.ts +1 -1
- package/lib/typescript/module/components/Notation/Notation.d.ts +27 -0
- package/lib/typescript/module/components/Notation/index.d.ts +3 -0
- package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +11 -3
- package/lib/typescript/module/components/OTPInput/OTPInput.d.ts +6 -0
- package/lib/typescript/module/components/OptionSheet/OptionSheet.d.ts +11 -1
- package/lib/typescript/module/components/OptionSheet/index.d.ts +3 -0
- package/lib/typescript/module/components/PhoneNumberInput/PhoneNumberInput.d.ts +43 -7
- package/lib/typescript/module/components/PhoneNumberInput/index.d.ts +2 -2
- package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +8 -6
- package/lib/typescript/module/components/ProfilePicker/ProfilePicker.d.ts +3 -3
- package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +5 -0
- package/lib/typescript/module/components/Radio/Radio.d.ts +4 -0
- package/lib/typescript/module/components/Repeater/Repeater.d.ts +15 -1
- package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +2 -0
- package/lib/typescript/module/components/SectionHeader/SectionHeader.d.ts +18 -0
- package/lib/typescript/module/components/SectionHeader/index.d.ts +3 -0
- package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +7 -0
- package/lib/typescript/module/components/Select/Select.d.ts +32 -2
- package/lib/typescript/module/components/Slider/valueText.d.ts +3 -0
- package/lib/typescript/module/components/StatTile/StatTile.d.ts +31 -0
- package/lib/typescript/module/components/StatTile/index.d.ts +3 -0
- package/lib/typescript/module/components/Stepper/Stepper.d.ts +7 -0
- package/lib/typescript/module/components/Switch/Switch.d.ts +19 -0
- package/lib/typescript/module/components/Switch/index.d.ts +1 -1
- package/lib/typescript/module/components/Text/Text.d.ts +8 -3
- package/lib/typescript/module/components/Toast/Toast.d.ts +6 -0
- package/lib/typescript/module/components/Toast/ToastProvider.d.ts +24 -1
- package/lib/typescript/module/components/Toast/index.d.ts +2 -2
- package/lib/typescript/module/components/index.d.ts +26 -14
- package/lib/typescript/module/form/FormContext.d.ts +10 -1
- package/lib/typescript/module/form/HookFormField.d.ts +44 -0
- package/lib/typescript/module/form/index.d.ts +4 -0
- package/lib/typescript/module/form/useField.d.ts +6 -0
- package/lib/typescript/module/form/useForm.d.ts +4 -0
- package/lib/typescript/module/form/useHookFormField.d.ts +32 -0
- package/lib/typescript/module/index.d.ts +5 -5
- package/lib/typescript/module/network/NetworkStatusBanner.d.ts +6 -0
- package/lib/typescript/module/theme/ThemeContext.d.ts +8 -0
- package/lib/typescript/module/theme/index.d.ts +1 -1
- package/lib/typescript/module/theme/types.d.ts +40 -1
- package/package.json +14 -5
|
@@ -1,338 +1 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
4
|
-
import { AccessibilityInfo, Animated, StyleSheet, Text, useWindowDimensions, View } from 'react-native';
|
|
5
|
-
import { createAnimatedValue, useTheme } from "../../theme/index.js";
|
|
6
|
-
import { smoothCorners } from "../../utils/corners.js";
|
|
7
|
-
import { Button } from "../Button/index.js";
|
|
8
|
-
import { Modal } from "../Modal/index.js";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Where the app remembers that a person has seen a tour: one record per tour
|
|
12
|
-
* id for the signed-in person, so one server record can serve the web tour too.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* - `finished`: the person stepped past the last step. Marked seen.
|
|
17
|
-
* - `skipped`: Skip, or Android back. Marked seen.
|
|
18
|
-
* - `alreadySeen`: the seen store says this tour was seen, so nothing showed.
|
|
19
|
-
* - `noTargets`: no step's view was on screen, so nothing showed. Not marked seen.
|
|
20
|
-
*/
|
|
21
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
|
-
const DEFAULT_GAP = 8;
|
|
23
|
-
const DEFAULT_SCREEN_PADDING = 8;
|
|
24
|
-
const MAX_CARD_WIDTH = 360;
|
|
25
|
-
const HIGHLIGHT_BORDER_WIDTH = 2;
|
|
26
|
-
const measureInWindow = target => new Promise(resolve => {
|
|
27
|
-
const node = target.current;
|
|
28
|
-
if (!node) {
|
|
29
|
-
resolve(null);
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
node.measureInWindow((x, y, width, height) => resolve({
|
|
33
|
-
x,
|
|
34
|
-
y,
|
|
35
|
-
width,
|
|
36
|
-
height
|
|
37
|
-
}));
|
|
38
|
-
});
|
|
39
|
-
const isOnScreen = (rect, screen) => rect.width > 0 && rect.height > 0 && rect.x < screen.width && rect.y < screen.height && rect.x + rect.width > 0 && rect.y + rect.height > 0;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Walks through product steps one highlighted view at a time: the screen is
|
|
43
|
-
* dimmed except around the step's view, with a card holding the step text and
|
|
44
|
-
* Back, Next and Skip. Built on `Modal`; the card sits on the side of the view
|
|
45
|
-
* with more room, as `Tooltip` places its bubble, using the same tooltip gap and
|
|
46
|
-
* screen-padding tokens. Motion comes from `theme.motion`, which collapses under
|
|
47
|
-
* the OS Reduce Motion setting.
|
|
48
|
-
*/
|
|
49
|
-
const Tour = ({
|
|
50
|
-
tourId,
|
|
51
|
-
steps,
|
|
52
|
-
visible,
|
|
53
|
-
onClose,
|
|
54
|
-
seenStore,
|
|
55
|
-
labels,
|
|
56
|
-
haptic,
|
|
57
|
-
testID
|
|
58
|
-
}) => {
|
|
59
|
-
const theme = useTheme();
|
|
60
|
-
const styles = useMemo(() => buildStyles(theme), [theme]);
|
|
61
|
-
const screen = useWindowDimensions();
|
|
62
|
-
const screenRef = useRef(screen);
|
|
63
|
-
screenRef.current = screen;
|
|
64
|
-
const gap = theme.components.tooltip?.gap ?? DEFAULT_GAP;
|
|
65
|
-
const screenPadding = theme.components.tooltip?.screenPadding ?? DEFAULT_SCREEN_PADDING;
|
|
66
|
-
const [current, setCurrent] = useState(null);
|
|
67
|
-
const [firstIndex, setFirstIndex] = useState(0);
|
|
68
|
-
const cardOpacity = useRef(createAnimatedValue(0)).current;
|
|
69
|
-
const stepsRef = useRef(steps);
|
|
70
|
-
stepsRef.current = steps;
|
|
71
|
-
const onCloseRef = useRef(onClose);
|
|
72
|
-
onCloseRef.current = onClose;
|
|
73
|
-
// Read through a ref so an inline store object does not restart a running tour.
|
|
74
|
-
const seenStoreRef = useRef(seenStore);
|
|
75
|
-
seenStoreRef.current = seenStore;
|
|
76
|
-
const locate = useCallback(async (from, direction) => {
|
|
77
|
-
for (let index = from; index >= 0 && index < stepsRef.current.length; index += direction) {
|
|
78
|
-
const rect = await measureInWindow(stepsRef.current[index].target);
|
|
79
|
-
if (rect && isOnScreen(rect, screenRef.current)) {
|
|
80
|
-
return {
|
|
81
|
-
index,
|
|
82
|
-
rect
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
return null;
|
|
87
|
-
}, []);
|
|
88
|
-
useEffect(() => {
|
|
89
|
-
if (!visible) {
|
|
90
|
-
setCurrent(null);
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
let cancelled = false;
|
|
94
|
-
const start = async () => {
|
|
95
|
-
const store = seenStoreRef.current;
|
|
96
|
-
if (store && (await store.isSeen(tourId))) {
|
|
97
|
-
if (!cancelled) {
|
|
98
|
-
onCloseRef.current('alreadySeen');
|
|
99
|
-
}
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
const first = await locate(0, 1);
|
|
103
|
-
if (cancelled) {
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
if (!first) {
|
|
107
|
-
onCloseRef.current('noTargets');
|
|
108
|
-
return;
|
|
109
|
-
}
|
|
110
|
-
setFirstIndex(first.index);
|
|
111
|
-
setCurrent(first);
|
|
112
|
-
};
|
|
113
|
-
void start();
|
|
114
|
-
return () => {
|
|
115
|
-
cancelled = true;
|
|
116
|
-
};
|
|
117
|
-
}, [visible, tourId, locate]);
|
|
118
|
-
useEffect(() => {
|
|
119
|
-
if (!current) {
|
|
120
|
-
return;
|
|
121
|
-
}
|
|
122
|
-
const step = stepsRef.current[current.index];
|
|
123
|
-
const position = `Step ${current.index + 1} of ${stepsRef.current.length}`;
|
|
124
|
-
AccessibilityInfo.announceForAccessibility([position, step.title, step.description].filter(Boolean).join('. '));
|
|
125
|
-
cardOpacity.setValue(0);
|
|
126
|
-
const fade = Animated.timing(cardOpacity, {
|
|
127
|
-
toValue: 1,
|
|
128
|
-
duration: theme.motion.duration.fast,
|
|
129
|
-
useNativeDriver: true
|
|
130
|
-
});
|
|
131
|
-
fade.start();
|
|
132
|
-
return () => fade.stop();
|
|
133
|
-
}, [current, cardOpacity, theme.motion.duration.fast]);
|
|
134
|
-
const close = useCallback(async reason => {
|
|
135
|
-
setCurrent(null);
|
|
136
|
-
await seenStoreRef.current?.markSeen(tourId);
|
|
137
|
-
onCloseRef.current(reason);
|
|
138
|
-
}, [tourId]);
|
|
139
|
-
const handleNext = useCallback(async () => {
|
|
140
|
-
if (!current) {
|
|
141
|
-
return;
|
|
142
|
-
}
|
|
143
|
-
const next = await locate(current.index + 1, 1);
|
|
144
|
-
if (next) {
|
|
145
|
-
setCurrent(next);
|
|
146
|
-
return;
|
|
147
|
-
}
|
|
148
|
-
await close('finished');
|
|
149
|
-
}, [current, locate, close]);
|
|
150
|
-
const handleBack = useCallback(async () => {
|
|
151
|
-
if (!current) {
|
|
152
|
-
return;
|
|
153
|
-
}
|
|
154
|
-
const previous = await locate(current.index - 1, -1);
|
|
155
|
-
if (previous) {
|
|
156
|
-
setCurrent(previous);
|
|
157
|
-
}
|
|
158
|
-
}, [current, locate]);
|
|
159
|
-
const handleSkip = useCallback(() => {
|
|
160
|
-
void close('skipped');
|
|
161
|
-
}, [close]);
|
|
162
|
-
const step = current ? steps[current.index] : undefined;
|
|
163
|
-
const isLast = current ? current.index === steps.length - 1 : false;
|
|
164
|
-
const pad = theme.spacing.xs;
|
|
165
|
-
const hole = current ? {
|
|
166
|
-
x: current.rect.x - pad,
|
|
167
|
-
y: current.rect.y - pad,
|
|
168
|
-
width: current.rect.width + pad * 2,
|
|
169
|
-
height: current.rect.height + pad * 2
|
|
170
|
-
} : null;
|
|
171
|
-
const cardWidth = Math.min(screen.width - screenPadding * 2, MAX_CARD_WIDTH);
|
|
172
|
-
const cardPosition = hole ? (() => {
|
|
173
|
-
const centreX = hole.x + hole.width / 2;
|
|
174
|
-
const left = Math.max(screenPadding, Math.min(centreX - cardWidth / 2, screen.width - cardWidth - screenPadding));
|
|
175
|
-
const roomAbove = hole.y;
|
|
176
|
-
const roomBelow = screen.height - (hole.y + hole.height);
|
|
177
|
-
return roomBelow >= roomAbove ? {
|
|
178
|
-
left,
|
|
179
|
-
top: hole.y + hole.height + gap,
|
|
180
|
-
maxHeight: Math.max(roomBelow - gap - screenPadding, 0)
|
|
181
|
-
} : {
|
|
182
|
-
left,
|
|
183
|
-
bottom: screen.height - hole.y + gap,
|
|
184
|
-
maxHeight: Math.max(roomAbove - gap - screenPadding, 0)
|
|
185
|
-
};
|
|
186
|
-
})() : null;
|
|
187
|
-
const dim = theme.colors.background.overlay;
|
|
188
|
-
return /*#__PURE__*/_jsx(Modal, {
|
|
189
|
-
visible: current !== null,
|
|
190
|
-
onRequestClose: handleSkip,
|
|
191
|
-
presentation: "fullScreen",
|
|
192
|
-
backdropPressClose: false,
|
|
193
|
-
backdropStyle: styles.transparent,
|
|
194
|
-
contentStyle: styles.transparent,
|
|
195
|
-
accessibilityLabel: step?.title ?? step?.description,
|
|
196
|
-
haptic: haptic,
|
|
197
|
-
testID: testID,
|
|
198
|
-
children: hole && cardPosition && step ? /*#__PURE__*/_jsxs(View, {
|
|
199
|
-
style: StyleSheet.absoluteFill,
|
|
200
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
201
|
-
style: [styles.dim, {
|
|
202
|
-
backgroundColor: dim,
|
|
203
|
-
top: 0,
|
|
204
|
-
left: 0,
|
|
205
|
-
right: 0,
|
|
206
|
-
height: Math.max(hole.y, 0)
|
|
207
|
-
}]
|
|
208
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
209
|
-
style: [styles.dim, {
|
|
210
|
-
backgroundColor: dim,
|
|
211
|
-
top: hole.y + hole.height,
|
|
212
|
-
left: 0,
|
|
213
|
-
right: 0,
|
|
214
|
-
bottom: 0
|
|
215
|
-
}]
|
|
216
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
217
|
-
style: [styles.dim, {
|
|
218
|
-
backgroundColor: dim,
|
|
219
|
-
top: hole.y,
|
|
220
|
-
left: 0,
|
|
221
|
-
width: Math.max(hole.x, 0),
|
|
222
|
-
height: hole.height
|
|
223
|
-
}]
|
|
224
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
225
|
-
style: [styles.dim, {
|
|
226
|
-
backgroundColor: dim,
|
|
227
|
-
top: hole.y,
|
|
228
|
-
left: hole.x + hole.width,
|
|
229
|
-
right: 0,
|
|
230
|
-
height: hole.height
|
|
231
|
-
}]
|
|
232
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
233
|
-
pointerEvents: "none",
|
|
234
|
-
style: [styles.highlight, {
|
|
235
|
-
top: hole.y,
|
|
236
|
-
left: hole.x,
|
|
237
|
-
width: hole.width,
|
|
238
|
-
height: hole.height
|
|
239
|
-
}]
|
|
240
|
-
}), /*#__PURE__*/_jsxs(Animated.View, {
|
|
241
|
-
accessibilityLiveRegion: "polite",
|
|
242
|
-
style: [styles.card, cardPosition, {
|
|
243
|
-
width: cardWidth,
|
|
244
|
-
opacity: cardOpacity
|
|
245
|
-
}],
|
|
246
|
-
testID: testID ? `${testID}-card` : undefined,
|
|
247
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
248
|
-
style: styles.position,
|
|
249
|
-
children: `Step ${(current?.index ?? 0) + 1} of ${steps.length}`
|
|
250
|
-
}), step.title ? /*#__PURE__*/_jsx(Text, {
|
|
251
|
-
style: styles.title,
|
|
252
|
-
accessibilityRole: "header",
|
|
253
|
-
children: step.title
|
|
254
|
-
}) : null, /*#__PURE__*/_jsx(Text, {
|
|
255
|
-
style: styles.description,
|
|
256
|
-
children: step.description
|
|
257
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
258
|
-
style: styles.actions,
|
|
259
|
-
children: [/*#__PURE__*/_jsx(Button, {
|
|
260
|
-
title: labels?.skip ?? 'Skip',
|
|
261
|
-
variant: "ghost",
|
|
262
|
-
size: "sm",
|
|
263
|
-
haptic: haptic,
|
|
264
|
-
onPress: handleSkip,
|
|
265
|
-
testID: testID ? `${testID}-skip` : undefined
|
|
266
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
267
|
-
style: styles.navigation,
|
|
268
|
-
children: [current && current.index > firstIndex ? /*#__PURE__*/_jsx(Button, {
|
|
269
|
-
title: labels?.back ?? 'Back',
|
|
270
|
-
variant: "outline",
|
|
271
|
-
size: "sm",
|
|
272
|
-
haptic: haptic,
|
|
273
|
-
onPress: () => void handleBack(),
|
|
274
|
-
testID: testID ? `${testID}-back` : undefined
|
|
275
|
-
}) : null, /*#__PURE__*/_jsx(Button, {
|
|
276
|
-
title: isLast ? labels?.done ?? 'Done' : labels?.next ?? 'Next',
|
|
277
|
-
size: "sm",
|
|
278
|
-
haptic: haptic,
|
|
279
|
-
onPress: () => void handleNext(),
|
|
280
|
-
testID: testID ? `${testID}-next` : undefined
|
|
281
|
-
})]
|
|
282
|
-
})]
|
|
283
|
-
})]
|
|
284
|
-
})]
|
|
285
|
-
}) : null
|
|
286
|
-
});
|
|
287
|
-
};
|
|
288
|
-
Tour.displayName = 'Tour';
|
|
289
|
-
const buildStyles = theme => StyleSheet.create({
|
|
290
|
-
transparent: {
|
|
291
|
-
backgroundColor: 'transparent'
|
|
292
|
-
},
|
|
293
|
-
dim: {
|
|
294
|
-
position: 'absolute'
|
|
295
|
-
},
|
|
296
|
-
highlight: {
|
|
297
|
-
position: 'absolute',
|
|
298
|
-
borderWidth: HIGHLIGHT_BORDER_WIDTH,
|
|
299
|
-
borderColor: theme.colors.primary,
|
|
300
|
-
borderRadius: theme.radius.md,
|
|
301
|
-
...smoothCorners
|
|
302
|
-
},
|
|
303
|
-
card: {
|
|
304
|
-
position: 'absolute',
|
|
305
|
-
backgroundColor: theme.colors.background.elevated,
|
|
306
|
-
borderRadius: theme.radius.lg,
|
|
307
|
-
...smoothCorners,
|
|
308
|
-
padding: theme.spacing.lg,
|
|
309
|
-
gap: theme.spacing.sm,
|
|
310
|
-
...theme.shadows.lg
|
|
311
|
-
},
|
|
312
|
-
position: {
|
|
313
|
-
color: theme.colors.text.tertiary,
|
|
314
|
-
fontSize: theme.typography.fontSize.xs
|
|
315
|
-
},
|
|
316
|
-
title: {
|
|
317
|
-
color: theme.colors.text.primary,
|
|
318
|
-
fontSize: theme.typography.fontSize.lg,
|
|
319
|
-
fontWeight: theme.typography.fontWeight.semibold
|
|
320
|
-
},
|
|
321
|
-
description: {
|
|
322
|
-
color: theme.colors.text.secondary,
|
|
323
|
-
fontSize: theme.typography.fontSize.sm
|
|
324
|
-
},
|
|
325
|
-
actions: {
|
|
326
|
-
flexDirection: 'row',
|
|
327
|
-
alignItems: 'center',
|
|
328
|
-
justifyContent: 'space-between',
|
|
329
|
-
marginTop: theme.spacing.xs
|
|
330
|
-
},
|
|
331
|
-
navigation: {
|
|
332
|
-
flexDirection: 'row',
|
|
333
|
-
gap: theme.spacing.sm
|
|
334
|
-
}
|
|
335
|
-
});
|
|
336
|
-
export { Tour };
|
|
337
|
-
export default Tour;
|
|
338
|
-
//# sourceMappingURL=Tour.js.map
|
|
1
|
+
import{useCallback as t,useEffect as e,useMemo as i,useRef as o,useState as n}from"react";import{AccessibilityInfo as r,Animated as s,StyleSheet as a,Text as l,useWindowDimensions as c,View as h}from"react-native";import{createAnimatedValue as d,useTheme as p}from"../../theme/index.js";import{smoothCorners as u}from"../../utils/corners.js";import{Button as g}from"../Button/index.js";import{Modal as y}from"../Modal/index.js";import{jsx as m,jsxs as x}from"react/jsx-runtime";const measureInWindow=t=>new Promise(e=>{const i=t.current;i?i.measureInWindow((t,i,o,n)=>e({x:t,y:i,width:o,height:n})):e(null)}),isOnScreen=(t,e)=>t.width>0&&t.height>0&&t.x<e.width&&t.y<e.height&&t.x+t.width>0&&t.y+t.height>0,Tour=({tourId:u,steps:f,visible:b,onClose:w,seenStore:v,labels:k,haptic:S,testID:C})=>{const D=p(),j=i(()=>buildStyles(D),[D]),z=c(),I=o(z);I.current=z;const M=D.components.tooltip?.gap??8,$=D.components.tooltip?.screenPadding??8,[P,R]=n(null),[W,B]=n(0),N=o(d(0)).current,T=o(f);T.current=f;const V=o(w);V.current=w;const F=o(v);F.current=v;const H=t(async(t,e)=>{for(let i=t;i>=0&&i<T.current.length;i+=e){const t=await measureInWindow(T.current[i].target);if(t&&isOnScreen(t,I.current))return{index:i,rect:t}}return null},[]);e(()=>{if(!b)return void R(null);let t=!1;return(async()=>{const e=F.current;if(e&&await e.isSeen(u))return void(t||V.current("alreadySeen"));const i=await H(0,1);t||(i?(B(i.index),R(i)):V.current("noTargets"))})(),()=>{t=!0}},[b,u,H]),e(()=>{if(!P)return;const t=T.current[P.index],e=`Step ${P.index+1} of ${T.current.length}`;r.announceForAccessibility([e,t.title,t.description].filter(Boolean).join(". ")),N.setValue(0);const i=s.timing(N,{toValue:1,duration:D.motion.duration.fast,useNativeDriver:!0});return i.start(),()=>i.stop()},[P,N,D.motion.duration.fast]);const L=t(async t=>{R(null),await(F.current?.markSeen(u)),V.current(t)},[u]),q=t(async()=>{if(!P)return;const t=await H(P.index+1,1);t?R(t):await L("finished")},[P,H,L]),A=t(async()=>{if(!P)return;const t=await H(P.index-1,-1);t&&R(t)},[P,H]),E=t(()=>{L("skipped")},[L]),G=P?f[P.index]:void 0,J=!!P&&P.index===f.length-1,K=D.spacing.xs,O=P?{x:P.rect.x-K,y:P.rect.y-K,width:P.rect.width+2*K,height:P.rect.height+2*K}:null,Q=Math.min(z.width-2*$,360),U=O?(()=>{const t=O.x+O.width/2,e=Math.max($,Math.min(t-Q/2,z.width-Q-$)),i=O.y,o=z.height-(O.y+O.height);return o>=i?{left:e,top:O.y+O.height+M,maxHeight:Math.max(o-M-$,0)}:{left:e,bottom:z.height-O.y+M,maxHeight:Math.max(i-M-$,0)}})():null,X=D.colors.background.overlay;return m(y,{visible:null!==P,onRequestClose:E,presentation:"fullScreen",backdropPressClose:!1,backdropStyle:j.transparent,contentStyle:j.transparent,accessibilityLabel:G?.title??G?.description,haptic:S,testID:C,children:O&&U&&G?x(h,{style:a.absoluteFill,children:[m(h,{style:[j.dim,{backgroundColor:X,top:0,left:0,right:0,height:Math.max(O.y,0)}]}),m(h,{style:[j.dim,{backgroundColor:X,top:O.y+O.height,left:0,right:0,bottom:0}]}),m(h,{style:[j.dim,{backgroundColor:X,top:O.y,left:0,width:Math.max(O.x,0),height:O.height}]}),m(h,{style:[j.dim,{backgroundColor:X,top:O.y,left:O.x+O.width,right:0,height:O.height}]}),m(h,{pointerEvents:"none",style:[j.highlight,{top:O.y,left:O.x,width:O.width,height:O.height}]}),x(s.View,{accessibilityLiveRegion:"polite",style:[j.card,U,{width:Q,opacity:N}],testID:C?`${C}-card`:void 0,children:[m(l,{style:j.position,children:`Step ${(P?.index??0)+1} of ${f.length}`}),G.title?m(l,{style:j.title,accessibilityRole:"header",children:G.title}):null,m(l,{style:j.description,children:G.description}),x(h,{style:j.actions,children:[m(g,{title:k?.skip??"Skip",variant:"ghost",size:"sm",haptic:S,onPress:E,testID:C?`${C}-skip`:void 0}),x(h,{style:j.navigation,children:[P&&P.index>W?m(g,{title:k?.back??"Back",variant:"outline",size:"sm",haptic:S,onPress:()=>{A()},testID:C?`${C}-back`:void 0}):null,m(g,{title:J?k?.done??"Done":k?.next??"Next",size:"sm",haptic:S,onPress:()=>{q()},testID:C?`${C}-next`:void 0})]})]})]})]}):null})};Tour.displayName="Tour";const buildStyles=t=>a.create({transparent:{backgroundColor:"transparent"},dim:{position:"absolute"},highlight:{position:"absolute",borderWidth:2,borderColor:t.colors.primary,borderRadius:t.radius.md,...u},card:{position:"absolute",backgroundColor:t.colors.background.elevated,borderRadius:t.radius.lg,...u,padding:t.spacing.lg,gap:t.spacing.sm,...t.shadows.lg},position:{color:t.colors.text.tertiary,fontSize:t.typography.fontSize.xs},title:{color:t.colors.text.primary,fontSize:t.typography.fontSize.lg,fontWeight:t.typography.fontWeight.semibold},description:{color:t.colors.text.secondary,fontSize:t.typography.fontSize.sm},actions:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginTop:t.spacing.xs},navigation:{flexDirection:"row",gap:t.spacing.sm}});export{Tour};export default Tour;
|
|
@@ -1,198 +1 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* ZoomableImage — a standalone pinch-to-zoom / pan / double-tap-to-zoom
|
|
5
|
-
* wrapper for a single piece of content (typically one `<Image>`).
|
|
6
|
-
*
|
|
7
|
-
* Reuses the same Reanimated 3 gesture composition `ImageGallery`'s internal
|
|
8
|
-
* lightbox slide uses (pinch clamped and rubber-banded at its limits, pan
|
|
9
|
-
* gated to only engage once zoomed in, double-tap toggling between baseline
|
|
10
|
-
* and `doubleTapScale`), stripped of the carousel-slide concerns that
|
|
11
|
-
* component needs and this one does not — there is no `index`/`total`/
|
|
12
|
-
* `active` because a standalone image is always the one being viewed.
|
|
13
|
-
*
|
|
14
|
-
* USAGE:
|
|
15
|
-
*
|
|
16
|
-
* <ZoomableImage>
|
|
17
|
-
* <Image source={{ uri }} style={styles.image} resizeMode="contain" />
|
|
18
|
-
* </ZoomableImage>
|
|
19
|
-
*
|
|
20
|
-
* Takes `children` rather than a `source`/`uri` prop: every real consumer of
|
|
21
|
-
* this pattern in the fleet wraps an already-authenticated image component
|
|
22
|
-
* (headers, caching, its own loading state) rather than a bare `<Image>`, so
|
|
23
|
-
* a `source` prop would force re-implementing that per app. Wrapping keeps
|
|
24
|
-
* this component ignorant of how the image is fetched.
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
import React, { useCallback, useEffect, useMemo } from 'react';
|
|
28
|
-
import { StyleSheet } from 'react-native';
|
|
29
|
-
import { Gesture, GestureDetector } from 'react-native-gesture-handler';
|
|
30
|
-
import Animated, { runOnJS, useAnimatedStyle, useSharedValue, withSpring } from 'react-native-reanimated';
|
|
31
|
-
import { resolveHaptic, triggerHaptic } from "../../utils/index.js";
|
|
32
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
33
|
-
const DEFAULT_MAX_SCALE = 4;
|
|
34
|
-
const DEFAULT_MIN_SCALE = 1;
|
|
35
|
-
const DEFAULT_DOUBLE_TAP_SCALE = 2;
|
|
36
|
-
const SPRING_CONFIG = {
|
|
37
|
-
damping: 18,
|
|
38
|
-
stiffness: 220,
|
|
39
|
-
mass: 1
|
|
40
|
-
};
|
|
41
|
-
export const ZoomableImage = ({
|
|
42
|
-
children,
|
|
43
|
-
maxScale = DEFAULT_MAX_SCALE,
|
|
44
|
-
minScale = DEFAULT_MIN_SCALE,
|
|
45
|
-
doubleTapScale = DEFAULT_DOUBLE_TAP_SCALE,
|
|
46
|
-
disabled = false,
|
|
47
|
-
haptic,
|
|
48
|
-
style,
|
|
49
|
-
accessibilityLabel,
|
|
50
|
-
testID
|
|
51
|
-
}) => {
|
|
52
|
-
const scale = useSharedValue(1);
|
|
53
|
-
const savedScale = useSharedValue(1);
|
|
54
|
-
const translateX = useSharedValue(0);
|
|
55
|
-
const translateY = useSharedValue(0);
|
|
56
|
-
const savedTranslateX = useSharedValue(0);
|
|
57
|
-
const savedTranslateY = useSharedValue(0);
|
|
58
|
-
const resetTransform = useCallback(() => {
|
|
59
|
-
scale.value = withSpring(1, SPRING_CONFIG);
|
|
60
|
-
savedScale.value = 1;
|
|
61
|
-
translateX.value = withSpring(0, SPRING_CONFIG);
|
|
62
|
-
translateY.value = withSpring(0, SPRING_CONFIG);
|
|
63
|
-
savedTranslateX.value = 0;
|
|
64
|
-
savedTranslateY.value = 0;
|
|
65
|
-
}, [scale, savedScale, translateX, translateY, savedTranslateX, savedTranslateY]);
|
|
66
|
-
|
|
67
|
-
// Disabling mid-zoom must not leave the content stranded scaled/panned —
|
|
68
|
-
// snap it back the same way ImageGallery's slide resets on losing focus.
|
|
69
|
-
useEffect(() => {
|
|
70
|
-
if (disabled) {
|
|
71
|
-
resetTransform();
|
|
72
|
-
}
|
|
73
|
-
}, [disabled, resetTransform]);
|
|
74
|
-
const triggerImpact = useCallback(() => {
|
|
75
|
-
const h = resolveHaptic(haptic, 'impactLight');
|
|
76
|
-
if (h) {
|
|
77
|
-
triggerHaptic(h);
|
|
78
|
-
}
|
|
79
|
-
}, [haptic]);
|
|
80
|
-
const pinch = useMemo(() => Gesture.Pinch().enabled(!disabled).onStart(() => {
|
|
81
|
-
'worklet';
|
|
82
|
-
|
|
83
|
-
savedScale.value = scale.value;
|
|
84
|
-
}).onUpdate(e => {
|
|
85
|
-
'worklet';
|
|
86
|
-
|
|
87
|
-
const next = savedScale.value * e.scale;
|
|
88
|
-
// Clamp minScale..maxScale on the UI thread so pinch feels rubbery at limits.
|
|
89
|
-
if (next < minScale) {
|
|
90
|
-
scale.value = minScale + (next - minScale) * 0.3;
|
|
91
|
-
} else if (next > maxScale) {
|
|
92
|
-
scale.value = maxScale + (next - maxScale) * 0.2;
|
|
93
|
-
} else {
|
|
94
|
-
scale.value = next;
|
|
95
|
-
}
|
|
96
|
-
}).onEnd(() => {
|
|
97
|
-
'worklet';
|
|
98
|
-
|
|
99
|
-
if (scale.value < minScale) {
|
|
100
|
-
scale.value = withSpring(minScale, SPRING_CONFIG);
|
|
101
|
-
translateX.value = withSpring(0, SPRING_CONFIG);
|
|
102
|
-
translateY.value = withSpring(0, SPRING_CONFIG);
|
|
103
|
-
savedScale.value = minScale;
|
|
104
|
-
savedTranslateX.value = 0;
|
|
105
|
-
savedTranslateY.value = 0;
|
|
106
|
-
return;
|
|
107
|
-
}
|
|
108
|
-
if (scale.value > maxScale) {
|
|
109
|
-
scale.value = withSpring(maxScale, SPRING_CONFIG);
|
|
110
|
-
savedScale.value = maxScale;
|
|
111
|
-
return;
|
|
112
|
-
}
|
|
113
|
-
savedScale.value = scale.value;
|
|
114
|
-
}), [disabled, scale, savedScale, translateX, translateY, savedTranslateX, savedTranslateY, minScale, maxScale]);
|
|
115
|
-
|
|
116
|
-
// Pan only engages when zoomed in — otherwise a scroll view or carousel this
|
|
117
|
-
// is nested inside keeps owning the gesture.
|
|
118
|
-
const pan = useMemo(() => Gesture.Pan().enabled(!disabled).minPointers(1).maxPointers(1).onStart(() => {
|
|
119
|
-
'worklet';
|
|
120
|
-
|
|
121
|
-
savedTranslateX.value = translateX.value;
|
|
122
|
-
savedTranslateY.value = translateY.value;
|
|
123
|
-
}).onUpdate(e => {
|
|
124
|
-
'worklet';
|
|
125
|
-
|
|
126
|
-
if (scale.value <= 1) {
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
translateX.value = savedTranslateX.value + e.translationX;
|
|
130
|
-
translateY.value = savedTranslateY.value + e.translationY;
|
|
131
|
-
}).onEnd(() => {
|
|
132
|
-
'worklet';
|
|
133
|
-
|
|
134
|
-
savedTranslateX.value = translateX.value;
|
|
135
|
-
savedTranslateY.value = translateY.value;
|
|
136
|
-
}), [disabled, scale, translateX, translateY, savedTranslateX, savedTranslateY]);
|
|
137
|
-
const doubleTap = useMemo(() => Gesture.Tap().enabled(!disabled).numberOfTaps(2).onEnd(() => {
|
|
138
|
-
'worklet';
|
|
139
|
-
|
|
140
|
-
runOnJS(triggerImpact)();
|
|
141
|
-
if (scale.value > 1) {
|
|
142
|
-
scale.value = withSpring(1, SPRING_CONFIG);
|
|
143
|
-
translateX.value = withSpring(0, SPRING_CONFIG);
|
|
144
|
-
translateY.value = withSpring(0, SPRING_CONFIG);
|
|
145
|
-
savedScale.value = 1;
|
|
146
|
-
savedTranslateX.value = 0;
|
|
147
|
-
savedTranslateY.value = 0;
|
|
148
|
-
} else {
|
|
149
|
-
scale.value = withSpring(doubleTapScale, SPRING_CONFIG);
|
|
150
|
-
savedScale.value = doubleTapScale;
|
|
151
|
-
}
|
|
152
|
-
}), [disabled, scale, savedScale, translateX, translateY, savedTranslateX, savedTranslateY, triggerImpact, doubleTapScale]);
|
|
153
|
-
|
|
154
|
-
// Race the gestures so they coordinate cleanly: a tap won't be misread as a
|
|
155
|
-
// tiny pan, and pan won't fire when the user actually starts a pinch.
|
|
156
|
-
const composed = useMemo(() => Gesture.Race(pinch, pan, doubleTap), [pinch, pan, doubleTap]);
|
|
157
|
-
const animatedStyle = useAnimatedStyle(() => ({
|
|
158
|
-
transform: [{
|
|
159
|
-
translateX: translateX.value
|
|
160
|
-
}, {
|
|
161
|
-
translateY: translateY.value
|
|
162
|
-
}, {
|
|
163
|
-
scale: scale.value
|
|
164
|
-
}]
|
|
165
|
-
}));
|
|
166
|
-
return /*#__PURE__*/_jsx(GestureDetector, {
|
|
167
|
-
gesture: composed,
|
|
168
|
-
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
169
|
-
style: [styles.container, style],
|
|
170
|
-
testID: testID,
|
|
171
|
-
accessibilityLabel: accessibilityLabel,
|
|
172
|
-
accessibilityState: {
|
|
173
|
-
disabled
|
|
174
|
-
},
|
|
175
|
-
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
176
|
-
style: [styles.content, animatedStyle],
|
|
177
|
-
children: children
|
|
178
|
-
})
|
|
179
|
-
})
|
|
180
|
-
});
|
|
181
|
-
};
|
|
182
|
-
ZoomableImage.displayName = 'ZoomableImage';
|
|
183
|
-
const styles = StyleSheet.create({
|
|
184
|
-
container: {
|
|
185
|
-
flex: 1,
|
|
186
|
-
alignItems: 'center',
|
|
187
|
-
justifyContent: 'center',
|
|
188
|
-
overflow: 'hidden'
|
|
189
|
-
},
|
|
190
|
-
content: {
|
|
191
|
-
width: '100%',
|
|
192
|
-
height: '100%',
|
|
193
|
-
alignItems: 'center',
|
|
194
|
-
justifyContent: 'center'
|
|
195
|
-
}
|
|
196
|
-
});
|
|
197
|
-
export default ZoomableImage;
|
|
198
|
-
//# sourceMappingURL=ZoomableImage.js.map
|
|
1
|
+
import e,{useCallback as a,useEffect as l,useMemo as t}from"react";import{StyleSheet as n}from"react-native";import{Gesture as u,GestureDetector as i}from"react-native-gesture-handler";import v,{runOnJS as o,useAnimatedStyle as r,useSharedValue as s,withSpring as c}from"react-native-reanimated";import{resolveHaptic as m,triggerHaptic as d}from"../../utils/index.js";import{jsx as p}from"react/jsx-runtime";const b={damping:18,stiffness:220,mass:1};export const ZoomableImage=({children:e,maxScale:n=4,minScale:h=1,doubleTapScale:g=2,disabled:y=!1,haptic:x,style:I,accessibilityLabel:S,testID:j})=>{const w=s(1),P=s(1),Z=s(0),E=s(0),L=s(0),T=s(0),C=a(()=>{w.value=c(1,b),P.value=1,Z.value=c(0,b),E.value=c(0,b),L.value=0,T.value=0},[w,P,Z,E,L,T]);l(()=>{y&&C()},[y,C]);const D=a(()=>{const e=m(x,"impactLight");e&&d(e)},[x]),U=t(()=>u.Pinch().enabled(!y).onStart(()=>{P.value=w.value}).onUpdate(e=>{const a=P.value*e.scale;w.value=a<h?h+.3*(a-h):a>n?n+.2*(a-n):a}).onEnd(()=>w.value<h?(w.value=c(h,b),Z.value=c(0,b),E.value=c(0,b),P.value=h,L.value=0,void(T.value=0)):w.value>n?(w.value=c(n,b),void(P.value=n)):void(P.value=w.value)),[y,w,P,Z,E,L,T,h,n]),V=t(()=>u.Pan().enabled(!y).minPointers(1).maxPointers(1).onStart(()=>{L.value=Z.value,T.value=E.value}).onUpdate(e=>{w.value<=1||(Z.value=L.value+e.translationX,E.value=T.value+e.translationY)}).onEnd(()=>{L.value=Z.value,T.value=E.value}),[y,w,Z,E,L,T]),X=t(()=>u.Tap().enabled(!y).numberOfTaps(2).onEnd(()=>{o(D)(),w.value>1?(w.value=c(1,b),Z.value=c(0,b),E.value=c(0,b),P.value=1,L.value=0,T.value=0):(w.value=c(g,b),P.value=g)}),[y,w,P,Z,E,L,T,D,g]),Y=t(()=>u.Race(U,V,X),[U,V,X]),N=r(()=>({transform:[{translateX:Z.value},{translateY:E.value},{scale:w.value}]}));return p(i,{gesture:Y,children:p(v.View,{style:[f.container,I],testID:j,accessibilityLabel:S,accessibilityState:{disabled:y},children:p(v.View,{style:[f.content,N],children:e})})})};ZoomableImage.displayName="ZoomableImage";const f=n.create({container:{flex:1,alignItems:"center",justifyContent:"center",overflow:"hidden"},content:{width:"100%",height:"100%",alignItems:"center",justifyContent:"center"}});export default ZoomableImage;
|
|
@@ -1,79 +1 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
export { Accordion, AccordionGroup } from "./Accordion/index.js";
|
|
4
|
-
export { AmountSlider } from "./AmountSlider/index.js";
|
|
5
|
-
export { AnimatePresence } from "./AnimatePresence/index.js";
|
|
6
|
-
export { AppBar } from "./AppBar/index.js";
|
|
7
|
-
export { AsyncBlock } from "./AsyncBlock/index.js";
|
|
8
|
-
export { AuthedImage, authedImageCacheStats, clearAuthedImageCache, getAuthedImageCacheLimit, setAuthedImageCacheLimit } from "./AuthedImage/index.js";
|
|
9
|
-
export { Autocomplete } from "./Autocomplete/index.js";
|
|
10
|
-
export { Avatar, AvatarGroup } from "./Avatar/index.js";
|
|
11
|
-
export { Badge } from "./Badge/index.js";
|
|
12
|
-
export { Banner } from "./Banner/index.js";
|
|
13
|
-
export { BottomNavigation } from "./BottomNavigation/index.js";
|
|
14
|
-
export { BottomSheet, useBottomSheet } from "./BottomSheet/index.js";
|
|
15
|
-
export { Box, Row, Spacer, Stack } from "./Box/index.js";
|
|
16
|
-
export { Button } from "./Button/index.js";
|
|
17
|
-
export { Card } from "./Card/index.js";
|
|
18
|
-
export { Carousel } from "./Carousel/index.js";
|
|
19
|
-
export { Checkbox } from "./Checkbox/index.js";
|
|
20
|
-
export { Chip } from "./Chip/index.js";
|
|
21
|
-
export { ChoiceGroup } from "./ChoiceGroup/index.js";
|
|
22
|
-
export { Confetti } from "./Confetti/index.js";
|
|
23
|
-
export { DatePicker } from "./DatePicker/index.js";
|
|
24
|
-
export { DateRangePicker } from "./DateRangePicker/index.js";
|
|
25
|
-
export { Descriptions } from "./Descriptions/index.js";
|
|
26
|
-
export { Dialog } from "./Dialog/index.js";
|
|
27
|
-
export { Divider } from "./Divider/index.js";
|
|
28
|
-
export { Drawer } from "./Drawer/index.js";
|
|
29
|
-
export { EmptyState } from "./EmptyState/index.js";
|
|
30
|
-
export { ErrorBoundary, useErrorHandler, withErrorBoundary } from "./ErrorBoundary/index.js";
|
|
31
|
-
export { FilePicker, formatFileSize } from "./FilePicker/index.js";
|
|
32
|
-
export { FileViewer } from "./FileViewer/index.js";
|
|
33
|
-
export { FloatingActionButton, FloatingActionButtonGroup } from "./FloatingActionButton/index.js";
|
|
34
|
-
export { ForceUpdateDialog } from "./ForceUpdateDialog/index.js";
|
|
35
|
-
export { FormField } from "./FormField/index.js";
|
|
36
|
-
export { IconButton } from "./IconButton/index.js";
|
|
37
|
-
export { ImageGallery } from "./ImageGallery/index.js";
|
|
38
|
-
export { InlineSelect } from "./InlineSelect/index.js";
|
|
39
|
-
export { Input } from "./Input/index.js";
|
|
40
|
-
export { KeyboardAwareScrollView } from "./KeyboardAwareScrollView/index.js";
|
|
41
|
-
export { KeyboardToolbar } from "./KeyboardToolbar/index.js";
|
|
42
|
-
export { ListItem } from "./ListItem/index.js";
|
|
43
|
-
export { LoaderOverlay, loader, useLoader } from "./LoaderOverlay/index.js";
|
|
44
|
-
export { Markdown } from "./Markdown/index.js";
|
|
45
|
-
export { MODAL_DISMISS_GRACE_MS, Modal } from "./Modal/index.js";
|
|
46
|
-
export { NumberInput } from "./NumberInput/index.js";
|
|
47
|
-
export { OTPInput } from "./OTPInput/index.js";
|
|
48
|
-
export { DEFAULT_CALLING_CODES, formatE164, PhoneNumberInput } from "./PhoneNumberInput/index.js";
|
|
49
|
-
export { PickerTrigger } from "./PickerTrigger/index.js";
|
|
50
|
-
export { ProfileCompletion } from "./ProfileCompletion/index.js";
|
|
51
|
-
export { ProfilePicker } from "./ProfilePicker/index.js";
|
|
52
|
-
export { ProgressBar } from "./ProgressBar/index.js";
|
|
53
|
-
export { ProgressRing } from "./ProgressRing/index.js";
|
|
54
|
-
export { Radio, RadioDot, RadioGroup } from "./Radio/index.js";
|
|
55
|
-
export { Rating } from "./Rating/index.js";
|
|
56
|
-
export { Repeater } from "./Repeater/index.js";
|
|
57
|
-
export { applyMarkdownAction, RichTextEditor } from "./RichTextEditor/index.js";
|
|
58
|
-
export { SearchBar } from "./SearchBar/index.js";
|
|
59
|
-
export { SegmentedControl } from "./SegmentedControl/index.js";
|
|
60
|
-
export { Select } from "./Select/index.js";
|
|
61
|
-
export { Skeleton, SkeletonCircle, SkeletonClockProvider, SkeletonContent, SkeletonList, SkeletonProvider, SkeletonSkip, SkeletonText, useReduceMotion, useSkeletonClock, useSkeletonDefaults } from "./Skeleton/index.js";
|
|
62
|
-
export { Slider } from "./Slider/index.js";
|
|
63
|
-
export { SliderField } from "./SliderField/index.js";
|
|
64
|
-
export { SlideToConfirm } from "./SlideToConfirm/index.js";
|
|
65
|
-
export { Spinner } from "./Spinner/index.js";
|
|
66
|
-
export { StatusBadge } from "./StatusBadge/index.js";
|
|
67
|
-
export { Stepper } from "./Stepper/index.js";
|
|
68
|
-
export { Swipeable } from "./Swipeable/index.js";
|
|
69
|
-
export { Switch } from "./Switch/index.js";
|
|
70
|
-
export { Tabs } from "./Tabs/index.js";
|
|
71
|
-
export { TagInput } from "./TagInput/index.js";
|
|
72
|
-
export { Text } from "./Text/index.js";
|
|
73
|
-
export { Timeline } from "./Timeline/index.js";
|
|
74
|
-
export { TimePicker } from "./TimePicker/index.js";
|
|
75
|
-
export { Toast, ToastProvider, toast, useToast } from "./Toast/index.js";
|
|
76
|
-
export { Tooltip } from "./Tooltip/index.js";
|
|
77
|
-
export { Tour } from "./Tour/index.js";
|
|
78
|
-
export { ZoomableImage } from "./ZoomableImage/index.js";
|
|
79
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export{Accordion,AccordionGroup}from"./Accordion/index.js";export{AmountSlider}from"./AmountSlider/index.js";export{AnimatePresence}from"./AnimatePresence/index.js";export{AppBar}from"./AppBar/index.js";export{AsyncBlock}from"./AsyncBlock/index.js";export{AuthedImage,authedImageCacheStats,clearAuthedImageCache,getAuthedImageCacheLimit,setAuthedImageCacheLimit}from"./AuthedImage/index.js";export{Autocomplete}from"./Autocomplete/index.js";export{Avatar,AvatarGroup}from"./Avatar/index.js";export{Badge}from"./Badge/index.js";export{Banner}from"./Banner/index.js";export{BottomNavigation}from"./BottomNavigation/index.js";export{BottomSheet,useBottomSheet}from"./BottomSheet/index.js";export{Box,Row,Spacer,Stack}from"./Box/index.js";export{Button}from"./Button/index.js";export{Card}from"./Card/index.js";export{Carousel}from"./Carousel/index.js";export{Checkbox}from"./Checkbox/index.js";export{Chip}from"./Chip/index.js";export{ChoiceGroup}from"./ChoiceGroup/index.js";export{Confetti}from"./Confetti/index.js";export{DatePicker}from"./DatePicker/index.js";export{DateRangePicker}from"./DateRangePicker/index.js";export{cleanDecimalText,DecimalInput,parseDecimalText}from"./DecimalInput/index.js";export{Descriptions}from"./Descriptions/index.js";export{Dialog}from"./Dialog/index.js";export{Divider}from"./Divider/index.js";export{Drawer}from"./Drawer/index.js";export{EmptyState}from"./EmptyState/index.js";export{ErrorBoundary,useErrorHandler,withErrorBoundary}from"./ErrorBoundary/index.js";export{FilePicker,formatFileSize}from"./FilePicker/index.js";export{FileViewer}from"./FileViewer/index.js";export{FloatingActionButton,FloatingActionButtonGroup}from"./FloatingActionButton/index.js";export{ForceUpdateDialog}from"./ForceUpdateDialog/index.js";export{FormField}from"./FormField/index.js";export{IconBadge}from"./IconBadge/index.js";export{IconButton}from"./IconButton/index.js";export{ImageGallery}from"./ImageGallery/index.js";export{InlineSelect}from"./InlineSelect/index.js";export{Input}from"./Input/index.js";export{KeyboardAwareScrollView}from"./KeyboardAwareScrollView/index.js";export{KeyboardToolbar}from"./KeyboardToolbar/index.js";export{ListItem}from"./ListItem/index.js";export{LoaderOverlay,loader,useLoader}from"./LoaderOverlay/index.js";export{Markdown}from"./Markdown/index.js";export{MODAL_DISMISS_GRACE_MS,Modal}from"./Modal/index.js";export{Notation,parseNotation,sym}from"./Notation/index.js";export{NumberInput}from"./NumberInput/index.js";export{OptionSheet}from"./OptionSheet/index.js";export{OTPInput}from"./OTPInput/index.js";export{ALL_CALLING_CODES,DEFAULT_CALLING_CODES,formatE164,PhoneNumberInput,parseE164}from"./PhoneNumberInput/index.js";export{PickerTrigger}from"./PickerTrigger/index.js";export{ProfileCompletion}from"./ProfileCompletion/index.js";export{ProfilePicker}from"./ProfilePicker/index.js";export{ProgressBar}from"./ProgressBar/index.js";export{ProgressRing}from"./ProgressRing/index.js";export{Radio,RadioDot,RadioGroup}from"./Radio/index.js";export{Rating}from"./Rating/index.js";export{Repeater}from"./Repeater/index.js";export{applyMarkdownAction,RichTextEditor}from"./RichTextEditor/index.js";export{SearchBar}from"./SearchBar/index.js";export{SectionHeader}from"./SectionHeader/index.js";export{SegmentedControl}from"./SegmentedControl/index.js";export{Select}from"./Select/index.js";export{Skeleton,SkeletonCircle,SkeletonClockProvider,SkeletonContent,SkeletonList,SkeletonProvider,SkeletonSkip,SkeletonText,useReduceMotion,useSkeletonClock,useSkeletonDefaults}from"./Skeleton/index.js";export{Slider}from"./Slider/index.js";export{SliderField}from"./SliderField/index.js";export{SlideToConfirm}from"./SlideToConfirm/index.js";export{Spinner}from"./Spinner/index.js";export{StatTile}from"./StatTile/index.js";export{StatusBadge}from"./StatusBadge/index.js";export{Stepper}from"./Stepper/index.js";export{Swipeable}from"./Swipeable/index.js";export{Switch}from"./Switch/index.js";export{Tabs}from"./Tabs/index.js";export{TagInput}from"./TagInput/index.js";export{Text}from"./Text/index.js";export{Timeline}from"./Timeline/index.js";export{TimePicker}from"./TimePicker/index.js";export{Toast,ToastHost,ToastProvider,toast,useToast}from"./Toast/index.js";export{Tooltip}from"./Tooltip/index.js";export{Tour}from"./Tour/index.js";export{ZoomableImage}from"./ZoomableImage/index.js";
|