@spark-ui/components 17.2.2 → 17.2.3-beta.1
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/carousel/index.js.map +1 -1
- package/dist/carousel/index.mjs.map +1 -1
- package/dist/checkbox/index.js.map +1 -1
- package/dist/checkbox/index.mjs.map +1 -1
- package/dist/src/accordion/Accordion.d.ts +27 -0
- package/dist/src/accordion/AccordionItem.d.ts +12 -0
- package/dist/src/accordion/AccordionItemContent.d.ts +12 -0
- package/dist/src/accordion/AccordionItemHeader.d.ts +9 -0
- package/dist/src/accordion/AccordionItemTrigger.d.ts +12 -0
- package/dist/src/accordion/index.d.mts +15 -0
- package/dist/src/accordion/index.d.ts +15 -0
- package/dist/src/accordion/useRenderSlot.d.ts +3 -0
- package/dist/src/alert-dialog/AlertDialog.d.ts +29 -0
- package/dist/src/alert-dialog/AlertDialogAction.d.ts +13 -0
- package/dist/src/alert-dialog/AlertDialogBody.d.ts +12 -0
- package/dist/src/alert-dialog/AlertDialogCancel.d.ts +13 -0
- package/dist/src/alert-dialog/AlertDialogContent.d.ts +9 -0
- package/dist/src/alert-dialog/AlertDialogContext.d.ts +12 -0
- package/dist/src/alert-dialog/AlertDialogDescription.d.ts +9 -0
- package/dist/src/alert-dialog/AlertDialogFooter.d.ts +10 -0
- package/dist/src/alert-dialog/AlertDialogHeader.d.ts +10 -0
- package/dist/src/alert-dialog/AlertDialogOverlay.d.ts +9 -0
- package/dist/src/alert-dialog/AlertDialogPortal.d.ts +7 -0
- package/dist/src/alert-dialog/AlertDialogTitle.d.ts +9 -0
- package/dist/src/alert-dialog/AlertDialogTrigger.d.ts +13 -0
- package/dist/src/alert-dialog/index.d.mts +38 -0
- package/dist/src/alert-dialog/index.d.ts +38 -0
- package/dist/src/alert-dialog/useRenderSlot.d.ts +3 -0
- package/dist/src/avatar/Avatar.d.ts +3 -0
- package/dist/src/avatar/AvatarAction.d.ts +9 -0
- package/dist/src/avatar/AvatarImage.d.ts +7 -0
- package/dist/src/avatar/AvatarOnlineBadge.d.ts +9 -0
- package/dist/src/avatar/AvatarPlaceholder.d.ts +8 -0
- package/dist/src/avatar/AvatarUser.d.ts +7 -0
- package/dist/src/avatar/context.d.ts +5 -0
- package/dist/src/avatar/index.d.mts +15 -0
- package/dist/src/avatar/index.d.ts +15 -0
- package/dist/src/avatar/types.d.ts +24 -0
- package/dist/src/badge/Badge.d.ts +9 -0
- package/dist/src/badge/BadgeItem.d.ts +31 -0
- package/dist/src/badge/BadgeItem.styles.d.ts +7 -0
- package/dist/src/badge/index.d.mts +1 -0
- package/dist/src/badge/index.d.ts +1 -0
- package/dist/src/breadcrumb/Breadcrumb.d.ts +10 -0
- package/dist/src/breadcrumb/Breadcrumb.styles.d.ts +0 -0
- package/dist/src/breadcrumb/BreadcrumbCurrentPage.d.ts +11 -0
- package/dist/src/breadcrumb/BreadcrumbItem.d.ts +9 -0
- package/dist/src/breadcrumb/BreadcrumbLink.d.ts +12 -0
- package/dist/src/breadcrumb/BreadcrumbSeparator.d.ts +10 -0
- package/dist/src/breadcrumb/index.d.mts +12 -0
- package/dist/src/breadcrumb/index.d.ts +12 -0
- package/dist/src/button/Button.d.ts +26 -0
- package/dist/src/button/Button.styles.d.ts +10 -0
- package/dist/src/button/index.d.mts +1 -0
- package/dist/src/button/index.d.ts +1 -0
- package/dist/src/button/variants/contrast.d.ts +41 -0
- package/dist/src/button/variants/filled.d.ts +41 -0
- package/dist/src/button/variants/ghost.d.ts +41 -0
- package/dist/src/button/variants/index.d.mts +5 -0
- package/dist/src/button/variants/index.d.ts +5 -0
- package/dist/src/button/variants/outlined.d.ts +41 -0
- package/dist/src/button/variants/tinted.d.ts +41 -0
- package/dist/src/card/Backdrop.d.ts +14 -0
- package/dist/src/card/Card.d.ts +16 -0
- package/dist/src/card/Card.styles.d.ts +7 -0
- package/dist/src/card/Content.d.ts +15 -0
- package/dist/src/card/Content.styles.d.ts +8 -0
- package/dist/src/card/context.d.ts +11 -0
- package/dist/src/card/index.d.mts +8 -0
- package/dist/src/card/index.d.ts +8 -0
- package/dist/src/card/utils.d.ts +3 -0
- package/dist/src/carousel/Carousel.d.ts +12 -0
- package/dist/src/carousel/CarouselControls.d.ts +9 -0
- package/dist/src/carousel/CarouselNextButton.d.ts +5 -0
- package/dist/src/carousel/CarouselPageIndicator.d.ts +14 -0
- package/dist/src/carousel/CarouselPagePicker.d.ts +14 -0
- package/dist/src/carousel/CarouselPrevButton.d.ts +5 -0
- package/dist/src/carousel/CarouselSlide.d.ts +12 -0
- package/dist/src/carousel/CarouselSlides.d.ts +10 -0
- package/dist/src/carousel/CarouselViewport.d.ts +9 -0
- package/dist/src/carousel/index.d.mts +19 -0
- package/dist/src/carousel/index.d.ts +19 -0
- package/dist/src/carousel/types.d.ts +165 -0
- package/dist/src/carousel/useCarousel.d.ts +2 -0
- package/dist/src/carousel/useCarouselVisibility.d.ts +13 -0
- package/dist/src/carousel/useEvent.d.ts +7 -0
- package/dist/src/carousel/useIsMounted.d.ts +1 -0
- package/dist/src/carousel/useIsVisible.d.ts +6 -0
- package/dist/src/carousel/useResizeObserver.d.ts +2 -0
- package/dist/src/carousel/useScrollEnd.d.ts +3 -0
- package/dist/src/carousel/useSnapPoints.d.ts +10 -0
- package/dist/src/carousel/utils.d.ts +24 -0
- package/dist/src/checkbox/Checkbox.d.ts +10 -0
- package/dist/src/checkbox/CheckboxGroup.d.ts +18 -0
- package/dist/src/checkbox/CheckboxGroup.styles.d.ts +5 -0
- package/dist/src/checkbox/CheckboxGroupContext.d.ts +41 -0
- package/dist/src/checkbox/CheckboxIndicator.d.ts +9 -0
- package/dist/src/checkbox/CheckboxInput.d.ts +47 -0
- package/dist/src/checkbox/CheckboxInput.styles.d.ts +5 -0
- package/dist/src/checkbox/CheckboxLabel.d.ts +12 -0
- package/dist/src/checkbox/CheckboxLabel.styles.d.ts +5 -0
- package/dist/src/checkbox/index.d.mts +2 -0
- package/dist/src/checkbox/index.d.ts +2 -0
- package/dist/src/chip/Chip.d.ts +34 -0
- package/dist/src/chip/Chip.styles.d.ts +8 -0
- package/dist/src/chip/ChipClearButton.d.ts +10 -0
- package/dist/src/chip/ChipClearButton.styles.d.ts +10 -0
- package/dist/src/chip/ChipContent.d.ts +8 -0
- package/dist/src/chip/ChipIcon.d.ts +8 -0
- package/dist/src/chip/ChipLeadingIcon.d.ts +9 -0
- package/dist/src/chip/ChipTrailingIcon.d.ts +9 -0
- package/dist/src/chip/index.d.mts +15 -0
- package/dist/src/chip/index.d.ts +15 -0
- package/dist/src/chip/useChipContext.d.ts +4 -0
- package/dist/src/chip/useChipElement.d.ts +41 -0
- package/dist/src/chip/variants/dashed.d.ts +45 -0
- package/dist/src/chip/variants/index.d.mts +3 -0
- package/dist/src/chip/variants/index.d.ts +3 -0
- package/dist/src/chip/variants/outlined.d.ts +45 -0
- package/dist/src/chip/variants/tinted.d.ts +45 -0
- package/dist/src/circular-meter/CircularMeter.d.ts +34 -0
- package/dist/src/circular-meter/CircularMeter.styles.d.ts +5 -0
- package/dist/src/circular-meter/CircularMeterContent.d.ts +6 -0
- package/dist/src/circular-meter/CircularMeterContext.d.ts +36 -0
- package/dist/src/circular-meter/CircularMeterLabel.d.ts +7 -0
- package/dist/src/circular-meter/CircularMeterTrack.d.ts +8 -0
- package/dist/src/circular-meter/CircularMeterValue.d.ts +7 -0
- package/dist/src/circular-meter/index.d.mts +16 -0
- package/dist/src/circular-meter/index.d.ts +16 -0
- package/dist/src/circular-meter/useIntersectionAnimation.d.ts +26 -0
- package/dist/src/collapsible/Content.d.ts +12 -0
- package/dist/src/collapsible/Root.d.ts +12 -0
- package/dist/src/collapsible/Trigger.d.ts +11 -0
- package/dist/src/collapsible/index.d.mts +7 -0
- package/dist/src/collapsible/index.d.ts +7 -0
- package/dist/src/collapsible/useRenderSlot.d.ts +3 -0
- package/dist/src/combobox/Combobox.d.ts +6 -0
- package/dist/src/combobox/ComboboxClearButton.d.ts +9 -0
- package/dist/src/combobox/ComboboxContext.d.ts +108 -0
- package/dist/src/combobox/ComboboxDisclosure.d.ts +13 -0
- package/dist/src/combobox/ComboboxEmpty.d.ts +11 -0
- package/dist/src/combobox/ComboboxGroup.d.ts +11 -0
- package/dist/src/combobox/ComboboxInput.d.ts +15 -0
- package/dist/src/combobox/ComboboxItem.d.ts +12 -0
- package/dist/src/combobox/ComboboxItemContext.d.ts +17 -0
- package/dist/src/combobox/ComboboxItemIndicator.d.ts +11 -0
- package/dist/src/combobox/ComboboxItemText.d.ts +10 -0
- package/dist/src/combobox/ComboboxItems.d.ts +11 -0
- package/dist/src/combobox/ComboboxItemsGroupContext.d.ts +8 -0
- package/dist/src/combobox/ComboboxLabel.d.ts +11 -0
- package/dist/src/combobox/ComboboxLeadingIcon.d.ts +7 -0
- package/dist/src/combobox/ComboboxPopover.d.ts +10 -0
- package/dist/src/combobox/ComboboxPortal.d.ts +2 -0
- package/dist/src/combobox/ComboboxSelectedItems.d.ts +4 -0
- package/dist/src/combobox/ComboboxTrigger.d.ts +11 -0
- package/dist/src/combobox/ComboboxTrigger.styles.d.ts +6 -0
- package/dist/src/combobox/index.d.mts +35 -0
- package/dist/src/combobox/index.d.ts +35 -0
- package/dist/src/combobox/tests/test-utils.d.ts +8 -0
- package/dist/src/combobox/types.d.ts +8 -0
- package/dist/src/combobox/useCombobox/multipleSelectionReducer.d.ts +13 -0
- package/dist/src/combobox/useCombobox/singleSelectionReducer.d.ts +8 -0
- package/dist/src/combobox/utils/index.d.mts +14 -0
- package/dist/src/combobox/utils/index.d.ts +14 -0
- package/dist/src/combobox/utils/useWidthIncreaseCallback.d.ts +2 -0
- package/dist/src/dialog/Dialog.d.ts +33 -0
- package/dist/src/dialog/DialogBody.d.ts +12 -0
- package/dist/src/dialog/DialogClose.d.ts +10 -0
- package/dist/src/dialog/DialogCloseButton.d.ts +9 -0
- package/dist/src/dialog/DialogContent.d.ts +14 -0
- package/dist/src/dialog/DialogContent.styles.d.ts +6 -0
- package/dist/src/dialog/DialogContext.d.ts +11 -0
- package/dist/src/dialog/DialogDescription.d.ts +9 -0
- package/dist/src/dialog/DialogFooter.d.ts +10 -0
- package/dist/src/dialog/DialogHeader.d.ts +10 -0
- package/dist/src/dialog/DialogOverlay.d.ts +9 -0
- package/dist/src/dialog/DialogPortal.d.ts +7 -0
- package/dist/src/dialog/DialogTitle.d.ts +9 -0
- package/dist/src/dialog/DialogTrigger.d.ts +13 -0
- package/dist/src/dialog/index.d.mts +37 -0
- package/dist/src/dialog/index.d.ts +37 -0
- package/dist/src/divider/Divider.d.ts +30 -0
- package/dist/src/divider/Divider.styles.d.ts +9 -0
- package/dist/src/divider/DividerContent.d.ts +13 -0
- package/dist/src/divider/index.d.mts +6 -0
- package/dist/src/divider/index.d.ts +6 -0
- package/dist/src/divider/variants/intents.d.ts +17 -0
- package/dist/src/drawer/Drawer.d.ts +32 -0
- package/dist/src/drawer/DrawerBody.d.ts +11 -0
- package/dist/src/drawer/DrawerBody.styles.d.ts +5 -0
- package/dist/src/drawer/DrawerClose.d.ts +13 -0
- package/dist/src/drawer/DrawerCloseButton.d.ts +7 -0
- package/dist/src/drawer/DrawerContent.d.ts +10 -0
- package/dist/src/drawer/DrawerContent.styles.d.ts +6 -0
- package/dist/src/drawer/DrawerContext.d.ts +9 -0
- package/dist/src/drawer/DrawerDescription.d.ts +9 -0
- package/dist/src/drawer/DrawerFooter.d.ts +8 -0
- package/dist/src/drawer/DrawerHeader.d.ts +10 -0
- package/dist/src/drawer/DrawerOverlay.d.ts +9 -0
- package/dist/src/drawer/DrawerPortal.d.ts +7 -0
- package/dist/src/drawer/DrawerTitle.d.ts +9 -0
- package/dist/src/drawer/DrawerTrigger.d.ts +13 -0
- package/dist/src/drawer/index.d.mts +37 -0
- package/dist/src/drawer/index.d.ts +37 -0
- package/dist/src/drawer/useRenderSlot.d.ts +3 -0
- package/dist/src/dropdown/Dropdown.d.ts +6 -0
- package/dist/src/dropdown/DropdownContext.d.ts +81 -0
- package/dist/src/dropdown/DropdownDivider.d.ts +10 -0
- package/dist/src/dropdown/DropdownGroup.d.ts +11 -0
- package/dist/src/dropdown/DropdownItem.d.ts +12 -0
- package/dist/src/dropdown/DropdownItemContext.d.ts +17 -0
- package/dist/src/dropdown/DropdownItemIndicator.d.ts +11 -0
- package/dist/src/dropdown/DropdownItemText.d.ts +9 -0
- package/dist/src/dropdown/DropdownItems.d.ts +21 -0
- package/dist/src/dropdown/DropdownItemsGroupContext.d.ts +8 -0
- package/dist/src/dropdown/DropdownLabel.d.ts +11 -0
- package/dist/src/dropdown/DropdownLeadingIcon.d.ts +7 -0
- package/dist/src/dropdown/DropdownPopover.d.ts +6 -0
- package/dist/src/dropdown/DropdownPortal.d.ts +2 -0
- package/dist/src/dropdown/DropdownTrigger.d.ts +12 -0
- package/dist/src/dropdown/DropdownTrigger.styles.d.ts +5 -0
- package/dist/src/dropdown/DropdownValue.d.ts +11 -0
- package/dist/src/dropdown/index.d.mts +29 -0
- package/dist/src/dropdown/index.d.ts +29 -0
- package/dist/src/dropdown/types.d.ts +8 -0
- package/dist/src/dropdown/useDropdown.d.ts +41 -0
- package/dist/src/dropdown/utils.d.ts +13 -0
- package/dist/src/file-upload/FileUpload.d.ts +130 -0
- package/dist/src/file-upload/FileUploadAcceptedFile.d.ts +25 -0
- package/dist/src/file-upload/FileUploadContext.d.ts +17 -0
- package/dist/src/file-upload/FileUploadDropzone.d.ts +10 -0
- package/dist/src/file-upload/FileUploadItemDeleteTrigger.d.ts +11 -0
- package/dist/src/file-upload/FileUploadPreviewImage.d.ts +17 -0
- package/dist/src/file-upload/FileUploadRejectedFile.d.ts +24 -0
- package/dist/src/file-upload/FileUploadRejectedFileDeleteTrigger.d.ts +12 -0
- package/dist/src/file-upload/FileUploadTrigger.d.ts +12 -0
- package/dist/src/file-upload/constants.d.ts +29 -0
- package/dist/src/file-upload/index.d.mts +22 -0
- package/dist/src/file-upload/index.d.ts +22 -0
- package/dist/src/file-upload/test-utils.d.ts +9 -0
- package/dist/src/file-upload/useFileUploadState.d.ts +88 -0
- package/dist/src/file-upload/utils.d.ts +40 -0
- package/dist/src/form-field/FormField.d.ts +21 -0
- package/dist/src/form-field/FormFieldAlertMessage.d.ts +9 -0
- package/dist/src/form-field/FormFieldCharactersCount.d.ts +26 -0
- package/dist/src/form-field/FormFieldContext.d.ts +49 -0
- package/dist/src/form-field/FormFieldControl.d.ts +12 -0
- package/dist/src/form-field/FormFieldErrorMessage.d.ts +9 -0
- package/dist/src/form-field/FormFieldHelperMessage.d.ts +9 -0
- package/dist/src/form-field/FormFieldLabel.d.ts +13 -0
- package/dist/src/form-field/FormFieldMessage.d.ts +8 -0
- package/dist/src/form-field/FormFieldProvider.d.ts +9 -0
- package/dist/src/form-field/FormFieldRequiredIndicator.d.ts +9 -0
- package/dist/src/form-field/FormFieldStateMessage.d.ts +10 -0
- package/dist/src/form-field/FormFieldSuccessMessage.d.ts +9 -0
- package/dist/src/form-field/index.d.mts +31 -0
- package/dist/src/form-field/index.d.ts +31 -0
- package/dist/src/icon/Icon.d.ts +17 -0
- package/dist/src/icon/Icon.styles.d.ts +6 -0
- package/dist/src/icon/index.d.mts +1 -0
- package/dist/src/icon/index.d.ts +1 -0
- package/dist/src/icon-button/IconButton.d.ts +10 -0
- package/dist/src/icon-button/IconButton.styles.d.ts +5 -0
- package/dist/src/icon-button/index.d.mts +1 -0
- package/dist/src/icon-button/index.d.ts +1 -0
- package/dist/src/input/Input.d.ts +14 -0
- package/dist/src/input/Input.styles.d.ts +11 -0
- package/dist/src/input/InputAddon.d.ts +9 -0
- package/dist/src/input/InputAddon.styles.d.ts +9 -0
- package/dist/src/input/InputClearButton.d.ts +12 -0
- package/dist/src/input/InputGroup.d.ts +17 -0
- package/dist/src/input/InputGroup.styles.d.ts +6 -0
- package/dist/src/input/InputGroupContext.d.ts +14 -0
- package/dist/src/input/InputIcon.d.ts +6 -0
- package/dist/src/input/InputLeadingAddon.d.ts +11 -0
- package/dist/src/input/InputLeadingIcon.d.ts +7 -0
- package/dist/src/input/InputTrailingAddon.d.ts +11 -0
- package/dist/src/input/InputTrailingIcon.d.ts +7 -0
- package/dist/src/input/index.d.mts +21 -0
- package/dist/src/input/index.d.ts +21 -0
- package/dist/src/input-otp/InputOTP.d.ts +90 -0
- package/dist/src/input-otp/InputOTP.styles.d.ts +10 -0
- package/dist/src/input-otp/InputOTPContext.d.ts +17 -0
- package/dist/src/input-otp/InputOTPGroup.d.ts +7 -0
- package/dist/src/input-otp/InputOTPSeparator.d.ts +7 -0
- package/dist/src/input-otp/InputOTPSlot.d.ts +12 -0
- package/dist/src/input-otp/index.d.mts +14 -0
- package/dist/src/input-otp/index.d.ts +14 -0
- package/dist/src/input-otp/useInputOTP.d.ts +48 -0
- package/dist/src/kbd/Kbd.d.ts +5 -0
- package/dist/src/kbd/index.d.mts +1 -0
- package/dist/src/kbd/index.d.ts +1 -0
- package/dist/src/label/Label.d.ts +9 -0
- package/dist/src/label/LabelRequiredIndicator.d.ts +6 -0
- package/dist/src/label/index.d.mts +7 -0
- package/dist/src/label/index.d.ts +7 -0
- package/dist/src/link-box/LinkBox.d.ts +8 -0
- package/dist/src/link-box/LinkBoxLink.d.ts +8 -0
- package/dist/src/link-box/LinkBoxRaised.d.ts +9 -0
- package/dist/src/link-box/index.d.mts +9 -0
- package/dist/src/link-box/index.d.ts +9 -0
- package/dist/src/meter/Meter.d.ts +18 -0
- package/dist/src/meter/MeterContext.d.ts +12 -0
- package/dist/src/meter/MeterLabel.d.ts +7 -0
- package/dist/src/meter/MeterTrack.d.ts +7 -0
- package/dist/src/meter/MeterTrack.styles.d.ts +8 -0
- package/dist/src/meter/MeterValue.d.ts +9 -0
- package/dist/src/meter/index.d.mts +13 -0
- package/dist/src/meter/index.d.ts +13 -0
- package/dist/src/meter/useIntersectionAnimation.d.ts +26 -0
- package/dist/src/pagination/Pagination.d.ts +8 -0
- package/dist/src/pagination/PaginationContext.d.ts +43 -0
- package/dist/src/pagination/PaginationEllipsis.d.ts +9 -0
- package/dist/src/pagination/PaginationFirstPageTrigger.d.ts +22 -0
- package/dist/src/pagination/PaginationItem.d.ts +31 -0
- package/dist/src/pagination/PaginationLastPageTrigger.d.ts +22 -0
- package/dist/src/pagination/PaginationNextTrigger.d.ts +22 -0
- package/dist/src/pagination/PaginationPages.d.ts +16 -0
- package/dist/src/pagination/PaginationPrevTrigger.d.ts +22 -0
- package/dist/src/pagination/index.d.mts +18 -0
- package/dist/src/pagination/index.d.ts +18 -0
- package/dist/src/pagination/utils.d.ts +1 -0
- package/dist/src/popover/Popover.d.ts +9 -0
- package/dist/src/popover/PopoverAnchor.d.ts +9 -0
- package/dist/src/popover/PopoverArrow.d.ts +9 -0
- package/dist/src/popover/PopoverCloseButton.d.ts +10 -0
- package/dist/src/popover/PopoverContent.d.ts +10 -0
- package/dist/src/popover/PopoverContent.styles.d.ts +9 -0
- package/dist/src/popover/PopoverContext.d.ts +15 -0
- package/dist/src/popover/PopoverHeader.d.ts +10 -0
- package/dist/src/popover/PopoverPortal.d.ts +7 -0
- package/dist/src/popover/PopoverTrigger.d.ts +9 -0
- package/dist/src/popover/index.d.mts +17 -0
- package/dist/src/popover/index.d.ts +17 -0
- package/dist/src/portal/Portal.d.ts +10 -0
- package/dist/src/portal/index.d.mts +1 -0
- package/dist/src/portal/index.d.ts +1 -0
- package/dist/src/progress/Progress.d.ts +24 -0
- package/dist/src/progress/ProgressContext.d.ts +13 -0
- package/dist/src/progress/ProgressIndicator.d.ts +13 -0
- package/dist/src/progress/ProgressLabel.d.ts +7 -0
- package/dist/src/progress/ProgressTrack.d.ts +7 -0
- package/dist/src/progress/ProgressValue.d.ts +7 -0
- package/dist/src/progress/index.d.mts +13 -0
- package/dist/src/progress/index.d.ts +13 -0
- package/dist/src/progress-tracker/ProgressTracker.d.ts +27 -0
- package/dist/src/progress-tracker/ProgressTracker.styles.d.ts +1 -0
- package/dist/src/progress-tracker/ProgressTrackerContext.d.ts +15 -0
- package/dist/src/progress-tracker/ProgressTrackerStep.d.ts +12 -0
- package/dist/src/progress-tracker/ProgressTrackerStep.styles.d.ts +10 -0
- package/dist/src/progress-tracker/ProgressTrackerStepIndicator.d.ts +15 -0
- package/dist/src/progress-tracker/ProgressTrackerStepIndicator.styles.d.ts +7 -0
- package/dist/src/progress-tracker/ProgressTrackerStepLabel.d.ts +9 -0
- package/dist/src/progress-tracker/index.d.mts +10 -0
- package/dist/src/progress-tracker/index.d.ts +10 -0
- package/dist/src/radio-group/Radio.d.ts +9 -0
- package/dist/src/radio-group/RadioGroup.d.ts +54 -0
- package/dist/src/radio-group/RadioGroup.styles.d.ts +5 -0
- package/dist/src/radio-group/RadioGroupContext.d.ts +5 -0
- package/dist/src/radio-group/RadioGroupProvider.d.ts +7 -0
- package/dist/src/radio-group/RadioIndicator.d.ts +18 -0
- package/dist/src/radio-group/RadioIndicator.styles.d.ts +5 -0
- package/dist/src/radio-group/RadioInput.d.ts +25 -0
- package/dist/src/radio-group/RadioInput.styles.d.ts +5 -0
- package/dist/src/radio-group/RadioLabel.d.ts +20 -0
- package/dist/src/radio-group/RadioLabel.styles.d.ts +5 -0
- package/dist/src/radio-group/index.d.mts +7 -0
- package/dist/src/radio-group/index.d.ts +7 -0
- package/dist/src/rating/Rating.d.ts +57 -0
- package/dist/src/rating/RatingStar.d.ts +19 -0
- package/dist/src/rating/RatingStar.styles.d.ts +14 -0
- package/dist/src/rating/index.d.mts +1 -0
- package/dist/src/rating/index.d.ts +1 -0
- package/dist/src/rating/types.d.ts +2 -0
- package/dist/src/rating/utils.d.ts +7 -0
- package/dist/src/rating-display/RatingDisplay.d.ts +31 -0
- package/dist/src/rating-display/RatingDisplayContext.d.ts +12 -0
- package/dist/src/rating-display/RatingDisplayCount.d.ts +12 -0
- package/dist/src/rating-display/RatingDisplayStar.d.ts +16 -0
- package/dist/src/rating-display/RatingDisplayStars.d.ts +22 -0
- package/dist/src/rating-display/RatingDisplayValue.d.ts +13 -0
- package/dist/src/rating-display/index.d.mts +14 -0
- package/dist/src/rating-display/index.d.ts +14 -0
- package/dist/src/rating-display/types.d.ts +1 -0
- package/dist/src/rating-display/utils.d.ts +10 -0
- package/dist/src/scrolling-list/ScrollingList.d.ts +57 -0
- package/dist/src/scrolling-list/ScrollingListControls.d.ts +18 -0
- package/dist/src/scrolling-list/ScrollingListItem.d.ts +17 -0
- package/dist/src/scrolling-list/ScrollingListItems.d.ts +11 -0
- package/dist/src/scrolling-list/ScrollingListNextButton.d.ts +5 -0
- package/dist/src/scrolling-list/ScrollingListPrevButton.d.ts +5 -0
- package/dist/src/scrolling-list/ScrollingListSkipButton.d.ts +9 -0
- package/dist/src/scrolling-list/index.d.mts +15 -0
- package/dist/src/scrolling-list/index.d.ts +15 -0
- package/dist/src/scrolling-list/useFocusWithinScroll.d.ts +3 -0
- package/dist/src/segmented-control/SegmentedControl.d.ts +22 -0
- package/dist/src/segmented-control/SegmentedControl.styles.d.ts +5 -0
- package/dist/src/segmented-control/SegmentedControlContext.d.ts +7 -0
- package/dist/src/segmented-control/SegmentedControlIndicator.d.ts +8 -0
- package/dist/src/segmented-control/SegmentedControlItem.d.ts +18 -0
- package/dist/src/segmented-control/index.d.mts +10 -0
- package/dist/src/segmented-control/index.d.ts +10 -0
- package/dist/src/segmented-gauge/SegmentedGauge.d.ts +66 -0
- package/dist/src/segmented-gauge/SegmentedGaugeContext.d.ts +14 -0
- package/dist/src/segmented-gauge/SegmentedGaugeLabel.d.ts +9 -0
- package/dist/src/segmented-gauge/SegmentedGaugeSegment.d.ts +12 -0
- package/dist/src/segmented-gauge/SegmentedGaugeTrack.d.ts +8 -0
- package/dist/src/segmented-gauge/index.d.mts +13 -0
- package/dist/src/segmented-gauge/index.d.ts +13 -0
- package/dist/src/select/Select.d.ts +6 -0
- package/dist/src/select/SelectContext.d.ts +59 -0
- package/dist/src/select/SelectGroup.d.ts +11 -0
- package/dist/src/select/SelectItem.d.ts +11 -0
- package/dist/src/select/SelectItems.d.ts +10 -0
- package/dist/src/select/SelectItemsGroupContext.d.ts +9 -0
- package/dist/src/select/SelectLabel.d.ts +8 -0
- package/dist/src/select/SelectLeadingIcon.d.ts +7 -0
- package/dist/src/select/SelectPlaceholder.d.ts +10 -0
- package/dist/src/select/SelectTrigger.d.ts +16 -0
- package/dist/src/select/SelectTrigger.styles.d.ts +5 -0
- package/dist/src/select/SelectValue.d.ts +15 -0
- package/dist/src/select/index.d.mts +21 -0
- package/dist/src/select/index.d.ts +21 -0
- package/dist/src/select/types.d.ts +6 -0
- package/dist/src/select/utils.d.ts +4 -0
- package/dist/src/skeleton/Skeleton.d.ts +17 -0
- package/dist/src/skeleton/Skeleton.styles.d.ts +5 -0
- package/dist/src/skeleton/SkeletonItem.d.ts +31 -0
- package/dist/src/skeleton/SkeletonItem.styles.d.ts +8 -0
- package/dist/src/skeleton/index.d.mts +8 -0
- package/dist/src/skeleton/index.d.ts +8 -0
- package/dist/src/slider/Slider.d.ts +55 -0
- package/dist/src/slider/Slider.styles.d.ts +1 -0
- package/dist/src/slider/SliderContext.d.ts +13 -0
- package/dist/src/slider/SliderControl.d.ts +7 -0
- package/dist/src/slider/SliderIndicator.d.ts +7 -0
- package/dist/src/slider/SliderLabel.d.ts +13 -0
- package/dist/src/slider/SliderMaxValue.d.ts +6 -0
- package/dist/src/slider/SliderMinValue.d.ts +6 -0
- package/dist/src/slider/SliderThumb.d.ts +7 -0
- package/dist/src/slider/SliderThumb.styles.d.ts +5 -0
- package/dist/src/slider/SliderThumbContext.d.ts +5 -0
- package/dist/src/slider/SliderTrack.d.ts +7 -0
- package/dist/src/slider/SliderTrack.styles.d.ts +6 -0
- package/dist/src/slider/SliderValue.d.ts +12 -0
- package/dist/src/slider/index.d.mts +20 -0
- package/dist/src/slider/index.d.ts +20 -0
- package/dist/src/slider/useSliderValueBoundaries.d.ts +12 -0
- package/dist/src/slot/Slot.d.ts +12 -0
- package/dist/src/slot/index.d.mts +1 -0
- package/dist/src/slot/index.d.ts +1 -0
- package/dist/src/snackbar/Snackbar.d.ts +29 -0
- package/dist/src/snackbar/SnackbarItem.d.ts +49 -0
- package/dist/src/snackbar/SnackbarItem.styles.d.ts +10 -0
- package/dist/src/snackbar/SnackbarItemAction.d.ts +10 -0
- package/dist/src/snackbar/SnackbarItemClose.d.ts +9 -0
- package/dist/src/snackbar/SnackbarItemContext.d.ts +8 -0
- package/dist/src/snackbar/SnackbarItemIcon.d.ts +7 -0
- package/dist/src/snackbar/SnackbarRegion.d.ts +30 -0
- package/dist/src/snackbar/SnackbarRegion.styles.d.ts +5 -0
- package/dist/src/snackbar/index.d.mts +13 -0
- package/dist/src/snackbar/index.d.ts +13 -0
- package/dist/src/snackbar/snackbarVariants.d.ts +74 -0
- package/dist/src/snackbar/useSnackbarGlobalStore.d.ts +18 -0
- package/dist/src/snackbar/useSwipe.d.ts +15 -0
- package/dist/src/spinner/Spinner.d.ts +9 -0
- package/dist/src/spinner/Spinner.styles.d.ts +7 -0
- package/dist/src/spinner/index.d.mts +1 -0
- package/dist/src/spinner/index.d.ts +1 -0
- package/dist/src/stepper/Stepper.d.ts +9 -0
- package/dist/src/stepper/StepperButton.d.ts +14 -0
- package/dist/src/stepper/StepperInput.d.ts +7 -0
- package/dist/src/stepper/index.d.mts +9 -0
- package/dist/src/stepper/index.d.ts +9 -0
- package/dist/src/stepper/types.d.ts +46 -0
- package/dist/src/stepper/useStepper.d.ts +2 -0
- package/dist/src/switch/Switch.d.ts +6 -0
- package/dist/src/switch/SwitchInput.d.ts +53 -0
- package/dist/src/switch/SwitchInput.styles.d.ts +16 -0
- package/dist/src/switch/SwitchLabel.d.ts +17 -0
- package/dist/src/switch/SwitchLabel.styles.d.ts +5 -0
- package/dist/src/switch/index.d.mts +1 -0
- package/dist/src/switch/index.d.ts +1 -0
- package/dist/src/tabs/Tabs.d.ts +24 -0
- package/dist/src/tabs/TabsContent.d.ts +22 -0
- package/dist/src/tabs/TabsContent.styles.d.ts +3 -0
- package/dist/src/tabs/TabsContext.d.ts +7 -0
- package/dist/src/tabs/TabsList.d.ts +20 -0
- package/dist/src/tabs/TabsList.styles.d.ts +3 -0
- package/dist/src/tabs/TabsPopover.d.ts +29 -0
- package/dist/src/tabs/TabsPopoverAbstraction.d.ts +27 -0
- package/dist/src/tabs/TabsRoot.styles.d.ts +1 -0
- package/dist/src/tabs/TabsTrigger.d.ts +41 -0
- package/dist/src/tabs/TabsTrigger.styles.d.ts +8 -0
- package/dist/src/tabs/index.d.mts +13 -0
- package/dist/src/tabs/index.d.ts +13 -0
- package/dist/src/tabs/useRenderSlot.d.ts +1 -0
- package/dist/src/tabs/useResizeObserver.d.ts +8 -0
- package/dist/src/tag/Tag.d.ts +17 -0
- package/dist/src/tag/Tag.styles.d.ts +8 -0
- package/dist/src/tag/index.d.mts +1 -0
- package/dist/src/tag/index.d.ts +1 -0
- package/dist/src/tag/variants/filled.d.ts +37 -0
- package/dist/src/tag/variants/index.d.mts +3 -0
- package/dist/src/tag/variants/index.d.ts +3 -0
- package/dist/src/tag/variants/outlined.d.ts +33 -0
- package/dist/src/tag/variants/tinted.d.ts +33 -0
- package/dist/src/text-link/TextLink.d.ts +16 -0
- package/dist/src/text-link/index.d.mts +1 -0
- package/dist/src/text-link/index.d.ts +1 -0
- package/dist/src/textarea/Textarea.d.ts +14 -0
- package/dist/src/textarea/TextareaClearButton.d.ts +10 -0
- package/dist/src/textarea/TextareaGroup.d.ts +6 -0
- package/dist/src/textarea/TextareaLeadingIcon.d.ts +7 -0
- package/dist/src/textarea/TextareaTrailingIcon.d.ts +7 -0
- package/dist/src/textarea/index.d.mts +14 -0
- package/dist/src/textarea/index.d.ts +14 -0
- package/dist/src/toast/Toast.d.ts +4 -0
- package/dist/src/toast/Toast.styles.d.ts +10 -0
- package/dist/src/toast/index.d.mts +20 -0
- package/dist/src/toast/index.d.ts +20 -0
- package/dist/src/toast/types.d.ts +44 -0
- package/dist/src/toast/useRenderSlot.d.ts +3 -0
- package/dist/src/toast/useToastManager.d.ts +2 -0
- package/dist/src/visually-hidden/VisuallyHidden.d.ts +12 -0
- package/dist/src/visually-hidden/index.d.mts +1 -0
- package/dist/src/visually-hidden/index.d.ts +1 -0
- package/package.json +7 -7
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ComponentPropsWithRef, PropsWithChildren } from 'react';
|
|
2
|
+
import { RatingDisplayStarProps } from './RatingDisplayStar';
|
|
3
|
+
export interface RatingDisplayProps extends PropsWithChildren<ComponentPropsWithRef<'div'>> {
|
|
4
|
+
/**
|
|
5
|
+
* When true, merges props onto the single child element instead of rendering a div.
|
|
6
|
+
* Use to render the root as a link or another custom element.
|
|
7
|
+
*/
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* The rating value to display, on a scale from 0 to 5.
|
|
11
|
+
*/
|
|
12
|
+
value?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Sets the size of the stars.
|
|
15
|
+
* @default 'md'
|
|
16
|
+
*/
|
|
17
|
+
size?: RatingDisplayStarProps['size'];
|
|
18
|
+
/**
|
|
19
|
+
* Optional count value available to `RatingDisplay.Count`.
|
|
20
|
+
*/
|
|
21
|
+
count?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Accessible description of the rating content.
|
|
24
|
+
*/
|
|
25
|
+
'aria-label': string;
|
|
26
|
+
}
|
|
27
|
+
export type RatingDisplayRootProps = RatingDisplayProps;
|
|
28
|
+
export declare const RatingDisplay: {
|
|
29
|
+
({ value, size, count, asChild, ref, children, ...rest }: RatingDisplayProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
displayName: string;
|
|
31
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { RatingDisplayStarProps } from './RatingDisplayStar';
|
|
3
|
+
interface RatingDisplayContextValue {
|
|
4
|
+
value: number;
|
|
5
|
+
size: RatingDisplayStarProps['size'];
|
|
6
|
+
count?: number;
|
|
7
|
+
}
|
|
8
|
+
interface RatingDisplayProviderProps extends PropsWithChildren<RatingDisplayContextValue> {
|
|
9
|
+
}
|
|
10
|
+
export declare const RatingDisplayProvider: ({ value, size, count, children, }: RatingDisplayProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const useRatingDisplay: () => RatingDisplayContextValue;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
+
export interface RatingDisplayCountProps extends Omit<ComponentPropsWithRef<'span'>, 'children'> {
|
|
3
|
+
/**
|
|
4
|
+
* Custom count content.
|
|
5
|
+
* Pass a render function to receive the count value and return the content to render.
|
|
6
|
+
*/
|
|
7
|
+
children?: ReactNode | ((count: number) => ReactNode);
|
|
8
|
+
}
|
|
9
|
+
export declare const RatingDisplayCount: {
|
|
10
|
+
({ className, children, ...rest }: RatingDisplayCountProps): import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { StarValue } from './types';
|
|
3
|
+
declare const ratingDisplayStarStyles: (props?: ({
|
|
4
|
+
gap?: "sm" | "md" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
declare const ratingDisplayStarIconStyles: (props?: ({
|
|
7
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
8
|
+
design?: "filled" | "outlined" | null | undefined;
|
|
9
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
+
type RatingDisplayStarstylesProps = Omit<VariantProps<typeof ratingDisplayStarStyles>, never>;
|
|
11
|
+
type RatingDisplayStarIconStylesProps = Omit<VariantProps<typeof ratingDisplayStarIconStyles>, 'design'>;
|
|
12
|
+
export interface RatingDisplayStarProps extends RatingDisplayStarstylesProps, RatingDisplayStarIconStylesProps {
|
|
13
|
+
value: StarValue;
|
|
14
|
+
}
|
|
15
|
+
export declare const RatingDisplayStar: ({ value, size }: RatingDisplayStarProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { RatingDisplayStarProps } from './RatingDisplayStar';
|
|
2
|
+
import { StarValue } from './types';
|
|
3
|
+
export interface RatingDisplayStarsProps {
|
|
4
|
+
size?: RatingDisplayStarProps['size'];
|
|
5
|
+
/**
|
|
6
|
+
* Sets the rendering mode for stars.
|
|
7
|
+
* @default 'default'
|
|
8
|
+
*/
|
|
9
|
+
variant?: 'default' | 'single-star';
|
|
10
|
+
/**
|
|
11
|
+
* Custom fill algorithm for each star.
|
|
12
|
+
* By default, stars are rounded to the nearest 0.5.
|
|
13
|
+
*/
|
|
14
|
+
getFillMode?: ({ value, index }: {
|
|
15
|
+
value?: number;
|
|
16
|
+
index: number;
|
|
17
|
+
}) => StarValue;
|
|
18
|
+
}
|
|
19
|
+
export declare const RatingDisplayStars: {
|
|
20
|
+
({ size, variant, getFillMode, }: RatingDisplayStarsProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
displayName: string;
|
|
22
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
+
export interface RatingDisplayValueProps extends Omit<ComponentPropsWithRef<'span'>, 'children'> {
|
|
3
|
+
/**
|
|
4
|
+
* Custom value content.
|
|
5
|
+
* Pass a render function to receive the formatted value (first arg) and raw value (second arg),
|
|
6
|
+
* then return the content to render.
|
|
7
|
+
*/
|
|
8
|
+
children?: ReactNode | ((formattedValue: string, value: number) => ReactNode);
|
|
9
|
+
}
|
|
10
|
+
export declare const RatingDisplayValue: {
|
|
11
|
+
({ className, children, ...rest }: RatingDisplayValueProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RatingDisplay as Root } from './RatingDisplay';
|
|
2
|
+
import { RatingDisplayCount as Count } from './RatingDisplayCount';
|
|
3
|
+
import { RatingDisplayStars as Stars } from './RatingDisplayStars';
|
|
4
|
+
import { RatingDisplayValue as Value } from './RatingDisplayValue';
|
|
5
|
+
export declare const RatingDisplay: typeof Root & {
|
|
6
|
+
Stars: typeof Stars;
|
|
7
|
+
Value: typeof Value;
|
|
8
|
+
Count: typeof Count;
|
|
9
|
+
};
|
|
10
|
+
export { type RatingDisplayProps, type RatingDisplayRootProps } from './RatingDisplay';
|
|
11
|
+
export { type RatingDisplayStarsProps } from './RatingDisplayStars';
|
|
12
|
+
export { type RatingDisplayValueProps } from './RatingDisplayValue';
|
|
13
|
+
export { type RatingDisplayCountProps } from './RatingDisplayCount';
|
|
14
|
+
export type { StarValue } from './types';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RatingDisplay as Root } from './RatingDisplay';
|
|
2
|
+
import { RatingDisplayCount as Count } from './RatingDisplayCount';
|
|
3
|
+
import { RatingDisplayStars as Stars } from './RatingDisplayStars';
|
|
4
|
+
import { RatingDisplayValue as Value } from './RatingDisplayValue';
|
|
5
|
+
export declare const RatingDisplay: typeof Root & {
|
|
6
|
+
Stars: typeof Stars;
|
|
7
|
+
Value: typeof Value;
|
|
8
|
+
Count: typeof Count;
|
|
9
|
+
};
|
|
10
|
+
export { type RatingDisplayProps, type RatingDisplayRootProps } from './RatingDisplay';
|
|
11
|
+
export { type RatingDisplayStarsProps } from './RatingDisplayStars';
|
|
12
|
+
export { type RatingDisplayValueProps } from './RatingDisplayValue';
|
|
13
|
+
export { type RatingDisplayCountProps } from './RatingDisplayCount';
|
|
14
|
+
export type { StarValue } from './types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type StarValue = 0 | 0.5 | 1;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StarValue } from './types';
|
|
2
|
+
declare function getNearestHalfDecimal(num: number): number;
|
|
3
|
+
declare function formatRatingValue(value: number): string;
|
|
4
|
+
declare function getStarValue({ value, index }: {
|
|
5
|
+
value?: number;
|
|
6
|
+
index: number;
|
|
7
|
+
}): StarValue;
|
|
8
|
+
declare function getSingleStarValue(value?: number): StarValue;
|
|
9
|
+
declare function splitAt<T>(arr: T[], index: number): [T[], T[]];
|
|
10
|
+
export { formatRatingValue, getNearestHalfDecimal, getSingleStarValue, getStarValue, splitAt };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ScrollOverflow } from '../../../../hooks/dist/use-scroll-overflow/index';
|
|
2
|
+
import { ComponentPropsWithRef, ReactNode, RefObject } from 'react';
|
|
3
|
+
import { SnapCarouselResult } from 'react-snap-carousel';
|
|
4
|
+
type SnapType = 'mandatory' | 'proximity' | 'none';
|
|
5
|
+
type ScrollBehavior = 'smooth' | 'instant';
|
|
6
|
+
type SnapStop = 'normal' | 'always';
|
|
7
|
+
interface Props extends ComponentPropsWithRef<'div'> {
|
|
8
|
+
/**
|
|
9
|
+
* CSS scroll snap behavior.
|
|
10
|
+
* - `mandatory` to force snapping on each "page".
|
|
11
|
+
* - `proximity` to force snapping only when scroll position is near the edge of a "page". Behavior can change depending on each browser.
|
|
12
|
+
* - `none` to disabled scroll snapping.
|
|
13
|
+
*/
|
|
14
|
+
snapType?: SnapType;
|
|
15
|
+
/**
|
|
16
|
+
* Defines whether or not the scroll container is allowed to "pass over" possible snap positions.
|
|
17
|
+
*/
|
|
18
|
+
snapStop?: SnapStop;
|
|
19
|
+
scrollBehavior?: ScrollBehavior;
|
|
20
|
+
/**
|
|
21
|
+
* Add a fade effect to indicate content overflow.
|
|
22
|
+
*/
|
|
23
|
+
withFade?: boolean;
|
|
24
|
+
children?: ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* When `true`, allow previous and next buttons to be used when reaching the edges of the list.
|
|
27
|
+
*/
|
|
28
|
+
loop?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Space (in pixels) between items.
|
|
31
|
+
*/
|
|
32
|
+
gap?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Offset (in pixels) of the left of the optimal viewing region of the list.
|
|
35
|
+
*/
|
|
36
|
+
scrollPadding?: number;
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
interface ScrollingListContextState extends SnapCarouselResult {
|
|
40
|
+
snapType: SnapType;
|
|
41
|
+
snapStop: SnapStop;
|
|
42
|
+
scrollBehavior: ScrollBehavior;
|
|
43
|
+
visibleItemsRange: readonly [number, number];
|
|
44
|
+
loop: boolean;
|
|
45
|
+
gap: number;
|
|
46
|
+
withFade: boolean;
|
|
47
|
+
scrollPadding: number;
|
|
48
|
+
scrollAreaRef: RefObject<HTMLDivElement | null>;
|
|
49
|
+
overflow: ScrollOverflow;
|
|
50
|
+
skipKeyboardNavigation: () => void;
|
|
51
|
+
}
|
|
52
|
+
export declare const ScrollingListContext: import('react').Context<ScrollingListContextState>;
|
|
53
|
+
export declare const ScrollingList: {
|
|
54
|
+
({ snapType, snapStop, scrollBehavior, loop, gap, withFade, scrollPadding, children, className, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
displayName: string;
|
|
56
|
+
};
|
|
57
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
interface ScrollingListControls extends ComponentPropsWithoutRef<'div'> {
|
|
3
|
+
/**
|
|
4
|
+
* Visibility behavior of the control buttons:
|
|
5
|
+
* - `always`: buttons are always visible.
|
|
6
|
+
* - `hover`: buttons only appear on hover.
|
|
7
|
+
*
|
|
8
|
+
* a11y: `hover` is dangerous for accessibility as it disabled controls for touch screen users.
|
|
9
|
+
* When using it, you must provide an alternative control outside of the list to replace them.
|
|
10
|
+
*/
|
|
11
|
+
visibility?: 'hover' | 'always';
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export declare const ScrollingListControls: {
|
|
15
|
+
({ children, visibility, className, ...rest }: ScrollingListControls): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
export interface ScrollingListItemProps extends ComponentPropsWithoutRef<'div'> {
|
|
3
|
+
/**
|
|
4
|
+
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
5
|
+
*/
|
|
6
|
+
asChild?: boolean;
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* DO NOT USE. This prop is automatically managed by the parent ScrollingList.ListItems
|
|
10
|
+
*/
|
|
11
|
+
index?: number;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const ScrollingListItem: {
|
|
15
|
+
({ asChild, children, index, className, ...rest }: ScrollingListItemProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentPropsWithRef, ReactNode, Ref } from 'react';
|
|
2
|
+
interface Props extends ComponentPropsWithRef<'div'> {
|
|
3
|
+
children?: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function mergeRefs<T>(...refs: (Ref<T> | undefined | null)[]): Ref<T>;
|
|
7
|
+
export declare const ScrollingListItems: {
|
|
8
|
+
({ children, ref, className, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
interface Props extends ComponentPropsWithoutRef<'button'> {
|
|
3
|
+
children: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const ScrollingListSkipButton: {
|
|
6
|
+
({ children, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ScrollingList as Root } from './ScrollingList';
|
|
2
|
+
import { ScrollingListControls as Controls } from './ScrollingListControls';
|
|
3
|
+
import { ScrollingListItem as Item } from './ScrollingListItem';
|
|
4
|
+
import { ScrollingListItems as Items } from './ScrollingListItems';
|
|
5
|
+
import { ScrollingListNextButton as NextButton } from './ScrollingListNextButton';
|
|
6
|
+
import { ScrollingListPrevButton as PrevButton } from './ScrollingListPrevButton';
|
|
7
|
+
import { ScrollingListSkipButton as SkipButton } from './ScrollingListSkipButton';
|
|
8
|
+
export declare const ScrollingList: typeof Root & {
|
|
9
|
+
Controls: typeof Controls;
|
|
10
|
+
NextButton: typeof NextButton;
|
|
11
|
+
PrevButton: typeof PrevButton;
|
|
12
|
+
Item: typeof Item;
|
|
13
|
+
Items: typeof Items;
|
|
14
|
+
SkipButton: typeof SkipButton;
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ScrollingList as Root } from './ScrollingList';
|
|
2
|
+
import { ScrollingListControls as Controls } from './ScrollingListControls';
|
|
3
|
+
import { ScrollingListItem as Item } from './ScrollingListItem';
|
|
4
|
+
import { ScrollingListItems as Items } from './ScrollingListItems';
|
|
5
|
+
import { ScrollingListNextButton as NextButton } from './ScrollingListNextButton';
|
|
6
|
+
import { ScrollingListPrevButton as PrevButton } from './ScrollingListPrevButton';
|
|
7
|
+
import { ScrollingListSkipButton as SkipButton } from './ScrollingListSkipButton';
|
|
8
|
+
export declare const ScrollingList: typeof Root & {
|
|
9
|
+
Controls: typeof Controls;
|
|
10
|
+
NextButton: typeof NextButton;
|
|
11
|
+
PrevButton: typeof PrevButton;
|
|
12
|
+
Item: typeof Item;
|
|
13
|
+
Items: typeof Items;
|
|
14
|
+
SkipButton: typeof SkipButton;
|
|
15
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { RadioGroup } from '@base-ui/react/radio-group';
|
|
2
|
+
import { ComponentProps, Ref } from 'react';
|
|
3
|
+
import { SegmentedControlStylesProps } from './SegmentedControl.styles';
|
|
4
|
+
export interface SegmentedControlProps extends Omit<ComponentProps<typeof RadioGroup>, 'value' | 'defaultValue' | 'onValueChange'>, SegmentedControlStylesProps {
|
|
5
|
+
/**
|
|
6
|
+
* The controlled selected value.
|
|
7
|
+
*/
|
|
8
|
+
value?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The uncontrolled default selected value.
|
|
11
|
+
*/
|
|
12
|
+
defaultValue?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Callback fired when the selected value changes.
|
|
15
|
+
*/
|
|
16
|
+
onValueChange?: (value: string) => void;
|
|
17
|
+
ref?: Ref<HTMLDivElement>;
|
|
18
|
+
}
|
|
19
|
+
export declare const SegmentedControl: {
|
|
20
|
+
({ value, defaultValue, onValueChange, className, children, ref, ...rest }: SegmentedControlProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
displayName: string;
|
|
22
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const rootStyles: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
3
|
+
export declare const itemStyles: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
4
|
+
export declare const indicatorStyles: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
5
|
+
export type SegmentedControlStylesProps = VariantProps<typeof itemStyles>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
export interface SegmentedControlContextInterface {
|
|
3
|
+
checkedValue: string | null;
|
|
4
|
+
containerRef: RefObject<HTMLDivElement | null>;
|
|
5
|
+
}
|
|
6
|
+
export declare const SegmentedControlContext: import('react').Context<SegmentedControlContextInterface>;
|
|
7
|
+
export declare const useSegmentedControlContext: () => SegmentedControlContextInterface;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentProps, Ref } from 'react';
|
|
2
|
+
export interface SegmentedControlIndicatorProps extends ComponentProps<'span'> {
|
|
3
|
+
ref?: Ref<HTMLSpanElement>;
|
|
4
|
+
}
|
|
5
|
+
export declare const SegmentedControlIndicator: {
|
|
6
|
+
({ className, ref, ...rest }: SegmentedControlIndicatorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Radio } from '@base-ui/react/radio';
|
|
2
|
+
import { ComponentProps, Ref } from 'react';
|
|
3
|
+
export interface SegmentedControlItemProps extends Omit<ComponentProps<typeof Radio.Root>, 'value'> {
|
|
4
|
+
/**
|
|
5
|
+
* A unique value that identifies this item within the segmented control.
|
|
6
|
+
*/
|
|
7
|
+
value: string;
|
|
8
|
+
/**
|
|
9
|
+
* When true, prevents the user from interacting with this item.
|
|
10
|
+
* @default false
|
|
11
|
+
*/
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
ref?: Ref<HTMLElement>;
|
|
14
|
+
}
|
|
15
|
+
export declare const SegmentedControlItem: {
|
|
16
|
+
({ value, disabled, children, className, ref, ...rest }: SegmentedControlItemProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SegmentedControl as Root } from './SegmentedControl';
|
|
2
|
+
import { SegmentedControlIndicator as Indicator } from './SegmentedControlIndicator';
|
|
3
|
+
import { SegmentedControlItem as Item } from './SegmentedControlItem';
|
|
4
|
+
export declare const SegmentedControl: typeof Root & {
|
|
5
|
+
Item: typeof Item;
|
|
6
|
+
Indicator: typeof Indicator;
|
|
7
|
+
};
|
|
8
|
+
export type { SegmentedControlProps } from './SegmentedControl';
|
|
9
|
+
export type { SegmentedControlItemProps } from './SegmentedControlItem';
|
|
10
|
+
export type { SegmentedControlIndicatorProps } from './SegmentedControlIndicator';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SegmentedControl as Root } from './SegmentedControl';
|
|
2
|
+
import { SegmentedControlIndicator as Indicator } from './SegmentedControlIndicator';
|
|
3
|
+
import { SegmentedControlItem as Item } from './SegmentedControlItem';
|
|
4
|
+
export declare const SegmentedControl: typeof Root & {
|
|
5
|
+
Item: typeof Item;
|
|
6
|
+
Indicator: typeof Indicator;
|
|
7
|
+
};
|
|
8
|
+
export type { SegmentedControlProps } from './SegmentedControl';
|
|
9
|
+
export type { SegmentedControlItemProps } from './SegmentedControlItem';
|
|
10
|
+
export type { SegmentedControlIndicatorProps } from './SegmentedControlIndicator';
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Ref } from 'react';
|
|
2
|
+
export interface SegmentedGaugeProps {
|
|
3
|
+
/**
|
|
4
|
+
* The current value of the gauge
|
|
5
|
+
*/
|
|
6
|
+
value?: number;
|
|
7
|
+
/**
|
|
8
|
+
* Minimum value of the gauge (aria-valuemin)
|
|
9
|
+
*/
|
|
10
|
+
min: number;
|
|
11
|
+
/**
|
|
12
|
+
* Maximum value of the gauge (aria-valuemax)
|
|
13
|
+
*/
|
|
14
|
+
max: number;
|
|
15
|
+
/**
|
|
16
|
+
* Description text for the gauge (aria-describedby)
|
|
17
|
+
*/
|
|
18
|
+
description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Size of the gauge
|
|
21
|
+
*/
|
|
22
|
+
size?: 'sm' | 'md';
|
|
23
|
+
/**
|
|
24
|
+
* Intent of the gauge - predefined color intent
|
|
25
|
+
*/
|
|
26
|
+
intent?: 'main' | 'support' | 'accent' | 'success' | 'alert' | 'danger' | 'info' | 'neutral';
|
|
27
|
+
/**
|
|
28
|
+
* Custom color for the gauge (hex, CSS variable, etc.)
|
|
29
|
+
*/
|
|
30
|
+
customColor?: string;
|
|
31
|
+
/**
|
|
32
|
+
* ID of the gauge element
|
|
33
|
+
*/
|
|
34
|
+
id?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Accessible label for the gauge (required if no id is provided)
|
|
37
|
+
*/
|
|
38
|
+
'aria-label'?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Textual representation of the current value (aria-valuetext)
|
|
41
|
+
* By default, percentage is used (e.g. "33%")
|
|
42
|
+
*/
|
|
43
|
+
'aria-valuetext'?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Additional CSS classes
|
|
46
|
+
*/
|
|
47
|
+
className?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Ref to the root element
|
|
50
|
+
*/
|
|
51
|
+
ref?: Ref<HTMLDivElement>;
|
|
52
|
+
/**
|
|
53
|
+
* Children render prop for custom rendering
|
|
54
|
+
*/
|
|
55
|
+
children?: (props: {
|
|
56
|
+
segments: {
|
|
57
|
+
isActive: boolean;
|
|
58
|
+
isCurrent: boolean;
|
|
59
|
+
}[];
|
|
60
|
+
currentIndex: number;
|
|
61
|
+
}) => React.ReactNode;
|
|
62
|
+
}
|
|
63
|
+
export declare const SegmentedGauge: {
|
|
64
|
+
({ value, min, max, description, size, intent, customColor, id, "aria-label": ariaLabel, className, ref, children, ...props }: SegmentedGaugeProps): import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
displayName: string;
|
|
66
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface SegmentedGaugeContextValue {
|
|
2
|
+
value?: number;
|
|
3
|
+
min: number;
|
|
4
|
+
max: number;
|
|
5
|
+
segments: number;
|
|
6
|
+
currentIndex: number;
|
|
7
|
+
size: 'sm' | 'md';
|
|
8
|
+
intent: 'main' | 'support' | 'accent' | 'success' | 'alert' | 'danger' | 'info' | 'neutral';
|
|
9
|
+
customColor?: string;
|
|
10
|
+
labelId: string;
|
|
11
|
+
gaugeId: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const SegmentedGaugeContext: import('react').Context<SegmentedGaugeContextValue | null>;
|
|
14
|
+
export declare const useSegmentedGaugeContext: () => SegmentedGaugeContextValue;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentProps, Ref } from 'react';
|
|
2
|
+
export interface SegmentedGaugeLabelProps extends ComponentProps<'span'> {
|
|
3
|
+
ref?: Ref<HTMLSpanElement>;
|
|
4
|
+
id?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const SegmentedGaugeLabel: {
|
|
7
|
+
({ className, children, ref, id, ...props }: SegmentedGaugeLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ComponentProps, Ref } from 'react';
|
|
2
|
+
export interface SegmentedGaugeSegmentProps extends ComponentProps<'div'> {
|
|
3
|
+
/**
|
|
4
|
+
* Index of this segment (0-based)
|
|
5
|
+
*/
|
|
6
|
+
index?: number;
|
|
7
|
+
ref?: Ref<HTMLDivElement>;
|
|
8
|
+
}
|
|
9
|
+
export declare const SegmentedGaugeSegment: {
|
|
10
|
+
({ index, className, children, ref, ...props }: SegmentedGaugeSegmentProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentProps, Ref } from 'react';
|
|
2
|
+
export interface SegmentedGaugeTrackProps extends ComponentProps<'div'> {
|
|
3
|
+
ref?: Ref<HTMLDivElement>;
|
|
4
|
+
}
|
|
5
|
+
export declare const SegmentedGaugeTrack: {
|
|
6
|
+
({ className, children, ref, ...props }: SegmentedGaugeTrackProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SegmentedGauge as Root } from './SegmentedGauge';
|
|
2
|
+
import { SegmentedGaugeLabel } from './SegmentedGaugeLabel';
|
|
3
|
+
import { SegmentedGaugeSegment } from './SegmentedGaugeSegment';
|
|
4
|
+
import { SegmentedGaugeTrack } from './SegmentedGaugeTrack';
|
|
5
|
+
export declare const SegmentedGauge: typeof Root & {
|
|
6
|
+
Track: typeof SegmentedGaugeTrack;
|
|
7
|
+
Segment: typeof SegmentedGaugeSegment;
|
|
8
|
+
Label: typeof SegmentedGaugeLabel;
|
|
9
|
+
};
|
|
10
|
+
export { type SegmentedGaugeProps } from './SegmentedGauge';
|
|
11
|
+
export { type SegmentedGaugeTrackProps } from './SegmentedGaugeTrack';
|
|
12
|
+
export { type SegmentedGaugeSegmentProps } from './SegmentedGaugeSegment';
|
|
13
|
+
export { type SegmentedGaugeLabelProps } from './SegmentedGaugeLabel';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SegmentedGauge as Root } from './SegmentedGauge';
|
|
2
|
+
import { SegmentedGaugeLabel } from './SegmentedGaugeLabel';
|
|
3
|
+
import { SegmentedGaugeSegment } from './SegmentedGaugeSegment';
|
|
4
|
+
import { SegmentedGaugeTrack } from './SegmentedGaugeTrack';
|
|
5
|
+
export declare const SegmentedGauge: typeof Root & {
|
|
6
|
+
Track: typeof SegmentedGaugeTrack;
|
|
7
|
+
Segment: typeof SegmentedGaugeSegment;
|
|
8
|
+
Label: typeof SegmentedGaugeLabel;
|
|
9
|
+
};
|
|
10
|
+
export { type SegmentedGaugeProps } from './SegmentedGauge';
|
|
11
|
+
export { type SegmentedGaugeTrackProps } from './SegmentedGaugeTrack';
|
|
12
|
+
export { type SegmentedGaugeSegmentProps } from './SegmentedGaugeSegment';
|
|
13
|
+
export { type SegmentedGaugeLabelProps } from './SegmentedGaugeLabel';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Dispatch, PropsWithChildren, ReactElement, SetStateAction } from 'react';
|
|
2
|
+
import { ItemsMap, SelectItem } from './types';
|
|
3
|
+
export interface SelectContextState {
|
|
4
|
+
itemsMap: ItemsMap;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
readOnly: boolean;
|
|
7
|
+
state?: 'error' | 'alert' | 'success';
|
|
8
|
+
itemsComponent: ReactElement | undefined;
|
|
9
|
+
selectedItem: SelectItem | undefined;
|
|
10
|
+
setValue: (value: string) => void;
|
|
11
|
+
isControlled: boolean;
|
|
12
|
+
onValueChange?: (value: string) => void;
|
|
13
|
+
ariaLabel: string | undefined;
|
|
14
|
+
setAriaLabel: Dispatch<SetStateAction<string | undefined>>;
|
|
15
|
+
fieldId: string;
|
|
16
|
+
fieldLabelId: string | undefined;
|
|
17
|
+
name: string | undefined;
|
|
18
|
+
required: boolean;
|
|
19
|
+
placeholder: string | undefined;
|
|
20
|
+
setPlaceholder: Dispatch<SetStateAction<string | undefined>>;
|
|
21
|
+
}
|
|
22
|
+
export type SelectContextProps = PropsWithChildren<{
|
|
23
|
+
/**
|
|
24
|
+
* Use `state` prop to assign a specific state to the select, choosing from: `error`, `alert` and `success`. By doing so, the outline styles will be updated.
|
|
25
|
+
*/
|
|
26
|
+
state?: 'error' | 'alert' | 'success';
|
|
27
|
+
/**
|
|
28
|
+
* When true, prevents the user from interacting with the select.
|
|
29
|
+
*/
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Sets the select as interactive or not.
|
|
33
|
+
*/
|
|
34
|
+
readOnly?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The value of the select when initially rendered. Use when you do not need to control the state of the select.
|
|
37
|
+
*/
|
|
38
|
+
defaultValue?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The controlled value of the select. Should be used in conjunction with `onValueChange`.
|
|
41
|
+
*/
|
|
42
|
+
value?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Event handler called when the value changes.
|
|
45
|
+
*/
|
|
46
|
+
onValueChange?: (value: string) => void;
|
|
47
|
+
itemsComponent: ReactElement | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* This attribute is used to specify the name of the control.
|
|
50
|
+
* If wrapped with a FormField with a name, will be inherited from it.
|
|
51
|
+
*/
|
|
52
|
+
name?: string;
|
|
53
|
+
/**
|
|
54
|
+
* A Boolean attribute indicating that an option with a non-empty string value must be selected.
|
|
55
|
+
*/
|
|
56
|
+
required?: boolean;
|
|
57
|
+
}>;
|
|
58
|
+
export declare const SelectProvider: ({ children, defaultValue, value: valueProp, onValueChange, disabled: disabledProp, readOnly: readOnlyProp, state: stateProp, itemsComponent, name: nameProp, required: requiredProp, }: SelectContextProps) => import("react/jsx-runtime").JSX.Element;
|
|
59
|
+
export declare const useSelectContext: () => SelectContextState;
|