@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,13 +0,0 @@
|
|
|
1
|
-
import { AlertDialog as BaseAlertDialog } from '@base-ui/react/alert-dialog';
|
|
2
|
-
import { ComponentProps, Ref } from 'react';
|
|
3
|
-
export interface AlertDialogActionProps extends Omit<ComponentProps<typeof BaseAlertDialog.Close>, 'render'> {
|
|
4
|
-
/**
|
|
5
|
-
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
6
|
-
*/
|
|
7
|
-
asChild?: boolean;
|
|
8
|
-
ref?: Ref<HTMLButtonElement>;
|
|
9
|
-
}
|
|
10
|
-
export declare const AlertDialogAction: {
|
|
11
|
-
({ asChild, ...props }: AlertDialogActionProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactElement, ReactNode, Ref } from 'react';
|
|
2
|
-
export interface AlertDialogBodyProps {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
tabIndex?: number;
|
|
6
|
-
ref?: Ref<HTMLDivElement>;
|
|
7
|
-
inset?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const AlertDialogBody: {
|
|
10
|
-
({ children, className, inset, ref: forwardedRef, ...rest }: AlertDialogBodyProps): ReactElement;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AlertDialog as BaseAlertDialog } from '@base-ui/react/alert-dialog';
|
|
2
|
-
import { ComponentProps, Ref } from 'react';
|
|
3
|
-
export interface AlertDialogCancelProps extends Omit<ComponentProps<typeof BaseAlertDialog.Close>, 'render'> {
|
|
4
|
-
/**
|
|
5
|
-
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
6
|
-
*/
|
|
7
|
-
asChild?: boolean;
|
|
8
|
-
ref?: Ref<HTMLButtonElement>;
|
|
9
|
-
}
|
|
10
|
-
export declare const AlertDialogCancel: {
|
|
11
|
-
({ asChild, ref: forwardedRef, ...props }: AlertDialogCancelProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AlertDialog as BaseAlertDialog } from '@base-ui/react/alert-dialog';
|
|
2
|
-
import { ComponentProps, Ref } from 'react';
|
|
3
|
-
export interface AlertDialogContentProps extends Omit<ComponentProps<typeof BaseAlertDialog.Popup>, 'render'> {
|
|
4
|
-
ref?: Ref<HTMLDivElement>;
|
|
5
|
-
}
|
|
6
|
-
export declare const AlertDialogContent: {
|
|
7
|
-
({ className, ref, initialFocus, ...others }: AlertDialogContentProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { MutableRefObject, ReactNode } from 'react';
|
|
2
|
-
export interface AlertDialogContextValue {
|
|
3
|
-
cancelRef: MutableRefObject<HTMLButtonElement | null>;
|
|
4
|
-
withFade: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const AlertDialogContext: import('react').Context<AlertDialogContextValue | null>;
|
|
7
|
-
export declare const AlertDialogProvider: ({ children, withFade, cancelRef, }: {
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
withFade?: boolean;
|
|
10
|
-
cancelRef: MutableRefObject<HTMLButtonElement | null>;
|
|
11
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export declare const useAlertDialog: () => AlertDialogContextValue;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AlertDialog as BaseAlertDialog } from '@base-ui/react/alert-dialog';
|
|
2
|
-
import { ComponentProps, Ref } from 'react';
|
|
3
|
-
export interface AlertDialogDescriptionProps extends Omit<ComponentProps<typeof BaseAlertDialog.Description>, 'render'> {
|
|
4
|
-
ref?: Ref<HTMLParagraphElement>;
|
|
5
|
-
}
|
|
6
|
-
export declare const AlertDialogDescription: {
|
|
7
|
-
(props: AlertDialogDescriptionProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactElement, ReactNode, Ref } from 'react';
|
|
2
|
-
export interface AlertDialogFooterProps {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
ref?: Ref<HTMLDivElement>;
|
|
6
|
-
}
|
|
7
|
-
export declare const AlertDialogFooter: {
|
|
8
|
-
({ children, className, ref, ...rest }: AlertDialogFooterProps): ReactElement;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactElement, ReactNode, Ref } from 'react';
|
|
2
|
-
export interface AlertDialogHeaderProps {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
ref?: Ref<HTMLDivElement>;
|
|
6
|
-
}
|
|
7
|
-
export declare const AlertDialogHeader: {
|
|
8
|
-
({ children, className, ref, ...rest }: AlertDialogHeaderProps): ReactElement;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AlertDialog as BaseAlertDialog } from '@base-ui/react/alert-dialog';
|
|
2
|
-
import { ComponentProps, Ref } from 'react';
|
|
3
|
-
export interface AlertDialogOverlayProps extends Omit<ComponentProps<typeof BaseAlertDialog.Backdrop>, 'render'> {
|
|
4
|
-
ref?: Ref<HTMLDivElement>;
|
|
5
|
-
}
|
|
6
|
-
export declare const AlertDialogOverlay: {
|
|
7
|
-
({ className, ...props }: AlertDialogOverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AlertDialog as BaseAlertDialog } from '@base-ui/react/alert-dialog';
|
|
2
|
-
import { ComponentProps } from 'react';
|
|
3
|
-
export type AlertDialogPortalProps = ComponentProps<typeof BaseAlertDialog.Portal>;
|
|
4
|
-
export declare const AlertDialogPortal: {
|
|
5
|
-
({ className, ...props }: AlertDialogPortalProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AlertDialog as BaseAlertDialog } from '@base-ui/react/alert-dialog';
|
|
2
|
-
import { ComponentProps, Ref } from 'react';
|
|
3
|
-
export interface AlertDialogTitleProps extends Omit<ComponentProps<typeof BaseAlertDialog.Title>, 'render'> {
|
|
4
|
-
ref?: Ref<HTMLHeadingElement>;
|
|
5
|
-
}
|
|
6
|
-
export declare const AlertDialogTitle: {
|
|
7
|
-
({ className, ...props }: AlertDialogTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AlertDialog as BaseAlertDialog } from '@base-ui/react/alert-dialog';
|
|
2
|
-
import { ComponentProps, Ref } from 'react';
|
|
3
|
-
export interface AlertDialogTriggerProps extends Omit<ComponentProps<typeof BaseAlertDialog.Trigger>, 'render'> {
|
|
4
|
-
/**
|
|
5
|
-
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
6
|
-
*/
|
|
7
|
-
asChild?: boolean;
|
|
8
|
-
ref?: Ref<HTMLButtonElement>;
|
|
9
|
-
}
|
|
10
|
-
export declare const AlertDialogTrigger: {
|
|
11
|
-
({ asChild, ...props }: AlertDialogTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { AlertDialog as Root } from './AlertDialog';
|
|
2
|
-
import { AlertDialogAction } from './AlertDialogAction';
|
|
3
|
-
import { AlertDialogBody } from './AlertDialogBody';
|
|
4
|
-
import { AlertDialogCancel } from './AlertDialogCancel';
|
|
5
|
-
import { AlertDialogContent } from './AlertDialogContent';
|
|
6
|
-
import { AlertDialogDescription } from './AlertDialogDescription';
|
|
7
|
-
import { AlertDialogFooter } from './AlertDialogFooter';
|
|
8
|
-
import { AlertDialogHeader } from './AlertDialogHeader';
|
|
9
|
-
import { AlertDialogOverlay } from './AlertDialogOverlay';
|
|
10
|
-
import { AlertDialogPortal } from './AlertDialogPortal';
|
|
11
|
-
import { AlertDialogTitle } from './AlertDialogTitle';
|
|
12
|
-
import { AlertDialogTrigger } from './AlertDialogTrigger';
|
|
13
|
-
export * from './AlertDialog';
|
|
14
|
-
export { useAlertDialog } from './AlertDialogContext';
|
|
15
|
-
export { type AlertDialogActionProps } from './AlertDialogAction';
|
|
16
|
-
export { type AlertDialogBodyProps } from './AlertDialogBody';
|
|
17
|
-
export { type AlertDialogCancelProps } from './AlertDialogCancel';
|
|
18
|
-
export { type AlertDialogContentProps } from './AlertDialogContent';
|
|
19
|
-
export { type AlertDialogDescriptionProps } from './AlertDialogDescription';
|
|
20
|
-
export { type AlertDialogFooterProps } from './AlertDialogFooter';
|
|
21
|
-
export { type AlertDialogHeaderProps } from './AlertDialogHeader';
|
|
22
|
-
export { type AlertDialogOverlayProps } from './AlertDialogOverlay';
|
|
23
|
-
export { type AlertDialogPortalProps } from './AlertDialogPortal';
|
|
24
|
-
export { type AlertDialogTitleProps } from './AlertDialogTitle';
|
|
25
|
-
export { type AlertDialogTriggerProps } from './AlertDialogTrigger';
|
|
26
|
-
export declare const AlertDialog: typeof Root & {
|
|
27
|
-
Action: typeof AlertDialogAction;
|
|
28
|
-
Body: typeof AlertDialogBody;
|
|
29
|
-
Cancel: typeof AlertDialogCancel;
|
|
30
|
-
Content: typeof AlertDialogContent;
|
|
31
|
-
Description: typeof AlertDialogDescription;
|
|
32
|
-
Footer: typeof AlertDialogFooter;
|
|
33
|
-
Header: typeof AlertDialogHeader;
|
|
34
|
-
Overlay: typeof AlertDialogOverlay;
|
|
35
|
-
Portal: typeof AlertDialogPortal;
|
|
36
|
-
Title: typeof AlertDialogTitle;
|
|
37
|
-
Trigger: typeof AlertDialogTrigger;
|
|
38
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { AlertDialog as Root } from './AlertDialog';
|
|
2
|
-
import { AlertDialogAction } from './AlertDialogAction';
|
|
3
|
-
import { AlertDialogBody } from './AlertDialogBody';
|
|
4
|
-
import { AlertDialogCancel } from './AlertDialogCancel';
|
|
5
|
-
import { AlertDialogContent } from './AlertDialogContent';
|
|
6
|
-
import { AlertDialogDescription } from './AlertDialogDescription';
|
|
7
|
-
import { AlertDialogFooter } from './AlertDialogFooter';
|
|
8
|
-
import { AlertDialogHeader } from './AlertDialogHeader';
|
|
9
|
-
import { AlertDialogOverlay } from './AlertDialogOverlay';
|
|
10
|
-
import { AlertDialogPortal } from './AlertDialogPortal';
|
|
11
|
-
import { AlertDialogTitle } from './AlertDialogTitle';
|
|
12
|
-
import { AlertDialogTrigger } from './AlertDialogTrigger';
|
|
13
|
-
export * from './AlertDialog';
|
|
14
|
-
export { useAlertDialog } from './AlertDialogContext';
|
|
15
|
-
export { type AlertDialogActionProps } from './AlertDialogAction';
|
|
16
|
-
export { type AlertDialogBodyProps } from './AlertDialogBody';
|
|
17
|
-
export { type AlertDialogCancelProps } from './AlertDialogCancel';
|
|
18
|
-
export { type AlertDialogContentProps } from './AlertDialogContent';
|
|
19
|
-
export { type AlertDialogDescriptionProps } from './AlertDialogDescription';
|
|
20
|
-
export { type AlertDialogFooterProps } from './AlertDialogFooter';
|
|
21
|
-
export { type AlertDialogHeaderProps } from './AlertDialogHeader';
|
|
22
|
-
export { type AlertDialogOverlayProps } from './AlertDialogOverlay';
|
|
23
|
-
export { type AlertDialogPortalProps } from './AlertDialogPortal';
|
|
24
|
-
export { type AlertDialogTitleProps } from './AlertDialogTitle';
|
|
25
|
-
export { type AlertDialogTriggerProps } from './AlertDialogTrigger';
|
|
26
|
-
export declare const AlertDialog: typeof Root & {
|
|
27
|
-
Action: typeof AlertDialogAction;
|
|
28
|
-
Body: typeof AlertDialogBody;
|
|
29
|
-
Cancel: typeof AlertDialogCancel;
|
|
30
|
-
Content: typeof AlertDialogContent;
|
|
31
|
-
Description: typeof AlertDialogDescription;
|
|
32
|
-
Footer: typeof AlertDialogFooter;
|
|
33
|
-
Header: typeof AlertDialogHeader;
|
|
34
|
-
Overlay: typeof AlertDialogOverlay;
|
|
35
|
-
Portal: typeof AlertDialogPortal;
|
|
36
|
-
Title: typeof AlertDialogTitle;
|
|
37
|
-
Trigger: typeof AlertDialogTrigger;
|
|
38
|
-
};
|
package/dist/avatar/Avatar.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export interface AvatarActionProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
2
|
-
asChild?: boolean;
|
|
3
|
-
angle?: number;
|
|
4
|
-
ariaLabel: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const AvatarAction: {
|
|
7
|
-
({ className, children, asChild, angle, ariaLabel, ...props }: AvatarActionProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export interface AvatarImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
2
|
-
asChild?: boolean;
|
|
3
|
-
}
|
|
4
|
-
export declare const AvatarImage: {
|
|
5
|
-
({ className, asChild, src, onLoad, onError, ...props }: AvatarImageProps): import("react/jsx-runtime").JSX.Element | null;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
interface AvatarOnlineBadgeProps extends ComponentPropsWithoutRef<'div'> {
|
|
3
|
-
angle?: number;
|
|
4
|
-
}
|
|
5
|
-
export declare const AvatarOnlineBadge: {
|
|
6
|
-
({ angle, ...props }: AvatarOnlineBadgeProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
-
displayName: string;
|
|
8
|
-
};
|
|
9
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface AvatarPlaceholderProps extends React.ImgHTMLAttributes<HTMLDivElement> {
|
|
2
|
-
className?: string;
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
}
|
|
5
|
-
export declare const AvatarPlaceholder: {
|
|
6
|
-
({ className, children, ...props }: AvatarPlaceholderProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
displayName: string;
|
|
8
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export interface AvatarImageProps extends React.ImgHTMLAttributes<HTMLDivElement> {
|
|
2
|
-
asChild?: boolean;
|
|
3
|
-
}
|
|
4
|
-
export declare const AvatarUser: {
|
|
5
|
-
({ asChild, children, className, ...props }: AvatarImageProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
package/dist/avatar/context.d.ts
DELETED
package/dist/avatar/index.d.mts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { AvatarImage } from './AvatarImage';
|
|
2
|
-
import { AvatarAction } from './AvatarAction';
|
|
3
|
-
import { AvatarOnlineBadge } from './AvatarOnlineBadge';
|
|
4
|
-
import { AvatarUser } from './AvatarUser';
|
|
5
|
-
import { AvatarPlaceholder } from './AvatarPlaceholder';
|
|
6
|
-
import { AvatarProps } from './types';
|
|
7
|
-
export interface AvatarComponent extends React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>> {
|
|
8
|
-
Image: typeof AvatarImage;
|
|
9
|
-
Action: typeof AvatarAction;
|
|
10
|
-
OnlineBadge: typeof AvatarOnlineBadge;
|
|
11
|
-
User: typeof AvatarUser;
|
|
12
|
-
Placeholder: typeof AvatarPlaceholder;
|
|
13
|
-
}
|
|
14
|
-
declare const AvatarComponent: AvatarComponent;
|
|
15
|
-
export { AvatarComponent as Avatar };
|
package/dist/avatar/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { AvatarImage } from './AvatarImage';
|
|
2
|
-
import { AvatarAction } from './AvatarAction';
|
|
3
|
-
import { AvatarOnlineBadge } from './AvatarOnlineBadge';
|
|
4
|
-
import { AvatarUser } from './AvatarUser';
|
|
5
|
-
import { AvatarPlaceholder } from './AvatarPlaceholder';
|
|
6
|
-
import { AvatarProps } from './types';
|
|
7
|
-
export interface AvatarComponent extends React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>> {
|
|
8
|
-
Image: typeof AvatarImage;
|
|
9
|
-
Action: typeof AvatarAction;
|
|
10
|
-
OnlineBadge: typeof AvatarOnlineBadge;
|
|
11
|
-
User: typeof AvatarUser;
|
|
12
|
-
Placeholder: typeof AvatarPlaceholder;
|
|
13
|
-
}
|
|
14
|
-
declare const AvatarComponent: AvatarComponent;
|
|
15
|
-
export { AvatarComponent as Avatar };
|
package/dist/avatar/types.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { AvatarAction } from './AvatarAction';
|
|
2
|
-
import { AvatarImage } from './AvatarImage';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
export interface AvatarContextValue {
|
|
5
|
-
size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
6
|
-
isOnline: boolean;
|
|
7
|
-
onlineText?: string;
|
|
8
|
-
username: string;
|
|
9
|
-
src?: string;
|
|
10
|
-
shape: 'circle' | 'square';
|
|
11
|
-
pixelSize: number;
|
|
12
|
-
}
|
|
13
|
-
export interface AvatarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
14
|
-
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
15
|
-
isOnline?: boolean;
|
|
16
|
-
onlineText?: string;
|
|
17
|
-
username: string;
|
|
18
|
-
asChild?: boolean;
|
|
19
|
-
shape?: 'circle' | 'square';
|
|
20
|
-
}
|
|
21
|
-
export interface AvatarComponent extends React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>> {
|
|
22
|
-
Image: typeof AvatarImage;
|
|
23
|
-
Action: typeof AvatarAction;
|
|
24
|
-
}
|
package/dist/badge/Badge.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren, Ref } from 'react';
|
|
2
|
-
import { BadgeItemProps } from './BadgeItem';
|
|
3
|
-
export type BadgeProps = PropsWithChildren<Omit<BadgeItemProps, 'type'>> & {
|
|
4
|
-
ref?: Ref<HTMLElement>;
|
|
5
|
-
};
|
|
6
|
-
export declare const Badge: {
|
|
7
|
-
({ children, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, Ref } from 'react';
|
|
2
|
-
import { StylesProps } from './BadgeItem.styles';
|
|
3
|
-
export interface BadgeItemProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'aria-label'>, StylesProps {
|
|
4
|
-
/**
|
|
5
|
-
* Numeric value used as indicator inside the component.
|
|
6
|
-
*/
|
|
7
|
-
count?: number;
|
|
8
|
-
/**
|
|
9
|
-
* Maximum numeric value to be dispayed as a count value.
|
|
10
|
-
* @default 99
|
|
11
|
-
*/
|
|
12
|
-
overflowCount?: number;
|
|
13
|
-
/**
|
|
14
|
-
* A custom label for accessibility purposes. It can also be defined as a builder function
|
|
15
|
-
* to handle dynamic inner data to create a custom label.
|
|
16
|
-
*/
|
|
17
|
-
'aria-label'?: string | (({ count, overflowCount }: {
|
|
18
|
-
count?: number;
|
|
19
|
-
overflowCount?: number;
|
|
20
|
-
}) => string);
|
|
21
|
-
/**
|
|
22
|
-
* Describes the way the component is displayed: relative to another element or just standalone.
|
|
23
|
-
* @default 'relative'
|
|
24
|
-
*/
|
|
25
|
-
type?: 'relative' | 'standalone';
|
|
26
|
-
ref?: Ref<HTMLSpanElement>;
|
|
27
|
-
}
|
|
28
|
-
export declare const BadgeItem: {
|
|
29
|
-
({ intent, size, type, count, overflowCount, "aria-label": label, className, ...others }: BadgeItemProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
displayName: string;
|
|
31
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
export declare const styles: (props?: ({
|
|
3
|
-
intent?: "main" | "alert" | "support" | "accent" | "success" | "info" | "neutral" | "danger" | "surface" | null | undefined;
|
|
4
|
-
size?: "sm" | "md" | null | undefined;
|
|
5
|
-
type?: "relative" | "standalone" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
export type StylesProps = VariantProps<typeof styles>;
|
package/dist/badge/index.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Badge';
|
package/dist/badge/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Badge';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
2
|
-
export interface BreadcrumbProps extends ComponentPropsWithoutRef<'nav'> {
|
|
3
|
-
className?: string;
|
|
4
|
-
['aria-label']: string;
|
|
5
|
-
ref?: Ref<HTMLElement>;
|
|
6
|
-
}
|
|
7
|
-
export declare const Breadcrumb: {
|
|
8
|
-
({ className, "aria-label": ariaLabel, ref, ...rest }: BreadcrumbProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
File without changes
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
2
|
-
import { TextLink } from '../text-link';
|
|
3
|
-
export interface CurrentPageProps extends ComponentPropsWithoutRef<typeof TextLink> {
|
|
4
|
-
asChild?: boolean;
|
|
5
|
-
className?: string;
|
|
6
|
-
ref?: Ref<HTMLAnchorElement>;
|
|
7
|
-
}
|
|
8
|
-
export declare const CurrentPage: {
|
|
9
|
-
({ asChild, className, children, ...rest }: CurrentPageProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
2
|
-
export interface ItemProps extends ComponentPropsWithoutRef<'li'> {
|
|
3
|
-
className?: string;
|
|
4
|
-
ref?: Ref<HTMLLIElement>;
|
|
5
|
-
}
|
|
6
|
-
export declare const Item: {
|
|
7
|
-
({ className, ...rest }: ItemProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
2
|
-
import { TextLink } from '../text-link';
|
|
3
|
-
export interface LinkProps extends ComponentPropsWithoutRef<typeof TextLink> {
|
|
4
|
-
asChild?: boolean;
|
|
5
|
-
className?: string;
|
|
6
|
-
href?: string;
|
|
7
|
-
ref?: Ref<HTMLAnchorElement>;
|
|
8
|
-
}
|
|
9
|
-
export declare const Link: {
|
|
10
|
-
({ asChild, className, bold, intent, underline, href, ref, ...rest }: LinkProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
2
|
-
export interface SeparatorProps extends ComponentPropsWithoutRef<'li'> {
|
|
3
|
-
asChild?: boolean;
|
|
4
|
-
className?: string;
|
|
5
|
-
ref?: Ref<HTMLLIElement>;
|
|
6
|
-
}
|
|
7
|
-
export declare const Separator: {
|
|
8
|
-
({ asChild, className, children, ref, ...rest }: SeparatorProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Breadcrumb as Root } from './Breadcrumb';
|
|
2
|
-
import { CurrentPage } from './BreadcrumbCurrentPage';
|
|
3
|
-
import { Item } from './BreadcrumbItem';
|
|
4
|
-
import { Link } from './BreadcrumbLink';
|
|
5
|
-
import { Separator } from './BreadcrumbSeparator';
|
|
6
|
-
export declare const Breadcrumb: typeof Root & {
|
|
7
|
-
Item: typeof Item;
|
|
8
|
-
Link: typeof Link;
|
|
9
|
-
CurrentPage: typeof CurrentPage;
|
|
10
|
-
Separator: typeof Separator;
|
|
11
|
-
};
|
|
12
|
-
export type { BreadcrumbProps } from './Breadcrumb';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Breadcrumb as Root } from './Breadcrumb';
|
|
2
|
-
import { CurrentPage } from './BreadcrumbCurrentPage';
|
|
3
|
-
import { Item } from './BreadcrumbItem';
|
|
4
|
-
import { Link } from './BreadcrumbLink';
|
|
5
|
-
import { Separator } from './BreadcrumbSeparator';
|
|
6
|
-
export declare const Breadcrumb: typeof Root & {
|
|
7
|
-
Item: typeof Item;
|
|
8
|
-
Link: typeof Link;
|
|
9
|
-
CurrentPage: typeof CurrentPage;
|
|
10
|
-
Separator: typeof Separator;
|
|
11
|
-
};
|
|
12
|
-
export type { BreadcrumbProps } from './Breadcrumb';
|
package/dist/button/Button.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
2
|
-
import { ButtonStylesProps } from './Button.styles';
|
|
3
|
-
export interface ButtonProps extends Omit<ComponentPropsWithoutRef<'button'>, 'disabled'>, ButtonStylesProps {
|
|
4
|
-
/**
|
|
5
|
-
* Change the component to the HTML tag or custom component of the only child.
|
|
6
|
-
*/
|
|
7
|
-
asChild?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Display a spinner to indicate to the user that the button is loading something after they interacted with it.
|
|
10
|
-
*/
|
|
11
|
-
isLoading?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* If your loading state should only display a spinner, it is better to specify a label for it (a11y).
|
|
14
|
-
*/
|
|
15
|
-
loadingLabel?: string;
|
|
16
|
-
/**
|
|
17
|
-
* If your loading state should also display a label, you can use this prop instead of `loadingLabel`.
|
|
18
|
-
* **Please note that using this can result in layout shifting when the Button goes from loading state to normal state.**
|
|
19
|
-
*/
|
|
20
|
-
loadingText?: string;
|
|
21
|
-
ref?: Ref<HTMLButtonElement>;
|
|
22
|
-
}
|
|
23
|
-
export declare const Button: {
|
|
24
|
-
({ children, design, disabled, intent, isLoading, loadingLabel, loadingText, shape, size, asChild, className, underline, ref, ...others }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
displayName: string;
|
|
26
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
export declare const buttonStyles: (props?: ({
|
|
3
|
-
design?: "filled" | "outlined" | "ghost" | "tinted" | "contrast" | null | undefined;
|
|
4
|
-
underline?: boolean | null | undefined;
|
|
5
|
-
intent?: "main" | "alert" | "support" | "accent" | "success" | "info" | "neutral" | "danger" | "surface" | "surfaceInverse" | null | undefined;
|
|
6
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
|
-
shape?: "square" | "rounded" | "pill" | null | undefined;
|
|
8
|
-
disabled?: boolean | null | undefined;
|
|
9
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
-
export type ButtonStylesProps = VariantProps<typeof buttonStyles>;
|
package/dist/button/index.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Button';
|
package/dist/button/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Button';
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export declare const contrastVariants: readonly [{
|
|
2
|
-
readonly intent: "main";
|
|
3
|
-
readonly design: "contrast";
|
|
4
|
-
readonly class: string[];
|
|
5
|
-
}, {
|
|
6
|
-
readonly intent: "support";
|
|
7
|
-
readonly design: "contrast";
|
|
8
|
-
readonly class: string[];
|
|
9
|
-
}, {
|
|
10
|
-
readonly intent: "accent";
|
|
11
|
-
readonly design: "contrast";
|
|
12
|
-
readonly class: string[];
|
|
13
|
-
}, {
|
|
14
|
-
readonly intent: "success";
|
|
15
|
-
readonly design: "contrast";
|
|
16
|
-
readonly class: string[];
|
|
17
|
-
}, {
|
|
18
|
-
readonly intent: "alert";
|
|
19
|
-
readonly design: "contrast";
|
|
20
|
-
readonly class: string[];
|
|
21
|
-
}, {
|
|
22
|
-
readonly intent: "danger";
|
|
23
|
-
readonly design: "contrast";
|
|
24
|
-
readonly class: string[];
|
|
25
|
-
}, {
|
|
26
|
-
readonly intent: "info";
|
|
27
|
-
readonly design: "contrast";
|
|
28
|
-
readonly class: string[];
|
|
29
|
-
}, {
|
|
30
|
-
readonly intent: "neutral";
|
|
31
|
-
readonly design: "contrast";
|
|
32
|
-
readonly class: string[];
|
|
33
|
-
}, {
|
|
34
|
-
readonly intent: "surface";
|
|
35
|
-
readonly design: "contrast";
|
|
36
|
-
readonly class: string[];
|
|
37
|
-
}, {
|
|
38
|
-
readonly intent: "surfaceInverse";
|
|
39
|
-
readonly design: "contrast";
|
|
40
|
-
readonly class: string[];
|
|
41
|
-
}];
|
|
@@ -1,41 +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
|
-
}, {
|
|
38
|
-
readonly intent: "surfaceInverse";
|
|
39
|
-
readonly design: "filled";
|
|
40
|
-
readonly class: string[];
|
|
41
|
-
}];
|