@spark-ui/components 17.2.1-beta.1 → 17.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/radio-group/index.js +1 -1
- package/dist/radio-group/index.js.map +1 -1
- package/dist/radio-group/index.mjs +129 -123
- package/dist/radio-group/index.mjs.map +1 -1
- package/dist/segmented-control/index.js +1 -1
- package/dist/segmented-control/index.js.map +1 -1
- package/dist/segmented-control/index.mjs +128 -116
- package/dist/segmented-control/index.mjs.map +1 -1
- package/package.json +4 -5
- package/dist/accordion/Accordion.d.ts +0 -27
- package/dist/accordion/AccordionItem.d.ts +0 -12
- package/dist/accordion/AccordionItemContent.d.ts +0 -12
- package/dist/accordion/AccordionItemHeader.d.ts +0 -9
- package/dist/accordion/AccordionItemTrigger.d.ts +0 -12
- package/dist/accordion/index.d.mts +0 -15
- package/dist/accordion/index.d.ts +0 -15
- package/dist/accordion/useRenderSlot.d.ts +0 -3
- package/dist/alert-dialog/AlertDialog.d.ts +0 -29
- package/dist/alert-dialog/AlertDialogAction.d.ts +0 -13
- package/dist/alert-dialog/AlertDialogBody.d.ts +0 -12
- package/dist/alert-dialog/AlertDialogCancel.d.ts +0 -13
- package/dist/alert-dialog/AlertDialogContent.d.ts +0 -9
- package/dist/alert-dialog/AlertDialogContext.d.ts +0 -12
- package/dist/alert-dialog/AlertDialogDescription.d.ts +0 -9
- package/dist/alert-dialog/AlertDialogFooter.d.ts +0 -10
- package/dist/alert-dialog/AlertDialogHeader.d.ts +0 -10
- package/dist/alert-dialog/AlertDialogOverlay.d.ts +0 -9
- package/dist/alert-dialog/AlertDialogPortal.d.ts +0 -7
- package/dist/alert-dialog/AlertDialogTitle.d.ts +0 -9
- package/dist/alert-dialog/AlertDialogTrigger.d.ts +0 -13
- package/dist/alert-dialog/index.d.mts +0 -38
- package/dist/alert-dialog/index.d.ts +0 -38
- package/dist/alert-dialog/useRenderSlot.d.ts +0 -3
- package/dist/avatar/Avatar.d.ts +0 -3
- package/dist/avatar/AvatarAction.d.ts +0 -9
- package/dist/avatar/AvatarImage.d.ts +0 -7
- package/dist/avatar/AvatarOnlineBadge.d.ts +0 -9
- package/dist/avatar/AvatarPlaceholder.d.ts +0 -8
- package/dist/avatar/AvatarUser.d.ts +0 -7
- package/dist/avatar/context.d.ts +0 -5
- package/dist/avatar/index.d.mts +0 -15
- package/dist/avatar/index.d.ts +0 -15
- package/dist/avatar/types.d.ts +0 -24
- package/dist/badge/Badge.d.ts +0 -9
- package/dist/badge/BadgeItem.d.ts +0 -31
- package/dist/badge/BadgeItem.styles.d.ts +0 -7
- package/dist/badge/index.d.mts +0 -1
- package/dist/badge/index.d.ts +0 -1
- package/dist/breadcrumb/Breadcrumb.d.ts +0 -10
- package/dist/breadcrumb/Breadcrumb.styles.d.ts +0 -0
- package/dist/breadcrumb/BreadcrumbCurrentPage.d.ts +0 -11
- package/dist/breadcrumb/BreadcrumbItem.d.ts +0 -9
- package/dist/breadcrumb/BreadcrumbLink.d.ts +0 -12
- package/dist/breadcrumb/BreadcrumbSeparator.d.ts +0 -10
- package/dist/breadcrumb/index.d.mts +0 -12
- package/dist/breadcrumb/index.d.ts +0 -12
- package/dist/button/Button.d.ts +0 -26
- package/dist/button/Button.styles.d.ts +0 -10
- package/dist/button/index.d.mts +0 -1
- package/dist/button/index.d.ts +0 -1
- package/dist/button/variants/contrast.d.ts +0 -41
- package/dist/button/variants/filled.d.ts +0 -41
- package/dist/button/variants/ghost.d.ts +0 -41
- package/dist/button/variants/index.d.mts +0 -5
- package/dist/button/variants/index.d.ts +0 -5
- package/dist/button/variants/outlined.d.ts +0 -41
- package/dist/button/variants/tinted.d.ts +0 -41
- package/dist/card/Backdrop.d.ts +0 -14
- package/dist/card/Card.d.ts +0 -16
- package/dist/card/Card.styles.d.ts +0 -7
- package/dist/card/Content.d.ts +0 -15
- package/dist/card/Content.styles.d.ts +0 -8
- package/dist/card/context.d.ts +0 -11
- package/dist/card/index.d.mts +0 -8
- package/dist/card/index.d.ts +0 -8
- package/dist/card/utils.d.ts +0 -3
- package/dist/carousel/Carousel.d.ts +0 -12
- package/dist/carousel/CarouselControls.d.ts +0 -9
- package/dist/carousel/CarouselNextButton.d.ts +0 -5
- package/dist/carousel/CarouselPageIndicator.d.ts +0 -14
- package/dist/carousel/CarouselPagePicker.d.ts +0 -14
- package/dist/carousel/CarouselPrevButton.d.ts +0 -5
- package/dist/carousel/CarouselSlide.d.ts +0 -12
- package/dist/carousel/CarouselSlides.d.ts +0 -10
- package/dist/carousel/CarouselViewport.d.ts +0 -9
- package/dist/carousel/index.d.mts +0 -19
- package/dist/carousel/index.d.ts +0 -19
- package/dist/carousel/types.d.ts +0 -165
- package/dist/carousel/useCarousel.d.ts +0 -2
- package/dist/carousel/useCarouselVisibility.d.ts +0 -13
- package/dist/carousel/useEvent.d.ts +0 -7
- package/dist/carousel/useIsMounted.d.ts +0 -1
- package/dist/carousel/useIsVisible.d.ts +0 -6
- package/dist/carousel/useResizeObserver.d.ts +0 -2
- package/dist/carousel/useScrollEnd.d.ts +0 -3
- package/dist/carousel/useSnapPoints.d.ts +0 -10
- package/dist/carousel/utils.d.ts +0 -24
- package/dist/checkbox/Checkbox.d.ts +0 -10
- package/dist/checkbox/CheckboxGroup.d.ts +0 -18
- package/dist/checkbox/CheckboxGroup.styles.d.ts +0 -5
- package/dist/checkbox/CheckboxGroupContext.d.ts +0 -41
- package/dist/checkbox/CheckboxIndicator.d.ts +0 -9
- package/dist/checkbox/CheckboxInput.d.ts +0 -47
- package/dist/checkbox/CheckboxInput.styles.d.ts +0 -5
- package/dist/checkbox/CheckboxLabel.d.ts +0 -12
- package/dist/checkbox/CheckboxLabel.styles.d.ts +0 -5
- package/dist/checkbox/index.d.mts +0 -2
- package/dist/checkbox/index.d.ts +0 -2
- package/dist/chip/Chip.d.ts +0 -34
- package/dist/chip/Chip.styles.d.ts +0 -8
- package/dist/chip/ChipClearButton.d.ts +0 -10
- package/dist/chip/ChipClearButton.styles.d.ts +0 -10
- package/dist/chip/ChipContent.d.ts +0 -8
- package/dist/chip/ChipIcon.d.ts +0 -8
- package/dist/chip/ChipLeadingIcon.d.ts +0 -9
- package/dist/chip/ChipTrailingIcon.d.ts +0 -9
- package/dist/chip/index.d.mts +0 -15
- package/dist/chip/index.d.ts +0 -15
- package/dist/chip/useChipContext.d.ts +0 -4
- package/dist/chip/useChipElement.d.ts +0 -41
- package/dist/chip/variants/dashed.d.ts +0 -45
- package/dist/chip/variants/index.d.mts +0 -3
- package/dist/chip/variants/index.d.ts +0 -3
- package/dist/chip/variants/outlined.d.ts +0 -45
- package/dist/chip/variants/tinted.d.ts +0 -45
- package/dist/circular-meter/CircularMeter.d.ts +0 -34
- package/dist/circular-meter/CircularMeter.styles.d.ts +0 -5
- package/dist/circular-meter/CircularMeterContent.d.ts +0 -6
- package/dist/circular-meter/CircularMeterContext.d.ts +0 -36
- package/dist/circular-meter/CircularMeterLabel.d.ts +0 -7
- package/dist/circular-meter/CircularMeterTrack.d.ts +0 -8
- package/dist/circular-meter/CircularMeterValue.d.ts +0 -7
- package/dist/circular-meter/index.d.mts +0 -16
- package/dist/circular-meter/index.d.ts +0 -16
- package/dist/circular-meter/useIntersectionAnimation.d.ts +0 -26
- package/dist/collapsible/Content.d.ts +0 -12
- package/dist/collapsible/Root.d.ts +0 -12
- package/dist/collapsible/Trigger.d.ts +0 -11
- package/dist/collapsible/index.d.mts +0 -7
- package/dist/collapsible/index.d.ts +0 -7
- package/dist/collapsible/useRenderSlot.d.ts +0 -3
- package/dist/combobox/Combobox.d.ts +0 -6
- package/dist/combobox/ComboboxClearButton.d.ts +0 -9
- package/dist/combobox/ComboboxContext.d.ts +0 -108
- package/dist/combobox/ComboboxDisclosure.d.ts +0 -13
- package/dist/combobox/ComboboxEmpty.d.ts +0 -11
- package/dist/combobox/ComboboxGroup.d.ts +0 -11
- package/dist/combobox/ComboboxInput.d.ts +0 -15
- package/dist/combobox/ComboboxItem.d.ts +0 -12
- package/dist/combobox/ComboboxItemContext.d.ts +0 -17
- package/dist/combobox/ComboboxItemIndicator.d.ts +0 -11
- package/dist/combobox/ComboboxItemText.d.ts +0 -10
- package/dist/combobox/ComboboxItems.d.ts +0 -11
- package/dist/combobox/ComboboxItemsGroupContext.d.ts +0 -8
- package/dist/combobox/ComboboxLabel.d.ts +0 -11
- package/dist/combobox/ComboboxLeadingIcon.d.ts +0 -7
- package/dist/combobox/ComboboxPopover.d.ts +0 -10
- package/dist/combobox/ComboboxPortal.d.ts +0 -2
- package/dist/combobox/ComboboxSelectedItems.d.ts +0 -4
- package/dist/combobox/ComboboxTrigger.d.ts +0 -11
- package/dist/combobox/ComboboxTrigger.styles.d.ts +0 -6
- package/dist/combobox/index.d.mts +0 -35
- package/dist/combobox/index.d.ts +0 -35
- package/dist/combobox/tests/test-utils.d.ts +0 -8
- package/dist/combobox/types.d.ts +0 -8
- package/dist/combobox/useCombobox/multipleSelectionReducer.d.ts +0 -13
- package/dist/combobox/useCombobox/singleSelectionReducer.d.ts +0 -8
- package/dist/combobox/utils/index.d.mts +0 -14
- package/dist/combobox/utils/index.d.ts +0 -14
- package/dist/combobox/utils/useWidthIncreaseCallback.d.ts +0 -2
- package/dist/dialog/Dialog.d.ts +0 -33
- package/dist/dialog/DialogBody.d.ts +0 -12
- package/dist/dialog/DialogClose.d.ts +0 -10
- package/dist/dialog/DialogCloseButton.d.ts +0 -9
- package/dist/dialog/DialogContent.d.ts +0 -14
- package/dist/dialog/DialogContent.styles.d.ts +0 -6
- package/dist/dialog/DialogContext.d.ts +0 -11
- package/dist/dialog/DialogDescription.d.ts +0 -9
- package/dist/dialog/DialogFooter.d.ts +0 -10
- package/dist/dialog/DialogHeader.d.ts +0 -10
- package/dist/dialog/DialogOverlay.d.ts +0 -9
- package/dist/dialog/DialogPortal.d.ts +0 -7
- package/dist/dialog/DialogTitle.d.ts +0 -9
- package/dist/dialog/DialogTrigger.d.ts +0 -13
- package/dist/dialog/index.d.mts +0 -37
- package/dist/dialog/index.d.ts +0 -37
- package/dist/divider/Divider.d.ts +0 -30
- package/dist/divider/Divider.styles.d.ts +0 -9
- package/dist/divider/DividerContent.d.ts +0 -13
- package/dist/divider/index.d.mts +0 -6
- package/dist/divider/index.d.ts +0 -6
- package/dist/divider/variants/intents.d.ts +0 -17
- package/dist/drawer/Drawer.d.ts +0 -32
- package/dist/drawer/DrawerBody.d.ts +0 -11
- package/dist/drawer/DrawerBody.styles.d.ts +0 -5
- package/dist/drawer/DrawerClose.d.ts +0 -13
- package/dist/drawer/DrawerCloseButton.d.ts +0 -7
- package/dist/drawer/DrawerContent.d.ts +0 -10
- package/dist/drawer/DrawerContent.styles.d.ts +0 -6
- package/dist/drawer/DrawerContext.d.ts +0 -9
- package/dist/drawer/DrawerDescription.d.ts +0 -9
- package/dist/drawer/DrawerFooter.d.ts +0 -8
- package/dist/drawer/DrawerHeader.d.ts +0 -10
- package/dist/drawer/DrawerOverlay.d.ts +0 -9
- package/dist/drawer/DrawerPortal.d.ts +0 -7
- package/dist/drawer/DrawerTitle.d.ts +0 -9
- package/dist/drawer/DrawerTrigger.d.ts +0 -13
- package/dist/drawer/index.d.mts +0 -37
- package/dist/drawer/index.d.ts +0 -37
- package/dist/drawer/useRenderSlot.d.ts +0 -3
- package/dist/dropdown/Dropdown.d.ts +0 -6
- package/dist/dropdown/DropdownContext.d.ts +0 -81
- package/dist/dropdown/DropdownDivider.d.ts +0 -10
- package/dist/dropdown/DropdownGroup.d.ts +0 -11
- package/dist/dropdown/DropdownItem.d.ts +0 -12
- package/dist/dropdown/DropdownItemContext.d.ts +0 -17
- package/dist/dropdown/DropdownItemIndicator.d.ts +0 -11
- package/dist/dropdown/DropdownItemText.d.ts +0 -9
- package/dist/dropdown/DropdownItems.d.ts +0 -21
- package/dist/dropdown/DropdownItemsGroupContext.d.ts +0 -8
- package/dist/dropdown/DropdownLabel.d.ts +0 -11
- package/dist/dropdown/DropdownLeadingIcon.d.ts +0 -7
- package/dist/dropdown/DropdownPopover.d.ts +0 -6
- package/dist/dropdown/DropdownPortal.d.ts +0 -2
- package/dist/dropdown/DropdownTrigger.d.ts +0 -12
- package/dist/dropdown/DropdownTrigger.styles.d.ts +0 -5
- package/dist/dropdown/DropdownValue.d.ts +0 -11
- package/dist/dropdown/index.d.mts +0 -29
- package/dist/dropdown/index.d.ts +0 -29
- package/dist/dropdown/types.d.ts +0 -8
- package/dist/dropdown/useDropdown.d.ts +0 -41
- package/dist/dropdown/utils.d.ts +0 -13
- package/dist/file-upload/FileUpload.d.ts +0 -130
- package/dist/file-upload/FileUploadAcceptedFile.d.ts +0 -25
- package/dist/file-upload/FileUploadContext.d.ts +0 -17
- package/dist/file-upload/FileUploadDropzone.d.ts +0 -10
- package/dist/file-upload/FileUploadItemDeleteTrigger.d.ts +0 -11
- package/dist/file-upload/FileUploadPreviewImage.d.ts +0 -17
- package/dist/file-upload/FileUploadRejectedFile.d.ts +0 -24
- package/dist/file-upload/FileUploadRejectedFileDeleteTrigger.d.ts +0 -12
- package/dist/file-upload/FileUploadTrigger.d.ts +0 -12
- package/dist/file-upload/constants.d.ts +0 -29
- package/dist/file-upload/index.d.mts +0 -22
- package/dist/file-upload/index.d.ts +0 -22
- package/dist/file-upload/test-utils.d.ts +0 -9
- package/dist/file-upload/useFileUploadState.d.ts +0 -88
- package/dist/file-upload/utils.d.ts +0 -40
- package/dist/form-field/FormField.d.ts +0 -21
- package/dist/form-field/FormFieldAlertMessage.d.ts +0 -9
- package/dist/form-field/FormFieldCharactersCount.d.ts +0 -26
- package/dist/form-field/FormFieldContext.d.ts +0 -49
- package/dist/form-field/FormFieldControl.d.ts +0 -12
- package/dist/form-field/FormFieldErrorMessage.d.ts +0 -9
- package/dist/form-field/FormFieldHelperMessage.d.ts +0 -9
- package/dist/form-field/FormFieldLabel.d.ts +0 -13
- package/dist/form-field/FormFieldMessage.d.ts +0 -8
- package/dist/form-field/FormFieldProvider.d.ts +0 -9
- package/dist/form-field/FormFieldRequiredIndicator.d.ts +0 -9
- package/dist/form-field/FormFieldStateMessage.d.ts +0 -10
- package/dist/form-field/FormFieldSuccessMessage.d.ts +0 -9
- package/dist/form-field/index.d.mts +0 -31
- package/dist/form-field/index.d.ts +0 -31
- package/dist/icon/Icon.d.ts +0 -17
- package/dist/icon/Icon.styles.d.ts +0 -6
- package/dist/icon/index.d.mts +0 -1
- package/dist/icon/index.d.ts +0 -1
- package/dist/icon-button/IconButton.d.ts +0 -10
- package/dist/icon-button/IconButton.styles.d.ts +0 -5
- package/dist/icon-button/index.d.mts +0 -1
- package/dist/icon-button/index.d.ts +0 -1
- package/dist/input/Input.d.ts +0 -14
- package/dist/input/Input.styles.d.ts +0 -11
- package/dist/input/InputAddon.d.ts +0 -9
- package/dist/input/InputAddon.styles.d.ts +0 -9
- package/dist/input/InputClearButton.d.ts +0 -12
- package/dist/input/InputGroup.d.ts +0 -17
- package/dist/input/InputGroup.styles.d.ts +0 -6
- package/dist/input/InputGroupContext.d.ts +0 -14
- package/dist/input/InputIcon.d.ts +0 -6
- package/dist/input/InputLeadingAddon.d.ts +0 -11
- package/dist/input/InputLeadingIcon.d.ts +0 -7
- package/dist/input/InputTrailingAddon.d.ts +0 -11
- package/dist/input/InputTrailingIcon.d.ts +0 -7
- package/dist/input/index.d.mts +0 -21
- package/dist/input/index.d.ts +0 -21
- package/dist/input-otp/InputOTP.d.ts +0 -90
- package/dist/input-otp/InputOTP.styles.d.ts +0 -10
- package/dist/input-otp/InputOTPContext.d.ts +0 -17
- package/dist/input-otp/InputOTPGroup.d.ts +0 -7
- package/dist/input-otp/InputOTPSeparator.d.ts +0 -7
- package/dist/input-otp/InputOTPSlot.d.ts +0 -12
- package/dist/input-otp/index.d.mts +0 -14
- package/dist/input-otp/index.d.ts +0 -14
- package/dist/input-otp/useInputOTP.d.ts +0 -48
- package/dist/kbd/Kbd.d.ts +0 -5
- package/dist/kbd/index.d.mts +0 -1
- package/dist/kbd/index.d.ts +0 -1
- package/dist/label/Label.d.ts +0 -9
- package/dist/label/LabelRequiredIndicator.d.ts +0 -6
- package/dist/label/index.d.mts +0 -7
- package/dist/label/index.d.ts +0 -7
- package/dist/link-box/LinkBox.d.ts +0 -8
- package/dist/link-box/LinkBoxLink.d.ts +0 -8
- package/dist/link-box/LinkBoxRaised.d.ts +0 -9
- package/dist/link-box/index.d.mts +0 -9
- package/dist/link-box/index.d.ts +0 -9
- package/dist/meter/Meter.d.ts +0 -18
- package/dist/meter/MeterContext.d.ts +0 -12
- package/dist/meter/MeterLabel.d.ts +0 -7
- package/dist/meter/MeterTrack.d.ts +0 -7
- package/dist/meter/MeterTrack.styles.d.ts +0 -8
- package/dist/meter/MeterValue.d.ts +0 -9
- package/dist/meter/index.d.mts +0 -13
- package/dist/meter/index.d.ts +0 -13
- package/dist/meter/useIntersectionAnimation.d.ts +0 -26
- package/dist/pagination/Pagination.d.ts +0 -8
- package/dist/pagination/PaginationContext.d.ts +0 -43
- package/dist/pagination/PaginationEllipsis.d.ts +0 -9
- package/dist/pagination/PaginationFirstPageTrigger.d.ts +0 -22
- package/dist/pagination/PaginationItem.d.ts +0 -31
- package/dist/pagination/PaginationLastPageTrigger.d.ts +0 -22
- package/dist/pagination/PaginationNextTrigger.d.ts +0 -22
- package/dist/pagination/PaginationPages.d.ts +0 -16
- package/dist/pagination/PaginationPrevTrigger.d.ts +0 -22
- package/dist/pagination/index.d.mts +0 -18
- package/dist/pagination/index.d.ts +0 -18
- package/dist/pagination/utils.d.ts +0 -1
- package/dist/popover/Popover.d.ts +0 -9
- package/dist/popover/PopoverAnchor.d.ts +0 -9
- package/dist/popover/PopoverArrow.d.ts +0 -9
- package/dist/popover/PopoverCloseButton.d.ts +0 -10
- package/dist/popover/PopoverContent.d.ts +0 -10
- package/dist/popover/PopoverContent.styles.d.ts +0 -9
- package/dist/popover/PopoverContext.d.ts +0 -15
- package/dist/popover/PopoverHeader.d.ts +0 -10
- package/dist/popover/PopoverPortal.d.ts +0 -7
- package/dist/popover/PopoverTrigger.d.ts +0 -9
- package/dist/popover/index.d.mts +0 -17
- package/dist/popover/index.d.ts +0 -17
- package/dist/portal/Portal.d.ts +0 -10
- package/dist/portal/index.d.mts +0 -1
- package/dist/portal/index.d.ts +0 -1
- package/dist/progress/Progress.d.ts +0 -24
- package/dist/progress/ProgressContext.d.ts +0 -13
- package/dist/progress/ProgressIndicator.d.ts +0 -13
- package/dist/progress/ProgressLabel.d.ts +0 -7
- package/dist/progress/ProgressTrack.d.ts +0 -7
- package/dist/progress/ProgressValue.d.ts +0 -7
- package/dist/progress/index.d.mts +0 -13
- package/dist/progress/index.d.ts +0 -13
- package/dist/progress-tracker/ProgressTracker.d.ts +0 -27
- package/dist/progress-tracker/ProgressTracker.styles.d.ts +0 -1
- package/dist/progress-tracker/ProgressTrackerContext.d.ts +0 -15
- package/dist/progress-tracker/ProgressTrackerStep.d.ts +0 -12
- package/dist/progress-tracker/ProgressTrackerStep.styles.d.ts +0 -10
- package/dist/progress-tracker/ProgressTrackerStepIndicator.d.ts +0 -15
- package/dist/progress-tracker/ProgressTrackerStepIndicator.styles.d.ts +0 -7
- package/dist/progress-tracker/ProgressTrackerStepLabel.d.ts +0 -9
- package/dist/progress-tracker/index.d.mts +0 -10
- package/dist/progress-tracker/index.d.ts +0 -10
- package/dist/radio-group/Radio.d.ts +0 -9
- package/dist/radio-group/RadioGroup.d.ts +0 -50
- package/dist/radio-group/RadioGroup.styles.d.ts +0 -5
- package/dist/radio-group/RadioGroupContext.d.ts +0 -5
- package/dist/radio-group/RadioGroupProvider.d.ts +0 -7
- package/dist/radio-group/RadioIndicator.d.ts +0 -15
- package/dist/radio-group/RadioIndicator.styles.d.ts +0 -5
- package/dist/radio-group/RadioInput.d.ts +0 -37
- package/dist/radio-group/RadioInput.styles.d.ts +0 -5
- package/dist/radio-group/index.d.mts +0 -7
- package/dist/radio-group/index.d.ts +0 -7
- package/dist/rating/Rating.d.ts +0 -57
- package/dist/rating/RatingStar.d.ts +0 -19
- package/dist/rating/RatingStar.styles.d.ts +0 -14
- package/dist/rating/index.d.mts +0 -1
- package/dist/rating/index.d.ts +0 -1
- package/dist/rating/types.d.ts +0 -2
- package/dist/rating/utils.d.ts +0 -7
- package/dist/rating-display/RatingDisplay.d.ts +0 -31
- package/dist/rating-display/RatingDisplayContext.d.ts +0 -12
- package/dist/rating-display/RatingDisplayCount.d.ts +0 -12
- package/dist/rating-display/RatingDisplayStar.d.ts +0 -16
- package/dist/rating-display/RatingDisplayStars.d.ts +0 -22
- package/dist/rating-display/RatingDisplayValue.d.ts +0 -13
- package/dist/rating-display/index.d.mts +0 -14
- package/dist/rating-display/index.d.ts +0 -14
- package/dist/rating-display/types.d.ts +0 -1
- package/dist/rating-display/utils.d.ts +0 -10
- package/dist/scrolling-list/ScrollingList.d.ts +0 -57
- package/dist/scrolling-list/ScrollingListControls.d.ts +0 -18
- package/dist/scrolling-list/ScrollingListItem.d.ts +0 -17
- package/dist/scrolling-list/ScrollingListItems.d.ts +0 -11
- package/dist/scrolling-list/ScrollingListNextButton.d.ts +0 -5
- package/dist/scrolling-list/ScrollingListPrevButton.d.ts +0 -5
- package/dist/scrolling-list/ScrollingListSkipButton.d.ts +0 -9
- package/dist/scrolling-list/index.d.mts +0 -15
- package/dist/scrolling-list/index.d.ts +0 -15
- package/dist/scrolling-list/useFocusWithinScroll.d.ts +0 -3
- package/dist/segmented-control/SegmentedControl.d.ts +0 -22
- package/dist/segmented-control/SegmentedControl.styles.d.ts +0 -5
- package/dist/segmented-control/SegmentedControlContext.d.ts +0 -7
- package/dist/segmented-control/SegmentedControlIndicator.d.ts +0 -8
- package/dist/segmented-control/SegmentedControlItem.d.ts +0 -18
- package/dist/segmented-control/index.d.mts +0 -10
- package/dist/segmented-control/index.d.ts +0 -10
- package/dist/segmented-gauge/SegmentedGauge.d.ts +0 -66
- package/dist/segmented-gauge/SegmentedGaugeContext.d.ts +0 -14
- package/dist/segmented-gauge/SegmentedGaugeLabel.d.ts +0 -9
- package/dist/segmented-gauge/SegmentedGaugeSegment.d.ts +0 -12
- package/dist/segmented-gauge/SegmentedGaugeTrack.d.ts +0 -8
- package/dist/segmented-gauge/index.d.mts +0 -13
- package/dist/segmented-gauge/index.d.ts +0 -13
- package/dist/select/Select.d.ts +0 -6
- package/dist/select/SelectContext.d.ts +0 -59
- package/dist/select/SelectGroup.d.ts +0 -11
- package/dist/select/SelectItem.d.ts +0 -11
- package/dist/select/SelectItems.d.ts +0 -10
- package/dist/select/SelectItemsGroupContext.d.ts +0 -9
- package/dist/select/SelectLabel.d.ts +0 -8
- package/dist/select/SelectLeadingIcon.d.ts +0 -7
- package/dist/select/SelectPlaceholder.d.ts +0 -10
- package/dist/select/SelectTrigger.d.ts +0 -16
- package/dist/select/SelectTrigger.styles.d.ts +0 -5
- package/dist/select/SelectValue.d.ts +0 -15
- package/dist/select/index.d.mts +0 -21
- package/dist/select/index.d.ts +0 -21
- package/dist/select/types.d.ts +0 -6
- package/dist/select/utils.d.ts +0 -4
- package/dist/skeleton/Skeleton.d.ts +0 -17
- package/dist/skeleton/Skeleton.styles.d.ts +0 -5
- package/dist/skeleton/SkeletonItem.d.ts +0 -31
- package/dist/skeleton/SkeletonItem.styles.d.ts +0 -8
- package/dist/skeleton/index.d.mts +0 -8
- package/dist/skeleton/index.d.ts +0 -8
- package/dist/slider/Slider.d.ts +0 -55
- package/dist/slider/Slider.styles.d.ts +0 -1
- package/dist/slider/SliderContext.d.ts +0 -13
- package/dist/slider/SliderControl.d.ts +0 -7
- package/dist/slider/SliderIndicator.d.ts +0 -7
- package/dist/slider/SliderLabel.d.ts +0 -13
- package/dist/slider/SliderMaxValue.d.ts +0 -6
- package/dist/slider/SliderMinValue.d.ts +0 -6
- package/dist/slider/SliderThumb.d.ts +0 -7
- package/dist/slider/SliderThumb.styles.d.ts +0 -5
- package/dist/slider/SliderThumbContext.d.ts +0 -5
- package/dist/slider/SliderTrack.d.ts +0 -7
- package/dist/slider/SliderTrack.styles.d.ts +0 -6
- package/dist/slider/SliderValue.d.ts +0 -12
- package/dist/slider/index.d.mts +0 -20
- package/dist/slider/index.d.ts +0 -20
- package/dist/slider/useSliderValueBoundaries.d.ts +0 -12
- package/dist/slot/Slot.d.ts +0 -12
- package/dist/slot/index.d.mts +0 -1
- package/dist/slot/index.d.ts +0 -1
- package/dist/snackbar/Snackbar.d.ts +0 -29
- package/dist/snackbar/SnackbarItem.d.ts +0 -49
- package/dist/snackbar/SnackbarItem.styles.d.ts +0 -10
- package/dist/snackbar/SnackbarItemAction.d.ts +0 -10
- package/dist/snackbar/SnackbarItemClose.d.ts +0 -9
- package/dist/snackbar/SnackbarItemContext.d.ts +0 -8
- package/dist/snackbar/SnackbarItemIcon.d.ts +0 -7
- package/dist/snackbar/SnackbarRegion.d.ts +0 -30
- package/dist/snackbar/SnackbarRegion.styles.d.ts +0 -5
- package/dist/snackbar/index.d.mts +0 -13
- package/dist/snackbar/index.d.ts +0 -13
- package/dist/snackbar/snackbarVariants.d.ts +0 -74
- package/dist/snackbar/useSnackbarGlobalStore.d.ts +0 -18
- package/dist/snackbar/useSwipe.d.ts +0 -15
- package/dist/spinner/Spinner.d.ts +0 -9
- package/dist/spinner/Spinner.styles.d.ts +0 -7
- package/dist/spinner/index.d.mts +0 -1
- package/dist/spinner/index.d.ts +0 -1
- package/dist/stepper/Stepper.d.ts +0 -9
- package/dist/stepper/StepperButton.d.ts +0 -14
- package/dist/stepper/StepperInput.d.ts +0 -7
- package/dist/stepper/index.d.mts +0 -9
- package/dist/stepper/index.d.ts +0 -9
- package/dist/stepper/types.d.ts +0 -46
- package/dist/stepper/useStepper.d.ts +0 -2
- package/dist/switch/Switch.d.ts +0 -6
- package/dist/switch/SwitchInput.d.ts +0 -53
- package/dist/switch/SwitchInput.styles.d.ts +0 -16
- package/dist/switch/SwitchLabel.d.ts +0 -17
- package/dist/switch/SwitchLabel.styles.d.ts +0 -5
- package/dist/switch/index.d.mts +0 -1
- package/dist/switch/index.d.ts +0 -1
- package/dist/tabs/Tabs.d.ts +0 -24
- package/dist/tabs/TabsContent.d.ts +0 -22
- package/dist/tabs/TabsContent.styles.d.ts +0 -3
- package/dist/tabs/TabsContext.d.ts +0 -7
- package/dist/tabs/TabsList.d.ts +0 -20
- package/dist/tabs/TabsList.styles.d.ts +0 -3
- package/dist/tabs/TabsPopover.d.ts +0 -29
- package/dist/tabs/TabsPopoverAbstraction.d.ts +0 -27
- package/dist/tabs/TabsRoot.styles.d.ts +0 -1
- package/dist/tabs/TabsTrigger.d.ts +0 -41
- package/dist/tabs/TabsTrigger.styles.d.ts +0 -8
- package/dist/tabs/index.d.mts +0 -13
- package/dist/tabs/index.d.ts +0 -13
- package/dist/tabs/useRenderSlot.d.ts +0 -1
- package/dist/tabs/useResizeObserver.d.ts +0 -8
- package/dist/tag/Tag.d.ts +0 -17
- package/dist/tag/Tag.styles.d.ts +0 -8
- package/dist/tag/index.d.mts +0 -1
- package/dist/tag/index.d.ts +0 -1
- package/dist/tag/variants/filled.d.ts +0 -37
- package/dist/tag/variants/index.d.mts +0 -3
- package/dist/tag/variants/index.d.ts +0 -3
- package/dist/tag/variants/outlined.d.ts +0 -33
- package/dist/tag/variants/tinted.d.ts +0 -33
- package/dist/text-link/TextLink.d.ts +0 -16
- package/dist/text-link/index.d.mts +0 -1
- package/dist/text-link/index.d.ts +0 -1
- package/dist/textarea/Textarea.d.ts +0 -14
- package/dist/textarea/TextareaClearButton.d.ts +0 -10
- package/dist/textarea/TextareaGroup.d.ts +0 -6
- package/dist/textarea/TextareaLeadingIcon.d.ts +0 -7
- package/dist/textarea/TextareaTrailingIcon.d.ts +0 -7
- package/dist/textarea/index.d.mts +0 -14
- package/dist/textarea/index.d.ts +0 -14
- package/dist/toast/Toast.d.ts +0 -4
- package/dist/toast/Toast.styles.d.ts +0 -10
- package/dist/toast/index.d.mts +0 -20
- package/dist/toast/index.d.ts +0 -20
- package/dist/toast/types.d.ts +0 -44
- package/dist/toast/useRenderSlot.d.ts +0 -3
- package/dist/toast/useToastManager.d.ts +0 -2
- package/dist/visually-hidden/VisuallyHidden.d.ts +0 -12
- package/dist/visually-hidden/index.d.mts +0 -1
- package/dist/visually-hidden/index.d.ts +0 -1
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'react';
|
|
2
|
-
interface DividerProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
ref?: Ref<HTMLDivElement>;
|
|
5
|
-
}
|
|
6
|
-
export declare const Divider: {
|
|
7
|
-
({ className, ref: forwardedRef }: DividerProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
10
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactNode, Ref } from 'react';
|
|
2
|
-
interface GroupProps {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
ref?: Ref<HTMLDivElement>;
|
|
6
|
-
}
|
|
7
|
-
export declare const Group: {
|
|
8
|
-
({ children, ref: forwardedRef, ...props }: GroupProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
11
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, ReactNode, Ref } from 'react';
|
|
2
|
-
export interface ItemProps extends HTMLAttributes<HTMLLIElement> {
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
value: string;
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
ref?: Ref<HTMLLIElement>;
|
|
8
|
-
}
|
|
9
|
-
export declare const Item: {
|
|
10
|
-
({ children, ref: forwardedRef, ...props }: ItemProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Dispatch, PropsWithChildren, SetStateAction } from 'react';
|
|
2
|
-
import { DropdownItem } from './types';
|
|
3
|
-
type ItemTextId = string | undefined;
|
|
4
|
-
interface DropdownItemContextState {
|
|
5
|
-
textId: ItemTextId;
|
|
6
|
-
setTextId: Dispatch<SetStateAction<ItemTextId>>;
|
|
7
|
-
isSelected: boolean;
|
|
8
|
-
itemData: DropdownItem;
|
|
9
|
-
index: number;
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const DropdownItemProvider: ({ value, disabled, children, }: PropsWithChildren<{
|
|
13
|
-
value: string;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
}>) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export declare const useDropdownItemContext: () => DropdownItemContextState;
|
|
17
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactNode, Ref } from 'react';
|
|
2
|
-
export interface ItemIndicatorProps {
|
|
3
|
-
children?: ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
label?: string;
|
|
6
|
-
ref?: Ref<HTMLSpanElement>;
|
|
7
|
-
}
|
|
8
|
-
export declare const ItemIndicator: {
|
|
9
|
-
({ className, children, label, ref: forwardedRef, }: ItemIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'react';
|
|
2
|
-
export interface ItemTextProps {
|
|
3
|
-
children: string;
|
|
4
|
-
ref?: Ref<HTMLSpanElement>;
|
|
5
|
-
}
|
|
6
|
-
export declare const ItemText: {
|
|
7
|
-
({ children, ref: forwardedRef }: ItemTextProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ReactNode, Ref } from 'react';
|
|
2
|
-
interface ItemsProps {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
ref?: Ref<HTMLUListElement>;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* BUGFIX
|
|
9
|
-
*
|
|
10
|
-
* 1. The !pointer-events-auto class is needed to prevent a bug
|
|
11
|
-
* which cannot be reproduced when running Storybook locally,
|
|
12
|
-
* in scenarios such as when a Dropdown is nested within a Dialog,
|
|
13
|
-
* the "props" object, containing styles computed by Radix
|
|
14
|
-
* may erroneously contain "pointerEvents = 'none'", while the Dropdown is open,
|
|
15
|
-
* making it impossible to select a value using a pointer device
|
|
16
|
-
*/
|
|
17
|
-
export declare const Items: {
|
|
18
|
-
({ children, className, ref: forwardedRef, ...props }: ItemsProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
displayName: string;
|
|
20
|
-
};
|
|
21
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
export interface DropdownContextState {
|
|
3
|
-
labelId: string;
|
|
4
|
-
}
|
|
5
|
-
type DropdownContextProps = PropsWithChildren;
|
|
6
|
-
export declare const DropdownGroupProvider: ({ children }: DropdownContextProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare const useDropdownGroupContext: () => DropdownContextState;
|
|
8
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'react';
|
|
2
|
-
interface LabelProps {
|
|
3
|
-
children: string;
|
|
4
|
-
className?: string;
|
|
5
|
-
ref?: Ref<HTMLDivElement>;
|
|
6
|
-
}
|
|
7
|
-
export declare const Label: {
|
|
8
|
-
({ children, className, ref: forwardedRef }: LabelProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
11
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
2
|
-
import { Popover as SparkPopover } from '../popover';
|
|
3
|
-
export declare const Popover: {
|
|
4
|
-
({ children, matchTriggerWidth, sideOffset, className, elevation, ref: forwardedRef, ...props }: ComponentProps<typeof SparkPopover.Content>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
displayName: string;
|
|
6
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode, Ref } from 'react';
|
|
2
|
-
interface TriggerProps {
|
|
3
|
-
'aria-label'?: string;
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
ref?: Ref<HTMLButtonElement>;
|
|
7
|
-
}
|
|
8
|
-
export declare const Trigger: {
|
|
9
|
-
({ "aria-label": ariaLabel, children, className, ref: forwardedRef, }: TriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
12
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const styles: (props?: ({
|
|
2
|
-
state?: "undefined" | "alert" | "error" | "success" | null | undefined;
|
|
3
|
-
disabled?: boolean | null | undefined;
|
|
4
|
-
readOnly?: boolean | null | undefined;
|
|
5
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactNode, Ref } from 'react';
|
|
2
|
-
export interface ValueProps {
|
|
3
|
-
children?: ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
placeholder: string;
|
|
6
|
-
ref?: Ref<HTMLSpanElement>;
|
|
7
|
-
}
|
|
8
|
-
export declare const Value: {
|
|
9
|
-
({ children, className, placeholder, ref: forwardedRef }: ValueProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Dropdown as Root } from './Dropdown';
|
|
2
|
-
import { DropdownProvider, useDropdownContext } from './DropdownContext';
|
|
3
|
-
import { Divider } from './DropdownDivider';
|
|
4
|
-
import { Group } from './DropdownGroup';
|
|
5
|
-
import { Item } from './DropdownItem';
|
|
6
|
-
import { ItemIndicator } from './DropdownItemIndicator';
|
|
7
|
-
import { Items } from './DropdownItems';
|
|
8
|
-
import { ItemText } from './DropdownItemText';
|
|
9
|
-
import { Label } from './DropdownLabel';
|
|
10
|
-
import { LeadingIcon } from './DropdownLeadingIcon';
|
|
11
|
-
import { Popover } from './DropdownPopover';
|
|
12
|
-
import { Portal } from './DropdownPortal';
|
|
13
|
-
import { Trigger } from './DropdownTrigger';
|
|
14
|
-
import { Value } from './DropdownValue';
|
|
15
|
-
export { useDropdownContext, DropdownProvider };
|
|
16
|
-
export declare const Dropdown: typeof Root & {
|
|
17
|
-
Group: typeof Group;
|
|
18
|
-
Item: typeof Item;
|
|
19
|
-
Items: typeof Items;
|
|
20
|
-
ItemText: typeof ItemText;
|
|
21
|
-
ItemIndicator: typeof ItemIndicator;
|
|
22
|
-
Label: typeof Label;
|
|
23
|
-
Popover: typeof Popover;
|
|
24
|
-
Divider: typeof Divider;
|
|
25
|
-
Trigger: typeof Trigger;
|
|
26
|
-
Value: typeof Value;
|
|
27
|
-
LeadingIcon: typeof LeadingIcon;
|
|
28
|
-
Portal: typeof Portal;
|
|
29
|
-
};
|
package/dist/dropdown/index.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Dropdown as Root } from './Dropdown';
|
|
2
|
-
import { DropdownProvider, useDropdownContext } from './DropdownContext';
|
|
3
|
-
import { Divider } from './DropdownDivider';
|
|
4
|
-
import { Group } from './DropdownGroup';
|
|
5
|
-
import { Item } from './DropdownItem';
|
|
6
|
-
import { ItemIndicator } from './DropdownItemIndicator';
|
|
7
|
-
import { Items } from './DropdownItems';
|
|
8
|
-
import { ItemText } from './DropdownItemText';
|
|
9
|
-
import { Label } from './DropdownLabel';
|
|
10
|
-
import { LeadingIcon } from './DropdownLeadingIcon';
|
|
11
|
-
import { Popover } from './DropdownPopover';
|
|
12
|
-
import { Portal } from './DropdownPortal';
|
|
13
|
-
import { Trigger } from './DropdownTrigger';
|
|
14
|
-
import { Value } from './DropdownValue';
|
|
15
|
-
export { useDropdownContext, DropdownProvider };
|
|
16
|
-
export declare const Dropdown: typeof Root & {
|
|
17
|
-
Group: typeof Group;
|
|
18
|
-
Item: typeof Item;
|
|
19
|
-
Items: typeof Items;
|
|
20
|
-
ItemText: typeof ItemText;
|
|
21
|
-
ItemIndicator: typeof ItemIndicator;
|
|
22
|
-
Label: typeof Label;
|
|
23
|
-
Popover: typeof Popover;
|
|
24
|
-
Divider: typeof Divider;
|
|
25
|
-
Trigger: typeof Trigger;
|
|
26
|
-
Value: typeof Value;
|
|
27
|
-
LeadingIcon: typeof LeadingIcon;
|
|
28
|
-
Portal: typeof Portal;
|
|
29
|
-
};
|
package/dist/dropdown/types.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { UseMultipleSelectionReturnValue, UseSelectReturnValue } from 'downshift';
|
|
2
|
-
export interface DropdownItem {
|
|
3
|
-
disabled: boolean;
|
|
4
|
-
value: string;
|
|
5
|
-
text: string;
|
|
6
|
-
}
|
|
7
|
-
export type ItemsMap = Map<string, DropdownItem>;
|
|
8
|
-
export type DownshiftState = UseSelectReturnValue<DropdownItem> & UseMultipleSelectionReturnValue<DropdownItem>;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { DropdownItem, ItemsMap } from './types';
|
|
2
|
-
export interface DownshiftProps {
|
|
3
|
-
itemsMap: ItemsMap;
|
|
4
|
-
value: string | string[] | undefined;
|
|
5
|
-
defaultValue: string | string[] | undefined;
|
|
6
|
-
onValueChange: ((value: string) => void) | ((value: string[]) => void) | undefined;
|
|
7
|
-
open: boolean | undefined;
|
|
8
|
-
onOpenChange: ((isOpen: boolean) => void) | undefined;
|
|
9
|
-
defaultOpen: boolean | undefined;
|
|
10
|
-
multiple: boolean | undefined;
|
|
11
|
-
id: string;
|
|
12
|
-
labelId: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* This hook abstract the complexity of using downshift with both single and multiple selection.
|
|
16
|
-
*/
|
|
17
|
-
export declare const useDropdown: ({ itemsMap, defaultValue, value, onValueChange, open, onOpenChange, defaultOpen, multiple, id, labelId, }: DownshiftProps) => {
|
|
18
|
-
/** There is a Downshift bug in React 19, it duplicates some selectedItems */
|
|
19
|
-
selectedItems: DropdownItem[];
|
|
20
|
-
activeIndex: number;
|
|
21
|
-
getDropdownProps: <Options>(options?: import('downshift').UseMultipleSelectionGetDropdownPropsOptions & Options, extraOptions?: import('downshift').GetPropsCommonOptions) => Omit<import('downshift').Overwrite<import('downshift').UseMultipleSelectionGetDropdownReturnValue, Options>, "preventKeyAction">;
|
|
22
|
-
getSelectedItemProps: <Options>(options: import('downshift').UseMultipleSelectionGetSelectedItemPropsOptions<DropdownItem> & Options) => Omit<import('downshift').Overwrite<import('downshift').UseMultipleSelectionGetSelectedItemReturnValue, Options>, "index" | "selectedItem">;
|
|
23
|
-
reset: () => void;
|
|
24
|
-
addSelectedItem: (item: DropdownItem) => void;
|
|
25
|
-
removeSelectedItem: (item: DropdownItem) => void;
|
|
26
|
-
setSelectedItems: (items: DropdownItem[]) => void;
|
|
27
|
-
setActiveIndex: (index: number) => void;
|
|
28
|
-
highlightedIndex: number;
|
|
29
|
-
selectedItem: DropdownItem | null;
|
|
30
|
-
isOpen: boolean;
|
|
31
|
-
inputValue: string;
|
|
32
|
-
getToggleButtonProps: <Options>(options?: import('downshift').UseSelectGetToggleButtonPropsOptions & Options, otherOptions?: import('downshift').GetPropsCommonOptions) => import('downshift').Overwrite<import('downshift').UseSelectGetToggleButtonReturnValue, Options>;
|
|
33
|
-
getLabelProps: <Options>(options?: import('downshift').UseSelectGetLabelPropsOptions & Options) => import('downshift').Overwrite<import('downshift').UseSelectGetLabelPropsReturnValue, Options>;
|
|
34
|
-
getMenuProps: <Options>(options?: import('downshift').UseSelectGetMenuPropsOptions & Options, otherOptions?: import('downshift').GetPropsCommonOptions) => import('downshift').Overwrite<import('downshift').UseSelectGetMenuReturnValue, Options>;
|
|
35
|
-
getItemProps: <Options>(options: import('downshift').UseSelectGetItemPropsOptions<DropdownItem> & Options) => Omit<import('downshift').Overwrite<import('downshift').UseSelectGetItemPropsReturnValue, Options>, "item" | "index">;
|
|
36
|
-
openMenu: () => void;
|
|
37
|
-
closeMenu: () => void;
|
|
38
|
-
toggleMenu: () => void;
|
|
39
|
-
selectItem: (item: DropdownItem | null) => void;
|
|
40
|
-
setHighlightedIndex: (index: number) => void;
|
|
41
|
-
};
|
package/dist/dropdown/utils.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { DropdownItem, ItemsMap } from './types';
|
|
3
|
-
export declare function getIndexByKey(map: ItemsMap, targetKey: string): number;
|
|
4
|
-
export declare const getElementByIndex: (map: ItemsMap, index: number) => DropdownItem | undefined;
|
|
5
|
-
export declare const getOrderedItems: (children: ReactNode, result?: DropdownItem[]) => DropdownItem[];
|
|
6
|
-
/**
|
|
7
|
-
* If Dropdown.Item children:
|
|
8
|
-
* - is a string, then the string is used.
|
|
9
|
-
* - is JSX markup, then we look for Dropdown.ItemText to get its string value.
|
|
10
|
-
*/
|
|
11
|
-
export declare const getItemText: (children: ReactNode, itemText?: string) => string;
|
|
12
|
-
export declare const getItemsFromChildren: (children: ReactNode) => ItemsMap;
|
|
13
|
-
export declare const hasChildComponent: (children: ReactNode, displayName: string) => boolean;
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { ReactNode, Ref } from 'react';
|
|
2
|
-
import { FileAcceptDetails, FileChangeDetails, FileRejectDetails, FileUploadFileError, RejectedFile } from './useFileUploadState';
|
|
3
|
-
export type { FileAcceptDetails, FileChangeDetails, FileRejectDetails, FileUploadFileError, RejectedFile, };
|
|
4
|
-
export interface FileUploadProps {
|
|
5
|
-
/**
|
|
6
|
-
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
7
|
-
*/
|
|
8
|
-
asChild?: boolean;
|
|
9
|
-
ref?: Ref<HTMLDivElement>;
|
|
10
|
-
children: ReactNode;
|
|
11
|
-
className?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Initial files to display when the component mounts (uncontrolled mode)
|
|
14
|
-
*/
|
|
15
|
-
defaultValue?: File[];
|
|
16
|
-
/**
|
|
17
|
-
* Controlled files value (controlled mode)
|
|
18
|
-
* When provided, the component becomes controlled
|
|
19
|
-
*/
|
|
20
|
-
value?: File[];
|
|
21
|
-
/**
|
|
22
|
-
* Callback when files are accepted
|
|
23
|
-
* @param details - Details about the accepted files
|
|
24
|
-
*/
|
|
25
|
-
onFileAccept?: (details: FileAcceptDetails) => void;
|
|
26
|
-
/**
|
|
27
|
-
* Callback when files are rejected
|
|
28
|
-
* @param details - Details about the rejected files and their errors
|
|
29
|
-
*/
|
|
30
|
-
onFileReject?: (details: FileRejectDetails) => void;
|
|
31
|
-
/**
|
|
32
|
-
* Callback when files change (both accepted and rejected)
|
|
33
|
-
* For controlled mode, use this to update the value prop by extracting details.acceptedFiles
|
|
34
|
-
* @param details - Details about both accepted and rejected files
|
|
35
|
-
*/
|
|
36
|
-
onFileChange?: (details: FileChangeDetails) => void;
|
|
37
|
-
/**
|
|
38
|
-
* Whether multiple files can be selected
|
|
39
|
-
* @default true
|
|
40
|
-
*/
|
|
41
|
-
multiple?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Comma-separated list of accepted file types
|
|
44
|
-
* Supports MIME types (e.g., "image/*", "image/png", "application/pdf")
|
|
45
|
-
* and file extensions (e.g., ".pdf", ".doc", ".jpg")
|
|
46
|
-
* @example "image/*"
|
|
47
|
-
* @example ".pdf,.doc"
|
|
48
|
-
* @example "image/png,image/jpeg,.pdf"
|
|
49
|
-
*/
|
|
50
|
-
accept?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Maximum number of files that can be uploaded
|
|
53
|
-
* Files beyond this limit will be rejected
|
|
54
|
-
*/
|
|
55
|
-
maxFiles?: number;
|
|
56
|
-
/**
|
|
57
|
-
* Maximum file size in bytes
|
|
58
|
-
* Files larger than this will be rejected
|
|
59
|
-
*/
|
|
60
|
-
maxFileSize?: number;
|
|
61
|
-
/**
|
|
62
|
-
* Minimum file size in bytes
|
|
63
|
-
* Files smaller than this will be rejected
|
|
64
|
-
*/
|
|
65
|
-
minFileSize?: number;
|
|
66
|
-
/**
|
|
67
|
-
* When `true`, prevents the user from interacting with the file upload
|
|
68
|
-
*/
|
|
69
|
-
disabled?: boolean;
|
|
70
|
-
/**
|
|
71
|
-
* When `true`, sets the file upload to read-only mode
|
|
72
|
-
*/
|
|
73
|
-
readOnly?: boolean;
|
|
74
|
-
/**
|
|
75
|
-
* The [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt) language code for the locale.
|
|
76
|
-
* Used for formatting file sizes and error messages.
|
|
77
|
-
* @default Browser locale or 'en' if not available
|
|
78
|
-
*/
|
|
79
|
-
locale?: string;
|
|
80
|
-
}
|
|
81
|
-
export declare const FileUploadContext: import('react').Context<{
|
|
82
|
-
inputRef: React.RefObject<HTMLInputElement | null>;
|
|
83
|
-
files: File[];
|
|
84
|
-
rejectedFiles: RejectedFile[];
|
|
85
|
-
addFiles: (files: File[]) => void;
|
|
86
|
-
removeFile: (index: number) => void;
|
|
87
|
-
removeRejectedFile: (index: number) => void;
|
|
88
|
-
clearFiles: () => void;
|
|
89
|
-
clearRejectedFiles: () => void;
|
|
90
|
-
triggerRef: React.RefObject<HTMLElement | null>;
|
|
91
|
-
dropzoneRef: React.RefObject<HTMLElement | null>;
|
|
92
|
-
deleteButtonRefs: React.MutableRefObject<HTMLButtonElement[]>;
|
|
93
|
-
rejectedFileDeleteButtonRefs: React.MutableRefObject<HTMLButtonElement[]>;
|
|
94
|
-
multiple: boolean;
|
|
95
|
-
maxFiles?: number;
|
|
96
|
-
maxFilesReached: boolean;
|
|
97
|
-
disabled: boolean;
|
|
98
|
-
readOnly: boolean;
|
|
99
|
-
locale: string;
|
|
100
|
-
description?: string;
|
|
101
|
-
isInvalid?: boolean;
|
|
102
|
-
isRequired?: boolean;
|
|
103
|
-
} | null>;
|
|
104
|
-
export declare const FileUpload: {
|
|
105
|
-
({ asChild: _asChild, children, defaultValue, value: controlledValue, onFileAccept, onFileReject, onFileChange, multiple, accept, maxFiles, maxFileSize, minFileSize, disabled: disabledProp, readOnly: readOnlyProp, locale, }: FileUploadProps): import("react/jsx-runtime").JSX.Element;
|
|
106
|
-
displayName: string;
|
|
107
|
-
};
|
|
108
|
-
export declare const useFileUploadContext: () => {
|
|
109
|
-
inputRef: React.RefObject<HTMLInputElement | null>;
|
|
110
|
-
files: File[];
|
|
111
|
-
rejectedFiles: RejectedFile[];
|
|
112
|
-
addFiles: (files: File[]) => void;
|
|
113
|
-
removeFile: (index: number) => void;
|
|
114
|
-
removeRejectedFile: (index: number) => void;
|
|
115
|
-
clearFiles: () => void;
|
|
116
|
-
clearRejectedFiles: () => void;
|
|
117
|
-
triggerRef: React.RefObject<HTMLElement | null>;
|
|
118
|
-
dropzoneRef: React.RefObject<HTMLElement | null>;
|
|
119
|
-
deleteButtonRefs: React.MutableRefObject<HTMLButtonElement[]>;
|
|
120
|
-
rejectedFileDeleteButtonRefs: React.MutableRefObject<HTMLButtonElement[]>;
|
|
121
|
-
multiple: boolean;
|
|
122
|
-
maxFiles?: number;
|
|
123
|
-
maxFilesReached: boolean;
|
|
124
|
-
disabled: boolean;
|
|
125
|
-
readOnly: boolean;
|
|
126
|
-
locale: string;
|
|
127
|
-
description?: string;
|
|
128
|
-
isInvalid?: boolean;
|
|
129
|
-
isRequired?: boolean;
|
|
130
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
2
|
-
export interface FileUploadAcceptedFileProps extends ComponentPropsWithoutRef<'li'> {
|
|
3
|
-
ref?: Ref<HTMLLIElement>;
|
|
4
|
-
/**
|
|
5
|
-
* The file to display
|
|
6
|
-
*/
|
|
7
|
-
file: File;
|
|
8
|
-
/**
|
|
9
|
-
* Upload progress value (0-100). When provided, displays a progress bar at the bottom of the file item.
|
|
10
|
-
*/
|
|
11
|
-
uploadProgress?: number;
|
|
12
|
-
/**
|
|
13
|
-
* Accessible label for the delete button
|
|
14
|
-
*/
|
|
15
|
-
deleteButtonAriaLabel: string;
|
|
16
|
-
/**
|
|
17
|
-
* Accessible label for the progress bar. Required when uploadProgress is provided.
|
|
18
|
-
*/
|
|
19
|
-
progressAriaLabel?: string;
|
|
20
|
-
className?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare const AcceptedFile: {
|
|
23
|
-
({ className, file, uploadProgress, deleteButtonAriaLabel, progressAriaLabel, ...props }: FileUploadAcceptedFileProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
displayName: string;
|
|
25
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { RejectedFile } from './FileUpload';
|
|
3
|
-
export interface FileUploadContextProps {
|
|
4
|
-
/**
|
|
5
|
-
* Render prop that receives acceptedFiles, rejectedFiles, formatFileSize, and locale
|
|
6
|
-
*/
|
|
7
|
-
children: (props: {
|
|
8
|
-
acceptedFiles: File[];
|
|
9
|
-
rejectedFiles: RejectedFile[];
|
|
10
|
-
formatFileSize: (bytes: number, locale?: string) => string;
|
|
11
|
-
locale?: string;
|
|
12
|
-
}) => ReactNode;
|
|
13
|
-
}
|
|
14
|
-
export declare const Context: {
|
|
15
|
-
({ children }: FileUploadContextProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
displayName: string;
|
|
17
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const DropzoneContext: import('react').Context<boolean>;
|
|
2
|
-
export declare const useDropzoneContext: () => boolean;
|
|
3
|
-
export declare function Dropzone({ children, className, unstyled, }: {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
unstyled?: boolean;
|
|
7
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export declare namespace Dropzone {
|
|
9
|
-
var displayName: string;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IconButton } from '../icon-button';
|
|
2
|
-
export interface FileUploadItemDeleteTriggerProps extends React.ComponentProps<typeof IconButton> {
|
|
3
|
-
/**
|
|
4
|
-
* The file to delete
|
|
5
|
-
*/
|
|
6
|
-
file: File;
|
|
7
|
-
}
|
|
8
|
-
export declare const ItemDeleteTrigger: {
|
|
9
|
-
({ className, file, onClick, ...props }: FileUploadItemDeleteTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
2
|
-
export interface FileUploadPreviewImageProps extends ComponentPropsWithoutRef<'div'> {
|
|
3
|
-
ref?: Ref<HTMLDivElement>;
|
|
4
|
-
className?: string;
|
|
5
|
-
/**
|
|
6
|
-
* The file to preview
|
|
7
|
-
*/
|
|
8
|
-
file: File;
|
|
9
|
-
/**
|
|
10
|
-
* Fallback content when file is not an image or preview fails
|
|
11
|
-
*/
|
|
12
|
-
fallback?: React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
export declare const PreviewImage: {
|
|
15
|
-
({ className, file, fallback, ...props }: FileUploadPreviewImageProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
displayName: string;
|
|
17
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
2
|
-
import { FileUploadFileError, RejectedFile as RejectedFileType } from './FileUpload';
|
|
3
|
-
export interface FileUploadRejectedFileProps extends ComponentPropsWithoutRef<'li'> {
|
|
4
|
-
ref?: Ref<HTMLLIElement>;
|
|
5
|
-
/**
|
|
6
|
-
* The rejected file to display
|
|
7
|
-
*/
|
|
8
|
-
rejectedFile: RejectedFileType;
|
|
9
|
-
/**
|
|
10
|
-
* Function to render the error message for each error code
|
|
11
|
-
* @param error - The error code
|
|
12
|
-
* @returns The error message to display
|
|
13
|
-
*/
|
|
14
|
-
renderError: (error: FileUploadFileError) => string;
|
|
15
|
-
/**
|
|
16
|
-
* Accessible label for the delete button
|
|
17
|
-
*/
|
|
18
|
-
deleteButtonAriaLabel: string;
|
|
19
|
-
className?: string;
|
|
20
|
-
}
|
|
21
|
-
export declare const RejectedFile: {
|
|
22
|
-
({ className, rejectedFile, renderError, deleteButtonAriaLabel, ...props }: FileUploadRejectedFileProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IconButton } from '../icon-button';
|
|
2
|
-
import { RejectedFile as RejectedFileType } from './FileUpload';
|
|
3
|
-
export interface FileUploadRejectedFileDeleteTriggerProps extends React.ComponentProps<typeof IconButton> {
|
|
4
|
-
/**
|
|
5
|
-
* The rejected file to remove
|
|
6
|
-
*/
|
|
7
|
-
rejectedFile: RejectedFileType;
|
|
8
|
-
}
|
|
9
|
-
export declare const RejectedFileDeleteTrigger: {
|
|
10
|
-
({ className, rejectedFile, onClick, ...props }: FileUploadRejectedFileDeleteTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode, Ref } from 'react';
|
|
2
|
-
import { ButtonProps } from '../button';
|
|
3
|
-
export interface FileUploadTriggerProps extends Omit<ButtonProps, 'children' | 'disabled'> {
|
|
4
|
-
ref?: Ref<HTMLButtonElement>;
|
|
5
|
-
className?: string;
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
unstyled?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const Trigger: {
|
|
10
|
-
({ className, children, asChild, unstyled, design, intent, size, shape, ref, ...props }: FileUploadTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* File upload error codes
|
|
3
|
-
*/
|
|
4
|
-
export declare const FILE_UPLOAD_ERRORS: {
|
|
5
|
-
/**
|
|
6
|
-
* Exceeds the maxFiles limit
|
|
7
|
-
*/
|
|
8
|
-
readonly TOO_MANY_FILES: "TOO_MANY_FILES";
|
|
9
|
-
/**
|
|
10
|
-
* File type not in the accept list
|
|
11
|
-
*/
|
|
12
|
-
readonly FILE_INVALID_TYPE: "FILE_INVALID_TYPE";
|
|
13
|
-
/**
|
|
14
|
-
* File size exceeds maxFileSize
|
|
15
|
-
*/
|
|
16
|
-
readonly FILE_TOO_LARGE: "FILE_TOO_LARGE";
|
|
17
|
-
/**
|
|
18
|
-
* File size below minFileSize
|
|
19
|
-
*/
|
|
20
|
-
readonly FILE_TOO_SMALL: "FILE_TOO_SMALL";
|
|
21
|
-
/**
|
|
22
|
-
* Generic validation failure
|
|
23
|
-
*/
|
|
24
|
-
readonly FILE_INVALID: "FILE_INVALID";
|
|
25
|
-
/**
|
|
26
|
-
* Duplicate file detected
|
|
27
|
-
*/
|
|
28
|
-
readonly FILE_EXISTS: "FILE_EXISTS";
|
|
29
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { FileAcceptDetails, FileChangeDetails, FileRejectDetails, FileUpload as Root, FileUploadFileError, RejectedFile } from './FileUpload';
|
|
2
|
-
import { AcceptedFile } from './FileUploadAcceptedFile';
|
|
3
|
-
import { Context } from './FileUploadContext';
|
|
4
|
-
import { FILE_UPLOAD_ERRORS } from './constants';
|
|
5
|
-
import { Dropzone } from './FileUploadDropzone';
|
|
6
|
-
import { ItemDeleteTrigger } from './FileUploadItemDeleteTrigger';
|
|
7
|
-
import { PreviewImage } from './FileUploadPreviewImage';
|
|
8
|
-
import { RejectedFile as RejectedFileComponent } from './FileUploadRejectedFile';
|
|
9
|
-
import { RejectedFileDeleteTrigger } from './FileUploadRejectedFileDeleteTrigger';
|
|
10
|
-
import { Trigger } from './FileUploadTrigger';
|
|
11
|
-
export type { FileAcceptDetails, FileChangeDetails, FileRejectDetails, RejectedFile, FileUploadFileError, };
|
|
12
|
-
export { FILE_UPLOAD_ERRORS };
|
|
13
|
-
export declare const FileUpload: typeof Root & {
|
|
14
|
-
Trigger: typeof Trigger;
|
|
15
|
-
Dropzone: typeof Dropzone;
|
|
16
|
-
Context: typeof Context;
|
|
17
|
-
ItemDeleteTrigger: typeof ItemDeleteTrigger;
|
|
18
|
-
PreviewImage: typeof PreviewImage;
|
|
19
|
-
AcceptedFile: typeof AcceptedFile;
|
|
20
|
-
RejectedFile: typeof RejectedFileComponent;
|
|
21
|
-
RejectedFileDeleteTrigger: typeof RejectedFileDeleteTrigger;
|
|
22
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { FileAcceptDetails, FileChangeDetails, FileRejectDetails, FileUpload as Root, FileUploadFileError, RejectedFile } from './FileUpload';
|
|
2
|
-
import { AcceptedFile } from './FileUploadAcceptedFile';
|
|
3
|
-
import { Context } from './FileUploadContext';
|
|
4
|
-
import { FILE_UPLOAD_ERRORS } from './constants';
|
|
5
|
-
import { Dropzone } from './FileUploadDropzone';
|
|
6
|
-
import { ItemDeleteTrigger } from './FileUploadItemDeleteTrigger';
|
|
7
|
-
import { PreviewImage } from './FileUploadPreviewImage';
|
|
8
|
-
import { RejectedFile as RejectedFileComponent } from './FileUploadRejectedFile';
|
|
9
|
-
import { RejectedFileDeleteTrigger } from './FileUploadRejectedFileDeleteTrigger';
|
|
10
|
-
import { Trigger } from './FileUploadTrigger';
|
|
11
|
-
export type { FileAcceptDetails, FileChangeDetails, FileRejectDetails, RejectedFile, FileUploadFileError, };
|
|
12
|
-
export { FILE_UPLOAD_ERRORS };
|
|
13
|
-
export declare const FileUpload: typeof Root & {
|
|
14
|
-
Trigger: typeof Trigger;
|
|
15
|
-
Dropzone: typeof Dropzone;
|
|
16
|
-
Context: typeof Context;
|
|
17
|
-
ItemDeleteTrigger: typeof ItemDeleteTrigger;
|
|
18
|
-
PreviewImage: typeof PreviewImage;
|
|
19
|
-
AcceptedFile: typeof AcceptedFile;
|
|
20
|
-
RejectedFile: typeof RejectedFileComponent;
|
|
21
|
-
RejectedFileDeleteTrigger: typeof RejectedFileDeleteTrigger;
|
|
22
|
-
};
|