@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,11 @@
|
|
|
1
|
+
import { ReactNode, Ref } from 'react';
|
|
2
|
+
interface GroupProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
ref?: Ref<HTMLDivElement>;
|
|
6
|
+
}
|
|
7
|
+
export declare const Group: {
|
|
8
|
+
({ children, ref: forwardedRef, ...props }: GroupProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
2
|
+
type InputPrimitiveProps = ComponentPropsWithoutRef<'input'>;
|
|
3
|
+
interface InputProps extends Omit<InputPrimitiveProps, 'value' | 'placeholder'> {
|
|
4
|
+
className?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
defaultValue?: string;
|
|
8
|
+
onValueChange?: (value: string) => void;
|
|
9
|
+
ref?: Ref<HTMLInputElement>;
|
|
10
|
+
}
|
|
11
|
+
export declare const Input: {
|
|
12
|
+
({ "aria-label": ariaLabel, className, placeholder, value, defaultValue, onValueChange, ref: forwardedRef, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode, Ref } from 'react';
|
|
2
|
+
export interface ItemProps extends HTMLAttributes<HTMLLIElement> {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
value: string;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
ref?: Ref<HTMLLIElement>;
|
|
8
|
+
}
|
|
9
|
+
export declare const Item: {
|
|
10
|
+
({ children, ref: forwardedRef, ...props }: ItemProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Dispatch, PropsWithChildren, SetStateAction } from 'react';
|
|
2
|
+
import { ComboboxItem } from './types';
|
|
3
|
+
type ItemTextId = string | undefined;
|
|
4
|
+
interface ComboboxItemContextState {
|
|
5
|
+
textId: ItemTextId;
|
|
6
|
+
setTextId: Dispatch<SetStateAction<ItemTextId>>;
|
|
7
|
+
isSelected: boolean;
|
|
8
|
+
itemData: ComboboxItem;
|
|
9
|
+
index: number;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const ComboboxItemProvider: ({ value, disabled, children, }: PropsWithChildren<{
|
|
13
|
+
value: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const useComboboxItemContext: () => ComboboxItemContextState;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode, Ref } from 'react';
|
|
2
|
+
export interface ItemIndicatorProps {
|
|
3
|
+
children?: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
ref?: Ref<HTMLSpanElement>;
|
|
7
|
+
}
|
|
8
|
+
export declare const ItemIndicator: {
|
|
9
|
+
({ className, children, label, ref: forwardedRef, }: ItemIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Ref } from 'react';
|
|
2
|
+
export interface ItemTextProps {
|
|
3
|
+
children: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
ref?: Ref<HTMLSpanElement>;
|
|
6
|
+
}
|
|
7
|
+
export declare const ItemText: {
|
|
8
|
+
({ children, className, ref: forwardedRef }: ItemTextProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode, Ref } from 'react';
|
|
2
|
+
interface ItemsProps extends ComponentPropsWithoutRef<'ul'> {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
ref?: Ref<HTMLUListElement>;
|
|
6
|
+
}
|
|
7
|
+
export declare const Items: {
|
|
8
|
+
({ children, className, ref: forwardedRef, ...props }: ItemsProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
export interface ComboboxContextState {
|
|
3
|
+
groupLabelId: string;
|
|
4
|
+
}
|
|
5
|
+
type ComboboxContextProps = PropsWithChildren;
|
|
6
|
+
export declare const ComboboxGroupProvider: ({ children }: ComboboxContextProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const useComboboxGroupContext: () => ComboboxContextState;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Ref } from 'react';
|
|
2
|
+
interface LabelProps {
|
|
3
|
+
children: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
ref?: Ref<HTMLDivElement>;
|
|
6
|
+
}
|
|
7
|
+
export declare const Label: {
|
|
8
|
+
({ children, className, ref: forwardedRef }: LabelProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ComponentProps, Ref } from 'react';
|
|
2
|
+
import { Popover as SparkPopover } from '../popover';
|
|
3
|
+
interface PopoverProps extends ComponentProps<typeof SparkPopover.Content> {
|
|
4
|
+
ref?: Ref<HTMLDivElement>;
|
|
5
|
+
}
|
|
6
|
+
export declare const Popover: {
|
|
7
|
+
({ children, matchTriggerWidth, sideOffset, className, ref: forwardedRef, ...props }: PopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode, Ref } from 'react';
|
|
2
|
+
interface TriggerProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
ref?: Ref<HTMLDivElement>;
|
|
6
|
+
}
|
|
7
|
+
export declare const Trigger: {
|
|
8
|
+
({ className, children, ref: forwardedRef }: TriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const styles: (props?: ({
|
|
2
|
+
allowWrap?: boolean | null | undefined;
|
|
3
|
+
state?: "undefined" | "alert" | "error" | "success" | null | undefined;
|
|
4
|
+
disabled?: boolean | null | undefined;
|
|
5
|
+
readOnly?: boolean | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Combobox as Root } from './Combobox';
|
|
2
|
+
import { ClearButton } from './ComboboxClearButton';
|
|
3
|
+
import { ComboboxProvider, useComboboxContext } from './ComboboxContext';
|
|
4
|
+
import { Disclosure } from './ComboboxDisclosure';
|
|
5
|
+
import { Empty } from './ComboboxEmpty';
|
|
6
|
+
import { Group } from './ComboboxGroup';
|
|
7
|
+
import { Input } from './ComboboxInput';
|
|
8
|
+
import { Item } from './ComboboxItem';
|
|
9
|
+
import { ItemIndicator } from './ComboboxItemIndicator';
|
|
10
|
+
import { Items } from './ComboboxItems';
|
|
11
|
+
import { ItemText } from './ComboboxItemText';
|
|
12
|
+
import { Label } from './ComboboxLabel';
|
|
13
|
+
import { LeadingIcon } from './ComboboxLeadingIcon';
|
|
14
|
+
import { Popover } from './ComboboxPopover';
|
|
15
|
+
import { Portal } from './ComboboxPortal';
|
|
16
|
+
import { SelectedItems } from './ComboboxSelectedItems';
|
|
17
|
+
import { Trigger } from './ComboboxTrigger';
|
|
18
|
+
export { useComboboxContext, ComboboxProvider };
|
|
19
|
+
export declare const Combobox: typeof Root & {
|
|
20
|
+
Group: typeof Group;
|
|
21
|
+
Item: typeof Item;
|
|
22
|
+
Items: typeof Items;
|
|
23
|
+
ItemText: typeof ItemText;
|
|
24
|
+
ItemIndicator: typeof ItemIndicator;
|
|
25
|
+
Label: typeof Label;
|
|
26
|
+
Popover: typeof Popover;
|
|
27
|
+
Trigger: typeof Trigger;
|
|
28
|
+
LeadingIcon: typeof LeadingIcon;
|
|
29
|
+
Empty: typeof Empty;
|
|
30
|
+
Input: typeof Input;
|
|
31
|
+
Disclosure: typeof Disclosure;
|
|
32
|
+
SelectedItems: typeof SelectedItems;
|
|
33
|
+
ClearButton: typeof ClearButton;
|
|
34
|
+
Portal: typeof Portal;
|
|
35
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Combobox as Root } from './Combobox';
|
|
2
|
+
import { ClearButton } from './ComboboxClearButton';
|
|
3
|
+
import { ComboboxProvider, useComboboxContext } from './ComboboxContext';
|
|
4
|
+
import { Disclosure } from './ComboboxDisclosure';
|
|
5
|
+
import { Empty } from './ComboboxEmpty';
|
|
6
|
+
import { Group } from './ComboboxGroup';
|
|
7
|
+
import { Input } from './ComboboxInput';
|
|
8
|
+
import { Item } from './ComboboxItem';
|
|
9
|
+
import { ItemIndicator } from './ComboboxItemIndicator';
|
|
10
|
+
import { Items } from './ComboboxItems';
|
|
11
|
+
import { ItemText } from './ComboboxItemText';
|
|
12
|
+
import { Label } from './ComboboxLabel';
|
|
13
|
+
import { LeadingIcon } from './ComboboxLeadingIcon';
|
|
14
|
+
import { Popover } from './ComboboxPopover';
|
|
15
|
+
import { Portal } from './ComboboxPortal';
|
|
16
|
+
import { SelectedItems } from './ComboboxSelectedItems';
|
|
17
|
+
import { Trigger } from './ComboboxTrigger';
|
|
18
|
+
export { useComboboxContext, ComboboxProvider };
|
|
19
|
+
export declare const Combobox: typeof Root & {
|
|
20
|
+
Group: typeof Group;
|
|
21
|
+
Item: typeof Item;
|
|
22
|
+
Items: typeof Items;
|
|
23
|
+
ItemText: typeof ItemText;
|
|
24
|
+
ItemIndicator: typeof ItemIndicator;
|
|
25
|
+
Label: typeof Label;
|
|
26
|
+
Popover: typeof Popover;
|
|
27
|
+
Trigger: typeof Trigger;
|
|
28
|
+
LeadingIcon: typeof LeadingIcon;
|
|
29
|
+
Empty: typeof Empty;
|
|
30
|
+
Input: typeof Input;
|
|
31
|
+
Disclosure: typeof Disclosure;
|
|
32
|
+
SelectedItems: typeof SelectedItems;
|
|
33
|
+
ClearButton: typeof ClearButton;
|
|
34
|
+
Portal: typeof Portal;
|
|
35
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const getInput: (accessibleName: string) => HTMLElement;
|
|
2
|
+
export declare const getListbox: (accessibleName: string) => HTMLElement;
|
|
3
|
+
export declare const getItemsGroup: (accessibleName: string) => HTMLElement;
|
|
4
|
+
export declare const getItem: (accessibleName: string) => HTMLElement;
|
|
5
|
+
export declare const queryItem: (accessibleName: string) => HTMLElement | null;
|
|
6
|
+
export declare const getSelectedItem: (accessibleName: string) => HTMLElement;
|
|
7
|
+
export declare const getSelectedItemClearButton: (accessibleName: string) => HTMLElement;
|
|
8
|
+
export declare const getClearButton: (accessibleName: string) => HTMLElement;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UseComboboxReturnValue, UseMultipleSelectionReturnValue } from 'downshift';
|
|
2
|
+
export interface ComboboxItem {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
value: string;
|
|
5
|
+
text: string;
|
|
6
|
+
}
|
|
7
|
+
export type ItemsMap = Map<string, ComboboxItem>;
|
|
8
|
+
export type DownshiftState = UseComboboxReturnValue<ComboboxItem> & UseMultipleSelectionReturnValue<ComboboxItem>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UseMultipleSelectionReturnValue } from 'downshift';
|
|
2
|
+
import { RefObject } from 'react';
|
|
3
|
+
import { ComboboxItem, ItemsMap } from '../types';
|
|
4
|
+
interface Props {
|
|
5
|
+
allowCustomValue?: boolean;
|
|
6
|
+
items: ItemsMap;
|
|
7
|
+
selectedItems: ComboboxItem[];
|
|
8
|
+
multiselect: UseMultipleSelectionReturnValue<ComboboxItem>;
|
|
9
|
+
setSelectedItems: (items: ComboboxItem[]) => void;
|
|
10
|
+
triggerAreaRef: RefObject<HTMLDivElement | null>;
|
|
11
|
+
}
|
|
12
|
+
export declare const multipleSelectionReducer: ({ multiselect, selectedItems, allowCustomValue, setSelectedItems, triggerAreaRef, items, }: Props) => (state: import('downshift').UseComboboxState<ComboboxItem>, actionAndChanges: import('downshift').UseComboboxStateChangeOptions<ComboboxItem>) => Partial<import('downshift').UseComboboxState<ComboboxItem>>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComboboxItem } from '../types';
|
|
2
|
+
interface Props {
|
|
3
|
+
allowCustomValue?: boolean;
|
|
4
|
+
filteredItems: ComboboxItem[];
|
|
5
|
+
setSelectedItem: (value: ComboboxItem | null) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const singleSelectionReducer: ({ filteredItems, allowCustomValue, setSelectedItem, }: Props) => (state: import('downshift').UseComboboxState<ComboboxItem>, actionAndChanges: import('downshift').UseComboboxStateChangeOptions<ComboboxItem>) => Partial<import('downshift').UseComboboxState<ComboboxItem>>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { ComboboxItem, ItemsMap } from '../types';
|
|
3
|
+
export declare function getIndexByKey(map: ItemsMap, targetKey: string): number;
|
|
4
|
+
export declare const getElementByIndex: (map: ItemsMap, index: number) => ComboboxItem | undefined;
|
|
5
|
+
export declare const getOrderedItems: (children: ReactNode, result?: ComboboxItem[]) => ComboboxItem[];
|
|
6
|
+
/**
|
|
7
|
+
* If Combobox.Item children:
|
|
8
|
+
* - is a string, then the string is used.
|
|
9
|
+
* - is JSX markup, then we look for Combobox.ItemText to get its string value.
|
|
10
|
+
*/
|
|
11
|
+
export declare const getItemText: (children: ReactNode) => string;
|
|
12
|
+
export declare const getItemsFromChildren: (children: ReactNode) => ItemsMap;
|
|
13
|
+
export declare const hasChildComponent: (children: ReactNode, displayName: string) => boolean;
|
|
14
|
+
export declare const findElement: (children: ReactNode, value: string) => ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | undefined;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { ComboboxItem, ItemsMap } from '../types';
|
|
3
|
+
export declare function getIndexByKey(map: ItemsMap, targetKey: string): number;
|
|
4
|
+
export declare const getElementByIndex: (map: ItemsMap, index: number) => ComboboxItem | undefined;
|
|
5
|
+
export declare const getOrderedItems: (children: ReactNode, result?: ComboboxItem[]) => ComboboxItem[];
|
|
6
|
+
/**
|
|
7
|
+
* If Combobox.Item children:
|
|
8
|
+
* - is a string, then the string is used.
|
|
9
|
+
* - is JSX markup, then we look for Combobox.ItemText to get its string value.
|
|
10
|
+
*/
|
|
11
|
+
export declare const getItemText: (children: ReactNode) => string;
|
|
12
|
+
export declare const getItemsFromChildren: (children: ReactNode) => ItemsMap;
|
|
13
|
+
export declare const hasChildComponent: (children: ReactNode, displayName: string) => boolean;
|
|
14
|
+
export declare const findElement: (children: ReactNode, value: string) => ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | undefined;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Dialog as BaseDialog } from '@base-ui/react/dialog';
|
|
2
|
+
import { ComponentProps, ReactElement } from 'react';
|
|
3
|
+
export interface DialogProps extends Omit<ComponentProps<typeof BaseDialog.Root>, 'onOpenChange' | 'render'> {
|
|
4
|
+
/**
|
|
5
|
+
* Specifies if the dialog is open or not.
|
|
6
|
+
*/
|
|
7
|
+
open?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Default open state.
|
|
10
|
+
*/
|
|
11
|
+
defaultOpen?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Handler executed on every dialog open state change.
|
|
14
|
+
*/
|
|
15
|
+
onOpenChange?: (open: boolean) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Specifies if the dialog is a modal.
|
|
18
|
+
*/
|
|
19
|
+
modal?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Specifies if the dialog should have a fade animation on its body (in case it is scrollable).
|
|
22
|
+
*/
|
|
23
|
+
withFade?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
26
|
+
*/
|
|
27
|
+
asChild?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export declare const Dialog: {
|
|
30
|
+
({ withFade, onOpenChange, ...props }: DialogProps): ReactElement;
|
|
31
|
+
createHandle: typeof BaseDialog.createHandle;
|
|
32
|
+
displayName: string;
|
|
33
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactElement, ReactNode, Ref } from 'react';
|
|
2
|
+
export interface BodyProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
tabIndex?: number;
|
|
6
|
+
ref?: Ref<HTMLDivElement>;
|
|
7
|
+
inset?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const Body: {
|
|
10
|
+
({ children, className, inset, ref: forwardedRef, ...rest }: BodyProps): ReactElement;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Dialog as BaseDialog } from '@base-ui/react/dialog';
|
|
2
|
+
import { ComponentProps, Ref } from 'react';
|
|
3
|
+
export interface CloseProps extends Omit<ComponentProps<typeof BaseDialog.Close>, 'render'> {
|
|
4
|
+
/**
|
|
5
|
+
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
6
|
+
*/
|
|
7
|
+
asChild?: boolean;
|
|
8
|
+
ref?: Ref<HTMLButtonElement>;
|
|
9
|
+
}
|
|
10
|
+
export declare const Close: ({ asChild, ...props }: CloseProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IconButtonProps } from '../icon-button';
|
|
2
|
+
import { CloseProps } from './DialogClose';
|
|
3
|
+
export type CloseButtonProps = CloseProps & Pick<IconButtonProps, 'size' | 'intent' | 'design' | 'aria-label'>;
|
|
4
|
+
export declare const CloseButton: {
|
|
5
|
+
({ "aria-label": ariaLabel, className, size, intent, design, children, ref, ...rest }: CloseButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
} & {
|
|
8
|
+
id: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Dialog as BaseDialog } from '@base-ui/react/dialog';
|
|
2
|
+
import { ComponentProps, Ref } from 'react';
|
|
3
|
+
import { DialogContentStylesProps } from './DialogContent.styles';
|
|
4
|
+
export interface ContentProps extends Omit<ComponentProps<typeof BaseDialog.Popup>, 'render'>, DialogContentStylesProps {
|
|
5
|
+
/**
|
|
6
|
+
* When set to true, the content will adjust its width to fit the content rather than taking up the full available width.
|
|
7
|
+
*/
|
|
8
|
+
isNarrow?: boolean;
|
|
9
|
+
ref?: Ref<HTMLDivElement>;
|
|
10
|
+
}
|
|
11
|
+
export declare const Content: {
|
|
12
|
+
({ className, isNarrow, size, ref, ...rest }: ContentProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const dialogContentStyles: (props?: ({
|
|
3
|
+
size?: "sm" | "md" | "lg" | "fullscreen" | null | undefined;
|
|
4
|
+
isNarrow?: boolean | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
export type DialogContentStylesProps = VariantProps<typeof dialogContentStyles>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface DialogContextState {
|
|
3
|
+
isFullScreen: boolean;
|
|
4
|
+
setIsFullScreen: (value: boolean) => void;
|
|
5
|
+
withFade: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const DialogProvider: ({ children: childrenProp, withFade, }: {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
withFade?: boolean;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const useDialog: () => DialogContextState;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Dialog as BaseDialog } from '@base-ui/react/dialog';
|
|
2
|
+
import { ComponentProps, Ref } from 'react';
|
|
3
|
+
export type DescriptionProps = ComponentProps<typeof BaseDialog.Description> & {
|
|
4
|
+
ref?: Ref<HTMLParagraphElement>;
|
|
5
|
+
};
|
|
6
|
+
export declare const Description: {
|
|
7
|
+
(props: DescriptionProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactElement, ReactNode, Ref } from 'react';
|
|
2
|
+
export interface FooterProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
ref?: Ref<HTMLDivElement>;
|
|
6
|
+
}
|
|
7
|
+
export declare const Footer: {
|
|
8
|
+
({ children, className, ref, ...rest }: FooterProps): ReactElement;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactElement, ReactNode, Ref } from 'react';
|
|
2
|
+
export interface HeaderProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
ref?: Ref<HTMLDivElement>;
|
|
6
|
+
}
|
|
7
|
+
export declare const Header: {
|
|
8
|
+
({ children, className, ref, ...rest }: HeaderProps): ReactElement;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Dialog as BaseDialog } from '@base-ui/react/dialog';
|
|
2
|
+
import { ComponentProps, Ref } from 'react';
|
|
3
|
+
export interface OverlayProps extends Omit<ComponentProps<typeof BaseDialog.Backdrop>, 'render'> {
|
|
4
|
+
ref?: Ref<HTMLDivElement>;
|
|
5
|
+
}
|
|
6
|
+
export declare const Overlay: {
|
|
7
|
+
({ className, ...props }: OverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Dialog as BaseDialog } from '@base-ui/react/dialog';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
export type PortalProps = ComponentProps<typeof BaseDialog.Portal>;
|
|
4
|
+
export declare const Portal: {
|
|
5
|
+
({ className, ...props }: PortalProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Dialog as BaseDialog } from '@base-ui/react/dialog';
|
|
2
|
+
import { ComponentProps, Ref } from 'react';
|
|
3
|
+
export type TitleProps = ComponentProps<typeof BaseDialog.Title> & {
|
|
4
|
+
ref?: Ref<HTMLHeadingElement>;
|
|
5
|
+
};
|
|
6
|
+
export declare const Title: {
|
|
7
|
+
({ className, ref, ...others }: TitleProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Dialog as BaseDialog } from '@base-ui/react/dialog';
|
|
2
|
+
import { ComponentProps, Ref } from 'react';
|
|
3
|
+
export interface TriggerProps extends Omit<ComponentProps<typeof BaseDialog.Trigger>, 'render'> {
|
|
4
|
+
/**
|
|
5
|
+
* Change the component to the HTML tag or custom component of the only child.
|
|
6
|
+
*/
|
|
7
|
+
asChild?: boolean;
|
|
8
|
+
ref?: Ref<HTMLButtonElement>;
|
|
9
|
+
}
|
|
10
|
+
export declare const Trigger: {
|
|
11
|
+
({ asChild, ...props }: TriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Dialog as Root } from './Dialog';
|
|
2
|
+
import { Body } from './DialogBody';
|
|
3
|
+
import { Close } from './DialogClose';
|
|
4
|
+
import { CloseButton } from './DialogCloseButton';
|
|
5
|
+
import { Content } from './DialogContent';
|
|
6
|
+
import { Description } from './DialogDescription';
|
|
7
|
+
import { Footer } from './DialogFooter';
|
|
8
|
+
import { Header } from './DialogHeader';
|
|
9
|
+
import { Overlay } from './DialogOverlay';
|
|
10
|
+
import { Portal } from './DialogPortal';
|
|
11
|
+
import { Title } from './DialogTitle';
|
|
12
|
+
import { Trigger } from './DialogTrigger';
|
|
13
|
+
export declare const Dialog: typeof Root & {
|
|
14
|
+
Trigger: typeof Trigger;
|
|
15
|
+
Portal: typeof Portal;
|
|
16
|
+
Overlay: typeof Overlay;
|
|
17
|
+
Content: typeof Content;
|
|
18
|
+
Header: typeof Header;
|
|
19
|
+
Body: typeof Body;
|
|
20
|
+
Footer: typeof Footer;
|
|
21
|
+
Close: typeof Close;
|
|
22
|
+
CloseButton: typeof CloseButton;
|
|
23
|
+
Title: typeof Title;
|
|
24
|
+
Description: typeof Description;
|
|
25
|
+
};
|
|
26
|
+
export { type DialogProps } from './Dialog';
|
|
27
|
+
export { type ContentProps as DialogContentProps } from './DialogContent';
|
|
28
|
+
export { type HeaderProps as DialogHeaderProps } from './DialogHeader';
|
|
29
|
+
export { type BodyProps as DialogBodyProps } from './DialogBody';
|
|
30
|
+
export { type FooterProps as DialogFooterProps } from './DialogFooter';
|
|
31
|
+
export { type TriggerProps as DialogTriggerProps } from './DialogTrigger';
|
|
32
|
+
export { type OverlayProps as DialogOverlayProps } from './DialogOverlay';
|
|
33
|
+
export { type PortalProps as DialogPortalProps } from './DialogPortal';
|
|
34
|
+
export { type TitleProps as DialogTitleProps } from './DialogTitle';
|
|
35
|
+
export { type DescriptionProps as DialogDescriptionProps } from './DialogDescription';
|
|
36
|
+
export { type CloseProps as DialogCloseProps } from './DialogClose';
|
|
37
|
+
export { type CloseButtonProps as DialogCloseButtonProps } from './DialogCloseButton';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Dialog as Root } from './Dialog';
|
|
2
|
+
import { Body } from './DialogBody';
|
|
3
|
+
import { Close } from './DialogClose';
|
|
4
|
+
import { CloseButton } from './DialogCloseButton';
|
|
5
|
+
import { Content } from './DialogContent';
|
|
6
|
+
import { Description } from './DialogDescription';
|
|
7
|
+
import { Footer } from './DialogFooter';
|
|
8
|
+
import { Header } from './DialogHeader';
|
|
9
|
+
import { Overlay } from './DialogOverlay';
|
|
10
|
+
import { Portal } from './DialogPortal';
|
|
11
|
+
import { Title } from './DialogTitle';
|
|
12
|
+
import { Trigger } from './DialogTrigger';
|
|
13
|
+
export declare const Dialog: typeof Root & {
|
|
14
|
+
Trigger: typeof Trigger;
|
|
15
|
+
Portal: typeof Portal;
|
|
16
|
+
Overlay: typeof Overlay;
|
|
17
|
+
Content: typeof Content;
|
|
18
|
+
Header: typeof Header;
|
|
19
|
+
Body: typeof Body;
|
|
20
|
+
Footer: typeof Footer;
|
|
21
|
+
Close: typeof Close;
|
|
22
|
+
CloseButton: typeof CloseButton;
|
|
23
|
+
Title: typeof Title;
|
|
24
|
+
Description: typeof Description;
|
|
25
|
+
};
|
|
26
|
+
export { type DialogProps } from './Dialog';
|
|
27
|
+
export { type ContentProps as DialogContentProps } from './DialogContent';
|
|
28
|
+
export { type HeaderProps as DialogHeaderProps } from './DialogHeader';
|
|
29
|
+
export { type BodyProps as DialogBodyProps } from './DialogBody';
|
|
30
|
+
export { type FooterProps as DialogFooterProps } from './DialogFooter';
|
|
31
|
+
export { type TriggerProps as DialogTriggerProps } from './DialogTrigger';
|
|
32
|
+
export { type OverlayProps as DialogOverlayProps } from './DialogOverlay';
|
|
33
|
+
export { type PortalProps as DialogPortalProps } from './DialogPortal';
|
|
34
|
+
export { type TitleProps as DialogTitleProps } from './DialogTitle';
|
|
35
|
+
export { type DescriptionProps as DialogDescriptionProps } from './DialogDescription';
|
|
36
|
+
export { type CloseProps as DialogCloseProps } from './DialogClose';
|
|
37
|
+
export { type CloseButtonProps as DialogCloseButtonProps } from './DialogCloseButton';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactElement, Ref } from 'react';
|
|
2
|
+
import { DividerStylesProps } from './Divider.styles';
|
|
3
|
+
export interface DividerProps extends HTMLAttributes<HTMLDivElement>, Omit<DividerStylesProps, 'isEmpty'> {
|
|
4
|
+
/**
|
|
5
|
+
* Change the component to the HTML tag or custom component of the only child.
|
|
6
|
+
*/
|
|
7
|
+
asChild?: boolean;
|
|
8
|
+
children?: ReactElement;
|
|
9
|
+
/**
|
|
10
|
+
* The orientation of the inner content.
|
|
11
|
+
*/
|
|
12
|
+
alignment?: 'start' | 'end' | 'center';
|
|
13
|
+
/**
|
|
14
|
+
* The orientation of the separator.
|
|
15
|
+
*/
|
|
16
|
+
orientation?: 'vertical' | 'horizontal';
|
|
17
|
+
/**
|
|
18
|
+
* When true, signifies that it is purely visual, carries no semantic meaning, and ensures it is not present in the accessibility tree.
|
|
19
|
+
*/
|
|
20
|
+
isDecorative?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Color scheme of the divider.
|
|
23
|
+
*/
|
|
24
|
+
intent?: 'outline' | 'current';
|
|
25
|
+
ref?: Ref<HTMLDivElement>;
|
|
26
|
+
}
|
|
27
|
+
export declare const Divider: {
|
|
28
|
+
({ asChild, className, isDecorative, children, orientation, writingMode, alignment, intent, ref, role: roleProp, ...props }: DividerProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
displayName: string;
|
|
30
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const dividerStyles: (props?: ({
|
|
3
|
+
isEmpty?: boolean | null | undefined;
|
|
4
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
5
|
+
writingMode?: "horizontal-tb" | "vertical-lr" | null | undefined;
|
|
6
|
+
alignment?: "center" | "end" | "start" | null | undefined;
|
|
7
|
+
intent?: "current" | "outline" | null | undefined;
|
|
8
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
+
export type DividerStylesProps = VariantProps<typeof dividerStyles>;
|