@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,18 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
2
|
-
import { CheckboxGroupStylesProps } from './CheckboxGroup.styles';
|
|
3
|
-
import { CheckboxGroupContextState } from './CheckboxGroupContext';
|
|
4
|
-
export interface CheckboxGroupProps extends Omit<ComponentPropsWithoutRef<'div'>, 'value' | 'defaultValue' | 'onChange'>, CheckboxGroupStylesProps, Pick<CheckboxGroupContextState, 'intent' | 'name' | 'value' | 'reverse'> {
|
|
5
|
-
/**
|
|
6
|
-
* The initial value of the checkbox group
|
|
7
|
-
*/
|
|
8
|
-
defaultValue?: string[];
|
|
9
|
-
/**
|
|
10
|
-
* The callback fired when any children Checkbox is checked or unchecked
|
|
11
|
-
*/
|
|
12
|
-
onCheckedChange?: (value: string[]) => void;
|
|
13
|
-
ref?: Ref<HTMLDivElement>;
|
|
14
|
-
}
|
|
15
|
-
export declare const CheckboxGroup: {
|
|
16
|
-
({ name: nameProp, value: valueProp, defaultValue, className, intent, orientation, onCheckedChange: onCheckedChangeProp, reverse, children, ref, ...others }: CheckboxGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
displayName: string;
|
|
18
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
export declare const checkboxGroupStyles: (props?: ({
|
|
3
|
-
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
4
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
-
export type CheckboxGroupStylesProps = VariantProps<typeof checkboxGroupStyles>;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { CheckboxInputStylesProps } from './CheckboxInput.styles';
|
|
2
|
-
export interface CheckboxGroupContextState extends Pick<CheckboxInputStylesProps, 'intent'> {
|
|
3
|
-
/**
|
|
4
|
-
* The id of the checkbox group.
|
|
5
|
-
*/
|
|
6
|
-
id: string;
|
|
7
|
-
/**
|
|
8
|
-
* The name of the group. Submitted with its owning form as part of a name/value pair.
|
|
9
|
-
*/
|
|
10
|
-
name?: string;
|
|
11
|
-
/**
|
|
12
|
-
* The value of the checkbox group.
|
|
13
|
-
*/
|
|
14
|
-
value?: string[];
|
|
15
|
-
/**
|
|
16
|
-
* A set of ids separated by a space used to describe the input component given by a set of messages.
|
|
17
|
-
*/
|
|
18
|
-
description?: string;
|
|
19
|
-
/**
|
|
20
|
-
* The validation state of the checkbox group.
|
|
21
|
-
*/
|
|
22
|
-
state?: 'error' | 'success' | 'alert';
|
|
23
|
-
/**
|
|
24
|
-
* If true, the checkbox group will be invalid.
|
|
25
|
-
*/
|
|
26
|
-
isInvalid?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* If true, the checkbox group will be required.
|
|
29
|
-
*/
|
|
30
|
-
isRequired?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Callback used to update or notify the value of the checkbox group.
|
|
33
|
-
*/
|
|
34
|
-
onCheckedChange?: (checked: boolean, changed: string) => void;
|
|
35
|
-
/**
|
|
36
|
-
* When true, the label will be placed on the left side of the Checkbox
|
|
37
|
-
*/
|
|
38
|
-
reverse?: boolean;
|
|
39
|
-
}
|
|
40
|
-
export declare const CheckboxGroupContext: import('react').Context<Partial<CheckboxGroupContextState>>;
|
|
41
|
-
export declare const useCheckboxGroup: () => Partial<CheckboxGroupContextState>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Checkbox } from 'radix-ui';
|
|
2
|
-
import { Ref } from 'react';
|
|
3
|
-
export type CheckboxIndicatorProps = Checkbox.CheckboxIndicatorProps & {
|
|
4
|
-
ref?: Ref<HTMLSpanElement>;
|
|
5
|
-
};
|
|
6
|
-
export declare const CheckboxIndicator: {
|
|
7
|
-
(props: CheckboxIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode, Ref } from 'react';
|
|
2
|
-
import { CheckboxInputStylesProps } from './CheckboxInput.styles';
|
|
3
|
-
type CheckedStatus = boolean | 'indeterminate';
|
|
4
|
-
export interface CheckboxInputProps extends CheckboxInputStylesProps, Omit<ComponentPropsWithoutRef<'button'>, 'onChange' | 'value' | 'checked' | 'defaultChecked'> {
|
|
5
|
-
/**
|
|
6
|
-
* The checked icon to use.
|
|
7
|
-
*/
|
|
8
|
-
icon?: ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* The indeterminate icon to use.
|
|
11
|
-
*/
|
|
12
|
-
indeterminateIcon?: ReactNode;
|
|
13
|
-
/**
|
|
14
|
-
* The checked state of the checkbox when it is initially rendered. Use when you do not need to control its checked state.
|
|
15
|
-
*/
|
|
16
|
-
defaultChecked?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* The controlled checked state of the checkbox. Must be used in conjunction with onCheckedChange.
|
|
19
|
-
*/
|
|
20
|
-
checked?: CheckedStatus;
|
|
21
|
-
/**
|
|
22
|
-
* When true, prevents the user from interacting with the checkbox.
|
|
23
|
-
*/
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* When true, indicates that the user must check the checkbox before the owning form can be submitted.
|
|
27
|
-
*/
|
|
28
|
-
required?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* The name of the checkbox. Submitted with its owning form as part of a name/value pair.
|
|
31
|
-
*/
|
|
32
|
-
name?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The value given as data when submitted with a name.
|
|
35
|
-
*/
|
|
36
|
-
value?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Event handler called when the checked state of the checkbox changes.
|
|
39
|
-
*/
|
|
40
|
-
onCheckedChange?: (checked: boolean) => void;
|
|
41
|
-
ref?: Ref<HTMLButtonElement>;
|
|
42
|
-
}
|
|
43
|
-
export declare const CheckboxInput: {
|
|
44
|
-
({ className, icon, indeterminateIcon, intent, checked, ref, ...others }: CheckboxInputProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
-
displayName: string;
|
|
46
|
-
};
|
|
47
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
export declare const checkboxInputStyles: (props?: ({
|
|
3
|
-
intent?: "main" | "alert" | "error" | "support" | "accent" | "success" | "info" | "neutral" | null | undefined;
|
|
4
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
-
export type CheckboxInputStylesProps = VariantProps<typeof checkboxInputStyles>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { LabelProps } from '../label';
|
|
2
|
-
import { LabelStylesProps } from './CheckboxLabel.styles';
|
|
3
|
-
export interface CheckboxLabelProps extends LabelProps, LabelStylesProps {
|
|
4
|
-
/**
|
|
5
|
-
* When true, prevents the user from interacting with the checkbox item.
|
|
6
|
-
*/
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const CheckboxLabel: {
|
|
10
|
-
({ disabled, ...others }: CheckboxLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
export declare const labelStyles: (props?: ({
|
|
3
|
-
disabled?: boolean | null | undefined;
|
|
4
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
-
export type LabelStylesProps = VariantProps<typeof labelStyles>;
|
package/dist/checkbox/index.d.ts
DELETED
package/dist/chip/Chip.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, MouseEvent, Ref } from 'react';
|
|
2
|
-
import { ChipStylesProps } from './Chip.styles';
|
|
3
|
-
type ChipPrimitiveProps = Omit<ComponentPropsWithoutRef<'button'>, 'onClick' | 'disabled' | 'type'>;
|
|
4
|
-
export interface ChipProps extends ChipPrimitiveProps, Omit<ChipStylesProps, 'hasClearButton'> {
|
|
5
|
-
/**
|
|
6
|
-
* Configures a toggleButton aria-pressed initial value
|
|
7
|
-
*/
|
|
8
|
-
defaultPressed?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Configures a toggleButton aria-pressed value
|
|
11
|
-
*/
|
|
12
|
-
pressed?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Change the component to the HTML tag or custom component of the only child.
|
|
15
|
-
*/
|
|
16
|
-
asChild?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Event handler fired each clicking event
|
|
19
|
-
*/
|
|
20
|
-
onClick?: (event: MouseEvent<HTMLButtonElement>, args: {
|
|
21
|
-
pressed: boolean;
|
|
22
|
-
value?: number | string | readonly string[];
|
|
23
|
-
}) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Clear chip handler
|
|
26
|
-
*/
|
|
27
|
-
onClear?: (event?: MouseEvent<HTMLButtonElement>) => void;
|
|
28
|
-
ref?: Ref<HTMLButtonElement | HTMLDivElement>;
|
|
29
|
-
}
|
|
30
|
-
export declare const Chip: {
|
|
31
|
-
({ design, disabled, children, intent, defaultPressed, pressed, asChild, className, onClick, onClear, ref: forwardedRef, ...otherProps }: ChipProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
displayName: string;
|
|
33
|
-
};
|
|
34
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
export declare const chipStyles: (props?: ({
|
|
3
|
-
design?: "outlined" | "dashed" | "tinted" | null | undefined;
|
|
4
|
-
intent?: "main" | "alert" | "support" | "accent" | "success" | "info" | "neutral" | "danger" | "surface" | null | undefined;
|
|
5
|
-
disabled?: boolean | null | undefined;
|
|
6
|
-
hasClearButton?: boolean | null | undefined;
|
|
7
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
-
export type ChipStylesProps = VariantProps<typeof chipStyles>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
2
|
-
import { ChipClearButtonStylesProps } from './ChipClearButton.styles';
|
|
3
|
-
export interface ChipClearButtonProps extends ComponentPropsWithoutRef<'span'>, ChipClearButtonStylesProps {
|
|
4
|
-
label: string;
|
|
5
|
-
ref?: Ref<HTMLSpanElement>;
|
|
6
|
-
}
|
|
7
|
-
export declare const ChipClearButton: {
|
|
8
|
-
({ children, tabIndex, label, ref: forwardedRef, }: ChipClearButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
export declare const chipClearButtonWrapperStyles: (props?: ({
|
|
3
|
-
disabled?: boolean | null | undefined;
|
|
4
|
-
isBordered?: boolean | null | undefined;
|
|
5
|
-
design?: "outlined" | "dashed" | "tinted" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
export declare const chipClearButtonStyles: (props?: ({
|
|
8
|
-
disabled?: boolean | null | undefined;
|
|
9
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
-
export type ChipClearButtonStylesProps = VariantProps<typeof chipClearButtonWrapperStyles>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
2
|
-
export type ChipContentProps = ComponentPropsWithoutRef<'span'> & {
|
|
3
|
-
ref?: Ref<HTMLSpanElement>;
|
|
4
|
-
};
|
|
5
|
-
export declare const ChipContent: {
|
|
6
|
-
({ children, className, ref: forwardedRef }: ChipContentProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
displayName: string;
|
|
8
|
-
};
|
package/dist/chip/ChipIcon.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
2
|
-
export type ChipIconProps = ComponentPropsWithoutRef<'span'> & {
|
|
3
|
-
ref?: Ref<HTMLSpanElement>;
|
|
4
|
-
};
|
|
5
|
-
export declare const ChipIcon: {
|
|
6
|
-
({ children, className, ref: forwardedRef }: ChipIconProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
displayName: string;
|
|
8
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'react';
|
|
2
|
-
import { ChipIconProps } from './ChipIcon';
|
|
3
|
-
export type ChipLeadingIconProps = ChipIconProps & {
|
|
4
|
-
ref?: Ref<HTMLSpanElement>;
|
|
5
|
-
};
|
|
6
|
-
export declare const ChipLeadingIcon: {
|
|
7
|
-
({ className, ref: forwardedRef, ...props }: ChipLeadingIconProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'react';
|
|
2
|
-
import { ChipIconProps } from './ChipIcon';
|
|
3
|
-
export type ChipTrailingIconProps = ChipIconProps & {
|
|
4
|
-
ref?: Ref<HTMLSpanElement>;
|
|
5
|
-
};
|
|
6
|
-
export declare const ChipTrailingIcon: {
|
|
7
|
-
({ className, ref: forwardedRef, ...props }: ChipTrailingIconProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
package/dist/chip/index.d.mts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Chip as Root } from './Chip';
|
|
2
|
-
import { ChipClearButton } from './ChipClearButton';
|
|
3
|
-
import { ChipContent } from './ChipContent';
|
|
4
|
-
import { ChipLeadingIcon } from './ChipLeadingIcon';
|
|
5
|
-
import { ChipTrailingIcon } from './ChipTrailingIcon';
|
|
6
|
-
export declare const Chip: typeof Root & {
|
|
7
|
-
Content: typeof ChipContent;
|
|
8
|
-
LeadingIcon: typeof ChipLeadingIcon;
|
|
9
|
-
TrailingIcon: typeof ChipTrailingIcon;
|
|
10
|
-
ClearButton: typeof ChipClearButton;
|
|
11
|
-
};
|
|
12
|
-
export { type ChipClearButtonProps } from './ChipClearButton';
|
|
13
|
-
export { type ChipContentProps } from './ChipContent';
|
|
14
|
-
export { type ChipLeadingIconProps } from './ChipLeadingIcon';
|
|
15
|
-
export { type ChipTrailingIconProps } from './ChipTrailingIcon';
|
package/dist/chip/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Chip as Root } from './Chip';
|
|
2
|
-
import { ChipClearButton } from './ChipClearButton';
|
|
3
|
-
import { ChipContent } from './ChipContent';
|
|
4
|
-
import { ChipLeadingIcon } from './ChipLeadingIcon';
|
|
5
|
-
import { ChipTrailingIcon } from './ChipTrailingIcon';
|
|
6
|
-
export declare const Chip: typeof Root & {
|
|
7
|
-
Content: typeof ChipContent;
|
|
8
|
-
LeadingIcon: typeof ChipLeadingIcon;
|
|
9
|
-
TrailingIcon: typeof ChipTrailingIcon;
|
|
10
|
-
ClearButton: typeof ChipClearButton;
|
|
11
|
-
};
|
|
12
|
-
export { type ChipClearButtonProps } from './ChipClearButton';
|
|
13
|
-
export { type ChipContentProps } from './ChipContent';
|
|
14
|
-
export { type ChipLeadingIconProps } from './ChipLeadingIcon';
|
|
15
|
-
export { type ChipTrailingIconProps } from './ChipTrailingIcon';
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ElementType, ForwardRefExoticComponent, HTMLAttributes, KeyboardEvent, MouseEvent, ReactNode, RefAttributes } from 'react';
|
|
2
|
-
interface ReturnedValue {
|
|
3
|
-
Element: ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
} & RefAttributes<HTMLElement>> | ElementType;
|
|
6
|
-
chipProps: {
|
|
7
|
-
type: 'button';
|
|
8
|
-
'aria-pressed'?: boolean;
|
|
9
|
-
'data-state'?: 'on' | 'off';
|
|
10
|
-
onClick: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
11
|
-
onKeyDown?: (event: KeyboardEvent<HTMLButtonElement>) => void;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
children: ReactNode;
|
|
14
|
-
} | {
|
|
15
|
-
'aria-disabled'?: boolean;
|
|
16
|
-
children: ReactNode;
|
|
17
|
-
onKeyDown?: (event: KeyboardEvent<HTMLButtonElement>) => void;
|
|
18
|
-
};
|
|
19
|
-
compoundElements: {
|
|
20
|
-
leadingIcon: ReactNode;
|
|
21
|
-
trailingIcon: ReactNode;
|
|
22
|
-
content: ReactNode;
|
|
23
|
-
clearButton: ReactNode;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
export declare const useChipElement: ({ onClick, asChild, pressed, defaultPressed, disabled, value, defaultValue, children, onClear, }: {
|
|
27
|
-
onClick?: (event: MouseEvent<HTMLButtonElement>, args: {
|
|
28
|
-
pressed: boolean;
|
|
29
|
-
value?: string | number | readonly string[];
|
|
30
|
-
}) => void;
|
|
31
|
-
onKeyDown?: (event: KeyboardEvent<HTMLButtonElement>) => void;
|
|
32
|
-
asChild?: boolean;
|
|
33
|
-
pressed?: boolean;
|
|
34
|
-
defaultPressed?: boolean;
|
|
35
|
-
value?: string | number | readonly string[];
|
|
36
|
-
defaultValue?: string | number | readonly string[];
|
|
37
|
-
disabled?: boolean;
|
|
38
|
-
children?: ReactNode;
|
|
39
|
-
onClear?: (event?: MouseEvent<HTMLButtonElement>) => void;
|
|
40
|
-
}) => ReturnedValue;
|
|
41
|
-
export {};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export declare const dashedVariants: readonly [{
|
|
2
|
-
readonly intent: "main";
|
|
3
|
-
readonly design: "dashed";
|
|
4
|
-
readonly class: string[];
|
|
5
|
-
}, {
|
|
6
|
-
readonly intent: "support";
|
|
7
|
-
readonly design: "dashed";
|
|
8
|
-
readonly class: string[];
|
|
9
|
-
}, {
|
|
10
|
-
readonly intent: "accent";
|
|
11
|
-
readonly design: "dashed";
|
|
12
|
-
readonly class: string[];
|
|
13
|
-
}, {
|
|
14
|
-
readonly intent: "success";
|
|
15
|
-
readonly design: "dashed";
|
|
16
|
-
readonly class: string[];
|
|
17
|
-
}, {
|
|
18
|
-
readonly intent: "alert";
|
|
19
|
-
readonly design: "dashed";
|
|
20
|
-
readonly class: string[];
|
|
21
|
-
}, {
|
|
22
|
-
readonly intent: "danger";
|
|
23
|
-
readonly design: "dashed";
|
|
24
|
-
readonly class: string[];
|
|
25
|
-
}, {
|
|
26
|
-
readonly intent: "info";
|
|
27
|
-
readonly design: "dashed";
|
|
28
|
-
readonly class: string[];
|
|
29
|
-
}, {
|
|
30
|
-
readonly intent: "neutral";
|
|
31
|
-
readonly design: "dashed";
|
|
32
|
-
readonly class: string[];
|
|
33
|
-
}, {
|
|
34
|
-
readonly intent: "surface";
|
|
35
|
-
readonly design: "dashed";
|
|
36
|
-
readonly class: string[];
|
|
37
|
-
}, {
|
|
38
|
-
readonly design: "dashed";
|
|
39
|
-
readonly hasClearButton: false;
|
|
40
|
-
readonly class: string[];
|
|
41
|
-
}, {
|
|
42
|
-
readonly design: "dashed";
|
|
43
|
-
readonly hasClearButton: true;
|
|
44
|
-
readonly class: string[];
|
|
45
|
-
}];
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export declare const outlinedVariants: readonly [{
|
|
2
|
-
readonly design: "outlined";
|
|
3
|
-
readonly intent: "main";
|
|
4
|
-
readonly class: string[];
|
|
5
|
-
}, {
|
|
6
|
-
readonly design: "outlined";
|
|
7
|
-
readonly intent: "support";
|
|
8
|
-
readonly class: string[];
|
|
9
|
-
}, {
|
|
10
|
-
readonly intent: "accent";
|
|
11
|
-
readonly design: "outlined";
|
|
12
|
-
readonly class: string[];
|
|
13
|
-
}, {
|
|
14
|
-
readonly design: "outlined";
|
|
15
|
-
readonly intent: "success";
|
|
16
|
-
readonly class: string[];
|
|
17
|
-
}, {
|
|
18
|
-
readonly intent: "alert";
|
|
19
|
-
readonly design: "outlined";
|
|
20
|
-
readonly class: string[];
|
|
21
|
-
}, {
|
|
22
|
-
readonly design: "outlined";
|
|
23
|
-
readonly intent: "danger";
|
|
24
|
-
readonly class: string[];
|
|
25
|
-
}, {
|
|
26
|
-
readonly design: "outlined";
|
|
27
|
-
readonly intent: "info";
|
|
28
|
-
readonly class: string[];
|
|
29
|
-
}, {
|
|
30
|
-
readonly design: "outlined";
|
|
31
|
-
readonly intent: "neutral";
|
|
32
|
-
readonly class: string[];
|
|
33
|
-
}, {
|
|
34
|
-
readonly design: "outlined";
|
|
35
|
-
readonly intent: "surface";
|
|
36
|
-
readonly class: string[];
|
|
37
|
-
}, {
|
|
38
|
-
readonly design: "outlined";
|
|
39
|
-
readonly hasClearButton: false;
|
|
40
|
-
readonly class: string[];
|
|
41
|
-
}, {
|
|
42
|
-
readonly design: "outlined";
|
|
43
|
-
readonly hasClearButton: true;
|
|
44
|
-
readonly class: string[];
|
|
45
|
-
}];
|
|
@@ -1,45 +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
|
-
}, {
|
|
34
|
-
readonly intent: "surface";
|
|
35
|
-
readonly design: "tinted";
|
|
36
|
-
readonly class: string[];
|
|
37
|
-
}, {
|
|
38
|
-
readonly design: "tinted";
|
|
39
|
-
readonly hasClearButton: false;
|
|
40
|
-
readonly class: string[];
|
|
41
|
-
}, {
|
|
42
|
-
readonly design: "tinted";
|
|
43
|
-
readonly hasClearButton: true;
|
|
44
|
-
readonly class: string[];
|
|
45
|
-
}];
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Meter as BaseMeter } from '@base-ui/react/meter';
|
|
2
|
-
import { ComponentProps, PropsWithChildren, Ref } from 'react';
|
|
3
|
-
import { MeterIndicatorStylesProps } from '../meter/MeterTrack.styles';
|
|
4
|
-
import { CircularMeterStylesProps } from './CircularMeter.styles';
|
|
5
|
-
export type CircularMeterSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
-
export interface CircularMeterProps extends Omit<ComponentProps<typeof BaseMeter.Root>, 'render'>, Pick<MeterIndicatorStylesProps, 'intent'>, CircularMeterStylesProps {
|
|
7
|
-
/**
|
|
8
|
-
* Size of the circle.
|
|
9
|
-
*
|
|
10
|
-
* - `sm`: 24px diameter, 4px stroke width
|
|
11
|
-
* - `md`: 64px diameter, 8px stroke width
|
|
12
|
-
* - `lg`: 96px diameter, 8px stroke width
|
|
13
|
-
* - `xl`: 128px diameter, 8px stroke width
|
|
14
|
-
*
|
|
15
|
-
* Defaults to `md`.
|
|
16
|
-
*/
|
|
17
|
-
size?: CircularMeterSize;
|
|
18
|
-
/**
|
|
19
|
-
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
20
|
-
*/
|
|
21
|
-
asChild?: boolean;
|
|
22
|
-
ref?: Ref<HTMLDivElement>;
|
|
23
|
-
/**
|
|
24
|
-
* Orientation of the circular meter.
|
|
25
|
-
*
|
|
26
|
-
* - `vertical`: Elements are stacked vertically (default)
|
|
27
|
-
* - `horizontal`: Elements are arranged horizontally
|
|
28
|
-
*/
|
|
29
|
-
orientation?: 'vertical' | 'horizontal';
|
|
30
|
-
}
|
|
31
|
-
export declare const CircularMeter: {
|
|
32
|
-
({ className, value, max, min, size: sizeProp, intent, orientation, children, ref, ...others }: PropsWithChildren<CircularMeterProps>): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
displayName: string;
|
|
34
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
export declare const circularMeterStyles: (props?: ({
|
|
3
|
-
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
4
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
-
export type CircularMeterStylesProps = VariantProps<typeof circularMeterStyles>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, PropsWithChildren } from 'react';
|
|
2
|
-
export type CircularMeterContentProps = ComponentProps<'div'> & PropsWithChildren;
|
|
3
|
-
export declare const CircularMeterContent: {
|
|
4
|
-
({ className, children, ...others }: CircularMeterContentProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
displayName: string;
|
|
6
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { MeterIndicatorStylesProps } from '../meter/MeterTrack.styles';
|
|
2
|
-
import { CircularMeterSize } from './CircularMeter';
|
|
3
|
-
export interface CircularMeterContextValue {
|
|
4
|
-
value: number;
|
|
5
|
-
max: number;
|
|
6
|
-
min: number;
|
|
7
|
-
intent: MeterIndicatorStylesProps['intent'];
|
|
8
|
-
onLabelId: (id?: string) => void;
|
|
9
|
-
/**
|
|
10
|
-
* Size variant of the circular meter.
|
|
11
|
-
*/
|
|
12
|
-
sizeProp: CircularMeterSize;
|
|
13
|
-
/**
|
|
14
|
-
* Orientation of the circular meter.
|
|
15
|
-
*/
|
|
16
|
-
orientation: 'vertical' | 'horizontal';
|
|
17
|
-
/**
|
|
18
|
-
* Diameter of the SVG circle in pixels.
|
|
19
|
-
*/
|
|
20
|
-
size: number;
|
|
21
|
-
/**
|
|
22
|
-
* Radius of the SVG circle in pixels.
|
|
23
|
-
*/
|
|
24
|
-
radius: number;
|
|
25
|
-
/**
|
|
26
|
-
* Circumference of the SVG circle in pixels.
|
|
27
|
-
*/
|
|
28
|
-
circumference: number;
|
|
29
|
-
/**
|
|
30
|
-
* Stroke width of the SVG circle in pixels.
|
|
31
|
-
*/
|
|
32
|
-
strokeWidth: number;
|
|
33
|
-
}
|
|
34
|
-
export declare const CircularMeterContext: import('react').Context<CircularMeterContextValue | null>;
|
|
35
|
-
export declare const ID_PREFIX = ":circular-meter";
|
|
36
|
-
export declare const useCircularMeter: () => CircularMeterContextValue;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meter as BaseMeter } from '@base-ui/react/meter';
|
|
2
|
-
import { ComponentProps } from 'react';
|
|
3
|
-
export type CircularMeterLabelProps = Omit<ComponentProps<typeof BaseMeter.Label>, 'render'>;
|
|
4
|
-
export declare const CircularMeterLabel: {
|
|
5
|
-
({ id: idProp, children, className, ref: forwardedRef, ...others }: CircularMeterLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meter as BaseMeter } from '@base-ui/react/meter';
|
|
2
|
-
import { ComponentProps, PropsWithChildren } from 'react';
|
|
3
|
-
export declare const useCircularMeterTrack: () => boolean;
|
|
4
|
-
export type CircularMeterTrackProps = Omit<ComponentProps<typeof BaseMeter.Track>, 'render'> & PropsWithChildren;
|
|
5
|
-
export declare const CircularMeterTrack: {
|
|
6
|
-
({ className, children, ...others }: CircularMeterTrackProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
displayName: string;
|
|
8
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meter as BaseMeter } from '@base-ui/react/meter';
|
|
2
|
-
import { ComponentProps, PropsWithChildren } from 'react';
|
|
3
|
-
export type CircularMeterValueProps = Omit<ComponentProps<typeof BaseMeter.Value>, 'render'>;
|
|
4
|
-
export declare const CircularMeterValue: {
|
|
5
|
-
({ className, children, ...others }: PropsWithChildren<CircularMeterValueProps>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CircularMeter as Root } from './CircularMeter';
|
|
2
|
-
import { CircularMeterContent } from './CircularMeterContent';
|
|
3
|
-
import { CircularMeterLabel } from './CircularMeterLabel';
|
|
4
|
-
import { CircularMeterTrack } from './CircularMeterTrack';
|
|
5
|
-
import { CircularMeterValue } from './CircularMeterValue';
|
|
6
|
-
export declare const CircularMeter: typeof Root & {
|
|
7
|
-
Content: typeof CircularMeterContent;
|
|
8
|
-
Label: typeof CircularMeterLabel;
|
|
9
|
-
Track: typeof CircularMeterTrack;
|
|
10
|
-
Value: typeof CircularMeterValue;
|
|
11
|
-
};
|
|
12
|
-
export { type CircularMeterProps } from './CircularMeter';
|
|
13
|
-
export { type CircularMeterContentProps } from './CircularMeterContent';
|
|
14
|
-
export { type CircularMeterLabelProps } from './CircularMeterLabel';
|
|
15
|
-
export { type CircularMeterTrackProps } from './CircularMeterTrack';
|
|
16
|
-
export { type CircularMeterValueProps } from './CircularMeterValue';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CircularMeter as Root } from './CircularMeter';
|
|
2
|
-
import { CircularMeterContent } from './CircularMeterContent';
|
|
3
|
-
import { CircularMeterLabel } from './CircularMeterLabel';
|
|
4
|
-
import { CircularMeterTrack } from './CircularMeterTrack';
|
|
5
|
-
import { CircularMeterValue } from './CircularMeterValue';
|
|
6
|
-
export declare const CircularMeter: typeof Root & {
|
|
7
|
-
Content: typeof CircularMeterContent;
|
|
8
|
-
Label: typeof CircularMeterLabel;
|
|
9
|
-
Track: typeof CircularMeterTrack;
|
|
10
|
-
Value: typeof CircularMeterValue;
|
|
11
|
-
};
|
|
12
|
-
export { type CircularMeterProps } from './CircularMeter';
|
|
13
|
-
export { type CircularMeterContentProps } from './CircularMeterContent';
|
|
14
|
-
export { type CircularMeterLabelProps } from './CircularMeterLabel';
|
|
15
|
-
export { type CircularMeterTrackProps } from './CircularMeterTrack';
|
|
16
|
-
export { type CircularMeterValueProps } from './CircularMeterValue';
|