@webority/mobile-ui 0.0.39 → 0.2.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 +1 -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 +11 -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 +11 -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
|
@@ -20,6 +20,20 @@ export interface RepeaterProps<T> {
|
|
|
20
20
|
addLabel?: string;
|
|
21
21
|
/** Per-row heading, e.g. `(i) => \`Line item ${i + 1}\``. */
|
|
22
22
|
rowLabel?: (index: number) => string;
|
|
23
|
+
/**
|
|
24
|
+
* Draws your own header above each row's content, in place of the built-in
|
|
25
|
+
* one (the `rowLabel` heading and the remove button), so a card-style row can
|
|
26
|
+
* carry a title, a summary and its own remove control. Call `remove()` from
|
|
27
|
+
* it; it does nothing when `canRemove` is false.
|
|
28
|
+
*/
|
|
29
|
+
renderRowHeader?: (args: RepeaterRenderArgs<T>) => React.ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* Called with the row's index and value when a row is removed, by the
|
|
32
|
+
* built-in button or by `remove()`, immediately BEFORE `onChange` with the
|
|
33
|
+
* shortened array. Use it to drop state you keep for that row. Not called
|
|
34
|
+
* when the removal is refused (`minRows`, `removable`, `disabled`).
|
|
35
|
+
*/
|
|
36
|
+
onRemove?: (index: number, item: T) => void;
|
|
23
37
|
/** Rows below this cannot be removed. Default 0. */
|
|
24
38
|
minRows?: number;
|
|
25
39
|
/** Add is hidden at this count. Omit for unlimited. */
|
|
@@ -38,6 +52,6 @@ export interface RepeaterProps<T> {
|
|
|
38
52
|
* re-deriving splice/map logic, and keeps the min/max rules in one place where
|
|
39
53
|
* they can't disagree between the add button and the remove button.
|
|
40
54
|
*/
|
|
41
|
-
export declare const Repeater: <T>({ value, onChange, createRow, renderRow, addLabel, rowLabel, minRows, maxRows, removable, emptyText, disabled, haptic, style, testID }: RepeaterProps<T>) => React.ReactElement;
|
|
55
|
+
export declare const Repeater: <T>({ value, onChange, createRow, renderRow, addLabel, rowLabel, renderRowHeader, onRemove, minRows, maxRows, removable, emptyText, disabled, haptic, style, testID }: RepeaterProps<T>) => React.ReactElement;
|
|
42
56
|
export default Repeater;
|
|
43
57
|
//# sourceMappingURL=Repeater.d.ts.map
|
|
@@ -36,6 +36,8 @@ export interface SearchBarProps extends Omit<TextInputProps, 'style' | 'value' |
|
|
|
36
36
|
/** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
|
|
37
37
|
haptic?: HapticType | false;
|
|
38
38
|
style?: StyleProp<ViewStyle>;
|
|
39
|
+
/** Style applied to the search text, after the library's own size, colour and font. */
|
|
40
|
+
inputStyle?: StyleProp<TextStyle>;
|
|
39
41
|
accessibilityLabel?: string;
|
|
40
42
|
testID?: string;
|
|
41
43
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StyleProp, TextStyle } from 'react-native';
|
|
3
|
+
export type SectionHeaderVariant = 'title' | 'caps' | 'sub';
|
|
4
|
+
export interface SectionHeaderProps {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
/** 'title' is the heading, 'caps' the quieter uppercase label, 'sub' a heading inside a card. */
|
|
7
|
+
variant?: SectionHeaderVariant;
|
|
8
|
+
/** Drop the room above, for the first heading of a block. */
|
|
9
|
+
flush?: boolean;
|
|
10
|
+
/** Draws the required marker after the heading and announces the heading as required. */
|
|
11
|
+
required?: boolean;
|
|
12
|
+
style?: StyleProp<TextStyle>;
|
|
13
|
+
testID?: string;
|
|
14
|
+
}
|
|
15
|
+
/** The heading between groups of fields in a form, a wizard step or a panel. */
|
|
16
|
+
export declare const SectionHeader: React.FC<SectionHeaderProps>;
|
|
17
|
+
export default SectionHeader;
|
|
18
|
+
//# sourceMappingURL=SectionHeader.d.ts.map
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* and vertical extent. It is a look, not a semantic change: the roles stay
|
|
13
13
|
* radiogroup / radio, and screen navigation is still Tabs.
|
|
14
14
|
*/
|
|
15
|
+
import type { ReactNode } from 'react';
|
|
15
16
|
import type { View as RNView, StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
16
17
|
import type { RadiusScale } from '../../theme/types.js';
|
|
17
18
|
import type { HapticType } from '../../utils/index.js';
|
|
@@ -41,6 +42,12 @@ export interface SegmentItem {
|
|
|
41
42
|
}
|
|
42
43
|
export interface SegmentedControlProps {
|
|
43
44
|
segments: SegmentItem[];
|
|
45
|
+
/** A label above the control, drawn like a field label. A string also names the radiogroup when `accessibilityLabel` is not set. */
|
|
46
|
+
label?: ReactNode;
|
|
47
|
+
/** Helper line under the control. */
|
|
48
|
+
helperText?: ReactNode;
|
|
49
|
+
/** Error line under the control, in the error colour. Replaces `helperText`. */
|
|
50
|
+
error?: ReactNode;
|
|
44
51
|
value?: SegmentValue;
|
|
45
52
|
defaultValue?: SegmentValue;
|
|
46
53
|
onChange?: (value: SegmentValue) => void;
|
|
@@ -40,7 +40,20 @@ interface BaseSelectProps<T = SelectOption> {
|
|
|
40
40
|
* to override the default.
|
|
41
41
|
*/
|
|
42
42
|
haptic?: HapticType | false;
|
|
43
|
-
|
|
43
|
+
/**
|
|
44
|
+
* A string, or a node for a symbol with a subscript. A node label needs an
|
|
45
|
+
* explicit `accessibilityLabel` (the trigger's screen-reader name); the
|
|
46
|
+
* sheet's heading then comes from `title`. A string label is the sheet's
|
|
47
|
+
* heading when `title` is unset.
|
|
48
|
+
*/
|
|
49
|
+
label?: React.ReactNode;
|
|
50
|
+
/**
|
|
51
|
+
* Drawn beside the label, right after it and centred on its line (a
|
|
52
|
+
* glossary info button, say). A sibling of the label text, outside the
|
|
53
|
+
* trigger: it is not part of the label's accessibility text and pressing it
|
|
54
|
+
* does not open the sheet.
|
|
55
|
+
*/
|
|
56
|
+
help?: React.ReactNode;
|
|
44
57
|
/**
|
|
45
58
|
* Heading shown at the top of the options bottom-sheet. Independent of
|
|
46
59
|
* `label` (the field label above the trigger) — omit it for a sheet with no
|
|
@@ -53,7 +66,22 @@ interface BaseSelectProps<T = SelectOption> {
|
|
|
53
66
|
* `'*'` in `colors.error`).
|
|
54
67
|
*/
|
|
55
68
|
required?: boolean;
|
|
56
|
-
error
|
|
69
|
+
/** A string or a node. A non-empty value puts the trigger in the error state. */
|
|
70
|
+
error?: React.ReactNode;
|
|
71
|
+
/** Hint under the field, shown while there is no `error`. A string or a node. */
|
|
72
|
+
helperText?: React.ReactNode;
|
|
73
|
+
/**
|
|
74
|
+
* Fixed text drawn before the value: `'₹'`, `'+91'`. The same prop and look
|
|
75
|
+
* as Input's `prefix`, in the placeholder colour. Sits after `leftIcon`. A
|
|
76
|
+
* node (a symbol with a subscript) is drawn as is, with the same gap.
|
|
77
|
+
*/
|
|
78
|
+
prefix?: React.ReactNode;
|
|
79
|
+
/**
|
|
80
|
+
* Lines the chosen value may take before it is truncated. Default `1`;
|
|
81
|
+
* `0` lets a long value (or a multi selection) wrap onto as many lines as
|
|
82
|
+
* it needs, and the field grows with it.
|
|
83
|
+
*/
|
|
84
|
+
numberOfLines?: number;
|
|
57
85
|
disabled?: boolean;
|
|
58
86
|
size?: SelectSize;
|
|
59
87
|
/**
|
|
@@ -82,6 +110,8 @@ interface BaseSelectProps<T = SelectOption> {
|
|
|
82
110
|
/** Per-instance override for the trigger's corner radius. Wins over `components.select.borderRadius` and size defaults. */
|
|
83
111
|
borderRadius?: number;
|
|
84
112
|
accessibilityLabel?: string;
|
|
113
|
+
/** Style for the field label text above the trigger; the same prop as Input's and NumberInput's. */
|
|
114
|
+
labelStyle?: StyleProp<TextStyle>;
|
|
85
115
|
style?: StyleProp<ViewStyle>;
|
|
86
116
|
triggerStyle?: StyleProp<ViewStyle>;
|
|
87
117
|
textStyle?: StyleProp<TextStyle>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { StyleProp, TextStyle } from 'react-native';
|
|
2
|
+
import type { Theme } from '../../theme/types.js';
|
|
3
|
+
/** The ink drawn on a slider's tone-coloured value bubble. */
|
|
4
|
+
export declare const sliderToneInk: (theme: Theme, tone: "primary" | "success" | "warning" | "error") => string;
|
|
2
5
|
/**
|
|
3
6
|
* Shared between AmountSlider and SliderField: the number that counts to its
|
|
4
7
|
* new value, and the edit-in-a-box logic that keeps a half-typed entry from
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { View as RNView, StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
import type { IconVariant } from '../AppIcon/AppIcon.js';
|
|
4
|
+
import type { SlotIcon } from '../AppIcon/slotIcon.js';
|
|
5
|
+
import type { IconBadgeTone } from '../IconBadge/index.js';
|
|
6
|
+
export interface StatTileProps {
|
|
7
|
+
/** What the figure measures, drawn small above it. */
|
|
8
|
+
label: string;
|
|
9
|
+
/** The figure. A string or number is drawn in the heading style; a node is drawn as is. */
|
|
10
|
+
value: string | number | ReactNode;
|
|
11
|
+
/** Leading icon in a tinted circle: an AppIcon name, `{ name, variant }`, a render fn or any node. */
|
|
12
|
+
icon?: SlotIcon;
|
|
13
|
+
/** Iconsax style for `icon` given as a name. Default `'linear'`. */
|
|
14
|
+
iconVariant?: IconVariant;
|
|
15
|
+
/** Tone of the icon circle. Default `'primary'`. */
|
|
16
|
+
tone?: IconBadgeTone;
|
|
17
|
+
/** A small line under the figure (a period, a delta). */
|
|
18
|
+
caption?: ReactNode;
|
|
19
|
+
/** Makes the tile pressable, with the button role. */
|
|
20
|
+
onPress?: () => void;
|
|
21
|
+
/** Draws a placeholder of the same footprint while the figure loads. */
|
|
22
|
+
loading?: boolean;
|
|
23
|
+
/** Announced instead of the label and figure. Defaults to `"label, value"` for a text figure. */
|
|
24
|
+
accessibilityLabel?: string;
|
|
25
|
+
style?: StyleProp<ViewStyle>;
|
|
26
|
+
testID?: string;
|
|
27
|
+
}
|
|
28
|
+
declare const StatTile: import("react").ForwardRefExoticComponent<StatTileProps & import("react").RefAttributes<RNView>>;
|
|
29
|
+
export { StatTile };
|
|
30
|
+
export default StatTile;
|
|
31
|
+
//# sourceMappingURL=StatTile.d.ts.map
|
|
@@ -50,6 +50,13 @@ export interface StepperProps {
|
|
|
50
50
|
* active step.
|
|
51
51
|
*/
|
|
52
52
|
formatCaption?: (index: number | null, total: number, step: StepperStep | undefined) => string;
|
|
53
|
+
/**
|
|
54
|
+
* `segmented` only: whether the caption above the bars is drawn. Pass false
|
|
55
|
+
* to show the bars alone, for a screen that already says which step it is
|
|
56
|
+
* on. The progressbar's accessibility label and value are unchanged.
|
|
57
|
+
* Default true.
|
|
58
|
+
*/
|
|
59
|
+
showCaption?: boolean;
|
|
53
60
|
/**
|
|
54
61
|
* When true, renders the component as its authored skeleton placeholder shape.
|
|
55
62
|
* The placeholder mirrors the real layout's footprint so the UI doesn't reflow
|
|
@@ -2,6 +2,8 @@ import type { PressableProps, View as RNView, StyleProp, ViewStyle } from 'react
|
|
|
2
2
|
import type { HapticType } from '../../utils/hapticUtils.js';
|
|
3
3
|
export type SwitchSize = 'sm' | 'md' | 'lg';
|
|
4
4
|
export type SwitchTone = 'primary' | 'success' | 'warning' | 'error';
|
|
5
|
+
/** `inline`: the control, then the text beside it. `row`: the text on the left, the control on the right, the whole row pressable. */
|
|
6
|
+
export type SwitchLayout = 'inline' | 'row';
|
|
5
7
|
export interface SwitchProps extends Omit<PressableProps, 'style' | 'children' | 'onPress'> {
|
|
6
8
|
value?: boolean;
|
|
7
9
|
defaultValue?: boolean;
|
|
@@ -10,6 +12,23 @@ export interface SwitchProps extends Omit<PressableProps, 'style' | 'children' |
|
|
|
10
12
|
size?: SwitchSize;
|
|
11
13
|
tone?: SwitchTone;
|
|
12
14
|
label?: string;
|
|
15
|
+
/** Secondary line under the label. */
|
|
16
|
+
description?: string;
|
|
17
|
+
/** Error line under the label (and description). */
|
|
18
|
+
error?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Lines the label (and the description) may take before truncating with an
|
|
21
|
+
* ellipsis. Default: no limit, the text wraps in full. `0` also means no limit.
|
|
22
|
+
*/
|
|
23
|
+
labelLines?: number;
|
|
24
|
+
/**
|
|
25
|
+
* `'inline'` (default): the control with the text beside it. `'row'`: the
|
|
26
|
+
* label and description on the left (taking the free width), the control on
|
|
27
|
+
* the right, and the whole row, at least 44 high, is the switch's press
|
|
28
|
+
* target and accessibility element. Without a label or description `'row'`
|
|
29
|
+
* draws the bare control, as `'inline'` does.
|
|
30
|
+
*/
|
|
31
|
+
layout?: SwitchLayout;
|
|
13
32
|
accessibilityLabel?: string;
|
|
14
33
|
haptic?: HapticType | false;
|
|
15
34
|
/**
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { TextProps as RNTextProps, Text as RNTextRef, StyleProp, TextStyle } from 'react-native';
|
|
3
3
|
import type { FontWeightKey } from '../../theme/index.js';
|
|
4
|
-
import type { TypographyScale } from '../../theme/types.js';
|
|
4
|
+
import type { Theme, TypographyScale } from '../../theme/types.js';
|
|
5
5
|
export type TextVariant = 'display' | 'h1' | 'h2' | 'h3' | 'title' | 'body' | 'bodySmall' | 'caption' | 'label' | 'overline';
|
|
6
|
-
export type TextColor = 'primary' | 'secondary' | 'tertiary' | 'inverse' | 'disabled' | 'link' | 'success' | 'warning' | 'error' | 'info';
|
|
6
|
+
export type TextColor = 'primary' | 'secondary' | 'tertiary' | 'inverse' | 'disabled' | 'link' | 'textStrong' | 'success' | 'warning' | 'error' | 'info';
|
|
7
7
|
export interface TextProps extends Omit<RNTextProps, 'style'> {
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* A built-in variant, or the name of one registered in `theme.textVariants`.
|
|
10
|
+
* An unknown name falls back to `body`.
|
|
11
|
+
*/
|
|
12
|
+
variant?: TextVariant | (string & {});
|
|
9
13
|
/** Text role token, semantic tone, or a raw colour string. Defaults per variant. */
|
|
10
14
|
color?: TextColor | (string & {});
|
|
11
15
|
/** Override the variant's weight. */
|
|
@@ -18,6 +22,7 @@ export interface TextProps extends Omit<RNTextProps, 'style'> {
|
|
|
18
22
|
children?: React.ReactNode;
|
|
19
23
|
style?: StyleProp<TextStyle>;
|
|
20
24
|
}
|
|
25
|
+
export declare const resolveColor: (theme: Theme, color: string) => string;
|
|
21
26
|
declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<RNTextRef>>;
|
|
22
27
|
export { Text };
|
|
23
28
|
export default Text;
|
|
@@ -37,6 +37,12 @@ export interface ToastProps {
|
|
|
37
37
|
toast: ToastItem;
|
|
38
38
|
index: number;
|
|
39
39
|
onDismiss: (id: string) => void;
|
|
40
|
+
/**
|
|
41
|
+
* When the toast was first shown (ms since epoch). Auto-dismiss counts from
|
|
42
|
+
* here, so a toast that remounts in another host (a modal opened or closed)
|
|
43
|
+
* keeps its remaining time. Defaults to the moment this component mounts.
|
|
44
|
+
*/
|
|
45
|
+
shownAt?: number;
|
|
40
46
|
}
|
|
41
47
|
declare const Toast: React.FC<ToastProps>;
|
|
42
48
|
export { Toast };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { HapticType } from '../../utils/hapticUtils.js';
|
|
3
|
+
import type { ToastOptions, ToastPosition, ToastVariant } from './Toast.js';
|
|
3
4
|
export interface ToastApi {
|
|
4
5
|
show: (opts: ToastOptions) => string;
|
|
5
6
|
hide: (id: string) => void;
|
|
@@ -10,8 +11,30 @@ export interface ToastProviderProps {
|
|
|
10
11
|
maxVisible?: number;
|
|
11
12
|
topOffset?: number;
|
|
12
13
|
bottomOffset?: number;
|
|
14
|
+
/**
|
|
15
|
+
* How long a toast stays, in milliseconds, when its own `duration` is left
|
|
16
|
+
* out. `0` keeps it until dismissed. Without it the theme's
|
|
17
|
+
* `components.toast.defaultDurationMs` applies (3000 by default).
|
|
18
|
+
*/
|
|
19
|
+
defaultDuration?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Haptic per variant, for a toast whose own `haptic` is left out. A variant
|
|
22
|
+
* left out of the map keeps its built-in haptic (`notificationError` for
|
|
23
|
+
* `error`, `notificationSuccess` for `success`, `notificationWarning` for
|
|
24
|
+
* `warning`, `selection` otherwise). A variant set to `false` is silent, and
|
|
25
|
+
* `false` for the whole prop silences every toast.
|
|
26
|
+
*/
|
|
27
|
+
haptics?: ToastHaptics;
|
|
13
28
|
}
|
|
29
|
+
export type ToastHaptics = Partial<Record<ToastVariant, HapticType | false>> | false;
|
|
14
30
|
export declare const ToastProvider: React.FC<ToastProviderProps>;
|
|
31
|
+
/**
|
|
32
|
+
* Renders the provider's toasts inside a react-native Modal. A Modal is its own
|
|
33
|
+
* native window on iOS and Android, so toasts drawn at the app root sit beneath
|
|
34
|
+
* it. Place one as the last child of the Modal's content; the most recently
|
|
35
|
+
* mounted host draws the toasts and every other host, and the root, draws none.
|
|
36
|
+
*/
|
|
37
|
+
export declare const ToastHost: React.FC;
|
|
15
38
|
export declare const useToast: () => ToastApi;
|
|
16
39
|
interface ToastGlobal {
|
|
17
40
|
show: (opts: ToastOptions) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { ToastAction, ToastItem, ToastOptions, ToastPosition, ToastProps, ToastVariant } from './Toast.js';
|
|
2
2
|
export { default, Toast } from './Toast.js';
|
|
3
|
-
export type { ToastApi, ToastProviderProps } from './ToastProvider.js';
|
|
4
|
-
export { ToastProvider, toast, useToast } from './ToastProvider.js';
|
|
3
|
+
export type { ToastApi, ToastHaptics, ToastProviderProps } from './ToastProvider.js';
|
|
4
|
+
export { ToastHost, ToastProvider, toast, useToast } from './ToastProvider.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,7 +6,7 @@ export type { AnimatePresenceProps, PresencePreset } from './AnimatePresence/ind
|
|
|
6
6
|
export { AnimatePresence } from './AnimatePresence/index.js';
|
|
7
7
|
export type { AppBarAction, AppBarProps, AppBarVariant } from './AppBar/index.js';
|
|
8
8
|
export { AppBar } from './AppBar/index.js';
|
|
9
|
-
export type { AsyncBlockProps } from './AsyncBlock/index.js';
|
|
9
|
+
export type { AsyncBlockErrorVariant, AsyncBlockProps } from './AsyncBlock/index.js';
|
|
10
10
|
export { AsyncBlock } from './AsyncBlock/index.js';
|
|
11
11
|
export type { AuthedImageCacheMeta, AuthedImageProps } from './AuthedImage/index.js';
|
|
12
12
|
export { AuthedImage, authedImageCacheStats, clearAuthedImageCache, getAuthedImageCacheLimit, setAuthedImageCacheLimit } from './AuthedImage/index.js';
|
|
@@ -16,25 +16,25 @@ export type { AvatarGroupOverflowVariant, AvatarGroupProps, AvatarGroupSpacing,
|
|
|
16
16
|
export { Avatar, AvatarGroup } from './Avatar/index.js';
|
|
17
17
|
export type { BadgeAnchor, BadgeProps, BadgeTone, BadgeVariant } from './Badge/index.js';
|
|
18
18
|
export { Badge } from './Badge/index.js';
|
|
19
|
-
export type { BannerAction, BannerProps, BannerVariant } from './Banner/index.js';
|
|
19
|
+
export type { BannerAction, BannerActionSize, BannerActionTone, BannerActionVariant, BannerProps, BannerRole, BannerVariant } from './Banner/index.js';
|
|
20
20
|
export { Banner } from './Banner/index.js';
|
|
21
21
|
export type { BottomNavigationCenterAction, BottomNavigationElevation, BottomNavigationIndicatorPosition, BottomNavigationIndicatorRadius, BottomNavigationProps, BottomNavigationRadius, BottomNavigationVariant, TabBadge, TabConfig, TabIcon, TabIconProps } from './BottomNavigation/index.js';
|
|
22
22
|
export { BottomNavigation } from './BottomNavigation/index.js';
|
|
23
|
-
export type { BottomSheetContextValue, BottomSheetProps, BottomSheetRef } from './BottomSheet/index.js';
|
|
23
|
+
export type { BottomSheetContextValue, BottomSheetPresentation, BottomSheetProps, BottomSheetRef } from './BottomSheet/index.js';
|
|
24
24
|
export { BottomSheet, useBottomSheet } from './BottomSheet/index.js';
|
|
25
25
|
export type { BoxProps, RowProps, SpacerProps, StackProps } from './Box/index.js';
|
|
26
26
|
export { Box, Row, Spacer, Stack } from './Box/index.js';
|
|
27
27
|
export type { ButtonProps, ButtonSize, ButtonTone, ButtonVariant } from './Button/index.js';
|
|
28
28
|
export { Button } from './Button/index.js';
|
|
29
|
-
export type { CardElevation, CardPadding, CardProps, CardRadius, CardVariant } from './Card/index.js';
|
|
29
|
+
export type { CardElevation, CardPadding, CardProps, CardRadius, CardTextAction, CardVariant } from './Card/index.js';
|
|
30
30
|
export { Card } from './Card/index.js';
|
|
31
31
|
export type { CarouselProps, CarouselRef, PaginationStyle } from './Carousel/index.js';
|
|
32
32
|
export { Carousel } from './Carousel/index.js';
|
|
33
33
|
export type { CheckboxProps, CheckboxSize, CheckboxTone } from './Checkbox/index.js';
|
|
34
34
|
export { Checkbox } from './Checkbox/index.js';
|
|
35
|
-
export type { ChipProps, ChipSize, ChipTone, ChipVariant } from './Chip/index.js';
|
|
35
|
+
export type { ChipProps, ChipSelectionMode, ChipSize, ChipTone, ChipVariant } from './Chip/index.js';
|
|
36
36
|
export { Chip } from './Chip/index.js';
|
|
37
|
-
export type { ChoiceGroupDirection, ChoiceGroupIndicatorPosition, ChoiceGroupProps, ChoiceGroupSize, ChoiceGroupVariant, ChoiceOption, ChoiceOptionState } from './ChoiceGroup/index.js';
|
|
37
|
+
export type { ChoiceGroupDirection, ChoiceGroupIndicatorPosition, ChoiceGroupProps, ChoiceGroupSelectionMode, ChoiceGroupSize, ChoiceGroupVariant, ChoiceOption, ChoiceOptionState } from './ChoiceGroup/index.js';
|
|
38
38
|
export { ChoiceGroup } from './ChoiceGroup/index.js';
|
|
39
39
|
export type { ConfettiHandle, ConfettiOrigin, ConfettiPhysics, ConfettiPreset, ConfettiProps, ConfettiShape, ConfettiSpeed } from './Confetti/index.js';
|
|
40
40
|
export { Confetti } from './Confetti/index.js';
|
|
@@ -42,7 +42,9 @@ export type { DatePickerMode, DatePickerProps } from './DatePicker/index.js';
|
|
|
42
42
|
export { DatePicker } from './DatePicker/index.js';
|
|
43
43
|
export type { DateRange, DateRangePickerProps } from './DateRangePicker/index.js';
|
|
44
44
|
export { DateRangePicker } from './DateRangePicker/index.js';
|
|
45
|
-
export type {
|
|
45
|
+
export type { DecimalInputProps, DecimalRules } from './DecimalInput/index.js';
|
|
46
|
+
export { cleanDecimalText, DecimalInput, parseDecimalText } from './DecimalInput/index.js';
|
|
47
|
+
export type { DescriptionItem, DescriptionsProps, DescriptionsSize, DescriptionsVariant } from './Descriptions/index.js';
|
|
46
48
|
export { Descriptions } from './Descriptions/index.js';
|
|
47
49
|
export type { DialogAction, DialogProps, DialogVariant } from './Dialog/index.js';
|
|
48
50
|
export { Dialog } from './Dialog/index.js';
|
|
@@ -64,6 +66,8 @@ export type { ForceUpdateDialogProps } from './ForceUpdateDialog/index.js';
|
|
|
64
66
|
export { ForceUpdateDialog } from './ForceUpdateDialog/index.js';
|
|
65
67
|
export type { FormFieldLayout, FormFieldProps } from './FormField/index.js';
|
|
66
68
|
export { FormField } from './FormField/index.js';
|
|
69
|
+
export type { IconBadgeProps, IconBadgeSize, IconBadgeTone } from './IconBadge/index.js';
|
|
70
|
+
export { IconBadge } from './IconBadge/index.js';
|
|
67
71
|
export type { IconButtonProps, IconButtonShape, IconButtonSize, IconButtonTone, IconButtonVariant } from './IconButton/index.js';
|
|
68
72
|
export { IconButton } from './IconButton/index.js';
|
|
69
73
|
export type { GalleryImage, ImageGalleryProps } from './ImageGallery/index.js';
|
|
@@ -72,11 +76,11 @@ export type { InlineSelectProps, InlineSelectSize } from './InlineSelect/index.j
|
|
|
72
76
|
export { InlineSelect } from './InlineSelect/index.js';
|
|
73
77
|
export type { InputAction, InputProps, InputSize, InputSlotIcon, InputSlotState, InputVariant } from './Input/index.js';
|
|
74
78
|
export { Input } from './Input/index.js';
|
|
75
|
-
export type { KeyboardAwareScrollViewProps } from './KeyboardAwareScrollView/index.js';
|
|
79
|
+
export type { KeyboardAwareScrollViewProps, KeyboardAwareScrollViewRef } from './KeyboardAwareScrollView/index.js';
|
|
76
80
|
export { KeyboardAwareScrollView } from './KeyboardAwareScrollView/index.js';
|
|
77
81
|
export type { KeyboardToolbarProps } from './KeyboardToolbar/index.js';
|
|
78
82
|
export { KeyboardToolbar } from './KeyboardToolbar/index.js';
|
|
79
|
-
export type { ListItemProps, ListItemSize } from './ListItem/index.js';
|
|
83
|
+
export type { ListItemAction, ListItemProps, ListItemSize } from './ListItem/index.js';
|
|
80
84
|
export { ListItem } from './ListItem/index.js';
|
|
81
85
|
export type { LoaderOverlayProps } from './LoaderOverlay/index.js';
|
|
82
86
|
export { LoaderOverlay, loader, useLoader } from './LoaderOverlay/index.js';
|
|
@@ -84,12 +88,16 @@ export type { MarkdownProps } from './Markdown/index.js';
|
|
|
84
88
|
export { Markdown } from './Markdown/index.js';
|
|
85
89
|
export type { ModalPresentation, ModalProps } from './Modal/index.js';
|
|
86
90
|
export { MODAL_DISMISS_GRACE_MS, Modal } from './Modal/index.js';
|
|
91
|
+
export type { NotationProps, NotationRun } from './Notation/index.js';
|
|
92
|
+
export { Notation, parseNotation, sym } from './Notation/index.js';
|
|
87
93
|
export type { NumberInputProps, NumberInputRef, NumberInputSize, NumberInputVariant } from './NumberInput/index.js';
|
|
88
94
|
export { NumberInput } from './NumberInput/index.js';
|
|
95
|
+
export type { OptionSheetProps, OptionSheetRowState, OptionSheetSection } from './OptionSheet/index.js';
|
|
96
|
+
export { OptionSheet } from './OptionSheet/index.js';
|
|
89
97
|
export type { OTPInputProps, OTPInputRef, OTPInputSize } from './OTPInput/index.js';
|
|
90
98
|
export { OTPInput } from './OTPInput/index.js';
|
|
91
|
-
export type { CallingCode, PhoneNumberInputLabelMode, PhoneNumberInputProps, PhoneNumberInputRef, PhoneNumberValidation, PhoneNumberValue } from './PhoneNumberInput/index.js';
|
|
92
|
-
export { DEFAULT_CALLING_CODES, formatE164, PhoneNumberInput } from './PhoneNumberInput/index.js';
|
|
99
|
+
export type { CallingCode, PhoneNumberInfo, PhoneNumberInputLabelMode, PhoneNumberInputProps, PhoneNumberInputRef, PhoneNumberValidation, PhoneNumberValue } from './PhoneNumberInput/index.js';
|
|
100
|
+
export { ALL_CALLING_CODES, DEFAULT_CALLING_CODES, formatE164, PhoneNumberInput, parseE164 } from './PhoneNumberInput/index.js';
|
|
93
101
|
export type { PickerTriggerProps, PickerTriggerSize, PickerTriggerVariant } from './PickerTrigger/index.js';
|
|
94
102
|
export { PickerTrigger } from './PickerTrigger/index.js';
|
|
95
103
|
export type { ProfileCompletionAvatarTone, ProfileCompletionProps, ProfileCompletionRingVariant } from './ProfileCompletion/index.js';
|
|
@@ -110,6 +118,8 @@ export type { BlockMarkdownAction, EditorSelection, EditorState, InlineMarkdownA
|
|
|
110
118
|
export { applyMarkdownAction, RichTextEditor } from './RichTextEditor/index.js';
|
|
111
119
|
export type { SearchBarProps, SearchBarSize, SearchBarVariant } from './SearchBar/index.js';
|
|
112
120
|
export { SearchBar } from './SearchBar/index.js';
|
|
121
|
+
export type { SectionHeaderProps, SectionHeaderVariant } from './SectionHeader/index.js';
|
|
122
|
+
export { SectionHeader } from './SectionHeader/index.js';
|
|
113
123
|
export type { SegmentedControlProps, SegmentedControlRadius, SegmentedControlSize, SegmentedControlTone, SegmentedControlVariant, SegmentIcon, SegmentIconState, SegmentItem, SegmentValue } from './SegmentedControl/index.js';
|
|
114
124
|
export { SegmentedControl } from './SegmentedControl/index.js';
|
|
115
125
|
export type { SelectOption, SelectProps, SelectSize, SelectValue } from './Select/index.js';
|
|
@@ -124,13 +134,15 @@ export type { SlideToConfirmProps, SlideToConfirmSize, SlideToConfirmTone } from
|
|
|
124
134
|
export { SlideToConfirm } from './SlideToConfirm/index.js';
|
|
125
135
|
export type { SpinnerProps, SpinnerSize, SpinnerVariant } from './Spinner/index.js';
|
|
126
136
|
export { Spinner } from './Spinner/index.js';
|
|
137
|
+
export type { StatTileProps } from './StatTile/index.js';
|
|
138
|
+
export { StatTile } from './StatTile/index.js';
|
|
127
139
|
export type { StatusBadgeProps, StatusBadgeSize, StatusBadgeTone, StatusBadgeVariant } from './StatusBadge/index.js';
|
|
128
140
|
export { StatusBadge } from './StatusBadge/index.js';
|
|
129
141
|
export type { StepperPressMode, StepperProps, StepperStep, StepperTone, StepperVariant } from './Stepper/index.js';
|
|
130
142
|
export { Stepper } from './Stepper/index.js';
|
|
131
143
|
export type { SwipeableAction, SwipeableProps, SwipeableTone } from './Swipeable/index.js';
|
|
132
144
|
export { Swipeable } from './Swipeable/index.js';
|
|
133
|
-
export type { SwitchProps, SwitchSize, SwitchTone } from './Switch/index.js';
|
|
145
|
+
export type { SwitchLayout, SwitchProps, SwitchSize, SwitchTone } from './Switch/index.js';
|
|
134
146
|
export { Switch } from './Switch/index.js';
|
|
135
147
|
export type { TabItem, TabItemIcon, TabItemIconState, TabsAlign, TabsProps, TabsRadius, TabsSize, TabsVariant } from './Tabs/index.js';
|
|
136
148
|
export { Tabs } from './Tabs/index.js';
|
|
@@ -142,8 +154,8 @@ export type { TimelineItem, TimelineOrientation, TimelineProps, TimelineStatus,
|
|
|
142
154
|
export { Timeline } from './Timeline/index.js';
|
|
143
155
|
export type { MinuteStep, Period, TimeFormat, TimePickerProps, TimeValue } from './TimePicker/index.js';
|
|
144
156
|
export { TimePicker } from './TimePicker/index.js';
|
|
145
|
-
export type { ToastApi, ToastOptions, ToastPosition, ToastProps, ToastProviderProps, ToastVariant } from './Toast/index.js';
|
|
146
|
-
export { Toast, ToastProvider, toast, useToast } from './Toast/index.js';
|
|
157
|
+
export type { ToastApi, ToastHaptics, ToastOptions, ToastPosition, ToastProps, ToastProviderProps, ToastVariant } from './Toast/index.js';
|
|
158
|
+
export { Toast, ToastHost, ToastProvider, toast, useToast } from './Toast/index.js';
|
|
147
159
|
export type { TooltipPlacement, TooltipProps, TooltipTrigger } from './Tooltip/index.js';
|
|
148
160
|
export { Tooltip } from './Tooltip/index.js';
|
|
149
161
|
export type { TourCloseReason, TourLabels, TourProps, TourSeenStore, TourStep } from './Tour/index.js';
|
|
@@ -15,12 +15,21 @@ export interface FormProps<Values extends FormValues = FormValues> {
|
|
|
15
15
|
* prop was declared at the base type, `useForm<MyValues>()` could not be handed
|
|
16
16
|
* to `<Form>` by ANY consumer, which is most of the reason to type a form at
|
|
17
17
|
* all. Untyped callers are unaffected: `Values` defaults to `FormValues`.
|
|
18
|
+
*
|
|
19
|
+
* @deprecated Part of the deprecated `useForm` engine. With react-hook-form,
|
|
20
|
+
* pass `control` to `HookFormField`, or wrap the form in react-hook-form's
|
|
21
|
+
* `FormProvider`.
|
|
18
22
|
*/
|
|
19
23
|
export declare const Form: {
|
|
20
24
|
<Values extends FormValues = FormValues>({ form, children }: FormProps<Values>): React.ReactElement;
|
|
21
25
|
displayName: string;
|
|
22
26
|
};
|
|
23
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Read the surrounding form. Throws if there is no `<Form>` ancestor.
|
|
29
|
+
*
|
|
30
|
+
* @deprecated Part of the deprecated `useForm` engine. Use react-hook-form's
|
|
31
|
+
* `useFormContext` instead.
|
|
32
|
+
*/
|
|
24
33
|
export declare function useFormContext<Values extends FormValues = FormValues>(): FormApi<Values>;
|
|
25
34
|
/** Read the surrounding form, or null when there is no `<Form>` ancestor. */
|
|
26
35
|
export declare function useOptionalFormContext(): FormApi<FormValues> | null;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { FieldPath, FieldPathValue, FieldValues, UseControllerProps } from 'react-hook-form';
|
|
3
|
+
import { type FormFieldProps } from '../components/FormField/FormField.js';
|
|
4
|
+
import { type HookFieldProps } from './useHookFormField.js';
|
|
5
|
+
/** The label, helper text and layout `FormField` draws around the control. */
|
|
6
|
+
type FieldChromeProps = Omit<FormFieldProps, 'name' | 'children' | 'error'>;
|
|
7
|
+
export type HookFormFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TTransformedValues = TFieldValues> = FieldChromeProps & UseControllerProps<TFieldValues, TName, TTransformedValues> & {
|
|
8
|
+
/**
|
|
9
|
+
* A text input element (`<Input />`, `<PhoneNumberInput />`) gets `value`,
|
|
10
|
+
* `onChangeText`, `onBlur`, `error` and a ref injected. Any other control
|
|
11
|
+
* takes the render-prop form:
|
|
12
|
+
* `{(field) => <Select value={field.value} onChange={field.onChange} error={field.error} />}`.
|
|
13
|
+
* A render-prop control that is passed `error` draws it itself, so the
|
|
14
|
+
* frame leaves its own copy out; one that is not passed `error` has the
|
|
15
|
+
* message drawn under it by the frame.
|
|
16
|
+
*/
|
|
17
|
+
children: React.ReactElement | ((field: HookFieldProps<FieldPathValue<TFieldValues, TName>>) => React.ReactNode);
|
|
18
|
+
/**
|
|
19
|
+
* Whether the frame leaves out its own error line because the control
|
|
20
|
+
* draws the message. Default: `true` for an element child, and for a
|
|
21
|
+
* render-prop child whose returned element is given an `error` prop;
|
|
22
|
+
* `false` otherwise. Set it to override that.
|
|
23
|
+
*/
|
|
24
|
+
hideError?: boolean;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* A library field bound to react-hook-form: `FormField`'s label, helper text,
|
|
28
|
+
* required marker and error line around a control wired through
|
|
29
|
+
* `useController`. `control` may be omitted inside a `FormProvider`.
|
|
30
|
+
*
|
|
31
|
+
* ```tsx
|
|
32
|
+
* const { control, handleSubmit } = useForm({ defaultValues: { email: '' } });
|
|
33
|
+
*
|
|
34
|
+
* <HookFormField control={control} name="email" label="Email" rules={{ required: 'Enter your email' }}>
|
|
35
|
+
* <Input keyboardType="email-address" autoComplete="email" />
|
|
36
|
+
* </HookFormField>
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export declare const HookFormField: {
|
|
40
|
+
<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TTransformedValues = TFieldValues>(props: HookFormFieldProps<TFieldValues, TName, TTransformedValues>): React.ReactElement;
|
|
41
|
+
displayName: string;
|
|
42
|
+
};
|
|
43
|
+
export {};
|
|
44
|
+
//# sourceMappingURL=HookFormField.d.ts.map
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export type { FormProps } from './FormContext.js';
|
|
2
2
|
export { Form, useFormContext, useOptionalFormContext } from './FormContext.js';
|
|
3
|
+
export type { HookFormFieldProps } from './HookFormField.js';
|
|
4
|
+
export { HookFormField } from './HookFormField.js';
|
|
3
5
|
export { deletePath, getPath, setPath } from './path.js';
|
|
4
6
|
import * as rules from './rules.js';
|
|
5
7
|
export type { FieldInputProps, FieldRules, FieldState, FocusableNode, FormApi, FormConfig, FormErrors, FormTouched, FormValidateFn, FormValues, SubmitHelpers, ValidateOn, ValidationResult, ValidationRule, ValidationSchema } from './types.js';
|
|
@@ -8,5 +10,7 @@ export { useField, useFieldArray } from './useField.js';
|
|
|
8
10
|
export { useForm } from './useForm.js';
|
|
9
11
|
export type { FormCompletion, UseFormCompletionOptions } from './useFormCompletion.js';
|
|
10
12
|
export { isFieldFilled, useFormCompletion } from './useFormCompletion.js';
|
|
13
|
+
export type { HookFieldProps } from './useHookFormField.js';
|
|
14
|
+
export { useHookFormField } from './useHookFormField.js';
|
|
11
15
|
export { rules };
|
|
12
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,6 +6,9 @@ import type { FieldInputProps } from './types.js';
|
|
|
6
6
|
* <Input value={email.value} onChangeText={email.onChangeText} onBlur={email.onBlur} error={email.error} />
|
|
7
7
|
* <Select value={country.value} onChange={country.onChange} error={country.error} />
|
|
8
8
|
* <Switch value={!!agree.value} onChange={agree.onChange} />
|
|
9
|
+
*
|
|
10
|
+
* @deprecated Part of the deprecated `useForm` engine. Use `useHookFormField`
|
|
11
|
+
* with react-hook-form instead.
|
|
9
12
|
*/
|
|
10
13
|
export declare function useField<V = unknown>(name: string): FieldInputProps<V>;
|
|
11
14
|
export interface FieldArrayApi<T = unknown> {
|
|
@@ -22,6 +25,9 @@ export interface FieldArrayApi<T = unknown> {
|
|
|
22
25
|
* Manage a repeating list field (phone numbers, line items, etc.) by name.
|
|
23
26
|
* Each helper writes the whole array back through the form so validation and
|
|
24
27
|
* dirty-tracking stay correct.
|
|
28
|
+
*
|
|
29
|
+
* @deprecated Part of the deprecated `useForm` engine. Use react-hook-form's
|
|
30
|
+
* `useFieldArray` instead.
|
|
25
31
|
*/
|
|
26
32
|
export declare function useFieldArray<T = unknown>(name: string): FieldArrayApi<T>;
|
|
27
33
|
//# sourceMappingURL=useField.d.ts.map
|
|
@@ -5,6 +5,10 @@ import type { FormApi, FormConfig, FormValues } from './types.js';
|
|
|
5
5
|
* function), gates error display behind touched/submit, and on a failed submit
|
|
6
6
|
* focuses the first errored field. The returned object is rebuilt every render
|
|
7
7
|
* so `<Form>` consumers re-render on state changes.
|
|
8
|
+
*
|
|
9
|
+
* @deprecated Build new forms with react-hook-form's `useForm` and bind the
|
|
10
|
+
* library's fields through `HookFormField` (or `useHookFormField` for a custom
|
|
11
|
+
* control). See docs/forms.md. This engine stays until a major release removes it.
|
|
8
12
|
*/
|
|
9
13
|
export declare function useForm<Values extends FormValues = FormValues>(config: FormConfig<Values>): FormApi<Values>;
|
|
10
14
|
//# sourceMappingURL=useForm.d.ts.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import { type FieldPath, type FieldPathValue, type FieldValues, type UseControllerProps } from 'react-hook-form';
|
|
3
|
+
/**
|
|
4
|
+
* What a library field needs from a react-hook-form field, under the names the
|
|
5
|
+
* fields already take: text inputs read `onChangeText`, every other control
|
|
6
|
+
* (Select, Switch, DatePicker, Slider and the rest) reads `onChange`.
|
|
7
|
+
*/
|
|
8
|
+
export interface HookFieldProps<V = unknown> {
|
|
9
|
+
name: string;
|
|
10
|
+
value: V;
|
|
11
|
+
/** The field's validation message, when react-hook-form holds one. */
|
|
12
|
+
error: string | undefined;
|
|
13
|
+
touched: boolean;
|
|
14
|
+
dirty: boolean;
|
|
15
|
+
onChange: (value: V) => void;
|
|
16
|
+
onChangeText: (text: string) => void;
|
|
17
|
+
onBlur: () => void;
|
|
18
|
+
/** Pass to the input so `setFocus` and focus-on-error reach it. */
|
|
19
|
+
ref: React.RefCallback<unknown>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Binds one react-hook-form field (through `useController`) and returns it in
|
|
23
|
+
* the shape the library's fields take. `control` may be omitted inside a
|
|
24
|
+
* react-hook-form `FormProvider`.
|
|
25
|
+
*
|
|
26
|
+
* ```tsx
|
|
27
|
+
* const country = useHookFormField({ control, name: 'country', rules: { required: 'Pick one' } });
|
|
28
|
+
* <Select value={country.value} onChange={country.onChange} error={country.error} options={...} />
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare function useHookFormField<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TTransformedValues = TFieldValues>(props: UseControllerProps<TFieldValues, TName, TTransformedValues>): HookFieldProps<FieldPathValue<TFieldValues, TName>>;
|
|
32
|
+
//# sourceMappingURL=useHookFormField.d.ts.map
|