@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
|
@@ -2,10 +2,30 @@ import React from 'react';
|
|
|
2
2
|
import type { View as RNView, StyleProp, ViewStyle } from 'react-native';
|
|
3
3
|
import type { HapticType } from '../../utils/hapticUtils';
|
|
4
4
|
export type BannerVariant = 'info' | 'success' | 'warning' | 'error' | 'neutral';
|
|
5
|
+
/**
|
|
6
|
+
* How assistive tech treats the banner. `'alert'` announces it as it appears
|
|
7
|
+
* (an error, a lost connection); `'summary'` and `'none'` are for a calm
|
|
8
|
+
* callout that is part of the page and should be read in order, not announced.
|
|
9
|
+
*/
|
|
10
|
+
export type BannerRole = 'alert' | 'summary' | 'none';
|
|
11
|
+
export type BannerActionVariant = 'solid' | 'outline' | 'ghost';
|
|
12
|
+
export type BannerActionSize = 'sm' | 'md';
|
|
13
|
+
export type BannerActionTone = 'primary' | 'neutral' | 'danger';
|
|
5
14
|
export interface BannerAction {
|
|
6
15
|
label: string;
|
|
7
16
|
onPress: () => void;
|
|
8
|
-
|
|
17
|
+
/**
|
|
18
|
+
* `primary` takes the banner's colour, `neutral` the secondary text colour,
|
|
19
|
+
* `danger` the error colour whatever the banner variant. Default `primary`.
|
|
20
|
+
*/
|
|
21
|
+
tone?: BannerActionTone;
|
|
22
|
+
/**
|
|
23
|
+
* `ghost`: text only, a tint on press. `outline`: a bordered button in the
|
|
24
|
+
* banner's colour. `solid`: filled with the banner's colour. Default `ghost`.
|
|
25
|
+
*/
|
|
26
|
+
variant?: BannerActionVariant;
|
|
27
|
+
/** `md` is a taller button with a 44 pt touch target. Default `sm`. */
|
|
28
|
+
size?: BannerActionSize;
|
|
9
29
|
}
|
|
10
30
|
export interface BannerProps {
|
|
11
31
|
title?: string;
|
|
@@ -25,6 +45,13 @@ export interface BannerProps {
|
|
|
25
45
|
* when data arrives. Use this while the data driving the component is being fetched.
|
|
26
46
|
*/
|
|
27
47
|
loading?: boolean;
|
|
48
|
+
/** Default `'alert'`. See {@link BannerRole}. */
|
|
49
|
+
accessibilityRole?: BannerRole;
|
|
50
|
+
/**
|
|
51
|
+
* Replaces what the banner is announced as. Leave unset to let a screen
|
|
52
|
+
* reader read the title, the message and each button in turn: a label on
|
|
53
|
+
* the container makes TalkBack read the label alone and skip the rest.
|
|
54
|
+
*/
|
|
28
55
|
accessibilityLabel?: string;
|
|
29
56
|
style?: StyleProp<ViewStyle>;
|
|
30
57
|
/** Alias for `style` — applied to the outer animated container. */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { BannerAction, BannerProps, BannerVariant } from './Banner';
|
|
1
|
+
export type { BannerAction, BannerActionSize, BannerActionTone, BannerActionVariant, BannerProps, BannerRole, BannerVariant } from './Banner';
|
|
2
2
|
export { Banner, default } from './Banner';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -17,15 +17,36 @@
|
|
|
17
17
|
* ref.current?.close(); // dismiss
|
|
18
18
|
*/
|
|
19
19
|
import React from 'react';
|
|
20
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
21
|
-
|
|
20
|
+
import type { LayoutChangeEvent, NativeScrollEvent, NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native';
|
|
21
|
+
import { ScrollView } from 'react-native';
|
|
22
|
+
/**
|
|
23
|
+
* A snap point: a height in dp, a percentage of the host height, or
|
|
24
|
+
* `'content'`, the measured height of the sheet's own content (handle,
|
|
25
|
+
* header, children, footer and bottom safe-area inset), capped at the host
|
|
26
|
+
* height less the top safe-area inset.
|
|
27
|
+
*/
|
|
28
|
+
export type SnapPoint = number | `${number}%` | 'content';
|
|
22
29
|
export type KeyboardBehavior = 'none' | 'shift';
|
|
23
30
|
export type BottomSheetMode = 'modal' | 'inline';
|
|
31
|
+
export type BottomSheetPresentation = 'sheet' | 'dialog' | 'auto';
|
|
24
32
|
export interface BottomSheetProps {
|
|
33
|
+
/**
|
|
34
|
+
* The heights the sheet rests at, in any order (they are sorted ascending).
|
|
35
|
+
* `'content'` hugs the content: `['content']` is one detent as tall as the
|
|
36
|
+
* content, `['content', '90%']` adds a taller one the handle drags up to.
|
|
37
|
+
* Content taller than the cap is clipped, or scrolls with `scrollable`.
|
|
38
|
+
*/
|
|
25
39
|
snapPoints: SnapPoint[];
|
|
26
40
|
index?: number;
|
|
27
41
|
onChange?: (index: number) => void;
|
|
28
42
|
onAnimate?: (from: number, to: number) => void;
|
|
43
|
+
/**
|
|
44
|
+
* Called once after a close has finished: the exit animation is over and
|
|
45
|
+
* the host is gone (on iOS, once the native Modal's window has been
|
|
46
|
+
* dismissed). Present anything native (an image picker, the share sheet)
|
|
47
|
+
* from here; presented earlier, iOS attaches it to the closing window.
|
|
48
|
+
*/
|
|
49
|
+
onAfterClose?: () => void;
|
|
29
50
|
enablePanDownToClose?: boolean;
|
|
30
51
|
enableBackdropPress?: boolean;
|
|
31
52
|
/**
|
|
@@ -35,6 +56,16 @@ export interface BottomSheetProps {
|
|
|
35
56
|
* moves or closes the sheet, whichever value this has.
|
|
36
57
|
*/
|
|
37
58
|
scrollable?: boolean;
|
|
59
|
+
/** Ref to the inner ScrollView. Used only with `scrollable`. */
|
|
60
|
+
scrollRef?: React.Ref<ScrollView>;
|
|
61
|
+
/** Forwarded to the inner ScrollView. Used only with `scrollable`. */
|
|
62
|
+
onScroll?: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
|
|
63
|
+
/** Forwarded to the inner ScrollView. Used only with `scrollable`. */
|
|
64
|
+
onContentSizeChange?: (width: number, height: number) => void;
|
|
65
|
+
/** Forwarded to the inner ScrollView's `onLayout`. Used only with `scrollable`. */
|
|
66
|
+
onScrollLayout?: (event: LayoutChangeEvent) => void;
|
|
67
|
+
/** Forwarded to the inner ScrollView. Used only with `scrollable`. */
|
|
68
|
+
scrollEventThrottle?: number;
|
|
38
69
|
/**
|
|
39
70
|
* @deprecated Backdrop opacity is now controlled by the theme token
|
|
40
71
|
* `colors.background.overlay` (alpha baked into the rgba value). Animated
|
|
@@ -61,6 +92,17 @@ export interface BottomSheetProps {
|
|
|
61
92
|
* component. Useful when embedding a sheet within a bounded area.
|
|
62
93
|
*/
|
|
63
94
|
mode?: BottomSheetMode;
|
|
95
|
+
/**
|
|
96
|
+
* How the sheet is drawn.
|
|
97
|
+
* - `'sheet'` (default): full width, anchored to the bottom edge, dragged
|
|
98
|
+
* by its handle between the snap points.
|
|
99
|
+
* - `'dialog'`: centred, at most 560 wide, rounded on every corner, with no
|
|
100
|
+
* drag handle. It is as tall as the current snap point, and moves up to
|
|
101
|
+
* stay clear of the keyboard.
|
|
102
|
+
* - `'auto'`: `'dialog'` on a tablet (the window's shorter side is 600 or
|
|
103
|
+
* more), `'sheet'` on a phone.
|
|
104
|
+
*/
|
|
105
|
+
presentation?: BottomSheetPresentation;
|
|
64
106
|
handleIndicatorStyle?: StyleProp<ViewStyle>;
|
|
65
107
|
containerStyle?: StyleProp<ViewStyle>;
|
|
66
108
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { BottomSheetContextValue, BottomSheetProps, BottomSheetRef, SnapPoint } from './BottomSheet';
|
|
1
|
+
export type { BottomSheetContextValue, BottomSheetPresentation, BottomSheetProps, BottomSheetRef, SnapPoint } from './BottomSheet';
|
|
2
2
|
export { BottomSheet, default, useBottomSheet } from './BottomSheet';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,6 +3,7 @@ import type { PressableProps, View as RNView, StyleProp, TextStyle, ViewStyle }
|
|
|
3
3
|
import type { PressAnimationPreset } from '../../hooks/usePressAnimation';
|
|
4
4
|
import type { GradientDefinition } from '../../theme/types';
|
|
5
5
|
import type { HapticType } from '../../utils/hapticUtils';
|
|
6
|
+
import type { IconVariant } from '../AppIcon/AppIcon';
|
|
6
7
|
import type { SlotIcon } from '../AppIcon/slotIcon';
|
|
7
8
|
/**
|
|
8
9
|
* Visual weight, heaviest first: `solid` fills with the tone, `soft` tints
|
|
@@ -19,7 +20,12 @@ export type ButtonVariant = 'solid' | 'soft' | 'outline' | 'ghost' | 'link' | 'g
|
|
|
19
20
|
export type ButtonTone = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'neutral';
|
|
20
21
|
export type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
21
22
|
export interface ButtonProps extends Omit<PressableProps, 'style' | 'children'> {
|
|
23
|
+
/** The label, and the button's accessible name unless `accessibilityLabel` is set. */
|
|
22
24
|
title?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Custom content drawn in place of the label when there is no `title`. Never the label as text:
|
|
27
|
+
* development builds throw on a text child, which would otherwise draw a blank, unnamed button.
|
|
28
|
+
*/
|
|
23
29
|
children?: React.ReactNode;
|
|
24
30
|
variant?: ButtonVariant;
|
|
25
31
|
tone?: ButtonTone;
|
|
@@ -40,6 +46,11 @@ export interface ButtonProps extends Omit<PressableProps, 'style' | 'children'>
|
|
|
40
46
|
leftIcon?: SlotIcon;
|
|
41
47
|
/** Icon after the title; same contract as `leftIcon`. */
|
|
42
48
|
rightIcon?: SlotIcon;
|
|
49
|
+
/**
|
|
50
|
+
* Iconsax style for `leftIcon` and `rightIcon` given as a name. A
|
|
51
|
+
* `{ name, variant }` icon keeps its own variant. Default `'linear'`.
|
|
52
|
+
*/
|
|
53
|
+
iconVariant?: IconVariant;
|
|
43
54
|
/**
|
|
44
55
|
* Draws `leftIcon` inside its own opaque disc, sitting at the pill's left
|
|
45
56
|
* edge, so the icon reads as a badge rather than a glyph in the label. The
|
|
@@ -2,7 +2,13 @@ import React from 'react';
|
|
|
2
2
|
import type { GestureResponderEvent, ImageSourcePropType, PressableProps, View as RNView, StyleProp, ViewStyle } from 'react-native';
|
|
3
3
|
import type { ColorPalette, GradientDefinition } from '../../theme/types';
|
|
4
4
|
import type { HapticType } from '../../utils/hapticUtils';
|
|
5
|
-
export type CardVariant = 'elevated' | 'outlined' | 'filled';
|
|
5
|
+
export type CardVariant = 'elevated' | 'outlined' | 'filled' | 'flat';
|
|
6
|
+
/** A text action in the card header, drawn with a 44 pt hit target. */
|
|
7
|
+
export interface CardTextAction {
|
|
8
|
+
label: string;
|
|
9
|
+
onPress: () => void;
|
|
10
|
+
accessibilityLabel?: string;
|
|
11
|
+
}
|
|
6
12
|
export type CardElevation = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
7
13
|
export type CardRadius = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
8
14
|
export type CardPadding = 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -20,7 +26,31 @@ export interface CardProps extends Omit<PressableProps, 'style' | 'children'> {
|
|
|
20
26
|
* surface colour; `style` / `containerStyle` still win over it.
|
|
21
27
|
*/
|
|
22
28
|
bg?: CardBackground;
|
|
29
|
+
/** Free-form header slot. When given it replaces the built-in header below. */
|
|
23
30
|
header?: React.ReactNode;
|
|
31
|
+
/** Built-in header title. A string is drawn as a heading; a node is drawn as is. */
|
|
32
|
+
title?: React.ReactNode;
|
|
33
|
+
/** Subtitle line under the title. */
|
|
34
|
+
lead?: React.ReactNode;
|
|
35
|
+
/** Header action: a node is drawn as is; `{ label, onPress }` draws a text action. */
|
|
36
|
+
action?: React.ReactNode | CardTextAction;
|
|
37
|
+
/** Extra nodes drawn in the header row after the action. */
|
|
38
|
+
headerActions?: React.ReactNode;
|
|
39
|
+
/** Draws a chevron button in the header that folds the body and footer away. */
|
|
40
|
+
collapsible?: boolean;
|
|
41
|
+
/** Controlled folded state. */
|
|
42
|
+
collapsed?: boolean;
|
|
43
|
+
/** Initial folded state when `collapsed` is not given. */
|
|
44
|
+
defaultCollapsed?: boolean;
|
|
45
|
+
onCollapsedChange?: (collapsed: boolean) => void;
|
|
46
|
+
/** Shown under the title while the card is folded. */
|
|
47
|
+
collapsedSummary?: React.ReactNode;
|
|
48
|
+
/** Draws a trash button in the header. */
|
|
49
|
+
onRemove?: () => void;
|
|
50
|
+
/** Accessible name of the remove button. Default `'Remove'`. */
|
|
51
|
+
removeLabel?: string;
|
|
52
|
+
/** Height of the bottom band of the `flat` variant. Default a hairline. */
|
|
53
|
+
separatorHeight?: number;
|
|
24
54
|
footer?: React.ReactNode;
|
|
25
55
|
imageSource?: ImageSourcePropType;
|
|
26
56
|
imageHeight?: number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { CardElevation, CardPadding, CardProps, CardRadius, CardVariant } from './Card';
|
|
1
|
+
export type { CardElevation, CardPadding, CardProps, CardRadius, CardTextAction, CardVariant } from './Card';
|
|
2
2
|
export { Card, default } from './Card';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type React from 'react';
|
|
1
2
|
import type { PressableProps, View as RNView, StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
2
3
|
import type { HapticType } from '../../utils/hapticUtils';
|
|
3
4
|
export type CheckboxSize = 'sm' | 'md' | 'lg';
|
|
@@ -8,7 +9,26 @@ export interface CheckboxProps extends Omit<PressableProps, 'style' | 'children'
|
|
|
8
9
|
onChange?: (checked: boolean) => void;
|
|
9
10
|
indeterminate?: boolean;
|
|
10
11
|
disabled?: boolean;
|
|
11
|
-
|
|
12
|
+
/**
|
|
13
|
+
* A string, or a node for a symbol with a subscript. A node label needs an
|
|
14
|
+
* explicit `accessibilityLabel` (the checkbox's screen-reader name).
|
|
15
|
+
*/
|
|
16
|
+
label?: React.ReactNode;
|
|
17
|
+
/** Secondary line under the label. A string or a node; a node description adds nothing to the accessibility hint. */
|
|
18
|
+
description?: React.ReactNode;
|
|
19
|
+
/** Error line under the label (and description); also draws the box in the error colour. A string or a node. */
|
|
20
|
+
error?: React.ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Drawn beside the label, after it (a glossary info button, say). It sits
|
|
23
|
+
* beside the checkbox row, not inside it: it is not part of the checkbox's
|
|
24
|
+
* accessibility name and pressing it does not toggle the box.
|
|
25
|
+
*/
|
|
26
|
+
help?: React.ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
* Lines the label (and the description) may take before truncating with an
|
|
29
|
+
* ellipsis. Default: no limit, the text wraps in full. `0` also means no limit.
|
|
30
|
+
*/
|
|
31
|
+
labelLines?: number;
|
|
12
32
|
size?: CheckboxSize;
|
|
13
33
|
tone?: CheckboxTone;
|
|
14
34
|
accessibilityLabel?: string;
|
|
@@ -16,8 +36,6 @@ export interface CheckboxProps extends Omit<PressableProps, 'style' | 'children'
|
|
|
16
36
|
haptic?: HapticType | false;
|
|
17
37
|
style?: StyleProp<ViewStyle>;
|
|
18
38
|
boxStyle?: StyleProp<ViewStyle>;
|
|
19
|
-
/** Style override for the check glyph (✓) inside the box. */
|
|
20
|
-
checkIconStyle?: StyleProp<TextStyle>;
|
|
21
39
|
/** Style override for the indeterminate bar inside the box. */
|
|
22
40
|
indeterminateBarStyle?: StyleProp<ViewStyle>;
|
|
23
41
|
/** Style override for the outer row container. */
|
|
@@ -26,7 +44,7 @@ export interface CheckboxProps extends Omit<PressableProps, 'style' | 'children'
|
|
|
26
44
|
labelStyle?: StyleProp<TextStyle>;
|
|
27
45
|
testID?: string;
|
|
28
46
|
}
|
|
29
|
-
declare const Checkbox:
|
|
47
|
+
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<RNView>>;
|
|
30
48
|
export { Checkbox };
|
|
31
49
|
export default Checkbox;
|
|
32
50
|
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { View as RNView, StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
3
3
|
import type { HapticType } from '../../utils/hapticUtils';
|
|
4
|
+
import type { IconVariant } from '../AppIcon/AppIcon';
|
|
4
5
|
import type { SlotIcon } from '../AppIcon/slotIcon';
|
|
5
|
-
|
|
6
|
+
/**
|
|
7
|
+
* `filled` is a flat neutral pill, `outlined` a ring, `soft` the tone's own
|
|
8
|
+
* colour at low opacity behind tone-coloured text (the tint Button and
|
|
9
|
+
* IconButton draw as `soft`).
|
|
10
|
+
*/
|
|
11
|
+
export type ChipVariant = 'filled' | 'outlined' | 'soft';
|
|
6
12
|
export type ChipTone = 'primary' | 'neutral' | 'success' | 'warning' | 'error' | 'info';
|
|
7
13
|
export type ChipSize = 'sm' | 'md';
|
|
14
|
+
export type ChipSelectionMode = 'single' | 'multiple';
|
|
8
15
|
export interface ChipProps {
|
|
9
16
|
label: string;
|
|
10
17
|
selected?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* How a pressable chip announces itself. `'single'` (default) is a button
|
|
20
|
+
* with a selected state; `'multiple'` is a checkbox whose checked state
|
|
21
|
+
* follows `selected`, for chips that toggle independently.
|
|
22
|
+
*/
|
|
23
|
+
selectionMode?: ChipSelectionMode;
|
|
11
24
|
onPress?: () => void;
|
|
12
25
|
onClose?: () => void;
|
|
13
26
|
/**
|
|
@@ -16,6 +29,11 @@ export interface ChipProps {
|
|
|
16
29
|
* function or any node also work.
|
|
17
30
|
*/
|
|
18
31
|
leftIcon?: SlotIcon;
|
|
32
|
+
/**
|
|
33
|
+
* Iconsax style for `leftIcon` given as a name. A `{ name, variant }` icon
|
|
34
|
+
* keeps its own variant. Default `'linear'`.
|
|
35
|
+
*/
|
|
36
|
+
iconVariant?: IconVariant;
|
|
19
37
|
variant?: ChipVariant;
|
|
20
38
|
tone?: ChipTone;
|
|
21
39
|
size?: ChipSize;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* ChoiceGroup — headless
|
|
2
|
+
* ChoiceGroup — headless choice group (one option, or `selectionMode="multiple"` for many) with templated options.
|
|
3
3
|
*
|
|
4
4
|
* The component owns the BEHAVIOUR: selection state (controlled or
|
|
5
5
|
* uncontrolled), per-option press handling, haptics, radio/radiogroup a11y,
|
|
@@ -60,7 +60,9 @@ export interface ChoiceOptionState<T = ChoiceOption> {
|
|
|
60
60
|
/** Resolved option colour: `getOptionColor` → option `color` → `colors.primary`. */
|
|
61
61
|
color: string;
|
|
62
62
|
}
|
|
63
|
-
|
|
63
|
+
/** `single` picks one option (radio); `multiple` toggles any number (checkbox). */
|
|
64
|
+
export type ChoiceGroupSelectionMode = 'single' | 'multiple';
|
|
65
|
+
interface BaseChoiceGroupProps<T = ChoiceOption> {
|
|
64
66
|
/** `ChoiceOption` shape by default; pass `getOption*` accessors for anything else. */
|
|
65
67
|
options: ReadonlyArray<T>;
|
|
66
68
|
/** Defaults to `(o) => (o as ChoiceOption).label`. */
|
|
@@ -75,11 +77,6 @@ export interface ChoiceGroupProps<T = ChoiceOption> {
|
|
|
75
77
|
getOptionIcon?: (option: T) => SlotIcon | undefined;
|
|
76
78
|
/** Defaults to `(o) => (o as ChoiceOption).color`. */
|
|
77
79
|
getOptionColor?: (option: T) => string | undefined;
|
|
78
|
-
/** Controlled selected value. */
|
|
79
|
-
value?: RadioValue;
|
|
80
|
-
/** Uncontrolled initial value. */
|
|
81
|
-
defaultValue?: RadioValue;
|
|
82
|
-
onChange?: (value: RadioValue) => void;
|
|
83
80
|
/**
|
|
84
81
|
* Custom option template. The library still owns press handling, haptics
|
|
85
82
|
* and a11y — the template only paints. Selected-state styling is the
|
|
@@ -112,8 +109,35 @@ export interface ChoiceGroupProps<T = ChoiceOption> {
|
|
|
112
109
|
style?: StyleProp<ViewStyle>;
|
|
113
110
|
/** Style for each option's pressable wrapper (both templates). */
|
|
114
111
|
optionStyle?: StyleProp<ViewStyle>;
|
|
112
|
+
/** Multiple mode only: fewest options that stay selected. Pressing a selected option at this count does nothing. Default none. */
|
|
113
|
+
min?: number;
|
|
114
|
+
/** Multiple mode only: most options that can be selected. At this count the unselected options are disabled. Default no limit. */
|
|
115
|
+
max?: number;
|
|
115
116
|
testID?: string;
|
|
116
117
|
}
|
|
118
|
+
interface SingleChoiceGroupProps<T = ChoiceOption> extends BaseChoiceGroupProps<T> {
|
|
119
|
+
selectionMode?: 'single';
|
|
120
|
+
/** Controlled selected value. */
|
|
121
|
+
value?: RadioValue;
|
|
122
|
+
/** Uncontrolled initial value. */
|
|
123
|
+
defaultValue?: RadioValue;
|
|
124
|
+
onChange?: (value: RadioValue) => void;
|
|
125
|
+
}
|
|
126
|
+
interface MultipleChoiceGroupProps<T = ChoiceOption> extends BaseChoiceGroupProps<T> {
|
|
127
|
+
/**
|
|
128
|
+
* `'multiple'`: pressing an option toggles it. Options are exposed as
|
|
129
|
+
* checkboxes (the group has no radiogroup role), and `value`,
|
|
130
|
+
* `defaultValue` and `onChange` carry arrays of values.
|
|
131
|
+
*/
|
|
132
|
+
selectionMode: 'multiple';
|
|
133
|
+
/** Controlled selected values. */
|
|
134
|
+
value?: RadioValue[];
|
|
135
|
+
/** Uncontrolled initial values. Default none. */
|
|
136
|
+
defaultValue?: RadioValue[];
|
|
137
|
+
/** Fired with the new list, in the order the values were chosen. */
|
|
138
|
+
onChange?: (values: RadioValue[]) => void;
|
|
139
|
+
}
|
|
140
|
+
export type ChoiceGroupProps<T = ChoiceOption> = SingleChoiceGroupProps<T> | MultipleChoiceGroupProps<T>;
|
|
117
141
|
declare const ChoiceGroup: React.ForwardRefExoticComponent<ChoiceGroupProps<unknown> & React.RefAttributes<RNView>>;
|
|
118
142
|
export { ChoiceGroup };
|
|
119
143
|
export default ChoiceGroup;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { ChoiceGroupDirection, ChoiceGroupIndicatorPosition, ChoiceGroupProps, ChoiceGroupSize, ChoiceGroupVariant, ChoiceOption, ChoiceOptionState } from './ChoiceGroup';
|
|
1
|
+
export type { ChoiceGroupDirection, ChoiceGroupIndicatorPosition, ChoiceGroupProps, ChoiceGroupSelectionMode, ChoiceGroupSize, ChoiceGroupVariant, ChoiceOption, ChoiceOptionState } from './ChoiceGroup';
|
|
2
2
|
export { ChoiceGroup, default } from './ChoiceGroup';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { TextInput } from 'react-native';
|
|
2
|
+
import type { InputProps } from '../Input';
|
|
3
|
+
export interface DecimalRules {
|
|
4
|
+
/** Digits only: no point, no minus. */
|
|
5
|
+
whole?: boolean;
|
|
6
|
+
/** Allow one leading minus. */
|
|
7
|
+
signed?: boolean;
|
|
8
|
+
/** Most fraction digits kept after the point. */
|
|
9
|
+
decimals?: number;
|
|
10
|
+
/** Keep only digits and `. e E + -`, so `1e-5` can be typed. */
|
|
11
|
+
allowExponent?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* What a figure typed or pasted into the field is cleaned to. In exponent mode only the characters
|
|
15
|
+
* `0-9 . e E + -` survive. Otherwise: digits and at most one point (the first), an optional leading
|
|
16
|
+
* minus when `signed`, and `decimals` fraction digits at most.
|
|
17
|
+
*/
|
|
18
|
+
export declare function cleanDecimalText(text: string | null | undefined, { whole, signed, decimals, allowExponent }?: DecimalRules): string;
|
|
19
|
+
/** What a half-typed figure reads as: nothing yet. A lone minus or point is on its way to a number. */
|
|
20
|
+
export declare function parseDecimalText(text: string): number | '';
|
|
21
|
+
export interface DecimalInputProps extends Omit<InputProps, 'value' | 'onChange' | 'onChangeText' | 'keyboardType'> {
|
|
22
|
+
/** The quantity's symbol, drawn in the prefix box before the value. Passed to Input as `prefix`. */
|
|
23
|
+
symbol?: InputProps['prefix'];
|
|
24
|
+
/** The figure. Text in the default mode, a number (or `''`) in `numeric` mode. */
|
|
25
|
+
value?: string | number | null;
|
|
26
|
+
/**
|
|
27
|
+
* Text mode (default): the cleaned text. `numeric`: a number, or `''` while the field is cleared
|
|
28
|
+
* or half-typed (`'12.'`, a lone `'-'`).
|
|
29
|
+
*/
|
|
30
|
+
onChange?: (value: string | number) => void;
|
|
31
|
+
/** A keystroke or paste that would pass this is refused; a figure already past it can still be edited down. */
|
|
32
|
+
max?: number;
|
|
33
|
+
/** Lower bound, refused the same way as `max`. */
|
|
34
|
+
min?: number;
|
|
35
|
+
/** Digits only. Number-pad keyboard. */
|
|
36
|
+
whole?: boolean;
|
|
37
|
+
/** Allow a leading minus. Numeric keyboard. */
|
|
38
|
+
signed?: boolean;
|
|
39
|
+
/** Most fraction digits kept. */
|
|
40
|
+
decimals?: number;
|
|
41
|
+
/** Allow exponent notation such as `1e-5`. */
|
|
42
|
+
allowExponent?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Hand `onChange` a number. The field keeps the typed text itself, so `'12.'` and `'-'` survive
|
|
45
|
+
* the keystroke, and follows `value` when it changes from elsewhere.
|
|
46
|
+
*/
|
|
47
|
+
numeric?: boolean;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* A figure typed on a number keyboard, over Input. Every Input prop passes through; the value may be
|
|
51
|
+
* empty or half-typed, which NumberInput's stepper cannot be.
|
|
52
|
+
*/
|
|
53
|
+
declare const DecimalInput: import("react").ForwardRefExoticComponent<DecimalInputProps & import("react").RefAttributes<TextInput>>;
|
|
54
|
+
export { DecimalInput };
|
|
55
|
+
export default DecimalInput;
|
|
56
|
+
//# sourceMappingURL=DecimalInput.d.ts.map
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
import type { TextColor } from '../Text/Text';
|
|
3
4
|
export type DescriptionsSize = 'sm' | 'md';
|
|
5
|
+
export type DescriptionsVariant = 'list' | 'summary';
|
|
4
6
|
export interface DescriptionItem {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
/** A string renders as text; a node (a symbol with a subscript, say) renders as-is. */
|
|
8
|
+
label: React.ReactNode;
|
|
9
|
+
/** A string renders as text; a node renders as-is. Empty renders as a plain hyphen, "-". */
|
|
7
10
|
value?: React.ReactNode;
|
|
8
11
|
/** Make this row span both columns. Ignored when `columns` is 1. */
|
|
9
12
|
full?: boolean;
|
|
13
|
+
/** React key. Defaults to the label and index for a string label, and to the index for a node label. */
|
|
10
14
|
key?: string;
|
|
15
|
+
/** Draw a string value in the semibold weight. */
|
|
16
|
+
strong?: boolean;
|
|
17
|
+
/** Colour of a string value: a text role, a semantic tone or a raw colour. Empty values stay muted. */
|
|
18
|
+
tone?: TextColor;
|
|
11
19
|
}
|
|
12
20
|
export interface DescriptionsProps {
|
|
13
21
|
items: ReadonlyArray<DescriptionItem>;
|
|
@@ -17,6 +25,11 @@ export interface DescriptionsProps {
|
|
|
17
25
|
/** Hairlines between rows. */
|
|
18
26
|
bordered?: boolean;
|
|
19
27
|
title?: string;
|
|
28
|
+
/**
|
|
29
|
+
* 'list' (default) is the record-detail layout. 'summary' is a compact analysis table: one line per
|
|
30
|
+
* row, label left, value right-aligned, a hairline rule under every row.
|
|
31
|
+
*/
|
|
32
|
+
variant?: DescriptionsVariant;
|
|
20
33
|
style?: StyleProp<ViewStyle>;
|
|
21
34
|
testID?: string;
|
|
22
35
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { DescriptionItem, DescriptionsProps, DescriptionsSize } from './Descriptions';
|
|
1
|
+
export type { DescriptionItem, DescriptionsProps, DescriptionsSize, DescriptionsVariant } from './Descriptions';
|
|
2
2
|
export { Descriptions, default } from './Descriptions';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,12 +8,16 @@ export interface DialogAction {
|
|
|
8
8
|
onPress: () => void;
|
|
9
9
|
tone?: DialogActionTone;
|
|
10
10
|
loading?: boolean;
|
|
11
|
+
/** Dims the action and blocks its press (a confirm waiting on a typed phrase, say). */
|
|
12
|
+
disabled?: boolean;
|
|
11
13
|
}
|
|
12
14
|
export interface DialogProps {
|
|
13
15
|
visible: boolean;
|
|
14
16
|
onClose: () => void;
|
|
15
17
|
title?: string;
|
|
16
|
-
message?: string
|
|
18
|
+
message?: string;
|
|
19
|
+
/** Custom content (a short form, a summary) drawn after the message and before the actions. */
|
|
20
|
+
children?: React.ReactNode;
|
|
17
21
|
icon?: React.ReactNode;
|
|
18
22
|
variant?: DialogVariant;
|
|
19
23
|
actions?: DialogAction[];
|
|
@@ -25,7 +29,7 @@ export interface DialogProps {
|
|
|
25
29
|
containerStyle?: StyleProp<ViewStyle>;
|
|
26
30
|
/** Style override for the title text. */
|
|
27
31
|
titleStyle?: StyleProp<TextStyle>;
|
|
28
|
-
/** Style override for the message text
|
|
32
|
+
/** Style override for the message text. */
|
|
29
33
|
messageStyle?: StyleProp<TextStyle>;
|
|
30
34
|
/** Style override for the icon wrapper view. */
|
|
31
35
|
iconWrapperStyle?: StyleProp<ViewStyle>;
|
|
@@ -15,6 +15,12 @@ export interface EmptyStateProps {
|
|
|
15
15
|
action?: EmptyStateAction;
|
|
16
16
|
secondaryAction?: EmptyStateAction;
|
|
17
17
|
size?: EmptyStateSize;
|
|
18
|
+
/**
|
|
19
|
+
* Grows to fill the space it is given and centres its content, so it sits in
|
|
20
|
+
* the middle of an empty list: pass it as `ListEmptyComponent` and give the
|
|
21
|
+
* FlatList `contentContainerStyle={{ flexGrow: 1 }}`.
|
|
22
|
+
*/
|
|
23
|
+
fill?: boolean;
|
|
18
24
|
style?: StyleProp<ViewStyle>;
|
|
19
25
|
testID?: string;
|
|
20
26
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The text beside a choice control (Checkbox, Switch, Radio): the label, an
|
|
3
|
+
* optional description under it, and an optional error line under that. One
|
|
4
|
+
* piece so the three controls space and colour these lines identically.
|
|
5
|
+
*/
|
|
6
|
+
import type React from 'react';
|
|
7
|
+
import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
8
|
+
export interface ChoiceTextProps {
|
|
9
|
+
/** A string, or a node (a symbol with a subscript). */
|
|
10
|
+
label?: React.ReactNode;
|
|
11
|
+
description?: React.ReactNode;
|
|
12
|
+
error?: React.ReactNode;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
/** Lines the label may take. */
|
|
15
|
+
labelLines?: number;
|
|
16
|
+
/** Lines the description may take; unset means no limit. */
|
|
17
|
+
descriptionLines?: number;
|
|
18
|
+
style?: StyleProp<ViewStyle>;
|
|
19
|
+
labelStyle?: StyleProp<TextStyle>;
|
|
20
|
+
}
|
|
21
|
+
/** True when the control has a second line, so it aligns to the label's first line. */
|
|
22
|
+
export declare const hasChoiceDetail: (description?: React.ReactNode, error?: React.ReactNode) => boolean;
|
|
23
|
+
export declare const ChoiceText: React.FC<ChoiceTextProps>;
|
|
24
|
+
//# sourceMappingURL=ChoiceText.d.ts.map
|
|
@@ -209,26 +209,46 @@ export declare const FieldErrorGlyph: React.FC<{
|
|
|
209
209
|
size: number;
|
|
210
210
|
color: string;
|
|
211
211
|
}>;
|
|
212
|
+
/**
|
|
213
|
+
* Whether a label / hint / error / prefix slot has anything to draw. Text
|
|
214
|
+
* slots across the field family take a string or a node (a symbol with a
|
|
215
|
+
* subscript), so "is it set" is not a truthiness test on a string any more:
|
|
216
|
+
* `null`, `undefined`, `false` and `''` draw nothing, everything else does.
|
|
217
|
+
*/
|
|
218
|
+
export declare const hasFieldText: (value: React.ReactNode) => boolean;
|
|
219
|
+
/**
|
|
220
|
+
* The plain-text form of a label slot, for an accessibility name or a sheet
|
|
221
|
+
* title: the string itself, or `undefined` for a node (the caller then passes
|
|
222
|
+
* an explicit `accessibilityLabel`).
|
|
223
|
+
*/
|
|
224
|
+
export declare const fieldTextAsString: (value: React.ReactNode) => string | undefined;
|
|
212
225
|
/**
|
|
213
226
|
* The static label above a field, per the design spec: `field.label` ink,
|
|
214
227
|
* the size ladder's `labelFontSize`, semibold, `labelGap` below. It stays on
|
|
215
228
|
* that ink through focus and error (the ring and the message row carry the
|
|
216
|
-
* error). Shared by Select, PickerTrigger, NumberInput
|
|
217
|
-
*
|
|
229
|
+
* error). Shared by Input, Select, PickerTrigger, NumberInput. The label may
|
|
230
|
+
* be a string or a node, and `help` (a glossary button, say) is drawn right
|
|
231
|
+
* after it, centred on the label's line, as a sibling of the label text so it
|
|
232
|
+
* is neither part of the label's accessibility text nor able to shrink it.
|
|
218
233
|
*/
|
|
219
234
|
export declare const FieldLabel: React.FC<{
|
|
220
235
|
children: React.ReactNode;
|
|
221
236
|
size?: FieldBaseSize;
|
|
222
237
|
required?: boolean;
|
|
238
|
+
/** Drawn beside the label, after the required marker. */
|
|
239
|
+
help?: React.ReactNode;
|
|
240
|
+
/** Label ink; defaults to `colors.field.label`. */
|
|
241
|
+
color?: string;
|
|
223
242
|
style?: StyleProp<TextStyle>;
|
|
224
243
|
}>;
|
|
225
244
|
/**
|
|
226
245
|
* The helper / error line under a field: `messageFontSize`, `messageGap`
|
|
227
246
|
* from the box, `field.message` red with the circled-exclamation glyph when
|
|
228
|
-
* `error`, `text.secondary` otherwise.
|
|
247
|
+
* `error`, `text.secondary` otherwise. The text may be a string or a node.
|
|
248
|
+
* Renders nothing without text.
|
|
229
249
|
*/
|
|
230
250
|
export declare const FieldMessage: React.FC<{
|
|
231
|
-
text?:
|
|
251
|
+
text?: React.ReactNode;
|
|
232
252
|
error?: boolean;
|
|
233
253
|
size?: FieldBaseSize;
|
|
234
254
|
style?: StyleProp<TextStyle>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { FieldBaseProps, FieldBaseSize, FieldBaseVariant, FieldTextStyle, FieldTextStyleResolverOptions } from './FieldBase';
|
|
2
|
-
export { default, FieldBase, FieldErrorGlyph, FieldLabel, FieldMessage, RequiredMark, RequiredPlaceholder, resolveFieldSize, resolveFieldTextStyle } from './FieldBase';
|
|
2
|
+
export { default, FieldBase, FieldErrorGlyph, FieldLabel, FieldMessage, fieldTextAsString, hasFieldText, RequiredMark, RequiredPlaceholder, resolveFieldSize, resolveFieldTextStyle } from './FieldBase';
|
|
3
3
|
export type { UseFloatingLabelOptions, UseFloatingLabelResult } from './useFloatingLabel';
|
|
4
4
|
export { FLOATED_LABEL_SCALE, useFloatingLabel } from './useFloatingLabel';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,13 +13,15 @@
|
|
|
13
13
|
* wrapper that also holds FieldBase (position relative, overflow visible)
|
|
14
14
|
* and passes `topNotch` through.
|
|
15
15
|
*/
|
|
16
|
+
import type React from 'react';
|
|
16
17
|
import type { StyleProp, TextStyle } from 'react-native';
|
|
17
18
|
import type { ResolvedFieldSizeTokens } from '../../theme/types';
|
|
18
19
|
import type { FieldBaseProps, FieldBaseVariant } from './FieldBase';
|
|
19
20
|
/** The floated label's scale; the outlined notch is sized from it. */
|
|
20
21
|
export declare const FLOATED_LABEL_SCALE = 0.85;
|
|
21
22
|
export interface UseFloatingLabelOptions {
|
|
22
|
-
|
|
23
|
+
/** A string or a node; a node needs the field's explicit `accessibilityLabel`. */
|
|
24
|
+
label?: React.ReactNode;
|
|
23
25
|
/** Render at all (label present and the consumer's labelMode is 'float'). */
|
|
24
26
|
enabled: boolean;
|
|
25
27
|
/** Whether the label is up on the border right now (focused or holding a value). */
|