@spark-ui/components 17.2.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/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 -54
- 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 -18
- package/dist/radio-group/RadioIndicator.styles.d.ts +0 -5
- package/dist/radio-group/RadioInput.d.ts +0 -25
- package/dist/radio-group/RadioInput.styles.d.ts +0 -5
- package/dist/radio-group/RadioLabel.d.ts +0 -20
- package/dist/radio-group/RadioLabel.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
package/dist/tag/Tag.styles.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
export declare const tagStyles: (props?: ({
|
|
3
|
-
design?: "filled" | "outlined" | "tinted" | null | undefined;
|
|
4
|
-
size?: "md" | "lg" | null | undefined;
|
|
5
|
-
shape?: "square" | "rounded" | "pill" | null | undefined;
|
|
6
|
-
intent?: "main" | "alert" | "support" | "accent" | "success" | "info" | "neutral" | "danger" | "surface" | null | undefined;
|
|
7
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
-
export type TagStylesProps = VariantProps<typeof tagStyles>;
|
package/dist/tag/index.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Tag';
|
package/dist/tag/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Tag';
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export declare const filledVariants: readonly [{
|
|
2
|
-
readonly intent: "main";
|
|
3
|
-
readonly design: "filled";
|
|
4
|
-
readonly class: string[];
|
|
5
|
-
}, {
|
|
6
|
-
readonly intent: "support";
|
|
7
|
-
readonly design: "filled";
|
|
8
|
-
readonly class: string[];
|
|
9
|
-
}, {
|
|
10
|
-
readonly intent: "accent";
|
|
11
|
-
readonly design: "filled";
|
|
12
|
-
readonly class: string[];
|
|
13
|
-
}, {
|
|
14
|
-
readonly intent: "success";
|
|
15
|
-
readonly design: "filled";
|
|
16
|
-
readonly class: string[];
|
|
17
|
-
}, {
|
|
18
|
-
readonly intent: "alert";
|
|
19
|
-
readonly design: "filled";
|
|
20
|
-
readonly class: string[];
|
|
21
|
-
}, {
|
|
22
|
-
readonly intent: "danger";
|
|
23
|
-
readonly design: "filled";
|
|
24
|
-
readonly class: string[];
|
|
25
|
-
}, {
|
|
26
|
-
readonly intent: "info";
|
|
27
|
-
readonly design: "filled";
|
|
28
|
-
readonly class: string[];
|
|
29
|
-
}, {
|
|
30
|
-
readonly intent: "neutral";
|
|
31
|
-
readonly design: "filled";
|
|
32
|
-
readonly class: string[];
|
|
33
|
-
}, {
|
|
34
|
-
readonly intent: "surface";
|
|
35
|
-
readonly design: "filled";
|
|
36
|
-
readonly class: string[];
|
|
37
|
-
}];
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export declare const outlinedVariants: readonly [{
|
|
2
|
-
readonly intent: "main";
|
|
3
|
-
readonly design: "outlined";
|
|
4
|
-
readonly class: string[];
|
|
5
|
-
}, {
|
|
6
|
-
readonly intent: "support";
|
|
7
|
-
readonly design: "outlined";
|
|
8
|
-
readonly class: string[];
|
|
9
|
-
}, {
|
|
10
|
-
readonly intent: "accent";
|
|
11
|
-
readonly design: "outlined";
|
|
12
|
-
readonly class: string[];
|
|
13
|
-
}, {
|
|
14
|
-
readonly intent: "success";
|
|
15
|
-
readonly design: "outlined";
|
|
16
|
-
readonly class: string[];
|
|
17
|
-
}, {
|
|
18
|
-
readonly intent: "alert";
|
|
19
|
-
readonly design: "outlined";
|
|
20
|
-
readonly class: string[];
|
|
21
|
-
}, {
|
|
22
|
-
readonly intent: "danger";
|
|
23
|
-
readonly design: "outlined";
|
|
24
|
-
readonly class: string[];
|
|
25
|
-
}, {
|
|
26
|
-
readonly intent: "info";
|
|
27
|
-
readonly design: "outlined";
|
|
28
|
-
readonly class: string[];
|
|
29
|
-
}, {
|
|
30
|
-
readonly intent: "neutral";
|
|
31
|
-
readonly design: "outlined";
|
|
32
|
-
readonly class: string[];
|
|
33
|
-
}];
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export declare const tintedVariants: readonly [{
|
|
2
|
-
readonly intent: "main";
|
|
3
|
-
readonly design: "tinted";
|
|
4
|
-
readonly class: string[];
|
|
5
|
-
}, {
|
|
6
|
-
readonly intent: "support";
|
|
7
|
-
readonly design: "tinted";
|
|
8
|
-
readonly class: string[];
|
|
9
|
-
}, {
|
|
10
|
-
readonly intent: "accent";
|
|
11
|
-
readonly design: "tinted";
|
|
12
|
-
readonly class: string[];
|
|
13
|
-
}, {
|
|
14
|
-
readonly intent: "success";
|
|
15
|
-
readonly design: "tinted";
|
|
16
|
-
readonly class: string[];
|
|
17
|
-
}, {
|
|
18
|
-
readonly intent: "alert";
|
|
19
|
-
readonly design: "tinted";
|
|
20
|
-
readonly class: string[];
|
|
21
|
-
}, {
|
|
22
|
-
readonly intent: "danger";
|
|
23
|
-
readonly design: "tinted";
|
|
24
|
-
readonly class: string[];
|
|
25
|
-
}, {
|
|
26
|
-
readonly intent: "info";
|
|
27
|
-
readonly design: "tinted";
|
|
28
|
-
readonly class: string[];
|
|
29
|
-
}, {
|
|
30
|
-
readonly intent: "neutral";
|
|
31
|
-
readonly design: "tinted";
|
|
32
|
-
readonly class: string[];
|
|
33
|
-
}];
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { ComponentPropsWithRef } from 'react';
|
|
3
|
-
declare const textLinkStyles: (props?: ({
|
|
4
|
-
intent?: "main" | "current" | "alert" | "support" | "accent" | "success" | "info" | "neutral" | "danger" | null | undefined;
|
|
5
|
-
bold?: boolean | null | undefined;
|
|
6
|
-
underline?: boolean | null | undefined;
|
|
7
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
-
export type StylesProps = VariantProps<typeof textLinkStyles>;
|
|
9
|
-
export type TextLinkProps = ComponentPropsWithRef<'a'> & StylesProps & {
|
|
10
|
-
/**
|
|
11
|
-
* Change the component to the HTML tag or custom component of the only child.
|
|
12
|
-
*/
|
|
13
|
-
asChild?: boolean;
|
|
14
|
-
};
|
|
15
|
-
export declare const TextLink: ({ asChild, bold, children, className, intent, underline, ref, ...props }: TextLinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TextLink';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TextLink';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, PropsWithChildren, Ref } from 'react';
|
|
2
|
-
import { InputProps } from '../input';
|
|
3
|
-
type TextareaPrimitiveProps = ComponentPropsWithoutRef<'textarea'>;
|
|
4
|
-
export interface TextareaProps extends TextareaPrimitiveProps, Pick<InputProps, 'onValueChange'> {
|
|
5
|
-
isResizable?: boolean;
|
|
6
|
-
ref?: Ref<HTMLTextAreaElement>;
|
|
7
|
-
}
|
|
8
|
-
export declare const Textarea: {
|
|
9
|
-
({ className, disabled, rows, isResizable, ref, onValueChange, ...others }: PropsWithChildren<TextareaProps>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
displayName: string;
|
|
11
|
-
} & {
|
|
12
|
-
id: string;
|
|
13
|
-
};
|
|
14
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
2
|
-
export interface TextareaClearButtonProps extends ComponentPropsWithoutRef<'button'> {
|
|
3
|
-
'aria-label': string;
|
|
4
|
-
ref?: Ref<HTMLButtonElement>;
|
|
5
|
-
}
|
|
6
|
-
export declare const TextareaClearButton: {
|
|
7
|
-
(props: TextareaClearButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
id: string;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { InputLeadingIconProps } from '../input';
|
|
2
|
-
export type TextareaLeadingIconProps = InputLeadingIconProps;
|
|
3
|
-
export declare const TextareaLeadingIcon: {
|
|
4
|
-
(props: InputLeadingIconProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
id: string;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { InputTrailingIconProps } from '../input';
|
|
2
|
-
export type TextareaTrailingIconProps = InputTrailingIconProps;
|
|
3
|
-
export declare const TextareaTrailingIcon: {
|
|
4
|
-
(props: InputTrailingIconProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
id: string;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { TextareaClearButton } from './TextareaClearButton';
|
|
2
|
-
import { TextareaGroup as Root } from './TextareaGroup';
|
|
3
|
-
import { TextareaLeadingIcon } from './TextareaLeadingIcon';
|
|
4
|
-
import { TextareaTrailingIcon } from './TextareaTrailingIcon';
|
|
5
|
-
export * from './Textarea';
|
|
6
|
-
export declare const TextareaGroup: typeof Root & {
|
|
7
|
-
LeadingIcon: typeof TextareaLeadingIcon;
|
|
8
|
-
TrailingIcon: typeof TextareaTrailingIcon;
|
|
9
|
-
ClearButton: typeof TextareaClearButton;
|
|
10
|
-
};
|
|
11
|
-
export { type TextareaGroupProps } from './TextareaGroup';
|
|
12
|
-
export { type TextareaLeadingIconProps } from './TextareaLeadingIcon';
|
|
13
|
-
export { type TextareaTrailingIconProps } from './TextareaTrailingIcon';
|
|
14
|
-
export { type TextareaClearButtonProps } from './TextareaClearButton';
|
package/dist/textarea/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { TextareaClearButton } from './TextareaClearButton';
|
|
2
|
-
import { TextareaGroup as Root } from './TextareaGroup';
|
|
3
|
-
import { TextareaLeadingIcon } from './TextareaLeadingIcon';
|
|
4
|
-
import { TextareaTrailingIcon } from './TextareaTrailingIcon';
|
|
5
|
-
export * from './Textarea';
|
|
6
|
-
export declare const TextareaGroup: typeof Root & {
|
|
7
|
-
LeadingIcon: typeof TextareaLeadingIcon;
|
|
8
|
-
TrailingIcon: typeof TextareaTrailingIcon;
|
|
9
|
-
ClearButton: typeof TextareaClearButton;
|
|
10
|
-
};
|
|
11
|
-
export { type TextareaGroupProps } from './TextareaGroup';
|
|
12
|
-
export { type TextareaLeadingIconProps } from './TextareaLeadingIcon';
|
|
13
|
-
export { type TextareaTrailingIconProps } from './TextareaTrailingIcon';
|
|
14
|
-
export { type TextareaClearButtonProps } from './TextareaClearButton';
|
package/dist/toast/Toast.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
export declare const toastStyles: (props?: ({
|
|
3
|
-
design?: "filled" | "tinted" | null | undefined;
|
|
4
|
-
intent?: "main" | "alert" | "error" | "support" | "accent" | "success" | "info" | "neutral" | "surface" | "surfaceInverse" | null | undefined;
|
|
5
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
-
export declare const snackbarItemVariantContent: (props?: ({
|
|
7
|
-
actionOnNewline?: boolean | null | undefined;
|
|
8
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
-
export type ToastVariantProps = VariantProps<typeof toastStyles>;
|
|
10
|
-
export type SnackbarItemVariantContentProps = VariantProps<typeof snackbarItemVariantContent>;
|
package/dist/toast/index.d.mts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Toast as BaseToast } from '@base-ui/react/toast';
|
|
2
|
-
import { ToastData, ToastObject } from './types';
|
|
3
|
-
import { useToastManager } from './useToastManager';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
export * from './types';
|
|
6
|
-
interface ToastProviderProps extends React.ComponentProps<typeof BaseToast.Provider> {
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export declare function ToastProvider({ children, limit, ...props }: ToastProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
interface ToastTriggerProps extends Omit<React.ComponentPropsWithRef<'button'>, 'title'>, Pick<ToastObject, 'priority'>, Pick<ToastData, 'design' | 'intent' | 'icon' | 'isClosable' | 'action' | 'compact'> {
|
|
11
|
-
children: React.ReactNode;
|
|
12
|
-
asChild?: boolean;
|
|
13
|
-
title: string | React.ReactNode;
|
|
14
|
-
description?: string | React.ReactNode;
|
|
15
|
-
timeout?: number;
|
|
16
|
-
}
|
|
17
|
-
export declare function ToastTrigger({ children, onClick, asChild, title, description, timeout, design, intent, isClosable, icon, action, compact, priority, }: ToastTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export type ToastManager = ReturnType<typeof BaseToast.createToastManager>;
|
|
19
|
-
export declare const createToastManager: () => ToastManager;
|
|
20
|
-
export { useToastManager };
|
package/dist/toast/index.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Toast as BaseToast } from '@base-ui/react/toast';
|
|
2
|
-
import { ToastData, ToastObject } from './types';
|
|
3
|
-
import { useToastManager } from './useToastManager';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
export * from './types';
|
|
6
|
-
interface ToastProviderProps extends React.ComponentProps<typeof BaseToast.Provider> {
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export declare function ToastProvider({ children, limit, ...props }: ToastProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
interface ToastTriggerProps extends Omit<React.ComponentPropsWithRef<'button'>, 'title'>, Pick<ToastObject, 'priority'>, Pick<ToastData, 'design' | 'intent' | 'icon' | 'isClosable' | 'action' | 'compact'> {
|
|
11
|
-
children: React.ReactNode;
|
|
12
|
-
asChild?: boolean;
|
|
13
|
-
title: string | React.ReactNode;
|
|
14
|
-
description?: string | React.ReactNode;
|
|
15
|
-
timeout?: number;
|
|
16
|
-
}
|
|
17
|
-
export declare function ToastTrigger({ children, onClick, asChild, title, description, timeout, design, intent, isClosable, icon, action, compact, priority, }: ToastTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export type ToastManager = ReturnType<typeof BaseToast.createToastManager>;
|
|
19
|
-
export declare const createToastManager: () => ToastManager;
|
|
20
|
-
export { useToastManager };
|
package/dist/toast/types.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Toast as BaseToast } from '@base-ui/react/toast';
|
|
2
|
-
import { ButtonProps } from '../button';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
export type ToastIntent = /** @deprecated Use 'info', 'success', 'alert', or 'error' instead */ 'main' | /** @deprecated Use 'info', 'success', 'alert', or 'error' instead */ 'support' | /** @deprecated Use 'info', 'success', 'alert', or 'error' instead */ 'accent' | 'success' | 'alert' | 'error' | 'info' | /** @deprecated Use 'info', 'success', 'alert', or 'error' instead */ 'neutral' | /** @deprecated Use 'info', 'success', 'alert', or 'error' instead */ 'surface' | /** @deprecated Use 'info', 'success', 'alert', or 'error' instead */ 'surfaceInverse';
|
|
5
|
-
export type ToastDesign = 'tinted' | 'filled';
|
|
6
|
-
export interface ToastData {
|
|
7
|
-
icon?: React.ReactNode;
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated The design prop is deprecated. All toasts now use the 'tinted' design.
|
|
10
|
-
*/
|
|
11
|
-
design?: ToastDesign;
|
|
12
|
-
intent?: ToastIntent;
|
|
13
|
-
isClosable?: boolean;
|
|
14
|
-
closeLabel?: string;
|
|
15
|
-
compact?: boolean;
|
|
16
|
-
title?: React.ReactNode;
|
|
17
|
-
description?: React.ReactNode;
|
|
18
|
-
action?: {
|
|
19
|
-
close?: boolean;
|
|
20
|
-
label: string;
|
|
21
|
-
onClick: () => void;
|
|
22
|
-
} & ButtonProps;
|
|
23
|
-
}
|
|
24
|
-
export type ToastObject = BaseToast.Root.ToastObject<ToastData>;
|
|
25
|
-
export interface AddOptions extends Omit<ToastObject, 'id' | 'animation' | 'height' | 'ref' | 'limited' | 'title' | 'description'> {
|
|
26
|
-
id?: string;
|
|
27
|
-
title?: string | React.ReactNode;
|
|
28
|
-
description?: string | React.ReactNode;
|
|
29
|
-
}
|
|
30
|
-
type UpdateOptions = Partial<AddOptions>;
|
|
31
|
-
interface PromiseOptions<Value> {
|
|
32
|
-
loading: string | UpdateOptions;
|
|
33
|
-
success: string | UpdateOptions | ((result: Value) => string | UpdateOptions);
|
|
34
|
-
error: string | UpdateOptions | ((error: any) => string | UpdateOptions);
|
|
35
|
-
}
|
|
36
|
-
export interface UseToastManagerReturnValue {
|
|
37
|
-
toasts: ToastObject[];
|
|
38
|
-
add: (options: AddOptions) => string;
|
|
39
|
-
update: (toastId: string, options: UpdateOptions) => void;
|
|
40
|
-
close: (toastId: string) => void;
|
|
41
|
-
promise: <Value>(promise: Promise<Value>, options: PromiseOptions<Value>) => Promise<Value>;
|
|
42
|
-
closeAll: () => void;
|
|
43
|
-
}
|
|
44
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, PropsWithChildren, Ref } from 'react';
|
|
2
|
-
export type VisuallyHiddenProps = PropsWithChildren<HTMLAttributes<HTMLElement>> & {
|
|
3
|
-
/**
|
|
4
|
-
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
5
|
-
*/
|
|
6
|
-
asChild?: boolean;
|
|
7
|
-
ref?: Ref<HTMLElement>;
|
|
8
|
-
};
|
|
9
|
-
export declare const VisuallyHidden: {
|
|
10
|
-
({ asChild, ref, ...props }: VisuallyHiddenProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './VisuallyHidden';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './VisuallyHidden';
|